From e1a0e352b6ead69ed6f55476272ace842fbbdf74 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 5 Dec 2011 21:06:26 -0600 Subject: Rename java files to TQ --- qtjava/javalib.kdevprj | 1290 ++++----- qtjava/javalib/Makefile.am | 2 +- qtjava/javalib/org/kde/qt/Makefile.am | 2 +- qtjava/javalib/org/kde/qt/QAccel.java | 63 - qtjava/javalib/org/kde/qt/QAccelSignals.java | 8 - qtjava/javalib/org/kde/qt/QAction.java | 115 - qtjava/javalib/org/kde/qt/QActionGroup.java | 58 - qtjava/javalib/org/kde/qt/QActionGroupSignals.java | 7 - qtjava/javalib/org/kde/qt/QActionSignals.java | 8 - qtjava/javalib/org/kde/qt/QApplication.java | 161 -- qtjava/javalib/org/kde/qt/QApplicationSignals.java | 10 - qtjava/javalib/org/kde/qt/QAsyncIO.java | 23 - qtjava/javalib/org/kde/qt/QAuServer.java | 17 - qtjava/javalib/org/kde/qt/QBig5Codec.java | 26 - qtjava/javalib/org/kde/qt/QBitmap.java | 96 - qtjava/javalib/org/kde/qt/QBoxLayout.java | 109 - qtjava/javalib/org/kde/qt/QBrush.java | 52 - qtjava/javalib/org/kde/qt/QBuffer.java | 39 - qtjava/javalib/org/kde/qt/QButton.java | 85 - qtjava/javalib/org/kde/qt/QButtonGroup.java | 100 - qtjava/javalib/org/kde/qt/QButtonGroupSignals.java | 9 - qtjava/javalib/org/kde/qt/QButtonSignals.java | 11 - qtjava/javalib/org/kde/qt/QCanvas.java | 103 - qtjava/javalib/org/kde/qt/QCanvasEllipse.java | 39 - qtjava/javalib/org/kde/qt/QCanvasItem.java | 57 - qtjava/javalib/org/kde/qt/QCanvasLine.java | 27 - qtjava/javalib/org/kde/qt/QCanvasPixmap.java | 32 - qtjava/javalib/org/kde/qt/QCanvasPixmapArray.java | 40 - qtjava/javalib/org/kde/qt/QCanvasPolygon.java | 25 - .../javalib/org/kde/qt/QCanvasPolygonalItem.java | 17 - qtjava/javalib/org/kde/qt/QCanvasRectangle.java | 39 - qtjava/javalib/org/kde/qt/QCanvasSignals.java | 8 - qtjava/javalib/org/kde/qt/QCanvasSpline.java | 24 - qtjava/javalib/org/kde/qt/QCanvasSprite.java | 50 - qtjava/javalib/org/kde/qt/QCanvasText.java | 42 - qtjava/javalib/org/kde/qt/QCanvasView.java | 65 - qtjava/javalib/org/kde/qt/QCheckBox.java | 50 - qtjava/javalib/org/kde/qt/QCheckListItem.java | 111 - qtjava/javalib/org/kde/qt/QCheckTableItem.java | 27 - qtjava/javalib/org/kde/qt/QChildEvent.java | 22 - qtjava/javalib/org/kde/qt/QClassInfo.java | 21 - qtjava/javalib/org/kde/qt/QClipboard.java | 40 - qtjava/javalib/org/kde/qt/QCloseEvent.java | 22 - qtjava/javalib/org/kde/qt/QColor.java | 84 - qtjava/javalib/org/kde/qt/QColorDialog.java | 24 - qtjava/javalib/org/kde/qt/QColorDrag.java | 51 - qtjava/javalib/org/kde/qt/QColorGroup.java | 73 - qtjava/javalib/org/kde/qt/QComboBox.java | 123 - qtjava/javalib/org/kde/qt/QComboBoxSignals.java | 11 - qtjava/javalib/org/kde/qt/QComboTableItem.java | 38 - qtjava/javalib/org/kde/qt/QContextMenuEvent.java | 41 - qtjava/javalib/org/kde/qt/QCursor.java | 69 - qtjava/javalib/org/kde/qt/QCustomEvent.java | 22 - qtjava/javalib/org/kde/qt/QCustomMenuItem.java | 13 - qtjava/javalib/org/kde/qt/QDataBrowser.java | 97 - qtjava/javalib/org/kde/qt/QDataBrowserSignals.java | 19 - qtjava/javalib/org/kde/qt/QDataPump.java | 23 - qtjava/javalib/org/kde/qt/QDataSink.java | 12 - qtjava/javalib/org/kde/qt/QDataSource.java | 14 - qtjava/javalib/org/kde/qt/QDataStream.java | 63 - qtjava/javalib/org/kde/qt/QDataTable.java | 159 -- qtjava/javalib/org/kde/qt/QDataTableSignals.java | 15 - qtjava/javalib/org/kde/qt/QDataView.java | 46 - qtjava/javalib/org/kde/qt/QDateEdit.java | 88 - qtjava/javalib/org/kde/qt/QDateEditSignals.java | 8 - qtjava/javalib/org/kde/qt/QDateTimeEdit.java | 65 - qtjava/javalib/org/kde/qt/QDateTimeEditBase.java | 18 - .../javalib/org/kde/qt/QDateTimeEditSignals.java | 9 - qtjava/javalib/org/kde/qt/QDesktopWidget.java | 44 - .../javalib/org/kde/qt/QDesktopWidgetSignals.java | 8 - qtjava/javalib/org/kde/qt/QDial.java | 102 - qtjava/javalib/org/kde/qt/QDialSignals.java | 10 - qtjava/javalib/org/kde/qt/QDialog.java | 77 - qtjava/javalib/org/kde/qt/QDir.java | 141 - qtjava/javalib/org/kde/qt/QDockArea.java | 58 - qtjava/javalib/org/kde/qt/QDockWindow.java | 116 - qtjava/javalib/org/kde/qt/QDockWindowSignals.java | 9 - qtjava/javalib/org/kde/qt/QDomAttr.java | 31 - qtjava/javalib/org/kde/qt/QDomCDATASection.java | 26 - qtjava/javalib/org/kde/qt/QDomCharacterData.java | 34 - qtjava/javalib/org/kde/qt/QDomComment.java | 26 - qtjava/javalib/org/kde/qt/QDomDocument.java | 86 - .../javalib/org/kde/qt/QDomDocumentFragment.java | 26 - qtjava/javalib/org/kde/qt/QDomDocumentType.java | 32 - qtjava/javalib/org/kde/qt/QDomElement.java | 53 - qtjava/javalib/org/kde/qt/QDomEntity.java | 29 - qtjava/javalib/org/kde/qt/QDomEntityReference.java | 26 - qtjava/javalib/org/kde/qt/QDomImplementation.java | 31 - qtjava/javalib/org/kde/qt/QDomNamedNodeMap.java | 37 - qtjava/javalib/org/kde/qt/QDomNode.java | 106 - qtjava/javalib/org/kde/qt/QDomNotation.java | 28 - .../org/kde/qt/QDomProcessingInstruction.java | 29 - qtjava/javalib/org/kde/qt/QDomText.java | 27 - qtjava/javalib/org/kde/qt/QDoubleValidator.java | 47 - qtjava/javalib/org/kde/qt/QDragEnterEvent.java | 19 - qtjava/javalib/org/kde/qt/QDragLeaveEvent.java | 19 - qtjava/javalib/org/kde/qt/QDragManager.java | 12 - qtjava/javalib/org/kde/qt/QDragMoveEvent.java | 30 - qtjava/javalib/org/kde/qt/QDragObject.java | 37 - qtjava/javalib/org/kde/qt/QDragResponseEvent.java | 20 - qtjava/javalib/org/kde/qt/QDropEvent.java | 51 - qtjava/javalib/org/kde/qt/QDropSite.java | 21 - qtjava/javalib/org/kde/qt/QEditorFactory.java | 32 - qtjava/javalib/org/kde/qt/QErrorMessage.java | 31 - qtjava/javalib/org/kde/qt/QEucJpCodec.java | 27 - qtjava/javalib/org/kde/qt/QEucKrCodec.java | 27 - qtjava/javalib/org/kde/qt/QEvent.java | 98 - qtjava/javalib/org/kde/qt/QEventLoop.java | 57 - qtjava/javalib/org/kde/qt/QEventLoopSignals.java | 8 - qtjava/javalib/org/kde/qt/QFile.java | 51 - qtjava/javalib/org/kde/qt/QFileDialog.java | 155 -- qtjava/javalib/org/kde/qt/QFileDialogSignals.java | 12 - qtjava/javalib/org/kde/qt/QFileIconProvider.java | 34 - qtjava/javalib/org/kde/qt/QFileInfo.java | 88 - qtjava/javalib/org/kde/qt/QFilePreview.java | 12 - qtjava/javalib/org/kde/qt/QFocusData.java | 18 - qtjava/javalib/org/kde/qt/QFocusEvent.java | 32 - qtjava/javalib/org/kde/qt/QFont.java | 203 -- qtjava/javalib/org/kde/qt/QFontDatabase.java | 56 - qtjava/javalib/org/kde/qt/QFontDialog.java | 18 - qtjava/javalib/org/kde/qt/QFontInfo.java | 42 - qtjava/javalib/org/kde/qt/QFontMetrics.java | 61 - qtjava/javalib/org/kde/qt/QFrame.java | 82 - qtjava/javalib/org/kde/qt/QFtp.java | 110 - qtjava/javalib/org/kde/qt/QFtpSignals.java | 14 - qtjava/javalib/org/kde/qt/QGL.java | 40 - qtjava/javalib/org/kde/qt/QGLColormap.java | 36 - qtjava/javalib/org/kde/qt/QGLContext.java | 49 - qtjava/javalib/org/kde/qt/QGLFormat.java | 57 - qtjava/javalib/org/kde/qt/QGLWidget.java | 136 - qtjava/javalib/org/kde/qt/QGb18030Codec.java | 26 - qtjava/javalib/org/kde/qt/QGbkCodec.java | 26 - qtjava/javalib/org/kde/qt/QGrid.java | 61 - qtjava/javalib/org/kde/qt/QGridLayout.java | 142 - qtjava/javalib/org/kde/qt/QGridView.java | 29 - qtjava/javalib/org/kde/qt/QGroupBox.java | 109 - qtjava/javalib/org/kde/qt/QGroupBoxSignals.java | 7 - qtjava/javalib/org/kde/qt/QHBox.java | 52 - qtjava/javalib/org/kde/qt/QHBoxLayout.java | 68 - qtjava/javalib/org/kde/qt/QHButtonGroup.java | 48 - qtjava/javalib/org/kde/qt/QHGroupBox.java | 48 - qtjava/javalib/org/kde/qt/QHeader.java | 120 - qtjava/javalib/org/kde/qt/QHeaderSignals.java | 14 - qtjava/javalib/org/kde/qt/QHebrewCodec.java | 25 - qtjava/javalib/org/kde/qt/QHideEvent.java | 19 - qtjava/javalib/org/kde/qt/QHostAddress.java | 50 - qtjava/javalib/org/kde/qt/QHttp.java | 105 - qtjava/javalib/org/kde/qt/QHttpHeader.java | 27 - qtjava/javalib/org/kde/qt/QHttpRequestHeader.java | 53 - qtjava/javalib/org/kde/qt/QHttpResponseHeader.java | 30 - qtjava/javalib/org/kde/qt/QHttpSignals.java | 14 - qtjava/javalib/org/kde/qt/QIMEvent.java | 25 - qtjava/javalib/org/kde/qt/QIODevice.java | 84 - qtjava/javalib/org/kde/qt/QIODeviceInterface.java | 40 - qtjava/javalib/org/kde/qt/QIODeviceSource.java | 29 - qtjava/javalib/org/kde/qt/QIconDrag.java | 32 - qtjava/javalib/org/kde/qt/QIconDragItem.java | 24 - qtjava/javalib/org/kde/qt/QIconSet.java | 68 - qtjava/javalib/org/kde/qt/QIconView.java | 154 -- qtjava/javalib/org/kde/qt/QIconViewItem.java | 116 - qtjava/javalib/org/kde/qt/QIconViewSignals.java | 26 - qtjava/javalib/org/kde/qt/QImage.java | 171 -- qtjava/javalib/org/kde/qt/QImageConsumer.java | 18 - qtjava/javalib/org/kde/qt/QImageDecoder.java | 29 - qtjava/javalib/org/kde/qt/QImageDrag.java | 54 - qtjava/javalib/org/kde/qt/QImageFormat.java | 12 - qtjava/javalib/org/kde/qt/QImageFormatType.java | 13 - qtjava/javalib/org/kde/qt/QImageIO.java | 54 - qtjava/javalib/org/kde/qt/QImageTextKeyLang.java | 27 - qtjava/javalib/org/kde/qt/QInputDialog.java | 40 - qtjava/javalib/org/kde/qt/QIntValidator.java | 44 - qtjava/javalib/org/kde/qt/QJisCodec.java | 27 - qtjava/javalib/org/kde/qt/QJpUnicodeConv.java | 62 - qtjava/javalib/org/kde/qt/QKeyEvent.java | 44 - qtjava/javalib/org/kde/qt/QKeySequence.java | 55 - qtjava/javalib/org/kde/qt/QLCDNumber.java | 85 - qtjava/javalib/org/kde/qt/QLCDNumberSignals.java | 7 - qtjava/javalib/org/kde/qt/QLabel.java | 93 - qtjava/javalib/org/kde/qt/QLayout.java | 61 - qtjava/javalib/org/kde/qt/QLayoutItem.java | 27 - .../javalib/org/kde/qt/QLayoutItemInterface.java | 21 - qtjava/javalib/org/kde/qt/QLibrary.java | 29 - qtjava/javalib/org/kde/qt/QLineEdit.java | 141 - qtjava/javalib/org/kde/qt/QLineEditSignals.java | 10 - qtjava/javalib/org/kde/qt/QListBox.java | 174 -- qtjava/javalib/org/kde/qt/QListBoxItem.java | 25 - qtjava/javalib/org/kde/qt/QListBoxPixmap.java | 49 - qtjava/javalib/org/kde/qt/QListBoxSignals.java | 28 - qtjava/javalib/org/kde/qt/QListBoxText.java | 43 - qtjava/javalib/org/kde/qt/QListView.java | 161 -- qtjava/javalib/org/kde/qt/QListViewItem.java | 262 -- qtjava/javalib/org/kde/qt/QListViewSignals.java | 29 - qtjava/javalib/org/kde/qt/QLocalFs.java | 30 - qtjava/javalib/org/kde/qt/QMainWindow.java | 125 - qtjava/javalib/org/kde/qt/QMainWindowSignals.java | 10 - qtjava/javalib/org/kde/qt/QMenuBar.java | 158 -- qtjava/javalib/org/kde/qt/QMenuBarSignals.java | 8 - qtjava/javalib/org/kde/qt/QMenuData.java | 114 - qtjava/javalib/org/kde/qt/QMenuDataInterface.java | 94 - qtjava/javalib/org/kde/qt/QMenuItem.java | 41 - qtjava/javalib/org/kde/qt/QMessageBox.java | 144 -- qtjava/javalib/org/kde/qt/QMetaData.java | 25 - qtjava/javalib/org/kde/qt/QMetaEnum.java | 21 - qtjava/javalib/org/kde/qt/QMetaObject.java | 64 - qtjava/javalib/org/kde/qt/QMetaProperty.java | 52 - qtjava/javalib/org/kde/qt/QMimeSource.java | 19 - qtjava/javalib/org/kde/qt/QMimeSourceFactory.java | 38 - .../javalib/org/kde/qt/QMimeSourceInterface.java | 11 - qtjava/javalib/org/kde/qt/QMouseEvent.java | 36 - qtjava/javalib/org/kde/qt/QMoveEvent.java | 21 - qtjava/javalib/org/kde/qt/QMovie.java | 90 - qtjava/javalib/org/kde/qt/QMultiLineEdit.java | 84 - qtjava/javalib/org/kde/qt/QNetworkOperation.java | 40 - qtjava/javalib/org/kde/qt/QNetworkProtocol.java | 84 - .../org/kde/qt/QNetworkProtocolSignals.java | 16 - qtjava/javalib/org/kde/qt/QObject.java | 272 -- .../javalib/org/kde/qt/QObjectCleanupHandler.java | 27 - qtjava/javalib/org/kde/qt/QObjectSignals.java | 9 - qtjava/javalib/org/kde/qt/QPaintDevice.java | 86 - .../javalib/org/kde/qt/QPaintDeviceInterface.java | 11 - qtjava/javalib/org/kde/qt/QPaintDeviceMetrics.java | 42 - qtjava/javalib/org/kde/qt/QPaintEvent.java | 47 - qtjava/javalib/org/kde/qt/QPainter.java | 247 -- qtjava/javalib/org/kde/qt/QPalette.java | 64 - qtjava/javalib/org/kde/qt/QPen.java | 61 - qtjava/javalib/org/kde/qt/QPicture.java | 48 - qtjava/javalib/org/kde/qt/QPixmap.java | 172 -- qtjava/javalib/org/kde/qt/QPoint.java | 39 - qtjava/javalib/org/kde/qt/QPointArray.java | 68 - qtjava/javalib/org/kde/qt/QPolygonScanner.java | 22 - qtjava/javalib/org/kde/qt/QPopupMenu.java | 167 -- qtjava/javalib/org/kde/qt/QPopupMenuSignals.java | 12 - qtjava/javalib/org/kde/qt/QPrintDialog.java | 40 - qtjava/javalib/org/kde/qt/QPrinter.java | 147 -- qtjava/javalib/org/kde/qt/QProcess.java | 104 - qtjava/javalib/org/kde/qt/QProcessSignals.java | 12 - qtjava/javalib/org/kde/qt/QProgressBar.java | 77 - qtjava/javalib/org/kde/qt/QProgressDialog.java | 98 - .../javalib/org/kde/qt/QProgressDialogSignals.java | 8 - qtjava/javalib/org/kde/qt/QPushButton.java | 75 - qtjava/javalib/org/kde/qt/QRadioButton.java | 46 - qtjava/javalib/org/kde/qt/QRangeControl.java | 47 - .../javalib/org/kde/qt/QRangeControlInterface.java | 21 - qtjava/javalib/org/kde/qt/QRect.java | 96 - qtjava/javalib/org/kde/qt/QRegExp.java | 74 - qtjava/javalib/org/kde/qt/QRegExpValidator.java | 41 - qtjava/javalib/org/kde/qt/QRegion.java | 81 - qtjava/javalib/org/kde/qt/QResizeEvent.java | 21 - qtjava/javalib/org/kde/qt/QScrollBar.java | 97 - qtjava/javalib/org/kde/qt/QScrollBarSignals.java | 14 - qtjava/javalib/org/kde/qt/QScrollView.java | 160 -- qtjava/javalib/org/kde/qt/QScrollViewSignals.java | 11 - qtjava/javalib/org/kde/qt/QSemiModal.java | 43 - qtjava/javalib/org/kde/qt/QServerSocket.java | 18 - qtjava/javalib/org/kde/qt/QSessionManager.java | 34 - qtjava/javalib/org/kde/qt/QSettings.java | 70 - qtjava/javalib/org/kde/qt/QShowEvent.java | 19 - qtjava/javalib/org/kde/qt/QSignal.java | 83 - qtjava/javalib/org/kde/qt/QSignalMapper.java | 35 - .../javalib/org/kde/qt/QSignalMapperSignals.java | 8 - qtjava/javalib/org/kde/qt/QSignalSignals.java | 8 - qtjava/javalib/org/kde/qt/QSimpleRichText.java | 59 - qtjava/javalib/org/kde/qt/QSize.java | 49 - qtjava/javalib/org/kde/qt/QSizeGrip.java | 33 - qtjava/javalib/org/kde/qt/QSizePolicy.java | 77 - qtjava/javalib/org/kde/qt/QSjisCodec.java | 27 - qtjava/javalib/org/kde/qt/QSlider.java | 111 - qtjava/javalib/org/kde/qt/QSliderSignals.java | 10 - qtjava/javalib/org/kde/qt/QSocket.java | 108 - qtjava/javalib/org/kde/qt/QSocketDevice.java | 92 - qtjava/javalib/org/kde/qt/QSocketNotifier.java | 82 - .../javalib/org/kde/qt/QSocketNotifierSignals.java | 7 - qtjava/javalib/org/kde/qt/QSocketSignals.java | 13 - qtjava/javalib/org/kde/qt/QSound.java | 43 - qtjava/javalib/org/kde/qt/QSpacerItem.java | 40 - qtjava/javalib/org/kde/qt/QSpinBox.java | 116 - qtjava/javalib/org/kde/qt/QSpinBoxSignals.java | 8 - qtjava/javalib/org/kde/qt/QSpinWidget.java | 61 - qtjava/javalib/org/kde/qt/QSpinWidgetSignals.java | 8 - qtjava/javalib/org/kde/qt/QSplashScreen.java | 46 - .../javalib/org/kde/qt/QSplashScreenSignals.java | 7 - qtjava/javalib/org/kde/qt/QSplitter.java | 83 - qtjava/javalib/org/kde/qt/QSql.java | 42 - qtjava/javalib/org/kde/qt/QSqlCursor.java | 139 - qtjava/javalib/org/kde/qt/QSqlDatabase.java | 96 - qtjava/javalib/org/kde/qt/QSqlDriver.java | 45 - qtjava/javalib/org/kde/qt/QSqlEditorFactory.java | 33 - qtjava/javalib/org/kde/qt/QSqlError.java | 58 - qtjava/javalib/org/kde/qt/QSqlField.java | 45 - qtjava/javalib/org/kde/qt/QSqlFieldInfo.java | 88 - qtjava/javalib/org/kde/qt/QSqlForm.java | 51 - qtjava/javalib/org/kde/qt/QSqlIndex.java | 51 - qtjava/javalib/org/kde/qt/QSqlPropertyMap.java | 27 - qtjava/javalib/org/kde/qt/QSqlQuery.java | 76 - qtjava/javalib/org/kde/qt/QSqlQueryInterface.java | 38 - qtjava/javalib/org/kde/qt/QSqlRecord.java | 56 - qtjava/javalib/org/kde/qt/QSqlRecordInfo.java | 29 - qtjava/javalib/org/kde/qt/QSqlResult.java | 13 - qtjava/javalib/org/kde/qt/QStatusBar.java | 50 - qtjava/javalib/org/kde/qt/QStatusBarSignals.java | 7 - qtjava/javalib/org/kde/qt/QStoredDrag.java | 36 - qtjava/javalib/org/kde/qt/QStyle.java | 356 --- qtjava/javalib/org/kde/qt/QStyleFactory.java | 24 - qtjava/javalib/org/kde/qt/QStyleOption.java | 88 - qtjava/javalib/org/kde/qt/QStyleSheet.java | 44 - qtjava/javalib/org/kde/qt/QStyleSheetItem.java | 105 - qtjava/javalib/org/kde/qt/QSyntaxHighlighter.java | 15 - qtjava/javalib/org/kde/qt/QTab.java | 44 - qtjava/javalib/org/kde/qt/QTabBar.java | 79 - qtjava/javalib/org/kde/qt/QTabBarSignals.java | 8 - qtjava/javalib/org/kde/qt/QTabDialog.java | 89 - qtjava/javalib/org/kde/qt/QTabDialogSignals.java | 13 - qtjava/javalib/org/kde/qt/QTabWidget.java | 95 - qtjava/javalib/org/kde/qt/QTabWidgetSignals.java | 8 - qtjava/javalib/org/kde/qt/QTable.java | 212 -- qtjava/javalib/org/kde/qt/QTableItem.java | 61 - qtjava/javalib/org/kde/qt/QTableSelection.java | 39 - qtjava/javalib/org/kde/qt/QTableSignals.java | 14 - qtjava/javalib/org/kde/qt/QTabletEvent.java | 35 - qtjava/javalib/org/kde/qt/QTextBrowser.java | 45 - qtjava/javalib/org/kde/qt/QTextBrowserSignals.java | 12 - qtjava/javalib/org/kde/qt/QTextCodec.java | 43 - qtjava/javalib/org/kde/qt/QTextDecoder.java | 12 - qtjava/javalib/org/kde/qt/QTextDrag.java | 55 - qtjava/javalib/org/kde/qt/QTextEdit.java | 262 -- qtjava/javalib/org/kde/qt/QTextEditSignals.java | 21 - qtjava/javalib/org/kde/qt/QTextEncoder.java | 12 - qtjava/javalib/org/kde/qt/QTextIStream.java | 24 - qtjava/javalib/org/kde/qt/QTextOStream.java | 24 - qtjava/javalib/org/kde/qt/QTextStream.java | 101 - qtjava/javalib/org/kde/qt/QTextView.java | 53 - qtjava/javalib/org/kde/qt/QTimeEdit.java | 87 - qtjava/javalib/org/kde/qt/QTimeEditSignals.java | 8 - qtjava/javalib/org/kde/qt/QTimer.java | 81 - qtjava/javalib/org/kde/qt/QTimerEvent.java | 20 - qtjava/javalib/org/kde/qt/QTimerSignals.java | 7 - qtjava/javalib/org/kde/qt/QToolBar.java | 88 - qtjava/javalib/org/kde/qt/QToolBox.java | 66 - qtjava/javalib/org/kde/qt/QToolBoxSignals.java | 7 - qtjava/javalib/org/kde/qt/QToolButton.java | 92 - qtjava/javalib/org/kde/qt/QToolTip.java | 28 - qtjava/javalib/org/kde/qt/QToolTipGroup.java | 35 - .../javalib/org/kde/qt/QToolTipGroupSignals.java | 8 - qtjava/javalib/org/kde/qt/QTranslator.java | 59 - qtjava/javalib/org/kde/qt/QTranslatorMessage.java | 59 - qtjava/javalib/org/kde/qt/QTsciiCodec.java | 25 - qtjava/javalib/org/kde/qt/QUriDrag.java | 65 - qtjava/javalib/org/kde/qt/QUrl.java | 79 - qtjava/javalib/org/kde/qt/QUrlInfo.java | 77 - qtjava/javalib/org/kde/qt/QUrlInterface.java | 43 - qtjava/javalib/org/kde/qt/QUrlOperator.java | 111 - qtjava/javalib/org/kde/qt/QUrlOperatorSignals.java | 16 - qtjava/javalib/org/kde/qt/QUtf16Codec.java | 24 - qtjava/javalib/org/kde/qt/QUtf8Codec.java | 25 - qtjava/javalib/org/kde/qt/QUuid.java | 54 - qtjava/javalib/org/kde/qt/QVBox.java | 38 - qtjava/javalib/org/kde/qt/QVBoxLayout.java | 68 - qtjava/javalib/org/kde/qt/QVButtonGroup.java | 48 - qtjava/javalib/org/kde/qt/QVGroupBox.java | 48 - qtjava/javalib/org/kde/qt/QValidator.java | 35 - qtjava/javalib/org/kde/qt/QVariant.java | 276 -- qtjava/javalib/org/kde/qt/QWMatrix.java | 63 - qtjava/javalib/org/kde/qt/QWhatsThis.java | 37 - qtjava/javalib/org/kde/qt/QWheelEvent.java | 46 - qtjava/javalib/org/kde/qt/QWidget.java | 337 --- qtjava/javalib/org/kde/qt/QWidgetItem.java | 29 - qtjava/javalib/org/kde/qt/QWidgetStack.java | 57 - qtjava/javalib/org/kde/qt/QWidgetStackSignals.java | 8 - qtjava/javalib/org/kde/qt/QWizard.java | 78 - qtjava/javalib/org/kde/qt/QWizardSignals.java | 8 - qtjava/javalib/org/kde/qt/QWorkspace.java | 61 - qtjava/javalib/org/kde/qt/QWorkspaceSignals.java | 8 - qtjava/javalib/org/kde/qt/QXmlAttributes.java | 36 - qtjava/javalib/org/kde/qt/QXmlContentHandler.java | 23 - .../org/kde/qt/QXmlContentHandlerInterface.java | 18 - qtjava/javalib/org/kde/qt/QXmlDTDHandler.java | 14 - .../org/kde/qt/QXmlDTDHandlerInterface.java | 9 - qtjava/javalib/org/kde/qt/QXmlDeclHandler.java | 15 - .../org/kde/qt/QXmlDeclHandlerInterface.java | 10 - qtjava/javalib/org/kde/qt/QXmlDefaultHandler.java | 47 - qtjava/javalib/org/kde/qt/QXmlEntityResolver.java | 13 - .../org/kde/qt/QXmlEntityResolverInterface.java | 8 - qtjava/javalib/org/kde/qt/QXmlErrorHandler.java | 15 - .../org/kde/qt/QXmlErrorHandlerInterface.java | 10 - qtjava/javalib/org/kde/qt/QXmlInputSource.java | 41 - qtjava/javalib/org/kde/qt/QXmlLexicalHandler.java | 19 - .../org/kde/qt/QXmlLexicalHandlerInterface.java | 14 - qtjava/javalib/org/kde/qt/QXmlLocator.java | 13 - .../javalib/org/kde/qt/QXmlNamespaceSupport.java | 32 - qtjava/javalib/org/kde/qt/QXmlParseException.java | 46 - qtjava/javalib/org/kde/qt/QXmlReader.java | 32 - qtjava/javalib/org/kde/qt/QXmlSimpleReader.java | 42 - qtjava/javalib/org/kde/qt/TQAccel.java | 63 + qtjava/javalib/org/kde/qt/TQAccelSignals.java | 8 + qtjava/javalib/org/kde/qt/TQAction.java | 115 + qtjava/javalib/org/kde/qt/TQActionGroup.java | 58 + .../javalib/org/kde/qt/TQActionGroupSignals.java | 7 + qtjava/javalib/org/kde/qt/TQActionSignals.java | 8 + qtjava/javalib/org/kde/qt/TQApplication.java | 161 ++ .../javalib/org/kde/qt/TQApplicationSignals.java | 10 + qtjava/javalib/org/kde/qt/TQAsyncIO.java | 23 + qtjava/javalib/org/kde/qt/TQAuServer.java | 17 + qtjava/javalib/org/kde/qt/TQBig5Codec.java | 26 + qtjava/javalib/org/kde/qt/TQBitmap.java | 96 + qtjava/javalib/org/kde/qt/TQBoxLayout.java | 109 + qtjava/javalib/org/kde/qt/TQBrush.java | 52 + qtjava/javalib/org/kde/qt/TQBuffer.java | 39 + qtjava/javalib/org/kde/qt/TQButton.java | 85 + qtjava/javalib/org/kde/qt/TQButtonGroup.java | 100 + .../javalib/org/kde/qt/TQButtonGroupSignals.java | 9 + qtjava/javalib/org/kde/qt/TQButtonSignals.java | 11 + qtjava/javalib/org/kde/qt/TQCanvas.java | 103 + qtjava/javalib/org/kde/qt/TQCanvasEllipse.java | 39 + qtjava/javalib/org/kde/qt/TQCanvasItem.java | 57 + qtjava/javalib/org/kde/qt/TQCanvasLine.java | 27 + qtjava/javalib/org/kde/qt/TQCanvasPixmap.java | 32 + qtjava/javalib/org/kde/qt/TQCanvasPixmapArray.java | 40 + qtjava/javalib/org/kde/qt/TQCanvasPolygon.java | 25 + .../javalib/org/kde/qt/TQCanvasPolygonalItem.java | 17 + qtjava/javalib/org/kde/qt/TQCanvasRectangle.java | 39 + qtjava/javalib/org/kde/qt/TQCanvasSignals.java | 8 + qtjava/javalib/org/kde/qt/TQCanvasSpline.java | 24 + qtjava/javalib/org/kde/qt/TQCanvasSprite.java | 50 + qtjava/javalib/org/kde/qt/TQCanvasText.java | 42 + qtjava/javalib/org/kde/qt/TQCanvasView.java | 65 + qtjava/javalib/org/kde/qt/TQCheckBox.java | 50 + qtjava/javalib/org/kde/qt/TQCheckListItem.java | 111 + qtjava/javalib/org/kde/qt/TQCheckTableItem.java | 27 + qtjava/javalib/org/kde/qt/TQChildEvent.java | 22 + qtjava/javalib/org/kde/qt/TQClassInfo.java | 21 + qtjava/javalib/org/kde/qt/TQClipboard.java | 40 + qtjava/javalib/org/kde/qt/TQCloseEvent.java | 22 + qtjava/javalib/org/kde/qt/TQColor.java | 84 + qtjava/javalib/org/kde/qt/TQColorDialog.java | 24 + qtjava/javalib/org/kde/qt/TQColorDrag.java | 51 + qtjava/javalib/org/kde/qt/TQColorGroup.java | 73 + qtjava/javalib/org/kde/qt/TQComboBox.java | 123 + qtjava/javalib/org/kde/qt/TQComboBoxSignals.java | 11 + qtjava/javalib/org/kde/qt/TQComboTableItem.java | 38 + qtjava/javalib/org/kde/qt/TQContextMenuEvent.java | 41 + qtjava/javalib/org/kde/qt/TQCursor.java | 69 + qtjava/javalib/org/kde/qt/TQCustomEvent.java | 22 + qtjava/javalib/org/kde/qt/TQCustomMenuItem.java | 13 + qtjava/javalib/org/kde/qt/TQDataBrowser.java | 97 + .../javalib/org/kde/qt/TQDataBrowserSignals.java | 19 + qtjava/javalib/org/kde/qt/TQDataPump.java | 23 + qtjava/javalib/org/kde/qt/TQDataSink.java | 12 + qtjava/javalib/org/kde/qt/TQDataSource.java | 14 + qtjava/javalib/org/kde/qt/TQDataStream.java | 63 + qtjava/javalib/org/kde/qt/TQDataTable.java | 159 ++ qtjava/javalib/org/kde/qt/TQDataTableSignals.java | 15 + qtjava/javalib/org/kde/qt/TQDataView.java | 46 + qtjava/javalib/org/kde/qt/TQDateEdit.java | 88 + qtjava/javalib/org/kde/qt/TQDateEditSignals.java | 8 + qtjava/javalib/org/kde/qt/TQDateTimeEdit.java | 65 + qtjava/javalib/org/kde/qt/TQDateTimeEditBase.java | 18 + .../javalib/org/kde/qt/TQDateTimeEditSignals.java | 9 + qtjava/javalib/org/kde/qt/TQDesktopWidget.java | 44 + .../javalib/org/kde/qt/TQDesktopWidgetSignals.java | 8 + qtjava/javalib/org/kde/qt/TQDial.java | 102 + qtjava/javalib/org/kde/qt/TQDialSignals.java | 10 + qtjava/javalib/org/kde/qt/TQDialog.java | 77 + qtjava/javalib/org/kde/qt/TQDir.java | 141 + qtjava/javalib/org/kde/qt/TQDockArea.java | 58 + qtjava/javalib/org/kde/qt/TQDockWindow.java | 116 + qtjava/javalib/org/kde/qt/TQDockWindowSignals.java | 9 + qtjava/javalib/org/kde/qt/TQDomAttr.java | 31 + qtjava/javalib/org/kde/qt/TQDomCDATASection.java | 26 + qtjava/javalib/org/kde/qt/TQDomCharacterData.java | 34 + qtjava/javalib/org/kde/qt/TQDomComment.java | 26 + qtjava/javalib/org/kde/qt/TQDomDocument.java | 86 + .../javalib/org/kde/qt/TQDomDocumentFragment.java | 26 + qtjava/javalib/org/kde/qt/TQDomDocumentType.java | 32 + qtjava/javalib/org/kde/qt/TQDomElement.java | 53 + qtjava/javalib/org/kde/qt/TQDomEntity.java | 29 + .../javalib/org/kde/qt/TQDomEntityReference.java | 26 + qtjava/javalib/org/kde/qt/TQDomImplementation.java | 31 + qtjava/javalib/org/kde/qt/TQDomNamedNodeMap.java | 37 + qtjava/javalib/org/kde/qt/TQDomNode.java | 106 + qtjava/javalib/org/kde/qt/TQDomNotation.java | 28 + .../org/kde/qt/TQDomProcessingInstruction.java | 29 + qtjava/javalib/org/kde/qt/TQDomText.java | 27 + qtjava/javalib/org/kde/qt/TQDoubleValidator.java | 47 + qtjava/javalib/org/kde/qt/TQDragEnterEvent.java | 19 + qtjava/javalib/org/kde/qt/TQDragLeaveEvent.java | 19 + qtjava/javalib/org/kde/qt/TQDragManager.java | 12 + qtjava/javalib/org/kde/qt/TQDragMoveEvent.java | 30 + qtjava/javalib/org/kde/qt/TQDragObject.java | 37 + qtjava/javalib/org/kde/qt/TQDragResponseEvent.java | 20 + qtjava/javalib/org/kde/qt/TQDropEvent.java | 51 + qtjava/javalib/org/kde/qt/TQDropSite.java | 21 + qtjava/javalib/org/kde/qt/TQEditorFactory.java | 32 + qtjava/javalib/org/kde/qt/TQErrorMessage.java | 31 + qtjava/javalib/org/kde/qt/TQEucJpCodec.java | 27 + qtjava/javalib/org/kde/qt/TQEucKrCodec.java | 27 + qtjava/javalib/org/kde/qt/TQEvent.java | 98 + qtjava/javalib/org/kde/qt/TQEventLoop.java | 57 + qtjava/javalib/org/kde/qt/TQEventLoopSignals.java | 8 + qtjava/javalib/org/kde/qt/TQFile.java | 51 + qtjava/javalib/org/kde/qt/TQFileDialog.java | 155 ++ qtjava/javalib/org/kde/qt/TQFileDialogSignals.java | 12 + qtjava/javalib/org/kde/qt/TQFileIconProvider.java | 34 + qtjava/javalib/org/kde/qt/TQFileInfo.java | 88 + qtjava/javalib/org/kde/qt/TQFilePreview.java | 12 + qtjava/javalib/org/kde/qt/TQFocusData.java | 18 + qtjava/javalib/org/kde/qt/TQFocusEvent.java | 32 + qtjava/javalib/org/kde/qt/TQFont.java | 203 ++ qtjava/javalib/org/kde/qt/TQFontDatabase.java | 56 + qtjava/javalib/org/kde/qt/TQFontDialog.java | 18 + qtjava/javalib/org/kde/qt/TQFontInfo.java | 42 + qtjava/javalib/org/kde/qt/TQFontMetrics.java | 61 + qtjava/javalib/org/kde/qt/TQFrame.java | 82 + qtjava/javalib/org/kde/qt/TQFtp.java | 110 + qtjava/javalib/org/kde/qt/TQFtpSignals.java | 14 + qtjava/javalib/org/kde/qt/TQGL.java | 40 + qtjava/javalib/org/kde/qt/TQGLColormap.java | 36 + qtjava/javalib/org/kde/qt/TQGLContext.java | 49 + qtjava/javalib/org/kde/qt/TQGLFormat.java | 57 + qtjava/javalib/org/kde/qt/TQGLWidget.java | 136 + qtjava/javalib/org/kde/qt/TQGb18030Codec.java | 26 + qtjava/javalib/org/kde/qt/TQGbkCodec.java | 26 + qtjava/javalib/org/kde/qt/TQGrid.java | 61 + qtjava/javalib/org/kde/qt/TQGridLayout.java | 142 + qtjava/javalib/org/kde/qt/TQGridView.java | 29 + qtjava/javalib/org/kde/qt/TQGroupBox.java | 109 + qtjava/javalib/org/kde/qt/TQGroupBoxSignals.java | 7 + qtjava/javalib/org/kde/qt/TQHBox.java | 52 + qtjava/javalib/org/kde/qt/TQHBoxLayout.java | 68 + qtjava/javalib/org/kde/qt/TQHButtonGroup.java | 48 + qtjava/javalib/org/kde/qt/TQHGroupBox.java | 48 + qtjava/javalib/org/kde/qt/TQHeader.java | 120 + qtjava/javalib/org/kde/qt/TQHeaderSignals.java | 14 + qtjava/javalib/org/kde/qt/TQHebrewCodec.java | 25 + qtjava/javalib/org/kde/qt/TQHideEvent.java | 19 + qtjava/javalib/org/kde/qt/TQHostAddress.java | 50 + qtjava/javalib/org/kde/qt/TQHttp.java | 105 + qtjava/javalib/org/kde/qt/TQHttpHeader.java | 27 + qtjava/javalib/org/kde/qt/TQHttpRequestHeader.java | 53 + .../javalib/org/kde/qt/TQHttpResponseHeader.java | 30 + qtjava/javalib/org/kde/qt/TQHttpSignals.java | 14 + qtjava/javalib/org/kde/qt/TQIMEvent.java | 25 + qtjava/javalib/org/kde/qt/TQIODevice.java | 84 + qtjava/javalib/org/kde/qt/TQIODeviceInterface.java | 40 + qtjava/javalib/org/kde/qt/TQIODeviceSource.java | 29 + qtjava/javalib/org/kde/qt/TQIconDrag.java | 32 + qtjava/javalib/org/kde/qt/TQIconDragItem.java | 24 + qtjava/javalib/org/kde/qt/TQIconSet.java | 68 + qtjava/javalib/org/kde/qt/TQIconView.java | 154 ++ qtjava/javalib/org/kde/qt/TQIconViewItem.java | 116 + qtjava/javalib/org/kde/qt/TQIconViewSignals.java | 26 + qtjava/javalib/org/kde/qt/TQImage.java | 171 ++ qtjava/javalib/org/kde/qt/TQImageConsumer.java | 18 + qtjava/javalib/org/kde/qt/TQImageDecoder.java | 29 + qtjava/javalib/org/kde/qt/TQImageDrag.java | 54 + qtjava/javalib/org/kde/qt/TQImageFormat.java | 12 + qtjava/javalib/org/kde/qt/TQImageFormatType.java | 13 + qtjava/javalib/org/kde/qt/TQImageIO.java | 54 + qtjava/javalib/org/kde/qt/TQImageTextKeyLang.java | 27 + qtjava/javalib/org/kde/qt/TQInputDialog.java | 40 + qtjava/javalib/org/kde/qt/TQIntValidator.java | 44 + qtjava/javalib/org/kde/qt/TQJisCodec.java | 27 + qtjava/javalib/org/kde/qt/TQJpUnicodeConv.java | 62 + qtjava/javalib/org/kde/qt/TQKeyEvent.java | 44 + qtjava/javalib/org/kde/qt/TQKeySequence.java | 55 + qtjava/javalib/org/kde/qt/TQLCDNumber.java | 85 + qtjava/javalib/org/kde/qt/TQLCDNumberSignals.java | 7 + qtjava/javalib/org/kde/qt/TQLabel.java | 93 + qtjava/javalib/org/kde/qt/TQLayout.java | 61 + qtjava/javalib/org/kde/qt/TQLayoutItem.java | 27 + .../javalib/org/kde/qt/TQLayoutItemInterface.java | 21 + qtjava/javalib/org/kde/qt/TQLibrary.java | 29 + qtjava/javalib/org/kde/qt/TQLineEdit.java | 141 + qtjava/javalib/org/kde/qt/TQLineEditSignals.java | 10 + qtjava/javalib/org/kde/qt/TQListBox.java | 174 ++ qtjava/javalib/org/kde/qt/TQListBoxItem.java | 25 + qtjava/javalib/org/kde/qt/TQListBoxPixmap.java | 49 + qtjava/javalib/org/kde/qt/TQListBoxSignals.java | 28 + qtjava/javalib/org/kde/qt/TQListBoxText.java | 43 + qtjava/javalib/org/kde/qt/TQListView.java | 161 ++ qtjava/javalib/org/kde/qt/TQListViewItem.java | 262 ++ qtjava/javalib/org/kde/qt/TQListViewSignals.java | 29 + qtjava/javalib/org/kde/qt/TQLocalFs.java | 30 + qtjava/javalib/org/kde/qt/TQMainWindow.java | 125 + qtjava/javalib/org/kde/qt/TQMainWindowSignals.java | 10 + qtjava/javalib/org/kde/qt/TQMenuBar.java | 158 ++ qtjava/javalib/org/kde/qt/TQMenuBarSignals.java | 8 + qtjava/javalib/org/kde/qt/TQMenuData.java | 114 + qtjava/javalib/org/kde/qt/TQMenuDataInterface.java | 94 + qtjava/javalib/org/kde/qt/TQMenuItem.java | 41 + qtjava/javalib/org/kde/qt/TQMessageBox.java | 144 ++ qtjava/javalib/org/kde/qt/TQMetaData.java | 25 + qtjava/javalib/org/kde/qt/TQMetaEnum.java | 21 + qtjava/javalib/org/kde/qt/TQMetaObject.java | 64 + qtjava/javalib/org/kde/qt/TQMetaProperty.java | 52 + qtjava/javalib/org/kde/qt/TQMimeSource.java | 19 + qtjava/javalib/org/kde/qt/TQMimeSourceFactory.java | 38 + .../javalib/org/kde/qt/TQMimeSourceInterface.java | 11 + qtjava/javalib/org/kde/qt/TQMouseEvent.java | 36 + qtjava/javalib/org/kde/qt/TQMoveEvent.java | 21 + qtjava/javalib/org/kde/qt/TQMovie.java | 90 + qtjava/javalib/org/kde/qt/TQMultiLineEdit.java | 84 + qtjava/javalib/org/kde/qt/TQNetworkOperation.java | 40 + qtjava/javalib/org/kde/qt/TQNetworkProtocol.java | 84 + .../org/kde/qt/TQNetworkProtocolSignals.java | 16 + qtjava/javalib/org/kde/qt/TQObject.java | 272 ++ .../javalib/org/kde/qt/TQObjectCleanupHandler.java | 27 + qtjava/javalib/org/kde/qt/TQObjectSignals.java | 9 + qtjava/javalib/org/kde/qt/TQPaintDevice.java | 86 + .../javalib/org/kde/qt/TQPaintDeviceInterface.java | 11 + .../javalib/org/kde/qt/TQPaintDeviceMetrics.java | 42 + qtjava/javalib/org/kde/qt/TQPaintEvent.java | 47 + qtjava/javalib/org/kde/qt/TQPainter.java | 247 ++ qtjava/javalib/org/kde/qt/TQPalette.java | 64 + qtjava/javalib/org/kde/qt/TQPen.java | 61 + qtjava/javalib/org/kde/qt/TQPicture.java | 48 + qtjava/javalib/org/kde/qt/TQPixmap.java | 172 ++ qtjava/javalib/org/kde/qt/TQPoint.java | 39 + qtjava/javalib/org/kde/qt/TQPointArray.java | 68 + qtjava/javalib/org/kde/qt/TQPolygonScanner.java | 22 + qtjava/javalib/org/kde/qt/TQPopupMenu.java | 167 ++ qtjava/javalib/org/kde/qt/TQPopupMenuSignals.java | 12 + qtjava/javalib/org/kde/qt/TQPrintDialog.java | 40 + qtjava/javalib/org/kde/qt/TQPrinter.java | 147 ++ qtjava/javalib/org/kde/qt/TQProcess.java | 104 + qtjava/javalib/org/kde/qt/TQProcessSignals.java | 12 + qtjava/javalib/org/kde/qt/TQProgressBar.java | 77 + qtjava/javalib/org/kde/qt/TQProgressDialog.java | 98 + .../org/kde/qt/TQProgressDialogSignals.java | 8 + qtjava/javalib/org/kde/qt/TQPushButton.java | 75 + qtjava/javalib/org/kde/qt/TQRadioButton.java | 46 + qtjava/javalib/org/kde/qt/TQRangeControl.java | 47 + .../org/kde/qt/TQRangeControlInterface.java | 21 + qtjava/javalib/org/kde/qt/TQRect.java | 96 + qtjava/javalib/org/kde/qt/TQRegExp.java | 74 + qtjava/javalib/org/kde/qt/TQRegExpValidator.java | 41 + qtjava/javalib/org/kde/qt/TQRegion.java | 81 + qtjava/javalib/org/kde/qt/TQResizeEvent.java | 21 + qtjava/javalib/org/kde/qt/TQScrollBar.java | 97 + qtjava/javalib/org/kde/qt/TQScrollBarSignals.java | 14 + qtjava/javalib/org/kde/qt/TQScrollView.java | 160 ++ qtjava/javalib/org/kde/qt/TQScrollViewSignals.java | 11 + qtjava/javalib/org/kde/qt/TQSemiModal.java | 43 + qtjava/javalib/org/kde/qt/TQServerSocket.java | 18 + qtjava/javalib/org/kde/qt/TQSessionManager.java | 34 + qtjava/javalib/org/kde/qt/TQSettings.java | 70 + qtjava/javalib/org/kde/qt/TQShowEvent.java | 19 + qtjava/javalib/org/kde/qt/TQSignal.java | 83 + qtjava/javalib/org/kde/qt/TQSignalMapper.java | 35 + .../javalib/org/kde/qt/TQSignalMapperSignals.java | 8 + qtjava/javalib/org/kde/qt/TQSignalSignals.java | 8 + qtjava/javalib/org/kde/qt/TQSimpleRichText.java | 59 + qtjava/javalib/org/kde/qt/TQSize.java | 49 + qtjava/javalib/org/kde/qt/TQSizeGrip.java | 33 + qtjava/javalib/org/kde/qt/TQSizePolicy.java | 77 + qtjava/javalib/org/kde/qt/TQSjisCodec.java | 27 + qtjava/javalib/org/kde/qt/TQSlider.java | 111 + qtjava/javalib/org/kde/qt/TQSliderSignals.java | 10 + qtjava/javalib/org/kde/qt/TQSocket.java | 108 + qtjava/javalib/org/kde/qt/TQSocketDevice.java | 92 + qtjava/javalib/org/kde/qt/TQSocketNotifier.java | 82 + .../org/kde/qt/TQSocketNotifierSignals.java | 7 + qtjava/javalib/org/kde/qt/TQSocketSignals.java | 13 + qtjava/javalib/org/kde/qt/TQSound.java | 43 + qtjava/javalib/org/kde/qt/TQSpacerItem.java | 40 + qtjava/javalib/org/kde/qt/TQSpinBox.java | 116 + qtjava/javalib/org/kde/qt/TQSpinBoxSignals.java | 8 + qtjava/javalib/org/kde/qt/TQSpinWidget.java | 61 + qtjava/javalib/org/kde/qt/TQSpinWidgetSignals.java | 8 + qtjava/javalib/org/kde/qt/TQSplashScreen.java | 46 + .../javalib/org/kde/qt/TQSplashScreenSignals.java | 7 + qtjava/javalib/org/kde/qt/TQSplitter.java | 83 + qtjava/javalib/org/kde/qt/TQSql.java | 42 + qtjava/javalib/org/kde/qt/TQSqlCursor.java | 139 + qtjava/javalib/org/kde/qt/TQSqlDatabase.java | 96 + qtjava/javalib/org/kde/qt/TQSqlDriver.java | 45 + qtjava/javalib/org/kde/qt/TQSqlEditorFactory.java | 33 + qtjava/javalib/org/kde/qt/TQSqlError.java | 58 + qtjava/javalib/org/kde/qt/TQSqlField.java | 45 + qtjava/javalib/org/kde/qt/TQSqlFieldInfo.java | 88 + qtjava/javalib/org/kde/qt/TQSqlForm.java | 51 + qtjava/javalib/org/kde/qt/TQSqlIndex.java | 51 + qtjava/javalib/org/kde/qt/TQSqlPropertyMap.java | 27 + qtjava/javalib/org/kde/qt/TQSqlQuery.java | 76 + qtjava/javalib/org/kde/qt/TQSqlQueryInterface.java | 38 + qtjava/javalib/org/kde/qt/TQSqlRecord.java | 56 + qtjava/javalib/org/kde/qt/TQSqlRecordInfo.java | 29 + qtjava/javalib/org/kde/qt/TQSqlResult.java | 13 + qtjava/javalib/org/kde/qt/TQStatusBar.java | 50 + qtjava/javalib/org/kde/qt/TQStatusBarSignals.java | 7 + qtjava/javalib/org/kde/qt/TQStoredDrag.java | 36 + qtjava/javalib/org/kde/qt/TQStyle.java | 356 +++ qtjava/javalib/org/kde/qt/TQStyleFactory.java | 24 + qtjava/javalib/org/kde/qt/TQStyleOption.java | 88 + qtjava/javalib/org/kde/qt/TQStyleSheet.java | 44 + qtjava/javalib/org/kde/qt/TQStyleSheetItem.java | 105 + qtjava/javalib/org/kde/qt/TQSyntaxHighlighter.java | 15 + qtjava/javalib/org/kde/qt/TQTab.java | 44 + qtjava/javalib/org/kde/qt/TQTabBar.java | 79 + qtjava/javalib/org/kde/qt/TQTabBarSignals.java | 8 + qtjava/javalib/org/kde/qt/TQTabDialog.java | 89 + qtjava/javalib/org/kde/qt/TQTabDialogSignals.java | 13 + qtjava/javalib/org/kde/qt/TQTabWidget.java | 95 + qtjava/javalib/org/kde/qt/TQTabWidgetSignals.java | 8 + qtjava/javalib/org/kde/qt/TQTable.java | 212 ++ qtjava/javalib/org/kde/qt/TQTableItem.java | 61 + qtjava/javalib/org/kde/qt/TQTableSelection.java | 39 + qtjava/javalib/org/kde/qt/TQTableSignals.java | 14 + qtjava/javalib/org/kde/qt/TQTabletEvent.java | 35 + qtjava/javalib/org/kde/qt/TQTextBrowser.java | 45 + .../javalib/org/kde/qt/TQTextBrowserSignals.java | 12 + qtjava/javalib/org/kde/qt/TQTextCodec.java | 43 + qtjava/javalib/org/kde/qt/TQTextDecoder.java | 12 + qtjava/javalib/org/kde/qt/TQTextDrag.java | 55 + qtjava/javalib/org/kde/qt/TQTextEdit.java | 262 ++ qtjava/javalib/org/kde/qt/TQTextEditSignals.java | 21 + qtjava/javalib/org/kde/qt/TQTextEncoder.java | 12 + qtjava/javalib/org/kde/qt/TQTextIStream.java | 24 + qtjava/javalib/org/kde/qt/TQTextOStream.java | 24 + qtjava/javalib/org/kde/qt/TQTextStream.java | 101 + qtjava/javalib/org/kde/qt/TQTextView.java | 53 + qtjava/javalib/org/kde/qt/TQTimeEdit.java | 87 + qtjava/javalib/org/kde/qt/TQTimeEditSignals.java | 8 + qtjava/javalib/org/kde/qt/TQTimer.java | 81 + qtjava/javalib/org/kde/qt/TQTimerEvent.java | 20 + qtjava/javalib/org/kde/qt/TQTimerSignals.java | 7 + qtjava/javalib/org/kde/qt/TQToolBar.java | 88 + qtjava/javalib/org/kde/qt/TQToolBox.java | 66 + qtjava/javalib/org/kde/qt/TQToolBoxSignals.java | 7 + qtjava/javalib/org/kde/qt/TQToolButton.java | 92 + qtjava/javalib/org/kde/qt/TQToolTip.java | 28 + qtjava/javalib/org/kde/qt/TQToolTipGroup.java | 35 + .../javalib/org/kde/qt/TQToolTipGroupSignals.java | 8 + qtjava/javalib/org/kde/qt/TQTranslator.java | 59 + qtjava/javalib/org/kde/qt/TQTranslatorMessage.java | 59 + qtjava/javalib/org/kde/qt/TQTsciiCodec.java | 25 + qtjava/javalib/org/kde/qt/TQUriDrag.java | 65 + qtjava/javalib/org/kde/qt/TQUrl.java | 79 + qtjava/javalib/org/kde/qt/TQUrlInfo.java | 77 + qtjava/javalib/org/kde/qt/TQUrlInterface.java | 43 + qtjava/javalib/org/kde/qt/TQUrlOperator.java | 111 + .../javalib/org/kde/qt/TQUrlOperatorSignals.java | 16 + qtjava/javalib/org/kde/qt/TQUtf16Codec.java | 24 + qtjava/javalib/org/kde/qt/TQUtf8Codec.java | 25 + qtjava/javalib/org/kde/qt/TQUuid.java | 54 + qtjava/javalib/org/kde/qt/TQVBox.java | 38 + qtjava/javalib/org/kde/qt/TQVBoxLayout.java | 68 + qtjava/javalib/org/kde/qt/TQVButtonGroup.java | 48 + qtjava/javalib/org/kde/qt/TQVGroupBox.java | 48 + qtjava/javalib/org/kde/qt/TQValidator.java | 35 + qtjava/javalib/org/kde/qt/TQVariant.java | 276 ++ qtjava/javalib/org/kde/qt/TQWMatrix.java | 63 + qtjava/javalib/org/kde/qt/TQWhatsThis.java | 37 + qtjava/javalib/org/kde/qt/TQWheelEvent.java | 46 + qtjava/javalib/org/kde/qt/TQWidget.java | 337 +++ qtjava/javalib/org/kde/qt/TQWidgetItem.java | 29 + qtjava/javalib/org/kde/qt/TQWidgetStack.java | 57 + .../javalib/org/kde/qt/TQWidgetStackSignals.java | 8 + qtjava/javalib/org/kde/qt/TQWizard.java | 78 + qtjava/javalib/org/kde/qt/TQWizardSignals.java | 8 + qtjava/javalib/org/kde/qt/TQWorkspace.java | 61 + qtjava/javalib/org/kde/qt/TQWorkspaceSignals.java | 8 + qtjava/javalib/org/kde/qt/TQXmlAttributes.java | 36 + qtjava/javalib/org/kde/qt/TQXmlContentHandler.java | 23 + .../org/kde/qt/TQXmlContentHandlerInterface.java | 18 + qtjava/javalib/org/kde/qt/TQXmlDTDHandler.java | 14 + .../org/kde/qt/TQXmlDTDHandlerInterface.java | 9 + qtjava/javalib/org/kde/qt/TQXmlDeclHandler.java | 15 + .../org/kde/qt/TQXmlDeclHandlerInterface.java | 10 + qtjava/javalib/org/kde/qt/TQXmlDefaultHandler.java | 47 + qtjava/javalib/org/kde/qt/TQXmlEntityResolver.java | 13 + .../org/kde/qt/TQXmlEntityResolverInterface.java | 8 + qtjava/javalib/org/kde/qt/TQXmlErrorHandler.java | 15 + .../org/kde/qt/TQXmlErrorHandlerInterface.java | 10 + qtjava/javalib/org/kde/qt/TQXmlInputSource.java | 41 + qtjava/javalib/org/kde/qt/TQXmlLexicalHandler.java | 19 + .../org/kde/qt/TQXmlLexicalHandlerInterface.java | 14 + qtjava/javalib/org/kde/qt/TQXmlLocator.java | 13 + .../javalib/org/kde/qt/TQXmlNamespaceSupport.java | 32 + qtjava/javalib/org/kde/qt/TQXmlParseException.java | 46 + qtjava/javalib/org/kde/qt/TQXmlReader.java | 32 + qtjava/javalib/org/kde/qt/TQXmlSimpleReader.java | 42 + qtjava/javalib/qtjava/Makefile.am | 6 +- qtjava/javalib/qtjava/QAccel.cpp | 314 --- qtjava/javalib/qtjava/QAccel.h | 51 - qtjava/javalib/qtjava/QAction.cpp | 511 ---- qtjava/javalib/qtjava/QAction.h | 67 - qtjava/javalib/qtjava/QActionGroup.cpp | 329 --- qtjava/javalib/qtjava/QActionGroup.h | 50 - qtjava/javalib/qtjava/QApplication.cpp | 1090 -------- qtjava/javalib/qtjava/QApplication.h | 137 - qtjava/javalib/qtjava/QAsyncIO.cpp | 65 - qtjava/javalib/qtjava/QAsyncIO.h | 24 - qtjava/javalib/qtjava/QAuServer.cpp | 79 - qtjava/javalib/qtjava/QAuServer.h | 27 - qtjava/javalib/qtjava/QBig5Codec.cpp | 106 - qtjava/javalib/qtjava/QBig5Codec.h | 29 - qtjava/javalib/qtjava/QBitmap.cpp | 231 -- qtjava/javalib/qtjava/QBitmap.h | 38 - qtjava/javalib/qtjava/QBoxLayout.cpp | 459 ---- qtjava/javalib/qtjava/QBoxLayout.h | 68 - qtjava/javalib/qtjava/QBrush.cpp | 160 -- qtjava/javalib/qtjava/QBrush.h | 35 - qtjava/javalib/qtjava/QBuffer.cpp | 175 -- qtjava/javalib/qtjava/QBuffer.h | 38 - qtjava/javalib/qtjava/QButton.cpp | 809 ------ qtjava/javalib/qtjava/QButton.h | 65 - qtjava/javalib/qtjava/QButtonGroup.cpp | 725 ------ qtjava/javalib/qtjava/QButtonGroup.h | 56 - qtjava/javalib/qtjava/QCanvas.cpp | 666 ----- qtjava/javalib/qtjava/QCanvas.h | 86 - qtjava/javalib/qtjava/QCanvasEllipse.cpp | 144 -- qtjava/javalib/qtjava/QCanvasEllipse.h | 34 - qtjava/javalib/qtjava/QCanvasItem.cpp | 275 -- qtjava/javalib/qtjava/QCanvasItem.h | 56 - qtjava/javalib/qtjava/QCanvasLine.cpp | 113 - qtjava/javalib/qtjava/QCanvasLine.h | 30 - qtjava/javalib/qtjava/QCanvasPixmap.cpp | 94 - qtjava/javalib/qtjava/QCanvasPixmap.h | 27 - qtjava/javalib/qtjava/QCanvasPixmapArray.cpp | 131 - qtjava/javalib/qtjava/QCanvasPixmapArray.h | 32 - qtjava/javalib/qtjava/QCanvasPolygon.cpp | 94 - qtjava/javalib/qtjava/QCanvasPolygon.h | 28 - qtjava/javalib/qtjava/QCanvasPolygonalItem.cpp | 73 - qtjava/javalib/qtjava/QCanvasPolygonalItem.h | 27 - qtjava/javalib/qtjava/QCanvasRectangle.cpp | 149 -- qtjava/javalib/qtjava/QCanvasRectangle.h | 34 - qtjava/javalib/qtjava/QCanvasSpline.cpp | 82 - qtjava/javalib/qtjava/QCanvasSpline.h | 27 - qtjava/javalib/qtjava/QCanvasSprite.cpp | 248 -- qtjava/javalib/qtjava/QCanvasSprite.h | 50 - qtjava/javalib/qtjava/QCanvasText.cpp | 172 -- qtjava/javalib/qtjava/QCanvasText.h | 37 - qtjava/javalib/qtjava/QCanvasView.cpp | 688 ----- qtjava/javalib/qtjava/QCanvasView.h | 40 - qtjava/javalib/qtjava/QCheckBox.cpp | 577 ----- qtjava/javalib/qtjava/QCheckBox.h | 41 - qtjava/javalib/qtjava/QCheckListItem.cpp | 341 --- qtjava/javalib/qtjava/QCheckListItem.h | 52 - qtjava/javalib/qtjava/QCheckTableItem.cpp | 108 - qtjava/javalib/qtjava/QCheckTableItem.h | 30 - qtjava/javalib/qtjava/QChildEvent.cpp | 67 - qtjava/javalib/qtjava/QChildEvent.h | 25 - qtjava/javalib/qtjava/QClassInfo.cpp | 46 - qtjava/javalib/qtjava/QClassInfo.h | 22 - qtjava/javalib/qtjava/QClipboard.cpp | 237 -- qtjava/javalib/qtjava/QClipboard.h | 47 - qtjava/javalib/qtjava/QCloseEvent.cpp | 67 - qtjava/javalib/qtjava/QCloseEvent.h | 25 - qtjava/javalib/qtjava/QColor.cpp | 384 --- qtjava/javalib/qtjava/QColor.h | 60 - qtjava/javalib/qtjava/QColorDialog.cpp | 154 -- qtjava/javalib/qtjava/QColorDialog.h | 34 - qtjava/javalib/qtjava/QColorDrag.cpp | 201 -- qtjava/javalib/qtjava/QColorDrag.h | 34 - qtjava/javalib/qtjava/QColorGroup.cpp | 235 -- qtjava/javalib/qtjava/QColorGroup.h | 47 - qtjava/javalib/qtjava/QComboBox.cpp | 1013 -------- qtjava/javalib/qtjava/QComboBox.h | 96 - qtjava/javalib/qtjava/QComboTableItem.cpp | 166 -- qtjava/javalib/qtjava/QComboTableItem.h | 37 - qtjava/javalib/qtjava/QContextMenuEvent.cpp | 150 -- qtjava/javalib/qtjava/QContextMenuEvent.h | 36 - qtjava/javalib/qtjava/QCursor.cpp | 215 -- qtjava/javalib/qtjava/QCursor.h | 40 - qtjava/javalib/qtjava/QCustomEvent.cpp | 46 - qtjava/javalib/qtjava/QCustomEvent.h | 22 - qtjava/javalib/qtjava/QCustomMenuItem.cpp | 44 - qtjava/javalib/qtjava/QCustomMenuItem.h | 23 - qtjava/javalib/qtjava/QDataBrowser.cpp | 966 ------- qtjava/javalib/qtjava/QDataBrowser.h | 77 - qtjava/javalib/qtjava/QDataPump.cpp | 120 - qtjava/javalib/qtjava/QDataPump.h | 26 - qtjava/javalib/qtjava/QDataSink.cpp | 35 - qtjava/javalib/qtjava/QDataSink.h | 22 - qtjava/javalib/qtjava/QDataSource.cpp | 48 - qtjava/javalib/qtjava/QDataSource.h | 24 - qtjava/javalib/qtjava/QDataStream.cpp | 280 -- qtjava/javalib/qtjava/QDataStream.h | 53 - qtjava/javalib/qtjava/QDataTable.cpp | 1494 ----------- qtjava/javalib/qtjava/QDataTable.h | 130 - qtjava/javalib/qtjava/QDataView.cpp | 569 ---- qtjava/javalib/qtjava/QDataView.h | 37 - qtjava/javalib/qtjava/QDateEdit.cpp | 781 ------ qtjava/javalib/qtjava/QDateEdit.h | 62 - qtjava/javalib/qtjava/QDateTimeEdit.cpp | 595 ----- qtjava/javalib/qtjava/QDateTimeEdit.h | 43 - qtjava/javalib/qtjava/QDateTimeEditBase.cpp | 86 - qtjava/javalib/qtjava/QDateTimeEditBase.h | 28 - qtjava/javalib/qtjava/QDesktopWidget.cpp | 555 ---- qtjava/javalib/qtjava/QDesktopWidget.h | 44 - qtjava/javalib/qtjava/QDial.cpp | 904 ------- qtjava/javalib/qtjava/QDial.h | 78 - qtjava/javalib/qtjava/QDialog.cpp | 727 ------ qtjava/javalib/qtjava/QDialog.h | 61 - qtjava/javalib/qtjava/QDir.cpp | 645 ----- qtjava/javalib/qtjava/QDir.h | 92 - qtjava/javalib/qtjava/QDockArea.cpp | 573 ---- qtjava/javalib/qtjava/QDockArea.h | 45 - qtjava/javalib/qtjava/QDockWindow.cpp | 894 ------- qtjava/javalib/qtjava/QDockWindow.h | 80 - qtjava/javalib/qtjava/QDomAttr.cpp | 110 - qtjava/javalib/qtjava/QDomAttr.h | 30 - qtjava/javalib/qtjava/QDomCDATASection.cpp | 71 - qtjava/javalib/qtjava/QDomCDATASection.h | 25 - qtjava/javalib/qtjava/QDomCharacterData.cpp | 134 - qtjava/javalib/qtjava/QDomCharacterData.h | 33 - qtjava/javalib/qtjava/QDomComment.cpp | 71 - qtjava/javalib/qtjava/QDomComment.h | 25 - qtjava/javalib/qtjava/QDomDocument.cpp | 561 ---- qtjava/javalib/qtjava/QDomDocument.h | 76 - qtjava/javalib/qtjava/QDomDocumentFragment.cpp | 71 - qtjava/javalib/qtjava/QDomDocumentFragment.h | 25 - qtjava/javalib/qtjava/QDomDocumentType.cpp | 118 - qtjava/javalib/qtjava/QDomDocumentType.h | 31 - qtjava/javalib/qtjava/QDomElement.cpp | 294 --- qtjava/javalib/qtjava/QDomElement.h | 51 - qtjava/javalib/qtjava/QDomEntity.cpp | 96 - qtjava/javalib/qtjava/QDomEntity.h | 28 - qtjava/javalib/qtjava/QDomEntityReference.cpp | 71 - qtjava/javalib/qtjava/QDomEntityReference.h | 25 - qtjava/javalib/qtjava/QDomImplementation.cpp | 107 - qtjava/javalib/qtjava/QDomImplementation.h | 29 - qtjava/javalib/qtjava/QDomNamedNodeMap.cpp | 149 -- qtjava/javalib/qtjava/QDomNamedNodeMap.h | 35 - qtjava/javalib/qtjava/QDomNode.cpp | 487 ---- qtjava/javalib/qtjava/QDomNode.h | 82 - qtjava/javalib/qtjava/QDomNotation.cpp | 88 - qtjava/javalib/qtjava/QDomNotation.h | 27 - .../javalib/qtjava/QDomProcessingInstruction.cpp | 96 - qtjava/javalib/qtjava/QDomProcessingInstruction.h | 28 - qtjava/javalib/qtjava/QDomText.cpp | 78 - qtjava/javalib/qtjava/QDomText.h | 26 - qtjava/javalib/qtjava/QDoubleValidator.cpp | 222 -- qtjava/javalib/qtjava/QDoubleValidator.h | 38 - qtjava/javalib/qtjava/QDragEnterEvent.cpp | 47 - qtjava/javalib/qtjava/QDragEnterEvent.h | 22 - qtjava/javalib/qtjava/QDragLeaveEvent.cpp | 46 - qtjava/javalib/qtjava/QDragLeaveEvent.h | 22 - qtjava/javalib/qtjava/QDragManager.cpp | 43 - qtjava/javalib/qtjava/QDragManager.h | 22 - qtjava/javalib/qtjava/QDragMoveEvent.cpp | 101 - qtjava/javalib/qtjava/QDragMoveEvent.h | 29 - qtjava/javalib/qtjava/QDragObject.cpp | 172 -- qtjava/javalib/qtjava/QDragObject.h | 39 - qtjava/javalib/qtjava/QDragResponseEvent.cpp | 53 - qtjava/javalib/qtjava/QDragResponseEvent.h | 23 - qtjava/javalib/qtjava/QDropEvent.cpp | 199 -- qtjava/javalib/qtjava/QDropEvent.h | 42 - qtjava/javalib/qtjava/QDropSite.cpp | 46 - qtjava/javalib/qtjava/QDropSite.h | 22 - qtjava/javalib/qtjava/QEditorFactory.cpp | 130 - qtjava/javalib/qtjava/QEditorFactory.h | 27 - qtjava/javalib/qtjava/QErrorMessage.cpp | 455 ---- qtjava/javalib/qtjava/QErrorMessage.h | 30 - qtjava/javalib/qtjava/QEucJpCodec.cpp | 114 - qtjava/javalib/qtjava/QEucJpCodec.h | 30 - qtjava/javalib/qtjava/QEucKrCodec.cpp | 114 - qtjava/javalib/qtjava/QEucKrCodec.h | 30 - qtjava/javalib/qtjava/QEvent.cpp | 60 - qtjava/javalib/qtjava/QEvent.h | 24 - qtjava/javalib/qtjava/QEventLoop.cpp | 294 --- qtjava/javalib/qtjava/QEventLoop.h | 44 - qtjava/javalib/qtjava/QFile.cpp | 278 -- qtjava/javalib/qtjava/QFile.h | 50 - qtjava/javalib/qtjava/QFileDialog.cpp | 1233 --------- qtjava/javalib/qtjava/QFileDialog.h | 109 - qtjava/javalib/qtjava/QFileIconProvider.cpp | 151 -- qtjava/javalib/qtjava/QFileIconProvider.h | 29 - qtjava/javalib/qtjava/QFileInfo.cpp | 373 --- qtjava/javalib/qtjava/QFileInfo.h | 63 - qtjava/javalib/qtjava/QFilePreview.cpp | 14 - qtjava/javalib/qtjava/QFilePreview.h | 19 - qtjava/javalib/qtjava/QFocusData.cpp | 55 - qtjava/javalib/qtjava/QFocusData.h | 25 - qtjava/javalib/qtjava/QFocusEvent.cpp | 87 - qtjava/javalib/qtjava/QFocusEvent.h | 27 - qtjava/javalib/qtjava/QFont.cpp | 560 ---- qtjava/javalib/qtjava/QFont.h | 86 - qtjava/javalib/qtjava/QFontDatabase.cpp | 362 --- qtjava/javalib/qtjava/QFontDatabase.h | 56 - qtjava/javalib/qtjava/QFontDialog.cpp | 106 - qtjava/javalib/qtjava/QFontDialog.h | 28 - qtjava/javalib/qtjava/QFontInfo.cpp | 162 -- qtjava/javalib/qtjava/QFontInfo.h | 37 - qtjava/javalib/qtjava/QFontMetrics.cpp | 304 --- qtjava/javalib/qtjava/QFontMetrics.h | 54 - qtjava/javalib/qtjava/QFrame.cpp | 678 ----- qtjava/javalib/qtjava/QFrame.h | 53 - qtjava/javalib/qtjava/QFtp.cpp | 600 ----- qtjava/javalib/qtjava/QFtp.h | 75 - qtjava/javalib/qtjava/QGL.cpp | 46 - qtjava/javalib/qtjava/QGL.h | 22 - qtjava/javalib/qtjava/QGLColormap.cpp | 140 - qtjava/javalib/qtjava/QGLColormap.h | 34 - qtjava/javalib/qtjava/QGLContext.cpp | 289 --- qtjava/javalib/qtjava/QGLContext.h | 48 - qtjava/javalib/qtjava/QGLFormat.cpp | 272 -- qtjava/javalib/qtjava/QGLFormat.h | 52 - qtjava/javalib/qtjava/QGLWidget.cpp | 1070 -------- qtjava/javalib/qtjava/QGLWidget.h | 87 - qtjava/javalib/qtjava/QGb18030Codec.cpp | 106 - qtjava/javalib/qtjava/QGb18030Codec.h | 29 - qtjava/javalib/qtjava/QGrid.cpp | 549 ---- qtjava/javalib/qtjava/QGrid.h | 36 - qtjava/javalib/qtjava/QGridLayout.cpp | 567 ---- qtjava/javalib/qtjava/QGridLayout.h | 79 - qtjava/javalib/qtjava/QGridView.cpp | 165 -- qtjava/javalib/qtjava/QGridView.h | 39 - qtjava/javalib/qtjava/QGroupBox.cpp | 796 ------ qtjava/javalib/qtjava/QGroupBox.h | 65 - qtjava/javalib/qtjava/QHBox.cpp | 534 ---- qtjava/javalib/qtjava/QHBox.h | 35 - qtjava/javalib/qtjava/QHBoxLayout.cpp | 221 -- qtjava/javalib/qtjava/QHBoxLayout.h | 35 - qtjava/javalib/qtjava/QHButtonGroup.cpp | 501 ---- qtjava/javalib/qtjava/QHButtonGroup.h | 31 - qtjava/javalib/qtjava/QHGroupBox.cpp | 501 ---- qtjava/javalib/qtjava/QHGroupBox.h | 31 - qtjava/javalib/qtjava/QHeader.cpp | 1028 -------- qtjava/javalib/qtjava/QHeader.h | 100 - qtjava/javalib/qtjava/QHebrewCodec.cpp | 99 - qtjava/javalib/qtjava/QHebrewCodec.h | 28 - qtjava/javalib/qtjava/QHideEvent.cpp | 46 - qtjava/javalib/qtjava/QHideEvent.h | 22 - qtjava/javalib/qtjava/QHostAddress.cpp | 172 -- qtjava/javalib/qtjava/QHostAddress.h | 37 - qtjava/javalib/qtjava/QHttp.cpp | 509 ---- qtjava/javalib/qtjava/QHttp.h | 64 - qtjava/javalib/qtjava/QHttpHeader.cpp | 123 - qtjava/javalib/qtjava/QHttpHeader.h | 33 - qtjava/javalib/qtjava/QHttpRequestHeader.cpp | 185 -- qtjava/javalib/qtjava/QHttpRequestHeader.h | 36 - qtjava/javalib/qtjava/QHttpResponseHeader.cpp | 106 - qtjava/javalib/qtjava/QHttpResponseHeader.h | 29 - qtjava/javalib/qtjava/QIMEvent.cpp | 91 - qtjava/javalib/qtjava/QIMEvent.h | 28 - qtjava/javalib/qtjava/QIODevice.cpp | 254 -- qtjava/javalib/qtjava/QIODevice.h | 52 - qtjava/javalib/qtjava/QIODeviceSource.cpp | 92 - qtjava/javalib/qtjava/QIODeviceSource.h | 28 - qtjava/javalib/qtjava/QIconDrag.cpp | 166 -- qtjava/javalib/qtjava/QIconDrag.h | 31 - qtjava/javalib/qtjava/QIconDragItem.cpp | 70 - qtjava/javalib/qtjava/QIconDragItem.h | 25 - qtjava/javalib/qtjava/QIconSet.cpp | 231 -- qtjava/javalib/qtjava/QIconSet.h | 45 - qtjava/javalib/qtjava/QIconView.cpp | 1522 ----------- qtjava/javalib/qtjava/QIconView.h | 128 - qtjava/javalib/qtjava/QIconViewItem.cpp | 622 ----- qtjava/javalib/qtjava/QIconViewItem.h | 90 - qtjava/javalib/qtjava/QImage.cpp | 908 ------- qtjava/javalib/qtjava/QImage.h | 128 - qtjava/javalib/qtjava/QImageConsumer.cpp | 57 - qtjava/javalib/qtjava/QImageConsumer.h | 25 - qtjava/javalib/qtjava/QImageDecoder.cpp | 107 - qtjava/javalib/qtjava/QImageDecoder.h | 29 - qtjava/javalib/qtjava/QImageDrag.cpp | 234 -- qtjava/javalib/qtjava/QImageDrag.h | 37 - qtjava/javalib/qtjava/QImageFormat.cpp | 15 - qtjava/javalib/qtjava/QImageFormat.h | 19 - qtjava/javalib/qtjava/QImageFormatType.cpp | 22 - qtjava/javalib/qtjava/QImageFormatType.h | 20 - qtjava/javalib/qtjava/QImageIO.cpp | 258 -- qtjava/javalib/qtjava/QImageIO.h | 48 - qtjava/javalib/qtjava/QImageTextKeyLang.cpp | 73 - qtjava/javalib/qtjava/QImageTextKeyLang.h | 25 - qtjava/javalib/qtjava/QInputDialog.cpp | 375 --- qtjava/javalib/qtjava/QInputDialog.h | 50 - qtjava/javalib/qtjava/QIntValidator.cpp | 201 -- qtjava/javalib/qtjava/QIntValidator.h | 35 - qtjava/javalib/qtjava/QJisCodec.cpp | 114 - qtjava/javalib/qtjava/QJisCodec.h | 30 - qtjava/javalib/qtjava/QJpUnicodeConv.cpp | 250 -- qtjava/javalib/qtjava/QJpUnicodeConv.h | 51 - qtjava/javalib/qtjava/QKeyEvent.cpp | 155 -- qtjava/javalib/qtjava/QKeyEvent.h | 35 - qtjava/javalib/qtjava/QKeySequence.cpp | 157 -- qtjava/javalib/qtjava/QKeySequence.h | 34 - qtjava/javalib/qtjava/QLCDNumber.cpp | 691 ----- qtjava/javalib/qtjava/QLCDNumber.h | 52 - qtjava/javalib/qtjava/QLabel.cpp | 789 ------ qtjava/javalib/qtjava/QLabel.h | 64 - qtjava/javalib/qtjava/QLayout.cpp | 340 --- qtjava/javalib/qtjava/QLayout.h | 64 - qtjava/javalib/qtjava/QLayoutItem.cpp | 114 - qtjava/javalib/qtjava/QLayoutItem.h | 33 - qtjava/javalib/qtjava/QLibrary.cpp | 91 - qtjava/javalib/qtjava/QLibrary.h | 28 - qtjava/javalib/qtjava/QLineEdit.cpp | 1314 ---------- qtjava/javalib/qtjava/QLineEdit.h | 117 - qtjava/javalib/qtjava/QListBox.cpp | 1601 ------------ qtjava/javalib/qtjava/QListBox.h | 152 -- qtjava/javalib/qtjava/QListBoxItem.cpp | 106 - qtjava/javalib/qtjava/QListBoxItem.h | 32 - qtjava/javalib/qtjava/QListBoxPixmap.cpp | 145 -- qtjava/javalib/qtjava/QListBoxPixmap.h | 32 - qtjava/javalib/qtjava/QListBoxText.cpp | 126 - qtjava/javalib/qtjava/QListBoxText.h | 30 - qtjava/javalib/qtjava/QListView.cpp | 1494 ----------- qtjava/javalib/qtjava/QListView.h | 132 - qtjava/javalib/qtjava/QListViewItem.cpp | 1097 -------- qtjava/javalib/qtjava/QListViewItem.h | 123 - qtjava/javalib/qtjava/QLocalFs.cpp | 265 -- qtjava/javalib/qtjava/QLocalFs.h | 33 - qtjava/javalib/qtjava/QMainWindow.cpp | 1059 -------- qtjava/javalib/qtjava/QMainWindow.h | 106 - qtjava/javalib/qtjava/QMenuBar.cpp | 1393 ---------- qtjava/javalib/qtjava/QMenuBar.h | 146 -- qtjava/javalib/qtjava/QMenuData.cpp | 767 ------ qtjava/javalib/qtjava/QMenuData.h | 114 - qtjava/javalib/qtjava/QMenuItem.cpp | 192 -- qtjava/javalib/qtjava/QMenuItem.h | 42 - qtjava/javalib/qtjava/QMessageBox.cpp | 1174 --------- qtjava/javalib/qtjava/QMessageBox.h | 98 - qtjava/javalib/qtjava/QMetaData.cpp | 46 - qtjava/javalib/qtjava/QMetaData.h | 22 - qtjava/javalib/qtjava/QMetaEnum.cpp | 46 - qtjava/javalib/qtjava/QMetaEnum.h | 22 - qtjava/javalib/qtjava/QMetaObject.cpp | 384 --- qtjava/javalib/qtjava/QMetaObject.h | 68 - qtjava/javalib/qtjava/QMetaProperty.cpp | 208 -- qtjava/javalib/qtjava/QMetaProperty.h | 44 - qtjava/javalib/qtjava/QMimeSource.cpp | 53 - qtjava/javalib/qtjava/QMimeSource.h | 24 - qtjava/javalib/qtjava/QMimeSourceFactory.cpp | 183 -- qtjava/javalib/qtjava/QMimeSourceFactory.h | 38 - qtjava/javalib/qtjava/QMouseEvent.cpp | 143 - qtjava/javalib/qtjava/QMouseEvent.h | 35 - qtjava/javalib/qtjava/QMoveEvent.cpp | 61 - qtjava/javalib/qtjava/QMoveEvent.h | 24 - qtjava/javalib/qtjava/QMovie.cpp | 348 --- qtjava/javalib/qtjava/QMovie.h | 59 - qtjava/javalib/qtjava/QMultiLineEdit.cpp | 1185 --------- qtjava/javalib/qtjava/QMultiLineEdit.h | 79 - qtjava/javalib/qtjava/QNetworkOperation.cpp | 228 -- qtjava/javalib/qtjava/QNetworkOperation.h | 39 - qtjava/javalib/qtjava/QNetworkProtocol.cpp | 388 --- qtjava/javalib/qtjava/QNetworkProtocol.h | 47 - qtjava/javalib/qtjava/QObject.cpp | 663 ----- qtjava/javalib/qtjava/QObject.h | 89 - qtjava/javalib/qtjava/QObjectCleanupHandler.cpp | 148 -- qtjava/javalib/qtjava/QObjectCleanupHandler.h | 30 - qtjava/javalib/qtjava/QPaintDevice.cpp | 139 - qtjava/javalib/qtjava/QPaintDevice.h | 33 - qtjava/javalib/qtjava/QPaintDeviceMetrics.cpp | 116 - qtjava/javalib/qtjava/QPaintDeviceMetrics.h | 32 - qtjava/javalib/qtjava/QPaintEvent.cpp | 124 - qtjava/javalib/qtjava/QPaintEvent.h | 30 - qtjava/javalib/qtjava/QPainter.cpp | 1372 ---------- qtjava/javalib/qtjava/QPainter.h | 203 -- qtjava/javalib/qtjava/QPalette.cpp | 244 -- qtjava/javalib/qtjava/QPalette.h | 47 - qtjava/javalib/qtjava/QPen.cpp | 198 -- qtjava/javalib/qtjava/QPen.h | 40 - qtjava/javalib/qtjava/QPicture.cpp | 216 -- qtjava/javalib/qtjava/QPicture.h | 42 - qtjava/javalib/qtjava/QPixmap.cpp | 763 ------ qtjava/javalib/qtjava/QPixmap.h | 105 - qtjava/javalib/qtjava/QPoint.cpp | 156 -- qtjava/javalib/qtjava/QPoint.h | 37 - qtjava/javalib/qtjava/QPointArray.cpp | 282 -- qtjava/javalib/qtjava/QPointArray.h | 50 - qtjava/javalib/qtjava/QPolygonScanner.cpp | 51 - qtjava/javalib/qtjava/QPolygonScanner.h | 24 - qtjava/javalib/qtjava/QPopupMenu.cpp | 1509 ----------- qtjava/javalib/qtjava/QPopupMenu.h | 158 -- qtjava/javalib/qtjava/QPrintDialog.cpp | 491 ---- qtjava/javalib/qtjava/QPrintDialog.h | 35 - qtjava/javalib/qtjava/QPrinter.cpp | 453 ---- qtjava/javalib/qtjava/QPrinter.h | 76 - qtjava/javalib/qtjava/QProcess.cpp | 486 ---- qtjava/javalib/qtjava/QProcess.h | 66 - qtjava/javalib/qtjava/QProgressBar.cpp | 666 ----- qtjava/javalib/qtjava/QProgressBar.h | 52 - qtjava/javalib/qtjava/QProgressDialog.cpp | 740 ------ qtjava/javalib/qtjava/QProgressDialog.h | 62 - qtjava/javalib/qtjava/QPushButton.cpp | 708 ----- qtjava/javalib/qtjava/QPushButton.h | 58 - qtjava/javalib/qtjava/QRadioButton.cpp | 549 ---- qtjava/javalib/qtjava/QRadioButton.h | 37 - qtjava/javalib/qtjava/QRangeControl.cpp | 236 -- qtjava/javalib/qtjava/QRangeControl.h | 45 - qtjava/javalib/qtjava/QRect.cpp | 539 ---- qtjava/javalib/qtjava/QRect.h | 88 - qtjava/javalib/qtjava/QRegExp.cpp | 343 --- qtjava/javalib/qtjava/QRegExp.h | 58 - qtjava/javalib/qtjava/QRegExpValidator.cpp | 181 -- qtjava/javalib/qtjava/QRegExpValidator.h | 32 - qtjava/javalib/qtjava/QRegion.cpp | 307 --- qtjava/javalib/qtjava/QRegion.h | 54 - qtjava/javalib/qtjava/QResizeEvent.cpp | 61 - qtjava/javalib/qtjava/QResizeEvent.h | 24 - qtjava/javalib/qtjava/QScrollBar.cpp | 881 ------- qtjava/javalib/qtjava/QScrollBar.h | 77 - qtjava/javalib/qtjava/QScrollView.cpp | 1537 ----------- qtjava/javalib/qtjava/QScrollView.h | 139 - qtjava/javalib/qtjava/QSemiModal.cpp | 464 ---- qtjava/javalib/qtjava/QSemiModal.h | 30 - qtjava/javalib/qtjava/QServerSocket.cpp | 87 - qtjava/javalib/qtjava/QServerSocket.h | 28 - qtjava/javalib/qtjava/QSessionManager.cpp | 166 -- qtjava/javalib/qtjava/QSessionManager.h | 38 - qtjava/javalib/qtjava/QSettings.cpp | 359 --- qtjava/javalib/qtjava/QSettings.h | 57 - qtjava/javalib/qtjava/QShowEvent.cpp | 46 - qtjava/javalib/qtjava/QShowEvent.h | 22 - qtjava/javalib/qtjava/QSignal.cpp | 214 -- qtjava/javalib/qtjava/QSignal.h | 38 - qtjava/javalib/qtjava/QSignalMapper.cpp | 161 -- qtjava/javalib/qtjava/QSignalMapper.h | 31 - qtjava/javalib/qtjava/QSimpleRichText.cpp | 232 -- qtjava/javalib/qtjava/QSimpleRichText.h | 42 - qtjava/javalib/qtjava/QSize.cpp | 198 -- qtjava/javalib/qtjava/QSize.h | 43 - qtjava/javalib/qtjava/QSizeGrip.cpp | 485 ---- qtjava/javalib/qtjava/QSizeGrip.h | 32 - qtjava/javalib/qtjava/QSizePolicy.cpp | 216 -- qtjava/javalib/qtjava/QSizePolicy.h | 44 - qtjava/javalib/qtjava/QSjisCodec.cpp | 114 - qtjava/javalib/qtjava/QSjisCodec.h | 30 - qtjava/javalib/qtjava/QSlider.cpp | 936 ------- qtjava/javalib/qtjava/QSlider.h | 84 - qtjava/javalib/qtjava/QSocket.cpp | 631 ----- qtjava/javalib/qtjava/QSocket.h | 89 - qtjava/javalib/qtjava/QSocketDevice.cpp | 367 --- qtjava/javalib/qtjava/QSocketDevice.h | 64 - qtjava/javalib/qtjava/QSocketNotifier.cpp | 181 -- qtjava/javalib/qtjava/QSocketNotifier.h | 33 - qtjava/javalib/qtjava/QSound.cpp | 223 -- qtjava/javalib/qtjava/QSound.h | 38 - qtjava/javalib/qtjava/QSpacerItem.cpp | 148 -- qtjava/javalib/qtjava/QSpacerItem.h | 35 - qtjava/javalib/qtjava/QSpinBox.cpp | 1033 -------- qtjava/javalib/qtjava/QSpinBox.h | 89 - qtjava/javalib/qtjava/QSpinWidget.cpp | 638 ----- qtjava/javalib/qtjava/QSpinWidget.h | 50 - qtjava/javalib/qtjava/QSplashScreen.cpp | 535 ---- qtjava/javalib/qtjava/QSplashScreen.h | 38 - qtjava/javalib/qtjava/QSplitter.cpp | 751 ------ qtjava/javalib/qtjava/QSplitter.h | 59 - qtjava/javalib/qtjava/QSql.cpp | 46 - qtjava/javalib/qtjava/QSql.h | 22 - qtjava/javalib/qtjava/QSqlCursor.cpp | 833 ------ qtjava/javalib/qtjava/QSqlCursor.h | 119 - qtjava/javalib/qtjava/QSqlDatabase.cpp | 554 ---- qtjava/javalib/qtjava/QSqlDatabase.h | 77 - qtjava/javalib/qtjava/QSqlDriver.cpp | 243 -- qtjava/javalib/qtjava/QSqlDriver.h | 46 - qtjava/javalib/qtjava/QSqlEditorFactory.cpp | 137 - qtjava/javalib/qtjava/QSqlEditorFactory.h | 28 - qtjava/javalib/qtjava/QSqlError.cpp | 192 -- qtjava/javalib/qtjava/QSqlError.h | 38 - qtjava/javalib/qtjava/QSqlField.cpp | 173 -- qtjava/javalib/qtjava/QSqlField.h | 37 - qtjava/javalib/qtjava/QSqlFieldInfo.cpp | 307 --- qtjava/javalib/qtjava/QSqlFieldInfo.h | 50 - qtjava/javalib/qtjava/QSqlForm.cpp | 341 --- qtjava/javalib/qtjava/QSqlForm.h | 46 - qtjava/javalib/qtjava/QSqlIndex.cpp | 217 -- qtjava/javalib/qtjava/QSqlIndex.h | 41 - qtjava/javalib/qtjava/QSqlPropertyMap.cpp | 95 - qtjava/javalib/qtjava/QSqlPropertyMap.h | 28 - qtjava/javalib/qtjava/QSqlQuery.cpp | 360 --- qtjava/javalib/qtjava/QSqlQuery.h | 61 - qtjava/javalib/qtjava/QSqlRecord.cpp | 298 --- qtjava/javalib/qtjava/QSqlRecord.h | 53 - qtjava/javalib/qtjava/QSqlResult.cpp | 6 - qtjava/javalib/qtjava/QSqlResult.h | 18 - qtjava/javalib/qtjava/QStatusBar.cpp | 577 ----- qtjava/javalib/qtjava/QStatusBar.h | 42 - qtjava/javalib/qtjava/QStoredDrag.cpp | 172 -- qtjava/javalib/qtjava/QStoredDrag.h | 31 - qtjava/javalib/qtjava/QStyle.cpp | 383 --- qtjava/javalib/qtjava/QStyle.h | 68 - qtjava/javalib/qtjava/QStyleFactory.cpp | 66 - qtjava/javalib/qtjava/QStyleFactory.h | 24 - qtjava/javalib/qtjava/QStyleOption.cpp | 300 --- qtjava/javalib/qtjava/QStyleOption.h | 53 - qtjava/javalib/qtjava/QStyleSheet.cpp | 230 -- qtjava/javalib/qtjava/QStyleSheet.h | 38 - qtjava/javalib/qtjava/QStyleSheetItem.cpp | 387 --- qtjava/javalib/qtjava/QStyleSheetItem.h | 69 - qtjava/javalib/qtjava/QSyntaxHighlighter.cpp | 59 - qtjava/javalib/qtjava/QSyntaxHighlighter.h | 25 - qtjava/javalib/qtjava/QTab.cpp | 156 -- qtjava/javalib/qtjava/QTab.h | 35 - qtjava/javalib/qtjava/QTabBar.cpp | 773 ------ qtjava/javalib/qtjava/QTabBar.h | 65 - qtjava/javalib/qtjava/QTabDialog.cpp | 798 ------ qtjava/javalib/qtjava/QTabDialog.h | 73 - qtjava/javalib/qtjava/QTabWidget.cpp | 836 ------ qtjava/javalib/qtjava/QTabWidget.h | 77 - qtjava/javalib/qtjava/QTable.cpp | 1778 ------------- qtjava/javalib/qtjava/QTable.h | 175 -- qtjava/javalib/qtjava/QTableItem.cpp | 267 -- qtjava/javalib/qtjava/QTableItem.h | 51 - qtjava/javalib/qtjava/QTableSelection.cpp | 155 -- qtjava/javalib/qtjava/QTableSelection.h | 37 - qtjava/javalib/qtjava/QTabletEvent.cpp | 121 - qtjava/javalib/qtjava/QTabletEvent.h | 34 - qtjava/javalib/qtjava/QTextBrowser.cpp | 809 ------ qtjava/javalib/qtjava/QTextBrowser.h | 37 - qtjava/javalib/qtjava/QTextCodec.cpp | 276 -- qtjava/javalib/qtjava/QTextCodec.h | 50 - qtjava/javalib/qtjava/QTextDecoder.cpp | 16 - qtjava/javalib/qtjava/QTextDecoder.h | 19 - qtjava/javalib/qtjava/QTextDrag.cpp | 247 -- qtjava/javalib/qtjava/QTextDrag.h | 38 - qtjava/javalib/qtjava/QTextEdit.cpp | 2102 --------------- qtjava/javalib/qtjava/QTextEdit.h | 191 -- qtjava/javalib/qtjava/QTextEncoder.cpp | 19 - qtjava/javalib/qtjava/QTextEncoder.h | 19 - qtjava/javalib/qtjava/QTextIStream.cpp | 60 - qtjava/javalib/qtjava/QTextIStream.h | 23 - qtjava/javalib/qtjava/QTextOStream.cpp | 61 - qtjava/javalib/qtjava/QTextOStream.h | 23 - qtjava/javalib/qtjava/QTextStream.cpp | 374 --- qtjava/javalib/qtjava/QTextStream.h | 65 - qtjava/javalib/qtjava/QTextView.cpp | 749 ------ qtjava/javalib/qtjava/QTextView.h | 32 - qtjava/javalib/qtjava/QTimeEdit.cpp | 764 ------ qtjava/javalib/qtjava/QTimeEdit.h | 61 - qtjava/javalib/qtjava/QTimer.cpp | 203 -- qtjava/javalib/qtjava/QTimer.h | 36 - qtjava/javalib/qtjava/QTimerEvent.cpp | 53 - qtjava/javalib/qtjava/QTimerEvent.h | 23 - qtjava/javalib/qtjava/QToolBar.cpp | 690 ----- qtjava/javalib/qtjava/QToolBar.h | 51 - qtjava/javalib/qtjava/QToolBox.cpp | 682 ----- qtjava/javalib/qtjava/QToolBox.h | 54 - qtjava/javalib/qtjava/QToolButton.cpp | 811 ------ qtjava/javalib/qtjava/QToolButton.h | 70 - qtjava/javalib/qtjava/QToolTip.cpp | 183 -- qtjava/javalib/qtjava/QToolTip.h | 38 - qtjava/javalib/qtjava/QToolTipGroup.cpp | 160 -- qtjava/javalib/qtjava/QToolTipGroup.h | 31 - qtjava/javalib/qtjava/QTranslator.cpp | 332 --- qtjava/javalib/qtjava/QTranslator.h | 50 - qtjava/javalib/qtjava/QTranslatorMessage.cpp | 216 -- qtjava/javalib/qtjava/QTranslatorMessage.h | 42 - qtjava/javalib/qtjava/QTsciiCodec.cpp | 99 - qtjava/javalib/qtjava/QTsciiCodec.h | 28 - qtjava/javalib/qtjava/QUriDrag.cpp | 302 --- qtjava/javalib/qtjava/QUriDrag.h | 46 - qtjava/javalib/qtjava/QUrl.cpp | 429 --- qtjava/javalib/qtjava/QUrl.h | 68 - qtjava/javalib/qtjava/QUrlInfo.cpp | 320 --- qtjava/javalib/qtjava/QUrlInfo.h | 55 - qtjava/javalib/qtjava/QUrlOperator.cpp | 700 ----- qtjava/javalib/qtjava/QUrlOperator.h | 92 - qtjava/javalib/qtjava/QUtf16Codec.cpp | 83 - qtjava/javalib/qtjava/QUtf16Codec.h | 27 - qtjava/javalib/qtjava/QUtf8Codec.cpp | 98 - qtjava/javalib/qtjava/QUtf8Codec.h | 28 - qtjava/javalib/qtjava/QUuid.cpp | 146 -- qtjava/javalib/qtjava/QUuid.h | 34 - qtjava/javalib/qtjava/QVBox.cpp | 477 ---- qtjava/javalib/qtjava/QVBox.h | 29 - qtjava/javalib/qtjava/QVBoxLayout.cpp | 221 -- qtjava/javalib/qtjava/QVBoxLayout.h | 35 - qtjava/javalib/qtjava/QVButtonGroup.cpp | 501 ---- qtjava/javalib/qtjava/QVButtonGroup.h | 31 - qtjava/javalib/qtjava/QVGroupBox.cpp | 501 ---- qtjava/javalib/qtjava/QVGroupBox.h | 31 - qtjava/javalib/qtjava/QValidator.cpp | 161 -- qtjava/javalib/qtjava/QValidator.h | 29 - qtjava/javalib/qtjava/QVariant.cpp | 969 ------- qtjava/javalib/qtjava/QVariant.h | 129 - qtjava/javalib/qtjava/QWMatrix.cpp | 320 --- qtjava/javalib/qtjava/QWMatrix.h | 58 - qtjava/javalib/qtjava/QWhatsThis.cpp | 206 -- qtjava/javalib/qtjava/QWhatsThis.h | 40 - qtjava/javalib/qtjava/QWheelEvent.cpp | 165 -- qtjava/javalib/qtjava/QWheelEvent.h | 37 - qtjava/javalib/qtjava/QWidget.cpp | 2730 -------------------- qtjava/javalib/qtjava/QWidget.h | 311 --- qtjava/javalib/qtjava/QWidgetItem.cpp | 119 - qtjava/javalib/qtjava/QWidgetItem.h | 32 - qtjava/javalib/qtjava/QWidgetStack.cpp | 601 ----- qtjava/javalib/qtjava/QWidgetStack.h | 45 - qtjava/javalib/qtjava/QWizard.cpp | 750 ------ qtjava/javalib/qtjava/QWizard.h | 62 - qtjava/javalib/qtjava/QWorkspace.cpp | 608 ----- qtjava/javalib/qtjava/QWorkspace.h | 49 - qtjava/javalib/qtjava/QXmlAttributes.cpp | 174 -- qtjava/javalib/qtjava/QXmlAttributes.h | 37 - qtjava/javalib/qtjava/QXmlContentHandler.cpp | 106 - qtjava/javalib/qtjava/QXmlContentHandler.h | 30 - qtjava/javalib/qtjava/QXmlDTDHandler.cpp | 36 - qtjava/javalib/qtjava/QXmlDTDHandler.h | 21 - qtjava/javalib/qtjava/QXmlDeclHandler.cpp | 46 - qtjava/javalib/qtjava/QXmlDeclHandler.h | 22 - qtjava/javalib/qtjava/QXmlDefaultHandler.cpp | 283 -- qtjava/javalib/qtjava/QXmlDefaultHandler.h | 50 - qtjava/javalib/qtjava/QXmlEntityResolver.cpp | 24 - qtjava/javalib/qtjava/QXmlEntityResolver.h | 20 - qtjava/javalib/qtjava/QXmlErrorHandler.cpp | 36 - qtjava/javalib/qtjava/QXmlErrorHandler.h | 22 - qtjava/javalib/qtjava/QXmlInputSource.cpp | 161 -- qtjava/javalib/qtjava/QXmlInputSource.h | 33 - qtjava/javalib/qtjava/QXmlLexicalHandler.cpp | 70 - qtjava/javalib/qtjava/QXmlLexicalHandler.h | 26 - qtjava/javalib/qtjava/QXmlLocator.cpp | 20 - qtjava/javalib/qtjava/QXmlLocator.h | 20 - qtjava/javalib/qtjava/QXmlNamespaceSupport.cpp | 137 - qtjava/javalib/qtjava/QXmlNamespaceSupport.h | 32 - qtjava/javalib/qtjava/QXmlParseException.cpp | 148 -- qtjava/javalib/qtjava/QXmlParseException.h | 32 - qtjava/javalib/qtjava/QXmlReader.cpp | 140 - qtjava/javalib/qtjava/QXmlReader.h | 36 - qtjava/javalib/qtjava/QXmlSimpleReader.cpp | 194 -- qtjava/javalib/qtjava/QXmlSimpleReader.h | 42 - qtjava/javalib/qtjava/QtSupport.cpp | 2 +- qtjava/javalib/qtjava/TQAccel.cpp | 314 +++ qtjava/javalib/qtjava/TQAccel.h | 51 + qtjava/javalib/qtjava/TQAction.cpp | 511 ++++ qtjava/javalib/qtjava/TQAction.h | 67 + qtjava/javalib/qtjava/TQActionGroup.cpp | 329 +++ qtjava/javalib/qtjava/TQActionGroup.h | 50 + qtjava/javalib/qtjava/TQApplication.cpp | 1090 ++++++++ qtjava/javalib/qtjava/TQApplication.h | 137 + qtjava/javalib/qtjava/TQAsyncIO.cpp | 65 + qtjava/javalib/qtjava/TQAsyncIO.h | 24 + qtjava/javalib/qtjava/TQAuServer.cpp | 79 + qtjava/javalib/qtjava/TQAuServer.h | 27 + qtjava/javalib/qtjava/TQBig5Codec.cpp | 106 + qtjava/javalib/qtjava/TQBig5Codec.h | 29 + qtjava/javalib/qtjava/TQBitmap.cpp | 231 ++ qtjava/javalib/qtjava/TQBitmap.h | 38 + qtjava/javalib/qtjava/TQBoxLayout.cpp | 459 ++++ qtjava/javalib/qtjava/TQBoxLayout.h | 68 + qtjava/javalib/qtjava/TQBrush.cpp | 160 ++ qtjava/javalib/qtjava/TQBrush.h | 35 + qtjava/javalib/qtjava/TQBuffer.cpp | 175 ++ qtjava/javalib/qtjava/TQBuffer.h | 38 + qtjava/javalib/qtjava/TQButton.cpp | 809 ++++++ qtjava/javalib/qtjava/TQButton.h | 65 + qtjava/javalib/qtjava/TQButtonGroup.cpp | 725 ++++++ qtjava/javalib/qtjava/TQButtonGroup.h | 56 + qtjava/javalib/qtjava/TQCanvas.cpp | 666 +++++ qtjava/javalib/qtjava/TQCanvas.h | 86 + qtjava/javalib/qtjava/TQCanvasEllipse.cpp | 144 ++ qtjava/javalib/qtjava/TQCanvasEllipse.h | 34 + qtjava/javalib/qtjava/TQCanvasItem.cpp | 275 ++ qtjava/javalib/qtjava/TQCanvasItem.h | 56 + qtjava/javalib/qtjava/TQCanvasLine.cpp | 113 + qtjava/javalib/qtjava/TQCanvasLine.h | 30 + qtjava/javalib/qtjava/TQCanvasPixmap.cpp | 94 + qtjava/javalib/qtjava/TQCanvasPixmap.h | 27 + qtjava/javalib/qtjava/TQCanvasPixmapArray.cpp | 131 + qtjava/javalib/qtjava/TQCanvasPixmapArray.h | 32 + qtjava/javalib/qtjava/TQCanvasPolygon.cpp | 94 + qtjava/javalib/qtjava/TQCanvasPolygon.h | 28 + qtjava/javalib/qtjava/TQCanvasPolygonalItem.cpp | 73 + qtjava/javalib/qtjava/TQCanvasPolygonalItem.h | 27 + qtjava/javalib/qtjava/TQCanvasRectangle.cpp | 149 ++ qtjava/javalib/qtjava/TQCanvasRectangle.h | 34 + qtjava/javalib/qtjava/TQCanvasSpline.cpp | 82 + qtjava/javalib/qtjava/TQCanvasSpline.h | 27 + qtjava/javalib/qtjava/TQCanvasSprite.cpp | 248 ++ qtjava/javalib/qtjava/TQCanvasSprite.h | 50 + qtjava/javalib/qtjava/TQCanvasText.cpp | 172 ++ qtjava/javalib/qtjava/TQCanvasText.h | 37 + qtjava/javalib/qtjava/TQCanvasView.cpp | 688 +++++ qtjava/javalib/qtjava/TQCanvasView.h | 40 + qtjava/javalib/qtjava/TQCheckBox.cpp | 577 +++++ qtjava/javalib/qtjava/TQCheckBox.h | 41 + qtjava/javalib/qtjava/TQCheckListItem.cpp | 341 +++ qtjava/javalib/qtjava/TQCheckListItem.h | 52 + qtjava/javalib/qtjava/TQCheckTableItem.cpp | 108 + qtjava/javalib/qtjava/TQCheckTableItem.h | 30 + qtjava/javalib/qtjava/TQChildEvent.cpp | 67 + qtjava/javalib/qtjava/TQChildEvent.h | 25 + qtjava/javalib/qtjava/TQClassInfo.cpp | 46 + qtjava/javalib/qtjava/TQClassInfo.h | 22 + qtjava/javalib/qtjava/TQClipboard.cpp | 237 ++ qtjava/javalib/qtjava/TQClipboard.h | 47 + qtjava/javalib/qtjava/TQCloseEvent.cpp | 67 + qtjava/javalib/qtjava/TQCloseEvent.h | 25 + qtjava/javalib/qtjava/TQColor.cpp | 384 +++ qtjava/javalib/qtjava/TQColor.h | 60 + qtjava/javalib/qtjava/TQColorDialog.cpp | 154 ++ qtjava/javalib/qtjava/TQColorDialog.h | 34 + qtjava/javalib/qtjava/TQColorDrag.cpp | 201 ++ qtjava/javalib/qtjava/TQColorDrag.h | 34 + qtjava/javalib/qtjava/TQColorGroup.cpp | 235 ++ qtjava/javalib/qtjava/TQColorGroup.h | 47 + qtjava/javalib/qtjava/TQComboBox.cpp | 1013 ++++++++ qtjava/javalib/qtjava/TQComboBox.h | 96 + qtjava/javalib/qtjava/TQComboTableItem.cpp | 166 ++ qtjava/javalib/qtjava/TQComboTableItem.h | 37 + qtjava/javalib/qtjava/TQContextMenuEvent.cpp | 150 ++ qtjava/javalib/qtjava/TQContextMenuEvent.h | 36 + qtjava/javalib/qtjava/TQCursor.cpp | 215 ++ qtjava/javalib/qtjava/TQCursor.h | 40 + qtjava/javalib/qtjava/TQCustomEvent.cpp | 46 + qtjava/javalib/qtjava/TQCustomEvent.h | 22 + qtjava/javalib/qtjava/TQCustomMenuItem.cpp | 44 + qtjava/javalib/qtjava/TQCustomMenuItem.h | 23 + qtjava/javalib/qtjava/TQDataBrowser.cpp | 966 +++++++ qtjava/javalib/qtjava/TQDataBrowser.h | 77 + qtjava/javalib/qtjava/TQDataPump.cpp | 120 + qtjava/javalib/qtjava/TQDataPump.h | 26 + qtjava/javalib/qtjava/TQDataSink.cpp | 35 + qtjava/javalib/qtjava/TQDataSink.h | 22 + qtjava/javalib/qtjava/TQDataSource.cpp | 48 + qtjava/javalib/qtjava/TQDataSource.h | 24 + qtjava/javalib/qtjava/TQDataStream.cpp | 280 ++ qtjava/javalib/qtjava/TQDataStream.h | 53 + qtjava/javalib/qtjava/TQDataTable.cpp | 1494 +++++++++++ qtjava/javalib/qtjava/TQDataTable.h | 130 + qtjava/javalib/qtjava/TQDataView.cpp | 569 ++++ qtjava/javalib/qtjava/TQDataView.h | 37 + qtjava/javalib/qtjava/TQDateEdit.cpp | 781 ++++++ qtjava/javalib/qtjava/TQDateEdit.h | 62 + qtjava/javalib/qtjava/TQDateTimeEdit.cpp | 595 +++++ qtjava/javalib/qtjava/TQDateTimeEdit.h | 43 + qtjava/javalib/qtjava/TQDateTimeEditBase.cpp | 86 + qtjava/javalib/qtjava/TQDateTimeEditBase.h | 28 + qtjava/javalib/qtjava/TQDesktopWidget.cpp | 555 ++++ qtjava/javalib/qtjava/TQDesktopWidget.h | 44 + qtjava/javalib/qtjava/TQDial.cpp | 904 +++++++ qtjava/javalib/qtjava/TQDial.h | 78 + qtjava/javalib/qtjava/TQDialog.cpp | 727 ++++++ qtjava/javalib/qtjava/TQDialog.h | 61 + qtjava/javalib/qtjava/TQDir.cpp | 645 +++++ qtjava/javalib/qtjava/TQDir.h | 92 + qtjava/javalib/qtjava/TQDockArea.cpp | 573 ++++ qtjava/javalib/qtjava/TQDockArea.h | 45 + qtjava/javalib/qtjava/TQDockWindow.cpp | 894 +++++++ qtjava/javalib/qtjava/TQDockWindow.h | 80 + qtjava/javalib/qtjava/TQDomAttr.cpp | 110 + qtjava/javalib/qtjava/TQDomAttr.h | 30 + qtjava/javalib/qtjava/TQDomCDATASection.cpp | 71 + qtjava/javalib/qtjava/TQDomCDATASection.h | 25 + qtjava/javalib/qtjava/TQDomCharacterData.cpp | 134 + qtjava/javalib/qtjava/TQDomCharacterData.h | 33 + qtjava/javalib/qtjava/TQDomComment.cpp | 71 + qtjava/javalib/qtjava/TQDomComment.h | 25 + qtjava/javalib/qtjava/TQDomDocument.cpp | 561 ++++ qtjava/javalib/qtjava/TQDomDocument.h | 76 + qtjava/javalib/qtjava/TQDomDocumentFragment.cpp | 71 + qtjava/javalib/qtjava/TQDomDocumentFragment.h | 25 + qtjava/javalib/qtjava/TQDomDocumentType.cpp | 118 + qtjava/javalib/qtjava/TQDomDocumentType.h | 31 + qtjava/javalib/qtjava/TQDomElement.cpp | 294 +++ qtjava/javalib/qtjava/TQDomElement.h | 51 + qtjava/javalib/qtjava/TQDomEntity.cpp | 96 + qtjava/javalib/qtjava/TQDomEntity.h | 28 + qtjava/javalib/qtjava/TQDomEntityReference.cpp | 71 + qtjava/javalib/qtjava/TQDomEntityReference.h | 25 + qtjava/javalib/qtjava/TQDomImplementation.cpp | 107 + qtjava/javalib/qtjava/TQDomImplementation.h | 29 + qtjava/javalib/qtjava/TQDomNamedNodeMap.cpp | 149 ++ qtjava/javalib/qtjava/TQDomNamedNodeMap.h | 35 + qtjava/javalib/qtjava/TQDomNode.cpp | 487 ++++ qtjava/javalib/qtjava/TQDomNode.h | 82 + qtjava/javalib/qtjava/TQDomNotation.cpp | 88 + qtjava/javalib/qtjava/TQDomNotation.h | 27 + .../javalib/qtjava/TQDomProcessingInstruction.cpp | 96 + qtjava/javalib/qtjava/TQDomProcessingInstruction.h | 28 + qtjava/javalib/qtjava/TQDomText.cpp | 78 + qtjava/javalib/qtjava/TQDomText.h | 26 + qtjava/javalib/qtjava/TQDoubleValidator.cpp | 222 ++ qtjava/javalib/qtjava/TQDoubleValidator.h | 38 + qtjava/javalib/qtjava/TQDragEnterEvent.cpp | 47 + qtjava/javalib/qtjava/TQDragEnterEvent.h | 22 + qtjava/javalib/qtjava/TQDragLeaveEvent.cpp | 46 + qtjava/javalib/qtjava/TQDragLeaveEvent.h | 22 + qtjava/javalib/qtjava/TQDragManager.cpp | 43 + qtjava/javalib/qtjava/TQDragManager.h | 22 + qtjava/javalib/qtjava/TQDragMoveEvent.cpp | 101 + qtjava/javalib/qtjava/TQDragMoveEvent.h | 29 + qtjava/javalib/qtjava/TQDragObject.cpp | 172 ++ qtjava/javalib/qtjava/TQDragObject.h | 39 + qtjava/javalib/qtjava/TQDragResponseEvent.cpp | 53 + qtjava/javalib/qtjava/TQDragResponseEvent.h | 23 + qtjava/javalib/qtjava/TQDropEvent.cpp | 199 ++ qtjava/javalib/qtjava/TQDropEvent.h | 42 + qtjava/javalib/qtjava/TQDropSite.cpp | 46 + qtjava/javalib/qtjava/TQDropSite.h | 22 + qtjava/javalib/qtjava/TQEditorFactory.cpp | 130 + qtjava/javalib/qtjava/TQEditorFactory.h | 27 + qtjava/javalib/qtjava/TQErrorMessage.cpp | 455 ++++ qtjava/javalib/qtjava/TQErrorMessage.h | 30 + qtjava/javalib/qtjava/TQEucJpCodec.cpp | 114 + qtjava/javalib/qtjava/TQEucJpCodec.h | 30 + qtjava/javalib/qtjava/TQEucKrCodec.cpp | 114 + qtjava/javalib/qtjava/TQEucKrCodec.h | 30 + qtjava/javalib/qtjava/TQEvent.cpp | 60 + qtjava/javalib/qtjava/TQEvent.h | 24 + qtjava/javalib/qtjava/TQEventLoop.cpp | 294 +++ qtjava/javalib/qtjava/TQEventLoop.h | 44 + qtjava/javalib/qtjava/TQFile.cpp | 278 ++ qtjava/javalib/qtjava/TQFile.h | 50 + qtjava/javalib/qtjava/TQFileDialog.cpp | 1233 +++++++++ qtjava/javalib/qtjava/TQFileDialog.h | 109 + qtjava/javalib/qtjava/TQFileIconProvider.cpp | 151 ++ qtjava/javalib/qtjava/TQFileIconProvider.h | 29 + qtjava/javalib/qtjava/TQFileInfo.cpp | 373 +++ qtjava/javalib/qtjava/TQFileInfo.h | 63 + qtjava/javalib/qtjava/TQFilePreview.cpp | 14 + qtjava/javalib/qtjava/TQFilePreview.h | 19 + qtjava/javalib/qtjava/TQFocusData.cpp | 55 + qtjava/javalib/qtjava/TQFocusData.h | 25 + qtjava/javalib/qtjava/TQFocusEvent.cpp | 87 + qtjava/javalib/qtjava/TQFocusEvent.h | 27 + qtjava/javalib/qtjava/TQFont.cpp | 560 ++++ qtjava/javalib/qtjava/TQFont.h | 86 + qtjava/javalib/qtjava/TQFontDatabase.cpp | 362 +++ qtjava/javalib/qtjava/TQFontDatabase.h | 56 + qtjava/javalib/qtjava/TQFontDialog.cpp | 106 + qtjava/javalib/qtjava/TQFontDialog.h | 28 + qtjava/javalib/qtjava/TQFontInfo.cpp | 162 ++ qtjava/javalib/qtjava/TQFontInfo.h | 37 + qtjava/javalib/qtjava/TQFontMetrics.cpp | 304 +++ qtjava/javalib/qtjava/TQFontMetrics.h | 54 + qtjava/javalib/qtjava/TQFrame.cpp | 678 +++++ qtjava/javalib/qtjava/TQFrame.h | 53 + qtjava/javalib/qtjava/TQFtp.cpp | 600 +++++ qtjava/javalib/qtjava/TQFtp.h | 75 + qtjava/javalib/qtjava/TQGL.cpp | 46 + qtjava/javalib/qtjava/TQGL.h | 22 + qtjava/javalib/qtjava/TQGLColormap.cpp | 140 + qtjava/javalib/qtjava/TQGLColormap.h | 34 + qtjava/javalib/qtjava/TQGLContext.cpp | 289 +++ qtjava/javalib/qtjava/TQGLContext.h | 48 + qtjava/javalib/qtjava/TQGLFormat.cpp | 272 ++ qtjava/javalib/qtjava/TQGLFormat.h | 52 + qtjava/javalib/qtjava/TQGLWidget.cpp | 1070 ++++++++ qtjava/javalib/qtjava/TQGLWidget.h | 87 + qtjava/javalib/qtjava/TQGb18030Codec.cpp | 106 + qtjava/javalib/qtjava/TQGb18030Codec.h | 29 + qtjava/javalib/qtjava/TQGrid.cpp | 549 ++++ qtjava/javalib/qtjava/TQGrid.h | 36 + qtjava/javalib/qtjava/TQGridLayout.cpp | 567 ++++ qtjava/javalib/qtjava/TQGridLayout.h | 79 + qtjava/javalib/qtjava/TQGridView.cpp | 165 ++ qtjava/javalib/qtjava/TQGridView.h | 39 + qtjava/javalib/qtjava/TQGroupBox.cpp | 796 ++++++ qtjava/javalib/qtjava/TQGroupBox.h | 65 + qtjava/javalib/qtjava/TQHBox.cpp | 534 ++++ qtjava/javalib/qtjava/TQHBox.h | 35 + qtjava/javalib/qtjava/TQHBoxLayout.cpp | 221 ++ qtjava/javalib/qtjava/TQHBoxLayout.h | 35 + qtjava/javalib/qtjava/TQHButtonGroup.cpp | 501 ++++ qtjava/javalib/qtjava/TQHButtonGroup.h | 31 + qtjava/javalib/qtjava/TQHGroupBox.cpp | 501 ++++ qtjava/javalib/qtjava/TQHGroupBox.h | 31 + qtjava/javalib/qtjava/TQHeader.cpp | 1028 ++++++++ qtjava/javalib/qtjava/TQHeader.h | 100 + qtjava/javalib/qtjava/TQHebrewCodec.cpp | 99 + qtjava/javalib/qtjava/TQHebrewCodec.h | 28 + qtjava/javalib/qtjava/TQHideEvent.cpp | 46 + qtjava/javalib/qtjava/TQHideEvent.h | 22 + qtjava/javalib/qtjava/TQHostAddress.cpp | 172 ++ qtjava/javalib/qtjava/TQHostAddress.h | 37 + qtjava/javalib/qtjava/TQHttp.cpp | 509 ++++ qtjava/javalib/qtjava/TQHttp.h | 64 + qtjava/javalib/qtjava/TQHttpHeader.cpp | 123 + qtjava/javalib/qtjava/TQHttpHeader.h | 33 + qtjava/javalib/qtjava/TQHttpRequestHeader.cpp | 185 ++ qtjava/javalib/qtjava/TQHttpRequestHeader.h | 36 + qtjava/javalib/qtjava/TQHttpResponseHeader.cpp | 106 + qtjava/javalib/qtjava/TQHttpResponseHeader.h | 29 + qtjava/javalib/qtjava/TQIMEvent.cpp | 91 + qtjava/javalib/qtjava/TQIMEvent.h | 28 + qtjava/javalib/qtjava/TQIODevice.cpp | 254 ++ qtjava/javalib/qtjava/TQIODevice.h | 52 + qtjava/javalib/qtjava/TQIODeviceSource.cpp | 92 + qtjava/javalib/qtjava/TQIODeviceSource.h | 28 + qtjava/javalib/qtjava/TQIconDrag.cpp | 166 ++ qtjava/javalib/qtjava/TQIconDrag.h | 31 + qtjava/javalib/qtjava/TQIconDragItem.cpp | 70 + qtjava/javalib/qtjava/TQIconDragItem.h | 25 + qtjava/javalib/qtjava/TQIconSet.cpp | 231 ++ qtjava/javalib/qtjava/TQIconSet.h | 45 + qtjava/javalib/qtjava/TQIconView.cpp | 1522 +++++++++++ qtjava/javalib/qtjava/TQIconView.h | 128 + qtjava/javalib/qtjava/TQIconViewItem.cpp | 622 +++++ qtjava/javalib/qtjava/TQIconViewItem.h | 90 + qtjava/javalib/qtjava/TQImage.cpp | 908 +++++++ qtjava/javalib/qtjava/TQImage.h | 128 + qtjava/javalib/qtjava/TQImageConsumer.cpp | 57 + qtjava/javalib/qtjava/TQImageConsumer.h | 25 + qtjava/javalib/qtjava/TQImageDecoder.cpp | 107 + qtjava/javalib/qtjava/TQImageDecoder.h | 29 + qtjava/javalib/qtjava/TQImageDrag.cpp | 234 ++ qtjava/javalib/qtjava/TQImageDrag.h | 37 + qtjava/javalib/qtjava/TQImageFormat.cpp | 15 + qtjava/javalib/qtjava/TQImageFormat.h | 19 + qtjava/javalib/qtjava/TQImageFormatType.cpp | 22 + qtjava/javalib/qtjava/TQImageFormatType.h | 20 + qtjava/javalib/qtjava/TQImageIO.cpp | 258 ++ qtjava/javalib/qtjava/TQImageIO.h | 48 + qtjava/javalib/qtjava/TQImageTextKeyLang.cpp | 73 + qtjava/javalib/qtjava/TQImageTextKeyLang.h | 25 + qtjava/javalib/qtjava/TQInputDialog.cpp | 375 +++ qtjava/javalib/qtjava/TQInputDialog.h | 50 + qtjava/javalib/qtjava/TQIntValidator.cpp | 201 ++ qtjava/javalib/qtjava/TQIntValidator.h | 35 + qtjava/javalib/qtjava/TQJisCodec.cpp | 114 + qtjava/javalib/qtjava/TQJisCodec.h | 30 + qtjava/javalib/qtjava/TQJpUnicodeConv.cpp | 250 ++ qtjava/javalib/qtjava/TQJpUnicodeConv.h | 51 + qtjava/javalib/qtjava/TQKeyEvent.cpp | 155 ++ qtjava/javalib/qtjava/TQKeyEvent.h | 35 + qtjava/javalib/qtjava/TQKeySequence.cpp | 157 ++ qtjava/javalib/qtjava/TQKeySequence.h | 34 + qtjava/javalib/qtjava/TQLCDNumber.cpp | 691 +++++ qtjava/javalib/qtjava/TQLCDNumber.h | 52 + qtjava/javalib/qtjava/TQLabel.cpp | 789 ++++++ qtjava/javalib/qtjava/TQLabel.h | 64 + qtjava/javalib/qtjava/TQLayout.cpp | 340 +++ qtjava/javalib/qtjava/TQLayout.h | 64 + qtjava/javalib/qtjava/TQLayoutItem.cpp | 114 + qtjava/javalib/qtjava/TQLayoutItem.h | 33 + qtjava/javalib/qtjava/TQLibrary.cpp | 91 + qtjava/javalib/qtjava/TQLibrary.h | 28 + qtjava/javalib/qtjava/TQLineEdit.cpp | 1314 ++++++++++ qtjava/javalib/qtjava/TQLineEdit.h | 117 + qtjava/javalib/qtjava/TQListBox.cpp | 1601 ++++++++++++ qtjava/javalib/qtjava/TQListBox.h | 152 ++ qtjava/javalib/qtjava/TQListBoxItem.cpp | 106 + qtjava/javalib/qtjava/TQListBoxItem.h | 32 + qtjava/javalib/qtjava/TQListBoxPixmap.cpp | 145 ++ qtjava/javalib/qtjava/TQListBoxPixmap.h | 32 + qtjava/javalib/qtjava/TQListBoxText.cpp | 126 + qtjava/javalib/qtjava/TQListBoxText.h | 30 + qtjava/javalib/qtjava/TQListView.cpp | 1494 +++++++++++ qtjava/javalib/qtjava/TQListView.h | 132 + qtjava/javalib/qtjava/TQListViewItem.cpp | 1097 ++++++++ qtjava/javalib/qtjava/TQListViewItem.h | 123 + qtjava/javalib/qtjava/TQLocalFs.cpp | 265 ++ qtjava/javalib/qtjava/TQLocalFs.h | 33 + qtjava/javalib/qtjava/TQMainWindow.cpp | 1059 ++++++++ qtjava/javalib/qtjava/TQMainWindow.h | 106 + qtjava/javalib/qtjava/TQMenuBar.cpp | 1393 ++++++++++ qtjava/javalib/qtjava/TQMenuBar.h | 146 ++ qtjava/javalib/qtjava/TQMenuData.cpp | 767 ++++++ qtjava/javalib/qtjava/TQMenuData.h | 114 + qtjava/javalib/qtjava/TQMenuItem.cpp | 192 ++ qtjava/javalib/qtjava/TQMenuItem.h | 42 + qtjava/javalib/qtjava/TQMessageBox.cpp | 1174 +++++++++ qtjava/javalib/qtjava/TQMessageBox.h | 98 + qtjava/javalib/qtjava/TQMetaData.cpp | 46 + qtjava/javalib/qtjava/TQMetaData.h | 22 + qtjava/javalib/qtjava/TQMetaEnum.cpp | 46 + qtjava/javalib/qtjava/TQMetaEnum.h | 22 + qtjava/javalib/qtjava/TQMetaObject.cpp | 384 +++ qtjava/javalib/qtjava/TQMetaObject.h | 68 + qtjava/javalib/qtjava/TQMetaProperty.cpp | 208 ++ qtjava/javalib/qtjava/TQMetaProperty.h | 44 + qtjava/javalib/qtjava/TQMimeSource.cpp | 53 + qtjava/javalib/qtjava/TQMimeSource.h | 24 + qtjava/javalib/qtjava/TQMimeSourceFactory.cpp | 183 ++ qtjava/javalib/qtjava/TQMimeSourceFactory.h | 38 + qtjava/javalib/qtjava/TQMouseEvent.cpp | 143 + qtjava/javalib/qtjava/TQMouseEvent.h | 35 + qtjava/javalib/qtjava/TQMoveEvent.cpp | 61 + qtjava/javalib/qtjava/TQMoveEvent.h | 24 + qtjava/javalib/qtjava/TQMovie.cpp | 348 +++ qtjava/javalib/qtjava/TQMovie.h | 59 + qtjava/javalib/qtjava/TQMultiLineEdit.cpp | 1185 +++++++++ qtjava/javalib/qtjava/TQMultiLineEdit.h | 79 + qtjava/javalib/qtjava/TQNetworkOperation.cpp | 228 ++ qtjava/javalib/qtjava/TQNetworkOperation.h | 39 + qtjava/javalib/qtjava/TQNetworkProtocol.cpp | 388 +++ qtjava/javalib/qtjava/TQNetworkProtocol.h | 47 + qtjava/javalib/qtjava/TQObject.cpp | 663 +++++ qtjava/javalib/qtjava/TQObject.h | 89 + qtjava/javalib/qtjava/TQObjectCleanupHandler.cpp | 148 ++ qtjava/javalib/qtjava/TQObjectCleanupHandler.h | 30 + qtjava/javalib/qtjava/TQPaintDevice.cpp | 139 + qtjava/javalib/qtjava/TQPaintDevice.h | 33 + qtjava/javalib/qtjava/TQPaintDeviceMetrics.cpp | 116 + qtjava/javalib/qtjava/TQPaintDeviceMetrics.h | 32 + qtjava/javalib/qtjava/TQPaintEvent.cpp | 124 + qtjava/javalib/qtjava/TQPaintEvent.h | 30 + qtjava/javalib/qtjava/TQPainter.cpp | 1372 ++++++++++ qtjava/javalib/qtjava/TQPainter.h | 203 ++ qtjava/javalib/qtjava/TQPalette.cpp | 244 ++ qtjava/javalib/qtjava/TQPalette.h | 47 + qtjava/javalib/qtjava/TQPen.cpp | 198 ++ qtjava/javalib/qtjava/TQPen.h | 40 + qtjava/javalib/qtjava/TQPicture.cpp | 216 ++ qtjava/javalib/qtjava/TQPicture.h | 42 + qtjava/javalib/qtjava/TQPixmap.cpp | 763 ++++++ qtjava/javalib/qtjava/TQPixmap.h | 105 + qtjava/javalib/qtjava/TQPoint.cpp | 156 ++ qtjava/javalib/qtjava/TQPoint.h | 37 + qtjava/javalib/qtjava/TQPointArray.cpp | 282 ++ qtjava/javalib/qtjava/TQPointArray.h | 50 + qtjava/javalib/qtjava/TQPolygonScanner.cpp | 51 + qtjava/javalib/qtjava/TQPolygonScanner.h | 24 + qtjava/javalib/qtjava/TQPopupMenu.cpp | 1509 +++++++++++ qtjava/javalib/qtjava/TQPopupMenu.h | 158 ++ qtjava/javalib/qtjava/TQPrintDialog.cpp | 491 ++++ qtjava/javalib/qtjava/TQPrintDialog.h | 35 + qtjava/javalib/qtjava/TQPrinter.cpp | 453 ++++ qtjava/javalib/qtjava/TQPrinter.h | 76 + qtjava/javalib/qtjava/TQProcess.cpp | 486 ++++ qtjava/javalib/qtjava/TQProcess.h | 66 + qtjava/javalib/qtjava/TQProgressBar.cpp | 666 +++++ qtjava/javalib/qtjava/TQProgressBar.h | 52 + qtjava/javalib/qtjava/TQProgressDialog.cpp | 740 ++++++ qtjava/javalib/qtjava/TQProgressDialog.h | 62 + qtjava/javalib/qtjava/TQPushButton.cpp | 708 +++++ qtjava/javalib/qtjava/TQPushButton.h | 58 + qtjava/javalib/qtjava/TQRadioButton.cpp | 549 ++++ qtjava/javalib/qtjava/TQRadioButton.h | 37 + qtjava/javalib/qtjava/TQRangeControl.cpp | 236 ++ qtjava/javalib/qtjava/TQRangeControl.h | 45 + qtjava/javalib/qtjava/TQRect.cpp | 539 ++++ qtjava/javalib/qtjava/TQRect.h | 88 + qtjava/javalib/qtjava/TQRegExp.cpp | 343 +++ qtjava/javalib/qtjava/TQRegExp.h | 58 + qtjava/javalib/qtjava/TQRegExpValidator.cpp | 181 ++ qtjava/javalib/qtjava/TQRegExpValidator.h | 32 + qtjava/javalib/qtjava/TQRegion.cpp | 307 +++ qtjava/javalib/qtjava/TQRegion.h | 54 + qtjava/javalib/qtjava/TQResizeEvent.cpp | 61 + qtjava/javalib/qtjava/TQResizeEvent.h | 24 + qtjava/javalib/qtjava/TQScrollBar.cpp | 881 +++++++ qtjava/javalib/qtjava/TQScrollBar.h | 77 + qtjava/javalib/qtjava/TQScrollView.cpp | 1537 +++++++++++ qtjava/javalib/qtjava/TQScrollView.h | 139 + qtjava/javalib/qtjava/TQSemiModal.cpp | 464 ++++ qtjava/javalib/qtjava/TQSemiModal.h | 30 + qtjava/javalib/qtjava/TQServerSocket.cpp | 87 + qtjava/javalib/qtjava/TQServerSocket.h | 28 + qtjava/javalib/qtjava/TQSessionManager.cpp | 166 ++ qtjava/javalib/qtjava/TQSessionManager.h | 38 + qtjava/javalib/qtjava/TQSettings.cpp | 359 +++ qtjava/javalib/qtjava/TQSettings.h | 57 + qtjava/javalib/qtjava/TQShowEvent.cpp | 46 + qtjava/javalib/qtjava/TQShowEvent.h | 22 + qtjava/javalib/qtjava/TQSignal.cpp | 214 ++ qtjava/javalib/qtjava/TQSignal.h | 38 + qtjava/javalib/qtjava/TQSignalMapper.cpp | 161 ++ qtjava/javalib/qtjava/TQSignalMapper.h | 31 + qtjava/javalib/qtjava/TQSimpleRichText.cpp | 232 ++ qtjava/javalib/qtjava/TQSimpleRichText.h | 42 + qtjava/javalib/qtjava/TQSize.cpp | 198 ++ qtjava/javalib/qtjava/TQSize.h | 43 + qtjava/javalib/qtjava/TQSizeGrip.cpp | 485 ++++ qtjava/javalib/qtjava/TQSizeGrip.h | 32 + qtjava/javalib/qtjava/TQSizePolicy.cpp | 216 ++ qtjava/javalib/qtjava/TQSizePolicy.h | 44 + qtjava/javalib/qtjava/TQSjisCodec.cpp | 114 + qtjava/javalib/qtjava/TQSjisCodec.h | 30 + qtjava/javalib/qtjava/TQSlider.cpp | 936 +++++++ qtjava/javalib/qtjava/TQSlider.h | 84 + qtjava/javalib/qtjava/TQSocket.cpp | 631 +++++ qtjava/javalib/qtjava/TQSocket.h | 89 + qtjava/javalib/qtjava/TQSocketDevice.cpp | 367 +++ qtjava/javalib/qtjava/TQSocketDevice.h | 64 + qtjava/javalib/qtjava/TQSocketNotifier.cpp | 181 ++ qtjava/javalib/qtjava/TQSocketNotifier.h | 33 + qtjava/javalib/qtjava/TQSound.cpp | 223 ++ qtjava/javalib/qtjava/TQSound.h | 38 + qtjava/javalib/qtjava/TQSpacerItem.cpp | 148 ++ qtjava/javalib/qtjava/TQSpacerItem.h | 35 + qtjava/javalib/qtjava/TQSpinBox.cpp | 1033 ++++++++ qtjava/javalib/qtjava/TQSpinBox.h | 89 + qtjava/javalib/qtjava/TQSpinWidget.cpp | 638 +++++ qtjava/javalib/qtjava/TQSpinWidget.h | 50 + qtjava/javalib/qtjava/TQSplashScreen.cpp | 535 ++++ qtjava/javalib/qtjava/TQSplashScreen.h | 38 + qtjava/javalib/qtjava/TQSplitter.cpp | 751 ++++++ qtjava/javalib/qtjava/TQSplitter.h | 59 + qtjava/javalib/qtjava/TQSql.cpp | 46 + qtjava/javalib/qtjava/TQSql.h | 22 + qtjava/javalib/qtjava/TQSqlCursor.cpp | 833 ++++++ qtjava/javalib/qtjava/TQSqlCursor.h | 119 + qtjava/javalib/qtjava/TQSqlDatabase.cpp | 554 ++++ qtjava/javalib/qtjava/TQSqlDatabase.h | 77 + qtjava/javalib/qtjava/TQSqlDriver.cpp | 243 ++ qtjava/javalib/qtjava/TQSqlDriver.h | 46 + qtjava/javalib/qtjava/TQSqlEditorFactory.cpp | 137 + qtjava/javalib/qtjava/TQSqlEditorFactory.h | 28 + qtjava/javalib/qtjava/TQSqlError.cpp | 192 ++ qtjava/javalib/qtjava/TQSqlError.h | 38 + qtjava/javalib/qtjava/TQSqlField.cpp | 173 ++ qtjava/javalib/qtjava/TQSqlField.h | 37 + qtjava/javalib/qtjava/TQSqlFieldInfo.cpp | 307 +++ qtjava/javalib/qtjava/TQSqlFieldInfo.h | 50 + qtjava/javalib/qtjava/TQSqlForm.cpp | 341 +++ qtjava/javalib/qtjava/TQSqlForm.h | 46 + qtjava/javalib/qtjava/TQSqlIndex.cpp | 217 ++ qtjava/javalib/qtjava/TQSqlIndex.h | 41 + qtjava/javalib/qtjava/TQSqlPropertyMap.cpp | 95 + qtjava/javalib/qtjava/TQSqlPropertyMap.h | 28 + qtjava/javalib/qtjava/TQSqlQuery.cpp | 360 +++ qtjava/javalib/qtjava/TQSqlQuery.h | 61 + qtjava/javalib/qtjava/TQSqlRecord.cpp | 298 +++ qtjava/javalib/qtjava/TQSqlRecord.h | 53 + qtjava/javalib/qtjava/TQSqlResult.cpp | 6 + qtjava/javalib/qtjava/TQSqlResult.h | 18 + qtjava/javalib/qtjava/TQStatusBar.cpp | 577 +++++ qtjava/javalib/qtjava/TQStatusBar.h | 42 + qtjava/javalib/qtjava/TQStoredDrag.cpp | 172 ++ qtjava/javalib/qtjava/TQStoredDrag.h | 31 + qtjava/javalib/qtjava/TQStyle.cpp | 383 +++ qtjava/javalib/qtjava/TQStyle.h | 68 + qtjava/javalib/qtjava/TQStyleFactory.cpp | 66 + qtjava/javalib/qtjava/TQStyleFactory.h | 24 + qtjava/javalib/qtjava/TQStyleOption.cpp | 300 +++ qtjava/javalib/qtjava/TQStyleOption.h | 53 + qtjava/javalib/qtjava/TQStyleSheet.cpp | 230 ++ qtjava/javalib/qtjava/TQStyleSheet.h | 38 + qtjava/javalib/qtjava/TQStyleSheetItem.cpp | 387 +++ qtjava/javalib/qtjava/TQStyleSheetItem.h | 69 + qtjava/javalib/qtjava/TQSyntaxHighlighter.cpp | 59 + qtjava/javalib/qtjava/TQSyntaxHighlighter.h | 25 + qtjava/javalib/qtjava/TQTab.cpp | 156 ++ qtjava/javalib/qtjava/TQTab.h | 35 + qtjava/javalib/qtjava/TQTabBar.cpp | 773 ++++++ qtjava/javalib/qtjava/TQTabBar.h | 65 + qtjava/javalib/qtjava/TQTabDialog.cpp | 798 ++++++ qtjava/javalib/qtjava/TQTabDialog.h | 73 + qtjava/javalib/qtjava/TQTabWidget.cpp | 836 ++++++ qtjava/javalib/qtjava/TQTabWidget.h | 77 + qtjava/javalib/qtjava/TQTable.cpp | 1778 +++++++++++++ qtjava/javalib/qtjava/TQTable.h | 175 ++ qtjava/javalib/qtjava/TQTableItem.cpp | 267 ++ qtjava/javalib/qtjava/TQTableItem.h | 51 + qtjava/javalib/qtjava/TQTableSelection.cpp | 155 ++ qtjava/javalib/qtjava/TQTableSelection.h | 37 + qtjava/javalib/qtjava/TQTabletEvent.cpp | 121 + qtjava/javalib/qtjava/TQTabletEvent.h | 34 + qtjava/javalib/qtjava/TQTextBrowser.cpp | 809 ++++++ qtjava/javalib/qtjava/TQTextBrowser.h | 37 + qtjava/javalib/qtjava/TQTextCodec.cpp | 276 ++ qtjava/javalib/qtjava/TQTextCodec.h | 50 + qtjava/javalib/qtjava/TQTextDecoder.cpp | 16 + qtjava/javalib/qtjava/TQTextDecoder.h | 19 + qtjava/javalib/qtjava/TQTextDrag.cpp | 247 ++ qtjava/javalib/qtjava/TQTextDrag.h | 38 + qtjava/javalib/qtjava/TQTextEdit.cpp | 2102 +++++++++++++++ qtjava/javalib/qtjava/TQTextEdit.h | 191 ++ qtjava/javalib/qtjava/TQTextEncoder.cpp | 19 + qtjava/javalib/qtjava/TQTextEncoder.h | 19 + qtjava/javalib/qtjava/TQTextIStream.cpp | 60 + qtjava/javalib/qtjava/TQTextIStream.h | 23 + qtjava/javalib/qtjava/TQTextOStream.cpp | 61 + qtjava/javalib/qtjava/TQTextOStream.h | 23 + qtjava/javalib/qtjava/TQTextStream.cpp | 374 +++ qtjava/javalib/qtjava/TQTextStream.h | 65 + qtjava/javalib/qtjava/TQTextView.cpp | 749 ++++++ qtjava/javalib/qtjava/TQTextView.h | 32 + qtjava/javalib/qtjava/TQTimeEdit.cpp | 764 ++++++ qtjava/javalib/qtjava/TQTimeEdit.h | 61 + qtjava/javalib/qtjava/TQTimer.cpp | 203 ++ qtjava/javalib/qtjava/TQTimer.h | 36 + qtjava/javalib/qtjava/TQTimerEvent.cpp | 53 + qtjava/javalib/qtjava/TQTimerEvent.h | 23 + qtjava/javalib/qtjava/TQToolBar.cpp | 690 +++++ qtjava/javalib/qtjava/TQToolBar.h | 51 + qtjava/javalib/qtjava/TQToolBox.cpp | 682 +++++ qtjava/javalib/qtjava/TQToolBox.h | 54 + qtjava/javalib/qtjava/TQToolButton.cpp | 811 ++++++ qtjava/javalib/qtjava/TQToolButton.h | 70 + qtjava/javalib/qtjava/TQToolTip.cpp | 183 ++ qtjava/javalib/qtjava/TQToolTip.h | 38 + qtjava/javalib/qtjava/TQToolTipGroup.cpp | 160 ++ qtjava/javalib/qtjava/TQToolTipGroup.h | 31 + qtjava/javalib/qtjava/TQTranslator.cpp | 332 +++ qtjava/javalib/qtjava/TQTranslator.h | 50 + qtjava/javalib/qtjava/TQTranslatorMessage.cpp | 216 ++ qtjava/javalib/qtjava/TQTranslatorMessage.h | 42 + qtjava/javalib/qtjava/TQTsciiCodec.cpp | 99 + qtjava/javalib/qtjava/TQTsciiCodec.h | 28 + qtjava/javalib/qtjava/TQUriDrag.cpp | 302 +++ qtjava/javalib/qtjava/TQUriDrag.h | 46 + qtjava/javalib/qtjava/TQUrl.cpp | 429 +++ qtjava/javalib/qtjava/TQUrl.h | 68 + qtjava/javalib/qtjava/TQUrlInfo.cpp | 320 +++ qtjava/javalib/qtjava/TQUrlInfo.h | 55 + qtjava/javalib/qtjava/TQUrlOperator.cpp | 700 +++++ qtjava/javalib/qtjava/TQUrlOperator.h | 92 + qtjava/javalib/qtjava/TQUtf16Codec.cpp | 83 + qtjava/javalib/qtjava/TQUtf16Codec.h | 27 + qtjava/javalib/qtjava/TQUtf8Codec.cpp | 98 + qtjava/javalib/qtjava/TQUtf8Codec.h | 28 + qtjava/javalib/qtjava/TQUuid.cpp | 146 ++ qtjava/javalib/qtjava/TQUuid.h | 34 + qtjava/javalib/qtjava/TQVBox.cpp | 477 ++++ qtjava/javalib/qtjava/TQVBox.h | 29 + qtjava/javalib/qtjava/TQVBoxLayout.cpp | 221 ++ qtjava/javalib/qtjava/TQVBoxLayout.h | 35 + qtjava/javalib/qtjava/TQVButtonGroup.cpp | 501 ++++ qtjava/javalib/qtjava/TQVButtonGroup.h | 31 + qtjava/javalib/qtjava/TQVGroupBox.cpp | 501 ++++ qtjava/javalib/qtjava/TQVGroupBox.h | 31 + qtjava/javalib/qtjava/TQValidator.cpp | 161 ++ qtjava/javalib/qtjava/TQValidator.h | 29 + qtjava/javalib/qtjava/TQVariant.cpp | 969 +++++++ qtjava/javalib/qtjava/TQVariant.h | 129 + qtjava/javalib/qtjava/TQWMatrix.cpp | 320 +++ qtjava/javalib/qtjava/TQWMatrix.h | 58 + qtjava/javalib/qtjava/TQWhatsThis.cpp | 206 ++ qtjava/javalib/qtjava/TQWhatsThis.h | 40 + qtjava/javalib/qtjava/TQWheelEvent.cpp | 165 ++ qtjava/javalib/qtjava/TQWheelEvent.h | 37 + qtjava/javalib/qtjava/TQWidget.cpp | 2730 ++++++++++++++++++++ qtjava/javalib/qtjava/TQWidget.h | 311 +++ qtjava/javalib/qtjava/TQWidgetItem.cpp | 119 + qtjava/javalib/qtjava/TQWidgetItem.h | 32 + qtjava/javalib/qtjava/TQWidgetStack.cpp | 601 +++++ qtjava/javalib/qtjava/TQWidgetStack.h | 45 + qtjava/javalib/qtjava/TQWizard.cpp | 750 ++++++ qtjava/javalib/qtjava/TQWizard.h | 62 + qtjava/javalib/qtjava/TQWorkspace.cpp | 608 +++++ qtjava/javalib/qtjava/TQWorkspace.h | 49 + qtjava/javalib/qtjava/TQXmlAttributes.cpp | 174 ++ qtjava/javalib/qtjava/TQXmlAttributes.h | 37 + qtjava/javalib/qtjava/TQXmlContentHandler.cpp | 106 + qtjava/javalib/qtjava/TQXmlContentHandler.h | 30 + qtjava/javalib/qtjava/TQXmlDTDHandler.cpp | 36 + qtjava/javalib/qtjava/TQXmlDTDHandler.h | 21 + qtjava/javalib/qtjava/TQXmlDeclHandler.cpp | 46 + qtjava/javalib/qtjava/TQXmlDeclHandler.h | 22 + qtjava/javalib/qtjava/TQXmlDefaultHandler.cpp | 283 ++ qtjava/javalib/qtjava/TQXmlDefaultHandler.h | 50 + qtjava/javalib/qtjava/TQXmlEntityResolver.cpp | 24 + qtjava/javalib/qtjava/TQXmlEntityResolver.h | 20 + qtjava/javalib/qtjava/TQXmlErrorHandler.cpp | 36 + qtjava/javalib/qtjava/TQXmlErrorHandler.h | 22 + qtjava/javalib/qtjava/TQXmlInputSource.cpp | 161 ++ qtjava/javalib/qtjava/TQXmlInputSource.h | 33 + qtjava/javalib/qtjava/TQXmlLexicalHandler.cpp | 70 + qtjava/javalib/qtjava/TQXmlLexicalHandler.h | 26 + qtjava/javalib/qtjava/TQXmlLocator.cpp | 20 + qtjava/javalib/qtjava/TQXmlLocator.h | 20 + qtjava/javalib/qtjava/TQXmlNamespaceSupport.cpp | 137 + qtjava/javalib/qtjava/TQXmlNamespaceSupport.h | 32 + qtjava/javalib/qtjava/TQXmlParseException.cpp | 148 ++ qtjava/javalib/qtjava/TQXmlParseException.h | 32 + qtjava/javalib/qtjava/TQXmlReader.cpp | 140 + qtjava/javalib/qtjava/TQXmlReader.h | 36 + qtjava/javalib/qtjava/TQXmlSimpleReader.cpp | 194 ++ qtjava/javalib/qtjava/TQXmlSimpleReader.h | 42 + qtjava/javalib/test/QTimerTest.java | 321 --- qtjava/javalib/test/TQTimerTest.java | 321 +++ 2045 files changed, 152360 insertions(+), 152360 deletions(-) delete mode 100644 qtjava/javalib/org/kde/qt/QAccel.java delete mode 100644 qtjava/javalib/org/kde/qt/QAccelSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QAction.java delete mode 100644 qtjava/javalib/org/kde/qt/QActionGroup.java delete mode 100644 qtjava/javalib/org/kde/qt/QActionGroupSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QActionSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QApplication.java delete mode 100644 qtjava/javalib/org/kde/qt/QApplicationSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QAsyncIO.java delete mode 100644 qtjava/javalib/org/kde/qt/QAuServer.java delete mode 100644 qtjava/javalib/org/kde/qt/QBig5Codec.java delete mode 100644 qtjava/javalib/org/kde/qt/QBitmap.java delete mode 100644 qtjava/javalib/org/kde/qt/QBoxLayout.java delete mode 100644 qtjava/javalib/org/kde/qt/QBrush.java delete mode 100644 qtjava/javalib/org/kde/qt/QBuffer.java delete mode 100644 qtjava/javalib/org/kde/qt/QButton.java delete mode 100644 qtjava/javalib/org/kde/qt/QButtonGroup.java delete mode 100644 qtjava/javalib/org/kde/qt/QButtonGroupSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QButtonSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QCanvas.java delete mode 100644 qtjava/javalib/org/kde/qt/QCanvasEllipse.java delete mode 100644 qtjava/javalib/org/kde/qt/QCanvasItem.java delete mode 100644 qtjava/javalib/org/kde/qt/QCanvasLine.java delete mode 100644 qtjava/javalib/org/kde/qt/QCanvasPixmap.java delete mode 100644 qtjava/javalib/org/kde/qt/QCanvasPixmapArray.java delete mode 100644 qtjava/javalib/org/kde/qt/QCanvasPolygon.java delete mode 100644 qtjava/javalib/org/kde/qt/QCanvasPolygonalItem.java delete mode 100644 qtjava/javalib/org/kde/qt/QCanvasRectangle.java delete mode 100644 qtjava/javalib/org/kde/qt/QCanvasSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QCanvasSpline.java delete mode 100644 qtjava/javalib/org/kde/qt/QCanvasSprite.java delete mode 100644 qtjava/javalib/org/kde/qt/QCanvasText.java delete mode 100644 qtjava/javalib/org/kde/qt/QCanvasView.java delete mode 100644 qtjava/javalib/org/kde/qt/QCheckBox.java delete mode 100644 qtjava/javalib/org/kde/qt/QCheckListItem.java delete mode 100644 qtjava/javalib/org/kde/qt/QCheckTableItem.java delete mode 100644 qtjava/javalib/org/kde/qt/QChildEvent.java delete mode 100644 qtjava/javalib/org/kde/qt/QClassInfo.java delete mode 100644 qtjava/javalib/org/kde/qt/QClipboard.java delete mode 100644 qtjava/javalib/org/kde/qt/QCloseEvent.java delete mode 100644 qtjava/javalib/org/kde/qt/QColor.java delete mode 100644 qtjava/javalib/org/kde/qt/QColorDialog.java delete mode 100644 qtjava/javalib/org/kde/qt/QColorDrag.java delete mode 100644 qtjava/javalib/org/kde/qt/QColorGroup.java delete mode 100644 qtjava/javalib/org/kde/qt/QComboBox.java delete mode 100644 qtjava/javalib/org/kde/qt/QComboBoxSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QComboTableItem.java delete mode 100644 qtjava/javalib/org/kde/qt/QContextMenuEvent.java delete mode 100644 qtjava/javalib/org/kde/qt/QCursor.java delete mode 100644 qtjava/javalib/org/kde/qt/QCustomEvent.java delete mode 100644 qtjava/javalib/org/kde/qt/QCustomMenuItem.java delete mode 100644 qtjava/javalib/org/kde/qt/QDataBrowser.java delete mode 100644 qtjava/javalib/org/kde/qt/QDataBrowserSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QDataPump.java delete mode 100644 qtjava/javalib/org/kde/qt/QDataSink.java delete mode 100644 qtjava/javalib/org/kde/qt/QDataSource.java delete mode 100644 qtjava/javalib/org/kde/qt/QDataStream.java delete mode 100644 qtjava/javalib/org/kde/qt/QDataTable.java delete mode 100644 qtjava/javalib/org/kde/qt/QDataTableSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QDataView.java delete mode 100644 qtjava/javalib/org/kde/qt/QDateEdit.java delete mode 100644 qtjava/javalib/org/kde/qt/QDateEditSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QDateTimeEdit.java delete mode 100644 qtjava/javalib/org/kde/qt/QDateTimeEditBase.java delete mode 100644 qtjava/javalib/org/kde/qt/QDateTimeEditSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QDesktopWidget.java delete mode 100644 qtjava/javalib/org/kde/qt/QDesktopWidgetSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QDial.java delete mode 100644 qtjava/javalib/org/kde/qt/QDialSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QDialog.java delete mode 100644 qtjava/javalib/org/kde/qt/QDir.java delete mode 100644 qtjava/javalib/org/kde/qt/QDockArea.java delete mode 100644 qtjava/javalib/org/kde/qt/QDockWindow.java delete mode 100644 qtjava/javalib/org/kde/qt/QDockWindowSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QDomAttr.java delete mode 100644 qtjava/javalib/org/kde/qt/QDomCDATASection.java delete mode 100644 qtjava/javalib/org/kde/qt/QDomCharacterData.java delete mode 100644 qtjava/javalib/org/kde/qt/QDomComment.java delete mode 100644 qtjava/javalib/org/kde/qt/QDomDocument.java delete mode 100644 qtjava/javalib/org/kde/qt/QDomDocumentFragment.java delete mode 100644 qtjava/javalib/org/kde/qt/QDomDocumentType.java delete mode 100644 qtjava/javalib/org/kde/qt/QDomElement.java delete mode 100644 qtjava/javalib/org/kde/qt/QDomEntity.java delete mode 100644 qtjava/javalib/org/kde/qt/QDomEntityReference.java delete mode 100644 qtjava/javalib/org/kde/qt/QDomImplementation.java delete mode 100644 qtjava/javalib/org/kde/qt/QDomNamedNodeMap.java delete mode 100644 qtjava/javalib/org/kde/qt/QDomNode.java delete mode 100644 qtjava/javalib/org/kde/qt/QDomNotation.java delete mode 100644 qtjava/javalib/org/kde/qt/QDomProcessingInstruction.java delete mode 100644 qtjava/javalib/org/kde/qt/QDomText.java delete mode 100644 qtjava/javalib/org/kde/qt/QDoubleValidator.java delete mode 100644 qtjava/javalib/org/kde/qt/QDragEnterEvent.java delete mode 100644 qtjava/javalib/org/kde/qt/QDragLeaveEvent.java delete mode 100644 qtjava/javalib/org/kde/qt/QDragManager.java delete mode 100644 qtjava/javalib/org/kde/qt/QDragMoveEvent.java delete mode 100644 qtjava/javalib/org/kde/qt/QDragObject.java delete mode 100644 qtjava/javalib/org/kde/qt/QDragResponseEvent.java delete mode 100644 qtjava/javalib/org/kde/qt/QDropEvent.java delete mode 100644 qtjava/javalib/org/kde/qt/QDropSite.java delete mode 100644 qtjava/javalib/org/kde/qt/QEditorFactory.java delete mode 100644 qtjava/javalib/org/kde/qt/QErrorMessage.java delete mode 100644 qtjava/javalib/org/kde/qt/QEucJpCodec.java delete mode 100644 qtjava/javalib/org/kde/qt/QEucKrCodec.java delete mode 100644 qtjava/javalib/org/kde/qt/QEvent.java delete mode 100644 qtjava/javalib/org/kde/qt/QEventLoop.java delete mode 100644 qtjava/javalib/org/kde/qt/QEventLoopSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QFile.java delete mode 100644 qtjava/javalib/org/kde/qt/QFileDialog.java delete mode 100644 qtjava/javalib/org/kde/qt/QFileDialogSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QFileIconProvider.java delete mode 100644 qtjava/javalib/org/kde/qt/QFileInfo.java delete mode 100644 qtjava/javalib/org/kde/qt/QFilePreview.java delete mode 100644 qtjava/javalib/org/kde/qt/QFocusData.java delete mode 100644 qtjava/javalib/org/kde/qt/QFocusEvent.java delete mode 100644 qtjava/javalib/org/kde/qt/QFont.java delete mode 100644 qtjava/javalib/org/kde/qt/QFontDatabase.java delete mode 100644 qtjava/javalib/org/kde/qt/QFontDialog.java delete mode 100644 qtjava/javalib/org/kde/qt/QFontInfo.java delete mode 100644 qtjava/javalib/org/kde/qt/QFontMetrics.java delete mode 100644 qtjava/javalib/org/kde/qt/QFrame.java delete mode 100644 qtjava/javalib/org/kde/qt/QFtp.java delete mode 100644 qtjava/javalib/org/kde/qt/QFtpSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QGL.java delete mode 100644 qtjava/javalib/org/kde/qt/QGLColormap.java delete mode 100644 qtjava/javalib/org/kde/qt/QGLContext.java delete mode 100644 qtjava/javalib/org/kde/qt/QGLFormat.java delete mode 100644 qtjava/javalib/org/kde/qt/QGLWidget.java delete mode 100644 qtjava/javalib/org/kde/qt/QGb18030Codec.java delete mode 100644 qtjava/javalib/org/kde/qt/QGbkCodec.java delete mode 100644 qtjava/javalib/org/kde/qt/QGrid.java delete mode 100644 qtjava/javalib/org/kde/qt/QGridLayout.java delete mode 100644 qtjava/javalib/org/kde/qt/QGridView.java delete mode 100644 qtjava/javalib/org/kde/qt/QGroupBox.java delete mode 100644 qtjava/javalib/org/kde/qt/QGroupBoxSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QHBox.java delete mode 100644 qtjava/javalib/org/kde/qt/QHBoxLayout.java delete mode 100644 qtjava/javalib/org/kde/qt/QHButtonGroup.java delete mode 100644 qtjava/javalib/org/kde/qt/QHGroupBox.java delete mode 100644 qtjava/javalib/org/kde/qt/QHeader.java delete mode 100644 qtjava/javalib/org/kde/qt/QHeaderSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QHebrewCodec.java delete mode 100644 qtjava/javalib/org/kde/qt/QHideEvent.java delete mode 100644 qtjava/javalib/org/kde/qt/QHostAddress.java delete mode 100644 qtjava/javalib/org/kde/qt/QHttp.java delete mode 100644 qtjava/javalib/org/kde/qt/QHttpHeader.java delete mode 100644 qtjava/javalib/org/kde/qt/QHttpRequestHeader.java delete mode 100644 qtjava/javalib/org/kde/qt/QHttpResponseHeader.java delete mode 100644 qtjava/javalib/org/kde/qt/QHttpSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QIMEvent.java delete mode 100644 qtjava/javalib/org/kde/qt/QIODevice.java delete mode 100644 qtjava/javalib/org/kde/qt/QIODeviceInterface.java delete mode 100644 qtjava/javalib/org/kde/qt/QIODeviceSource.java delete mode 100644 qtjava/javalib/org/kde/qt/QIconDrag.java delete mode 100644 qtjava/javalib/org/kde/qt/QIconDragItem.java delete mode 100644 qtjava/javalib/org/kde/qt/QIconSet.java delete mode 100644 qtjava/javalib/org/kde/qt/QIconView.java delete mode 100644 qtjava/javalib/org/kde/qt/QIconViewItem.java delete mode 100644 qtjava/javalib/org/kde/qt/QIconViewSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QImage.java delete mode 100644 qtjava/javalib/org/kde/qt/QImageConsumer.java delete mode 100644 qtjava/javalib/org/kde/qt/QImageDecoder.java delete mode 100644 qtjava/javalib/org/kde/qt/QImageDrag.java delete mode 100644 qtjava/javalib/org/kde/qt/QImageFormat.java delete mode 100644 qtjava/javalib/org/kde/qt/QImageFormatType.java delete mode 100644 qtjava/javalib/org/kde/qt/QImageIO.java delete mode 100644 qtjava/javalib/org/kde/qt/QImageTextKeyLang.java delete mode 100644 qtjava/javalib/org/kde/qt/QInputDialog.java delete mode 100644 qtjava/javalib/org/kde/qt/QIntValidator.java delete mode 100644 qtjava/javalib/org/kde/qt/QJisCodec.java delete mode 100644 qtjava/javalib/org/kde/qt/QJpUnicodeConv.java delete mode 100644 qtjava/javalib/org/kde/qt/QKeyEvent.java delete mode 100644 qtjava/javalib/org/kde/qt/QKeySequence.java delete mode 100644 qtjava/javalib/org/kde/qt/QLCDNumber.java delete mode 100644 qtjava/javalib/org/kde/qt/QLCDNumberSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QLabel.java delete mode 100644 qtjava/javalib/org/kde/qt/QLayout.java delete mode 100644 qtjava/javalib/org/kde/qt/QLayoutItem.java delete mode 100644 qtjava/javalib/org/kde/qt/QLayoutItemInterface.java delete mode 100644 qtjava/javalib/org/kde/qt/QLibrary.java delete mode 100644 qtjava/javalib/org/kde/qt/QLineEdit.java delete mode 100644 qtjava/javalib/org/kde/qt/QLineEditSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QListBox.java delete mode 100644 qtjava/javalib/org/kde/qt/QListBoxItem.java delete mode 100644 qtjava/javalib/org/kde/qt/QListBoxPixmap.java delete mode 100644 qtjava/javalib/org/kde/qt/QListBoxSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QListBoxText.java delete mode 100644 qtjava/javalib/org/kde/qt/QListView.java delete mode 100644 qtjava/javalib/org/kde/qt/QListViewItem.java delete mode 100644 qtjava/javalib/org/kde/qt/QListViewSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QLocalFs.java delete mode 100644 qtjava/javalib/org/kde/qt/QMainWindow.java delete mode 100644 qtjava/javalib/org/kde/qt/QMainWindowSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QMenuBar.java delete mode 100644 qtjava/javalib/org/kde/qt/QMenuBarSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QMenuData.java delete mode 100644 qtjava/javalib/org/kde/qt/QMenuDataInterface.java delete mode 100644 qtjava/javalib/org/kde/qt/QMenuItem.java delete mode 100644 qtjava/javalib/org/kde/qt/QMessageBox.java delete mode 100644 qtjava/javalib/org/kde/qt/QMetaData.java delete mode 100644 qtjava/javalib/org/kde/qt/QMetaEnum.java delete mode 100644 qtjava/javalib/org/kde/qt/QMetaObject.java delete mode 100644 qtjava/javalib/org/kde/qt/QMetaProperty.java delete mode 100644 qtjava/javalib/org/kde/qt/QMimeSource.java delete mode 100644 qtjava/javalib/org/kde/qt/QMimeSourceFactory.java delete mode 100644 qtjava/javalib/org/kde/qt/QMimeSourceInterface.java delete mode 100644 qtjava/javalib/org/kde/qt/QMouseEvent.java delete mode 100644 qtjava/javalib/org/kde/qt/QMoveEvent.java delete mode 100644 qtjava/javalib/org/kde/qt/QMovie.java delete mode 100644 qtjava/javalib/org/kde/qt/QMultiLineEdit.java delete mode 100644 qtjava/javalib/org/kde/qt/QNetworkOperation.java delete mode 100644 qtjava/javalib/org/kde/qt/QNetworkProtocol.java delete mode 100644 qtjava/javalib/org/kde/qt/QNetworkProtocolSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QObject.java delete mode 100644 qtjava/javalib/org/kde/qt/QObjectCleanupHandler.java delete mode 100644 qtjava/javalib/org/kde/qt/QObjectSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QPaintDevice.java delete mode 100644 qtjava/javalib/org/kde/qt/QPaintDeviceInterface.java delete mode 100644 qtjava/javalib/org/kde/qt/QPaintDeviceMetrics.java delete mode 100644 qtjava/javalib/org/kde/qt/QPaintEvent.java delete mode 100644 qtjava/javalib/org/kde/qt/QPainter.java delete mode 100644 qtjava/javalib/org/kde/qt/QPalette.java delete mode 100644 qtjava/javalib/org/kde/qt/QPen.java delete mode 100644 qtjava/javalib/org/kde/qt/QPicture.java delete mode 100644 qtjava/javalib/org/kde/qt/QPixmap.java delete mode 100644 qtjava/javalib/org/kde/qt/QPoint.java delete mode 100644 qtjava/javalib/org/kde/qt/QPointArray.java delete mode 100644 qtjava/javalib/org/kde/qt/QPolygonScanner.java delete mode 100644 qtjava/javalib/org/kde/qt/QPopupMenu.java delete mode 100644 qtjava/javalib/org/kde/qt/QPopupMenuSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QPrintDialog.java delete mode 100644 qtjava/javalib/org/kde/qt/QPrinter.java delete mode 100644 qtjava/javalib/org/kde/qt/QProcess.java delete mode 100644 qtjava/javalib/org/kde/qt/QProcessSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QProgressBar.java delete mode 100644 qtjava/javalib/org/kde/qt/QProgressDialog.java delete mode 100644 qtjava/javalib/org/kde/qt/QProgressDialogSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QPushButton.java delete mode 100644 qtjava/javalib/org/kde/qt/QRadioButton.java delete mode 100644 qtjava/javalib/org/kde/qt/QRangeControl.java delete mode 100644 qtjava/javalib/org/kde/qt/QRangeControlInterface.java delete mode 100644 qtjava/javalib/org/kde/qt/QRect.java delete mode 100644 qtjava/javalib/org/kde/qt/QRegExp.java delete mode 100644 qtjava/javalib/org/kde/qt/QRegExpValidator.java delete mode 100644 qtjava/javalib/org/kde/qt/QRegion.java delete mode 100644 qtjava/javalib/org/kde/qt/QResizeEvent.java delete mode 100644 qtjava/javalib/org/kde/qt/QScrollBar.java delete mode 100644 qtjava/javalib/org/kde/qt/QScrollBarSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QScrollView.java delete mode 100644 qtjava/javalib/org/kde/qt/QScrollViewSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QSemiModal.java delete mode 100644 qtjava/javalib/org/kde/qt/QServerSocket.java delete mode 100644 qtjava/javalib/org/kde/qt/QSessionManager.java delete mode 100644 qtjava/javalib/org/kde/qt/QSettings.java delete mode 100644 qtjava/javalib/org/kde/qt/QShowEvent.java delete mode 100644 qtjava/javalib/org/kde/qt/QSignal.java delete mode 100644 qtjava/javalib/org/kde/qt/QSignalMapper.java delete mode 100644 qtjava/javalib/org/kde/qt/QSignalMapperSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QSignalSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QSimpleRichText.java delete mode 100644 qtjava/javalib/org/kde/qt/QSize.java delete mode 100644 qtjava/javalib/org/kde/qt/QSizeGrip.java delete mode 100644 qtjava/javalib/org/kde/qt/QSizePolicy.java delete mode 100644 qtjava/javalib/org/kde/qt/QSjisCodec.java delete mode 100644 qtjava/javalib/org/kde/qt/QSlider.java delete mode 100644 qtjava/javalib/org/kde/qt/QSliderSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QSocket.java delete mode 100644 qtjava/javalib/org/kde/qt/QSocketDevice.java delete mode 100644 qtjava/javalib/org/kde/qt/QSocketNotifier.java delete mode 100644 qtjava/javalib/org/kde/qt/QSocketNotifierSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QSocketSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QSound.java delete mode 100644 qtjava/javalib/org/kde/qt/QSpacerItem.java delete mode 100644 qtjava/javalib/org/kde/qt/QSpinBox.java delete mode 100644 qtjava/javalib/org/kde/qt/QSpinBoxSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QSpinWidget.java delete mode 100644 qtjava/javalib/org/kde/qt/QSpinWidgetSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QSplashScreen.java delete mode 100644 qtjava/javalib/org/kde/qt/QSplashScreenSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QSplitter.java delete mode 100644 qtjava/javalib/org/kde/qt/QSql.java delete mode 100644 qtjava/javalib/org/kde/qt/QSqlCursor.java delete mode 100644 qtjava/javalib/org/kde/qt/QSqlDatabase.java delete mode 100644 qtjava/javalib/org/kde/qt/QSqlDriver.java delete mode 100644 qtjava/javalib/org/kde/qt/QSqlEditorFactory.java delete mode 100644 qtjava/javalib/org/kde/qt/QSqlError.java delete mode 100644 qtjava/javalib/org/kde/qt/QSqlField.java delete mode 100644 qtjava/javalib/org/kde/qt/QSqlFieldInfo.java delete mode 100644 qtjava/javalib/org/kde/qt/QSqlForm.java delete mode 100644 qtjava/javalib/org/kde/qt/QSqlIndex.java delete mode 100644 qtjava/javalib/org/kde/qt/QSqlPropertyMap.java delete mode 100644 qtjava/javalib/org/kde/qt/QSqlQuery.java delete mode 100644 qtjava/javalib/org/kde/qt/QSqlQueryInterface.java delete mode 100644 qtjava/javalib/org/kde/qt/QSqlRecord.java delete mode 100644 qtjava/javalib/org/kde/qt/QSqlRecordInfo.java delete mode 100644 qtjava/javalib/org/kde/qt/QSqlResult.java delete mode 100644 qtjava/javalib/org/kde/qt/QStatusBar.java delete mode 100644 qtjava/javalib/org/kde/qt/QStatusBarSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QStoredDrag.java delete mode 100644 qtjava/javalib/org/kde/qt/QStyle.java delete mode 100644 qtjava/javalib/org/kde/qt/QStyleFactory.java delete mode 100644 qtjava/javalib/org/kde/qt/QStyleOption.java delete mode 100644 qtjava/javalib/org/kde/qt/QStyleSheet.java delete mode 100644 qtjava/javalib/org/kde/qt/QStyleSheetItem.java delete mode 100644 qtjava/javalib/org/kde/qt/QSyntaxHighlighter.java delete mode 100644 qtjava/javalib/org/kde/qt/QTab.java delete mode 100644 qtjava/javalib/org/kde/qt/QTabBar.java delete mode 100644 qtjava/javalib/org/kde/qt/QTabBarSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QTabDialog.java delete mode 100644 qtjava/javalib/org/kde/qt/QTabDialogSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QTabWidget.java delete mode 100644 qtjava/javalib/org/kde/qt/QTabWidgetSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QTable.java delete mode 100644 qtjava/javalib/org/kde/qt/QTableItem.java delete mode 100644 qtjava/javalib/org/kde/qt/QTableSelection.java delete mode 100644 qtjava/javalib/org/kde/qt/QTableSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QTabletEvent.java delete mode 100644 qtjava/javalib/org/kde/qt/QTextBrowser.java delete mode 100644 qtjava/javalib/org/kde/qt/QTextBrowserSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QTextCodec.java delete mode 100644 qtjava/javalib/org/kde/qt/QTextDecoder.java delete mode 100644 qtjava/javalib/org/kde/qt/QTextDrag.java delete mode 100644 qtjava/javalib/org/kde/qt/QTextEdit.java delete mode 100644 qtjava/javalib/org/kde/qt/QTextEditSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QTextEncoder.java delete mode 100644 qtjava/javalib/org/kde/qt/QTextIStream.java delete mode 100644 qtjava/javalib/org/kde/qt/QTextOStream.java delete mode 100644 qtjava/javalib/org/kde/qt/QTextStream.java delete mode 100644 qtjava/javalib/org/kde/qt/QTextView.java delete mode 100644 qtjava/javalib/org/kde/qt/QTimeEdit.java delete mode 100644 qtjava/javalib/org/kde/qt/QTimeEditSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QTimer.java delete mode 100644 qtjava/javalib/org/kde/qt/QTimerEvent.java delete mode 100644 qtjava/javalib/org/kde/qt/QTimerSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QToolBar.java delete mode 100644 qtjava/javalib/org/kde/qt/QToolBox.java delete mode 100644 qtjava/javalib/org/kde/qt/QToolBoxSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QToolButton.java delete mode 100644 qtjava/javalib/org/kde/qt/QToolTip.java delete mode 100644 qtjava/javalib/org/kde/qt/QToolTipGroup.java delete mode 100644 qtjava/javalib/org/kde/qt/QToolTipGroupSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QTranslator.java delete mode 100644 qtjava/javalib/org/kde/qt/QTranslatorMessage.java delete mode 100644 qtjava/javalib/org/kde/qt/QTsciiCodec.java delete mode 100644 qtjava/javalib/org/kde/qt/QUriDrag.java delete mode 100644 qtjava/javalib/org/kde/qt/QUrl.java delete mode 100644 qtjava/javalib/org/kde/qt/QUrlInfo.java delete mode 100644 qtjava/javalib/org/kde/qt/QUrlInterface.java delete mode 100644 qtjava/javalib/org/kde/qt/QUrlOperator.java delete mode 100644 qtjava/javalib/org/kde/qt/QUrlOperatorSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QUtf16Codec.java delete mode 100644 qtjava/javalib/org/kde/qt/QUtf8Codec.java delete mode 100644 qtjava/javalib/org/kde/qt/QUuid.java delete mode 100644 qtjava/javalib/org/kde/qt/QVBox.java delete mode 100644 qtjava/javalib/org/kde/qt/QVBoxLayout.java delete mode 100644 qtjava/javalib/org/kde/qt/QVButtonGroup.java delete mode 100644 qtjava/javalib/org/kde/qt/QVGroupBox.java delete mode 100644 qtjava/javalib/org/kde/qt/QValidator.java delete mode 100644 qtjava/javalib/org/kde/qt/QVariant.java delete mode 100644 qtjava/javalib/org/kde/qt/QWMatrix.java delete mode 100644 qtjava/javalib/org/kde/qt/QWhatsThis.java delete mode 100644 qtjava/javalib/org/kde/qt/QWheelEvent.java delete mode 100644 qtjava/javalib/org/kde/qt/QWidget.java delete mode 100644 qtjava/javalib/org/kde/qt/QWidgetItem.java delete mode 100644 qtjava/javalib/org/kde/qt/QWidgetStack.java delete mode 100644 qtjava/javalib/org/kde/qt/QWidgetStackSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QWizard.java delete mode 100644 qtjava/javalib/org/kde/qt/QWizardSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QWorkspace.java delete mode 100644 qtjava/javalib/org/kde/qt/QWorkspaceSignals.java delete mode 100644 qtjava/javalib/org/kde/qt/QXmlAttributes.java delete mode 100644 qtjava/javalib/org/kde/qt/QXmlContentHandler.java delete mode 100644 qtjava/javalib/org/kde/qt/QXmlContentHandlerInterface.java delete mode 100644 qtjava/javalib/org/kde/qt/QXmlDTDHandler.java delete mode 100644 qtjava/javalib/org/kde/qt/QXmlDTDHandlerInterface.java delete mode 100644 qtjava/javalib/org/kde/qt/QXmlDeclHandler.java delete mode 100644 qtjava/javalib/org/kde/qt/QXmlDeclHandlerInterface.java delete mode 100644 qtjava/javalib/org/kde/qt/QXmlDefaultHandler.java delete mode 100644 qtjava/javalib/org/kde/qt/QXmlEntityResolver.java delete mode 100644 qtjava/javalib/org/kde/qt/QXmlEntityResolverInterface.java delete mode 100644 qtjava/javalib/org/kde/qt/QXmlErrorHandler.java delete mode 100644 qtjava/javalib/org/kde/qt/QXmlErrorHandlerInterface.java delete mode 100644 qtjava/javalib/org/kde/qt/QXmlInputSource.java delete mode 100644 qtjava/javalib/org/kde/qt/QXmlLexicalHandler.java delete mode 100644 qtjava/javalib/org/kde/qt/QXmlLexicalHandlerInterface.java delete mode 100644 qtjava/javalib/org/kde/qt/QXmlLocator.java delete mode 100644 qtjava/javalib/org/kde/qt/QXmlNamespaceSupport.java delete mode 100644 qtjava/javalib/org/kde/qt/QXmlParseException.java delete mode 100644 qtjava/javalib/org/kde/qt/QXmlReader.java delete mode 100644 qtjava/javalib/org/kde/qt/QXmlSimpleReader.java create mode 100644 qtjava/javalib/org/kde/qt/TQAccel.java create mode 100644 qtjava/javalib/org/kde/qt/TQAccelSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQAction.java create mode 100644 qtjava/javalib/org/kde/qt/TQActionGroup.java create mode 100644 qtjava/javalib/org/kde/qt/TQActionGroupSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQActionSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQApplication.java create mode 100644 qtjava/javalib/org/kde/qt/TQApplicationSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQAsyncIO.java create mode 100644 qtjava/javalib/org/kde/qt/TQAuServer.java create mode 100644 qtjava/javalib/org/kde/qt/TQBig5Codec.java create mode 100644 qtjava/javalib/org/kde/qt/TQBitmap.java create mode 100644 qtjava/javalib/org/kde/qt/TQBoxLayout.java create mode 100644 qtjava/javalib/org/kde/qt/TQBrush.java create mode 100644 qtjava/javalib/org/kde/qt/TQBuffer.java create mode 100644 qtjava/javalib/org/kde/qt/TQButton.java create mode 100644 qtjava/javalib/org/kde/qt/TQButtonGroup.java create mode 100644 qtjava/javalib/org/kde/qt/TQButtonGroupSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQButtonSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQCanvas.java create mode 100644 qtjava/javalib/org/kde/qt/TQCanvasEllipse.java create mode 100644 qtjava/javalib/org/kde/qt/TQCanvasItem.java create mode 100644 qtjava/javalib/org/kde/qt/TQCanvasLine.java create mode 100644 qtjava/javalib/org/kde/qt/TQCanvasPixmap.java create mode 100644 qtjava/javalib/org/kde/qt/TQCanvasPixmapArray.java create mode 100644 qtjava/javalib/org/kde/qt/TQCanvasPolygon.java create mode 100644 qtjava/javalib/org/kde/qt/TQCanvasPolygonalItem.java create mode 100644 qtjava/javalib/org/kde/qt/TQCanvasRectangle.java create mode 100644 qtjava/javalib/org/kde/qt/TQCanvasSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQCanvasSpline.java create mode 100644 qtjava/javalib/org/kde/qt/TQCanvasSprite.java create mode 100644 qtjava/javalib/org/kde/qt/TQCanvasText.java create mode 100644 qtjava/javalib/org/kde/qt/TQCanvasView.java create mode 100644 qtjava/javalib/org/kde/qt/TQCheckBox.java create mode 100644 qtjava/javalib/org/kde/qt/TQCheckListItem.java create mode 100644 qtjava/javalib/org/kde/qt/TQCheckTableItem.java create mode 100644 qtjava/javalib/org/kde/qt/TQChildEvent.java create mode 100644 qtjava/javalib/org/kde/qt/TQClassInfo.java create mode 100644 qtjava/javalib/org/kde/qt/TQClipboard.java create mode 100644 qtjava/javalib/org/kde/qt/TQCloseEvent.java create mode 100644 qtjava/javalib/org/kde/qt/TQColor.java create mode 100644 qtjava/javalib/org/kde/qt/TQColorDialog.java create mode 100644 qtjava/javalib/org/kde/qt/TQColorDrag.java create mode 100644 qtjava/javalib/org/kde/qt/TQColorGroup.java create mode 100644 qtjava/javalib/org/kde/qt/TQComboBox.java create mode 100644 qtjava/javalib/org/kde/qt/TQComboBoxSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQComboTableItem.java create mode 100644 qtjava/javalib/org/kde/qt/TQContextMenuEvent.java create mode 100644 qtjava/javalib/org/kde/qt/TQCursor.java create mode 100644 qtjava/javalib/org/kde/qt/TQCustomEvent.java create mode 100644 qtjava/javalib/org/kde/qt/TQCustomMenuItem.java create mode 100644 qtjava/javalib/org/kde/qt/TQDataBrowser.java create mode 100644 qtjava/javalib/org/kde/qt/TQDataBrowserSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQDataPump.java create mode 100644 qtjava/javalib/org/kde/qt/TQDataSink.java create mode 100644 qtjava/javalib/org/kde/qt/TQDataSource.java create mode 100644 qtjava/javalib/org/kde/qt/TQDataStream.java create mode 100644 qtjava/javalib/org/kde/qt/TQDataTable.java create mode 100644 qtjava/javalib/org/kde/qt/TQDataTableSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQDataView.java create mode 100644 qtjava/javalib/org/kde/qt/TQDateEdit.java create mode 100644 qtjava/javalib/org/kde/qt/TQDateEditSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQDateTimeEdit.java create mode 100644 qtjava/javalib/org/kde/qt/TQDateTimeEditBase.java create mode 100644 qtjava/javalib/org/kde/qt/TQDateTimeEditSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQDesktopWidget.java create mode 100644 qtjava/javalib/org/kde/qt/TQDesktopWidgetSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQDial.java create mode 100644 qtjava/javalib/org/kde/qt/TQDialSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQDialog.java create mode 100644 qtjava/javalib/org/kde/qt/TQDir.java create mode 100644 qtjava/javalib/org/kde/qt/TQDockArea.java create mode 100644 qtjava/javalib/org/kde/qt/TQDockWindow.java create mode 100644 qtjava/javalib/org/kde/qt/TQDockWindowSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQDomAttr.java create mode 100644 qtjava/javalib/org/kde/qt/TQDomCDATASection.java create mode 100644 qtjava/javalib/org/kde/qt/TQDomCharacterData.java create mode 100644 qtjava/javalib/org/kde/qt/TQDomComment.java create mode 100644 qtjava/javalib/org/kde/qt/TQDomDocument.java create mode 100644 qtjava/javalib/org/kde/qt/TQDomDocumentFragment.java create mode 100644 qtjava/javalib/org/kde/qt/TQDomDocumentType.java create mode 100644 qtjava/javalib/org/kde/qt/TQDomElement.java create mode 100644 qtjava/javalib/org/kde/qt/TQDomEntity.java create mode 100644 qtjava/javalib/org/kde/qt/TQDomEntityReference.java create mode 100644 qtjava/javalib/org/kde/qt/TQDomImplementation.java create mode 100644 qtjava/javalib/org/kde/qt/TQDomNamedNodeMap.java create mode 100644 qtjava/javalib/org/kde/qt/TQDomNode.java create mode 100644 qtjava/javalib/org/kde/qt/TQDomNotation.java create mode 100644 qtjava/javalib/org/kde/qt/TQDomProcessingInstruction.java create mode 100644 qtjava/javalib/org/kde/qt/TQDomText.java create mode 100644 qtjava/javalib/org/kde/qt/TQDoubleValidator.java create mode 100644 qtjava/javalib/org/kde/qt/TQDragEnterEvent.java create mode 100644 qtjava/javalib/org/kde/qt/TQDragLeaveEvent.java create mode 100644 qtjava/javalib/org/kde/qt/TQDragManager.java create mode 100644 qtjava/javalib/org/kde/qt/TQDragMoveEvent.java create mode 100644 qtjava/javalib/org/kde/qt/TQDragObject.java create mode 100644 qtjava/javalib/org/kde/qt/TQDragResponseEvent.java create mode 100644 qtjava/javalib/org/kde/qt/TQDropEvent.java create mode 100644 qtjava/javalib/org/kde/qt/TQDropSite.java create mode 100644 qtjava/javalib/org/kde/qt/TQEditorFactory.java create mode 100644 qtjava/javalib/org/kde/qt/TQErrorMessage.java create mode 100644 qtjava/javalib/org/kde/qt/TQEucJpCodec.java create mode 100644 qtjava/javalib/org/kde/qt/TQEucKrCodec.java create mode 100644 qtjava/javalib/org/kde/qt/TQEvent.java create mode 100644 qtjava/javalib/org/kde/qt/TQEventLoop.java create mode 100644 qtjava/javalib/org/kde/qt/TQEventLoopSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQFile.java create mode 100644 qtjava/javalib/org/kde/qt/TQFileDialog.java create mode 100644 qtjava/javalib/org/kde/qt/TQFileDialogSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQFileIconProvider.java create mode 100644 qtjava/javalib/org/kde/qt/TQFileInfo.java create mode 100644 qtjava/javalib/org/kde/qt/TQFilePreview.java create mode 100644 qtjava/javalib/org/kde/qt/TQFocusData.java create mode 100644 qtjava/javalib/org/kde/qt/TQFocusEvent.java create mode 100644 qtjava/javalib/org/kde/qt/TQFont.java create mode 100644 qtjava/javalib/org/kde/qt/TQFontDatabase.java create mode 100644 qtjava/javalib/org/kde/qt/TQFontDialog.java create mode 100644 qtjava/javalib/org/kde/qt/TQFontInfo.java create mode 100644 qtjava/javalib/org/kde/qt/TQFontMetrics.java create mode 100644 qtjava/javalib/org/kde/qt/TQFrame.java create mode 100644 qtjava/javalib/org/kde/qt/TQFtp.java create mode 100644 qtjava/javalib/org/kde/qt/TQFtpSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQGL.java create mode 100644 qtjava/javalib/org/kde/qt/TQGLColormap.java create mode 100644 qtjava/javalib/org/kde/qt/TQGLContext.java create mode 100644 qtjava/javalib/org/kde/qt/TQGLFormat.java create mode 100644 qtjava/javalib/org/kde/qt/TQGLWidget.java create mode 100644 qtjava/javalib/org/kde/qt/TQGb18030Codec.java create mode 100644 qtjava/javalib/org/kde/qt/TQGbkCodec.java create mode 100644 qtjava/javalib/org/kde/qt/TQGrid.java create mode 100644 qtjava/javalib/org/kde/qt/TQGridLayout.java create mode 100644 qtjava/javalib/org/kde/qt/TQGridView.java create mode 100644 qtjava/javalib/org/kde/qt/TQGroupBox.java create mode 100644 qtjava/javalib/org/kde/qt/TQGroupBoxSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQHBox.java create mode 100644 qtjava/javalib/org/kde/qt/TQHBoxLayout.java create mode 100644 qtjava/javalib/org/kde/qt/TQHButtonGroup.java create mode 100644 qtjava/javalib/org/kde/qt/TQHGroupBox.java create mode 100644 qtjava/javalib/org/kde/qt/TQHeader.java create mode 100644 qtjava/javalib/org/kde/qt/TQHeaderSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQHebrewCodec.java create mode 100644 qtjava/javalib/org/kde/qt/TQHideEvent.java create mode 100644 qtjava/javalib/org/kde/qt/TQHostAddress.java create mode 100644 qtjava/javalib/org/kde/qt/TQHttp.java create mode 100644 qtjava/javalib/org/kde/qt/TQHttpHeader.java create mode 100644 qtjava/javalib/org/kde/qt/TQHttpRequestHeader.java create mode 100644 qtjava/javalib/org/kde/qt/TQHttpResponseHeader.java create mode 100644 qtjava/javalib/org/kde/qt/TQHttpSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQIMEvent.java create mode 100644 qtjava/javalib/org/kde/qt/TQIODevice.java create mode 100644 qtjava/javalib/org/kde/qt/TQIODeviceInterface.java create mode 100644 qtjava/javalib/org/kde/qt/TQIODeviceSource.java create mode 100644 qtjava/javalib/org/kde/qt/TQIconDrag.java create mode 100644 qtjava/javalib/org/kde/qt/TQIconDragItem.java create mode 100644 qtjava/javalib/org/kde/qt/TQIconSet.java create mode 100644 qtjava/javalib/org/kde/qt/TQIconView.java create mode 100644 qtjava/javalib/org/kde/qt/TQIconViewItem.java create mode 100644 qtjava/javalib/org/kde/qt/TQIconViewSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQImage.java create mode 100644 qtjava/javalib/org/kde/qt/TQImageConsumer.java create mode 100644 qtjava/javalib/org/kde/qt/TQImageDecoder.java create mode 100644 qtjava/javalib/org/kde/qt/TQImageDrag.java create mode 100644 qtjava/javalib/org/kde/qt/TQImageFormat.java create mode 100644 qtjava/javalib/org/kde/qt/TQImageFormatType.java create mode 100644 qtjava/javalib/org/kde/qt/TQImageIO.java create mode 100644 qtjava/javalib/org/kde/qt/TQImageTextKeyLang.java create mode 100644 qtjava/javalib/org/kde/qt/TQInputDialog.java create mode 100644 qtjava/javalib/org/kde/qt/TQIntValidator.java create mode 100644 qtjava/javalib/org/kde/qt/TQJisCodec.java create mode 100644 qtjava/javalib/org/kde/qt/TQJpUnicodeConv.java create mode 100644 qtjava/javalib/org/kde/qt/TQKeyEvent.java create mode 100644 qtjava/javalib/org/kde/qt/TQKeySequence.java create mode 100644 qtjava/javalib/org/kde/qt/TQLCDNumber.java create mode 100644 qtjava/javalib/org/kde/qt/TQLCDNumberSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQLabel.java create mode 100644 qtjava/javalib/org/kde/qt/TQLayout.java create mode 100644 qtjava/javalib/org/kde/qt/TQLayoutItem.java create mode 100644 qtjava/javalib/org/kde/qt/TQLayoutItemInterface.java create mode 100644 qtjava/javalib/org/kde/qt/TQLibrary.java create mode 100644 qtjava/javalib/org/kde/qt/TQLineEdit.java create mode 100644 qtjava/javalib/org/kde/qt/TQLineEditSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQListBox.java create mode 100644 qtjava/javalib/org/kde/qt/TQListBoxItem.java create mode 100644 qtjava/javalib/org/kde/qt/TQListBoxPixmap.java create mode 100644 qtjava/javalib/org/kde/qt/TQListBoxSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQListBoxText.java create mode 100644 qtjava/javalib/org/kde/qt/TQListView.java create mode 100644 qtjava/javalib/org/kde/qt/TQListViewItem.java create mode 100644 qtjava/javalib/org/kde/qt/TQListViewSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQLocalFs.java create mode 100644 qtjava/javalib/org/kde/qt/TQMainWindow.java create mode 100644 qtjava/javalib/org/kde/qt/TQMainWindowSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQMenuBar.java create mode 100644 qtjava/javalib/org/kde/qt/TQMenuBarSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQMenuData.java create mode 100644 qtjava/javalib/org/kde/qt/TQMenuDataInterface.java create mode 100644 qtjava/javalib/org/kde/qt/TQMenuItem.java create mode 100644 qtjava/javalib/org/kde/qt/TQMessageBox.java create mode 100644 qtjava/javalib/org/kde/qt/TQMetaData.java create mode 100644 qtjava/javalib/org/kde/qt/TQMetaEnum.java create mode 100644 qtjava/javalib/org/kde/qt/TQMetaObject.java create mode 100644 qtjava/javalib/org/kde/qt/TQMetaProperty.java create mode 100644 qtjava/javalib/org/kde/qt/TQMimeSource.java create mode 100644 qtjava/javalib/org/kde/qt/TQMimeSourceFactory.java create mode 100644 qtjava/javalib/org/kde/qt/TQMimeSourceInterface.java create mode 100644 qtjava/javalib/org/kde/qt/TQMouseEvent.java create mode 100644 qtjava/javalib/org/kde/qt/TQMoveEvent.java create mode 100644 qtjava/javalib/org/kde/qt/TQMovie.java create mode 100644 qtjava/javalib/org/kde/qt/TQMultiLineEdit.java create mode 100644 qtjava/javalib/org/kde/qt/TQNetworkOperation.java create mode 100644 qtjava/javalib/org/kde/qt/TQNetworkProtocol.java create mode 100644 qtjava/javalib/org/kde/qt/TQNetworkProtocolSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQObject.java create mode 100644 qtjava/javalib/org/kde/qt/TQObjectCleanupHandler.java create mode 100644 qtjava/javalib/org/kde/qt/TQObjectSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQPaintDevice.java create mode 100644 qtjava/javalib/org/kde/qt/TQPaintDeviceInterface.java create mode 100644 qtjava/javalib/org/kde/qt/TQPaintDeviceMetrics.java create mode 100644 qtjava/javalib/org/kde/qt/TQPaintEvent.java create mode 100644 qtjava/javalib/org/kde/qt/TQPainter.java create mode 100644 qtjava/javalib/org/kde/qt/TQPalette.java create mode 100644 qtjava/javalib/org/kde/qt/TQPen.java create mode 100644 qtjava/javalib/org/kde/qt/TQPicture.java create mode 100644 qtjava/javalib/org/kde/qt/TQPixmap.java create mode 100644 qtjava/javalib/org/kde/qt/TQPoint.java create mode 100644 qtjava/javalib/org/kde/qt/TQPointArray.java create mode 100644 qtjava/javalib/org/kde/qt/TQPolygonScanner.java create mode 100644 qtjava/javalib/org/kde/qt/TQPopupMenu.java create mode 100644 qtjava/javalib/org/kde/qt/TQPopupMenuSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQPrintDialog.java create mode 100644 qtjava/javalib/org/kde/qt/TQPrinter.java create mode 100644 qtjava/javalib/org/kde/qt/TQProcess.java create mode 100644 qtjava/javalib/org/kde/qt/TQProcessSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQProgressBar.java create mode 100644 qtjava/javalib/org/kde/qt/TQProgressDialog.java create mode 100644 qtjava/javalib/org/kde/qt/TQProgressDialogSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQPushButton.java create mode 100644 qtjava/javalib/org/kde/qt/TQRadioButton.java create mode 100644 qtjava/javalib/org/kde/qt/TQRangeControl.java create mode 100644 qtjava/javalib/org/kde/qt/TQRangeControlInterface.java create mode 100644 qtjava/javalib/org/kde/qt/TQRect.java create mode 100644 qtjava/javalib/org/kde/qt/TQRegExp.java create mode 100644 qtjava/javalib/org/kde/qt/TQRegExpValidator.java create mode 100644 qtjava/javalib/org/kde/qt/TQRegion.java create mode 100644 qtjava/javalib/org/kde/qt/TQResizeEvent.java create mode 100644 qtjava/javalib/org/kde/qt/TQScrollBar.java create mode 100644 qtjava/javalib/org/kde/qt/TQScrollBarSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQScrollView.java create mode 100644 qtjava/javalib/org/kde/qt/TQScrollViewSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQSemiModal.java create mode 100644 qtjava/javalib/org/kde/qt/TQServerSocket.java create mode 100644 qtjava/javalib/org/kde/qt/TQSessionManager.java create mode 100644 qtjava/javalib/org/kde/qt/TQSettings.java create mode 100644 qtjava/javalib/org/kde/qt/TQShowEvent.java create mode 100644 qtjava/javalib/org/kde/qt/TQSignal.java create mode 100644 qtjava/javalib/org/kde/qt/TQSignalMapper.java create mode 100644 qtjava/javalib/org/kde/qt/TQSignalMapperSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQSignalSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQSimpleRichText.java create mode 100644 qtjava/javalib/org/kde/qt/TQSize.java create mode 100644 qtjava/javalib/org/kde/qt/TQSizeGrip.java create mode 100644 qtjava/javalib/org/kde/qt/TQSizePolicy.java create mode 100644 qtjava/javalib/org/kde/qt/TQSjisCodec.java create mode 100644 qtjava/javalib/org/kde/qt/TQSlider.java create mode 100644 qtjava/javalib/org/kde/qt/TQSliderSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQSocket.java create mode 100644 qtjava/javalib/org/kde/qt/TQSocketDevice.java create mode 100644 qtjava/javalib/org/kde/qt/TQSocketNotifier.java create mode 100644 qtjava/javalib/org/kde/qt/TQSocketNotifierSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQSocketSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQSound.java create mode 100644 qtjava/javalib/org/kde/qt/TQSpacerItem.java create mode 100644 qtjava/javalib/org/kde/qt/TQSpinBox.java create mode 100644 qtjava/javalib/org/kde/qt/TQSpinBoxSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQSpinWidget.java create mode 100644 qtjava/javalib/org/kde/qt/TQSpinWidgetSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQSplashScreen.java create mode 100644 qtjava/javalib/org/kde/qt/TQSplashScreenSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQSplitter.java create mode 100644 qtjava/javalib/org/kde/qt/TQSql.java create mode 100644 qtjava/javalib/org/kde/qt/TQSqlCursor.java create mode 100644 qtjava/javalib/org/kde/qt/TQSqlDatabase.java create mode 100644 qtjava/javalib/org/kde/qt/TQSqlDriver.java create mode 100644 qtjava/javalib/org/kde/qt/TQSqlEditorFactory.java create mode 100644 qtjava/javalib/org/kde/qt/TQSqlError.java create mode 100644 qtjava/javalib/org/kde/qt/TQSqlField.java create mode 100644 qtjava/javalib/org/kde/qt/TQSqlFieldInfo.java create mode 100644 qtjava/javalib/org/kde/qt/TQSqlForm.java create mode 100644 qtjava/javalib/org/kde/qt/TQSqlIndex.java create mode 100644 qtjava/javalib/org/kde/qt/TQSqlPropertyMap.java create mode 100644 qtjava/javalib/org/kde/qt/TQSqlQuery.java create mode 100644 qtjava/javalib/org/kde/qt/TQSqlQueryInterface.java create mode 100644 qtjava/javalib/org/kde/qt/TQSqlRecord.java create mode 100644 qtjava/javalib/org/kde/qt/TQSqlRecordInfo.java create mode 100644 qtjava/javalib/org/kde/qt/TQSqlResult.java create mode 100644 qtjava/javalib/org/kde/qt/TQStatusBar.java create mode 100644 qtjava/javalib/org/kde/qt/TQStatusBarSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQStoredDrag.java create mode 100644 qtjava/javalib/org/kde/qt/TQStyle.java create mode 100644 qtjava/javalib/org/kde/qt/TQStyleFactory.java create mode 100644 qtjava/javalib/org/kde/qt/TQStyleOption.java create mode 100644 qtjava/javalib/org/kde/qt/TQStyleSheet.java create mode 100644 qtjava/javalib/org/kde/qt/TQStyleSheetItem.java create mode 100644 qtjava/javalib/org/kde/qt/TQSyntaxHighlighter.java create mode 100644 qtjava/javalib/org/kde/qt/TQTab.java create mode 100644 qtjava/javalib/org/kde/qt/TQTabBar.java create mode 100644 qtjava/javalib/org/kde/qt/TQTabBarSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQTabDialog.java create mode 100644 qtjava/javalib/org/kde/qt/TQTabDialogSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQTabWidget.java create mode 100644 qtjava/javalib/org/kde/qt/TQTabWidgetSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQTable.java create mode 100644 qtjava/javalib/org/kde/qt/TQTableItem.java create mode 100644 qtjava/javalib/org/kde/qt/TQTableSelection.java create mode 100644 qtjava/javalib/org/kde/qt/TQTableSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQTabletEvent.java create mode 100644 qtjava/javalib/org/kde/qt/TQTextBrowser.java create mode 100644 qtjava/javalib/org/kde/qt/TQTextBrowserSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQTextCodec.java create mode 100644 qtjava/javalib/org/kde/qt/TQTextDecoder.java create mode 100644 qtjava/javalib/org/kde/qt/TQTextDrag.java create mode 100644 qtjava/javalib/org/kde/qt/TQTextEdit.java create mode 100644 qtjava/javalib/org/kde/qt/TQTextEditSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQTextEncoder.java create mode 100644 qtjava/javalib/org/kde/qt/TQTextIStream.java create mode 100644 qtjava/javalib/org/kde/qt/TQTextOStream.java create mode 100644 qtjava/javalib/org/kde/qt/TQTextStream.java create mode 100644 qtjava/javalib/org/kde/qt/TQTextView.java create mode 100644 qtjava/javalib/org/kde/qt/TQTimeEdit.java create mode 100644 qtjava/javalib/org/kde/qt/TQTimeEditSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQTimer.java create mode 100644 qtjava/javalib/org/kde/qt/TQTimerEvent.java create mode 100644 qtjava/javalib/org/kde/qt/TQTimerSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQToolBar.java create mode 100644 qtjava/javalib/org/kde/qt/TQToolBox.java create mode 100644 qtjava/javalib/org/kde/qt/TQToolBoxSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQToolButton.java create mode 100644 qtjava/javalib/org/kde/qt/TQToolTip.java create mode 100644 qtjava/javalib/org/kde/qt/TQToolTipGroup.java create mode 100644 qtjava/javalib/org/kde/qt/TQToolTipGroupSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQTranslator.java create mode 100644 qtjava/javalib/org/kde/qt/TQTranslatorMessage.java create mode 100644 qtjava/javalib/org/kde/qt/TQTsciiCodec.java create mode 100644 qtjava/javalib/org/kde/qt/TQUriDrag.java create mode 100644 qtjava/javalib/org/kde/qt/TQUrl.java create mode 100644 qtjava/javalib/org/kde/qt/TQUrlInfo.java create mode 100644 qtjava/javalib/org/kde/qt/TQUrlInterface.java create mode 100644 qtjava/javalib/org/kde/qt/TQUrlOperator.java create mode 100644 qtjava/javalib/org/kde/qt/TQUrlOperatorSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQUtf16Codec.java create mode 100644 qtjava/javalib/org/kde/qt/TQUtf8Codec.java create mode 100644 qtjava/javalib/org/kde/qt/TQUuid.java create mode 100644 qtjava/javalib/org/kde/qt/TQVBox.java create mode 100644 qtjava/javalib/org/kde/qt/TQVBoxLayout.java create mode 100644 qtjava/javalib/org/kde/qt/TQVButtonGroup.java create mode 100644 qtjava/javalib/org/kde/qt/TQVGroupBox.java create mode 100644 qtjava/javalib/org/kde/qt/TQValidator.java create mode 100644 qtjava/javalib/org/kde/qt/TQVariant.java create mode 100644 qtjava/javalib/org/kde/qt/TQWMatrix.java create mode 100644 qtjava/javalib/org/kde/qt/TQWhatsThis.java create mode 100644 qtjava/javalib/org/kde/qt/TQWheelEvent.java create mode 100644 qtjava/javalib/org/kde/qt/TQWidget.java create mode 100644 qtjava/javalib/org/kde/qt/TQWidgetItem.java create mode 100644 qtjava/javalib/org/kde/qt/TQWidgetStack.java create mode 100644 qtjava/javalib/org/kde/qt/TQWidgetStackSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQWizard.java create mode 100644 qtjava/javalib/org/kde/qt/TQWizardSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQWorkspace.java create mode 100644 qtjava/javalib/org/kde/qt/TQWorkspaceSignals.java create mode 100644 qtjava/javalib/org/kde/qt/TQXmlAttributes.java create mode 100644 qtjava/javalib/org/kde/qt/TQXmlContentHandler.java create mode 100644 qtjava/javalib/org/kde/qt/TQXmlContentHandlerInterface.java create mode 100644 qtjava/javalib/org/kde/qt/TQXmlDTDHandler.java create mode 100644 qtjava/javalib/org/kde/qt/TQXmlDTDHandlerInterface.java create mode 100644 qtjava/javalib/org/kde/qt/TQXmlDeclHandler.java create mode 100644 qtjava/javalib/org/kde/qt/TQXmlDeclHandlerInterface.java create mode 100644 qtjava/javalib/org/kde/qt/TQXmlDefaultHandler.java create mode 100644 qtjava/javalib/org/kde/qt/TQXmlEntityResolver.java create mode 100644 qtjava/javalib/org/kde/qt/TQXmlEntityResolverInterface.java create mode 100644 qtjava/javalib/org/kde/qt/TQXmlErrorHandler.java create mode 100644 qtjava/javalib/org/kde/qt/TQXmlErrorHandlerInterface.java create mode 100644 qtjava/javalib/org/kde/qt/TQXmlInputSource.java create mode 100644 qtjava/javalib/org/kde/qt/TQXmlLexicalHandler.java create mode 100644 qtjava/javalib/org/kde/qt/TQXmlLexicalHandlerInterface.java create mode 100644 qtjava/javalib/org/kde/qt/TQXmlLocator.java create mode 100644 qtjava/javalib/org/kde/qt/TQXmlNamespaceSupport.java create mode 100644 qtjava/javalib/org/kde/qt/TQXmlParseException.java create mode 100644 qtjava/javalib/org/kde/qt/TQXmlReader.java create mode 100644 qtjava/javalib/org/kde/qt/TQXmlSimpleReader.java delete mode 100644 qtjava/javalib/qtjava/QAccel.cpp delete mode 100644 qtjava/javalib/qtjava/QAccel.h delete mode 100644 qtjava/javalib/qtjava/QAction.cpp delete mode 100644 qtjava/javalib/qtjava/QAction.h delete mode 100644 qtjava/javalib/qtjava/QActionGroup.cpp delete mode 100644 qtjava/javalib/qtjava/QActionGroup.h delete mode 100644 qtjava/javalib/qtjava/QApplication.cpp delete mode 100644 qtjava/javalib/qtjava/QApplication.h delete mode 100644 qtjava/javalib/qtjava/QAsyncIO.cpp delete mode 100644 qtjava/javalib/qtjava/QAsyncIO.h delete mode 100644 qtjava/javalib/qtjava/QAuServer.cpp delete mode 100644 qtjava/javalib/qtjava/QAuServer.h delete mode 100644 qtjava/javalib/qtjava/QBig5Codec.cpp delete mode 100644 qtjava/javalib/qtjava/QBig5Codec.h delete mode 100644 qtjava/javalib/qtjava/QBitmap.cpp delete mode 100644 qtjava/javalib/qtjava/QBitmap.h delete mode 100644 qtjava/javalib/qtjava/QBoxLayout.cpp delete mode 100644 qtjava/javalib/qtjava/QBoxLayout.h delete mode 100644 qtjava/javalib/qtjava/QBrush.cpp delete mode 100644 qtjava/javalib/qtjava/QBrush.h delete mode 100644 qtjava/javalib/qtjava/QBuffer.cpp delete mode 100644 qtjava/javalib/qtjava/QBuffer.h delete mode 100644 qtjava/javalib/qtjava/QButton.cpp delete mode 100644 qtjava/javalib/qtjava/QButton.h delete mode 100644 qtjava/javalib/qtjava/QButtonGroup.cpp delete mode 100644 qtjava/javalib/qtjava/QButtonGroup.h delete mode 100644 qtjava/javalib/qtjava/QCanvas.cpp delete mode 100644 qtjava/javalib/qtjava/QCanvas.h delete mode 100644 qtjava/javalib/qtjava/QCanvasEllipse.cpp delete mode 100644 qtjava/javalib/qtjava/QCanvasEllipse.h delete mode 100644 qtjava/javalib/qtjava/QCanvasItem.cpp delete mode 100644 qtjava/javalib/qtjava/QCanvasItem.h delete mode 100644 qtjava/javalib/qtjava/QCanvasLine.cpp delete mode 100644 qtjava/javalib/qtjava/QCanvasLine.h delete mode 100644 qtjava/javalib/qtjava/QCanvasPixmap.cpp delete mode 100644 qtjava/javalib/qtjava/QCanvasPixmap.h delete mode 100644 qtjava/javalib/qtjava/QCanvasPixmapArray.cpp delete mode 100644 qtjava/javalib/qtjava/QCanvasPixmapArray.h delete mode 100644 qtjava/javalib/qtjava/QCanvasPolygon.cpp delete mode 100644 qtjava/javalib/qtjava/QCanvasPolygon.h delete mode 100644 qtjava/javalib/qtjava/QCanvasPolygonalItem.cpp delete mode 100644 qtjava/javalib/qtjava/QCanvasPolygonalItem.h delete mode 100644 qtjava/javalib/qtjava/QCanvasRectangle.cpp delete mode 100644 qtjava/javalib/qtjava/QCanvasRectangle.h delete mode 100644 qtjava/javalib/qtjava/QCanvasSpline.cpp delete mode 100644 qtjava/javalib/qtjava/QCanvasSpline.h delete mode 100644 qtjava/javalib/qtjava/QCanvasSprite.cpp delete mode 100644 qtjava/javalib/qtjava/QCanvasSprite.h delete mode 100644 qtjava/javalib/qtjava/QCanvasText.cpp delete mode 100644 qtjava/javalib/qtjava/QCanvasText.h delete mode 100644 qtjava/javalib/qtjava/QCanvasView.cpp delete mode 100644 qtjava/javalib/qtjava/QCanvasView.h delete mode 100644 qtjava/javalib/qtjava/QCheckBox.cpp delete mode 100644 qtjava/javalib/qtjava/QCheckBox.h delete mode 100644 qtjava/javalib/qtjava/QCheckListItem.cpp delete mode 100644 qtjava/javalib/qtjava/QCheckListItem.h delete mode 100644 qtjava/javalib/qtjava/QCheckTableItem.cpp delete mode 100644 qtjava/javalib/qtjava/QCheckTableItem.h delete mode 100644 qtjava/javalib/qtjava/QChildEvent.cpp delete mode 100644 qtjava/javalib/qtjava/QChildEvent.h delete mode 100644 qtjava/javalib/qtjava/QClassInfo.cpp delete mode 100644 qtjava/javalib/qtjava/QClassInfo.h delete mode 100644 qtjava/javalib/qtjava/QClipboard.cpp delete mode 100644 qtjava/javalib/qtjava/QClipboard.h delete mode 100644 qtjava/javalib/qtjava/QCloseEvent.cpp delete mode 100644 qtjava/javalib/qtjava/QCloseEvent.h delete mode 100644 qtjava/javalib/qtjava/QColor.cpp delete mode 100644 qtjava/javalib/qtjava/QColor.h delete mode 100644 qtjava/javalib/qtjava/QColorDialog.cpp delete mode 100644 qtjava/javalib/qtjava/QColorDialog.h delete mode 100644 qtjava/javalib/qtjava/QColorDrag.cpp delete mode 100644 qtjava/javalib/qtjava/QColorDrag.h delete mode 100644 qtjava/javalib/qtjava/QColorGroup.cpp delete mode 100644 qtjava/javalib/qtjava/QColorGroup.h delete mode 100644 qtjava/javalib/qtjava/QComboBox.cpp delete mode 100644 qtjava/javalib/qtjava/QComboBox.h delete mode 100644 qtjava/javalib/qtjava/QComboTableItem.cpp delete mode 100644 qtjava/javalib/qtjava/QComboTableItem.h delete mode 100644 qtjava/javalib/qtjava/QContextMenuEvent.cpp delete mode 100644 qtjava/javalib/qtjava/QContextMenuEvent.h delete mode 100644 qtjava/javalib/qtjava/QCursor.cpp delete mode 100644 qtjava/javalib/qtjava/QCursor.h delete mode 100644 qtjava/javalib/qtjava/QCustomEvent.cpp delete mode 100644 qtjava/javalib/qtjava/QCustomEvent.h delete mode 100644 qtjava/javalib/qtjava/QCustomMenuItem.cpp delete mode 100644 qtjava/javalib/qtjava/QCustomMenuItem.h delete mode 100644 qtjava/javalib/qtjava/QDataBrowser.cpp delete mode 100644 qtjava/javalib/qtjava/QDataBrowser.h delete mode 100644 qtjava/javalib/qtjava/QDataPump.cpp delete mode 100644 qtjava/javalib/qtjava/QDataPump.h delete mode 100644 qtjava/javalib/qtjava/QDataSink.cpp delete mode 100644 qtjava/javalib/qtjava/QDataSink.h delete mode 100644 qtjava/javalib/qtjava/QDataSource.cpp delete mode 100644 qtjava/javalib/qtjava/QDataSource.h delete mode 100644 qtjava/javalib/qtjava/QDataStream.cpp delete mode 100644 qtjava/javalib/qtjava/QDataStream.h delete mode 100644 qtjava/javalib/qtjava/QDataTable.cpp delete mode 100644 qtjava/javalib/qtjava/QDataTable.h delete mode 100644 qtjava/javalib/qtjava/QDataView.cpp delete mode 100644 qtjava/javalib/qtjava/QDataView.h delete mode 100644 qtjava/javalib/qtjava/QDateEdit.cpp delete mode 100644 qtjava/javalib/qtjava/QDateEdit.h delete mode 100644 qtjava/javalib/qtjava/QDateTimeEdit.cpp delete mode 100644 qtjava/javalib/qtjava/QDateTimeEdit.h delete mode 100644 qtjava/javalib/qtjava/QDateTimeEditBase.cpp delete mode 100644 qtjava/javalib/qtjava/QDateTimeEditBase.h delete mode 100644 qtjava/javalib/qtjava/QDesktopWidget.cpp delete mode 100644 qtjava/javalib/qtjava/QDesktopWidget.h delete mode 100644 qtjava/javalib/qtjava/QDial.cpp delete mode 100644 qtjava/javalib/qtjava/QDial.h delete mode 100644 qtjava/javalib/qtjava/QDialog.cpp delete mode 100644 qtjava/javalib/qtjava/QDialog.h delete mode 100644 qtjava/javalib/qtjava/QDir.cpp delete mode 100644 qtjava/javalib/qtjava/QDir.h delete mode 100644 qtjava/javalib/qtjava/QDockArea.cpp delete mode 100644 qtjava/javalib/qtjava/QDockArea.h delete mode 100644 qtjava/javalib/qtjava/QDockWindow.cpp delete mode 100644 qtjava/javalib/qtjava/QDockWindow.h delete mode 100644 qtjava/javalib/qtjava/QDomAttr.cpp delete mode 100644 qtjava/javalib/qtjava/QDomAttr.h delete mode 100644 qtjava/javalib/qtjava/QDomCDATASection.cpp delete mode 100644 qtjava/javalib/qtjava/QDomCDATASection.h delete mode 100644 qtjava/javalib/qtjava/QDomCharacterData.cpp delete mode 100644 qtjava/javalib/qtjava/QDomCharacterData.h delete mode 100644 qtjava/javalib/qtjava/QDomComment.cpp delete mode 100644 qtjava/javalib/qtjava/QDomComment.h delete mode 100644 qtjava/javalib/qtjava/QDomDocument.cpp delete mode 100644 qtjava/javalib/qtjava/QDomDocument.h delete mode 100644 qtjava/javalib/qtjava/QDomDocumentFragment.cpp delete mode 100644 qtjava/javalib/qtjava/QDomDocumentFragment.h delete mode 100644 qtjava/javalib/qtjava/QDomDocumentType.cpp delete mode 100644 qtjava/javalib/qtjava/QDomDocumentType.h delete mode 100644 qtjava/javalib/qtjava/QDomElement.cpp delete mode 100644 qtjava/javalib/qtjava/QDomElement.h delete mode 100644 qtjava/javalib/qtjava/QDomEntity.cpp delete mode 100644 qtjava/javalib/qtjava/QDomEntity.h delete mode 100644 qtjava/javalib/qtjava/QDomEntityReference.cpp delete mode 100644 qtjava/javalib/qtjava/QDomEntityReference.h delete mode 100644 qtjava/javalib/qtjava/QDomImplementation.cpp delete mode 100644 qtjava/javalib/qtjava/QDomImplementation.h delete mode 100644 qtjava/javalib/qtjava/QDomNamedNodeMap.cpp delete mode 100644 qtjava/javalib/qtjava/QDomNamedNodeMap.h delete mode 100644 qtjava/javalib/qtjava/QDomNode.cpp delete mode 100644 qtjava/javalib/qtjava/QDomNode.h delete mode 100644 qtjava/javalib/qtjava/QDomNotation.cpp delete mode 100644 qtjava/javalib/qtjava/QDomNotation.h delete mode 100644 qtjava/javalib/qtjava/QDomProcessingInstruction.cpp delete mode 100644 qtjava/javalib/qtjava/QDomProcessingInstruction.h delete mode 100644 qtjava/javalib/qtjava/QDomText.cpp delete mode 100644 qtjava/javalib/qtjava/QDomText.h delete mode 100644 qtjava/javalib/qtjava/QDoubleValidator.cpp delete mode 100644 qtjava/javalib/qtjava/QDoubleValidator.h delete mode 100644 qtjava/javalib/qtjava/QDragEnterEvent.cpp delete mode 100644 qtjava/javalib/qtjava/QDragEnterEvent.h delete mode 100644 qtjava/javalib/qtjava/QDragLeaveEvent.cpp delete mode 100644 qtjava/javalib/qtjava/QDragLeaveEvent.h delete mode 100644 qtjava/javalib/qtjava/QDragManager.cpp delete mode 100644 qtjava/javalib/qtjava/QDragManager.h delete mode 100644 qtjava/javalib/qtjava/QDragMoveEvent.cpp delete mode 100644 qtjava/javalib/qtjava/QDragMoveEvent.h delete mode 100644 qtjava/javalib/qtjava/QDragObject.cpp delete mode 100644 qtjava/javalib/qtjava/QDragObject.h delete mode 100644 qtjava/javalib/qtjava/QDragResponseEvent.cpp delete mode 100644 qtjava/javalib/qtjava/QDragResponseEvent.h delete mode 100644 qtjava/javalib/qtjava/QDropEvent.cpp delete mode 100644 qtjava/javalib/qtjava/QDropEvent.h delete mode 100644 qtjava/javalib/qtjava/QDropSite.cpp delete mode 100644 qtjava/javalib/qtjava/QDropSite.h delete mode 100644 qtjava/javalib/qtjava/QEditorFactory.cpp delete mode 100644 qtjava/javalib/qtjava/QEditorFactory.h delete mode 100644 qtjava/javalib/qtjava/QErrorMessage.cpp delete mode 100644 qtjava/javalib/qtjava/QErrorMessage.h delete mode 100644 qtjava/javalib/qtjava/QEucJpCodec.cpp delete mode 100644 qtjava/javalib/qtjava/QEucJpCodec.h delete mode 100644 qtjava/javalib/qtjava/QEucKrCodec.cpp delete mode 100644 qtjava/javalib/qtjava/QEucKrCodec.h delete mode 100644 qtjava/javalib/qtjava/QEvent.cpp delete mode 100644 qtjava/javalib/qtjava/QEvent.h delete mode 100644 qtjava/javalib/qtjava/QEventLoop.cpp delete mode 100644 qtjava/javalib/qtjava/QEventLoop.h delete mode 100644 qtjava/javalib/qtjava/QFile.cpp delete mode 100644 qtjava/javalib/qtjava/QFile.h delete mode 100644 qtjava/javalib/qtjava/QFileDialog.cpp delete mode 100644 qtjava/javalib/qtjava/QFileDialog.h delete mode 100644 qtjava/javalib/qtjava/QFileIconProvider.cpp delete mode 100644 qtjava/javalib/qtjava/QFileIconProvider.h delete mode 100644 qtjava/javalib/qtjava/QFileInfo.cpp delete mode 100644 qtjava/javalib/qtjava/QFileInfo.h delete mode 100644 qtjava/javalib/qtjava/QFilePreview.cpp delete mode 100644 qtjava/javalib/qtjava/QFilePreview.h delete mode 100644 qtjava/javalib/qtjava/QFocusData.cpp delete mode 100644 qtjava/javalib/qtjava/QFocusData.h delete mode 100644 qtjava/javalib/qtjava/QFocusEvent.cpp delete mode 100644 qtjava/javalib/qtjava/QFocusEvent.h delete mode 100644 qtjava/javalib/qtjava/QFont.cpp delete mode 100644 qtjava/javalib/qtjava/QFont.h delete mode 100644 qtjava/javalib/qtjava/QFontDatabase.cpp delete mode 100644 qtjava/javalib/qtjava/QFontDatabase.h delete mode 100644 qtjava/javalib/qtjava/QFontDialog.cpp delete mode 100644 qtjava/javalib/qtjava/QFontDialog.h delete mode 100644 qtjava/javalib/qtjava/QFontInfo.cpp delete mode 100644 qtjava/javalib/qtjava/QFontInfo.h delete mode 100644 qtjava/javalib/qtjava/QFontMetrics.cpp delete mode 100644 qtjava/javalib/qtjava/QFontMetrics.h delete mode 100644 qtjava/javalib/qtjava/QFrame.cpp delete mode 100644 qtjava/javalib/qtjava/QFrame.h delete mode 100644 qtjava/javalib/qtjava/QFtp.cpp delete mode 100644 qtjava/javalib/qtjava/QFtp.h delete mode 100644 qtjava/javalib/qtjava/QGL.cpp delete mode 100644 qtjava/javalib/qtjava/QGL.h delete mode 100644 qtjava/javalib/qtjava/QGLColormap.cpp delete mode 100644 qtjava/javalib/qtjava/QGLColormap.h delete mode 100644 qtjava/javalib/qtjava/QGLContext.cpp delete mode 100644 qtjava/javalib/qtjava/QGLContext.h delete mode 100644 qtjava/javalib/qtjava/QGLFormat.cpp delete mode 100644 qtjava/javalib/qtjava/QGLFormat.h delete mode 100644 qtjava/javalib/qtjava/QGLWidget.cpp delete mode 100644 qtjava/javalib/qtjava/QGLWidget.h delete mode 100644 qtjava/javalib/qtjava/QGb18030Codec.cpp delete mode 100644 qtjava/javalib/qtjava/QGb18030Codec.h delete mode 100644 qtjava/javalib/qtjava/QGrid.cpp delete mode 100644 qtjava/javalib/qtjava/QGrid.h delete mode 100644 qtjava/javalib/qtjava/QGridLayout.cpp delete mode 100644 qtjava/javalib/qtjava/QGridLayout.h delete mode 100644 qtjava/javalib/qtjava/QGridView.cpp delete mode 100644 qtjava/javalib/qtjava/QGridView.h delete mode 100644 qtjava/javalib/qtjava/QGroupBox.cpp delete mode 100644 qtjava/javalib/qtjava/QGroupBox.h delete mode 100644 qtjava/javalib/qtjava/QHBox.cpp delete mode 100644 qtjava/javalib/qtjava/QHBox.h delete mode 100644 qtjava/javalib/qtjava/QHBoxLayout.cpp delete mode 100644 qtjava/javalib/qtjava/QHBoxLayout.h delete mode 100644 qtjava/javalib/qtjava/QHButtonGroup.cpp delete mode 100644 qtjava/javalib/qtjava/QHButtonGroup.h delete mode 100644 qtjava/javalib/qtjava/QHGroupBox.cpp delete mode 100644 qtjava/javalib/qtjava/QHGroupBox.h delete mode 100644 qtjava/javalib/qtjava/QHeader.cpp delete mode 100644 qtjava/javalib/qtjava/QHeader.h delete mode 100644 qtjava/javalib/qtjava/QHebrewCodec.cpp delete mode 100644 qtjava/javalib/qtjava/QHebrewCodec.h delete mode 100644 qtjava/javalib/qtjava/QHideEvent.cpp delete mode 100644 qtjava/javalib/qtjava/QHideEvent.h delete mode 100644 qtjava/javalib/qtjava/QHostAddress.cpp delete mode 100644 qtjava/javalib/qtjava/QHostAddress.h delete mode 100644 qtjava/javalib/qtjava/QHttp.cpp delete mode 100644 qtjava/javalib/qtjava/QHttp.h delete mode 100644 qtjava/javalib/qtjava/QHttpHeader.cpp delete mode 100644 qtjava/javalib/qtjava/QHttpHeader.h delete mode 100644 qtjava/javalib/qtjava/QHttpRequestHeader.cpp delete mode 100644 qtjava/javalib/qtjava/QHttpRequestHeader.h delete mode 100644 qtjava/javalib/qtjava/QHttpResponseHeader.cpp delete mode 100644 qtjava/javalib/qtjava/QHttpResponseHeader.h delete mode 100644 qtjava/javalib/qtjava/QIMEvent.cpp delete mode 100644 qtjava/javalib/qtjava/QIMEvent.h delete mode 100644 qtjava/javalib/qtjava/QIODevice.cpp delete mode 100644 qtjava/javalib/qtjava/QIODevice.h delete mode 100644 qtjava/javalib/qtjava/QIODeviceSource.cpp delete mode 100644 qtjava/javalib/qtjava/QIODeviceSource.h delete mode 100644 qtjava/javalib/qtjava/QIconDrag.cpp delete mode 100644 qtjava/javalib/qtjava/QIconDrag.h delete mode 100644 qtjava/javalib/qtjava/QIconDragItem.cpp delete mode 100644 qtjava/javalib/qtjava/QIconDragItem.h delete mode 100644 qtjava/javalib/qtjava/QIconSet.cpp delete mode 100644 qtjava/javalib/qtjava/QIconSet.h delete mode 100644 qtjava/javalib/qtjava/QIconView.cpp delete mode 100644 qtjava/javalib/qtjava/QIconView.h delete mode 100644 qtjava/javalib/qtjava/QIconViewItem.cpp delete mode 100644 qtjava/javalib/qtjava/QIconViewItem.h delete mode 100644 qtjava/javalib/qtjava/QImage.cpp delete mode 100644 qtjava/javalib/qtjava/QImage.h delete mode 100644 qtjava/javalib/qtjava/QImageConsumer.cpp delete mode 100644 qtjava/javalib/qtjava/QImageConsumer.h delete mode 100644 qtjava/javalib/qtjava/QImageDecoder.cpp delete mode 100644 qtjava/javalib/qtjava/QImageDecoder.h delete mode 100644 qtjava/javalib/qtjava/QImageDrag.cpp delete mode 100644 qtjava/javalib/qtjava/QImageDrag.h delete mode 100644 qtjava/javalib/qtjava/QImageFormat.cpp delete mode 100644 qtjava/javalib/qtjava/QImageFormat.h delete mode 100644 qtjava/javalib/qtjava/QImageFormatType.cpp delete mode 100644 qtjava/javalib/qtjava/QImageFormatType.h delete mode 100644 qtjava/javalib/qtjava/QImageIO.cpp delete mode 100644 qtjava/javalib/qtjava/QImageIO.h delete mode 100644 qtjava/javalib/qtjava/QImageTextKeyLang.cpp delete mode 100644 qtjava/javalib/qtjava/QImageTextKeyLang.h delete mode 100644 qtjava/javalib/qtjava/QInputDialog.cpp delete mode 100644 qtjava/javalib/qtjava/QInputDialog.h delete mode 100644 qtjava/javalib/qtjava/QIntValidator.cpp delete mode 100644 qtjava/javalib/qtjava/QIntValidator.h delete mode 100644 qtjava/javalib/qtjava/QJisCodec.cpp delete mode 100644 qtjava/javalib/qtjava/QJisCodec.h delete mode 100644 qtjava/javalib/qtjava/QJpUnicodeConv.cpp delete mode 100644 qtjava/javalib/qtjava/QJpUnicodeConv.h delete mode 100644 qtjava/javalib/qtjava/QKeyEvent.cpp delete mode 100644 qtjava/javalib/qtjava/QKeyEvent.h delete mode 100644 qtjava/javalib/qtjava/QKeySequence.cpp delete mode 100644 qtjava/javalib/qtjava/QKeySequence.h delete mode 100644 qtjava/javalib/qtjava/QLCDNumber.cpp delete mode 100644 qtjava/javalib/qtjava/QLCDNumber.h delete mode 100644 qtjava/javalib/qtjava/QLabel.cpp delete mode 100644 qtjava/javalib/qtjava/QLabel.h delete mode 100644 qtjava/javalib/qtjava/QLayout.cpp delete mode 100644 qtjava/javalib/qtjava/QLayout.h delete mode 100644 qtjava/javalib/qtjava/QLayoutItem.cpp delete mode 100644 qtjava/javalib/qtjava/QLayoutItem.h delete mode 100644 qtjava/javalib/qtjava/QLibrary.cpp delete mode 100644 qtjava/javalib/qtjava/QLibrary.h delete mode 100644 qtjava/javalib/qtjava/QLineEdit.cpp delete mode 100644 qtjava/javalib/qtjava/QLineEdit.h delete mode 100644 qtjava/javalib/qtjava/QListBox.cpp delete mode 100644 qtjava/javalib/qtjava/QListBox.h delete mode 100644 qtjava/javalib/qtjava/QListBoxItem.cpp delete mode 100644 qtjava/javalib/qtjava/QListBoxItem.h delete mode 100644 qtjava/javalib/qtjava/QListBoxPixmap.cpp delete mode 100644 qtjava/javalib/qtjava/QListBoxPixmap.h delete mode 100644 qtjava/javalib/qtjava/QListBoxText.cpp delete mode 100644 qtjava/javalib/qtjava/QListBoxText.h delete mode 100644 qtjava/javalib/qtjava/QListView.cpp delete mode 100644 qtjava/javalib/qtjava/QListView.h delete mode 100644 qtjava/javalib/qtjava/QListViewItem.cpp delete mode 100644 qtjava/javalib/qtjava/QListViewItem.h delete mode 100644 qtjava/javalib/qtjava/QLocalFs.cpp delete mode 100644 qtjava/javalib/qtjava/QLocalFs.h delete mode 100644 qtjava/javalib/qtjava/QMainWindow.cpp delete mode 100644 qtjava/javalib/qtjava/QMainWindow.h delete mode 100644 qtjava/javalib/qtjava/QMenuBar.cpp delete mode 100644 qtjava/javalib/qtjava/QMenuBar.h delete mode 100644 qtjava/javalib/qtjava/QMenuData.cpp delete mode 100644 qtjava/javalib/qtjava/QMenuData.h delete mode 100644 qtjava/javalib/qtjava/QMenuItem.cpp delete mode 100644 qtjava/javalib/qtjava/QMenuItem.h delete mode 100644 qtjava/javalib/qtjava/QMessageBox.cpp delete mode 100644 qtjava/javalib/qtjava/QMessageBox.h delete mode 100644 qtjava/javalib/qtjava/QMetaData.cpp delete mode 100644 qtjava/javalib/qtjava/QMetaData.h delete mode 100644 qtjava/javalib/qtjava/QMetaEnum.cpp delete mode 100644 qtjava/javalib/qtjava/QMetaEnum.h delete mode 100644 qtjava/javalib/qtjava/QMetaObject.cpp delete mode 100644 qtjava/javalib/qtjava/QMetaObject.h delete mode 100644 qtjava/javalib/qtjava/QMetaProperty.cpp delete mode 100644 qtjava/javalib/qtjava/QMetaProperty.h delete mode 100644 qtjava/javalib/qtjava/QMimeSource.cpp delete mode 100644 qtjava/javalib/qtjava/QMimeSource.h delete mode 100644 qtjava/javalib/qtjava/QMimeSourceFactory.cpp delete mode 100644 qtjava/javalib/qtjava/QMimeSourceFactory.h delete mode 100644 qtjava/javalib/qtjava/QMouseEvent.cpp delete mode 100644 qtjava/javalib/qtjava/QMouseEvent.h delete mode 100644 qtjava/javalib/qtjava/QMoveEvent.cpp delete mode 100644 qtjava/javalib/qtjava/QMoveEvent.h delete mode 100644 qtjava/javalib/qtjava/QMovie.cpp delete mode 100644 qtjava/javalib/qtjava/QMovie.h delete mode 100644 qtjava/javalib/qtjava/QMultiLineEdit.cpp delete mode 100644 qtjava/javalib/qtjava/QMultiLineEdit.h delete mode 100644 qtjava/javalib/qtjava/QNetworkOperation.cpp delete mode 100644 qtjava/javalib/qtjava/QNetworkOperation.h delete mode 100644 qtjava/javalib/qtjava/QNetworkProtocol.cpp delete mode 100644 qtjava/javalib/qtjava/QNetworkProtocol.h delete mode 100644 qtjava/javalib/qtjava/QObject.cpp delete mode 100644 qtjava/javalib/qtjava/QObject.h delete mode 100644 qtjava/javalib/qtjava/QObjectCleanupHandler.cpp delete mode 100644 qtjava/javalib/qtjava/QObjectCleanupHandler.h delete mode 100644 qtjava/javalib/qtjava/QPaintDevice.cpp delete mode 100644 qtjava/javalib/qtjava/QPaintDevice.h delete mode 100644 qtjava/javalib/qtjava/QPaintDeviceMetrics.cpp delete mode 100644 qtjava/javalib/qtjava/QPaintDeviceMetrics.h delete mode 100644 qtjava/javalib/qtjava/QPaintEvent.cpp delete mode 100644 qtjava/javalib/qtjava/QPaintEvent.h delete mode 100644 qtjava/javalib/qtjava/QPainter.cpp delete mode 100644 qtjava/javalib/qtjava/QPainter.h delete mode 100644 qtjava/javalib/qtjava/QPalette.cpp delete mode 100644 qtjava/javalib/qtjava/QPalette.h delete mode 100644 qtjava/javalib/qtjava/QPen.cpp delete mode 100644 qtjava/javalib/qtjava/QPen.h delete mode 100644 qtjava/javalib/qtjava/QPicture.cpp delete mode 100644 qtjava/javalib/qtjava/QPicture.h delete mode 100644 qtjava/javalib/qtjava/QPixmap.cpp delete mode 100644 qtjava/javalib/qtjava/QPixmap.h delete mode 100644 qtjava/javalib/qtjava/QPoint.cpp delete mode 100644 qtjava/javalib/qtjava/QPoint.h delete mode 100644 qtjava/javalib/qtjava/QPointArray.cpp delete mode 100644 qtjava/javalib/qtjava/QPointArray.h delete mode 100644 qtjava/javalib/qtjava/QPolygonScanner.cpp delete mode 100644 qtjava/javalib/qtjava/QPolygonScanner.h delete mode 100644 qtjava/javalib/qtjava/QPopupMenu.cpp delete mode 100644 qtjava/javalib/qtjava/QPopupMenu.h delete mode 100644 qtjava/javalib/qtjava/QPrintDialog.cpp delete mode 100644 qtjava/javalib/qtjava/QPrintDialog.h delete mode 100644 qtjava/javalib/qtjava/QPrinter.cpp delete mode 100644 qtjava/javalib/qtjava/QPrinter.h delete mode 100644 qtjava/javalib/qtjava/QProcess.cpp delete mode 100644 qtjava/javalib/qtjava/QProcess.h delete mode 100644 qtjava/javalib/qtjava/QProgressBar.cpp delete mode 100644 qtjava/javalib/qtjava/QProgressBar.h delete mode 100644 qtjava/javalib/qtjava/QProgressDialog.cpp delete mode 100644 qtjava/javalib/qtjava/QProgressDialog.h delete mode 100644 qtjava/javalib/qtjava/QPushButton.cpp delete mode 100644 qtjava/javalib/qtjava/QPushButton.h delete mode 100644 qtjava/javalib/qtjava/QRadioButton.cpp delete mode 100644 qtjava/javalib/qtjava/QRadioButton.h delete mode 100644 qtjava/javalib/qtjava/QRangeControl.cpp delete mode 100644 qtjava/javalib/qtjava/QRangeControl.h delete mode 100644 qtjava/javalib/qtjava/QRect.cpp delete mode 100644 qtjava/javalib/qtjava/QRect.h delete mode 100644 qtjava/javalib/qtjava/QRegExp.cpp delete mode 100644 qtjava/javalib/qtjava/QRegExp.h delete mode 100644 qtjava/javalib/qtjava/QRegExpValidator.cpp delete mode 100644 qtjava/javalib/qtjava/QRegExpValidator.h delete mode 100644 qtjava/javalib/qtjava/QRegion.cpp delete mode 100644 qtjava/javalib/qtjava/QRegion.h delete mode 100644 qtjava/javalib/qtjava/QResizeEvent.cpp delete mode 100644 qtjava/javalib/qtjava/QResizeEvent.h delete mode 100644 qtjava/javalib/qtjava/QScrollBar.cpp delete mode 100644 qtjava/javalib/qtjava/QScrollBar.h delete mode 100644 qtjava/javalib/qtjava/QScrollView.cpp delete mode 100644 qtjava/javalib/qtjava/QScrollView.h delete mode 100644 qtjava/javalib/qtjava/QSemiModal.cpp delete mode 100644 qtjava/javalib/qtjava/QSemiModal.h delete mode 100644 qtjava/javalib/qtjava/QServerSocket.cpp delete mode 100644 qtjava/javalib/qtjava/QServerSocket.h delete mode 100644 qtjava/javalib/qtjava/QSessionManager.cpp delete mode 100644 qtjava/javalib/qtjava/QSessionManager.h delete mode 100644 qtjava/javalib/qtjava/QSettings.cpp delete mode 100644 qtjava/javalib/qtjava/QSettings.h delete mode 100644 qtjava/javalib/qtjava/QShowEvent.cpp delete mode 100644 qtjava/javalib/qtjava/QShowEvent.h delete mode 100644 qtjava/javalib/qtjava/QSignal.cpp delete mode 100644 qtjava/javalib/qtjava/QSignal.h delete mode 100644 qtjava/javalib/qtjava/QSignalMapper.cpp delete mode 100644 qtjava/javalib/qtjava/QSignalMapper.h delete mode 100644 qtjava/javalib/qtjava/QSimpleRichText.cpp delete mode 100644 qtjava/javalib/qtjava/QSimpleRichText.h delete mode 100644 qtjava/javalib/qtjava/QSize.cpp delete mode 100644 qtjava/javalib/qtjava/QSize.h delete mode 100644 qtjava/javalib/qtjava/QSizeGrip.cpp delete mode 100644 qtjava/javalib/qtjava/QSizeGrip.h delete mode 100644 qtjava/javalib/qtjava/QSizePolicy.cpp delete mode 100644 qtjava/javalib/qtjava/QSizePolicy.h delete mode 100644 qtjava/javalib/qtjava/QSjisCodec.cpp delete mode 100644 qtjava/javalib/qtjava/QSjisCodec.h delete mode 100644 qtjava/javalib/qtjava/QSlider.cpp delete mode 100644 qtjava/javalib/qtjava/QSlider.h delete mode 100644 qtjava/javalib/qtjava/QSocket.cpp delete mode 100644 qtjava/javalib/qtjava/QSocket.h delete mode 100644 qtjava/javalib/qtjava/QSocketDevice.cpp delete mode 100644 qtjava/javalib/qtjava/QSocketDevice.h delete mode 100644 qtjava/javalib/qtjava/QSocketNotifier.cpp delete mode 100644 qtjava/javalib/qtjava/QSocketNotifier.h delete mode 100644 qtjava/javalib/qtjava/QSound.cpp delete mode 100644 qtjava/javalib/qtjava/QSound.h delete mode 100644 qtjava/javalib/qtjava/QSpacerItem.cpp delete mode 100644 qtjava/javalib/qtjava/QSpacerItem.h delete mode 100644 qtjava/javalib/qtjava/QSpinBox.cpp delete mode 100644 qtjava/javalib/qtjava/QSpinBox.h delete mode 100644 qtjava/javalib/qtjava/QSpinWidget.cpp delete mode 100644 qtjava/javalib/qtjava/QSpinWidget.h delete mode 100644 qtjava/javalib/qtjava/QSplashScreen.cpp delete mode 100644 qtjava/javalib/qtjava/QSplashScreen.h delete mode 100644 qtjava/javalib/qtjava/QSplitter.cpp delete mode 100644 qtjava/javalib/qtjava/QSplitter.h delete mode 100644 qtjava/javalib/qtjava/QSql.cpp delete mode 100644 qtjava/javalib/qtjava/QSql.h delete mode 100644 qtjava/javalib/qtjava/QSqlCursor.cpp delete mode 100644 qtjava/javalib/qtjava/QSqlCursor.h delete mode 100644 qtjava/javalib/qtjava/QSqlDatabase.cpp delete mode 100644 qtjava/javalib/qtjava/QSqlDatabase.h delete mode 100644 qtjava/javalib/qtjava/QSqlDriver.cpp delete mode 100644 qtjava/javalib/qtjava/QSqlDriver.h delete mode 100644 qtjava/javalib/qtjava/QSqlEditorFactory.cpp delete mode 100644 qtjava/javalib/qtjava/QSqlEditorFactory.h delete mode 100644 qtjava/javalib/qtjava/QSqlError.cpp delete mode 100644 qtjava/javalib/qtjava/QSqlError.h delete mode 100644 qtjava/javalib/qtjava/QSqlField.cpp delete mode 100644 qtjava/javalib/qtjava/QSqlField.h delete mode 100644 qtjava/javalib/qtjava/QSqlFieldInfo.cpp delete mode 100644 qtjava/javalib/qtjava/QSqlFieldInfo.h delete mode 100644 qtjava/javalib/qtjava/QSqlForm.cpp delete mode 100644 qtjava/javalib/qtjava/QSqlForm.h delete mode 100644 qtjava/javalib/qtjava/QSqlIndex.cpp delete mode 100644 qtjava/javalib/qtjava/QSqlIndex.h delete mode 100644 qtjava/javalib/qtjava/QSqlPropertyMap.cpp delete mode 100644 qtjava/javalib/qtjava/QSqlPropertyMap.h delete mode 100644 qtjava/javalib/qtjava/QSqlQuery.cpp delete mode 100644 qtjava/javalib/qtjava/QSqlQuery.h delete mode 100644 qtjava/javalib/qtjava/QSqlRecord.cpp delete mode 100644 qtjava/javalib/qtjava/QSqlRecord.h delete mode 100644 qtjava/javalib/qtjava/QSqlResult.cpp delete mode 100644 qtjava/javalib/qtjava/QSqlResult.h delete mode 100644 qtjava/javalib/qtjava/QStatusBar.cpp delete mode 100644 qtjava/javalib/qtjava/QStatusBar.h delete mode 100644 qtjava/javalib/qtjava/QStoredDrag.cpp delete mode 100644 qtjava/javalib/qtjava/QStoredDrag.h delete mode 100644 qtjava/javalib/qtjava/QStyle.cpp delete mode 100644 qtjava/javalib/qtjava/QStyle.h delete mode 100644 qtjava/javalib/qtjava/QStyleFactory.cpp delete mode 100644 qtjava/javalib/qtjava/QStyleFactory.h delete mode 100644 qtjava/javalib/qtjava/QStyleOption.cpp delete mode 100644 qtjava/javalib/qtjava/QStyleOption.h delete mode 100644 qtjava/javalib/qtjava/QStyleSheet.cpp delete mode 100644 qtjava/javalib/qtjava/QStyleSheet.h delete mode 100644 qtjava/javalib/qtjava/QStyleSheetItem.cpp delete mode 100644 qtjava/javalib/qtjava/QStyleSheetItem.h delete mode 100644 qtjava/javalib/qtjava/QSyntaxHighlighter.cpp delete mode 100644 qtjava/javalib/qtjava/QSyntaxHighlighter.h delete mode 100644 qtjava/javalib/qtjava/QTab.cpp delete mode 100644 qtjava/javalib/qtjava/QTab.h delete mode 100644 qtjava/javalib/qtjava/QTabBar.cpp delete mode 100644 qtjava/javalib/qtjava/QTabBar.h delete mode 100644 qtjava/javalib/qtjava/QTabDialog.cpp delete mode 100644 qtjava/javalib/qtjava/QTabDialog.h delete mode 100644 qtjava/javalib/qtjava/QTabWidget.cpp delete mode 100644 qtjava/javalib/qtjava/QTabWidget.h delete mode 100644 qtjava/javalib/qtjava/QTable.cpp delete mode 100644 qtjava/javalib/qtjava/QTable.h delete mode 100644 qtjava/javalib/qtjava/QTableItem.cpp delete mode 100644 qtjava/javalib/qtjava/QTableItem.h delete mode 100644 qtjava/javalib/qtjava/QTableSelection.cpp delete mode 100644 qtjava/javalib/qtjava/QTableSelection.h delete mode 100644 qtjava/javalib/qtjava/QTabletEvent.cpp delete mode 100644 qtjava/javalib/qtjava/QTabletEvent.h delete mode 100644 qtjava/javalib/qtjava/QTextBrowser.cpp delete mode 100644 qtjava/javalib/qtjava/QTextBrowser.h delete mode 100644 qtjava/javalib/qtjava/QTextCodec.cpp delete mode 100644 qtjava/javalib/qtjava/QTextCodec.h delete mode 100644 qtjava/javalib/qtjava/QTextDecoder.cpp delete mode 100644 qtjava/javalib/qtjava/QTextDecoder.h delete mode 100644 qtjava/javalib/qtjava/QTextDrag.cpp delete mode 100644 qtjava/javalib/qtjava/QTextDrag.h delete mode 100644 qtjava/javalib/qtjava/QTextEdit.cpp delete mode 100644 qtjava/javalib/qtjava/QTextEdit.h delete mode 100644 qtjava/javalib/qtjava/QTextEncoder.cpp delete mode 100644 qtjava/javalib/qtjava/QTextEncoder.h delete mode 100644 qtjava/javalib/qtjava/QTextIStream.cpp delete mode 100644 qtjava/javalib/qtjava/QTextIStream.h delete mode 100644 qtjava/javalib/qtjava/QTextOStream.cpp delete mode 100644 qtjava/javalib/qtjava/QTextOStream.h delete mode 100644 qtjava/javalib/qtjava/QTextStream.cpp delete mode 100644 qtjava/javalib/qtjava/QTextStream.h delete mode 100644 qtjava/javalib/qtjava/QTextView.cpp delete mode 100644 qtjava/javalib/qtjava/QTextView.h delete mode 100644 qtjava/javalib/qtjava/QTimeEdit.cpp delete mode 100644 qtjava/javalib/qtjava/QTimeEdit.h delete mode 100644 qtjava/javalib/qtjava/QTimer.cpp delete mode 100644 qtjava/javalib/qtjava/QTimer.h delete mode 100644 qtjava/javalib/qtjava/QTimerEvent.cpp delete mode 100644 qtjava/javalib/qtjava/QTimerEvent.h delete mode 100644 qtjava/javalib/qtjava/QToolBar.cpp delete mode 100644 qtjava/javalib/qtjava/QToolBar.h delete mode 100644 qtjava/javalib/qtjava/QToolBox.cpp delete mode 100644 qtjava/javalib/qtjava/QToolBox.h delete mode 100644 qtjava/javalib/qtjava/QToolButton.cpp delete mode 100644 qtjava/javalib/qtjava/QToolButton.h delete mode 100644 qtjava/javalib/qtjava/QToolTip.cpp delete mode 100644 qtjava/javalib/qtjava/QToolTip.h delete mode 100644 qtjava/javalib/qtjava/QToolTipGroup.cpp delete mode 100644 qtjava/javalib/qtjava/QToolTipGroup.h delete mode 100644 qtjava/javalib/qtjava/QTranslator.cpp delete mode 100644 qtjava/javalib/qtjava/QTranslator.h delete mode 100644 qtjava/javalib/qtjava/QTranslatorMessage.cpp delete mode 100644 qtjava/javalib/qtjava/QTranslatorMessage.h delete mode 100644 qtjava/javalib/qtjava/QTsciiCodec.cpp delete mode 100644 qtjava/javalib/qtjava/QTsciiCodec.h delete mode 100644 qtjava/javalib/qtjava/QUriDrag.cpp delete mode 100644 qtjava/javalib/qtjava/QUriDrag.h delete mode 100644 qtjava/javalib/qtjava/QUrl.cpp delete mode 100644 qtjava/javalib/qtjava/QUrl.h delete mode 100644 qtjava/javalib/qtjava/QUrlInfo.cpp delete mode 100644 qtjava/javalib/qtjava/QUrlInfo.h delete mode 100644 qtjava/javalib/qtjava/QUrlOperator.cpp delete mode 100644 qtjava/javalib/qtjava/QUrlOperator.h delete mode 100644 qtjava/javalib/qtjava/QUtf16Codec.cpp delete mode 100644 qtjava/javalib/qtjava/QUtf16Codec.h delete mode 100644 qtjava/javalib/qtjava/QUtf8Codec.cpp delete mode 100644 qtjava/javalib/qtjava/QUtf8Codec.h delete mode 100644 qtjava/javalib/qtjava/QUuid.cpp delete mode 100644 qtjava/javalib/qtjava/QUuid.h delete mode 100644 qtjava/javalib/qtjava/QVBox.cpp delete mode 100644 qtjava/javalib/qtjava/QVBox.h delete mode 100644 qtjava/javalib/qtjava/QVBoxLayout.cpp delete mode 100644 qtjava/javalib/qtjava/QVBoxLayout.h delete mode 100644 qtjava/javalib/qtjava/QVButtonGroup.cpp delete mode 100644 qtjava/javalib/qtjava/QVButtonGroup.h delete mode 100644 qtjava/javalib/qtjava/QVGroupBox.cpp delete mode 100644 qtjava/javalib/qtjava/QVGroupBox.h delete mode 100644 qtjava/javalib/qtjava/QValidator.cpp delete mode 100644 qtjava/javalib/qtjava/QValidator.h delete mode 100644 qtjava/javalib/qtjava/QVariant.cpp delete mode 100644 qtjava/javalib/qtjava/QVariant.h delete mode 100644 qtjava/javalib/qtjava/QWMatrix.cpp delete mode 100644 qtjava/javalib/qtjava/QWMatrix.h delete mode 100644 qtjava/javalib/qtjava/QWhatsThis.cpp delete mode 100644 qtjava/javalib/qtjava/QWhatsThis.h delete mode 100644 qtjava/javalib/qtjava/QWheelEvent.cpp delete mode 100644 qtjava/javalib/qtjava/QWheelEvent.h delete mode 100644 qtjava/javalib/qtjava/QWidget.cpp delete mode 100644 qtjava/javalib/qtjava/QWidget.h delete mode 100644 qtjava/javalib/qtjava/QWidgetItem.cpp delete mode 100644 qtjava/javalib/qtjava/QWidgetItem.h delete mode 100644 qtjava/javalib/qtjava/QWidgetStack.cpp delete mode 100644 qtjava/javalib/qtjava/QWidgetStack.h delete mode 100644 qtjava/javalib/qtjava/QWizard.cpp delete mode 100644 qtjava/javalib/qtjava/QWizard.h delete mode 100644 qtjava/javalib/qtjava/QWorkspace.cpp delete mode 100644 qtjava/javalib/qtjava/QWorkspace.h delete mode 100644 qtjava/javalib/qtjava/QXmlAttributes.cpp delete mode 100644 qtjava/javalib/qtjava/QXmlAttributes.h delete mode 100644 qtjava/javalib/qtjava/QXmlContentHandler.cpp delete mode 100644 qtjava/javalib/qtjava/QXmlContentHandler.h delete mode 100644 qtjava/javalib/qtjava/QXmlDTDHandler.cpp delete mode 100644 qtjava/javalib/qtjava/QXmlDTDHandler.h delete mode 100644 qtjava/javalib/qtjava/QXmlDeclHandler.cpp delete mode 100644 qtjava/javalib/qtjava/QXmlDeclHandler.h delete mode 100644 qtjava/javalib/qtjava/QXmlDefaultHandler.cpp delete mode 100644 qtjava/javalib/qtjava/QXmlDefaultHandler.h delete mode 100644 qtjava/javalib/qtjava/QXmlEntityResolver.cpp delete mode 100644 qtjava/javalib/qtjava/QXmlEntityResolver.h delete mode 100644 qtjava/javalib/qtjava/QXmlErrorHandler.cpp delete mode 100644 qtjava/javalib/qtjava/QXmlErrorHandler.h delete mode 100644 qtjava/javalib/qtjava/QXmlInputSource.cpp delete mode 100644 qtjava/javalib/qtjava/QXmlInputSource.h delete mode 100644 qtjava/javalib/qtjava/QXmlLexicalHandler.cpp delete mode 100644 qtjava/javalib/qtjava/QXmlLexicalHandler.h delete mode 100644 qtjava/javalib/qtjava/QXmlLocator.cpp delete mode 100644 qtjava/javalib/qtjava/QXmlLocator.h delete mode 100644 qtjava/javalib/qtjava/QXmlNamespaceSupport.cpp delete mode 100644 qtjava/javalib/qtjava/QXmlNamespaceSupport.h delete mode 100644 qtjava/javalib/qtjava/QXmlParseException.cpp delete mode 100644 qtjava/javalib/qtjava/QXmlParseException.h delete mode 100644 qtjava/javalib/qtjava/QXmlReader.cpp delete mode 100644 qtjava/javalib/qtjava/QXmlReader.h delete mode 100644 qtjava/javalib/qtjava/QXmlSimpleReader.cpp delete mode 100644 qtjava/javalib/qtjava/QXmlSimpleReader.h create mode 100644 qtjava/javalib/qtjava/TQAccel.cpp create mode 100644 qtjava/javalib/qtjava/TQAccel.h create mode 100644 qtjava/javalib/qtjava/TQAction.cpp create mode 100644 qtjava/javalib/qtjava/TQAction.h create mode 100644 qtjava/javalib/qtjava/TQActionGroup.cpp create mode 100644 qtjava/javalib/qtjava/TQActionGroup.h create mode 100644 qtjava/javalib/qtjava/TQApplication.cpp create mode 100644 qtjava/javalib/qtjava/TQApplication.h create mode 100644 qtjava/javalib/qtjava/TQAsyncIO.cpp create mode 100644 qtjava/javalib/qtjava/TQAsyncIO.h create mode 100644 qtjava/javalib/qtjava/TQAuServer.cpp create mode 100644 qtjava/javalib/qtjava/TQAuServer.h create mode 100644 qtjava/javalib/qtjava/TQBig5Codec.cpp create mode 100644 qtjava/javalib/qtjava/TQBig5Codec.h create mode 100644 qtjava/javalib/qtjava/TQBitmap.cpp create mode 100644 qtjava/javalib/qtjava/TQBitmap.h create mode 100644 qtjava/javalib/qtjava/TQBoxLayout.cpp create mode 100644 qtjava/javalib/qtjava/TQBoxLayout.h create mode 100644 qtjava/javalib/qtjava/TQBrush.cpp create mode 100644 qtjava/javalib/qtjava/TQBrush.h create mode 100644 qtjava/javalib/qtjava/TQBuffer.cpp create mode 100644 qtjava/javalib/qtjava/TQBuffer.h create mode 100644 qtjava/javalib/qtjava/TQButton.cpp create mode 100644 qtjava/javalib/qtjava/TQButton.h create mode 100644 qtjava/javalib/qtjava/TQButtonGroup.cpp create mode 100644 qtjava/javalib/qtjava/TQButtonGroup.h create mode 100644 qtjava/javalib/qtjava/TQCanvas.cpp create mode 100644 qtjava/javalib/qtjava/TQCanvas.h create mode 100644 qtjava/javalib/qtjava/TQCanvasEllipse.cpp create mode 100644 qtjava/javalib/qtjava/TQCanvasEllipse.h create mode 100644 qtjava/javalib/qtjava/TQCanvasItem.cpp create mode 100644 qtjava/javalib/qtjava/TQCanvasItem.h create mode 100644 qtjava/javalib/qtjava/TQCanvasLine.cpp create mode 100644 qtjava/javalib/qtjava/TQCanvasLine.h create mode 100644 qtjava/javalib/qtjava/TQCanvasPixmap.cpp create mode 100644 qtjava/javalib/qtjava/TQCanvasPixmap.h create mode 100644 qtjava/javalib/qtjava/TQCanvasPixmapArray.cpp create mode 100644 qtjava/javalib/qtjava/TQCanvasPixmapArray.h create mode 100644 qtjava/javalib/qtjava/TQCanvasPolygon.cpp create mode 100644 qtjava/javalib/qtjava/TQCanvasPolygon.h create mode 100644 qtjava/javalib/qtjava/TQCanvasPolygonalItem.cpp create mode 100644 qtjava/javalib/qtjava/TQCanvasPolygonalItem.h create mode 100644 qtjava/javalib/qtjava/TQCanvasRectangle.cpp create mode 100644 qtjava/javalib/qtjava/TQCanvasRectangle.h create mode 100644 qtjava/javalib/qtjava/TQCanvasSpline.cpp create mode 100644 qtjava/javalib/qtjava/TQCanvasSpline.h create mode 100644 qtjava/javalib/qtjava/TQCanvasSprite.cpp create mode 100644 qtjava/javalib/qtjava/TQCanvasSprite.h create mode 100644 qtjava/javalib/qtjava/TQCanvasText.cpp create mode 100644 qtjava/javalib/qtjava/TQCanvasText.h create mode 100644 qtjava/javalib/qtjava/TQCanvasView.cpp create mode 100644 qtjava/javalib/qtjava/TQCanvasView.h create mode 100644 qtjava/javalib/qtjava/TQCheckBox.cpp create mode 100644 qtjava/javalib/qtjava/TQCheckBox.h create mode 100644 qtjava/javalib/qtjava/TQCheckListItem.cpp create mode 100644 qtjava/javalib/qtjava/TQCheckListItem.h create mode 100644 qtjava/javalib/qtjava/TQCheckTableItem.cpp create mode 100644 qtjava/javalib/qtjava/TQCheckTableItem.h create mode 100644 qtjava/javalib/qtjava/TQChildEvent.cpp create mode 100644 qtjava/javalib/qtjava/TQChildEvent.h create mode 100644 qtjava/javalib/qtjava/TQClassInfo.cpp create mode 100644 qtjava/javalib/qtjava/TQClassInfo.h create mode 100644 qtjava/javalib/qtjava/TQClipboard.cpp create mode 100644 qtjava/javalib/qtjava/TQClipboard.h create mode 100644 qtjava/javalib/qtjava/TQCloseEvent.cpp create mode 100644 qtjava/javalib/qtjava/TQCloseEvent.h create mode 100644 qtjava/javalib/qtjava/TQColor.cpp create mode 100644 qtjava/javalib/qtjava/TQColor.h create mode 100644 qtjava/javalib/qtjava/TQColorDialog.cpp create mode 100644 qtjava/javalib/qtjava/TQColorDialog.h create mode 100644 qtjava/javalib/qtjava/TQColorDrag.cpp create mode 100644 qtjava/javalib/qtjava/TQColorDrag.h create mode 100644 qtjava/javalib/qtjava/TQColorGroup.cpp create mode 100644 qtjava/javalib/qtjava/TQColorGroup.h create mode 100644 qtjava/javalib/qtjava/TQComboBox.cpp create mode 100644 qtjava/javalib/qtjava/TQComboBox.h create mode 100644 qtjava/javalib/qtjava/TQComboTableItem.cpp create mode 100644 qtjava/javalib/qtjava/TQComboTableItem.h create mode 100644 qtjava/javalib/qtjava/TQContextMenuEvent.cpp create mode 100644 qtjava/javalib/qtjava/TQContextMenuEvent.h create mode 100644 qtjava/javalib/qtjava/TQCursor.cpp create mode 100644 qtjava/javalib/qtjava/TQCursor.h create mode 100644 qtjava/javalib/qtjava/TQCustomEvent.cpp create mode 100644 qtjava/javalib/qtjava/TQCustomEvent.h create mode 100644 qtjava/javalib/qtjava/TQCustomMenuItem.cpp create mode 100644 qtjava/javalib/qtjava/TQCustomMenuItem.h create mode 100644 qtjava/javalib/qtjava/TQDataBrowser.cpp create mode 100644 qtjava/javalib/qtjava/TQDataBrowser.h create mode 100644 qtjava/javalib/qtjava/TQDataPump.cpp create mode 100644 qtjava/javalib/qtjava/TQDataPump.h create mode 100644 qtjava/javalib/qtjava/TQDataSink.cpp create mode 100644 qtjava/javalib/qtjava/TQDataSink.h create mode 100644 qtjava/javalib/qtjava/TQDataSource.cpp create mode 100644 qtjava/javalib/qtjava/TQDataSource.h create mode 100644 qtjava/javalib/qtjava/TQDataStream.cpp create mode 100644 qtjava/javalib/qtjava/TQDataStream.h create mode 100644 qtjava/javalib/qtjava/TQDataTable.cpp create mode 100644 qtjava/javalib/qtjava/TQDataTable.h create mode 100644 qtjava/javalib/qtjava/TQDataView.cpp create mode 100644 qtjava/javalib/qtjava/TQDataView.h create mode 100644 qtjava/javalib/qtjava/TQDateEdit.cpp create mode 100644 qtjava/javalib/qtjava/TQDateEdit.h create mode 100644 qtjava/javalib/qtjava/TQDateTimeEdit.cpp create mode 100644 qtjava/javalib/qtjava/TQDateTimeEdit.h create mode 100644 qtjava/javalib/qtjava/TQDateTimeEditBase.cpp create mode 100644 qtjava/javalib/qtjava/TQDateTimeEditBase.h create mode 100644 qtjava/javalib/qtjava/TQDesktopWidget.cpp create mode 100644 qtjava/javalib/qtjava/TQDesktopWidget.h create mode 100644 qtjava/javalib/qtjava/TQDial.cpp create mode 100644 qtjava/javalib/qtjava/TQDial.h create mode 100644 qtjava/javalib/qtjava/TQDialog.cpp create mode 100644 qtjava/javalib/qtjava/TQDialog.h create mode 100644 qtjava/javalib/qtjava/TQDir.cpp create mode 100644 qtjava/javalib/qtjava/TQDir.h create mode 100644 qtjava/javalib/qtjava/TQDockArea.cpp create mode 100644 qtjava/javalib/qtjava/TQDockArea.h create mode 100644 qtjava/javalib/qtjava/TQDockWindow.cpp create mode 100644 qtjava/javalib/qtjava/TQDockWindow.h create mode 100644 qtjava/javalib/qtjava/TQDomAttr.cpp create mode 100644 qtjava/javalib/qtjava/TQDomAttr.h create mode 100644 qtjava/javalib/qtjava/TQDomCDATASection.cpp create mode 100644 qtjava/javalib/qtjava/TQDomCDATASection.h create mode 100644 qtjava/javalib/qtjava/TQDomCharacterData.cpp create mode 100644 qtjava/javalib/qtjava/TQDomCharacterData.h create mode 100644 qtjava/javalib/qtjava/TQDomComment.cpp create mode 100644 qtjava/javalib/qtjava/TQDomComment.h create mode 100644 qtjava/javalib/qtjava/TQDomDocument.cpp create mode 100644 qtjava/javalib/qtjava/TQDomDocument.h create mode 100644 qtjava/javalib/qtjava/TQDomDocumentFragment.cpp create mode 100644 qtjava/javalib/qtjava/TQDomDocumentFragment.h create mode 100644 qtjava/javalib/qtjava/TQDomDocumentType.cpp create mode 100644 qtjava/javalib/qtjava/TQDomDocumentType.h create mode 100644 qtjava/javalib/qtjava/TQDomElement.cpp create mode 100644 qtjava/javalib/qtjava/TQDomElement.h create mode 100644 qtjava/javalib/qtjava/TQDomEntity.cpp create mode 100644 qtjava/javalib/qtjava/TQDomEntity.h create mode 100644 qtjava/javalib/qtjava/TQDomEntityReference.cpp create mode 100644 qtjava/javalib/qtjava/TQDomEntityReference.h create mode 100644 qtjava/javalib/qtjava/TQDomImplementation.cpp create mode 100644 qtjava/javalib/qtjava/TQDomImplementation.h create mode 100644 qtjava/javalib/qtjava/TQDomNamedNodeMap.cpp create mode 100644 qtjava/javalib/qtjava/TQDomNamedNodeMap.h create mode 100644 qtjava/javalib/qtjava/TQDomNode.cpp create mode 100644 qtjava/javalib/qtjava/TQDomNode.h create mode 100644 qtjava/javalib/qtjava/TQDomNotation.cpp create mode 100644 qtjava/javalib/qtjava/TQDomNotation.h create mode 100644 qtjava/javalib/qtjava/TQDomProcessingInstruction.cpp create mode 100644 qtjava/javalib/qtjava/TQDomProcessingInstruction.h create mode 100644 qtjava/javalib/qtjava/TQDomText.cpp create mode 100644 qtjava/javalib/qtjava/TQDomText.h create mode 100644 qtjava/javalib/qtjava/TQDoubleValidator.cpp create mode 100644 qtjava/javalib/qtjava/TQDoubleValidator.h create mode 100644 qtjava/javalib/qtjava/TQDragEnterEvent.cpp create mode 100644 qtjava/javalib/qtjava/TQDragEnterEvent.h create mode 100644 qtjava/javalib/qtjava/TQDragLeaveEvent.cpp create mode 100644 qtjava/javalib/qtjava/TQDragLeaveEvent.h create mode 100644 qtjava/javalib/qtjava/TQDragManager.cpp create mode 100644 qtjava/javalib/qtjava/TQDragManager.h create mode 100644 qtjava/javalib/qtjava/TQDragMoveEvent.cpp create mode 100644 qtjava/javalib/qtjava/TQDragMoveEvent.h create mode 100644 qtjava/javalib/qtjava/TQDragObject.cpp create mode 100644 qtjava/javalib/qtjava/TQDragObject.h create mode 100644 qtjava/javalib/qtjava/TQDragResponseEvent.cpp create mode 100644 qtjava/javalib/qtjava/TQDragResponseEvent.h create mode 100644 qtjava/javalib/qtjava/TQDropEvent.cpp create mode 100644 qtjava/javalib/qtjava/TQDropEvent.h create mode 100644 qtjava/javalib/qtjava/TQDropSite.cpp create mode 100644 qtjava/javalib/qtjava/TQDropSite.h create mode 100644 qtjava/javalib/qtjava/TQEditorFactory.cpp create mode 100644 qtjava/javalib/qtjava/TQEditorFactory.h create mode 100644 qtjava/javalib/qtjava/TQErrorMessage.cpp create mode 100644 qtjava/javalib/qtjava/TQErrorMessage.h create mode 100644 qtjava/javalib/qtjava/TQEucJpCodec.cpp create mode 100644 qtjava/javalib/qtjava/TQEucJpCodec.h create mode 100644 qtjava/javalib/qtjava/TQEucKrCodec.cpp create mode 100644 qtjava/javalib/qtjava/TQEucKrCodec.h create mode 100644 qtjava/javalib/qtjava/TQEvent.cpp create mode 100644 qtjava/javalib/qtjava/TQEvent.h create mode 100644 qtjava/javalib/qtjava/TQEventLoop.cpp create mode 100644 qtjava/javalib/qtjava/TQEventLoop.h create mode 100644 qtjava/javalib/qtjava/TQFile.cpp create mode 100644 qtjava/javalib/qtjava/TQFile.h create mode 100644 qtjava/javalib/qtjava/TQFileDialog.cpp create mode 100644 qtjava/javalib/qtjava/TQFileDialog.h create mode 100644 qtjava/javalib/qtjava/TQFileIconProvider.cpp create mode 100644 qtjava/javalib/qtjava/TQFileIconProvider.h create mode 100644 qtjava/javalib/qtjava/TQFileInfo.cpp create mode 100644 qtjava/javalib/qtjava/TQFileInfo.h create mode 100644 qtjava/javalib/qtjava/TQFilePreview.cpp create mode 100644 qtjava/javalib/qtjava/TQFilePreview.h create mode 100644 qtjava/javalib/qtjava/TQFocusData.cpp create mode 100644 qtjava/javalib/qtjava/TQFocusData.h create mode 100644 qtjava/javalib/qtjava/TQFocusEvent.cpp create mode 100644 qtjava/javalib/qtjava/TQFocusEvent.h create mode 100644 qtjava/javalib/qtjava/TQFont.cpp create mode 100644 qtjava/javalib/qtjava/TQFont.h create mode 100644 qtjava/javalib/qtjava/TQFontDatabase.cpp create mode 100644 qtjava/javalib/qtjava/TQFontDatabase.h create mode 100644 qtjava/javalib/qtjava/TQFontDialog.cpp create mode 100644 qtjava/javalib/qtjava/TQFontDialog.h create mode 100644 qtjava/javalib/qtjava/TQFontInfo.cpp create mode 100644 qtjava/javalib/qtjava/TQFontInfo.h create mode 100644 qtjava/javalib/qtjava/TQFontMetrics.cpp create mode 100644 qtjava/javalib/qtjava/TQFontMetrics.h create mode 100644 qtjava/javalib/qtjava/TQFrame.cpp create mode 100644 qtjava/javalib/qtjava/TQFrame.h create mode 100644 qtjava/javalib/qtjava/TQFtp.cpp create mode 100644 qtjava/javalib/qtjava/TQFtp.h create mode 100644 qtjava/javalib/qtjava/TQGL.cpp create mode 100644 qtjava/javalib/qtjava/TQGL.h create mode 100644 qtjava/javalib/qtjava/TQGLColormap.cpp create mode 100644 qtjava/javalib/qtjava/TQGLColormap.h create mode 100644 qtjava/javalib/qtjava/TQGLContext.cpp create mode 100644 qtjava/javalib/qtjava/TQGLContext.h create mode 100644 qtjava/javalib/qtjava/TQGLFormat.cpp create mode 100644 qtjava/javalib/qtjava/TQGLFormat.h create mode 100644 qtjava/javalib/qtjava/TQGLWidget.cpp create mode 100644 qtjava/javalib/qtjava/TQGLWidget.h create mode 100644 qtjava/javalib/qtjava/TQGb18030Codec.cpp create mode 100644 qtjava/javalib/qtjava/TQGb18030Codec.h create mode 100644 qtjava/javalib/qtjava/TQGrid.cpp create mode 100644 qtjava/javalib/qtjava/TQGrid.h create mode 100644 qtjava/javalib/qtjava/TQGridLayout.cpp create mode 100644 qtjava/javalib/qtjava/TQGridLayout.h create mode 100644 qtjava/javalib/qtjava/TQGridView.cpp create mode 100644 qtjava/javalib/qtjava/TQGridView.h create mode 100644 qtjava/javalib/qtjava/TQGroupBox.cpp create mode 100644 qtjava/javalib/qtjava/TQGroupBox.h create mode 100644 qtjava/javalib/qtjava/TQHBox.cpp create mode 100644 qtjava/javalib/qtjava/TQHBox.h create mode 100644 qtjava/javalib/qtjava/TQHBoxLayout.cpp create mode 100644 qtjava/javalib/qtjava/TQHBoxLayout.h create mode 100644 qtjava/javalib/qtjava/TQHButtonGroup.cpp create mode 100644 qtjava/javalib/qtjava/TQHButtonGroup.h create mode 100644 qtjava/javalib/qtjava/TQHGroupBox.cpp create mode 100644 qtjava/javalib/qtjava/TQHGroupBox.h create mode 100644 qtjava/javalib/qtjava/TQHeader.cpp create mode 100644 qtjava/javalib/qtjava/TQHeader.h create mode 100644 qtjava/javalib/qtjava/TQHebrewCodec.cpp create mode 100644 qtjava/javalib/qtjava/TQHebrewCodec.h create mode 100644 qtjava/javalib/qtjava/TQHideEvent.cpp create mode 100644 qtjava/javalib/qtjava/TQHideEvent.h create mode 100644 qtjava/javalib/qtjava/TQHostAddress.cpp create mode 100644 qtjava/javalib/qtjava/TQHostAddress.h create mode 100644 qtjava/javalib/qtjava/TQHttp.cpp create mode 100644 qtjava/javalib/qtjava/TQHttp.h create mode 100644 qtjava/javalib/qtjava/TQHttpHeader.cpp create mode 100644 qtjava/javalib/qtjava/TQHttpHeader.h create mode 100644 qtjava/javalib/qtjava/TQHttpRequestHeader.cpp create mode 100644 qtjava/javalib/qtjava/TQHttpRequestHeader.h create mode 100644 qtjava/javalib/qtjava/TQHttpResponseHeader.cpp create mode 100644 qtjava/javalib/qtjava/TQHttpResponseHeader.h create mode 100644 qtjava/javalib/qtjava/TQIMEvent.cpp create mode 100644 qtjava/javalib/qtjava/TQIMEvent.h create mode 100644 qtjava/javalib/qtjava/TQIODevice.cpp create mode 100644 qtjava/javalib/qtjava/TQIODevice.h create mode 100644 qtjava/javalib/qtjava/TQIODeviceSource.cpp create mode 100644 qtjava/javalib/qtjava/TQIODeviceSource.h create mode 100644 qtjava/javalib/qtjava/TQIconDrag.cpp create mode 100644 qtjava/javalib/qtjava/TQIconDrag.h create mode 100644 qtjava/javalib/qtjava/TQIconDragItem.cpp create mode 100644 qtjava/javalib/qtjava/TQIconDragItem.h create mode 100644 qtjava/javalib/qtjava/TQIconSet.cpp create mode 100644 qtjava/javalib/qtjava/TQIconSet.h create mode 100644 qtjava/javalib/qtjava/TQIconView.cpp create mode 100644 qtjava/javalib/qtjava/TQIconView.h create mode 100644 qtjava/javalib/qtjava/TQIconViewItem.cpp create mode 100644 qtjava/javalib/qtjava/TQIconViewItem.h create mode 100644 qtjava/javalib/qtjava/TQImage.cpp create mode 100644 qtjava/javalib/qtjava/TQImage.h create mode 100644 qtjava/javalib/qtjava/TQImageConsumer.cpp create mode 100644 qtjava/javalib/qtjava/TQImageConsumer.h create mode 100644 qtjava/javalib/qtjava/TQImageDecoder.cpp create mode 100644 qtjava/javalib/qtjava/TQImageDecoder.h create mode 100644 qtjava/javalib/qtjava/TQImageDrag.cpp create mode 100644 qtjava/javalib/qtjava/TQImageDrag.h create mode 100644 qtjava/javalib/qtjava/TQImageFormat.cpp create mode 100644 qtjava/javalib/qtjava/TQImageFormat.h create mode 100644 qtjava/javalib/qtjava/TQImageFormatType.cpp create mode 100644 qtjava/javalib/qtjava/TQImageFormatType.h create mode 100644 qtjava/javalib/qtjava/TQImageIO.cpp create mode 100644 qtjava/javalib/qtjava/TQImageIO.h create mode 100644 qtjava/javalib/qtjava/TQImageTextKeyLang.cpp create mode 100644 qtjava/javalib/qtjava/TQImageTextKeyLang.h create mode 100644 qtjava/javalib/qtjava/TQInputDialog.cpp create mode 100644 qtjava/javalib/qtjava/TQInputDialog.h create mode 100644 qtjava/javalib/qtjava/TQIntValidator.cpp create mode 100644 qtjava/javalib/qtjava/TQIntValidator.h create mode 100644 qtjava/javalib/qtjava/TQJisCodec.cpp create mode 100644 qtjava/javalib/qtjava/TQJisCodec.h create mode 100644 qtjava/javalib/qtjava/TQJpUnicodeConv.cpp create mode 100644 qtjava/javalib/qtjava/TQJpUnicodeConv.h create mode 100644 qtjava/javalib/qtjava/TQKeyEvent.cpp create mode 100644 qtjava/javalib/qtjava/TQKeyEvent.h create mode 100644 qtjava/javalib/qtjava/TQKeySequence.cpp create mode 100644 qtjava/javalib/qtjava/TQKeySequence.h create mode 100644 qtjava/javalib/qtjava/TQLCDNumber.cpp create mode 100644 qtjava/javalib/qtjava/TQLCDNumber.h create mode 100644 qtjava/javalib/qtjava/TQLabel.cpp create mode 100644 qtjava/javalib/qtjava/TQLabel.h create mode 100644 qtjava/javalib/qtjava/TQLayout.cpp create mode 100644 qtjava/javalib/qtjava/TQLayout.h create mode 100644 qtjava/javalib/qtjava/TQLayoutItem.cpp create mode 100644 qtjava/javalib/qtjava/TQLayoutItem.h create mode 100644 qtjava/javalib/qtjava/TQLibrary.cpp create mode 100644 qtjava/javalib/qtjava/TQLibrary.h create mode 100644 qtjava/javalib/qtjava/TQLineEdit.cpp create mode 100644 qtjava/javalib/qtjava/TQLineEdit.h create mode 100644 qtjava/javalib/qtjava/TQListBox.cpp create mode 100644 qtjava/javalib/qtjava/TQListBox.h create mode 100644 qtjava/javalib/qtjava/TQListBoxItem.cpp create mode 100644 qtjava/javalib/qtjava/TQListBoxItem.h create mode 100644 qtjava/javalib/qtjava/TQListBoxPixmap.cpp create mode 100644 qtjava/javalib/qtjava/TQListBoxPixmap.h create mode 100644 qtjava/javalib/qtjava/TQListBoxText.cpp create mode 100644 qtjava/javalib/qtjava/TQListBoxText.h create mode 100644 qtjava/javalib/qtjava/TQListView.cpp create mode 100644 qtjava/javalib/qtjava/TQListView.h create mode 100644 qtjava/javalib/qtjava/TQListViewItem.cpp create mode 100644 qtjava/javalib/qtjava/TQListViewItem.h create mode 100644 qtjava/javalib/qtjava/TQLocalFs.cpp create mode 100644 qtjava/javalib/qtjava/TQLocalFs.h create mode 100644 qtjava/javalib/qtjava/TQMainWindow.cpp create mode 100644 qtjava/javalib/qtjava/TQMainWindow.h create mode 100644 qtjava/javalib/qtjava/TQMenuBar.cpp create mode 100644 qtjava/javalib/qtjava/TQMenuBar.h create mode 100644 qtjava/javalib/qtjava/TQMenuData.cpp create mode 100644 qtjava/javalib/qtjava/TQMenuData.h create mode 100644 qtjava/javalib/qtjava/TQMenuItem.cpp create mode 100644 qtjava/javalib/qtjava/TQMenuItem.h create mode 100644 qtjava/javalib/qtjava/TQMessageBox.cpp create mode 100644 qtjava/javalib/qtjava/TQMessageBox.h create mode 100644 qtjava/javalib/qtjava/TQMetaData.cpp create mode 100644 qtjava/javalib/qtjava/TQMetaData.h create mode 100644 qtjava/javalib/qtjava/TQMetaEnum.cpp create mode 100644 qtjava/javalib/qtjava/TQMetaEnum.h create mode 100644 qtjava/javalib/qtjava/TQMetaObject.cpp create mode 100644 qtjava/javalib/qtjava/TQMetaObject.h create mode 100644 qtjava/javalib/qtjava/TQMetaProperty.cpp create mode 100644 qtjava/javalib/qtjava/TQMetaProperty.h create mode 100644 qtjava/javalib/qtjava/TQMimeSource.cpp create mode 100644 qtjava/javalib/qtjava/TQMimeSource.h create mode 100644 qtjava/javalib/qtjava/TQMimeSourceFactory.cpp create mode 100644 qtjava/javalib/qtjava/TQMimeSourceFactory.h create mode 100644 qtjava/javalib/qtjava/TQMouseEvent.cpp create mode 100644 qtjava/javalib/qtjava/TQMouseEvent.h create mode 100644 qtjava/javalib/qtjava/TQMoveEvent.cpp create mode 100644 qtjava/javalib/qtjava/TQMoveEvent.h create mode 100644 qtjava/javalib/qtjava/TQMovie.cpp create mode 100644 qtjava/javalib/qtjava/TQMovie.h create mode 100644 qtjava/javalib/qtjava/TQMultiLineEdit.cpp create mode 100644 qtjava/javalib/qtjava/TQMultiLineEdit.h create mode 100644 qtjava/javalib/qtjava/TQNetworkOperation.cpp create mode 100644 qtjava/javalib/qtjava/TQNetworkOperation.h create mode 100644 qtjava/javalib/qtjava/TQNetworkProtocol.cpp create mode 100644 qtjava/javalib/qtjava/TQNetworkProtocol.h create mode 100644 qtjava/javalib/qtjava/TQObject.cpp create mode 100644 qtjava/javalib/qtjava/TQObject.h create mode 100644 qtjava/javalib/qtjava/TQObjectCleanupHandler.cpp create mode 100644 qtjava/javalib/qtjava/TQObjectCleanupHandler.h create mode 100644 qtjava/javalib/qtjava/TQPaintDevice.cpp create mode 100644 qtjava/javalib/qtjava/TQPaintDevice.h create mode 100644 qtjava/javalib/qtjava/TQPaintDeviceMetrics.cpp create mode 100644 qtjava/javalib/qtjava/TQPaintDeviceMetrics.h create mode 100644 qtjava/javalib/qtjava/TQPaintEvent.cpp create mode 100644 qtjava/javalib/qtjava/TQPaintEvent.h create mode 100644 qtjava/javalib/qtjava/TQPainter.cpp create mode 100644 qtjava/javalib/qtjava/TQPainter.h create mode 100644 qtjava/javalib/qtjava/TQPalette.cpp create mode 100644 qtjava/javalib/qtjava/TQPalette.h create mode 100644 qtjava/javalib/qtjava/TQPen.cpp create mode 100644 qtjava/javalib/qtjava/TQPen.h create mode 100644 qtjava/javalib/qtjava/TQPicture.cpp create mode 100644 qtjava/javalib/qtjava/TQPicture.h create mode 100644 qtjava/javalib/qtjava/TQPixmap.cpp create mode 100644 qtjava/javalib/qtjava/TQPixmap.h create mode 100644 qtjava/javalib/qtjava/TQPoint.cpp create mode 100644 qtjava/javalib/qtjava/TQPoint.h create mode 100644 qtjava/javalib/qtjava/TQPointArray.cpp create mode 100644 qtjava/javalib/qtjava/TQPointArray.h create mode 100644 qtjava/javalib/qtjava/TQPolygonScanner.cpp create mode 100644 qtjava/javalib/qtjava/TQPolygonScanner.h create mode 100644 qtjava/javalib/qtjava/TQPopupMenu.cpp create mode 100644 qtjava/javalib/qtjava/TQPopupMenu.h create mode 100644 qtjava/javalib/qtjava/TQPrintDialog.cpp create mode 100644 qtjava/javalib/qtjava/TQPrintDialog.h create mode 100644 qtjava/javalib/qtjava/TQPrinter.cpp create mode 100644 qtjava/javalib/qtjava/TQPrinter.h create mode 100644 qtjava/javalib/qtjava/TQProcess.cpp create mode 100644 qtjava/javalib/qtjava/TQProcess.h create mode 100644 qtjava/javalib/qtjava/TQProgressBar.cpp create mode 100644 qtjava/javalib/qtjava/TQProgressBar.h create mode 100644 qtjava/javalib/qtjava/TQProgressDialog.cpp create mode 100644 qtjava/javalib/qtjava/TQProgressDialog.h create mode 100644 qtjava/javalib/qtjava/TQPushButton.cpp create mode 100644 qtjava/javalib/qtjava/TQPushButton.h create mode 100644 qtjava/javalib/qtjava/TQRadioButton.cpp create mode 100644 qtjava/javalib/qtjava/TQRadioButton.h create mode 100644 qtjava/javalib/qtjava/TQRangeControl.cpp create mode 100644 qtjava/javalib/qtjava/TQRangeControl.h create mode 100644 qtjava/javalib/qtjava/TQRect.cpp create mode 100644 qtjava/javalib/qtjava/TQRect.h create mode 100644 qtjava/javalib/qtjava/TQRegExp.cpp create mode 100644 qtjava/javalib/qtjava/TQRegExp.h create mode 100644 qtjava/javalib/qtjava/TQRegExpValidator.cpp create mode 100644 qtjava/javalib/qtjava/TQRegExpValidator.h create mode 100644 qtjava/javalib/qtjava/TQRegion.cpp create mode 100644 qtjava/javalib/qtjava/TQRegion.h create mode 100644 qtjava/javalib/qtjava/TQResizeEvent.cpp create mode 100644 qtjava/javalib/qtjava/TQResizeEvent.h create mode 100644 qtjava/javalib/qtjava/TQScrollBar.cpp create mode 100644 qtjava/javalib/qtjava/TQScrollBar.h create mode 100644 qtjava/javalib/qtjava/TQScrollView.cpp create mode 100644 qtjava/javalib/qtjava/TQScrollView.h create mode 100644 qtjava/javalib/qtjava/TQSemiModal.cpp create mode 100644 qtjava/javalib/qtjava/TQSemiModal.h create mode 100644 qtjava/javalib/qtjava/TQServerSocket.cpp create mode 100644 qtjava/javalib/qtjava/TQServerSocket.h create mode 100644 qtjava/javalib/qtjava/TQSessionManager.cpp create mode 100644 qtjava/javalib/qtjava/TQSessionManager.h create mode 100644 qtjava/javalib/qtjava/TQSettings.cpp create mode 100644 qtjava/javalib/qtjava/TQSettings.h create mode 100644 qtjava/javalib/qtjava/TQShowEvent.cpp create mode 100644 qtjava/javalib/qtjava/TQShowEvent.h create mode 100644 qtjava/javalib/qtjava/TQSignal.cpp create mode 100644 qtjava/javalib/qtjava/TQSignal.h create mode 100644 qtjava/javalib/qtjava/TQSignalMapper.cpp create mode 100644 qtjava/javalib/qtjava/TQSignalMapper.h create mode 100644 qtjava/javalib/qtjava/TQSimpleRichText.cpp create mode 100644 qtjava/javalib/qtjava/TQSimpleRichText.h create mode 100644 qtjava/javalib/qtjava/TQSize.cpp create mode 100644 qtjava/javalib/qtjava/TQSize.h create mode 100644 qtjava/javalib/qtjava/TQSizeGrip.cpp create mode 100644 qtjava/javalib/qtjava/TQSizeGrip.h create mode 100644 qtjava/javalib/qtjava/TQSizePolicy.cpp create mode 100644 qtjava/javalib/qtjava/TQSizePolicy.h create mode 100644 qtjava/javalib/qtjava/TQSjisCodec.cpp create mode 100644 qtjava/javalib/qtjava/TQSjisCodec.h create mode 100644 qtjava/javalib/qtjava/TQSlider.cpp create mode 100644 qtjava/javalib/qtjava/TQSlider.h create mode 100644 qtjava/javalib/qtjava/TQSocket.cpp create mode 100644 qtjava/javalib/qtjava/TQSocket.h create mode 100644 qtjava/javalib/qtjava/TQSocketDevice.cpp create mode 100644 qtjava/javalib/qtjava/TQSocketDevice.h create mode 100644 qtjava/javalib/qtjava/TQSocketNotifier.cpp create mode 100644 qtjava/javalib/qtjava/TQSocketNotifier.h create mode 100644 qtjava/javalib/qtjava/TQSound.cpp create mode 100644 qtjava/javalib/qtjava/TQSound.h create mode 100644 qtjava/javalib/qtjava/TQSpacerItem.cpp create mode 100644 qtjava/javalib/qtjava/TQSpacerItem.h create mode 100644 qtjava/javalib/qtjava/TQSpinBox.cpp create mode 100644 qtjava/javalib/qtjava/TQSpinBox.h create mode 100644 qtjava/javalib/qtjava/TQSpinWidget.cpp create mode 100644 qtjava/javalib/qtjava/TQSpinWidget.h create mode 100644 qtjava/javalib/qtjava/TQSplashScreen.cpp create mode 100644 qtjava/javalib/qtjava/TQSplashScreen.h create mode 100644 qtjava/javalib/qtjava/TQSplitter.cpp create mode 100644 qtjava/javalib/qtjava/TQSplitter.h create mode 100644 qtjava/javalib/qtjava/TQSql.cpp create mode 100644 qtjava/javalib/qtjava/TQSql.h create mode 100644 qtjava/javalib/qtjava/TQSqlCursor.cpp create mode 100644 qtjava/javalib/qtjava/TQSqlCursor.h create mode 100644 qtjava/javalib/qtjava/TQSqlDatabase.cpp create mode 100644 qtjava/javalib/qtjava/TQSqlDatabase.h create mode 100644 qtjava/javalib/qtjava/TQSqlDriver.cpp create mode 100644 qtjava/javalib/qtjava/TQSqlDriver.h create mode 100644 qtjava/javalib/qtjava/TQSqlEditorFactory.cpp create mode 100644 qtjava/javalib/qtjava/TQSqlEditorFactory.h create mode 100644 qtjava/javalib/qtjava/TQSqlError.cpp create mode 100644 qtjava/javalib/qtjava/TQSqlError.h create mode 100644 qtjava/javalib/qtjava/TQSqlField.cpp create mode 100644 qtjava/javalib/qtjava/TQSqlField.h create mode 100644 qtjava/javalib/qtjava/TQSqlFieldInfo.cpp create mode 100644 qtjava/javalib/qtjava/TQSqlFieldInfo.h create mode 100644 qtjava/javalib/qtjava/TQSqlForm.cpp create mode 100644 qtjava/javalib/qtjava/TQSqlForm.h create mode 100644 qtjava/javalib/qtjava/TQSqlIndex.cpp create mode 100644 qtjava/javalib/qtjava/TQSqlIndex.h create mode 100644 qtjava/javalib/qtjava/TQSqlPropertyMap.cpp create mode 100644 qtjava/javalib/qtjava/TQSqlPropertyMap.h create mode 100644 qtjava/javalib/qtjava/TQSqlQuery.cpp create mode 100644 qtjava/javalib/qtjava/TQSqlQuery.h create mode 100644 qtjava/javalib/qtjava/TQSqlRecord.cpp create mode 100644 qtjava/javalib/qtjava/TQSqlRecord.h create mode 100644 qtjava/javalib/qtjava/TQSqlResult.cpp create mode 100644 qtjava/javalib/qtjava/TQSqlResult.h create mode 100644 qtjava/javalib/qtjava/TQStatusBar.cpp create mode 100644 qtjava/javalib/qtjava/TQStatusBar.h create mode 100644 qtjava/javalib/qtjava/TQStoredDrag.cpp create mode 100644 qtjava/javalib/qtjava/TQStoredDrag.h create mode 100644 qtjava/javalib/qtjava/TQStyle.cpp create mode 100644 qtjava/javalib/qtjava/TQStyle.h create mode 100644 qtjava/javalib/qtjava/TQStyleFactory.cpp create mode 100644 qtjava/javalib/qtjava/TQStyleFactory.h create mode 100644 qtjava/javalib/qtjava/TQStyleOption.cpp create mode 100644 qtjava/javalib/qtjava/TQStyleOption.h create mode 100644 qtjava/javalib/qtjava/TQStyleSheet.cpp create mode 100644 qtjava/javalib/qtjava/TQStyleSheet.h create mode 100644 qtjava/javalib/qtjava/TQStyleSheetItem.cpp create mode 100644 qtjava/javalib/qtjava/TQStyleSheetItem.h create mode 100644 qtjava/javalib/qtjava/TQSyntaxHighlighter.cpp create mode 100644 qtjava/javalib/qtjava/TQSyntaxHighlighter.h create mode 100644 qtjava/javalib/qtjava/TQTab.cpp create mode 100644 qtjava/javalib/qtjava/TQTab.h create mode 100644 qtjava/javalib/qtjava/TQTabBar.cpp create mode 100644 qtjava/javalib/qtjava/TQTabBar.h create mode 100644 qtjava/javalib/qtjava/TQTabDialog.cpp create mode 100644 qtjava/javalib/qtjava/TQTabDialog.h create mode 100644 qtjava/javalib/qtjava/TQTabWidget.cpp create mode 100644 qtjava/javalib/qtjava/TQTabWidget.h create mode 100644 qtjava/javalib/qtjava/TQTable.cpp create mode 100644 qtjava/javalib/qtjava/TQTable.h create mode 100644 qtjava/javalib/qtjava/TQTableItem.cpp create mode 100644 qtjava/javalib/qtjava/TQTableItem.h create mode 100644 qtjava/javalib/qtjava/TQTableSelection.cpp create mode 100644 qtjava/javalib/qtjava/TQTableSelection.h create mode 100644 qtjava/javalib/qtjava/TQTabletEvent.cpp create mode 100644 qtjava/javalib/qtjava/TQTabletEvent.h create mode 100644 qtjava/javalib/qtjava/TQTextBrowser.cpp create mode 100644 qtjava/javalib/qtjava/TQTextBrowser.h create mode 100644 qtjava/javalib/qtjava/TQTextCodec.cpp create mode 100644 qtjava/javalib/qtjava/TQTextCodec.h create mode 100644 qtjava/javalib/qtjava/TQTextDecoder.cpp create mode 100644 qtjava/javalib/qtjava/TQTextDecoder.h create mode 100644 qtjava/javalib/qtjava/TQTextDrag.cpp create mode 100644 qtjava/javalib/qtjava/TQTextDrag.h create mode 100644 qtjava/javalib/qtjava/TQTextEdit.cpp create mode 100644 qtjava/javalib/qtjava/TQTextEdit.h create mode 100644 qtjava/javalib/qtjava/TQTextEncoder.cpp create mode 100644 qtjava/javalib/qtjava/TQTextEncoder.h create mode 100644 qtjava/javalib/qtjava/TQTextIStream.cpp create mode 100644 qtjava/javalib/qtjava/TQTextIStream.h create mode 100644 qtjava/javalib/qtjava/TQTextOStream.cpp create mode 100644 qtjava/javalib/qtjava/TQTextOStream.h create mode 100644 qtjava/javalib/qtjava/TQTextStream.cpp create mode 100644 qtjava/javalib/qtjava/TQTextStream.h create mode 100644 qtjava/javalib/qtjava/TQTextView.cpp create mode 100644 qtjava/javalib/qtjava/TQTextView.h create mode 100644 qtjava/javalib/qtjava/TQTimeEdit.cpp create mode 100644 qtjava/javalib/qtjava/TQTimeEdit.h create mode 100644 qtjava/javalib/qtjava/TQTimer.cpp create mode 100644 qtjava/javalib/qtjava/TQTimer.h create mode 100644 qtjava/javalib/qtjava/TQTimerEvent.cpp create mode 100644 qtjava/javalib/qtjava/TQTimerEvent.h create mode 100644 qtjava/javalib/qtjava/TQToolBar.cpp create mode 100644 qtjava/javalib/qtjava/TQToolBar.h create mode 100644 qtjava/javalib/qtjava/TQToolBox.cpp create mode 100644 qtjava/javalib/qtjava/TQToolBox.h create mode 100644 qtjava/javalib/qtjava/TQToolButton.cpp create mode 100644 qtjava/javalib/qtjava/TQToolButton.h create mode 100644 qtjava/javalib/qtjava/TQToolTip.cpp create mode 100644 qtjava/javalib/qtjava/TQToolTip.h create mode 100644 qtjava/javalib/qtjava/TQToolTipGroup.cpp create mode 100644 qtjava/javalib/qtjava/TQToolTipGroup.h create mode 100644 qtjava/javalib/qtjava/TQTranslator.cpp create mode 100644 qtjava/javalib/qtjava/TQTranslator.h create mode 100644 qtjava/javalib/qtjava/TQTranslatorMessage.cpp create mode 100644 qtjava/javalib/qtjava/TQTranslatorMessage.h create mode 100644 qtjava/javalib/qtjava/TQTsciiCodec.cpp create mode 100644 qtjava/javalib/qtjava/TQTsciiCodec.h create mode 100644 qtjava/javalib/qtjava/TQUriDrag.cpp create mode 100644 qtjava/javalib/qtjava/TQUriDrag.h create mode 100644 qtjava/javalib/qtjava/TQUrl.cpp create mode 100644 qtjava/javalib/qtjava/TQUrl.h create mode 100644 qtjava/javalib/qtjava/TQUrlInfo.cpp create mode 100644 qtjava/javalib/qtjava/TQUrlInfo.h create mode 100644 qtjava/javalib/qtjava/TQUrlOperator.cpp create mode 100644 qtjava/javalib/qtjava/TQUrlOperator.h create mode 100644 qtjava/javalib/qtjava/TQUtf16Codec.cpp create mode 100644 qtjava/javalib/qtjava/TQUtf16Codec.h create mode 100644 qtjava/javalib/qtjava/TQUtf8Codec.cpp create mode 100644 qtjava/javalib/qtjava/TQUtf8Codec.h create mode 100644 qtjava/javalib/qtjava/TQUuid.cpp create mode 100644 qtjava/javalib/qtjava/TQUuid.h create mode 100644 qtjava/javalib/qtjava/TQVBox.cpp create mode 100644 qtjava/javalib/qtjava/TQVBox.h create mode 100644 qtjava/javalib/qtjava/TQVBoxLayout.cpp create mode 100644 qtjava/javalib/qtjava/TQVBoxLayout.h create mode 100644 qtjava/javalib/qtjava/TQVButtonGroup.cpp create mode 100644 qtjava/javalib/qtjava/TQVButtonGroup.h create mode 100644 qtjava/javalib/qtjava/TQVGroupBox.cpp create mode 100644 qtjava/javalib/qtjava/TQVGroupBox.h create mode 100644 qtjava/javalib/qtjava/TQValidator.cpp create mode 100644 qtjava/javalib/qtjava/TQValidator.h create mode 100644 qtjava/javalib/qtjava/TQVariant.cpp create mode 100644 qtjava/javalib/qtjava/TQVariant.h create mode 100644 qtjava/javalib/qtjava/TQWMatrix.cpp create mode 100644 qtjava/javalib/qtjava/TQWMatrix.h create mode 100644 qtjava/javalib/qtjava/TQWhatsThis.cpp create mode 100644 qtjava/javalib/qtjava/TQWhatsThis.h create mode 100644 qtjava/javalib/qtjava/TQWheelEvent.cpp create mode 100644 qtjava/javalib/qtjava/TQWheelEvent.h create mode 100644 qtjava/javalib/qtjava/TQWidget.cpp create mode 100644 qtjava/javalib/qtjava/TQWidget.h create mode 100644 qtjava/javalib/qtjava/TQWidgetItem.cpp create mode 100644 qtjava/javalib/qtjava/TQWidgetItem.h create mode 100644 qtjava/javalib/qtjava/TQWidgetStack.cpp create mode 100644 qtjava/javalib/qtjava/TQWidgetStack.h create mode 100644 qtjava/javalib/qtjava/TQWizard.cpp create mode 100644 qtjava/javalib/qtjava/TQWizard.h create mode 100644 qtjava/javalib/qtjava/TQWorkspace.cpp create mode 100644 qtjava/javalib/qtjava/TQWorkspace.h create mode 100644 qtjava/javalib/qtjava/TQXmlAttributes.cpp create mode 100644 qtjava/javalib/qtjava/TQXmlAttributes.h create mode 100644 qtjava/javalib/qtjava/TQXmlContentHandler.cpp create mode 100644 qtjava/javalib/qtjava/TQXmlContentHandler.h create mode 100644 qtjava/javalib/qtjava/TQXmlDTDHandler.cpp create mode 100644 qtjava/javalib/qtjava/TQXmlDTDHandler.h create mode 100644 qtjava/javalib/qtjava/TQXmlDeclHandler.cpp create mode 100644 qtjava/javalib/qtjava/TQXmlDeclHandler.h create mode 100644 qtjava/javalib/qtjava/TQXmlDefaultHandler.cpp create mode 100644 qtjava/javalib/qtjava/TQXmlDefaultHandler.h create mode 100644 qtjava/javalib/qtjava/TQXmlEntityResolver.cpp create mode 100644 qtjava/javalib/qtjava/TQXmlEntityResolver.h create mode 100644 qtjava/javalib/qtjava/TQXmlErrorHandler.cpp create mode 100644 qtjava/javalib/qtjava/TQXmlErrorHandler.h create mode 100644 qtjava/javalib/qtjava/TQXmlInputSource.cpp create mode 100644 qtjava/javalib/qtjava/TQXmlInputSource.h create mode 100644 qtjava/javalib/qtjava/TQXmlLexicalHandler.cpp create mode 100644 qtjava/javalib/qtjava/TQXmlLexicalHandler.h create mode 100644 qtjava/javalib/qtjava/TQXmlLocator.cpp create mode 100644 qtjava/javalib/qtjava/TQXmlLocator.h create mode 100644 qtjava/javalib/qtjava/TQXmlNamespaceSupport.cpp create mode 100644 qtjava/javalib/qtjava/TQXmlNamespaceSupport.h create mode 100644 qtjava/javalib/qtjava/TQXmlParseException.cpp create mode 100644 qtjava/javalib/qtjava/TQXmlParseException.h create mode 100644 qtjava/javalib/qtjava/TQXmlReader.cpp create mode 100644 qtjava/javalib/qtjava/TQXmlReader.h create mode 100644 qtjava/javalib/qtjava/TQXmlSimpleReader.cpp create mode 100644 qtjava/javalib/qtjava/TQXmlSimpleReader.h delete mode 100644 qtjava/javalib/test/QTimerTest.java create mode 100644 qtjava/javalib/test/TQTimerTest.java (limited to 'qtjava') diff --git a/qtjava/javalib.kdevprj b/qtjava/javalib.kdevprj index a46eb528..eb1e16cd 100644 --- a/qtjava/javalib.kdevprj +++ b/qtjava/javalib.kdevprj @@ -2366,7 +2366,7 @@ type=DATA [javalib/org/kde/qt/TQWidgetStackSignals.java] dist=true -files=javalib/qtjava/QXmlDeclHandler.h,javalib/qtjava/QXmlDefaultHandler.h,javalib/qtjava/QXmlDTDHandler.h,javalib/qtjava/QXmlEntityResolver.h,javalib/qtjava/QXmlErrorHandler.h,javalib/qtjava/QXmlInputSource.h,javalib/qtjava/QXmlLexicalHandler.h,javalib/qtjava/QXmlLocator.h,javalib/qtjava/QXmlNamespaceSupport.h,javalib/qtjava/QXmlParseException.h,javalib/qtjava/QXmlSimpleReader.h,javalib/qtjava/CVS,javalib/qtjava/QAccel.h,javalib/qtjava/QAction.h,javalib/qtjava/QActionGroup.h,javalib/qtjava/QApplication.h,javalib/qtjava/QAsyncIO.h,javalib/qtjava/QAuServer.h,javalib/qtjava/QBig5Codec.h,javalib/qtjava/QBitmap.h,javalib/qtjava/QBoxLayout.h,javalib/qtjava/QBrush.h,javalib/qtjava/QBuffer.h,javalib/qtjava/QButton.h,javalib/qtjava/QButtonGroup.h,javalib/qtjava/QCanvas.h,javalib/qtjava/QCanvasEllipse.h,javalib/qtjava/QCanvasItem.h,javalib/qtjava/QCanvasLine.h,javalib/qtjava/QCanvasPixmap.h,javalib/qtjava/QCanvasPixmapArray.h,javalib/qtjava/QCanvasPolygon.h,javalib/qtjava/QCanvasPolygonalItem.h,javalib/qtjava/QCanvasRectangle.h,javalib/qtjava/QCanvasSpline.h,javalib/qtjava/QCanvasSprite.h,javalib/qtjava/QCanvasText.h,javalib/qtjava/QCanvasView.h,javalib/qtjava/QCheckBox.h,javalib/qtjava/QCheckListItem.h,javalib/qtjava/QCheckTableItem.h,javalib/qtjava/QChildEvent.h,javalib/qtjava/QClassInfo.h,javalib/qtjava/QClipboard.h,javalib/qtjava/QCloseEvent.h,javalib/qtjava/QColor.h,javalib/qtjava/QColorDialog.h,javalib/qtjava/QColorDrag.h,javalib/qtjava/QColorGroup.h,javalib/qtjava/QComboBox.h,javalib/qtjava/QComboTableItem.h,javalib/qtjava/QContextMenuEvent.h,javalib/qtjava/QCursor.h,javalib/qtjava/QCustomEvent.h,javalib/qtjava/QCustomMenuItem.h,javalib/qtjava/QDataBrowser.h,javalib/qtjava/QDataPump.h,javalib/qtjava/QDataSink.h,javalib/qtjava/QDataSource.h,javalib/qtjava/QDataStream.h,javalib/qtjava/QDataTable.h,javalib/qtjava/QDataView.h,javalib/qtjava/QDateEdit.h,javalib/qtjava/QDateTimeEdit.h,javalib/qtjava/QDateTimeEditBase.h,javalib/qtjava/QDesktopWidget.h,javalib/qtjava/QDial.h,javalib/qtjava/QDialog.h,javalib/qtjava/QDir.h,javalib/qtjava/QDockArea.h,javalib/qtjava/QDockWindow.h,javalib/qtjava/QDomAttr.h,javalib/qtjava/QDomCDATASection.h,javalib/qtjava/QDomCharacterData.h,javalib/qtjava/QDomComment.h,javalib/qtjava/QDomDocument.h,javalib/qtjava/QDomDocumentFragment.h,javalib/qtjava/QDomDocumentType.h,javalib/qtjava/QDomElement.h,javalib/qtjava/QDomEntity.h,javalib/qtjava/QDomEntityReference.h,javalib/qtjava/QDomImplementation.h,javalib/qtjava/QDomNamedNodeMap.h,javalib/qtjava/QDomNode.h,javalib/qtjava/QDomNotation.h,javalib/qtjava/QDomProcessingInstruction.h,javalib/qtjava/QDomText.h,javalib/qtjava/QDoubleValidator.h,javalib/qtjava/QDragEnterEvent.h,javalib/qtjava/QDragLeaveEvent.h,javalib/qtjava/QDragManager.h,javalib/qtjava/QDragMoveEvent.h,javalib/qtjava/QDragObject.h,javalib/qtjava/QDragResponseEvent.h,javalib/qtjava/QDropEvent.h,javalib/qtjava/QDropSite.h,javalib/qtjava/QEditorFactory.h,javalib/qtjava/QErrorMessage.h,javalib/qtjava/QEucJpCodec.h,javalib/qtjava/QEucKrCodec.h,javalib/qtjava/QEvent.h,javalib/qtjava/QFile.h,javalib/qtjava/QFileDialog.h,javalib/qtjava/QFileIconProvider.h,javalib/qtjava/QFileInfo.h,javalib/qtjava/QFilePreview.h,javalib/qtjava/QFocusData.h,javalib/qtjava/QFocusEvent.h,javalib/qtjava/QFont.h,javalib/qtjava/QFontDatabase.h,javalib/qtjava/QFontDialog.h,javalib/qtjava/QFontInfo.h,javalib/qtjava/QFontMetrics.h,javalib/qtjava/QFrame.h,javalib/qtjava/QFtp.h,javalib/qtjava/QGrid.h,javalib/qtjava/QGridLayout.h,javalib/qtjava/QGridView.h,javalib/qtjava/QGroupBox.h,javalib/qtjava/QHBox.h,javalib/qtjava/QHBoxLayout.h,javalib/qtjava/QHButtonGroup.h,javalib/qtjava/QHeader.h,javalib/qtjava/QHebrewCodec.h,javalib/qtjava/QHGroupBox.h,javalib/qtjava/QHideEvent.h,javalib/qtjava/QHostAddress.h,javalib/qtjava/QHttp.h,javalib/qtjava/QIconDrag.h,javalib/qtjava/QIconDragItem.h,javalib/qtjava/QIconSet.h,javalib/qtjava/QIconView.h,javalib/qtjava/QIconViewItem.h,javalib/qtjava/QImage.h,javalib/qtjava/QImageConsumer.h,javalib/qtjava/QImageDecoder.h,javalib/qtjava/QImageDrag.h,javalib/qtjava/QImageFormat.h,javalib/qtjava/QImageFormatType.h,javalib/qtjava/QImageIO.h,javalib/qtjava/QImageTextKeyLang.h,javalib/qtjava/QIMEvent.h,javalib/qtjava/QInputDialog.h,javalib/qtjava/QIntValidator.h,javalib/qtjava/QIODevice.h,javalib/qtjava/QIODeviceSource.h,javalib/qtjava/QJisCodec.h,javalib/qtjava/QJpUnicodeConv.h,javalib/qtjava/QKeyEvent.h,javalib/qtjava/QKeySequence.h,javalib/qtjava/QLabel.h,javalib/qtjava/QLayout.h,javalib/qtjava/QLayoutItem.h,javalib/qtjava/QLCDNumber.h,javalib/qtjava/QLibrary.h,javalib/qtjava/QLineEdit.h,javalib/qtjava/QListBox.h,javalib/qtjava/QListBoxItem.h,javalib/qtjava/QListBoxPixmap.h,javalib/qtjava/QListBoxText.h,javalib/qtjava/QListView.h,javalib/qtjava/QListViewItem.h,javalib/qtjava/QLocalFs.h,javalib/qtjava/QMainWindow.h,javalib/qtjava/QMenuBar.h,javalib/qtjava/QMenuData.h,javalib/qtjava/QMenuItem.h,javalib/qtjava/QMessageBox.h,javalib/qtjava/QMetaData.h,javalib/qtjava/QMetaEnum.h,javalib/qtjava/QMetaObject.h,javalib/qtjava/QMetaProperty.h,javalib/qtjava/QMimeSource.h,javalib/qtjava/QMimeSourceFactory.h,javalib/qtjava/QMouseEvent.h,javalib/qtjava/QMoveEvent.h,javalib/qtjava/QMovie.h,javalib/qtjava/QMultiLineEdit.h,javalib/qtjava/QNetworkOperation.h,javalib/qtjava/QNetworkProtocol.h,javalib/qtjava/QObject.h,javalib/qtjava/QObjectCleanupHandler.h,javalib/qtjava/QPaintDevice.h,javalib/qtjava/QPaintDeviceMetrics.h,javalib/qtjava/QPainter.h,javalib/qtjava/QPaintEvent.h,javalib/qtjava/QPalette.h,javalib/qtjava/QPen.h,javalib/qtjava/QPicture.h,javalib/qtjava/QPixmap.h,javalib/qtjava/QPoint.h,javalib/qtjava/QPointArray.h,javalib/qtjava/QPolygonScanner.h,javalib/qtjava/QPopupMenu.h,javalib/qtjava/QPrintDialog.h,javalib/qtjava/QPrinter.h,javalib/qtjava/QProcess.h,javalib/qtjava/QProgressBar.h,javalib/qtjava/QProgressDialog.h,javalib/qtjava/QPushButton.h,javalib/qtjava/QRadioButton.h,javalib/qtjava/QRangeControl.h,javalib/qtjava/QRect.h,javalib/qtjava/QRegExp.h,javalib/qtjava/QRegExpValidator.h,javalib/qtjava/QRegion.h,javalib/qtjava/QResizeEvent.h,javalib/qtjava/QScrollBar.h,javalib/qtjava/QScrollView.h,javalib/qtjava/QSemiModal.h,javalib/qtjava/QServerSocket.h,javalib/qtjava/QSessionManager.h,javalib/qtjava/QSettings.h,javalib/qtjava/QShowEvent.h,javalib/qtjava/QSignal.h,javalib/qtjava/QSignalMapper.h,javalib/qtjava/QSimpleRichText.h,javalib/qtjava/QSize.h,javalib/qtjava/QSizeGrip.h,javalib/qtjava/QSizePolicy.h,javalib/qtjava/QSjisCodec.h,javalib/qtjava/QSlider.h,javalib/qtjava/QSocket.h,javalib/qtjava/QSocketDevice.h,javalib/qtjava/QSocketNotifier.h,javalib/qtjava/QSound.h,javalib/qtjava/QSpacerItem.h,javalib/qtjava/QSpinBox.h,javalib/qtjava/QSplitter.h,javalib/qtjava/QSql.h,javalib/qtjava/QSqlCursor.h,javalib/qtjava/QSqlDatabase.h,javalib/qtjava/QSqlDriver.h,javalib/qtjava/QSqlEditorFactory.h,javalib/qtjava/QSqlError.h,javalib/qtjava/QSqlField.h,javalib/qtjava/QSqlForm.h,javalib/qtjava/QSqlIndex.h,javalib/qtjava/QSqlPropertyMap.h,javalib/qtjava/QSqlQuery.h,javalib/qtjava/QSqlRecord.h,javalib/qtjava/QSqlResult.h,javalib/qtjava/QStatusBar.h,javalib/qtjava/QStoredDrag.h,javalib/qtjava/QStyle.h,javalib/qtjava/QStyleFactory.h,javalib/qtjava/QStyleSheet.h,javalib/qtjava/QStyleSheetItem.h,javalib/qtjava/Qt.h,javalib/qtjava/QTab.h,javalib/qtjava/QTabBar.h,javalib/qtjava/QTabDialog.h,javalib/qtjava/QTable.h,javalib/qtjava/QTableItem.h,javalib/qtjava/QTableSelection.h,javalib/qtjava/QTabletEvent.h,javalib/qtjava/QTabWidget.h,javalib/qtjava/QTextBrowser.h,javalib/qtjava/QTextCodec.h,javalib/qtjava/QTextDecoder.h,javalib/qtjava/QTextDrag.h,javalib/qtjava/QTextEdit.h,javalib/qtjava/QTextEncoder.h,javalib/qtjava/QTextIStream.h,javalib/qtjava/QTextOStream.h,javalib/qtjava/QTextStream.h,javalib/qtjava/QTextView.h,javalib/qtjava/QTimeEdit.h,javalib/qtjava/QTimer.h,javalib/qtjava/QTimerEvent.h,javalib/qtjava/qtjava.h,javalib/qtjava/QToolBar.h,javalib/qtjava/QToolButton.h,javalib/qtjava/QToolTip.h,javalib/qtjava/QToolTipGroup.h,javalib/qtjava/QTranslator.h,javalib/qtjava/QTranslatorMessage.h,javalib/qtjava/QTsciiCodec.h,javalib/qtjava/QtSupport.h,javalib/qtjava/QUriDrag.h,javalib/qtjava/QUrl.h,javalib/qtjava/QUrlInfo.h,javalib/qtjava/QUrlOperator.h,javalib/qtjava/QUtf16Codec.h,javalib/qtjava/QUtf8Codec.h,javalib/qtjava/QUuid.h,javalib/qtjava/QValidator.h,javalib/qtjava/QVariant.h,javalib/qtjava/QVBox.h,javalib/qtjava/QVBoxLayout.h,javalib/qtjava/QVButtonGroup.h,javalib/qtjava/QVGroupBox.h,javalib/qtjava/QWhatsThis.h,javalib/qtjava/QWheelEvent.h,javalib/qtjava/QWidget.h,javalib/qtjava/QWidgetItem.h,javalib/qtjava/QWidgetStack.h,javalib/qtjava/QWizard.h,javalib/qtjava/QWMatrix.h,javalib/qtjava/QWorkspace.h,javalib/qtjava/QXmlAttributes.h,javalib/qtjava/QXmlContentHandler.h,javalib/qtjava/QXmlReader.h +files=javalib/qtjava/TQXmlDeclHandler.h,javalib/qtjava/TQXmlDefaultHandler.h,javalib/qtjava/TQXmlDTDHandler.h,javalib/qtjava/TQXmlEntityResolver.h,javalib/qtjava/TQXmlErrorHandler.h,javalib/qtjava/TQXmlInputSource.h,javalib/qtjava/TQXmlLexicalHandler.h,javalib/qtjava/TQXmlLocator.h,javalib/qtjava/TQXmlNamespaceSupport.h,javalib/qtjava/TQXmlParseException.h,javalib/qtjava/TQXmlSimpleReader.h,javalib/qtjava/CVS,javalib/qtjava/TQAccel.h,javalib/qtjava/TQAction.h,javalib/qtjava/TQActionGroup.h,javalib/qtjava/TQApplication.h,javalib/qtjava/TQAsyncIO.h,javalib/qtjava/TQAuServer.h,javalib/qtjava/TQBig5Codec.h,javalib/qtjava/TQBitmap.h,javalib/qtjava/TQBoxLayout.h,javalib/qtjava/TQBrush.h,javalib/qtjava/TQBuffer.h,javalib/qtjava/TQButton.h,javalib/qtjava/TQButtonGroup.h,javalib/qtjava/TQCanvas.h,javalib/qtjava/TQCanvasEllipse.h,javalib/qtjava/TQCanvasItem.h,javalib/qtjava/TQCanvasLine.h,javalib/qtjava/TQCanvasPixmap.h,javalib/qtjava/TQCanvasPixmapArray.h,javalib/qtjava/TQCanvasPolygon.h,javalib/qtjava/TQCanvasPolygonalItem.h,javalib/qtjava/TQCanvasRectangle.h,javalib/qtjava/TQCanvasSpline.h,javalib/qtjava/TQCanvasSprite.h,javalib/qtjava/TQCanvasText.h,javalib/qtjava/TQCanvasView.h,javalib/qtjava/TQCheckBox.h,javalib/qtjava/TQCheckListItem.h,javalib/qtjava/TQCheckTableItem.h,javalib/qtjava/TQChildEvent.h,javalib/qtjava/TQClassInfo.h,javalib/qtjava/TQClipboard.h,javalib/qtjava/TQCloseEvent.h,javalib/qtjava/TQColor.h,javalib/qtjava/TQColorDialog.h,javalib/qtjava/TQColorDrag.h,javalib/qtjava/TQColorGroup.h,javalib/qtjava/TQComboBox.h,javalib/qtjava/TQComboTableItem.h,javalib/qtjava/TQContextMenuEvent.h,javalib/qtjava/TQCursor.h,javalib/qtjava/TQCustomEvent.h,javalib/qtjava/TQCustomMenuItem.h,javalib/qtjava/TQDataBrowser.h,javalib/qtjava/TQDataPump.h,javalib/qtjava/TQDataSink.h,javalib/qtjava/TQDataSource.h,javalib/qtjava/TQDataStream.h,javalib/qtjava/TQDataTable.h,javalib/qtjava/TQDataView.h,javalib/qtjava/TQDateEdit.h,javalib/qtjava/TQDateTimeEdit.h,javalib/qtjava/TQDateTimeEditBase.h,javalib/qtjava/TQDesktopWidget.h,javalib/qtjava/TQDial.h,javalib/qtjava/TQDialog.h,javalib/qtjava/TQDir.h,javalib/qtjava/TQDockArea.h,javalib/qtjava/TQDockWindow.h,javalib/qtjava/TQDomAttr.h,javalib/qtjava/TQDomCDATASection.h,javalib/qtjava/TQDomCharacterData.h,javalib/qtjava/TQDomComment.h,javalib/qtjava/TQDomDocument.h,javalib/qtjava/TQDomDocumentFragment.h,javalib/qtjava/TQDomDocumentType.h,javalib/qtjava/TQDomElement.h,javalib/qtjava/TQDomEntity.h,javalib/qtjava/TQDomEntityReference.h,javalib/qtjava/TQDomImplementation.h,javalib/qtjava/TQDomNamedNodeMap.h,javalib/qtjava/TQDomNode.h,javalib/qtjava/TQDomNotation.h,javalib/qtjava/TQDomProcessingInstruction.h,javalib/qtjava/TQDomText.h,javalib/qtjava/TQDoubleValidator.h,javalib/qtjava/TQDragEnterEvent.h,javalib/qtjava/TQDragLeaveEvent.h,javalib/qtjava/TQDragManager.h,javalib/qtjava/TQDragMoveEvent.h,javalib/qtjava/TQDragObject.h,javalib/qtjava/TQDragResponseEvent.h,javalib/qtjava/TQDropEvent.h,javalib/qtjava/TQDropSite.h,javalib/qtjava/TQEditorFactory.h,javalib/qtjava/TQErrorMessage.h,javalib/qtjava/TQEucJpCodec.h,javalib/qtjava/TQEucKrCodec.h,javalib/qtjava/TQEvent.h,javalib/qtjava/TQFile.h,javalib/qtjava/TQFileDialog.h,javalib/qtjava/TQFileIconProvider.h,javalib/qtjava/TQFileInfo.h,javalib/qtjava/TQFilePreview.h,javalib/qtjava/TQFocusData.h,javalib/qtjava/TQFocusEvent.h,javalib/qtjava/TQFont.h,javalib/qtjava/TQFontDatabase.h,javalib/qtjava/TQFontDialog.h,javalib/qtjava/TQFontInfo.h,javalib/qtjava/TQFontMetrics.h,javalib/qtjava/TQFrame.h,javalib/qtjava/TQFtp.h,javalib/qtjava/TQGrid.h,javalib/qtjava/TQGridLayout.h,javalib/qtjava/TQGridView.h,javalib/qtjava/TQGroupBox.h,javalib/qtjava/TQHBox.h,javalib/qtjava/TQHBoxLayout.h,javalib/qtjava/TQHButtonGroup.h,javalib/qtjava/TQHeader.h,javalib/qtjava/TQHebrewCodec.h,javalib/qtjava/TQHGroupBox.h,javalib/qtjava/TQHideEvent.h,javalib/qtjava/TQHostAddress.h,javalib/qtjava/TQHttp.h,javalib/qtjava/TQIconDrag.h,javalib/qtjava/TQIconDragItem.h,javalib/qtjava/TQIconSet.h,javalib/qtjava/TQIconView.h,javalib/qtjava/TQIconViewItem.h,javalib/qtjava/TQImage.h,javalib/qtjava/TQImageConsumer.h,javalib/qtjava/TQImageDecoder.h,javalib/qtjava/TQImageDrag.h,javalib/qtjava/TQImageFormat.h,javalib/qtjava/TQImageFormatType.h,javalib/qtjava/TQImageIO.h,javalib/qtjava/TQImageTextKeyLang.h,javalib/qtjava/TQIMEvent.h,javalib/qtjava/TQInputDialog.h,javalib/qtjava/TQIntValidator.h,javalib/qtjava/TQIODevice.h,javalib/qtjava/TQIODeviceSource.h,javalib/qtjava/TQJisCodec.h,javalib/qtjava/TQJpUnicodeConv.h,javalib/qtjava/TQKeyEvent.h,javalib/qtjava/TQKeySequence.h,javalib/qtjava/TQLabel.h,javalib/qtjava/TQLayout.h,javalib/qtjava/TQLayoutItem.h,javalib/qtjava/TQLCDNumber.h,javalib/qtjava/TQLibrary.h,javalib/qtjava/TQLineEdit.h,javalib/qtjava/TQListBox.h,javalib/qtjava/TQListBoxItem.h,javalib/qtjava/TQListBoxPixmap.h,javalib/qtjava/TQListBoxText.h,javalib/qtjava/TQListView.h,javalib/qtjava/TQListViewItem.h,javalib/qtjava/TQLocalFs.h,javalib/qtjava/TQMainWindow.h,javalib/qtjava/TQMenuBar.h,javalib/qtjava/TQMenuData.h,javalib/qtjava/TQMenuItem.h,javalib/qtjava/TQMessageBox.h,javalib/qtjava/TQMetaData.h,javalib/qtjava/TQMetaEnum.h,javalib/qtjava/TQMetaObject.h,javalib/qtjava/TQMetaProperty.h,javalib/qtjava/TQMimeSource.h,javalib/qtjava/TQMimeSourceFactory.h,javalib/qtjava/TQMouseEvent.h,javalib/qtjava/TQMoveEvent.h,javalib/qtjava/TQMovie.h,javalib/qtjava/TQMultiLineEdit.h,javalib/qtjava/TQNetworkOperation.h,javalib/qtjava/TQNetworkProtocol.h,javalib/qtjava/TQObject.h,javalib/qtjava/TQObjectCleanupHandler.h,javalib/qtjava/TQPaintDevice.h,javalib/qtjava/TQPaintDeviceMetrics.h,javalib/qtjava/TQPainter.h,javalib/qtjava/TQPaintEvent.h,javalib/qtjava/TQPalette.h,javalib/qtjava/TQPen.h,javalib/qtjava/TQPicture.h,javalib/qtjava/TQPixmap.h,javalib/qtjava/TQPoint.h,javalib/qtjava/TQPointArray.h,javalib/qtjava/TQPolygonScanner.h,javalib/qtjava/TQPopupMenu.h,javalib/qtjava/TQPrintDialog.h,javalib/qtjava/TQPrinter.h,javalib/qtjava/TQProcess.h,javalib/qtjava/TQProgressBar.h,javalib/qtjava/TQProgressDialog.h,javalib/qtjava/TQPushButton.h,javalib/qtjava/TQRadioButton.h,javalib/qtjava/TQRangeControl.h,javalib/qtjava/TQRect.h,javalib/qtjava/TQRegExp.h,javalib/qtjava/TQRegExpValidator.h,javalib/qtjava/TQRegion.h,javalib/qtjava/TQResizeEvent.h,javalib/qtjava/TQScrollBar.h,javalib/qtjava/TQScrollView.h,javalib/qtjava/TQSemiModal.h,javalib/qtjava/TQServerSocket.h,javalib/qtjava/TQSessionManager.h,javalib/qtjava/TQSettings.h,javalib/qtjava/TQShowEvent.h,javalib/qtjava/TQSignal.h,javalib/qtjava/TQSignalMapper.h,javalib/qtjava/TQSimpleRichText.h,javalib/qtjava/TQSize.h,javalib/qtjava/TQSizeGrip.h,javalib/qtjava/TQSizePolicy.h,javalib/qtjava/TQSjisCodec.h,javalib/qtjava/TQSlider.h,javalib/qtjava/TQSocket.h,javalib/qtjava/TQSocketDevice.h,javalib/qtjava/TQSocketNotifier.h,javalib/qtjava/TQSound.h,javalib/qtjava/TQSpacerItem.h,javalib/qtjava/TQSpinBox.h,javalib/qtjava/TQSplitter.h,javalib/qtjava/TQSql.h,javalib/qtjava/TQSqlCursor.h,javalib/qtjava/TQSqlDatabase.h,javalib/qtjava/TQSqlDriver.h,javalib/qtjava/TQSqlEditorFactory.h,javalib/qtjava/TQSqlError.h,javalib/qtjava/TQSqlField.h,javalib/qtjava/TQSqlForm.h,javalib/qtjava/TQSqlIndex.h,javalib/qtjava/TQSqlPropertyMap.h,javalib/qtjava/TQSqlQuery.h,javalib/qtjava/TQSqlRecord.h,javalib/qtjava/TQSqlResult.h,javalib/qtjava/TQStatusBar.h,javalib/qtjava/TQStoredDrag.h,javalib/qtjava/TQStyle.h,javalib/qtjava/TQStyleFactory.h,javalib/qtjava/TQStyleSheet.h,javalib/qtjava/TQStyleSheetItem.h,javalib/qtjava/Qt.h,javalib/qtjava/TQTab.h,javalib/qtjava/TQTabBar.h,javalib/qtjava/TQTabDialog.h,javalib/qtjava/TQTable.h,javalib/qtjava/TQTableItem.h,javalib/qtjava/TQTableSelection.h,javalib/qtjava/TQTabletEvent.h,javalib/qtjava/TQTabWidget.h,javalib/qtjava/TQTextBrowser.h,javalib/qtjava/TQTextCodec.h,javalib/qtjava/TQTextDecoder.h,javalib/qtjava/TQTextDrag.h,javalib/qtjava/TQTextEdit.h,javalib/qtjava/TQTextEncoder.h,javalib/qtjava/TQTextIStream.h,javalib/qtjava/TQTextOStream.h,javalib/qtjava/TQTextStream.h,javalib/qtjava/TQTextView.h,javalib/qtjava/TQTimeEdit.h,javalib/qtjava/TQTimer.h,javalib/qtjava/TQTimerEvent.h,javalib/qtjava/qtjava.h,javalib/qtjava/TQToolBar.h,javalib/qtjava/TQToolButton.h,javalib/qtjava/TQToolTip.h,javalib/qtjava/TQToolTipGroup.h,javalib/qtjava/TQTranslator.h,javalib/qtjava/TQTranslatorMessage.h,javalib/qtjava/TQTsciiCodec.h,javalib/qtjava/QtSupport.h,javalib/qtjava/TQUriDrag.h,javalib/qtjava/TQUrl.h,javalib/qtjava/TQUrlInfo.h,javalib/qtjava/TQUrlOperator.h,javalib/qtjava/TQUtf16Codec.h,javalib/qtjava/TQUtf8Codec.h,javalib/qtjava/TQUuid.h,javalib/qtjava/TQValidator.h,javalib/qtjava/TQVariant.h,javalib/qtjava/TQVBox.h,javalib/qtjava/TQVBoxLayout.h,javalib/qtjava/TQVButtonGroup.h,javalib/qtjava/TQVGroupBox.h,javalib/qtjava/TQWhatsThis.h,javalib/qtjava/TQWheelEvent.h,javalib/qtjava/TQWidget.h,javalib/qtjava/TQWidgetItem.h,javalib/qtjava/TQWidgetStack.h,javalib/qtjava/TQWizard.h,javalib/qtjava/TQWMatrix.h,javalib/qtjava/TQWorkspace.h,javalib/qtjava/TQXmlAttributes.h,javalib/qtjava/TQXmlContentHandler.h,javalib/qtjava/TQXmlReader.h install=false install_location= sub_dirs= @@ -2553,3865 +2553,3865 @@ install_location= type=HEADER [javalib/qtjava/Makefile.am] -files=javalib/qtjava/JavaSlot.h,javalib/qtjava/QAccel.cpp,javalib/qtjava/QAccel.h,javalib/qtjava/QAction.cpp,javalib/qtjava/QAction.h,javalib/qtjava/QActionGroup.cpp,javalib/qtjava/QActionGroup.h,javalib/qtjava/QApplication.cpp,javalib/qtjava/QApplication.h,javalib/qtjava/QAsyncIO.cpp,javalib/qtjava/QAsyncIO.h,javalib/qtjava/QAuServer.cpp,javalib/qtjava/QAuServer.h,javalib/qtjava/QBig5Codec.cpp,javalib/qtjava/QBig5Codec.h,javalib/qtjava/QBitmap.cpp,javalib/qtjava/QBitmap.h,javalib/qtjava/QBoxLayout.cpp,javalib/qtjava/QBoxLayout.h,javalib/qtjava/QBrush.cpp,javalib/qtjava/QBrush.h,javalib/qtjava/QBuffer.cpp,javalib/qtjava/QBuffer.h,javalib/qtjava/QButton.cpp,javalib/qtjava/QButton.h,javalib/qtjava/QButtonGroup.cpp,javalib/qtjava/QButtonGroup.h,javalib/qtjava/QCanvas.cpp,javalib/qtjava/QCanvas.h,javalib/qtjava/QCanvasEllipse.cpp,javalib/qtjava/QCanvasEllipse.h,javalib/qtjava/QCanvasItem.cpp,javalib/qtjava/QCanvasItem.h,javalib/qtjava/QCanvasLine.cpp,javalib/qtjava/QCanvasLine.h,javalib/qtjava/QCanvasPixmap.cpp,javalib/qtjava/QCanvasPixmap.h,javalib/qtjava/QCanvasPixmapArray.cpp,javalib/qtjava/QCanvasPixmapArray.h,javalib/qtjava/QCanvasPolygon.cpp,javalib/qtjava/QCanvasPolygon.h,javalib/qtjava/QCanvasPolygonalItem.cpp,javalib/qtjava/QCanvasPolygonalItem.h,javalib/qtjava/QCanvasRectangle.cpp,javalib/qtjava/QCanvasRectangle.h,javalib/qtjava/QCanvasSpline.cpp,javalib/qtjava/QCanvasSpline.h,javalib/qtjava/QCanvasSprite.cpp,javalib/qtjava/QCanvasSprite.h,javalib/qtjava/QCanvasText.cpp,javalib/qtjava/QCanvasText.h,javalib/qtjava/QCanvasView.cpp,javalib/qtjava/QCanvasView.h,javalib/qtjava/QCheckBox.cpp,javalib/qtjava/QCheckBox.h,javalib/qtjava/QCheckListItem.cpp,javalib/qtjava/QCheckListItem.h,javalib/qtjava/QCheckTableItem.cpp,javalib/qtjava/QCheckTableItem.h,javalib/qtjava/QChildEvent.cpp,javalib/qtjava/QChildEvent.h,javalib/qtjava/QClassInfo.cpp,javalib/qtjava/QClassInfo.h,javalib/qtjava/QClipboard.cpp,javalib/qtjava/QClipboard.h,javalib/qtjava/QCloseEvent.cpp,javalib/qtjava/QCloseEvent.h,javalib/qtjava/QColor.cpp,javalib/qtjava/QColor.h,javalib/qtjava/QColorDialog.cpp,javalib/qtjava/QColorDialog.h,javalib/qtjava/QColorDrag.cpp,javalib/qtjava/QColorDrag.h,javalib/qtjava/QColorGroup.cpp,javalib/qtjava/QColorGroup.h,javalib/qtjava/QComboBox.cpp,javalib/qtjava/QComboBox.h,javalib/qtjava/QComboTableItem.cpp,javalib/qtjava/QComboTableItem.h,javalib/qtjava/QContextMenuEvent.cpp,javalib/qtjava/QContextMenuEvent.h,javalib/qtjava/QCursor.cpp,javalib/qtjava/QCursor.h,javalib/qtjava/QCustomEvent.cpp,javalib/qtjava/QCustomEvent.h,javalib/qtjava/QCustomMenuItem.cpp,javalib/qtjava/QCustomMenuItem.h,javalib/qtjava/QDataBrowser.cpp,javalib/qtjava/QDataBrowser.h,javalib/qtjava/QDataPump.cpp,javalib/qtjava/QDataPump.h,javalib/qtjava/QDataSink.cpp,javalib/qtjava/QDataSink.h,javalib/qtjava/QDataSource.cpp,javalib/qtjava/QDataSource.h,javalib/qtjava/QDataStream.cpp,javalib/qtjava/QDataStream.h,javalib/qtjava/QDataTable.cpp,javalib/qtjava/QDataTable.h,javalib/qtjava/QDataView.cpp,javalib/qtjava/QDataView.h,javalib/qtjava/QDateEdit.cpp,javalib/qtjava/QDateEdit.h,javalib/qtjava/QDateTimeEdit.cpp,javalib/qtjava/QDateTimeEdit.h,javalib/qtjava/QDateTimeEditBase.cpp,javalib/qtjava/QDateTimeEditBase.h,javalib/qtjava/QDesktopWidget.cpp,javalib/qtjava/QDesktopWidget.h,javalib/qtjava/QDial.cpp,javalib/qtjava/QDial.h,javalib/qtjava/QDialog.cpp,javalib/qtjava/QDialog.h,javalib/qtjava/QDir.cpp,javalib/qtjava/QDir.h,javalib/qtjava/QDockArea.cpp,javalib/qtjava/QDockArea.h,javalib/qtjava/QDockWindow.cpp,javalib/qtjava/QDockWindow.h,javalib/qtjava/QDomAttr.cpp,javalib/qtjava/QDomAttr.h,javalib/qtjava/QDomCDATASection.cpp,javalib/qtjava/QDomCDATASection.h,javalib/qtjava/QDomCharacterData.cpp,javalib/qtjava/QDomCharacterData.h,javalib/qtjava/QDomComment.cpp,javalib/qtjava/QDomComment.h,javalib/qtjava/QDomDocument.cpp,javalib/qtjava/QDomDocument.h,javalib/qtjava/QDomDocumentFragment.cpp,javalib/qtjava/QDomDocumentFragment.h,javalib/qtjava/QDomDocumentType.cpp,javalib/qtjava/QDomDocumentType.h,javalib/qtjava/QDomElement.cpp,javalib/qtjava/QDomElement.h,javalib/qtjava/QDomEntity.cpp,javalib/qtjava/QDomEntity.h,javalib/qtjava/QDomEntityReference.cpp,javalib/qtjava/QDomEntityReference.h,javalib/qtjava/QDomImplementation.cpp,javalib/qtjava/QDomImplementation.h,javalib/qtjava/QDomNamedNodeMap.cpp,javalib/qtjava/QDomNamedNodeMap.h,javalib/qtjava/QDomNode.cpp,javalib/qtjava/QDomNode.h,javalib/qtjava/QDomNotation.cpp,javalib/qtjava/QDomNotation.h,javalib/qtjava/QDomProcessingInstruction.cpp,javalib/qtjava/QDomProcessingInstruction.h,javalib/qtjava/QDomText.cpp,javalib/qtjava/QDomText.h,javalib/qtjava/QDoubleValidator.cpp,javalib/qtjava/QDoubleValidator.h,javalib/qtjava/QDragEnterEvent.cpp,javalib/qtjava/QDragEnterEvent.h,javalib/qtjava/QDragLeaveEvent.cpp,javalib/qtjava/QDragLeaveEvent.h,javalib/qtjava/QDragManager.cpp,javalib/qtjava/QDragManager.h,javalib/qtjava/QDragMoveEvent.cpp,javalib/qtjava/QDragMoveEvent.h,javalib/qtjava/QDragObject.cpp,javalib/qtjava/QDragObject.h,javalib/qtjava/QDragResponseEvent.cpp,javalib/qtjava/QDragResponseEvent.h,javalib/qtjava/QDropEvent.cpp,javalib/qtjava/QDropEvent.h,javalib/qtjava/QDropSite.cpp,javalib/qtjava/QDropSite.h,javalib/qtjava/QEditorFactory.cpp,javalib/qtjava/QEditorFactory.h,javalib/qtjava/QErrorMessage.cpp,javalib/qtjava/QErrorMessage.h,javalib/qtjava/QEucJpCodec.cpp,javalib/qtjava/QEucJpCodec.h,javalib/qtjava/QEucKrCodec.cpp,javalib/qtjava/QEucKrCodec.h,javalib/qtjava/QEvent.cpp,javalib/qtjava/QEvent.h,javalib/qtjava/QFile.cpp,javalib/qtjava/QFile.h,javalib/qtjava/QFileDialog.cpp,javalib/qtjava/QFileDialog.h,javalib/qtjava/QFileIconProvider.cpp,javalib/qtjava/QFileIconProvider.h,javalib/qtjava/QFileInfo.cpp,javalib/qtjava/QFileInfo.h,javalib/qtjava/QFilePreview.cpp,javalib/qtjava/QFilePreview.h,javalib/qtjava/QFocusData.cpp,javalib/qtjava/QFocusData.h,javalib/qtjava/QFocusEvent.cpp,javalib/qtjava/QFocusEvent.h,javalib/qtjava/QFont.cpp,javalib/qtjava/QFont.h,javalib/qtjava/QFontDatabase.cpp,javalib/qtjava/QFontDatabase.h,javalib/qtjava/QFontDialog.cpp,javalib/qtjava/QFontDialog.h,javalib/qtjava/QFontInfo.cpp,javalib/qtjava/QFontInfo.h,javalib/qtjava/QFontMetrics.cpp,javalib/qtjava/QFontMetrics.h,javalib/qtjava/QFrame.cpp,javalib/qtjava/QFrame.h,javalib/qtjava/QFtp.cpp,javalib/qtjava/QFtp.h,javalib/qtjava/QGrid.cpp,javalib/qtjava/QGrid.h,javalib/qtjava/QGridLayout.cpp,javalib/qtjava/QGridLayout.h,javalib/qtjava/QGridView.cpp,javalib/qtjava/QGridView.h,javalib/qtjava/QGroupBox.cpp,javalib/qtjava/QGroupBox.h,javalib/qtjava/QHBox.cpp,javalib/qtjava/QHBox.h,javalib/qtjava/QHBoxLayout.cpp,javalib/qtjava/QHBoxLayout.h,javalib/qtjava/QHButtonGroup.cpp,javalib/qtjava/QHButtonGroup.h,javalib/qtjava/QHeader.cpp,javalib/qtjava/QHeader.h,javalib/qtjava/QHebrewCodec.cpp,javalib/qtjava/QHebrewCodec.h,javalib/qtjava/QHGroupBox.cpp,javalib/qtjava/QHGroupBox.h,javalib/qtjava/QHideEvent.cpp,javalib/qtjava/QHideEvent.h,javalib/qtjava/QHostAddress.cpp,javalib/qtjava/QHostAddress.h,javalib/qtjava/QHttp.cpp,javalib/qtjava/QHttp.h,javalib/qtjava/QIconDrag.cpp,javalib/qtjava/QIconDrag.h,javalib/qtjava/QIconDragItem.cpp,javalib/qtjava/QIconDragItem.h,javalib/qtjava/QIconSet.cpp,javalib/qtjava/QIconSet.h,javalib/qtjava/QIconView.cpp,javalib/qtjava/QIconView.h,javalib/qtjava/QIconViewItem.cpp,javalib/qtjava/QIconViewItem.h,javalib/qtjava/QImage.cpp,javalib/qtjava/QImage.h,javalib/qtjava/QImageConsumer.cpp,javalib/qtjava/QImageConsumer.h,javalib/qtjava/QImageDecoder.cpp,javalib/qtjava/QImageDecoder.h,javalib/qtjava/QImageDrag.cpp,javalib/qtjava/QImageDrag.h,javalib/qtjava/QImageFormat.cpp,javalib/qtjava/QImageFormat.h,javalib/qtjava/QImageFormatType.cpp,javalib/qtjava/QImageFormatType.h,javalib/qtjava/QImageIO.cpp,javalib/qtjava/QImageIO.h,javalib/qtjava/QImageTextKeyLang.cpp,javalib/qtjava/QImageTextKeyLang.h,javalib/qtjava/QIMEvent.cpp,javalib/qtjava/QIMEvent.h,javalib/qtjava/QInputDialog.cpp,javalib/qtjava/QInputDialog.h,javalib/qtjava/QIntValidator.cpp,javalib/qtjava/QIntValidator.h,javalib/qtjava/QIODevice.cpp,javalib/qtjava/QIODevice.h,javalib/qtjava/QIODeviceSource.cpp,javalib/qtjava/QIODeviceSource.h,javalib/qtjava/QJisCodec.cpp,javalib/qtjava/QJisCodec.h,javalib/qtjava/QJpUnicodeConv.cpp,javalib/qtjava/QJpUnicodeConv.h,javalib/qtjava/QKeyEvent.cpp,javalib/qtjava/QKeyEvent.h,javalib/qtjava/QKeySequence.cpp,javalib/qtjava/QKeySequence.h,javalib/qtjava/QLabel.cpp,javalib/qtjava/QLabel.h,javalib/qtjava/QLayout.cpp,javalib/qtjava/QLayout.h,javalib/qtjava/QLayoutItem.cpp,javalib/qtjava/QLayoutItem.h,javalib/qtjava/QLCDNumber.cpp,javalib/qtjava/QLCDNumber.h,javalib/qtjava/QLibrary.cpp,javalib/qtjava/QLibrary.h,javalib/qtjava/QLineEdit.cpp,javalib/qtjava/QLineEdit.h,javalib/qtjava/QListBox.cpp,javalib/qtjava/QListBox.h,javalib/qtjava/QListBoxItem.cpp,javalib/qtjava/QListBoxItem.h,javalib/qtjava/QListBoxPixmap.cpp,javalib/qtjava/QListBoxPixmap.h,javalib/qtjava/QListBoxText.cpp,javalib/qtjava/QListBoxText.h,javalib/qtjava/QListView.cpp,javalib/qtjava/QListView.h,javalib/qtjava/QListViewItem.cpp,javalib/qtjava/QListViewItem.h,javalib/qtjava/QLocalFs.cpp,javalib/qtjava/QLocalFs.h,javalib/qtjava/QMainWindow.cpp,javalib/qtjava/QMainWindow.h,javalib/qtjava/QMenuBar.cpp,javalib/qtjava/QMenuBar.h,javalib/qtjava/QMenuData.cpp,javalib/qtjava/QMenuData.h,javalib/qtjava/QMenuItem.cpp,javalib/qtjava/QMenuItem.h,javalib/qtjava/QMessageBox.cpp,javalib/qtjava/QMessageBox.h,javalib/qtjava/QMetaData.cpp,javalib/qtjava/QMetaData.h,javalib/qtjava/QMetaEnum.cpp,javalib/qtjava/QMetaEnum.h,javalib/qtjava/QMetaObject.cpp,javalib/qtjava/QMetaObject.h,javalib/qtjava/QMetaProperty.cpp,javalib/qtjava/QMetaProperty.h,javalib/qtjava/QMimeSource.cpp,javalib/qtjava/QMimeSource.h,javalib/qtjava/QMimeSourceFactory.cpp,javalib/qtjava/QMimeSourceFactory.h,javalib/qtjava/QMouseEvent.cpp,javalib/qtjava/QMouseEvent.h,javalib/qtjava/QMoveEvent.cpp,javalib/qtjava/QMoveEvent.h,javalib/qtjava/QMovie.cpp,javalib/qtjava/QMovie.h,javalib/qtjava/QMultiLineEdit.cpp,javalib/qtjava/QMultiLineEdit.h,javalib/qtjava/QNetworkOperation.cpp,javalib/qtjava/QNetworkOperation.h,javalib/qtjava/QNetworkProtocol.cpp,javalib/qtjava/QNetworkProtocol.h,javalib/qtjava/QObject.cpp,javalib/qtjava/QObject.h,javalib/qtjava/QObjectCleanupHandler.cpp,javalib/qtjava/QObjectCleanupHandler.h,javalib/qtjava/QPaintDevice.cpp,javalib/qtjava/QPaintDevice.h,javalib/qtjava/QPaintDeviceMetrics.cpp,javalib/qtjava/QPaintDeviceMetrics.h,javalib/qtjava/QPainter.cpp,javalib/qtjava/QPainter.h,javalib/qtjava/QPaintEvent.cpp,javalib/qtjava/QPaintEvent.h,javalib/qtjava/QPalette.cpp,javalib/qtjava/QPalette.h,javalib/qtjava/QPen.cpp,javalib/qtjava/QPen.h,javalib/qtjava/QPicture.cpp,javalib/qtjava/QPicture.h,javalib/qtjava/QPixmap.cpp,javalib/qtjava/QPixmap.h,javalib/qtjava/QPoint.cpp,javalib/qtjava/QPoint.h,javalib/qtjava/QPointArray.cpp,javalib/qtjava/QPointArray.h,javalib/qtjava/QPolygonScanner.cpp,javalib/qtjava/QPolygonScanner.h,javalib/qtjava/QPopupMenu.cpp,javalib/qtjava/QPopupMenu.h,javalib/qtjava/QPrintDialog.cpp,javalib/qtjava/QPrintDialog.h,javalib/qtjava/QPrinter.cpp,javalib/qtjava/QPrinter.h,javalib/qtjava/QProcess.cpp,javalib/qtjava/QProcess.h,javalib/qtjava/QProgressBar.cpp,javalib/qtjava/QProgressBar.h,javalib/qtjava/QProgressDialog.cpp,javalib/qtjava/QProgressDialog.h,javalib/qtjava/QPushButton.cpp,javalib/qtjava/QPushButton.h,javalib/qtjava/QRadioButton.cpp,javalib/qtjava/QRadioButton.h,javalib/qtjava/QRangeControl.cpp,javalib/qtjava/QRangeControl.h,javalib/qtjava/QRect.cpp,javalib/qtjava/QRect.h,javalib/qtjava/QRegExp.cpp,javalib/qtjava/QRegExp.h,javalib/qtjava/QRegExpValidator.cpp,javalib/qtjava/QRegExpValidator.h,javalib/qtjava/QRegion.cpp,javalib/qtjava/QRegion.h,javalib/qtjava/QResizeEvent.cpp,javalib/qtjava/QResizeEvent.h,javalib/qtjava/QScrollBar.cpp,javalib/qtjava/QScrollBar.h,javalib/qtjava/QScrollView.cpp,javalib/qtjava/QScrollView.h,javalib/qtjava/QSemiModal.cpp,javalib/qtjava/QSemiModal.h,javalib/qtjava/QServerSocket.cpp,javalib/qtjava/QServerSocket.h,javalib/qtjava/QSessionManager.cpp,javalib/qtjava/QSessionManager.h,javalib/qtjava/QSettings.cpp,javalib/qtjava/QSettings.h,javalib/qtjava/QShowEvent.cpp,javalib/qtjava/QShowEvent.h,javalib/qtjava/QSignal.cpp,javalib/qtjava/QSignal.h,javalib/qtjava/QSignalMapper.cpp,javalib/qtjava/QSignalMapper.h,javalib/qtjava/QSimpleRichText.cpp,javalib/qtjava/QSimpleRichText.h,javalib/qtjava/QSize.cpp,javalib/qtjava/QSize.h,javalib/qtjava/QSizeGrip.cpp,javalib/qtjava/QSizeGrip.h,javalib/qtjava/QSizePolicy.cpp,javalib/qtjava/QSizePolicy.h,javalib/qtjava/QSjisCodec.cpp,javalib/qtjava/QSjisCodec.h,javalib/qtjava/QSlider.cpp,javalib/qtjava/QSlider.h,javalib/qtjava/QSocket.cpp,javalib/qtjava/QSocket.h,javalib/qtjava/QSocketDevice.cpp,javalib/qtjava/QSocketDevice.h,javalib/qtjava/QSocketNotifier.cpp,javalib/qtjava/QSocketNotifier.h,javalib/qtjava/QSound.cpp,javalib/qtjava/QSound.h,javalib/qtjava/QSpacerItem.cpp,javalib/qtjava/QSpacerItem.h,javalib/qtjava/QSpinBox.cpp,javalib/qtjava/QSpinBox.h,javalib/qtjava/QSplitter.cpp,javalib/qtjava/QSplitter.h,javalib/qtjava/QSql.cpp,javalib/qtjava/QSql.h,javalib/qtjava/QSqlCursor.cpp,javalib/qtjava/QSqlCursor.h,javalib/qtjava/QSqlDatabase.cpp,javalib/qtjava/QSqlDatabase.h,javalib/qtjava/QSqlDriver.cpp,javalib/qtjava/QSqlDriver.h,javalib/qtjava/QSqlEditorFactory.cpp,javalib/qtjava/QSqlEditorFactory.h,javalib/qtjava/QSqlError.cpp,javalib/qtjava/QSqlError.h,javalib/qtjava/QSqlField.cpp,javalib/qtjava/QSqlField.h,javalib/qtjava/QSqlForm.cpp,javalib/qtjava/QSqlForm.h,javalib/qtjava/QSqlIndex.cpp,javalib/qtjava/QSqlIndex.h,javalib/qtjava/QSqlPropertyMap.cpp,javalib/qtjava/QSqlPropertyMap.h,javalib/qtjava/QSqlQuery.cpp,javalib/qtjava/QSqlQuery.h,javalib/qtjava/QSqlRecord.cpp,javalib/qtjava/QSqlRecord.h,javalib/qtjava/QSqlResult.cpp,javalib/qtjava/QSqlResult.h,javalib/qtjava/QStatusBar.cpp,javalib/qtjava/QStatusBar.h,javalib/qtjava/QStoredDrag.cpp,javalib/qtjava/QStoredDrag.h,javalib/qtjava/QStyle.cpp,javalib/qtjava/QStyle.h,javalib/qtjava/QStyleFactory.cpp,javalib/qtjava/QStyleFactory.h,javalib/qtjava/QStyleSheet.cpp,javalib/qtjava/QStyleSheet.h,javalib/qtjava/QStyleSheetItem.cpp,javalib/qtjava/QStyleSheetItem.h,javalib/qtjava/Qt.cpp,javalib/qtjava/Qt.h,javalib/qtjava/QTab.cpp,javalib/qtjava/QTab.h,javalib/qtjava/QTabBar.cpp,javalib/qtjava/QTabBar.h,javalib/qtjava/QTabDialog.cpp,javalib/qtjava/QTabDialog.h,javalib/qtjava/QTable.cpp,javalib/qtjava/QTable.h,javalib/qtjava/QTableItem.cpp,javalib/qtjava/QTableItem.h,javalib/qtjava/QTableSelection.cpp,javalib/qtjava/QTableSelection.h,javalib/qtjava/QTabletEvent.cpp,javalib/qtjava/QTabletEvent.h,javalib/qtjava/QTabWidget.cpp,javalib/qtjava/QTabWidget.h,javalib/qtjava/QTextBrowser.cpp,javalib/qtjava/QTextBrowser.h,javalib/qtjava/QTextCodec.cpp,javalib/qtjava/QTextCodec.h,javalib/qtjava/QTextDecoder.cpp,javalib/qtjava/QTextDecoder.h,javalib/qtjava/QTextDrag.cpp,javalib/qtjava/QTextDrag.h,javalib/qtjava/QTextEdit.cpp,javalib/qtjava/QTextEdit.h,javalib/qtjava/QTextEncoder.cpp,javalib/qtjava/QTextEncoder.h,javalib/qtjava/QTextIStream.cpp,javalib/qtjava/QTextIStream.h,javalib/qtjava/QTextOStream.cpp,javalib/qtjava/QTextOStream.h,javalib/qtjava/QTextStream.cpp,javalib/qtjava/QTextStream.h,javalib/qtjava/QTextView.cpp,javalib/qtjava/QTextView.h,javalib/qtjava/QTimeEdit.cpp,javalib/qtjava/QTimeEdit.h,javalib/qtjava/QTimer.cpp,javalib/qtjava/QTimer.h,javalib/qtjava/QTimerEvent.cpp,javalib/qtjava/QTimerEvent.h,javalib/qtjava/qtjava.cpp,javalib/qtjava/qtjava.h,javalib/qtjava/QToolBar.cpp,javalib/qtjava/QToolBar.h,javalib/qtjava/QToolButton.cpp,javalib/qtjava/QToolButton.h,javalib/qtjava/QToolTip.cpp,javalib/qtjava/QToolTip.h,javalib/qtjava/QToolTipGroup.cpp,javalib/qtjava/QToolTipGroup.h,javalib/qtjava/QTranslator.cpp,javalib/qtjava/QTranslator.h,javalib/qtjava/QTranslatorMessage.cpp,javalib/qtjava/QTranslatorMessage.h,javalib/qtjava/QTsciiCodec.cpp,javalib/qtjava/QTsciiCodec.h,javalib/qtjava/QtSupport.cpp,javalib/qtjava/QUriDrag.cpp,javalib/qtjava/QUriDrag.h,javalib/qtjava/QUrl.cpp,javalib/qtjava/QUrl.h,javalib/qtjava/QUrlInfo.cpp,javalib/qtjava/QUrlInfo.h,javalib/qtjava/QUrlOperator.cpp,javalib/qtjava/QUrlOperator.h,javalib/qtjava/QUtf16Codec.cpp,javalib/qtjava/QUtf16Codec.h,javalib/qtjava/QUtf8Codec.cpp,javalib/qtjava/QUtf8Codec.h,javalib/qtjava/QUuid.cpp,javalib/qtjava/QUuid.h,javalib/qtjava/QValidator.cpp,javalib/qtjava/QValidator.h,javalib/qtjava/QVariant.cpp,javalib/qtjava/QVariant.h,javalib/qtjava/QVBox.cpp,javalib/qtjava/QVBox.h,javalib/qtjava/QVBoxLayout.cpp,javalib/qtjava/QVBoxLayout.h,javalib/qtjava/QVButtonGroup.cpp,javalib/qtjava/QVButtonGroup.h,javalib/qtjava/QVGroupBox.cpp,javalib/qtjava/QVGroupBox.h,javalib/qtjava/QWhatsThis.cpp,javalib/qtjava/QWhatsThis.h,javalib/qtjava/QWheelEvent.cpp,javalib/qtjava/QWheelEvent.h,javalib/qtjava/QWidget.cpp,javalib/qtjava/QWidget.h,javalib/qtjava/QWidgetItem.cpp,javalib/qtjava/QWidgetItem.h,javalib/qtjava/QWidgetStack.cpp,javalib/qtjava/QWidgetStack.h,javalib/qtjava/QWizard.cpp,javalib/qtjava/QWizard.h,javalib/qtjava/QWMatrix.cpp,javalib/qtjava/QWMatrix.h,javalib/qtjava/QWorkspace.cpp,javalib/qtjava/QWorkspace.h,javalib/qtjava/QXmlAttributes.cpp,javalib/qtjava/QXmlAttributes.h,javalib/qtjava/QXmlContentHandler.cpp,javalib/qtjava/QXmlContentHandler.h,javalib/qtjava/QXmlDeclHandler.cpp,javalib/qtjava/QXmlDeclHandler.h,javalib/qtjava/QXmlDefaultHandler.cpp,javalib/qtjava/QXmlDefaultHandler.h,javalib/qtjava/QXmlDTDHandler.cpp,javalib/qtjava/QXmlDTDHandler.h,javalib/qtjava/QXmlEntityResolver.cpp,javalib/qtjava/QXmlEntityResolver.h,javalib/qtjava/QXmlErrorHandler.cpp,javalib/qtjava/QXmlErrorHandler.h,javalib/qtjava/QXmlInputSource.cpp,javalib/qtjava/QXmlInputSource.h,javalib/qtjava/QXmlLexicalHandler.cpp,javalib/qtjava/QXmlLexicalHandler.h,javalib/qtjava/QXmlLocator.cpp,javalib/qtjava/QXmlLocator.h,javalib/qtjava/QXmlNamespaceSupport.cpp,javalib/qtjava/QXmlNamespaceSupport.h,javalib/qtjava/QXmlParseException.cpp,javalib/qtjava/QXmlParseException.h,javalib/qtjava/QXmlReader.cpp,javalib/qtjava/QXmlReader.h,javalib/qtjava/QXmlSimpleReader.cpp,javalib/qtjava/QXmlSimpleReader.h,javalib/qtjava/QGb18030Codec.cpp,javalib/qtjava/QGb18030Codec.h,javalib/qtjava/QEventLoop.cpp,javalib/qtjava/QHttpHeader.cpp,javalib/qtjava/QHttpRequestHeader.cpp,javalib/qtjava/QHttpResponseHeader.cpp,javalib/qtjava/QSpinWidget.cpp,javalib/qtjava/QSplashScreen.cpp,javalib/qtjava/QToolBox.cpp,javalib/qtjava/QEventLoop.h,javalib/qtjava/QHttpHeader.h,javalib/qtjava/QHttpRequestHeader.h,javalib/qtjava/QSpinWidget.h,javalib/qtjava/QSplashScreen.h,javalib/qtjava/QToolBox.h,javalib/qtjava/QHttpResponseHeader.h,javalib/qtjava/QtSupport.h,javalib/qtjava/QSyntaxHighlighter.cpp,javalib/qtjava/QSyntaxHighlighter.h,javalib/qtjava/JavaSlot.cpp +files=javalib/qtjava/JavaSlot.h,javalib/qtjava/TQAccel.cpp,javalib/qtjava/TQAccel.h,javalib/qtjava/TQAction.cpp,javalib/qtjava/TQAction.h,javalib/qtjava/TQActionGroup.cpp,javalib/qtjava/TQActionGroup.h,javalib/qtjava/TQApplication.cpp,javalib/qtjava/TQApplication.h,javalib/qtjava/TQAsyncIO.cpp,javalib/qtjava/TQAsyncIO.h,javalib/qtjava/TQAuServer.cpp,javalib/qtjava/TQAuServer.h,javalib/qtjava/TQBig5Codec.cpp,javalib/qtjava/TQBig5Codec.h,javalib/qtjava/TQBitmap.cpp,javalib/qtjava/TQBitmap.h,javalib/qtjava/TQBoxLayout.cpp,javalib/qtjava/TQBoxLayout.h,javalib/qtjava/TQBrush.cpp,javalib/qtjava/TQBrush.h,javalib/qtjava/TQBuffer.cpp,javalib/qtjava/TQBuffer.h,javalib/qtjava/TQButton.cpp,javalib/qtjava/TQButton.h,javalib/qtjava/TQButtonGroup.cpp,javalib/qtjava/TQButtonGroup.h,javalib/qtjava/TQCanvas.cpp,javalib/qtjava/TQCanvas.h,javalib/qtjava/TQCanvasEllipse.cpp,javalib/qtjava/TQCanvasEllipse.h,javalib/qtjava/TQCanvasItem.cpp,javalib/qtjava/TQCanvasItem.h,javalib/qtjava/TQCanvasLine.cpp,javalib/qtjava/TQCanvasLine.h,javalib/qtjava/TQCanvasPixmap.cpp,javalib/qtjava/TQCanvasPixmap.h,javalib/qtjava/TQCanvasPixmapArray.cpp,javalib/qtjava/TQCanvasPixmapArray.h,javalib/qtjava/TQCanvasPolygon.cpp,javalib/qtjava/TQCanvasPolygon.h,javalib/qtjava/TQCanvasPolygonalItem.cpp,javalib/qtjava/TQCanvasPolygonalItem.h,javalib/qtjava/TQCanvasRectangle.cpp,javalib/qtjava/TQCanvasRectangle.h,javalib/qtjava/TQCanvasSpline.cpp,javalib/qtjava/TQCanvasSpline.h,javalib/qtjava/TQCanvasSprite.cpp,javalib/qtjava/TQCanvasSprite.h,javalib/qtjava/TQCanvasText.cpp,javalib/qtjava/TQCanvasText.h,javalib/qtjava/TQCanvasView.cpp,javalib/qtjava/TQCanvasView.h,javalib/qtjava/TQCheckBox.cpp,javalib/qtjava/TQCheckBox.h,javalib/qtjava/TQCheckListItem.cpp,javalib/qtjava/TQCheckListItem.h,javalib/qtjava/TQCheckTableItem.cpp,javalib/qtjava/TQCheckTableItem.h,javalib/qtjava/TQChildEvent.cpp,javalib/qtjava/TQChildEvent.h,javalib/qtjava/TQClassInfo.cpp,javalib/qtjava/TQClassInfo.h,javalib/qtjava/TQClipboard.cpp,javalib/qtjava/TQClipboard.h,javalib/qtjava/TQCloseEvent.cpp,javalib/qtjava/TQCloseEvent.h,javalib/qtjava/TQColor.cpp,javalib/qtjava/TQColor.h,javalib/qtjava/TQColorDialog.cpp,javalib/qtjava/TQColorDialog.h,javalib/qtjava/TQColorDrag.cpp,javalib/qtjava/TQColorDrag.h,javalib/qtjava/TQColorGroup.cpp,javalib/qtjava/TQColorGroup.h,javalib/qtjava/TQComboBox.cpp,javalib/qtjava/TQComboBox.h,javalib/qtjava/TQComboTableItem.cpp,javalib/qtjava/TQComboTableItem.h,javalib/qtjava/TQContextMenuEvent.cpp,javalib/qtjava/TQContextMenuEvent.h,javalib/qtjava/TQCursor.cpp,javalib/qtjava/TQCursor.h,javalib/qtjava/TQCustomEvent.cpp,javalib/qtjava/TQCustomEvent.h,javalib/qtjava/TQCustomMenuItem.cpp,javalib/qtjava/TQCustomMenuItem.h,javalib/qtjava/TQDataBrowser.cpp,javalib/qtjava/TQDataBrowser.h,javalib/qtjava/TQDataPump.cpp,javalib/qtjava/TQDataPump.h,javalib/qtjava/TQDataSink.cpp,javalib/qtjava/TQDataSink.h,javalib/qtjava/TQDataSource.cpp,javalib/qtjava/TQDataSource.h,javalib/qtjava/TQDataStream.cpp,javalib/qtjava/TQDataStream.h,javalib/qtjava/TQDataTable.cpp,javalib/qtjava/TQDataTable.h,javalib/qtjava/TQDataView.cpp,javalib/qtjava/TQDataView.h,javalib/qtjava/TQDateEdit.cpp,javalib/qtjava/TQDateEdit.h,javalib/qtjava/TQDateTimeEdit.cpp,javalib/qtjava/TQDateTimeEdit.h,javalib/qtjava/TQDateTimeEditBase.cpp,javalib/qtjava/TQDateTimeEditBase.h,javalib/qtjava/TQDesktopWidget.cpp,javalib/qtjava/TQDesktopWidget.h,javalib/qtjava/TQDial.cpp,javalib/qtjava/TQDial.h,javalib/qtjava/TQDialog.cpp,javalib/qtjava/TQDialog.h,javalib/qtjava/TQDir.cpp,javalib/qtjava/TQDir.h,javalib/qtjava/TQDockArea.cpp,javalib/qtjava/TQDockArea.h,javalib/qtjava/TQDockWindow.cpp,javalib/qtjava/TQDockWindow.h,javalib/qtjava/TQDomAttr.cpp,javalib/qtjava/TQDomAttr.h,javalib/qtjava/TQDomCDATASection.cpp,javalib/qtjava/TQDomCDATASection.h,javalib/qtjava/TQDomCharacterData.cpp,javalib/qtjava/TQDomCharacterData.h,javalib/qtjava/TQDomComment.cpp,javalib/qtjava/TQDomComment.h,javalib/qtjava/TQDomDocument.cpp,javalib/qtjava/TQDomDocument.h,javalib/qtjava/TQDomDocumentFragment.cpp,javalib/qtjava/TQDomDocumentFragment.h,javalib/qtjava/TQDomDocumentType.cpp,javalib/qtjava/TQDomDocumentType.h,javalib/qtjava/TQDomElement.cpp,javalib/qtjava/TQDomElement.h,javalib/qtjava/TQDomEntity.cpp,javalib/qtjava/TQDomEntity.h,javalib/qtjava/TQDomEntityReference.cpp,javalib/qtjava/TQDomEntityReference.h,javalib/qtjava/TQDomImplementation.cpp,javalib/qtjava/TQDomImplementation.h,javalib/qtjava/TQDomNamedNodeMap.cpp,javalib/qtjava/TQDomNamedNodeMap.h,javalib/qtjava/TQDomNode.cpp,javalib/qtjava/TQDomNode.h,javalib/qtjava/TQDomNotation.cpp,javalib/qtjava/TQDomNotation.h,javalib/qtjava/TQDomProcessingInstruction.cpp,javalib/qtjava/TQDomProcessingInstruction.h,javalib/qtjava/TQDomText.cpp,javalib/qtjava/TQDomText.h,javalib/qtjava/TQDoubleValidator.cpp,javalib/qtjava/TQDoubleValidator.h,javalib/qtjava/TQDragEnterEvent.cpp,javalib/qtjava/TQDragEnterEvent.h,javalib/qtjava/TQDragLeaveEvent.cpp,javalib/qtjava/TQDragLeaveEvent.h,javalib/qtjava/TQDragManager.cpp,javalib/qtjava/TQDragManager.h,javalib/qtjava/TQDragMoveEvent.cpp,javalib/qtjava/TQDragMoveEvent.h,javalib/qtjava/TQDragObject.cpp,javalib/qtjava/TQDragObject.h,javalib/qtjava/TQDragResponseEvent.cpp,javalib/qtjava/TQDragResponseEvent.h,javalib/qtjava/TQDropEvent.cpp,javalib/qtjava/TQDropEvent.h,javalib/qtjava/TQDropSite.cpp,javalib/qtjava/TQDropSite.h,javalib/qtjava/TQEditorFactory.cpp,javalib/qtjava/TQEditorFactory.h,javalib/qtjava/TQErrorMessage.cpp,javalib/qtjava/TQErrorMessage.h,javalib/qtjava/TQEucJpCodec.cpp,javalib/qtjava/TQEucJpCodec.h,javalib/qtjava/TQEucKrCodec.cpp,javalib/qtjava/TQEucKrCodec.h,javalib/qtjava/TQEvent.cpp,javalib/qtjava/TQEvent.h,javalib/qtjava/TQFile.cpp,javalib/qtjava/TQFile.h,javalib/qtjava/TQFileDialog.cpp,javalib/qtjava/TQFileDialog.h,javalib/qtjava/TQFileIconProvider.cpp,javalib/qtjava/TQFileIconProvider.h,javalib/qtjava/TQFileInfo.cpp,javalib/qtjava/TQFileInfo.h,javalib/qtjava/TQFilePreview.cpp,javalib/qtjava/TQFilePreview.h,javalib/qtjava/TQFocusData.cpp,javalib/qtjava/TQFocusData.h,javalib/qtjava/TQFocusEvent.cpp,javalib/qtjava/TQFocusEvent.h,javalib/qtjava/TQFont.cpp,javalib/qtjava/TQFont.h,javalib/qtjava/TQFontDatabase.cpp,javalib/qtjava/TQFontDatabase.h,javalib/qtjava/TQFontDialog.cpp,javalib/qtjava/TQFontDialog.h,javalib/qtjava/TQFontInfo.cpp,javalib/qtjava/TQFontInfo.h,javalib/qtjava/TQFontMetrics.cpp,javalib/qtjava/TQFontMetrics.h,javalib/qtjava/TQFrame.cpp,javalib/qtjava/TQFrame.h,javalib/qtjava/TQFtp.cpp,javalib/qtjava/TQFtp.h,javalib/qtjava/TQGrid.cpp,javalib/qtjava/TQGrid.h,javalib/qtjava/TQGridLayout.cpp,javalib/qtjava/TQGridLayout.h,javalib/qtjava/TQGridView.cpp,javalib/qtjava/TQGridView.h,javalib/qtjava/TQGroupBox.cpp,javalib/qtjava/TQGroupBox.h,javalib/qtjava/TQHBox.cpp,javalib/qtjava/TQHBox.h,javalib/qtjava/TQHBoxLayout.cpp,javalib/qtjava/TQHBoxLayout.h,javalib/qtjava/TQHButtonGroup.cpp,javalib/qtjava/TQHButtonGroup.h,javalib/qtjava/TQHeader.cpp,javalib/qtjava/TQHeader.h,javalib/qtjava/TQHebrewCodec.cpp,javalib/qtjava/TQHebrewCodec.h,javalib/qtjava/TQHGroupBox.cpp,javalib/qtjava/TQHGroupBox.h,javalib/qtjava/TQHideEvent.cpp,javalib/qtjava/TQHideEvent.h,javalib/qtjava/TQHostAddress.cpp,javalib/qtjava/TQHostAddress.h,javalib/qtjava/TQHttp.cpp,javalib/qtjava/TQHttp.h,javalib/qtjava/TQIconDrag.cpp,javalib/qtjava/TQIconDrag.h,javalib/qtjava/TQIconDragItem.cpp,javalib/qtjava/TQIconDragItem.h,javalib/qtjava/TQIconSet.cpp,javalib/qtjava/TQIconSet.h,javalib/qtjava/TQIconView.cpp,javalib/qtjava/TQIconView.h,javalib/qtjava/TQIconViewItem.cpp,javalib/qtjava/TQIconViewItem.h,javalib/qtjava/TQImage.cpp,javalib/qtjava/TQImage.h,javalib/qtjava/TQImageConsumer.cpp,javalib/qtjava/TQImageConsumer.h,javalib/qtjava/TQImageDecoder.cpp,javalib/qtjava/TQImageDecoder.h,javalib/qtjava/TQImageDrag.cpp,javalib/qtjava/TQImageDrag.h,javalib/qtjava/TQImageFormat.cpp,javalib/qtjava/TQImageFormat.h,javalib/qtjava/TQImageFormatType.cpp,javalib/qtjava/TQImageFormatType.h,javalib/qtjava/TQImageIO.cpp,javalib/qtjava/TQImageIO.h,javalib/qtjava/TQImageTextKeyLang.cpp,javalib/qtjava/TQImageTextKeyLang.h,javalib/qtjava/TQIMEvent.cpp,javalib/qtjava/TQIMEvent.h,javalib/qtjava/TQInputDialog.cpp,javalib/qtjava/TQInputDialog.h,javalib/qtjava/TQIntValidator.cpp,javalib/qtjava/TQIntValidator.h,javalib/qtjava/TQIODevice.cpp,javalib/qtjava/TQIODevice.h,javalib/qtjava/TQIODeviceSource.cpp,javalib/qtjava/TQIODeviceSource.h,javalib/qtjava/TQJisCodec.cpp,javalib/qtjava/TQJisCodec.h,javalib/qtjava/TQJpUnicodeConv.cpp,javalib/qtjava/TQJpUnicodeConv.h,javalib/qtjava/TQKeyEvent.cpp,javalib/qtjava/TQKeyEvent.h,javalib/qtjava/TQKeySequence.cpp,javalib/qtjava/TQKeySequence.h,javalib/qtjava/TQLabel.cpp,javalib/qtjava/TQLabel.h,javalib/qtjava/TQLayout.cpp,javalib/qtjava/TQLayout.h,javalib/qtjava/TQLayoutItem.cpp,javalib/qtjava/TQLayoutItem.h,javalib/qtjava/TQLCDNumber.cpp,javalib/qtjava/TQLCDNumber.h,javalib/qtjava/TQLibrary.cpp,javalib/qtjava/TQLibrary.h,javalib/qtjava/TQLineEdit.cpp,javalib/qtjava/TQLineEdit.h,javalib/qtjava/TQListBox.cpp,javalib/qtjava/TQListBox.h,javalib/qtjava/TQListBoxItem.cpp,javalib/qtjava/TQListBoxItem.h,javalib/qtjava/TQListBoxPixmap.cpp,javalib/qtjava/TQListBoxPixmap.h,javalib/qtjava/TQListBoxText.cpp,javalib/qtjava/TQListBoxText.h,javalib/qtjava/TQListView.cpp,javalib/qtjava/TQListView.h,javalib/qtjava/TQListViewItem.cpp,javalib/qtjava/TQListViewItem.h,javalib/qtjava/TQLocalFs.cpp,javalib/qtjava/TQLocalFs.h,javalib/qtjava/TQMainWindow.cpp,javalib/qtjava/TQMainWindow.h,javalib/qtjava/TQMenuBar.cpp,javalib/qtjava/TQMenuBar.h,javalib/qtjava/TQMenuData.cpp,javalib/qtjava/TQMenuData.h,javalib/qtjava/TQMenuItem.cpp,javalib/qtjava/TQMenuItem.h,javalib/qtjava/TQMessageBox.cpp,javalib/qtjava/TQMessageBox.h,javalib/qtjava/TQMetaData.cpp,javalib/qtjava/TQMetaData.h,javalib/qtjava/TQMetaEnum.cpp,javalib/qtjava/TQMetaEnum.h,javalib/qtjava/TQMetaObject.cpp,javalib/qtjava/TQMetaObject.h,javalib/qtjava/TQMetaProperty.cpp,javalib/qtjava/TQMetaProperty.h,javalib/qtjava/TQMimeSource.cpp,javalib/qtjava/TQMimeSource.h,javalib/qtjava/TQMimeSourceFactory.cpp,javalib/qtjava/TQMimeSourceFactory.h,javalib/qtjava/TQMouseEvent.cpp,javalib/qtjava/TQMouseEvent.h,javalib/qtjava/TQMoveEvent.cpp,javalib/qtjava/TQMoveEvent.h,javalib/qtjava/TQMovie.cpp,javalib/qtjava/TQMovie.h,javalib/qtjava/TQMultiLineEdit.cpp,javalib/qtjava/TQMultiLineEdit.h,javalib/qtjava/TQNetworkOperation.cpp,javalib/qtjava/TQNetworkOperation.h,javalib/qtjava/TQNetworkProtocol.cpp,javalib/qtjava/TQNetworkProtocol.h,javalib/qtjava/TQObject.cpp,javalib/qtjava/TQObject.h,javalib/qtjava/TQObjectCleanupHandler.cpp,javalib/qtjava/TQObjectCleanupHandler.h,javalib/qtjava/TQPaintDevice.cpp,javalib/qtjava/TQPaintDevice.h,javalib/qtjava/TQPaintDeviceMetrics.cpp,javalib/qtjava/TQPaintDeviceMetrics.h,javalib/qtjava/TQPainter.cpp,javalib/qtjava/TQPainter.h,javalib/qtjava/TQPaintEvent.cpp,javalib/qtjava/TQPaintEvent.h,javalib/qtjava/TQPalette.cpp,javalib/qtjava/TQPalette.h,javalib/qtjava/TQPen.cpp,javalib/qtjava/TQPen.h,javalib/qtjava/TQPicture.cpp,javalib/qtjava/TQPicture.h,javalib/qtjava/TQPixmap.cpp,javalib/qtjava/TQPixmap.h,javalib/qtjava/TQPoint.cpp,javalib/qtjava/TQPoint.h,javalib/qtjava/TQPointArray.cpp,javalib/qtjava/TQPointArray.h,javalib/qtjava/TQPolygonScanner.cpp,javalib/qtjava/TQPolygonScanner.h,javalib/qtjava/TQPopupMenu.cpp,javalib/qtjava/TQPopupMenu.h,javalib/qtjava/TQPrintDialog.cpp,javalib/qtjava/TQPrintDialog.h,javalib/qtjava/TQPrinter.cpp,javalib/qtjava/TQPrinter.h,javalib/qtjava/TQProcess.cpp,javalib/qtjava/TQProcess.h,javalib/qtjava/TQProgressBar.cpp,javalib/qtjava/TQProgressBar.h,javalib/qtjava/TQProgressDialog.cpp,javalib/qtjava/TQProgressDialog.h,javalib/qtjava/TQPushButton.cpp,javalib/qtjava/TQPushButton.h,javalib/qtjava/TQRadioButton.cpp,javalib/qtjava/TQRadioButton.h,javalib/qtjava/TQRangeControl.cpp,javalib/qtjava/TQRangeControl.h,javalib/qtjava/TQRect.cpp,javalib/qtjava/TQRect.h,javalib/qtjava/TQRegExp.cpp,javalib/qtjava/TQRegExp.h,javalib/qtjava/TQRegExpValidator.cpp,javalib/qtjava/TQRegExpValidator.h,javalib/qtjava/TQRegion.cpp,javalib/qtjava/TQRegion.h,javalib/qtjava/TQResizeEvent.cpp,javalib/qtjava/TQResizeEvent.h,javalib/qtjava/TQScrollBar.cpp,javalib/qtjava/TQScrollBar.h,javalib/qtjava/TQScrollView.cpp,javalib/qtjava/TQScrollView.h,javalib/qtjava/TQSemiModal.cpp,javalib/qtjava/TQSemiModal.h,javalib/qtjava/TQServerSocket.cpp,javalib/qtjava/TQServerSocket.h,javalib/qtjava/TQSessionManager.cpp,javalib/qtjava/TQSessionManager.h,javalib/qtjava/TQSettings.cpp,javalib/qtjava/TQSettings.h,javalib/qtjava/TQShowEvent.cpp,javalib/qtjava/TQShowEvent.h,javalib/qtjava/TQSignal.cpp,javalib/qtjava/TQSignal.h,javalib/qtjava/TQSignalMapper.cpp,javalib/qtjava/TQSignalMapper.h,javalib/qtjava/TQSimpleRichText.cpp,javalib/qtjava/TQSimpleRichText.h,javalib/qtjava/TQSize.cpp,javalib/qtjava/TQSize.h,javalib/qtjava/TQSizeGrip.cpp,javalib/qtjava/TQSizeGrip.h,javalib/qtjava/TQSizePolicy.cpp,javalib/qtjava/TQSizePolicy.h,javalib/qtjava/TQSjisCodec.cpp,javalib/qtjava/TQSjisCodec.h,javalib/qtjava/TQSlider.cpp,javalib/qtjava/TQSlider.h,javalib/qtjava/TQSocket.cpp,javalib/qtjava/TQSocket.h,javalib/qtjava/TQSocketDevice.cpp,javalib/qtjava/TQSocketDevice.h,javalib/qtjava/TQSocketNotifier.cpp,javalib/qtjava/TQSocketNotifier.h,javalib/qtjava/TQSound.cpp,javalib/qtjava/TQSound.h,javalib/qtjava/TQSpacerItem.cpp,javalib/qtjava/TQSpacerItem.h,javalib/qtjava/TQSpinBox.cpp,javalib/qtjava/TQSpinBox.h,javalib/qtjava/TQSplitter.cpp,javalib/qtjava/TQSplitter.h,javalib/qtjava/TQSql.cpp,javalib/qtjava/TQSql.h,javalib/qtjava/TQSqlCursor.cpp,javalib/qtjava/TQSqlCursor.h,javalib/qtjava/TQSqlDatabase.cpp,javalib/qtjava/TQSqlDatabase.h,javalib/qtjava/TQSqlDriver.cpp,javalib/qtjava/TQSqlDriver.h,javalib/qtjava/TQSqlEditorFactory.cpp,javalib/qtjava/TQSqlEditorFactory.h,javalib/qtjava/TQSqlError.cpp,javalib/qtjava/TQSqlError.h,javalib/qtjava/TQSqlField.cpp,javalib/qtjava/TQSqlField.h,javalib/qtjava/TQSqlForm.cpp,javalib/qtjava/TQSqlForm.h,javalib/qtjava/TQSqlIndex.cpp,javalib/qtjava/TQSqlIndex.h,javalib/qtjava/TQSqlPropertyMap.cpp,javalib/qtjava/TQSqlPropertyMap.h,javalib/qtjava/TQSqlQuery.cpp,javalib/qtjava/TQSqlQuery.h,javalib/qtjava/TQSqlRecord.cpp,javalib/qtjava/TQSqlRecord.h,javalib/qtjava/TQSqlResult.cpp,javalib/qtjava/TQSqlResult.h,javalib/qtjava/TQStatusBar.cpp,javalib/qtjava/TQStatusBar.h,javalib/qtjava/TQStoredDrag.cpp,javalib/qtjava/TQStoredDrag.h,javalib/qtjava/TQStyle.cpp,javalib/qtjava/TQStyle.h,javalib/qtjava/TQStyleFactory.cpp,javalib/qtjava/TQStyleFactory.h,javalib/qtjava/TQStyleSheet.cpp,javalib/qtjava/TQStyleSheet.h,javalib/qtjava/TQStyleSheetItem.cpp,javalib/qtjava/TQStyleSheetItem.h,javalib/qtjava/Qt.cpp,javalib/qtjava/Qt.h,javalib/qtjava/TQTab.cpp,javalib/qtjava/TQTab.h,javalib/qtjava/TQTabBar.cpp,javalib/qtjava/TQTabBar.h,javalib/qtjava/TQTabDialog.cpp,javalib/qtjava/TQTabDialog.h,javalib/qtjava/TQTable.cpp,javalib/qtjava/TQTable.h,javalib/qtjava/TQTableItem.cpp,javalib/qtjava/TQTableItem.h,javalib/qtjava/TQTableSelection.cpp,javalib/qtjava/TQTableSelection.h,javalib/qtjava/TQTabletEvent.cpp,javalib/qtjava/TQTabletEvent.h,javalib/qtjava/TQTabWidget.cpp,javalib/qtjava/TQTabWidget.h,javalib/qtjava/TQTextBrowser.cpp,javalib/qtjava/TQTextBrowser.h,javalib/qtjava/TQTextCodec.cpp,javalib/qtjava/TQTextCodec.h,javalib/qtjava/TQTextDecoder.cpp,javalib/qtjava/TQTextDecoder.h,javalib/qtjava/TQTextDrag.cpp,javalib/qtjava/TQTextDrag.h,javalib/qtjava/TQTextEdit.cpp,javalib/qtjava/TQTextEdit.h,javalib/qtjava/TQTextEncoder.cpp,javalib/qtjava/TQTextEncoder.h,javalib/qtjava/TQTextIStream.cpp,javalib/qtjava/TQTextIStream.h,javalib/qtjava/TQTextOStream.cpp,javalib/qtjava/TQTextOStream.h,javalib/qtjava/TQTextStream.cpp,javalib/qtjava/TQTextStream.h,javalib/qtjava/TQTextView.cpp,javalib/qtjava/TQTextView.h,javalib/qtjava/TQTimeEdit.cpp,javalib/qtjava/TQTimeEdit.h,javalib/qtjava/TQTimer.cpp,javalib/qtjava/TQTimer.h,javalib/qtjava/TQTimerEvent.cpp,javalib/qtjava/TQTimerEvent.h,javalib/qtjava/qtjava.cpp,javalib/qtjava/qtjava.h,javalib/qtjava/TQToolBar.cpp,javalib/qtjava/TQToolBar.h,javalib/qtjava/TQToolButton.cpp,javalib/qtjava/TQToolButton.h,javalib/qtjava/TQToolTip.cpp,javalib/qtjava/TQToolTip.h,javalib/qtjava/TQToolTipGroup.cpp,javalib/qtjava/TQToolTipGroup.h,javalib/qtjava/TQTranslator.cpp,javalib/qtjava/TQTranslator.h,javalib/qtjava/TQTranslatorMessage.cpp,javalib/qtjava/TQTranslatorMessage.h,javalib/qtjava/TQTsciiCodec.cpp,javalib/qtjava/TQTsciiCodec.h,javalib/qtjava/QtSupport.cpp,javalib/qtjava/TQUriDrag.cpp,javalib/qtjava/TQUriDrag.h,javalib/qtjava/TQUrl.cpp,javalib/qtjava/TQUrl.h,javalib/qtjava/TQUrlInfo.cpp,javalib/qtjava/TQUrlInfo.h,javalib/qtjava/TQUrlOperator.cpp,javalib/qtjava/TQUrlOperator.h,javalib/qtjava/TQUtf16Codec.cpp,javalib/qtjava/TQUtf16Codec.h,javalib/qtjava/TQUtf8Codec.cpp,javalib/qtjava/TQUtf8Codec.h,javalib/qtjava/TQUuid.cpp,javalib/qtjava/TQUuid.h,javalib/qtjava/TQValidator.cpp,javalib/qtjava/TQValidator.h,javalib/qtjava/TQVariant.cpp,javalib/qtjava/TQVariant.h,javalib/qtjava/TQVBox.cpp,javalib/qtjava/TQVBox.h,javalib/qtjava/TQVBoxLayout.cpp,javalib/qtjava/TQVBoxLayout.h,javalib/qtjava/TQVButtonGroup.cpp,javalib/qtjava/TQVButtonGroup.h,javalib/qtjava/TQVGroupBox.cpp,javalib/qtjava/TQVGroupBox.h,javalib/qtjava/TQWhatsThis.cpp,javalib/qtjava/TQWhatsThis.h,javalib/qtjava/TQWheelEvent.cpp,javalib/qtjava/TQWheelEvent.h,javalib/qtjava/TQWidget.cpp,javalib/qtjava/TQWidget.h,javalib/qtjava/TQWidgetItem.cpp,javalib/qtjava/TQWidgetItem.h,javalib/qtjava/TQWidgetStack.cpp,javalib/qtjava/TQWidgetStack.h,javalib/qtjava/TQWizard.cpp,javalib/qtjava/TQWizard.h,javalib/qtjava/TQWMatrix.cpp,javalib/qtjava/TQWMatrix.h,javalib/qtjava/TQWorkspace.cpp,javalib/qtjava/TQWorkspace.h,javalib/qtjava/TQXmlAttributes.cpp,javalib/qtjava/TQXmlAttributes.h,javalib/qtjava/TQXmlContentHandler.cpp,javalib/qtjava/TQXmlContentHandler.h,javalib/qtjava/TQXmlDeclHandler.cpp,javalib/qtjava/TQXmlDeclHandler.h,javalib/qtjava/TQXmlDefaultHandler.cpp,javalib/qtjava/TQXmlDefaultHandler.h,javalib/qtjava/TQXmlDTDHandler.cpp,javalib/qtjava/TQXmlDTDHandler.h,javalib/qtjava/TQXmlEntityResolver.cpp,javalib/qtjava/TQXmlEntityResolver.h,javalib/qtjava/TQXmlErrorHandler.cpp,javalib/qtjava/TQXmlErrorHandler.h,javalib/qtjava/TQXmlInputSource.cpp,javalib/qtjava/TQXmlInputSource.h,javalib/qtjava/TQXmlLexicalHandler.cpp,javalib/qtjava/TQXmlLexicalHandler.h,javalib/qtjava/TQXmlLocator.cpp,javalib/qtjava/TQXmlLocator.h,javalib/qtjava/TQXmlNamespaceSupport.cpp,javalib/qtjava/TQXmlNamespaceSupport.h,javalib/qtjava/TQXmlParseException.cpp,javalib/qtjava/TQXmlParseException.h,javalib/qtjava/TQXmlReader.cpp,javalib/qtjava/TQXmlReader.h,javalib/qtjava/TQXmlSimpleReader.cpp,javalib/qtjava/TQXmlSimpleReader.h,javalib/qtjava/TQGb18030Codec.cpp,javalib/qtjava/TQGb18030Codec.h,javalib/qtjava/TQEventLoop.cpp,javalib/qtjava/TQHttpHeader.cpp,javalib/qtjava/TQHttpRequestHeader.cpp,javalib/qtjava/TQHttpResponseHeader.cpp,javalib/qtjava/TQSpinWidget.cpp,javalib/qtjava/TQSplashScreen.cpp,javalib/qtjava/TQToolBox.cpp,javalib/qtjava/TQEventLoop.h,javalib/qtjava/TQHttpHeader.h,javalib/qtjava/TQHttpRequestHeader.h,javalib/qtjava/TQSpinWidget.h,javalib/qtjava/TQSplashScreen.h,javalib/qtjava/TQToolBox.h,javalib/qtjava/TQHttpResponseHeader.h,javalib/qtjava/QtSupport.h,javalib/qtjava/TQSyntaxHighlighter.cpp,javalib/qtjava/TQSyntaxHighlighter.h,javalib/qtjava/JavaSlot.cpp sharedlib_LDFLAGS= sharedlib_rootname= sub_dirs= type=shared_library -[javalib/qtjava/QAccel.cpp] +[javalib/qtjava/TQAccel.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QAccel.h] +[javalib/qtjava/TQAccel.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QAction.cpp] +[javalib/qtjava/TQAction.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QAction.h] +[javalib/qtjava/TQAction.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QActionGroup.cpp] +[javalib/qtjava/TQActionGroup.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QActionGroup.h] +[javalib/qtjava/TQActionGroup.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QApplication.cpp] +[javalib/qtjava/TQApplication.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QApplication.h] +[javalib/qtjava/TQApplication.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QAsyncIO.cpp] +[javalib/qtjava/TQAsyncIO.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QAsyncIO.h] +[javalib/qtjava/TQAsyncIO.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QAuServer.cpp] +[javalib/qtjava/TQAuServer.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QAuServer.h] +[javalib/qtjava/TQAuServer.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QBig5Codec.cpp] +[javalib/qtjava/TQBig5Codec.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QBig5Codec.h] +[javalib/qtjava/TQBig5Codec.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QBitmap.cpp] +[javalib/qtjava/TQBitmap.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QBitmap.h] +[javalib/qtjava/TQBitmap.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QBoxLayout.cpp] +[javalib/qtjava/TQBoxLayout.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QBoxLayout.h] +[javalib/qtjava/TQBoxLayout.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QBrush.cpp] +[javalib/qtjava/TQBrush.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QBrush.h] +[javalib/qtjava/TQBrush.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QBuffer.cpp] +[javalib/qtjava/TQBuffer.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QBuffer.h] +[javalib/qtjava/TQBuffer.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QButton.cpp] +[javalib/qtjava/TQButton.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QButton.h] +[javalib/qtjava/TQButton.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QButtonGroup.cpp] +[javalib/qtjava/TQButtonGroup.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QButtonGroup.h] +[javalib/qtjava/TQButtonGroup.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QCanvas.cpp] +[javalib/qtjava/TQCanvas.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QCanvas.h] +[javalib/qtjava/TQCanvas.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QCanvasEllipse.cpp] +[javalib/qtjava/TQCanvasEllipse.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QCanvasEllipse.h] +[javalib/qtjava/TQCanvasEllipse.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QCanvasItem.cpp] +[javalib/qtjava/TQCanvasItem.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QCanvasItem.h] +[javalib/qtjava/TQCanvasItem.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QCanvasItemList.h] +[javalib/qtjava/TQCanvasItemList.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QCanvasLine.cpp] +[javalib/qtjava/TQCanvasLine.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QCanvasLine.h] +[javalib/qtjava/TQCanvasLine.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QCanvasPixmap.cpp] +[javalib/qtjava/TQCanvasPixmap.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QCanvasPixmap.h] +[javalib/qtjava/TQCanvasPixmap.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QCanvasPixmapArray.cpp] +[javalib/qtjava/TQCanvasPixmapArray.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QCanvasPixmapArray.h] +[javalib/qtjava/TQCanvasPixmapArray.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QCanvasPolygon.cpp] +[javalib/qtjava/TQCanvasPolygon.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QCanvasPolygon.h] +[javalib/qtjava/TQCanvasPolygon.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QCanvasPolygonalItem.cpp] +[javalib/qtjava/TQCanvasPolygonalItem.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QCanvasPolygonalItem.h] +[javalib/qtjava/TQCanvasPolygonalItem.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QCanvasRectangle.cpp] +[javalib/qtjava/TQCanvasRectangle.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QCanvasRectangle.h] +[javalib/qtjava/TQCanvasRectangle.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QCanvasSpline.cpp] +[javalib/qtjava/TQCanvasSpline.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QCanvasSpline.h] +[javalib/qtjava/TQCanvasSpline.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QCanvasSprite.cpp] +[javalib/qtjava/TQCanvasSprite.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QCanvasSprite.h] +[javalib/qtjava/TQCanvasSprite.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QCanvasText.cpp] +[javalib/qtjava/TQCanvasText.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QCanvasText.h] +[javalib/qtjava/TQCanvasText.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QCanvasView.cpp] +[javalib/qtjava/TQCanvasView.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QCanvasView.h] +[javalib/qtjava/TQCanvasView.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QCheckBox.cpp] +[javalib/qtjava/TQCheckBox.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QCheckBox.h] +[javalib/qtjava/TQCheckBox.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QCheckListItem.cpp] +[javalib/qtjava/TQCheckListItem.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QCheckListItem.h] +[javalib/qtjava/TQCheckListItem.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QCheckTableItem.cpp] +[javalib/qtjava/TQCheckTableItem.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QCheckTableItem.h] +[javalib/qtjava/TQCheckTableItem.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QChildEvent.cpp] +[javalib/qtjava/TQChildEvent.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QChildEvent.h] +[javalib/qtjava/TQChildEvent.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QClassInfo.cpp] +[javalib/qtjava/TQClassInfo.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QClassInfo.h] +[javalib/qtjava/TQClassInfo.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QClipboard.cpp] +[javalib/qtjava/TQClipboard.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QClipboard.h] +[javalib/qtjava/TQClipboard.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QCloseEvent.cpp] +[javalib/qtjava/TQCloseEvent.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QCloseEvent.h] +[javalib/qtjava/TQCloseEvent.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QColor.cpp] +[javalib/qtjava/TQColor.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QColor.h] +[javalib/qtjava/TQColor.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QColorDialog.cpp] +[javalib/qtjava/TQColorDialog.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QColorDialog.h] +[javalib/qtjava/TQColorDialog.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QColorDrag.cpp] +[javalib/qtjava/TQColorDrag.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QColorDrag.h] +[javalib/qtjava/TQColorDrag.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QColorGroup.cpp] +[javalib/qtjava/TQColorGroup.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QColorGroup.h] +[javalib/qtjava/TQColorGroup.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QComboBox.cpp] +[javalib/qtjava/TQComboBox.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QComboBox.h] +[javalib/qtjava/TQComboBox.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QComboTableItem.cpp] +[javalib/qtjava/TQComboTableItem.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QComboTableItem.h] +[javalib/qtjava/TQComboTableItem.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QContextMenuEvent.cpp] +[javalib/qtjava/TQContextMenuEvent.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QContextMenuEvent.h] +[javalib/qtjava/TQContextMenuEvent.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QCursor.cpp] +[javalib/qtjava/TQCursor.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QCursor.h] +[javalib/qtjava/TQCursor.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QCustomEvent.cpp] +[javalib/qtjava/TQCustomEvent.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QCustomEvent.h] +[javalib/qtjava/TQCustomEvent.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QCustomMenuItem.cpp] +[javalib/qtjava/TQCustomMenuItem.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QCustomMenuItem.h] +[javalib/qtjava/TQCustomMenuItem.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDataBrowser.cpp] +[javalib/qtjava/TQDataBrowser.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDataBrowser.h] +[javalib/qtjava/TQDataBrowser.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDataPump.cpp] +[javalib/qtjava/TQDataPump.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDataPump.h] +[javalib/qtjava/TQDataPump.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDataSink.cpp] +[javalib/qtjava/TQDataSink.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDataSink.h] +[javalib/qtjava/TQDataSink.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDataSource.cpp] +[javalib/qtjava/TQDataSource.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDataSource.h] +[javalib/qtjava/TQDataSource.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDataStream.cpp] +[javalib/qtjava/TQDataStream.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDataStream.h] +[javalib/qtjava/TQDataStream.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDataTable.cpp] +[javalib/qtjava/TQDataTable.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDataTable.h] +[javalib/qtjava/TQDataTable.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDataView.cpp] +[javalib/qtjava/TQDataView.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDataView.h] +[javalib/qtjava/TQDataView.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDateEdit.cpp] +[javalib/qtjava/TQDateEdit.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDateEdit.h] +[javalib/qtjava/TQDateEdit.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDateTimeEdit.cpp] +[javalib/qtjava/TQDateTimeEdit.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDateTimeEdit.h] +[javalib/qtjava/TQDateTimeEdit.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDateTimeEditBase.cpp] +[javalib/qtjava/TQDateTimeEditBase.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDateTimeEditBase.h] +[javalib/qtjava/TQDateTimeEditBase.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDesktopWidget.cpp] +[javalib/qtjava/TQDesktopWidget.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDesktopWidget.h] +[javalib/qtjava/TQDesktopWidget.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDial.cpp] +[javalib/qtjava/TQDial.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDial.h] +[javalib/qtjava/TQDial.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDialog.cpp] +[javalib/qtjava/TQDialog.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDialog.h] +[javalib/qtjava/TQDialog.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDir.cpp] +[javalib/qtjava/TQDir.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDir.h] +[javalib/qtjava/TQDir.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDockArea.cpp] +[javalib/qtjava/TQDockArea.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDockArea.h] +[javalib/qtjava/TQDockArea.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDockWindow.cpp] +[javalib/qtjava/TQDockWindow.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDockWindow.h] +[javalib/qtjava/TQDockWindow.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDomAttr.cpp] +[javalib/qtjava/TQDomAttr.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDomAttr.h] +[javalib/qtjava/TQDomAttr.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDomCDATASection.cpp] +[javalib/qtjava/TQDomCDATASection.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDomCDATASection.h] +[javalib/qtjava/TQDomCDATASection.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDomCharacterData.cpp] +[javalib/qtjava/TQDomCharacterData.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDomCharacterData.h] +[javalib/qtjava/TQDomCharacterData.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDomComment.cpp] +[javalib/qtjava/TQDomComment.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDomComment.h] +[javalib/qtjava/TQDomComment.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDomDocument.cpp] +[javalib/qtjava/TQDomDocument.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDomDocument.h] +[javalib/qtjava/TQDomDocument.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDomDocumentFragment.cpp] +[javalib/qtjava/TQDomDocumentFragment.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDomDocumentFragment.h] +[javalib/qtjava/TQDomDocumentFragment.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDomDocumentType.cpp] +[javalib/qtjava/TQDomDocumentType.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDomDocumentType.h] +[javalib/qtjava/TQDomDocumentType.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDomElement.cpp] +[javalib/qtjava/TQDomElement.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDomElement.h] +[javalib/qtjava/TQDomElement.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDomEntity.cpp] +[javalib/qtjava/TQDomEntity.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDomEntity.h] +[javalib/qtjava/TQDomEntity.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDomEntityReference.cpp] +[javalib/qtjava/TQDomEntityReference.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDomEntityReference.h] +[javalib/qtjava/TQDomEntityReference.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDomImplementation.cpp] +[javalib/qtjava/TQDomImplementation.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDomImplementation.h] +[javalib/qtjava/TQDomImplementation.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDomNamedNodeMap.cpp] +[javalib/qtjava/TQDomNamedNodeMap.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDomNamedNodeMap.h] +[javalib/qtjava/TQDomNamedNodeMap.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDomNode.cpp] +[javalib/qtjava/TQDomNode.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDomNode.h] +[javalib/qtjava/TQDomNode.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDomNotation.cpp] +[javalib/qtjava/TQDomNotation.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDomNotation.h] +[javalib/qtjava/TQDomNotation.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDomProcessingInstruction.cpp] +[javalib/qtjava/TQDomProcessingInstruction.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDomProcessingInstruction.h] +[javalib/qtjava/TQDomProcessingInstruction.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDomText.cpp] +[javalib/qtjava/TQDomText.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDomText.h] +[javalib/qtjava/TQDomText.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDoubleValidator.cpp] +[javalib/qtjava/TQDoubleValidator.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDoubleValidator.h] +[javalib/qtjava/TQDoubleValidator.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDragEnterEvent.cpp] +[javalib/qtjava/TQDragEnterEvent.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDragEnterEvent.h] +[javalib/qtjava/TQDragEnterEvent.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDragLeaveEvent.cpp] +[javalib/qtjava/TQDragLeaveEvent.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDragLeaveEvent.h] +[javalib/qtjava/TQDragLeaveEvent.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDragManager.cpp] +[javalib/qtjava/TQDragManager.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDragManager.h] +[javalib/qtjava/TQDragManager.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDragMoveEvent.cpp] +[javalib/qtjava/TQDragMoveEvent.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDragMoveEvent.h] +[javalib/qtjava/TQDragMoveEvent.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDragObject.cpp] +[javalib/qtjava/TQDragObject.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDragObject.h] +[javalib/qtjava/TQDragObject.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDragResponseEvent.cpp] +[javalib/qtjava/TQDragResponseEvent.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDragResponseEvent.h] +[javalib/qtjava/TQDragResponseEvent.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDropEvent.cpp] +[javalib/qtjava/TQDropEvent.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDropEvent.h] +[javalib/qtjava/TQDropEvent.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QDropSite.cpp] +[javalib/qtjava/TQDropSite.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QDropSite.h] +[javalib/qtjava/TQDropSite.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QEditorFactory.cpp] +[javalib/qtjava/TQEditorFactory.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QEditorFactory.h] +[javalib/qtjava/TQEditorFactory.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QErrorMessage.cpp] +[javalib/qtjava/TQErrorMessage.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QErrorMessage.h] +[javalib/qtjava/TQErrorMessage.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QEucJpCodec.cpp] +[javalib/qtjava/TQEucJpCodec.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QEucJpCodec.h] +[javalib/qtjava/TQEucJpCodec.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QEucKrCodec.cpp] +[javalib/qtjava/TQEucKrCodec.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QEucKrCodec.h] +[javalib/qtjava/TQEucKrCodec.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QEvent.cpp] +[javalib/qtjava/TQEvent.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QEvent.h] +[javalib/qtjava/TQEvent.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QEventLoop.cpp] +[javalib/qtjava/TQEventLoop.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QEventLoop.h] +[javalib/qtjava/TQEventLoop.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QFile.cpp] +[javalib/qtjava/TQFile.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QFile.h] +[javalib/qtjava/TQFile.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QFileDialog.cpp] +[javalib/qtjava/TQFileDialog.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QFileDialog.h] +[javalib/qtjava/TQFileDialog.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QFileIconProvider.cpp] +[javalib/qtjava/TQFileIconProvider.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QFileIconProvider.h] +[javalib/qtjava/TQFileIconProvider.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QFileInfo.cpp] +[javalib/qtjava/TQFileInfo.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QFileInfo.h] +[javalib/qtjava/TQFileInfo.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QFilePreview.cpp] +[javalib/qtjava/TQFilePreview.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QFilePreview.h] +[javalib/qtjava/TQFilePreview.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QFocusData.cpp] +[javalib/qtjava/TQFocusData.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QFocusData.h] +[javalib/qtjava/TQFocusData.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QFocusEvent.cpp] +[javalib/qtjava/TQFocusEvent.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QFocusEvent.h] +[javalib/qtjava/TQFocusEvent.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QFont.cpp] +[javalib/qtjava/TQFont.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QFont.h] +[javalib/qtjava/TQFont.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QFontDatabase.cpp] +[javalib/qtjava/TQFontDatabase.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QFontDatabase.h] +[javalib/qtjava/TQFontDatabase.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QFontDialog.cpp] +[javalib/qtjava/TQFontDialog.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QFontDialog.h] +[javalib/qtjava/TQFontDialog.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QFontInfo.cpp] +[javalib/qtjava/TQFontInfo.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QFontInfo.h] +[javalib/qtjava/TQFontInfo.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QFontMetrics.cpp] +[javalib/qtjava/TQFontMetrics.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QFontMetrics.h] +[javalib/qtjava/TQFontMetrics.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QFrame.cpp] +[javalib/qtjava/TQFrame.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QFrame.h] +[javalib/qtjava/TQFrame.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QFtp.cpp] +[javalib/qtjava/TQFtp.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QFtp.h] +[javalib/qtjava/TQFtp.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QGL.cpp] +[javalib/qtjava/TQGL.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QGL.h] +[javalib/qtjava/TQGL.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QGLColormap.cpp] +[javalib/qtjava/TQGLColormap.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QGLColormap.h] +[javalib/qtjava/TQGLColormap.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QGLContext.cpp] +[javalib/qtjava/TQGLContext.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QGLContext.h] +[javalib/qtjava/TQGLContext.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QGLFormat.cpp] +[javalib/qtjava/TQGLFormat.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QGLFormat.h] +[javalib/qtjava/TQGLFormat.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QGLWidget.cpp] +[javalib/qtjava/TQGLWidget.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QGLWidget.h] +[javalib/qtjava/TQGLWidget.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QGb18030Codec.cpp] +[javalib/qtjava/TQGb18030Codec.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QGb18030Codec.h] +[javalib/qtjava/TQGb18030Codec.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QGbkCodec.cpp] +[javalib/qtjava/TQGbkCodec.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QGbkCodec.h] +[javalib/qtjava/TQGbkCodec.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QGrid.cpp] +[javalib/qtjava/TQGrid.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QGrid.h] +[javalib/qtjava/TQGrid.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QGridLayout.cpp] +[javalib/qtjava/TQGridLayout.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QGridLayout.h] +[javalib/qtjava/TQGridLayout.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QGridView.cpp] +[javalib/qtjava/TQGridView.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QGridView.h] +[javalib/qtjava/TQGridView.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QGroupBox.cpp] +[javalib/qtjava/TQGroupBox.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QGroupBox.h] +[javalib/qtjava/TQGroupBox.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QHBox.cpp] +[javalib/qtjava/TQHBox.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QHBox.h] +[javalib/qtjava/TQHBox.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QHBoxLayout.cpp] +[javalib/qtjava/TQHBoxLayout.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QHBoxLayout.h] +[javalib/qtjava/TQHBoxLayout.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QHButtonGroup.cpp] +[javalib/qtjava/TQHButtonGroup.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QHButtonGroup.h] +[javalib/qtjava/TQHButtonGroup.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QHGroupBox.cpp] +[javalib/qtjava/TQHGroupBox.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QHGroupBox.h] +[javalib/qtjava/TQHGroupBox.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QHeader.cpp] +[javalib/qtjava/TQHeader.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QHeader.h] +[javalib/qtjava/TQHeader.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QHebrewCodec.cpp] +[javalib/qtjava/TQHebrewCodec.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QHebrewCodec.h] +[javalib/qtjava/TQHebrewCodec.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QHideEvent.cpp] +[javalib/qtjava/TQHideEvent.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QHideEvent.h] +[javalib/qtjava/TQHideEvent.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QHostAddress.cpp] +[javalib/qtjava/TQHostAddress.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QHostAddress.h] +[javalib/qtjava/TQHostAddress.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QHttp.cpp] +[javalib/qtjava/TQHttp.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QHttp.h] +[javalib/qtjava/TQHttp.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QHttpHeader.cpp] +[javalib/qtjava/TQHttpHeader.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QHttpHeader.h] +[javalib/qtjava/TQHttpHeader.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QHttpRequestHeader.cpp] +[javalib/qtjava/TQHttpRequestHeader.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QHttpRequestHeader.h] +[javalib/qtjava/TQHttpRequestHeader.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QHttpResponseHeader.cpp] +[javalib/qtjava/TQHttpResponseHeader.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QHttpResponseHeader.h] +[javalib/qtjava/TQHttpResponseHeader.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QIMEvent.cpp] +[javalib/qtjava/TQIMEvent.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QIMEvent.h] +[javalib/qtjava/TQIMEvent.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QIODevice.cpp] +[javalib/qtjava/TQIODevice.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QIODevice.h] +[javalib/qtjava/TQIODevice.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QIODeviceInterface.h] +[javalib/qtjava/TQIODeviceInterface.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QIODeviceSource.cpp] +[javalib/qtjava/TQIODeviceSource.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QIODeviceSource.h] +[javalib/qtjava/TQIODeviceSource.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QIconDrag.cpp] +[javalib/qtjava/TQIconDrag.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QIconDrag.h] +[javalib/qtjava/TQIconDrag.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QIconDragItem.cpp] +[javalib/qtjava/TQIconDragItem.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QIconDragItem.h] +[javalib/qtjava/TQIconDragItem.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QIconSet.cpp] +[javalib/qtjava/TQIconSet.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QIconSet.h] +[javalib/qtjava/TQIconSet.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QIconView.cpp] +[javalib/qtjava/TQIconView.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QIconView.h] +[javalib/qtjava/TQIconView.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QIconViewItem.cpp] +[javalib/qtjava/TQIconViewItem.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QIconViewItem.h] +[javalib/qtjava/TQIconViewItem.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QImage.cpp] +[javalib/qtjava/TQImage.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QImage.h] +[javalib/qtjava/TQImage.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QImageConsumer.cpp] +[javalib/qtjava/TQImageConsumer.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QImageConsumer.h] +[javalib/qtjava/TQImageConsumer.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QImageDecoder.cpp] +[javalib/qtjava/TQImageDecoder.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QImageDecoder.h] +[javalib/qtjava/TQImageDecoder.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QImageDrag.cpp] +[javalib/qtjava/TQImageDrag.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QImageDrag.h] +[javalib/qtjava/TQImageDrag.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QImageFormat.cpp] +[javalib/qtjava/TQImageFormat.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QImageFormat.h] +[javalib/qtjava/TQImageFormat.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QImageFormatType.cpp] +[javalib/qtjava/TQImageFormatType.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QImageFormatType.h] +[javalib/qtjava/TQImageFormatType.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QImageIO.cpp] +[javalib/qtjava/TQImageIO.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QImageIO.h] +[javalib/qtjava/TQImageIO.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QImageTextKeyLang.cpp] +[javalib/qtjava/TQImageTextKeyLang.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QImageTextKeyLang.h] +[javalib/qtjava/TQImageTextKeyLang.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QInputDialog.cpp] +[javalib/qtjava/TQInputDialog.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QInputDialog.h] +[javalib/qtjava/TQInputDialog.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QIntValidator.cpp] +[javalib/qtjava/TQIntValidator.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QIntValidator.h] +[javalib/qtjava/TQIntValidator.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QJisCodec.cpp] +[javalib/qtjava/TQJisCodec.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QJisCodec.h] +[javalib/qtjava/TQJisCodec.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QJpUnicodeConv.cpp] +[javalib/qtjava/TQJpUnicodeConv.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QJpUnicodeConv.h] +[javalib/qtjava/TQJpUnicodeConv.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QKeyEvent.cpp] +[javalib/qtjava/TQKeyEvent.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QKeyEvent.h] +[javalib/qtjava/TQKeyEvent.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QKeySequence.cpp] +[javalib/qtjava/TQKeySequence.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QKeySequence.h] +[javalib/qtjava/TQKeySequence.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QLCDNumber.cpp] +[javalib/qtjava/TQLCDNumber.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QLCDNumber.h] +[javalib/qtjava/TQLCDNumber.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QLabel.cpp] +[javalib/qtjava/TQLabel.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QLabel.h] +[javalib/qtjava/TQLabel.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QLayout.cpp] +[javalib/qtjava/TQLayout.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QLayout.h] +[javalib/qtjava/TQLayout.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QLayoutItem.cpp] +[javalib/qtjava/TQLayoutItem.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QLayoutItem.h] +[javalib/qtjava/TQLayoutItem.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QLayoutItemInterface.h] +[javalib/qtjava/TQLayoutItemInterface.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QLayoutIterator.h] +[javalib/qtjava/TQLayoutIterator.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QLibrary.cpp] +[javalib/qtjava/TQLibrary.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QLibrary.h] +[javalib/qtjava/TQLibrary.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QLineEdit.cpp] +[javalib/qtjava/TQLineEdit.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QLineEdit.h] +[javalib/qtjava/TQLineEdit.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QListBox.cpp] +[javalib/qtjava/TQListBox.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QListBox.h] +[javalib/qtjava/TQListBox.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QListBoxItem.cpp] +[javalib/qtjava/TQListBoxItem.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QListBoxItem.h] +[javalib/qtjava/TQListBoxItem.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QListBoxPixmap.cpp] +[javalib/qtjava/TQListBoxPixmap.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QListBoxPixmap.h] +[javalib/qtjava/TQListBoxPixmap.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QListBoxText.cpp] +[javalib/qtjava/TQListBoxText.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QListBoxText.h] +[javalib/qtjava/TQListBoxText.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QListView.cpp] +[javalib/qtjava/TQListView.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QListView.h] +[javalib/qtjava/TQListView.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QListViewItem.cpp] +[javalib/qtjava/TQListViewItem.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QListViewItem.h] +[javalib/qtjava/TQListViewItem.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QLocalFs.cpp] +[javalib/qtjava/TQLocalFs.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QLocalFs.h] +[javalib/qtjava/TQLocalFs.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QMainWindow.cpp] +[javalib/qtjava/TQMainWindow.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QMainWindow.h] +[javalib/qtjava/TQMainWindow.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QMenuBar.cpp] +[javalib/qtjava/TQMenuBar.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QMenuBar.h] +[javalib/qtjava/TQMenuBar.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QMenuData.cpp] +[javalib/qtjava/TQMenuData.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QMenuData.h] +[javalib/qtjava/TQMenuData.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QMenuDataInterface.h] +[javalib/qtjava/TQMenuDataInterface.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QMenuItem.cpp] +[javalib/qtjava/TQMenuItem.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QMenuItem.h] +[javalib/qtjava/TQMenuItem.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QMessageBox.cpp] +[javalib/qtjava/TQMessageBox.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QMessageBox.h] +[javalib/qtjava/TQMessageBox.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QMetaData.cpp] +[javalib/qtjava/TQMetaData.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QMetaData.h] +[javalib/qtjava/TQMetaData.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QMetaEnum.cpp] +[javalib/qtjava/TQMetaEnum.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QMetaEnum.h] +[javalib/qtjava/TQMetaEnum.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QMetaObject.cpp] +[javalib/qtjava/TQMetaObject.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QMetaObject.h] +[javalib/qtjava/TQMetaObject.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QMetaProperty.cpp] +[javalib/qtjava/TQMetaProperty.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QMetaProperty.h] +[javalib/qtjava/TQMetaProperty.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QMimeSource.cpp] +[javalib/qtjava/TQMimeSource.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QMimeSource.h] +[javalib/qtjava/TQMimeSource.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QMimeSourceFactory.cpp] +[javalib/qtjava/TQMimeSourceFactory.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QMimeSourceFactory.h] +[javalib/qtjava/TQMimeSourceFactory.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QMimeSourceInterface.h] +[javalib/qtjava/TQMimeSourceInterface.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QMouseEvent.cpp] +[javalib/qtjava/TQMouseEvent.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QMouseEvent.h] +[javalib/qtjava/TQMouseEvent.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QMoveEvent.cpp] +[javalib/qtjava/TQMoveEvent.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QMoveEvent.h] +[javalib/qtjava/TQMoveEvent.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QMovie.cpp] +[javalib/qtjava/TQMovie.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QMovie.h] +[javalib/qtjava/TQMovie.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QMultiLineEdit.cpp] +[javalib/qtjava/TQMultiLineEdit.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QMultiLineEdit.h] +[javalib/qtjava/TQMultiLineEdit.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QNetworkOperation.cpp] +[javalib/qtjava/TQNetworkOperation.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QNetworkOperation.h] +[javalib/qtjava/TQNetworkOperation.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QNetworkProtocol.cpp] +[javalib/qtjava/TQNetworkProtocol.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QNetworkProtocol.h] +[javalib/qtjava/TQNetworkProtocol.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QObject.cpp] +[javalib/qtjava/TQObject.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QObject.h] +[javalib/qtjava/TQObject.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QObjectCleanupHandler.cpp] +[javalib/qtjava/TQObjectCleanupHandler.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QObjectCleanupHandler.h] +[javalib/qtjava/TQObjectCleanupHandler.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QPaintDevice.cpp] +[javalib/qtjava/TQPaintDevice.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QPaintDevice.h] +[javalib/qtjava/TQPaintDevice.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QPaintDeviceInterface.h] +[javalib/qtjava/TQPaintDeviceInterface.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QPaintDeviceMetrics.cpp] +[javalib/qtjava/TQPaintDeviceMetrics.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QPaintDeviceMetrics.h] +[javalib/qtjava/TQPaintDeviceMetrics.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QPaintEvent.cpp] +[javalib/qtjava/TQPaintEvent.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QPaintEvent.h] +[javalib/qtjava/TQPaintEvent.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QPainter.cpp] +[javalib/qtjava/TQPainter.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QPainter.h] +[javalib/qtjava/TQPainter.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QPalette.cpp] +[javalib/qtjava/TQPalette.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QPalette.h] +[javalib/qtjava/TQPalette.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QPen.cpp] +[javalib/qtjava/TQPen.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QPen.h] +[javalib/qtjava/TQPen.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QPicture.cpp] +[javalib/qtjava/TQPicture.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QPicture.h] +[javalib/qtjava/TQPicture.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QPixmap.cpp] +[javalib/qtjava/TQPixmap.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QPixmap.h] +[javalib/qtjava/TQPixmap.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QPoint.cpp] +[javalib/qtjava/TQPoint.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QPoint.h] +[javalib/qtjava/TQPoint.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QPointArray.cpp] +[javalib/qtjava/TQPointArray.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QPointArray.h] +[javalib/qtjava/TQPointArray.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QPolygonScanner.cpp] +[javalib/qtjava/TQPolygonScanner.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QPolygonScanner.h] +[javalib/qtjava/TQPolygonScanner.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QPopupMenu.cpp] +[javalib/qtjava/TQPopupMenu.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QPopupMenu.h] +[javalib/qtjava/TQPopupMenu.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QPrintDialog.cpp] +[javalib/qtjava/TQPrintDialog.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QPrintDialog.h] +[javalib/qtjava/TQPrintDialog.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QPrinter.cpp] +[javalib/qtjava/TQPrinter.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QPrinter.h] +[javalib/qtjava/TQPrinter.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QProcess.cpp] +[javalib/qtjava/TQProcess.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QProcess.h] +[javalib/qtjava/TQProcess.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QProgressBar.cpp] +[javalib/qtjava/TQProgressBar.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QProgressBar.h] +[javalib/qtjava/TQProgressBar.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QProgressDialog.cpp] +[javalib/qtjava/TQProgressDialog.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QProgressDialog.h] +[javalib/qtjava/TQProgressDialog.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QPushButton.cpp] +[javalib/qtjava/TQPushButton.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QPushButton.h] +[javalib/qtjava/TQPushButton.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QRadioButton.cpp] +[javalib/qtjava/TQRadioButton.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QRadioButton.h] +[javalib/qtjava/TQRadioButton.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QRangeControl.cpp] +[javalib/qtjava/TQRangeControl.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QRangeControl.h] +[javalib/qtjava/TQRangeControl.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QRangeControlInterface.h] +[javalib/qtjava/TQRangeControlInterface.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QRect.cpp] +[javalib/qtjava/TQRect.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QRect.h] +[javalib/qtjava/TQRect.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QRegExp.cpp] +[javalib/qtjava/TQRegExp.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QRegExp.h] +[javalib/qtjava/TQRegExp.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QRegExpValidator.cpp] +[javalib/qtjava/TQRegExpValidator.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QRegExpValidator.h] +[javalib/qtjava/TQRegExpValidator.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QRegion.cpp] +[javalib/qtjava/TQRegion.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QRegion.h] +[javalib/qtjava/TQRegion.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QResizeEvent.cpp] +[javalib/qtjava/TQResizeEvent.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QResizeEvent.h] +[javalib/qtjava/TQResizeEvent.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QScrollBar.cpp] +[javalib/qtjava/TQScrollBar.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QScrollBar.h] +[javalib/qtjava/TQScrollBar.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QScrollView.cpp] +[javalib/qtjava/TQScrollView.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QScrollView.h] +[javalib/qtjava/TQScrollView.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QSemiModal.cpp] +[javalib/qtjava/TQSemiModal.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QSemiModal.h] +[javalib/qtjava/TQSemiModal.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QServerSocket.cpp] +[javalib/qtjava/TQServerSocket.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QServerSocket.h] +[javalib/qtjava/TQServerSocket.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QSessionManager.cpp] +[javalib/qtjava/TQSessionManager.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QSessionManager.h] +[javalib/qtjava/TQSessionManager.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QSettings.cpp] +[javalib/qtjava/TQSettings.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QSettings.h] +[javalib/qtjava/TQSettings.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QShowEvent.cpp] +[javalib/qtjava/TQShowEvent.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QShowEvent.h] +[javalib/qtjava/TQShowEvent.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QSignal.cpp] +[javalib/qtjava/TQSignal.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QSignal.h] +[javalib/qtjava/TQSignal.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QSignalMapper.cpp] +[javalib/qtjava/TQSignalMapper.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QSignalMapper.h] +[javalib/qtjava/TQSignalMapper.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QSimpleRichText.cpp] +[javalib/qtjava/TQSimpleRichText.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QSimpleRichText.h] +[javalib/qtjava/TQSimpleRichText.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QSize.cpp] +[javalib/qtjava/TQSize.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QSize.h] +[javalib/qtjava/TQSize.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QSizeGrip.cpp] +[javalib/qtjava/TQSizeGrip.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QSizeGrip.h] +[javalib/qtjava/TQSizeGrip.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QSizePolicy.cpp] +[javalib/qtjava/TQSizePolicy.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QSizePolicy.h] +[javalib/qtjava/TQSizePolicy.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QSjisCodec.cpp] +[javalib/qtjava/TQSjisCodec.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QSjisCodec.h] +[javalib/qtjava/TQSjisCodec.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QSlider.cpp] +[javalib/qtjava/TQSlider.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QSlider.h] +[javalib/qtjava/TQSlider.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QSocket.cpp] +[javalib/qtjava/TQSocket.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QSocket.h] +[javalib/qtjava/TQSocket.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QSocketDevice.cpp] +[javalib/qtjava/TQSocketDevice.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QSocketDevice.h] +[javalib/qtjava/TQSocketDevice.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QSocketNotifier.cpp] +[javalib/qtjava/TQSocketNotifier.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QSocketNotifier.h] +[javalib/qtjava/TQSocketNotifier.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QSound.cpp] +[javalib/qtjava/TQSound.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QSound.h] +[javalib/qtjava/TQSound.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QSpacerItem.cpp] +[javalib/qtjava/TQSpacerItem.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QSpacerItem.h] +[javalib/qtjava/TQSpacerItem.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QSpinBox.cpp] +[javalib/qtjava/TQSpinBox.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QSpinBox.h] +[javalib/qtjava/TQSpinBox.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QSpinWidget.cpp] +[javalib/qtjava/TQSpinWidget.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QSpinWidget.h] +[javalib/qtjava/TQSpinWidget.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QSplashScreen.cpp] +[javalib/qtjava/TQSplashScreen.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QSplashScreen.h] +[javalib/qtjava/TQSplashScreen.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QSplitter.cpp] +[javalib/qtjava/TQSplitter.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QSplitter.h] +[javalib/qtjava/TQSplitter.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QSql.cpp] +[javalib/qtjava/TQSql.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QSql.h] +[javalib/qtjava/TQSql.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QSqlCursor.cpp] +[javalib/qtjava/TQSqlCursor.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QSqlCursor.h] +[javalib/qtjava/TQSqlCursor.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QSqlDatabase.cpp] +[javalib/qtjava/TQSqlDatabase.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QSqlDatabase.h] +[javalib/qtjava/TQSqlDatabase.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QSqlDriver.cpp] +[javalib/qtjava/TQSqlDriver.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QSqlDriver.h] +[javalib/qtjava/TQSqlDriver.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QSqlEditorFactory.cpp] +[javalib/qtjava/TQSqlEditorFactory.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QSqlEditorFactory.h] +[javalib/qtjava/TQSqlEditorFactory.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QSqlError.cpp] +[javalib/qtjava/TQSqlError.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QSqlError.h] +[javalib/qtjava/TQSqlError.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QSqlField.cpp] +[javalib/qtjava/TQSqlField.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QSqlField.h] +[javalib/qtjava/TQSqlField.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QSqlForm.cpp] +[javalib/qtjava/TQSqlForm.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QSqlForm.h] +[javalib/qtjava/TQSqlForm.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QSqlIndex.cpp] +[javalib/qtjava/TQSqlIndex.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QSqlIndex.h] +[javalib/qtjava/TQSqlIndex.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QSqlPropertyMap.cpp] +[javalib/qtjava/TQSqlPropertyMap.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QSqlPropertyMap.h] +[javalib/qtjava/TQSqlPropertyMap.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QSqlQuery.cpp] +[javalib/qtjava/TQSqlQuery.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QSqlQuery.h] +[javalib/qtjava/TQSqlQuery.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QSqlRecord.cpp] +[javalib/qtjava/TQSqlRecord.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QSqlRecord.h] +[javalib/qtjava/TQSqlRecord.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QSqlResult.cpp] +[javalib/qtjava/TQSqlResult.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QSqlResult.h] +[javalib/qtjava/TQSqlResult.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QStatusBar.cpp] +[javalib/qtjava/TQStatusBar.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QStatusBar.h] +[javalib/qtjava/TQStatusBar.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QStoredDrag.cpp] +[javalib/qtjava/TQStoredDrag.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QStoredDrag.h] +[javalib/qtjava/TQStoredDrag.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QStyle.cpp] +[javalib/qtjava/TQStyle.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QStyle.h] +[javalib/qtjava/TQStyle.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QStyleFactory.cpp] +[javalib/qtjava/TQStyleFactory.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QStyleFactory.h] +[javalib/qtjava/TQStyleFactory.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QStyleSheet.cpp] +[javalib/qtjava/TQStyleSheet.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QStyleSheet.h] +[javalib/qtjava/TQStyleSheet.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QStyleSheetItem.cpp] +[javalib/qtjava/TQStyleSheetItem.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QStyleSheetItem.h] +[javalib/qtjava/TQStyleSheetItem.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QSyntaxHighlighter.cpp] +[javalib/qtjava/TQSyntaxHighlighter.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QSyntaxHighlighter.h] +[javalib/qtjava/TQSyntaxHighlighter.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QTab.cpp] +[javalib/qtjava/TQTab.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QTab.h] +[javalib/qtjava/TQTab.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QTabBar.cpp] +[javalib/qtjava/TQTabBar.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QTabBar.h] +[javalib/qtjava/TQTabBar.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QTabDialog.cpp] +[javalib/qtjava/TQTabDialog.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QTabDialog.h] +[javalib/qtjava/TQTabDialog.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QTabWidget.cpp] +[javalib/qtjava/TQTabWidget.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QTabWidget.h] +[javalib/qtjava/TQTabWidget.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QTable.cpp] +[javalib/qtjava/TQTable.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QTable.h] +[javalib/qtjava/TQTable.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QTableItem.cpp] +[javalib/qtjava/TQTableItem.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QTableItem.h] +[javalib/qtjava/TQTableItem.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QTableSelection.cpp] +[javalib/qtjava/TQTableSelection.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QTableSelection.h] +[javalib/qtjava/TQTableSelection.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QTabletEvent.cpp] +[javalib/qtjava/TQTabletEvent.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QTabletEvent.h] +[javalib/qtjava/TQTabletEvent.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QTextBrowser.cpp] +[javalib/qtjava/TQTextBrowser.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QTextBrowser.h] +[javalib/qtjava/TQTextBrowser.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QTextCodec.cpp] +[javalib/qtjava/TQTextCodec.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QTextCodec.h] +[javalib/qtjava/TQTextCodec.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QTextDecoder.cpp] +[javalib/qtjava/TQTextDecoder.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QTextDecoder.h] +[javalib/qtjava/TQTextDecoder.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QTextDrag.cpp] +[javalib/qtjava/TQTextDrag.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QTextDrag.h] +[javalib/qtjava/TQTextDrag.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QTextEdit.cpp] +[javalib/qtjava/TQTextEdit.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QTextEdit.h] +[javalib/qtjava/TQTextEdit.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QTextEncoder.cpp] +[javalib/qtjava/TQTextEncoder.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QTextEncoder.h] +[javalib/qtjava/TQTextEncoder.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QTextIStream.cpp] +[javalib/qtjava/TQTextIStream.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QTextIStream.h] +[javalib/qtjava/TQTextIStream.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QTextOStream.cpp] +[javalib/qtjava/TQTextOStream.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QTextOStream.h] +[javalib/qtjava/TQTextOStream.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QTextStream.cpp] +[javalib/qtjava/TQTextStream.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QTextStream.h] +[javalib/qtjava/TQTextStream.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QTextView.cpp] +[javalib/qtjava/TQTextView.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QTextView.h] +[javalib/qtjava/TQTextView.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QTimeEdit.cpp] +[javalib/qtjava/TQTimeEdit.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QTimeEdit.h] +[javalib/qtjava/TQTimeEdit.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QTimer.cpp] +[javalib/qtjava/TQTimer.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QTimer.h] +[javalib/qtjava/TQTimer.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QTimerEvent.cpp] +[javalib/qtjava/TQTimerEvent.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QTimerEvent.h] +[javalib/qtjava/TQTimerEvent.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QToolBar.cpp] +[javalib/qtjava/TQToolBar.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QToolBar.h] +[javalib/qtjava/TQToolBar.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QToolBox.cpp] +[javalib/qtjava/TQToolBox.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QToolBox.h] +[javalib/qtjava/TQToolBox.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QToolButton.cpp] +[javalib/qtjava/TQToolButton.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QToolButton.h] +[javalib/qtjava/TQToolButton.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QToolTip.cpp] +[javalib/qtjava/TQToolTip.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QToolTip.h] +[javalib/qtjava/TQToolTip.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QToolTipGroup.cpp] +[javalib/qtjava/TQToolTipGroup.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QToolTipGroup.h] +[javalib/qtjava/TQToolTipGroup.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QTranslator.cpp] +[javalib/qtjava/TQTranslator.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QTranslator.h] +[javalib/qtjava/TQTranslator.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QTranslatorMessage.cpp] +[javalib/qtjava/TQTranslatorMessage.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QTranslatorMessage.h] +[javalib/qtjava/TQTranslatorMessage.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QTsciiCodec.cpp] +[javalib/qtjava/TQTsciiCodec.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QTsciiCodec.h] +[javalib/qtjava/TQTsciiCodec.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QUriDrag.cpp] +[javalib/qtjava/TQUriDrag.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QUriDrag.h] +[javalib/qtjava/TQUriDrag.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QUrl.cpp] +[javalib/qtjava/TQUrl.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QUrl.h] +[javalib/qtjava/TQUrl.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QUrlInfo.cpp] +[javalib/qtjava/TQUrlInfo.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QUrlInfo.h] +[javalib/qtjava/TQUrlInfo.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QUrlInterface.h] +[javalib/qtjava/TQUrlInterface.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QUrlOperator.cpp] +[javalib/qtjava/TQUrlOperator.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QUrlOperator.h] +[javalib/qtjava/TQUrlOperator.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QUtf16Codec.cpp] +[javalib/qtjava/TQUtf16Codec.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QUtf16Codec.h] +[javalib/qtjava/TQUtf16Codec.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QUtf8Codec.cpp] +[javalib/qtjava/TQUtf8Codec.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QUtf8Codec.h] +[javalib/qtjava/TQUtf8Codec.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QUuid.cpp] +[javalib/qtjava/TQUuid.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QUuid.h] +[javalib/qtjava/TQUuid.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QVBox.cpp] +[javalib/qtjava/TQVBox.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QVBox.h] +[javalib/qtjava/TQVBox.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QVBoxLayout.cpp] +[javalib/qtjava/TQVBoxLayout.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QVBoxLayout.h] +[javalib/qtjava/TQVBoxLayout.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QVButtonGroup.cpp] +[javalib/qtjava/TQVButtonGroup.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QVButtonGroup.h] +[javalib/qtjava/TQVButtonGroup.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QVGroupBox.cpp] +[javalib/qtjava/TQVGroupBox.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QVGroupBox.h] +[javalib/qtjava/TQVGroupBox.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QValidator.cpp] +[javalib/qtjava/TQValidator.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QValidator.h] +[javalib/qtjava/TQValidator.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QVariant.cpp] +[javalib/qtjava/TQVariant.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QVariant.h] +[javalib/qtjava/TQVariant.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QWMatrix.cpp] +[javalib/qtjava/TQWMatrix.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QWMatrix.h] +[javalib/qtjava/TQWMatrix.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QWhatsThis.cpp] +[javalib/qtjava/TQWhatsThis.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QWhatsThis.h] +[javalib/qtjava/TQWhatsThis.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QWheelEvent.cpp] +[javalib/qtjava/TQWheelEvent.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QWheelEvent.h] +[javalib/qtjava/TQWheelEvent.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QWidget.cpp] +[javalib/qtjava/TQWidget.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QWidget.h] +[javalib/qtjava/TQWidget.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QWidgetItem.cpp] +[javalib/qtjava/TQWidgetItem.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QWidgetItem.h] +[javalib/qtjava/TQWidgetItem.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QWidgetStack.cpp] +[javalib/qtjava/TQWidgetStack.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QWidgetStack.h] +[javalib/qtjava/TQWidgetStack.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QWizard.cpp] +[javalib/qtjava/TQWizard.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QWizard.h] +[javalib/qtjava/TQWizard.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QWorkspace.cpp] +[javalib/qtjava/TQWorkspace.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QWorkspace.h] +[javalib/qtjava/TQWorkspace.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QXmlAttributes.cpp] +[javalib/qtjava/TQXmlAttributes.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QXmlAttributes.h] +[javalib/qtjava/TQXmlAttributes.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QXmlContentHandler.cpp] +[javalib/qtjava/TQXmlContentHandler.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QXmlContentHandler.h] +[javalib/qtjava/TQXmlContentHandler.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QXmlContentHandlerInterface.h] +[javalib/qtjava/TQXmlContentHandlerInterface.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QXmlDTDHandler.cpp] +[javalib/qtjava/TQXmlDTDHandler.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QXmlDTDHandler.h] +[javalib/qtjava/TQXmlDTDHandler.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QXmlDTDHandlerInterface.h] +[javalib/qtjava/TQXmlDTDHandlerInterface.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QXmlDeclHandler.cpp] +[javalib/qtjava/TQXmlDeclHandler.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QXmlDeclHandler.h] +[javalib/qtjava/TQXmlDeclHandler.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QXmlDeclHandlerInterface.h] +[javalib/qtjava/TQXmlDeclHandlerInterface.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QXmlDefaultHandler.cpp] +[javalib/qtjava/TQXmlDefaultHandler.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QXmlDefaultHandler.h] +[javalib/qtjava/TQXmlDefaultHandler.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QXmlEntityResolver.cpp] +[javalib/qtjava/TQXmlEntityResolver.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QXmlEntityResolver.h] +[javalib/qtjava/TQXmlEntityResolver.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QXmlEntityResolverInterface.h] +[javalib/qtjava/TQXmlEntityResolverInterface.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QXmlErrorHandler.cpp] +[javalib/qtjava/TQXmlErrorHandler.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QXmlErrorHandler.h] +[javalib/qtjava/TQXmlErrorHandler.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QXmlErrorHandlerInterface.h] +[javalib/qtjava/TQXmlErrorHandlerInterface.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QXmlInputSource.cpp] +[javalib/qtjava/TQXmlInputSource.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QXmlInputSource.h] +[javalib/qtjava/TQXmlInputSource.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QXmlLexicalHandler.cpp] +[javalib/qtjava/TQXmlLexicalHandler.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QXmlLexicalHandler.h] +[javalib/qtjava/TQXmlLexicalHandler.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QXmlLexicalHandlerInterface.h] +[javalib/qtjava/TQXmlLexicalHandlerInterface.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QXmlLocator.cpp] +[javalib/qtjava/TQXmlLocator.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QXmlLocator.h] +[javalib/qtjava/TQXmlLocator.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QXmlNamespaceSupport.cpp] +[javalib/qtjava/TQXmlNamespaceSupport.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QXmlNamespaceSupport.h] +[javalib/qtjava/TQXmlNamespaceSupport.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QXmlParseException.cpp] +[javalib/qtjava/TQXmlParseException.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QXmlParseException.h] +[javalib/qtjava/TQXmlParseException.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QXmlReader.cpp] +[javalib/qtjava/TQXmlReader.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QXmlReader.h] +[javalib/qtjava/TQXmlReader.h] dist=true install=false install_location= type=HEADER -[javalib/qtjava/QXmlSimpleReader.cpp] +[javalib/qtjava/TQXmlSimpleReader.cpp] dist=true install=false install_location= type=SOURCE -[javalib/qtjava/QXmlSimpleReader.h] +[javalib/qtjava/TQXmlSimpleReader.h] dist=true install=false install_location= diff --git a/qtjava/javalib/Makefile.am b/qtjava/javalib/Makefile.am index 3fc1e5e7..1aa4c354 100644 --- a/qtjava/javalib/Makefile.am +++ b/qtjava/javalib/Makefile.am @@ -4,7 +4,7 @@ noinst_PROGRAMS = javalib ## INCLUDES were found outside tdevelop specific part javalib_SOURCES = main.cpp -SOURCES = qtjava/JavaSlot.cpp qtjava/QSyntaxHighlighter.cpp qtjava/QToolBox.cpp qtjava/QSplashScreen.cpp qtjava/QSpinWidget.cpp qtjava/QHttpResponseHeader.cpp qtjava/QHttpRequestHeader.cpp qtjava/QHttpHeader.cpp qtjava/QEventLoop.cpp qtjava/QGb18030Codec.cpp qtjava/QXmlSimpleReader.cpp qtjava/QXmlReader.cpp qtjava/QXmlParseException.cpp qtjava/QXmlNamespaceSupport.cpp qtjava/QXmlLocator.cpp qtjava/QXmlLexicalHandler.cpp qtjava/QXmlInputSource.cpp qtjava/QXmlErrorHandler.cpp qtjava/QXmlEntityResolver.cpp qtjava/QXmlDTDHandler.cpp qtjava/QXmlDefaultHandler.cpp qtjava/QXmlDeclHandler.cpp qtjava/QXmlContentHandler.cpp qtjava/QXmlAttributes.cpp qtjava/QWorkspace.cpp qtjava/QWMatrix.cpp qtjava/QWizard.cpp qtjava/QWidgetStack.cpp qtjava/QWidgetItem.cpp qtjava/QWidget.cpp qtjava/QWheelEvent.cpp qtjava/QWhatsThis.cpp qtjava/QVGroupBox.cpp qtjava/QVButtonGroup.cpp qtjava/QVBoxLayout.cpp qtjava/QVBox.cpp qtjava/QVariant.cpp qtjava/QValidator.cpp qtjava/QUuid.cpp qtjava/QUtf8Codec.cpp qtjava/QUtf16Codec.cpp qtjava/QUrlOperator.cpp qtjava/QUrlInfo.cpp qtjava/QUrl.cpp qtjava/QUriDrag.cpp qtjava/QtSupport.cpp qtjava/QTsciiCodec.cpp qtjava/QTranslatorMessage.cpp qtjava/QTranslator.cpp qtjava/QToolTipGroup.cpp qtjava/QToolTip.cpp qtjava/QToolButton.cpp qtjava/QToolBar.cpp qtjava/qtjava.cpp qtjava/QTimerEvent.cpp qtjava/QTimer.cpp qtjava/QTimeEdit.cpp qtjava/QTextView.cpp qtjava/QTextStream.cpp qtjava/QTextOStream.cpp qtjava/QTextIStream.cpp qtjava/QTextEncoder.cpp qtjava/QTextEdit.cpp qtjava/QTextDrag.cpp qtjava/QTextDecoder.cpp qtjava/QTextCodec.cpp qtjava/QTextBrowser.cpp qtjava/QTabWidget.cpp qtjava/QTabletEvent.cpp qtjava/QTableSelection.cpp qtjava/QTableItem.cpp qtjava/QTable.cpp qtjava/QTabDialog.cpp qtjava/QTabBar.cpp qtjava/QTab.cpp qtjava/Qt.cpp qtjava/QStyleSheetItem.cpp qtjava/QStyleSheet.cpp qtjava/QStyleFactory.cpp qtjava/QStyle.cpp qtjava/QStoredDrag.cpp qtjava/QStatusBar.cpp qtjava/QSqlResult.cpp qtjava/QSqlRecord.cpp qtjava/QSqlQuery.cpp qtjava/QSqlPropertyMap.cpp qtjava/QSqlIndex.cpp qtjava/QSqlForm.cpp qtjava/QSqlField.cpp qtjava/QSqlError.cpp qtjava/QSqlEditorFactory.cpp qtjava/QSqlDriver.cpp qtjava/QSqlDatabase.cpp qtjava/QSqlCursor.cpp qtjava/QSql.cpp qtjava/QSplitter.cpp qtjava/QSpinBox.cpp qtjava/QSpacerItem.cpp qtjava/QSound.cpp qtjava/QSocketNotifier.cpp qtjava/QSocketDevice.cpp qtjava/QSocket.cpp qtjava/QSlider.cpp qtjava/QSjisCodec.cpp qtjava/QSizePolicy.cpp qtjava/QSizeGrip.cpp qtjava/QSize.cpp qtjava/QSimpleRichText.cpp qtjava/QSignalMapper.cpp qtjava/QSignal.cpp qtjava/QShowEvent.cpp qtjava/QSettings.cpp qtjava/QSessionManager.cpp qtjava/QServerSocket.cpp qtjava/QSemiModal.cpp qtjava/QScrollView.cpp qtjava/QScrollBar.cpp qtjava/QResizeEvent.cpp qtjava/QRegion.cpp qtjava/QRegExpValidator.cpp qtjava/QRegExp.cpp qtjava/QRect.cpp qtjava/QRangeControl.cpp qtjava/QRadioButton.cpp qtjava/QPushButton.cpp qtjava/QProgressDialog.cpp qtjava/QProgressBar.cpp qtjava/QProcess.cpp qtjava/QPrinter.cpp qtjava/QPrintDialog.cpp qtjava/QPopupMenu.cpp qtjava/QPolygonScanner.cpp qtjava/QPointArray.cpp qtjava/QPoint.cpp qtjava/QPixmap.cpp qtjava/QPicture.cpp qtjava/QPen.cpp qtjava/QPalette.cpp qtjava/QPaintEvent.cpp qtjava/QPainter.cpp qtjava/QPaintDeviceMetrics.cpp qtjava/QPaintDevice.cpp qtjava/QObjectCleanupHandler.cpp qtjava/QObject.cpp qtjava/QNetworkProtocol.cpp qtjava/QNetworkOperation.cpp qtjava/QMultiLineEdit.cpp qtjava/QMovie.cpp qtjava/QMoveEvent.cpp qtjava/QMouseEvent.cpp qtjava/QMimeSourceFactory.cpp qtjava/QMimeSource.cpp qtjava/QMetaProperty.cpp qtjava/QMetaObject.cpp qtjava/QMetaEnum.cpp qtjava/QMetaData.cpp qtjava/QMessageBox.cpp qtjava/QMenuItem.cpp qtjava/QMenuData.cpp qtjava/QMenuBar.cpp qtjava/QMainWindow.cpp qtjava/QLocalFs.cpp qtjava/QListViewItem.cpp qtjava/QListView.cpp qtjava/QListBoxText.cpp qtjava/QListBoxPixmap.cpp qtjava/QListBoxItem.cpp qtjava/QListBox.cpp qtjava/QLineEdit.cpp qtjava/QLibrary.cpp qtjava/QLCDNumber.cpp qtjava/QLayoutItem.cpp qtjava/QLayout.cpp qtjava/QLabel.cpp qtjava/QKeySequence.cpp qtjava/QKeyEvent.cpp qtjava/QJpUnicodeConv.cpp qtjava/QJisCodec.cpp qtjava/QIODeviceSource.cpp qtjava/QIODevice.cpp qtjava/QIntValidator.cpp qtjava/QInputDialog.cpp qtjava/QIMEvent.cpp qtjava/QImageTextKeyLang.cpp qtjava/QImageIO.cpp qtjava/QImageFormatType.cpp qtjava/QImageFormat.cpp qtjava/QImageDrag.cpp qtjava/QImageDecoder.cpp qtjava/QImageConsumer.cpp qtjava/QImage.cpp qtjava/QIconViewItem.cpp qtjava/QIconView.cpp qtjava/QIconSet.cpp qtjava/QIconDragItem.cpp qtjava/QIconDrag.cpp qtjava/QHttp.cpp qtjava/QHostAddress.cpp qtjava/QHideEvent.cpp qtjava/QHGroupBox.cpp qtjava/QHebrewCodec.cpp qtjava/QHeader.cpp qtjava/QHButtonGroup.cpp qtjava/QHBoxLayout.cpp qtjava/QHBox.cpp qtjava/QGroupBox.cpp qtjava/QGridView.cpp qtjava/QGridLayout.cpp qtjava/QGrid.cpp qtjava/QFtp.cpp qtjava/QFrame.cpp qtjava/QFontMetrics.cpp qtjava/QFontInfo.cpp qtjava/QFontDialog.cpp qtjava/QFontDatabase.cpp qtjava/QFont.cpp qtjava/QFocusEvent.cpp qtjava/QFocusData.cpp qtjava/QFilePreview.cpp qtjava/QFileInfo.cpp qtjava/QFileIconProvider.cpp qtjava/QFileDialog.cpp qtjava/QFile.cpp qtjava/QEvent.cpp qtjava/QEucKrCodec.cpp qtjava/QEucJpCodec.cpp qtjava/QErrorMessage.cpp qtjava/QEditorFactory.cpp qtjava/QDropSite.cpp qtjava/QDropEvent.cpp qtjava/QDragResponseEvent.cpp qtjava/QDragObject.cpp qtjava/QDragMoveEvent.cpp qtjava/QDragManager.cpp qtjava/QDragLeaveEvent.cpp qtjava/QDragEnterEvent.cpp qtjava/QDoubleValidator.cpp qtjava/QDomText.cpp qtjava/QDomProcessingInstruction.cpp qtjava/QDomNotation.cpp qtjava/QDomNode.cpp qtjava/QDomNamedNodeMap.cpp qtjava/QDomImplementation.cpp qtjava/QDomEntityReference.cpp qtjava/QDomEntity.cpp qtjava/QDomElement.cpp qtjava/QDomDocumentType.cpp qtjava/QDomDocumentFragment.cpp qtjava/QDomDocument.cpp qtjava/QDomComment.cpp qtjava/QDomCharacterData.cpp qtjava/QDomCDATASection.cpp qtjava/QDomAttr.cpp qtjava/QDockWindow.cpp qtjava/QDockArea.cpp qtjava/QDir.cpp qtjava/QDialog.cpp qtjava/QDial.cpp qtjava/QDesktopWidget.cpp qtjava/QDateTimeEditBase.cpp qtjava/QDateTimeEdit.cpp qtjava/QDateEdit.cpp qtjava/QDataView.cpp qtjava/QDataTable.cpp qtjava/QDataStream.cpp qtjava/QDataSource.cpp qtjava/QDataSink.cpp qtjava/QDataPump.cpp qtjava/QDataBrowser.cpp qtjava/QCustomMenuItem.cpp qtjava/QCustomEvent.cpp qtjava/QCursor.cpp qtjava/QContextMenuEvent.cpp qtjava/QComboTableItem.cpp qtjava/QComboBox.cpp qtjava/QColorGroup.cpp qtjava/QColorDrag.cpp qtjava/QColorDialog.cpp qtjava/QColor.cpp qtjava/QCloseEvent.cpp qtjava/QClipboard.cpp qtjava/QClassInfo.cpp qtjava/QChildEvent.cpp qtjava/QCheckTableItem.cpp qtjava/QCheckListItem.cpp qtjava/QCheckBox.cpp qtjava/QCanvasView.cpp qtjava/QCanvasText.cpp qtjava/QCanvasSprite.cpp qtjava/QCanvasSpline.cpp qtjava/QCanvasRectangle.cpp qtjava/QCanvasPolygonalItem.cpp qtjava/QCanvasPolygon.cpp qtjava/QCanvasPixmapArray.cpp qtjava/QCanvasPixmap.cpp qtjava/QCanvasLine.cpp qtjava/QCanvasItem.cpp qtjava/QCanvasEllipse.cpp qtjava/QCanvas.cpp qtjava/QButtonGroup.cpp qtjava/QButton.cpp qtjava/QBuffer.cpp qtjava/QBrush.cpp qtjava/QBoxLayout.cpp qtjava/QBitmap.cpp qtjava/QBig5Codec.cpp qtjava/QAuServer.cpp qtjava/QAsyncIO.cpp qtjava/QApplication.cpp qtjava/QActionGroup.cpp qtjava/QAction.cpp qtjava/QAccel.cpp main.cpp +SOURCES = qtjava/JavaSlot.cpp qtjava/TQSyntaxHighlighter.cpp qtjava/TQToolBox.cpp qtjava/TQSplashScreen.cpp qtjava/TQSpinWidget.cpp qtjava/TQHttpResponseHeader.cpp qtjava/TQHttpRequestHeader.cpp qtjava/TQHttpHeader.cpp qtjava/TQEventLoop.cpp qtjava/TQGb18030Codec.cpp qtjava/TQXmlSimpleReader.cpp qtjava/TQXmlReader.cpp qtjava/TQXmlParseException.cpp qtjava/TQXmlNamespaceSupport.cpp qtjava/TQXmlLocator.cpp qtjava/TQXmlLexicalHandler.cpp qtjava/TQXmlInputSource.cpp qtjava/TQXmlErrorHandler.cpp qtjava/TQXmlEntityResolver.cpp qtjava/TQXmlDTDHandler.cpp qtjava/TQXmlDefaultHandler.cpp qtjava/TQXmlDeclHandler.cpp qtjava/TQXmlContentHandler.cpp qtjava/TQXmlAttributes.cpp qtjava/TQWorkspace.cpp qtjava/TQWMatrix.cpp qtjava/TQWizard.cpp qtjava/TQWidgetStack.cpp qtjava/TQWidgetItem.cpp qtjava/TQWidget.cpp qtjava/TQWheelEvent.cpp qtjava/TQWhatsThis.cpp qtjava/TQVGroupBox.cpp qtjava/TQVButtonGroup.cpp qtjava/TQVBoxLayout.cpp qtjava/TQVBox.cpp qtjava/TQVariant.cpp qtjava/TQValidator.cpp qtjava/TQUuid.cpp qtjava/TQUtf8Codec.cpp qtjava/TQUtf16Codec.cpp qtjava/TQUrlOperator.cpp qtjava/TQUrlInfo.cpp qtjava/TQUrl.cpp qtjava/TQUriDrag.cpp qtjava/QtSupport.cpp qtjava/TQTsciiCodec.cpp qtjava/TQTranslatorMessage.cpp qtjava/TQTranslator.cpp qtjava/TQToolTipGroup.cpp qtjava/TQToolTip.cpp qtjava/TQToolButton.cpp qtjava/TQToolBar.cpp qtjava/qtjava.cpp qtjava/TQTimerEvent.cpp qtjava/TQTimer.cpp qtjava/TQTimeEdit.cpp qtjava/TQTextView.cpp qtjava/TQTextStream.cpp qtjava/TQTextOStream.cpp qtjava/TQTextIStream.cpp qtjava/TQTextEncoder.cpp qtjava/TQTextEdit.cpp qtjava/TQTextDrag.cpp qtjava/TQTextDecoder.cpp qtjava/TQTextCodec.cpp qtjava/TQTextBrowser.cpp qtjava/TQTabWidget.cpp qtjava/TQTabletEvent.cpp qtjava/TQTableSelection.cpp qtjava/TQTableItem.cpp qtjava/TQTable.cpp qtjava/TQTabDialog.cpp qtjava/TQTabBar.cpp qtjava/TQTab.cpp qtjava/Qt.cpp qtjava/TQStyleSheetItem.cpp qtjava/TQStyleSheet.cpp qtjava/TQStyleFactory.cpp qtjava/TQStyle.cpp qtjava/TQStoredDrag.cpp qtjava/TQStatusBar.cpp qtjava/TQSqlResult.cpp qtjava/TQSqlRecord.cpp qtjava/TQSqlQuery.cpp qtjava/TQSqlPropertyMap.cpp qtjava/TQSqlIndex.cpp qtjava/TQSqlForm.cpp qtjava/TQSqlField.cpp qtjava/TQSqlError.cpp qtjava/TQSqlEditorFactory.cpp qtjava/TQSqlDriver.cpp qtjava/TQSqlDatabase.cpp qtjava/TQSqlCursor.cpp qtjava/TQSql.cpp qtjava/TQSplitter.cpp qtjava/TQSpinBox.cpp qtjava/TQSpacerItem.cpp qtjava/TQSound.cpp qtjava/TQSocketNotifier.cpp qtjava/TQSocketDevice.cpp qtjava/TQSocket.cpp qtjava/TQSlider.cpp qtjava/TQSjisCodec.cpp qtjava/TQSizePolicy.cpp qtjava/TQSizeGrip.cpp qtjava/TQSize.cpp qtjava/TQSimpleRichText.cpp qtjava/TQSignalMapper.cpp qtjava/TQSignal.cpp qtjava/TQShowEvent.cpp qtjava/TQSettings.cpp qtjava/TQSessionManager.cpp qtjava/TQServerSocket.cpp qtjava/TQSemiModal.cpp qtjava/TQScrollView.cpp qtjava/TQScrollBar.cpp qtjava/TQResizeEvent.cpp qtjava/TQRegion.cpp qtjava/TQRegExpValidator.cpp qtjava/TQRegExp.cpp qtjava/TQRect.cpp qtjava/TQRangeControl.cpp qtjava/TQRadioButton.cpp qtjava/TQPushButton.cpp qtjava/TQProgressDialog.cpp qtjava/TQProgressBar.cpp qtjava/TQProcess.cpp qtjava/TQPrinter.cpp qtjava/TQPrintDialog.cpp qtjava/TQPopupMenu.cpp qtjava/TQPolygonScanner.cpp qtjava/TQPointArray.cpp qtjava/TQPoint.cpp qtjava/TQPixmap.cpp qtjava/TQPicture.cpp qtjava/TQPen.cpp qtjava/TQPalette.cpp qtjava/TQPaintEvent.cpp qtjava/TQPainter.cpp qtjava/TQPaintDeviceMetrics.cpp qtjava/TQPaintDevice.cpp qtjava/TQObjectCleanupHandler.cpp qtjava/TQObject.cpp qtjava/TQNetworkProtocol.cpp qtjava/TQNetworkOperation.cpp qtjava/TQMultiLineEdit.cpp qtjava/TQMovie.cpp qtjava/TQMoveEvent.cpp qtjava/TQMouseEvent.cpp qtjava/TQMimeSourceFactory.cpp qtjava/TQMimeSource.cpp qtjava/TQMetaProperty.cpp qtjava/TQMetaObject.cpp qtjava/TQMetaEnum.cpp qtjava/TQMetaData.cpp qtjava/TQMessageBox.cpp qtjava/TQMenuItem.cpp qtjava/TQMenuData.cpp qtjava/TQMenuBar.cpp qtjava/TQMainWindow.cpp qtjava/TQLocalFs.cpp qtjava/TQListViewItem.cpp qtjava/TQListView.cpp qtjava/TQListBoxText.cpp qtjava/TQListBoxPixmap.cpp qtjava/TQListBoxItem.cpp qtjava/TQListBox.cpp qtjava/TQLineEdit.cpp qtjava/TQLibrary.cpp qtjava/TQLCDNumber.cpp qtjava/TQLayoutItem.cpp qtjava/TQLayout.cpp qtjava/TQLabel.cpp qtjava/TQKeySequence.cpp qtjava/TQKeyEvent.cpp qtjava/TQJpUnicodeConv.cpp qtjava/TQJisCodec.cpp qtjava/TQIODeviceSource.cpp qtjava/TQIODevice.cpp qtjava/TQIntValidator.cpp qtjava/TQInputDialog.cpp qtjava/TQIMEvent.cpp qtjava/TQImageTextKeyLang.cpp qtjava/TQImageIO.cpp qtjava/TQImageFormatType.cpp qtjava/TQImageFormat.cpp qtjava/TQImageDrag.cpp qtjava/TQImageDecoder.cpp qtjava/TQImageConsumer.cpp qtjava/TQImage.cpp qtjava/TQIconViewItem.cpp qtjava/TQIconView.cpp qtjava/TQIconSet.cpp qtjava/TQIconDragItem.cpp qtjava/TQIconDrag.cpp qtjava/TQHttp.cpp qtjava/TQHostAddress.cpp qtjava/TQHideEvent.cpp qtjava/TQHGroupBox.cpp qtjava/TQHebrewCodec.cpp qtjava/TQHeader.cpp qtjava/TQHButtonGroup.cpp qtjava/TQHBoxLayout.cpp qtjava/TQHBox.cpp qtjava/TQGroupBox.cpp qtjava/TQGridView.cpp qtjava/TQGridLayout.cpp qtjava/TQGrid.cpp qtjava/TQFtp.cpp qtjava/TQFrame.cpp qtjava/TQFontMetrics.cpp qtjava/TQFontInfo.cpp qtjava/TQFontDialog.cpp qtjava/TQFontDatabase.cpp qtjava/TQFont.cpp qtjava/TQFocusEvent.cpp qtjava/TQFocusData.cpp qtjava/TQFilePreview.cpp qtjava/TQFileInfo.cpp qtjava/TQFileIconProvider.cpp qtjava/TQFileDialog.cpp qtjava/TQFile.cpp qtjava/TQEvent.cpp qtjava/TQEucKrCodec.cpp qtjava/TQEucJpCodec.cpp qtjava/TQErrorMessage.cpp qtjava/TQEditorFactory.cpp qtjava/TQDropSite.cpp qtjava/TQDropEvent.cpp qtjava/TQDragResponseEvent.cpp qtjava/TQDragObject.cpp qtjava/TQDragMoveEvent.cpp qtjava/TQDragManager.cpp qtjava/TQDragLeaveEvent.cpp qtjava/TQDragEnterEvent.cpp qtjava/TQDoubleValidator.cpp qtjava/TQDomText.cpp qtjava/TQDomProcessingInstruction.cpp qtjava/TQDomNotation.cpp qtjava/TQDomNode.cpp qtjava/TQDomNamedNodeMap.cpp qtjava/TQDomImplementation.cpp qtjava/TQDomEntityReference.cpp qtjava/TQDomEntity.cpp qtjava/TQDomElement.cpp qtjava/TQDomDocumentType.cpp qtjava/TQDomDocumentFragment.cpp qtjava/TQDomDocument.cpp qtjava/TQDomComment.cpp qtjava/TQDomCharacterData.cpp qtjava/TQDomCDATASection.cpp qtjava/TQDomAttr.cpp qtjava/TQDockWindow.cpp qtjava/TQDockArea.cpp qtjava/TQDir.cpp qtjava/TQDialog.cpp qtjava/TQDial.cpp qtjava/TQDesktopWidget.cpp qtjava/TQDateTimeEditBase.cpp qtjava/TQDateTimeEdit.cpp qtjava/TQDateEdit.cpp qtjava/TQDataView.cpp qtjava/TQDataTable.cpp qtjava/TQDataStream.cpp qtjava/TQDataSource.cpp qtjava/TQDataSink.cpp qtjava/TQDataPump.cpp qtjava/TQDataBrowser.cpp qtjava/TQCustomMenuItem.cpp qtjava/TQCustomEvent.cpp qtjava/TQCursor.cpp qtjava/TQContextMenuEvent.cpp qtjava/TQComboTableItem.cpp qtjava/TQComboBox.cpp qtjava/TQColorGroup.cpp qtjava/TQColorDrag.cpp qtjava/TQColorDialog.cpp qtjava/TQColor.cpp qtjava/TQCloseEvent.cpp qtjava/TQClipboard.cpp qtjava/TQClassInfo.cpp qtjava/TQChildEvent.cpp qtjava/TQCheckTableItem.cpp qtjava/TQCheckListItem.cpp qtjava/TQCheckBox.cpp qtjava/TQCanvasView.cpp qtjava/TQCanvasText.cpp qtjava/TQCanvasSprite.cpp qtjava/TQCanvasSpline.cpp qtjava/TQCanvasRectangle.cpp qtjava/TQCanvasPolygonalItem.cpp qtjava/TQCanvasPolygon.cpp qtjava/TQCanvasPixmapArray.cpp qtjava/TQCanvasPixmap.cpp qtjava/TQCanvasLine.cpp qtjava/TQCanvasItem.cpp qtjava/TQCanvasEllipse.cpp qtjava/TQCanvas.cpp qtjava/TQButtonGroup.cpp qtjava/TQButton.cpp qtjava/TQBuffer.cpp qtjava/TQBrush.cpp qtjava/TQBoxLayout.cpp qtjava/TQBitmap.cpp qtjava/TQBig5Codec.cpp qtjava/TQAuServer.cpp qtjava/TQAsyncIO.cpp qtjava/TQApplication.cpp qtjava/TQActionGroup.cpp qtjava/TQAction.cpp qtjava/TQAccel.cpp main.cpp INTERFACES = TRANSLATIONS = KDE_OPTIONS = qtonly diff --git a/qtjava/javalib/org/kde/qt/Makefile.am b/qtjava/javalib/org/kde/qt/Makefile.am index 6038e6ea..0005dda4 100644 --- a/qtjava/javalib/org/kde/qt/Makefile.am +++ b/qtjava/javalib/org/kde/qt/Makefile.am @@ -1,7 +1,7 @@ ####### tdevelop will overwrite this part!!! (begin)########## -EXTRA_DIST = QtUtils.java QAccel.java QAction.java QActionGroup.java QApplication.java QAsyncIO.java QAuServer.java QBig5Codec.java QBitmap.java QBoxLayout.java QBrush.java QBuffer.java QButton.java QButtonGroup.java QCanvas.java QCanvasEllipse.java QCanvasItem.java QCanvasLine.java QCanvasPixmap.java QCanvasPixmapArray.java QCanvasPolygon.java QCanvasPolygonalItem.java QCanvasRectangle.java QCanvasSprite.java QCanvasText.java QCanvasView.java QCheckListItem.java QChildEvent.java QClassInfo.java QClipboard.java QCloseEvent.java QColor.java QColorDialog.java QColorDrag.java QColorGroup.java QComboBox.java QCursor.java QCustomEvent.java QCustomMenuItem.java QDataPump.java QDataSink.java QDataSource.java QDataStream.java QDial.java QDialog.java QDir.java QDomAttr.java QDomCDATASection.java QDomCharacterData.java QDomComment.java QDomDocument.java QDomDocumentFragment.java QDomDocumentType.java QDomElement.java QDomEntity.java QDomEntityReference.java QDomImplementation.java QDomNamedNodeMap.java QDomNode.java QDomNotation.java QDomProcessingInstruction.java QDomText.java QDoubleValidator.java QDragEnterEvent.java QDragLeaveEvent.java QDragManager.java QDragMoveEvent.java QDragObject.java QDragResponseEvent.java QDropEvent.java QDropSite.java QEucJpCodec.java QEucKrCodec.java QEvent.java QFile.java QFileDialog.java QFileIconProvider.java QFileInfo.java QFilePreview.java QFocusData.java QFocusEvent.java QFont.java QFontDatabase.java QFontDialog.java QFontInfo.java QFontMetrics.java QFrame.java QGL.java QGLContext.java QGLFormat.java QGLWidget.java QGbkCodec.java QGrid.java QGridLayout.java QGroupBox.java QHBox.java QHBoxLayout.java QHButtonGroup.java QHGroupBox.java QHeader.java QHebrewCodec.java QHideEvent.java QIODevice.java QIODeviceInterface.java QIODeviceSource.java QIconDrag.java QIconDragItem.java QIconSet.java QIconView.java QIconViewItem.java QImage.java QImageConsumer.java QImageDecoder.java QImageDrag.java QImageFormat.java QImageFormatType.java QImageIO.java QImageTextKeyLang.java QInputDialog.java QIntValidator.java QJisCodec.java QJpUnicodeConv.java QKeyEvent.java QLCDNumber.java QLabel.java QLayout.java QLayoutItem.java QLayoutItemInterface.java QLineEdit.java QListBox.java QListBoxItem.java QListBoxPixmap.java QListBoxText.java QListView.java QListViewItem.java QMainWindow.java QMenuBar.java QMenuData.java QMenuDataInterface.java QMessageBox.java QMetaData.java QMetaEnum.java QMetaObject.java QMetaProperty.java QMimeSource.java QMimeSourceFactory.java QMimeSourceInterface.java QMouseEvent.java QMoveEvent.java QMovie.java QMultiLineEdit.java QNetworkOperation.java QObject.java QPaintDevice.java QPaintDeviceInterface.java QPaintEvent.java QPainter.java QPalette.java QPen.java QPicture.java QPixmap.java QPoint.java QPointArray.java QPolygonScanner.java QPopupMenu.java QPrintDialog.java QPrinter.java QProgressBar.java QProgressDialog.java QPushButton.java QRadioButton.java QRangeControl.java QRangeControlInterface.java QRect.java QRegion.java QResizeEvent.java QScrollBar.java QScrollView.java QSemiModal.java QSessionManager.java QShowEvent.java QSignal.java QSignalMapper.java QSimpleRichText.java QSize.java QSizeGrip.java QSizePolicy.java QSjisCodec.java QSlider.java QSound.java QSpacerItem.java QSpinBox.java QSplitter.java QStatusBar.java QStoredDrag.java QStyle.java QStyleSheet.java QStyleSheetItem.java QTab.java QTabBar.java QTabDialog.java QTabWidget.java QTable.java QTableItem.java QTableSelection.java QTextBrowser.java QTextCodec.java QTextDecoder.java QTextDrag.java QTextEncoder.java QTextIStream.java QTextOStream.java QTextStream.java QTextView.java QTimer.java QTimerEvent.java QToolBar.java QToolButton.java QToolTip.java QToolTipGroup.java QTranslator.java QTranslatorMessage.java QTsciiCodec.java QUriDrag.java QUrl.java QUrlInfo.java QUrlInterface.java QUrlOperator.java QUtf16Codec.java QUtf8Codec.java QVBox.java QVBoxLayout.java QVButtonGroup.java QVGroupBox.java QValidator.java QVariant.java QWMatrix.java QWhatsThis.java QWheelEvent.java QWidget.java QWidgetItem.java QWidgetStack.java QMenuItem.java QPaintDeviceMetrics.java QRegExp.java QCanvasSpline.java QCheckTableItem.java QComboTableItem.java QContextMenuEvent.java QDataBrowser.java QDataTable.java QDataView.java QDateEdit.java QDateTimeEdit.java QDesktopWidget.java QDockArea.java QDockWindow.java QEditorFactory.java QErrorMessage.java QGLColormap.java QGridView.java QIMEvent.java QLibrary.java QProcess.java QRegExpValidator.java QSettings.java QSql.java QSqlCursor.java QSqlDatabase.java QSqlDriver.java QSqlEditorFactory.java QSqlError.java QSqlField.java QSqlForm.java QSqlIndex.java QSqlPropertyMap.java QSqlQuery.java QSqlRecord.java QSqlResult.java QTabletEvent.java QTextEdit.java QTimeEdit.java QUuid.java QDateTimeEditBase.java QSqlQueryInterface.java QAccelSignals.java QActionGroupSignals.java QActionSignals.java QApplicationSignals.java QButtonGroupSignals.java QButtonSignals.java QCanvasSignals.java QComboBoxSignals.java QDataBrowserSignals.java QDataTableSignals.java QDateEditSignals.java QDateTimeEditSignals.java QDesktopWidgetSignals.java QDialSignals.java QDockWindowSignals.java QFileDialogSignals.java QGroupBoxSignals.java QHeaderSignals.java QIconViewSignals.java QLCDNumberSignals.java QLineEditSignals.java QListBoxSignals.java QListViewSignals.java QMainWindowSignals.java QMenuBarSignals.java QObjectSignals.java QPopupMenuSignals.java QProcessSignals.java QProgressDialogSignals.java QScrollBarSignals.java QScrollViewSignals.java QSignalMapperSignals.java QSignalSignals.java QSliderSignals.java QSpinBoxSignals.java QStatusBarSignals.java QTabBarSignals.java QTabDialogSignals.java QTabWidgetSignals.java QTableSignals.java QTextBrowserSignals.java QTextEditSignals.java QTimeEditSignals.java QTimerSignals.java QToolTipGroupSignals.java QUrlOperatorSignals.java QWidgetStackSignals.java QStyleOption.java QKeySequence.java QSqlFieldInfo.java QSqlRecordInfo.java QFtp.java QHostAddress.java QHttp.java QLocalFs.java QNetworkProtocol.java QObjectCleanupHandler.java QServerSocket.java QSocket.java QSocketDevice.java QSocketNotifier.java QFtpSignals.java QHttpSignals.java QNetworkProtocolSignals.java QSocketSignals.java QSocketNotifierSignals.java QGb18030Codec.java QSpinWidget.java QSpinWidgetSignals.java QSplashScreen.java QSplashScreenSignals.java QToolBox.java QToolBoxSignals.java QHttpHeader.java QHttpRequestHeader.java QEventLoop.java QEventLoopSignals.java QHttpResponseHeader.java QStyleFactory.java QCheckBox.java QWorkspace.java QWizard.java QSyntaxHighlighter.java QXmlContentHandler.java QXmlDeclHandler.java QXmlDTDHandler.java QXmlEntityResolver.java QXmlErrorHandler.java QXmlLexicalHandler.java QXmlNamespaceSupport.java QXmlSimpleReader.java Invocation.java qtjava.java QtSupport.java QXmlDefaultHandler.java WeakValueMap.java Qt.java QWizardSignals.java QWorkspaceSignals.java QXmlAttributes.java QXmlContentHandlerInterface.java QXmlDTDHandlerInterface.java QXmlEntityResolverInterface.java QXmlErrorHandlerInterface.java QXmlInputSource.java QXmlLexicalHandlerInterface.java QXmlLocator.java QXmlParseException.java QXmlReader.java QXmlDeclHandlerInterface.java +EXTRA_DIST = QtUtils.java TQAccel.java TQAction.java TQActionGroup.java TQApplication.java TQAsyncIO.java TQAuServer.java TQBig5Codec.java TQBitmap.java TQBoxLayout.java TQBrush.java TQBuffer.java TQButton.java TQButtonGroup.java TQCanvas.java TQCanvasEllipse.java TQCanvasItem.java TQCanvasLine.java TQCanvasPixmap.java TQCanvasPixmapArray.java TQCanvasPolygon.java TQCanvasPolygonalItem.java TQCanvasRectangle.java TQCanvasSprite.java TQCanvasText.java TQCanvasView.java TQCheckListItem.java TQChildEvent.java TQClassInfo.java TQClipboard.java TQCloseEvent.java TQColor.java TQColorDialog.java TQColorDrag.java TQColorGroup.java TQComboBox.java TQCursor.java TQCustomEvent.java TQCustomMenuItem.java TQDataPump.java TQDataSink.java TQDataSource.java TQDataStream.java TQDial.java TQDialog.java TQDir.java TQDomAttr.java TQDomCDATASection.java TQDomCharacterData.java TQDomComment.java TQDomDocument.java TQDomDocumentFragment.java TQDomDocumentType.java TQDomElement.java TQDomEntity.java TQDomEntityReference.java TQDomImplementation.java TQDomNamedNodeMap.java TQDomNode.java TQDomNotation.java TQDomProcessingInstruction.java TQDomText.java TQDoubleValidator.java TQDragEnterEvent.java TQDragLeaveEvent.java TQDragManager.java TQDragMoveEvent.java TQDragObject.java TQDragResponseEvent.java TQDropEvent.java TQDropSite.java TQEucJpCodec.java TQEucKrCodec.java TQEvent.java TQFile.java TQFileDialog.java TQFileIconProvider.java TQFileInfo.java TQFilePreview.java TQFocusData.java TQFocusEvent.java TQFont.java TQFontDatabase.java TQFontDialog.java TQFontInfo.java TQFontMetrics.java TQFrame.java TQGL.java TQGLContext.java TQGLFormat.java TQGLWidget.java TQGbkCodec.java TQGrid.java TQGridLayout.java TQGroupBox.java TQHBox.java TQHBoxLayout.java TQHButtonGroup.java TQHGroupBox.java TQHeader.java TQHebrewCodec.java TQHideEvent.java TQIODevice.java TQIODeviceInterface.java TQIODeviceSource.java TQIconDrag.java TQIconDragItem.java TQIconSet.java TQIconView.java TQIconViewItem.java TQImage.java TQImageConsumer.java TQImageDecoder.java TQImageDrag.java TQImageFormat.java TQImageFormatType.java TQImageIO.java TQImageTextKeyLang.java TQInputDialog.java TQIntValidator.java TQJisCodec.java TQJpUnicodeConv.java TQKeyEvent.java TQLCDNumber.java TQLabel.java TQLayout.java TQLayoutItem.java TQLayoutItemInterface.java TQLineEdit.java TQListBox.java TQListBoxItem.java TQListBoxPixmap.java TQListBoxText.java TQListView.java TQListViewItem.java TQMainWindow.java TQMenuBar.java TQMenuData.java TQMenuDataInterface.java TQMessageBox.java TQMetaData.java TQMetaEnum.java TQMetaObject.java TQMetaProperty.java TQMimeSource.java TQMimeSourceFactory.java TQMimeSourceInterface.java TQMouseEvent.java TQMoveEvent.java TQMovie.java TQMultiLineEdit.java TQNetworkOperation.java TQObject.java TQPaintDevice.java TQPaintDeviceInterface.java TQPaintEvent.java TQPainter.java TQPalette.java TQPen.java TQPicture.java TQPixmap.java TQPoint.java TQPointArray.java TQPolygonScanner.java TQPopupMenu.java TQPrintDialog.java TQPrinter.java TQProgressBar.java TQProgressDialog.java TQPushButton.java TQRadioButton.java TQRangeControl.java TQRangeControlInterface.java TQRect.java TQRegion.java TQResizeEvent.java TQScrollBar.java TQScrollView.java TQSemiModal.java TQSessionManager.java TQShowEvent.java TQSignal.java TQSignalMapper.java TQSimpleRichText.java TQSize.java TQSizeGrip.java TQSizePolicy.java TQSjisCodec.java TQSlider.java TQSound.java TQSpacerItem.java TQSpinBox.java TQSplitter.java TQStatusBar.java TQStoredDrag.java TQStyle.java TQStyleSheet.java TQStyleSheetItem.java TQTab.java TQTabBar.java TQTabDialog.java TQTabWidget.java TQTable.java TQTableItem.java TQTableSelection.java TQTextBrowser.java TQTextCodec.java TQTextDecoder.java TQTextDrag.java TQTextEncoder.java TQTextIStream.java TQTextOStream.java TQTextStream.java TQTextView.java TQTimer.java TQTimerEvent.java TQToolBar.java TQToolButton.java TQToolTip.java TQToolTipGroup.java TQTranslator.java TQTranslatorMessage.java TQTsciiCodec.java TQUriDrag.java TQUrl.java TQUrlInfo.java TQUrlInterface.java TQUrlOperator.java TQUtf16Codec.java TQUtf8Codec.java TQVBox.java TQVBoxLayout.java TQVButtonGroup.java TQVGroupBox.java TQValidator.java TQVariant.java TQWMatrix.java TQWhatsThis.java TQWheelEvent.java TQWidget.java TQWidgetItem.java TQWidgetStack.java TQMenuItem.java TQPaintDeviceMetrics.java TQRegExp.java TQCanvasSpline.java TQCheckTableItem.java TQComboTableItem.java TQContextMenuEvent.java TQDataBrowser.java TQDataTable.java TQDataView.java TQDateEdit.java TQDateTimeEdit.java TQDesktopWidget.java TQDockArea.java TQDockWindow.java TQEditorFactory.java TQErrorMessage.java TQGLColormap.java TQGridView.java TQIMEvent.java TQLibrary.java TQProcess.java TQRegExpValidator.java TQSettings.java TQSql.java TQSqlCursor.java TQSqlDatabase.java TQSqlDriver.java TQSqlEditorFactory.java TQSqlError.java TQSqlField.java TQSqlForm.java TQSqlIndex.java TQSqlPropertyMap.java TQSqlQuery.java TQSqlRecord.java TQSqlResult.java TQTabletEvent.java TQTextEdit.java TQTimeEdit.java TQUuid.java TQDateTimeEditBase.java TQSqlQueryInterface.java TQAccelSignals.java TQActionGroupSignals.java TQActionSignals.java TQApplicationSignals.java TQButtonGroupSignals.java TQButtonSignals.java TQCanvasSignals.java TQComboBoxSignals.java TQDataBrowserSignals.java TQDataTableSignals.java TQDateEditSignals.java TQDateTimeEditSignals.java TQDesktopWidgetSignals.java TQDialSignals.java TQDockWindowSignals.java TQFileDialogSignals.java TQGroupBoxSignals.java TQHeaderSignals.java TQIconViewSignals.java TQLCDNumberSignals.java TQLineEditSignals.java TQListBoxSignals.java TQListViewSignals.java TQMainWindowSignals.java TQMenuBarSignals.java TQObjectSignals.java TQPopupMenuSignals.java TQProcessSignals.java TQProgressDialogSignals.java TQScrollBarSignals.java TQScrollViewSignals.java TQSignalMapperSignals.java TQSignalSignals.java TQSliderSignals.java TQSpinBoxSignals.java TQStatusBarSignals.java TQTabBarSignals.java TQTabDialogSignals.java TQTabWidgetSignals.java TQTableSignals.java TQTextBrowserSignals.java TQTextEditSignals.java TQTimeEditSignals.java TQTimerSignals.java TQToolTipGroupSignals.java TQUrlOperatorSignals.java TQWidgetStackSignals.java TQStyleOption.java TQKeySequence.java TQSqlFieldInfo.java TQSqlRecordInfo.java TQFtp.java TQHostAddress.java TQHttp.java TQLocalFs.java TQNetworkProtocol.java TQObjectCleanupHandler.java TQServerSocket.java TQSocket.java TQSocketDevice.java TQSocketNotifier.java TQFtpSignals.java TQHttpSignals.java TQNetworkProtocolSignals.java TQSocketSignals.java TQSocketNotifierSignals.java TQGb18030Codec.java TQSpinWidget.java TQSpinWidgetSignals.java TQSplashScreen.java TQSplashScreenSignals.java TQToolBox.java TQToolBoxSignals.java TQHttpHeader.java TQHttpRequestHeader.java TQEventLoop.java TQEventLoopSignals.java TQHttpResponseHeader.java TQStyleFactory.java TQCheckBox.java TQWorkspace.java TQWizard.java TQSyntaxHighlighter.java TQXmlContentHandler.java TQXmlDeclHandler.java TQXmlDTDHandler.java TQXmlEntityResolver.java TQXmlErrorHandler.java TQXmlLexicalHandler.java TQXmlNamespaceSupport.java TQXmlSimpleReader.java Invocation.java qtjava.java QtSupport.java TQXmlDefaultHandler.java WeakValueMap.java Qt.java TQWizardSignals.java TQWorkspaceSignals.java TQXmlAttributes.java TQXmlContentHandlerInterface.java TQXmlDTDHandlerInterface.java TQXmlEntityResolverInterface.java TQXmlErrorHandlerInterface.java TQXmlInputSource.java TQXmlLexicalHandlerInterface.java TQXmlLocator.java TQXmlParseException.java TQXmlReader.java TQXmlDeclHandlerInterface.java ####### tdevelop will overwrite this part!!! (end)############ diff --git a/qtjava/javalib/org/kde/qt/QAccel.java b/qtjava/javalib/org/kde/qt/QAccel.java deleted file mode 100644 index bd0c455f..00000000 --- a/qtjava/javalib/org/kde/qt/QAccel.java +++ /dev/null @@ -1,63 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQAccelSignals} for signals emitted by TQAccel -*/ -public class TQAccel extends TQObject { - protected TQAccel(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQAccel(TQWidget parent, String name) { - super((Class) null); - newTQAccel(parent,name); - } - private native void newTQAccel(TQWidget parent, String name); - public TQAccel(TQWidget parent) { - super((Class) null); - newTQAccel(parent); - } - private native void newTQAccel(TQWidget parent); - public TQAccel(TQWidget watch, TQObject parent, String name) { - super((Class) null); - newTQAccel(watch,parent,name); - } - private native void newTQAccel(TQWidget watch, TQObject parent, String name); - public TQAccel(TQWidget watch, TQObject parent) { - super((Class) null); - newTQAccel(watch,parent); - } - private native void newTQAccel(TQWidget watch, TQObject parent); - public native boolean isEnabled(); - public native void setEnabled(boolean arg1); - public native int count(); - public native int insertItem(TQKeySequence key, int id); - public native int insertItem(TQKeySequence key); - public native void removeItem(int id); - public native void clear(); - public native TQKeySequence key(int id); - public native int findKey(TQKeySequence key); - public native boolean isItemEnabled(int id); - public native void setItemEnabled(int id, boolean enable); - public native boolean connectItem(int id, TQObject receiver, String member); - public native boolean disconnectItem(int id, TQObject receiver, String member); - public native void repairEventFilter(); - public native void setWhatsThis(int id, String arg2); - public native String whatsThis(int id); - public native void setIgnoreWhatsThis(boolean arg1); - public native boolean ignoreWhatsThis(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - public static native TQKeySequence shortcutKey(String arg1); - public static native String keyToString(TQKeySequence k); - public static native TQKeySequence stringToKey(String arg1); - public native boolean eventFilter(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/qtjava/javalib/org/kde/qt/QAccelSignals.java b/qtjava/javalib/org/kde/qt/QAccelSignals.java deleted file mode 100644 index 5c213698..00000000 --- a/qtjava/javalib/org/kde/qt/QAccelSignals.java +++ /dev/null @@ -1,8 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQAccelSignals { - void activated(int id); - void activatedAmbiguously(int id); -} diff --git a/qtjava/javalib/org/kde/qt/QAction.java b/qtjava/javalib/org/kde/qt/QAction.java deleted file mode 100644 index 19632563..00000000 --- a/qtjava/javalib/org/kde/qt/QAction.java +++ /dev/null @@ -1,115 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQActionSignals} for signals emitted by TQAction -*/ -public class TQAction extends TQObject { - protected TQAction(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQAction(TQObject parent, String name) { - super((Class) null); - newTQAction(parent,name); - } - private native void newTQAction(TQObject parent, String name); - public TQAction(TQObject parent) { - super((Class) null); - newTQAction(parent); - } - private native void newTQAction(TQObject parent); - public TQAction(String menuText, TQKeySequence accel, TQObject parent, String name) { - super((Class) null); - newTQAction(menuText,accel,parent,name); - } - private native void newTQAction(String menuText, TQKeySequence accel, TQObject parent, String name); - public TQAction(String menuText, TQKeySequence accel, TQObject parent) { - super((Class) null); - newTQAction(menuText,accel,parent); - } - private native void newTQAction(String menuText, TQKeySequence accel, TQObject parent); - public TQAction(TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent, String name) { - super((Class) null); - newTQAction(icon,menuText,accel,parent,name); - } - private native void newTQAction(TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent, String name); - public TQAction(TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent) { - super((Class) null); - newTQAction(icon,menuText,accel,parent); - } - private native void newTQAction(TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent); - public TQAction(String text, TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent, String name, boolean toggle) { - super((Class) null); - newTQAction(text,icon,menuText,accel,parent,name,toggle); - } - private native void newTQAction(String text, TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent, String name, boolean toggle); - public TQAction(String text, TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent, String name) { - super((Class) null); - newTQAction(text,icon,menuText,accel,parent,name); - } - private native void newTQAction(String text, TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent, String name); - public TQAction(String text, TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent) { - super((Class) null); - newTQAction(text,icon,menuText,accel,parent); - } - private native void newTQAction(String text, TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent); - public TQAction(String text, String menuText, TQKeySequence accel, TQObject parent, String name, boolean toggle) { - super((Class) null); - newTQAction(text,menuText,accel,parent,name,toggle); - } - private native void newTQAction(String text, String menuText, TQKeySequence accel, TQObject parent, String name, boolean toggle); - public TQAction(String text, String menuText, TQKeySequence accel, TQObject parent, String name) { - super((Class) null); - newTQAction(text,menuText,accel,parent,name); - } - private native void newTQAction(String text, String menuText, TQKeySequence accel, TQObject parent, String name); - public TQAction(String text, String menuText, TQKeySequence accel, TQObject parent) { - super((Class) null); - newTQAction(text,menuText,accel,parent); - } - private native void newTQAction(String text, String menuText, TQKeySequence accel, TQObject parent); - public TQAction(TQObject parent, String name, boolean toggle) { - super((Class) null); - newTQAction(parent,name,toggle); - } - private native void newTQAction(TQObject parent, String name, boolean toggle); - public native void setIconSet(TQIconSet arg1); - public native TQIconSet iconSet(); - public native void setText(String arg1); - public native String text(); - public native void setMenuText(String arg1); - public native String menuText(); - public native void setToolTip(String arg1); - public native String toolTip(); - public native void setStatusTip(String arg1); - public native String statusTip(); - public native void setWhatsThis(String arg1); - public native String whatsThis(); - public native void setAccel(TQKeySequence key); - public native TQKeySequence accel(); - public native void setToggleAction(boolean arg1); - public native boolean isToggleAction(); - public native boolean isOn(); - public native boolean isEnabled(); - public native boolean isVisible(); - public native boolean addTo(TQWidget arg1); - public native boolean removeFrom(TQWidget arg1); - public native void activate(); - public native void toggle(); - public native void setOn(boolean arg1); - public native void setEnabled(boolean arg1); - public native void setDisabled(boolean arg1); - public native void setVisible(boolean arg1); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void addedTo(TQWidget actionWidget, TQWidget container); - protected native void addedTo(int index, TQPopupMenu menu); - /** 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/qtjava/javalib/org/kde/qt/QActionGroup.java b/qtjava/javalib/org/kde/qt/QActionGroup.java deleted file mode 100644 index 14c4dc87..00000000 --- a/qtjava/javalib/org/kde/qt/QActionGroup.java +++ /dev/null @@ -1,58 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQActionGroupSignals} for signals emitted by TQActionGroup -*/ -public class TQActionGroup extends TQAction { - protected TQActionGroup(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQActionGroup(TQObject parent, String name) { - super((Class) null); - newTQActionGroup(parent,name); - } - private native void newTQActionGroup(TQObject parent, String name); - public TQActionGroup(TQObject parent) { - super((Class) null); - newTQActionGroup(parent); - } - private native void newTQActionGroup(TQObject parent); - public TQActionGroup(TQObject parent, String name, boolean exclusive) { - super((Class) null); - newTQActionGroup(parent,name,exclusive); - } - private native void newTQActionGroup(TQObject parent, String name, boolean exclusive); - public native void setExclusive(boolean arg1); - public native boolean isExclusive(); - public native void add(TQAction a); - public native void addSeparator(); - public native boolean addTo(TQWidget arg1); - public native boolean removeFrom(TQWidget arg1); - public native void setEnabled(boolean arg1); - public native void setToggleAction(boolean toggle); - public native void setOn(boolean on); - public native void setUsesDropDown(boolean enable); - public native boolean usesDropDown(); - public native void setIconSet(TQIconSet arg1); - public native void setText(String arg1); - public native void setMenuText(String arg1); - public native void setToolTip(String arg1); - public native void setWhatsThis(String arg1); - public native void insert(TQAction a); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void childEvent(TQChildEvent arg1); - protected native void addedTo(TQWidget actionWidget, TQWidget container, TQAction a); - protected native void addedTo(int index, TQPopupMenu menu, TQAction a); - protected native void addedTo(TQWidget actionWidget, TQWidget container); - protected native void addedTo(int index, TQPopupMenu menu); - /** 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/qtjava/javalib/org/kde/qt/QActionGroupSignals.java b/qtjava/javalib/org/kde/qt/QActionGroupSignals.java deleted file mode 100644 index 94c340bb..00000000 --- a/qtjava/javalib/org/kde/qt/QActionGroupSignals.java +++ /dev/null @@ -1,7 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQActionGroupSignals { - void selected(TQAction arg1); -} diff --git a/qtjava/javalib/org/kde/qt/QActionSignals.java b/qtjava/javalib/org/kde/qt/QActionSignals.java deleted file mode 100644 index a5811b1c..00000000 --- a/qtjava/javalib/org/kde/qt/QActionSignals.java +++ /dev/null @@ -1,8 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQActionSignals { - void activated(); - void toggled(boolean arg1); -} diff --git a/qtjava/javalib/org/kde/qt/QApplication.java b/qtjava/javalib/org/kde/qt/QApplication.java deleted file mode 100644 index 171536ab..00000000 --- a/qtjava/javalib/org/kde/qt/QApplication.java +++ /dev/null @@ -1,161 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.ArrayList; - -/** - See {@link TQApplicationSignals} for signals emitted by TQApplication -*/ -public class TQApplication extends TQObject { - protected TQApplication(Class dummy){super((Class) null);} - public static final int Tty = 0; - public static final int GuiClient = 1; - public static final int GuiServer = 2; - - public static final int NormalColors = 0; - public static final int CustomColors = 1; - - public static final int NormalColor = 0; - public static final int CustomColor = 1; - public static final int ManyColor = 2; - - public static final int DefaultCodec = 0; - public static final int UnicodeUTF8 = 1; - - public native TQMetaObject metaObject(); - public native String className(); - public TQApplication(String[] argv) { - super((Class) null); - newTQApplication(argv); - } - private native void newTQApplication(String[] argv); - public TQApplication(String[] argv, boolean GUIenabled) { - super((Class) null); - newTQApplication(argv,GUIenabled); - } - private native void newTQApplication(String[] argv, boolean GUIenabled); - public TQApplication(String[] argv, int arg3) { - super((Class) null); - newTQApplication(argv,arg3); - } - private native void newTQApplication(String[] argv, int arg3); - public native int type(); - public native TQWidget mainWidget(); - public native void setMainWidget(TQWidget arg1); - public native void polish(TQWidget arg1); - public native TQWidget focusWidget(); - public native TQWidget activeWindow(); - public native int exec(); - public native void processEvents(); - public native void processEvents(int maxtime); - public native void processOneEvent(); - public native boolean hasPendingEvents(); - public native int enter_loop(); - public native void exit_loop(); - public native int loopLevel(); - public native boolean notify(TQObject arg1, TQEvent arg2); - public native void setDefaultCodec(TQTextCodec arg1); - public native TQTextCodec defaultCodec(); - public native void installTranslator(TQTranslator arg1); - public native void removeTranslator(TQTranslator arg1); - public native String translate(String context, String key, String comment, int encoding); - public native String translate(String context, String key, String comment); - public native String translate(String context, String key); - public native String applicationDirPath(); - public native String applicationFilePath(); - public native boolean isSessionRestored(); - public native String sessionId(); - public native String sessionKey(); - public native void commitData(TQSessionManager sm); - public native void saveState(TQSessionManager sm); - public native void wakeUpGuiThread(); - public native void quit(); - public native void closeAllWindows(); - public native void aboutTQt(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - public static native TQStyle style(); - public static native void setStyle(TQStyle arg1); - public static native TQStyle setStyle(String arg1); - public static native int colorMode(); - public static native void setColorMode(int arg1); - public static native int colorSpec(); - public static native void setColorSpec(int arg1); - public static native TQCursor overrideCursor(); - public static native void setOverrideCursor(TQCursor arg1, boolean replace); - public static native void setOverrideCursor(TQCursor arg1); - public static native void restoreOverrideCursor(); - public static native boolean hasGlobalMouseTracking(); - public static native void setGlobalMouseTracking(boolean enable); - public static native TQPalette palette(TQWidget arg1); - public static native TQPalette palette(); - public static native void setPalette(TQPalette arg1, boolean informWidgets, String className); - public static native void setPalette(TQPalette arg1, boolean informWidgets); - public static native void setPalette(TQPalette arg1); - public static native TQFont font(TQWidget arg1); - public static native TQFont font(); - public static native void setFont(TQFont arg1, boolean informWidgets, String className); - public static native void setFont(TQFont arg1, boolean informWidgets); - public static native void setFont(TQFont arg1); - public static native TQFontMetrics fontMetrics(); - public static native ArrayList allWidgets(); - public static native ArrayList topLevelWidgets(); - public static native TQDesktopWidget desktop(); - public static native TQWidget activePopupWidget(); - public static native TQWidget activeModalWidget(); - public static native TQClipboard clipboard(); - public static native TQWidget widgetAt(int x, int y, boolean child); - public static native TQWidget widgetAt(int x, int y); - public static native TQWidget widgetAt(TQPoint arg1, boolean child); - public static native TQWidget widgetAt(TQPoint arg1); - public static native TQEventLoop eventLoop(); - public static native void exit(int retcode); - public static native void exit(); - public static native boolean sendEvent(TQObject receiver, TQEvent event); - public static native void postEvent(TQObject receiver, TQEvent event); - public static native void sendPostedEvents(TQObject receiver, int event_type); - public static native void sendPostedEvents(); - public static native void removePostedEvents(TQObject receiver); - public static native boolean startingUp(); - public static native boolean closingDown(); - public static native void flushX(); - public static native void flush(); - public static native void syncX(); - public static native void beep(); - public static native void setWinStyleHighlightColor(TQColor c); - public static native TQColor winStyleHighlightColor(); - public static native void setDesktopSettingsAware(boolean arg1); - public static native boolean desktopSettingsAware(); - public static native void setCursorFlashTime(int arg1); - public static native int cursorFlashTime(); - public static native void setDoubleClickInterval(int arg1); - public static native int doubleClickInterval(); - public static native void setWheelScrollLines(int arg1); - public static native int wheelScrollLines(); - public static native void setGlobalStrut(TQSize arg1); - public static native TQSize globalStrut(); - public static native void setLibraryPaths(String[] arg1); - public static native ArrayList libraryPaths(); - public static native void addLibraryPath(String arg1); - public static native void removeLibraryPath(String arg1); - public static native void setStartDragTime(int ms); - public static native int startDragTime(); - public static native void setStartDragDistance(int l); - public static native int startDragDistance(); - public static native void setReverseLayout(boolean b); - public static native boolean reverseLayout(); - public static native int horizontalAlignment(int align); - public static native boolean isEffectEnabled(int arg1); - public static native void setEffectEnabled(int arg1, boolean enable); - public static native void setEffectEnabled(int arg1); - public native boolean event(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(); - public native String[] args(); - -} diff --git a/qtjava/javalib/org/kde/qt/QApplicationSignals.java b/qtjava/javalib/org/kde/qt/QApplicationSignals.java deleted file mode 100644 index 358c9bbb..00000000 --- a/qtjava/javalib/org/kde/qt/QApplicationSignals.java +++ /dev/null @@ -1,10 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import java.util.ArrayList; - -public interface TQApplicationSignals { - void lastWindowClosed(); - void aboutToQuit(); - void guiThreadAwake(); -} diff --git a/qtjava/javalib/org/kde/qt/QAsyncIO.java b/qtjava/javalib/org/kde/qt/QAsyncIO.java deleted file mode 100644 index 55da2b83..00000000 --- a/qtjava/javalib/org/kde/qt/QAsyncIO.java +++ /dev/null @@ -1,23 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQAsyncIO implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQAsyncIO(Class dummy){} - - public native void connect(TQObject arg1, String member); - public TQAsyncIO() { - newTQAsyncIO(); - } - private native void newTQAsyncIO(); - protected native void ready(); - /** 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/qtjava/javalib/org/kde/qt/QAuServer.java b/qtjava/javalib/org/kde/qt/QAuServer.java deleted file mode 100644 index 326764c6..00000000 --- a/qtjava/javalib/org/kde/qt/QAuServer.java +++ /dev/null @@ -1,17 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQAuServer extends TQObject { - protected TQAuServer(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public native void init(TQSound arg1); - public native void play(String filename); - public native void play(TQSound arg1); - public native void stop(TQSound arg1); - public native boolean okay(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); -} diff --git a/qtjava/javalib/org/kde/qt/QBig5Codec.java b/qtjava/javalib/org/kde/qt/QBig5Codec.java deleted file mode 100644 index 7517b6e9..00000000 --- a/qtjava/javalib/org/kde/qt/QBig5Codec.java +++ /dev/null @@ -1,26 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQBig5Codec extends TQTextCodec { - protected TQBig5Codec(Class dummy){super((Class) null);} - public native int mibEnum(); - public native String name(); - public native TQTextDecoder makeDecoder(); - public native String fromUnicode(String uc, int[] lenInOut); - public native String toUnicode(String chars, int len); - public native int heuristicContentMatch(String chars, int len); - public native int heuristicNameMatch(String hint); - public TQBig5Codec() { - super((Class) null); - newTQBig5Codec(); - } - private native void newTQBig5Codec(); - /** 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/qtjava/javalib/org/kde/qt/QBitmap.java b/qtjava/javalib/org/kde/qt/QBitmap.java deleted file mode 100644 index 53e78c65..00000000 --- a/qtjava/javalib/org/kde/qt/QBitmap.java +++ /dev/null @@ -1,96 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQBitmap extends TQPixmap { - protected TQBitmap(Class dummy){super((Class) null);} - public TQBitmap() { - super((Class) null); - newTQBitmap(); - } - private native void newTQBitmap(); - public TQBitmap(int w, int h, boolean clear, int arg4) { - super((Class) null); - newTQBitmap(w,h,clear,arg4); - } - private native void newTQBitmap(int w, int h, boolean clear, int arg4); - public TQBitmap(int w, int h, boolean clear) { - super((Class) null); - newTQBitmap(w,h,clear); - } - private native void newTQBitmap(int w, int h, boolean clear); - public TQBitmap(int w, int h) { - super((Class) null); - newTQBitmap(w,h); - } - private native void newTQBitmap(int w, int h); - public TQBitmap(TQSize arg1, boolean clear, int arg3) { - super((Class) null); - newTQBitmap(arg1,clear,arg3); - } - private native void newTQBitmap(TQSize arg1, boolean clear, int arg3); - public TQBitmap(TQSize arg1, boolean clear) { - super((Class) null); - newTQBitmap(arg1,clear); - } - private native void newTQBitmap(TQSize arg1, boolean clear); - public TQBitmap(TQSize arg1) { - super((Class) null); - newTQBitmap(arg1); - } - private native void newTQBitmap(TQSize arg1); - public TQBitmap(int w, int h, char[] bits, boolean isXbitmap) { - super((Class) null); - newTQBitmap(w,h,bits,isXbitmap); - } - private native void newTQBitmap(int w, int h, char[] bits, boolean isXbitmap); - public TQBitmap(int w, int h, char[] bits) { - super((Class) null); - newTQBitmap(w,h,bits); - } - private native void newTQBitmap(int w, int h, char[] bits); - public TQBitmap(TQSize arg1, char[] bits, boolean isXbitmap) { - super((Class) null); - newTQBitmap(arg1,bits,isXbitmap); - } - private native void newTQBitmap(TQSize arg1, char[] bits, boolean isXbitmap); - public TQBitmap(TQSize arg1, char[] bits) { - super((Class) null); - newTQBitmap(arg1,bits); - } - private native void newTQBitmap(TQSize arg1, char[] bits); - public TQBitmap(TQBitmap arg1) { - super((Class) null); - newTQBitmap(arg1); - } - private native void newTQBitmap(TQBitmap arg1); - public TQBitmap(String fileName, String format) { - super((Class) null); - newTQBitmap(fileName,format); - } - private native void newTQBitmap(String fileName, String format); - public TQBitmap(String fileName) { - super((Class) null); - newTQBitmap(fileName); - } - private native void newTQBitmap(String fileName); - public native Object xForm(TQWMatrix 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(); - public TQBitmap(TQPixmap arg1) { - super((Class) null); - newTQBitmap(arg1); - } - private native void newTQBitmap(TQPixmap arg1); - public TQBitmap(TQImage arg1) { - super((Class) null); - newTQBitmap(arg1); - } - private native void newTQBitmap(TQImage arg1); - -} diff --git a/qtjava/javalib/org/kde/qt/QBoxLayout.java b/qtjava/javalib/org/kde/qt/QBoxLayout.java deleted file mode 100644 index c7a20317..00000000 --- a/qtjava/javalib/org/kde/qt/QBoxLayout.java +++ /dev/null @@ -1,109 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQBoxLayout extends TQLayout { - protected TQBoxLayout(Class dummy){super((Class) null);} - public static final int LeftToRight = 0; - public static final int RightToLeft = 1; - public static final int TopToBottom = 2; - public static final int BottomToTop = 3; - public static final int Down = TopToBottom; - public static final int Up = BottomToTop; - - public native TQMetaObject metaObject(); - public native String className(); - public TQBoxLayout(TQWidget parent, int arg2, int border, int spacing, String name) { - super((Class) null); - newTQBoxLayout(parent,arg2,border,spacing,name); - } - private native void newTQBoxLayout(TQWidget parent, int arg2, int border, int spacing, String name); - public TQBoxLayout(TQWidget parent, int arg2, int border, int spacing) { - super((Class) null); - newTQBoxLayout(parent,arg2,border,spacing); - } - private native void newTQBoxLayout(TQWidget parent, int arg2, int border, int spacing); - public TQBoxLayout(TQWidget parent, int arg2, int border) { - super((Class) null); - newTQBoxLayout(parent,arg2,border); - } - private native void newTQBoxLayout(TQWidget parent, int arg2, int border); - public TQBoxLayout(TQWidget parent, int arg2) { - super((Class) null); - newTQBoxLayout(parent,arg2); - } - private native void newTQBoxLayout(TQWidget parent, int arg2); - public TQBoxLayout(TQLayout parentLayout, int arg2, int spacing, String name) { - super((Class) null); - newTQBoxLayout(parentLayout,arg2,spacing,name); - } - private native void newTQBoxLayout(TQLayout parentLayout, int arg2, int spacing, String name); - public TQBoxLayout(TQLayout parentLayout, int arg2, int spacing) { - super((Class) null); - newTQBoxLayout(parentLayout,arg2,spacing); - } - private native void newTQBoxLayout(TQLayout parentLayout, int arg2, int spacing); - public TQBoxLayout(TQLayout parentLayout, int arg2) { - super((Class) null); - newTQBoxLayout(parentLayout,arg2); - } - private native void newTQBoxLayout(TQLayout parentLayout, int arg2); - public TQBoxLayout(int arg1, int spacing, String name) { - super((Class) null); - newTQBoxLayout(arg1,spacing,name); - } - private native void newTQBoxLayout(int arg1, int spacing, String name); - public TQBoxLayout(int arg1, int spacing) { - super((Class) null); - newTQBoxLayout(arg1,spacing); - } - private native void newTQBoxLayout(int arg1, int spacing); - public TQBoxLayout(int arg1) { - super((Class) null); - newTQBoxLayout(arg1); - } - private native void newTQBoxLayout(int arg1); - public native void addItem(TQLayoutItemInterface arg1); - public native int direction(); - public native void setDirection(int arg1); - public native void addSpacing(int size); - public native void addStretch(int stretch); - public native void addStretch(); - public native void addWidget(TQWidget arg1, int stretch, int alignment); - public native void addWidget(TQWidget arg1, int stretch); - public native void addWidget(TQWidget arg1); - public native void addLayout(TQLayout layout, int stretch); - public native void addLayout(TQLayout layout); - public native void addStrut(int arg1); - public native void insertSpacing(int index, int size); - public native void insertStretch(int index, int stretch); - public native void insertStretch(int index); - public native void insertWidget(int index, TQWidget widget, int stretch, int alignment); - public native void insertWidget(int index, TQWidget widget, int stretch); - public native void insertWidget(int index, TQWidget widget); - public native void insertLayout(int index, TQLayout layout, int stretch); - public native void insertLayout(int index, TQLayout layout); - public native boolean setStretchFactor(TQWidget arg1, int stretch); - public native boolean setStretchFactor(TQLayout l, int stretch); - public native TQSize sizeHint(); - public native TQSize minimumSize(); - public native TQSize maximumSize(); - public native boolean hasHeightForWidth(); - public native int heightForWidth(int arg1); - public native int minimumHeightForWidth(int arg1); - public native int expanding(); - public native void invalidate(); - // TQLayoutIterator iterator(); >>>> NOT CONVERTED - public native void setGeometry(TQRect arg1); - public native int findWidget(TQWidget w); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - public native void insertItem(int index, TQLayoutItemInterface 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/qtjava/javalib/org/kde/qt/QBrush.java b/qtjava/javalib/org/kde/qt/QBrush.java deleted file mode 100644 index 3f324da4..00000000 --- a/qtjava/javalib/org/kde/qt/QBrush.java +++ /dev/null @@ -1,52 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQBrush extends Qt { - protected TQBrush(Class dummy){super((Class) null);} - public TQBrush() { - super((Class) null); - newTQBrush(); - } - private native void newTQBrush(); - public TQBrush(int arg1) { - super((Class) null); - newTQBrush(arg1); - } - private native void newTQBrush(int arg1); - public TQBrush(TQColor arg1, int arg2) { - super((Class) null); - newTQBrush(arg1,arg2); - } - private native void newTQBrush(TQColor arg1, int arg2); - public TQBrush(TQColor arg1) { - super((Class) null); - newTQBrush(arg1); - } - private native void newTQBrush(TQColor arg1); - public TQBrush(TQColor arg1, TQPixmap arg2) { - super((Class) null); - newTQBrush(arg1,arg2); - } - private native void newTQBrush(TQColor arg1, TQPixmap arg2); - public TQBrush(TQBrush arg1) { - super((Class) null); - newTQBrush(arg1); - } - private native void newTQBrush(TQBrush arg1); - public native int style(); - public native void setStyle(int arg1); - public native TQColor color(); - public native void setColor(TQColor arg1); - public native TQPixmap pixmap(); - public native void setPixmap(TQPixmap arg1); - public native boolean op_equals(TQBrush p); - public native boolean op_not_equals(TQBrush b); - /** 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/qtjava/javalib/org/kde/qt/QBuffer.java b/qtjava/javalib/org/kde/qt/QBuffer.java deleted file mode 100644 index 30cfcdb5..00000000 --- a/qtjava/javalib/org/kde/qt/QBuffer.java +++ /dev/null @@ -1,39 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQBuffer extends TQIODevice { - protected TQBuffer(Class dummy){super((Class) null);} - public TQBuffer() { - super((Class) null); - newTQBuffer(); - } - private native void newTQBuffer(); - public TQBuffer(byte[] arg1) { - super((Class) null); - newTQBuffer(arg1); - } - private native void newTQBuffer(byte[] arg1); - public native byte[] buffer(); - public native boolean setBuffer(byte[] arg1); - public native boolean open(int arg1); - public native void close(); - public native void flush(); - public native long size(); - public native long at(); - public native boolean at(long arg1); - public native long readBlock(StringBuffer p, long arg2); - public native long writeBlock(String p, long arg2); - public native long writeBlock(byte[] data); - public native long readLine(String p, long arg2); - public native int getch(); - public native int putch(int arg1); - public native int ungetch(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/qtjava/javalib/org/kde/qt/QButton.java b/qtjava/javalib/org/kde/qt/QButton.java deleted file mode 100644 index cf03c64d..00000000 --- a/qtjava/javalib/org/kde/qt/QButton.java +++ /dev/null @@ -1,85 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQButtonSignals} for signals emitted by TQButton -*/ -public class TQButton extends TQWidget { - protected TQButton(Class dummy){super((Class) null);} - public static final int SingleShot = 0; - public static final int Toggle = 1; - public static final int Tristate = 2; - - public static final int Off = 0; - public static final int NoChange = 1; - public static final int On = 2; - - public native TQMetaObject metaObject(); - public native String className(); - public TQButton(TQWidget parent, String name, int f) { - super((Class) null); - newTQButton(parent,name,f); - } - private native void newTQButton(TQWidget parent, String name, int f); - public TQButton(TQWidget parent, String name) { - super((Class) null); - newTQButton(parent,name); - } - private native void newTQButton(TQWidget parent, String name); - public TQButton(TQWidget parent) { - super((Class) null); - newTQButton(parent); - } - private native void newTQButton(TQWidget parent); - public TQButton() { - super((Class) null); - newTQButton(); - } - private native void newTQButton(); - public native String text(); - public native void setText(String arg1); - public native TQPixmap pixmap(); - public native void setPixmap(TQPixmap arg1); - public native TQKeySequence accel(); - public native void setAccel(TQKeySequence arg1); - public native boolean isToggleButton(); - public native int toggleType(); - public native void setDown(boolean arg1); - public native boolean isDown(); - public native boolean isOn(); - public native int state(); - public native boolean autoResize(); - public native void setAutoResize(boolean arg1); - public native boolean autoRepeat(); - public native void setAutoRepeat(boolean arg1); - public native boolean isExclusiveToggle(); - public native TQButtonGroup group(); - public native void animateClick(); - public native void toggle(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void setToggleButton(boolean arg1); - protected native void setToggleType(int arg1); - protected native void setOn(boolean arg1); - public native void setState(int arg1); - protected native boolean hitButton(TQPoint pos); - protected native void drawButton(TQPainter arg1); - protected native void drawButtonLabel(TQPainter arg1); - protected native void keyPressEvent(TQKeyEvent arg1); - protected native void keyReleaseEvent(TQKeyEvent arg1); - protected native void mousePressEvent(TQMouseEvent arg1); - protected native void mouseReleaseEvent(TQMouseEvent arg1); - protected native void mouseMoveEvent(TQMouseEvent arg1); - protected native void paintEvent(TQPaintEvent arg1); - protected native void focusInEvent(TQFocusEvent arg1); - protected native void focusOutEvent(TQFocusEvent arg1); - protected native void enabledChange(boolean 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/qtjava/javalib/org/kde/qt/QButtonGroup.java b/qtjava/javalib/org/kde/qt/QButtonGroup.java deleted file mode 100644 index 5570c131..00000000 --- a/qtjava/javalib/org/kde/qt/QButtonGroup.java +++ /dev/null @@ -1,100 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQButtonGroupSignals} for signals emitted by TQButtonGroup -*/ -public class TQButtonGroup extends TQGroupBox { - protected TQButtonGroup(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQButtonGroup(TQWidget parent, String name) { - super((Class) null); - newTQButtonGroup(parent,name); - } - private native void newTQButtonGroup(TQWidget parent, String name); - public TQButtonGroup(TQWidget parent) { - super((Class) null); - newTQButtonGroup(parent); - } - private native void newTQButtonGroup(TQWidget parent); - public TQButtonGroup() { - super((Class) null); - newTQButtonGroup(); - } - private native void newTQButtonGroup(); - public TQButtonGroup(String title, TQWidget parent, String name) { - super((Class) null); - newTQButtonGroup(title,parent,name); - } - private native void newTQButtonGroup(String title, TQWidget parent, String name); - public TQButtonGroup(String title, TQWidget parent) { - super((Class) null); - newTQButtonGroup(title,parent); - } - private native void newTQButtonGroup(String title, TQWidget parent); - public TQButtonGroup(String title) { - super((Class) null); - newTQButtonGroup(title); - } - private native void newTQButtonGroup(String title); - public TQButtonGroup(int columns, int o, TQWidget parent, String name) { - super((Class) null); - newTQButtonGroup(columns,o,parent,name); - } - private native void newTQButtonGroup(int columns, int o, TQWidget parent, String name); - public TQButtonGroup(int columns, int o, TQWidget parent) { - super((Class) null); - newTQButtonGroup(columns,o,parent); - } - private native void newTQButtonGroup(int columns, int o, TQWidget parent); - public TQButtonGroup(int columns, int o) { - super((Class) null); - newTQButtonGroup(columns,o); - } - private native void newTQButtonGroup(int columns, int o); - public TQButtonGroup(int columns, int o, String title, TQWidget parent, String name) { - super((Class) null); - newTQButtonGroup(columns,o,title,parent,name); - } - private native void newTQButtonGroup(int columns, int o, String title, TQWidget parent, String name); - public TQButtonGroup(int columns, int o, String title, TQWidget parent) { - super((Class) null); - newTQButtonGroup(columns,o,title,parent); - } - private native void newTQButtonGroup(int columns, int o, String title, TQWidget parent); - public TQButtonGroup(int columns, int o, String title) { - super((Class) null); - newTQButtonGroup(columns,o,title); - } - private native void newTQButtonGroup(int columns, int o, String title); - public native boolean isExclusive(); - public native boolean isRadioButtonExclusive(); - public native void setExclusive(boolean arg1); - public native void setRadioButtonExclusive(boolean arg1); - public native int insert(TQButton arg1, int id); - public native int insert(TQButton arg1); - public native void remove(TQButton arg1); - public native TQButton findButton(int id); - public native int id(TQButton arg1); - public native int count(); - public native void setButton(int id); - public native void moveFocus(int arg1); - public native TQButton selected(); - public native int selectedId(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - public native boolean event(TQEvent e); - protected native void buttonPressed(); - protected native void buttonReleased(); - protected native void buttonClicked(); - protected native void buttonToggled(boolean on); - /** 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/qtjava/javalib/org/kde/qt/QButtonGroupSignals.java b/qtjava/javalib/org/kde/qt/QButtonGroupSignals.java deleted file mode 100644 index 8c93250a..00000000 --- a/qtjava/javalib/org/kde/qt/QButtonGroupSignals.java +++ /dev/null @@ -1,9 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQButtonGroupSignals { - void pressed(int id); - void released(int id); - void clicked(int id); -} diff --git a/qtjava/javalib/org/kde/qt/QButtonSignals.java b/qtjava/javalib/org/kde/qt/QButtonSignals.java deleted file mode 100644 index 79d0fc85..00000000 --- a/qtjava/javalib/org/kde/qt/QButtonSignals.java +++ /dev/null @@ -1,11 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQButtonSignals { - void pressed(); - void released(); - void clicked(); - void toggled(boolean arg1); - void stateChanged(int arg1); -} diff --git a/qtjava/javalib/org/kde/qt/QCanvas.java b/qtjava/javalib/org/kde/qt/QCanvas.java deleted file mode 100644 index 36baff0c..00000000 --- a/qtjava/javalib/org/kde/qt/QCanvas.java +++ /dev/null @@ -1,103 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.ArrayList; - -/** - See {@link TQCanvasSignals} for signals emitted by TQCanvas -*/ -public class TQCanvas extends TQObject { - protected TQCanvas(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQCanvas(TQObject parent, String name) { - super((Class) null); - newTQCanvas(parent,name); - } - private native void newTQCanvas(TQObject parent, String name); - public TQCanvas(TQObject parent) { - super((Class) null); - newTQCanvas(parent); - } - private native void newTQCanvas(TQObject parent); - public TQCanvas() { - super((Class) null); - newTQCanvas(); - } - private native void newTQCanvas(); - public TQCanvas(int w, int h) { - super((Class) null); - newTQCanvas(w,h); - } - private native void newTQCanvas(int w, int h); - public TQCanvas(TQPixmap p, int h, int v, int tilewidth, int tileheight) { - super((Class) null); - newTQCanvas(p,h,v,tilewidth,tileheight); - } - private native void newTQCanvas(TQPixmap p, int h, int v, int tilewidth, int tileheight); - public native void setTiles(TQPixmap tiles, int h, int v, int tilewidth, int tileheight); - public native void setBackgroundPixmap(TQPixmap p); - public native TQPixmap backgroundPixmap(); - public native void setBackgroundColor(TQColor c); - public native TQColor backgroundColor(); - public native void setTile(int x, int y, int tilenum); - public native int tile(int x, int y); - public native int tilesHorizontally(); - public native int tilesVertically(); - public native int tileWidth(); - public native int tileHeight(); - public native void resize(int width, int height); - public native int width(); - public native int height(); - public native TQSize size(); - public native TQRect rect(); - public native boolean onCanvas(int x, int y); - public native boolean onCanvas(TQPoint p); - public native boolean validChunk(int x, int y); - public native boolean validChunk(TQPoint p); - public native int chunkSize(); - public native void retune(int chunksize, int maxclusters); - public native void retune(int chunksize); - public native boolean sameChunk(int x1, int y1, int x2, int y2); - public native void setChangedChunk(int i, int j); - public native void setChangedChunkContaining(int x, int y); - public native void setAllChanged(); - public native void setChanged(TQRect area); - public native void setUnchanged(TQRect area); - public native void addItemToChunk(TQCanvasItem arg1, int i, int j); - public native void removeItemFromChunk(TQCanvasItem arg1, int i, int j); - public native void addItemToChunkContaining(TQCanvasItem arg1, int x, int y); - public native void removeItemFromChunkContaining(TQCanvasItem arg1, int x, int y); - public native ArrayList allItems(); - public native ArrayList collisions(TQPoint arg1); - public native ArrayList collisions(TQRect arg1); - public native ArrayList collisions(TQPointArray pa, TQCanvasItem item, boolean exact); - public native void drawArea(TQRect arg1, TQPainter p, boolean double_buffer); - public native void drawArea(TQRect arg1, TQPainter p); - public native void addView(TQCanvasView arg1); - public native void removeView(TQCanvasView arg1); - public native void drawCanvasArea(TQRect arg1, TQPainter p, boolean double_buffer); - public native void drawCanvasArea(TQRect arg1, TQPainter p); - public native void drawCanvasArea(TQRect arg1); - public native void drawViewArea(TQCanvasView view, TQPainter p, TQRect r, boolean dbuf); - public native void addItem(TQCanvasItem arg1); - public native void addAnimation(TQCanvasItem arg1); - public native void removeItem(TQCanvasItem arg1); - public native void removeAnimation(TQCanvasItem arg1); - public native void setAdvancePeriod(int ms); - public native void setUpdatePeriod(int ms); - public native void setDoubleBuffering(boolean y); - public native void advance(); - public native void update(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void drawBackground(TQPainter arg1, TQRect area); - protected native void drawForeground(TQPainter arg1, TQRect area); - /** 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/qtjava/javalib/org/kde/qt/QCanvasEllipse.java b/qtjava/javalib/org/kde/qt/QCanvasEllipse.java deleted file mode 100644 index 472e6877..00000000 --- a/qtjava/javalib/org/kde/qt/QCanvasEllipse.java +++ /dev/null @@ -1,39 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQCanvasEllipse extends TQCanvasPolygonalItem { - protected TQCanvasEllipse(Class dummy){super((Class) null);} - public TQCanvasEllipse(TQCanvas canvas) { - super((Class) null); - newTQCanvasEllipse(canvas); - } - private native void newTQCanvasEllipse(TQCanvas canvas); - public TQCanvasEllipse(int width, int height, TQCanvas canvas) { - super((Class) null); - newTQCanvasEllipse(width,height,canvas); - } - private native void newTQCanvasEllipse(int width, int height, TQCanvas canvas); - public TQCanvasEllipse(int width, int height, int startangle, int angle, TQCanvas canvas) { - super((Class) null); - newTQCanvasEllipse(width,height,startangle,angle,canvas); - } - private native void newTQCanvasEllipse(int width, int height, int startangle, int angle, TQCanvas canvas); - public native int width(); - public native int height(); - public native void setSize(int w, int h); - public native void setAngles(int start, int length); - public native int angleStart(); - public native int angleLength(); - public native TQPointArray areaPoints(); - public native boolean collidesWith(TQCanvasItem arg1); - public native int rtti(); - protected native void drawShape(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/qtjava/javalib/org/kde/qt/QCanvasItem.java b/qtjava/javalib/org/kde/qt/QCanvasItem.java deleted file mode 100644 index 91cb3296..00000000 --- a/qtjava/javalib/org/kde/qt/QCanvasItem.java +++ /dev/null @@ -1,57 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.ArrayList; - -public class TQCanvasItem extends Qt { - protected TQCanvasItem(Class dummy){super((Class) null);} - public static final int Rtti_Item = 0; - public static final int Rtti_Sprite = 1; - public static final int Rtti_PolygonalItem = 2; - public static final int Rtti_Text = 3; - public static final int Rtti_Polygon = 4; - public static final int Rtti_Rectangle = 5; - public static final int Rtti_Ellipse = 6; - public static final int Rtti_Line = 7; - public static final int Rtti_Spline = 8; - - public native double x(); - public native double y(); - public native double z(); - public native void moveBy(double dx, double dy); - public native void move(double x, double y); - public native void setX(double a); - public native void setY(double a); - public native void setZ(double a); - public native boolean animated(); - public native void setAnimated(boolean y); - public native void setVelocity(double vx, double vy); - public native void setXVelocity(double vx); - public native void setYVelocity(double vy); - public native double xVelocity(); - public native double yVelocity(); - public native void advance(int stage); - public native boolean collidesWith(TQCanvasItem arg1); - public native ArrayList collisions(boolean exact); - public native void setCanvas(TQCanvas arg1); - public native void draw(TQPainter arg1); - public native void show(); - public native void hide(); - public native void setVisible(boolean yes); - public native boolean isVisible(); - public native void setSelected(boolean yes); - public native boolean isSelected(); - public native void setEnabled(boolean yes); - public native boolean isEnabled(); - public native void setActive(boolean yes); - public native boolean isActive(); - public native boolean visible(); - public native boolean selected(); - public native boolean enabled(); - public native boolean active(); - public native int rtti(); - public native TQRect boundingRect(); - public native TQRect boundingRectAdvanced(); - public native TQCanvas canvas(); -} diff --git a/qtjava/javalib/org/kde/qt/QCanvasLine.java b/qtjava/javalib/org/kde/qt/QCanvasLine.java deleted file mode 100644 index 1805e77f..00000000 --- a/qtjava/javalib/org/kde/qt/QCanvasLine.java +++ /dev/null @@ -1,27 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQCanvasLine extends TQCanvasPolygonalItem { - protected TQCanvasLine(Class dummy){super((Class) null);} - public TQCanvasLine(TQCanvas canvas) { - super((Class) null); - newTQCanvasLine(canvas); - } - private native void newTQCanvasLine(TQCanvas canvas); - public native void setPoints(int x1, int y1, int x2, int y2); - public native TQPoint startPoint(); - public native TQPoint endPoint(); - public native int rtti(); - public native void setPen(TQPen p); - public native void moveBy(double dx, double dy); - protected native void drawShape(TQPainter arg1); - public native TQPointArray areaPoints(); - /** 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/qtjava/javalib/org/kde/qt/QCanvasPixmap.java b/qtjava/javalib/org/kde/qt/QCanvasPixmap.java deleted file mode 100644 index 25add0c4..00000000 --- a/qtjava/javalib/org/kde/qt/QCanvasPixmap.java +++ /dev/null @@ -1,32 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQCanvasPixmap extends TQPixmap { - protected TQCanvasPixmap(Class dummy){super((Class) null);} - public TQCanvasPixmap(String datafilename) { - super((Class) null); - newTQCanvasPixmap(datafilename); - } - private native void newTQCanvasPixmap(String datafilename); - public TQCanvasPixmap(TQImage image) { - super((Class) null); - newTQCanvasPixmap(image); - } - private native void newTQCanvasPixmap(TQImage image); - public TQCanvasPixmap(TQPixmap arg1, TQPoint hotspot) { - super((Class) null); - newTQCanvasPixmap(arg1,hotspot); - } - private native void newTQCanvasPixmap(TQPixmap arg1, TQPoint hotspot); - public native int offsetX(); - public native int offsetY(); - public native void setOffset(int x, int y); - /** 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/qtjava/javalib/org/kde/qt/QCanvasPixmapArray.java b/qtjava/javalib/org/kde/qt/QCanvasPixmapArray.java deleted file mode 100644 index 113bd5a8..00000000 --- a/qtjava/javalib/org/kde/qt/QCanvasPixmapArray.java +++ /dev/null @@ -1,40 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQCanvasPixmapArray implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQCanvasPixmapArray(Class dummy){} - - public TQCanvasPixmapArray() { - newTQCanvasPixmapArray(); - } - private native void newTQCanvasPixmapArray(); - public TQCanvasPixmapArray(String datafilenamepattern, int framecount) { - newTQCanvasPixmapArray(datafilenamepattern,framecount); - } - private native void newTQCanvasPixmapArray(String datafilenamepattern, int framecount); - public TQCanvasPixmapArray(String datafilenamepattern) { - newTQCanvasPixmapArray(datafilenamepattern); - } - private native void newTQCanvasPixmapArray(String datafilenamepattern); - // TQCanvasPixmapArray* TQCanvasPixmapArray(TQPtrList arg1,TQPtrList arg2); >>>> NOT CONVERTED - // TQCanvasPixmapArray* TQCanvasPixmapArray(TQValueList arg1,TQPointArray arg2); >>>> NOT CONVERTED - // TQCanvasPixmapArray* TQCanvasPixmapArray(TQValueList arg1); >>>> NOT CONVERTED - public native boolean readPixmaps(String datafilenamepattern, int framecount); - public native boolean readPixmaps(String datafilenamepattern); - public native boolean readCollisionMasks(String filenamepattern); - public native boolean op_not(); - public native boolean isValid(); - public native TQCanvasPixmap image(int i); - public native void setImage(int i, TQCanvasPixmap p); - public native int count(); - /** 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/qtjava/javalib/org/kde/qt/QCanvasPolygon.java b/qtjava/javalib/org/kde/qt/QCanvasPolygon.java deleted file mode 100644 index 3a09748f..00000000 --- a/qtjava/javalib/org/kde/qt/QCanvasPolygon.java +++ /dev/null @@ -1,25 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQCanvasPolygon extends TQCanvasPolygonalItem { - protected TQCanvasPolygon(Class dummy){super((Class) null);} - public TQCanvasPolygon(TQCanvas canvas) { - super((Class) null); - newTQCanvasPolygon(canvas); - } - private native void newTQCanvasPolygon(TQCanvas canvas); - public native void setPoints(TQPointArray arg1); - public native TQPointArray points(); - public native void moveBy(double dx, double dy); - public native TQPointArray areaPoints(); - public native int rtti(); - protected native void drawShape(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/qtjava/javalib/org/kde/qt/QCanvasPolygonalItem.java b/qtjava/javalib/org/kde/qt/QCanvasPolygonalItem.java deleted file mode 100644 index 47421c4d..00000000 --- a/qtjava/javalib/org/kde/qt/QCanvasPolygonalItem.java +++ /dev/null @@ -1,17 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQCanvasPolygonalItem extends TQCanvasItem { - protected TQCanvasPolygonalItem(Class dummy){super((Class) null);} - public native boolean collidesWith(TQCanvasItem arg1); - public native void setPen(TQPen p); - public native void setBrush(TQBrush b); - public native TQPen pen(); - public native TQBrush brush(); - public native TQPointArray areaPoints(); - public native TQPointArray areaPointsAdvanced(); - public native TQRect boundingRect(); - public native int rtti(); -} diff --git a/qtjava/javalib/org/kde/qt/QCanvasRectangle.java b/qtjava/javalib/org/kde/qt/QCanvasRectangle.java deleted file mode 100644 index 5fa5dbbe..00000000 --- a/qtjava/javalib/org/kde/qt/QCanvasRectangle.java +++ /dev/null @@ -1,39 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQCanvasRectangle extends TQCanvasPolygonalItem { - protected TQCanvasRectangle(Class dummy){super((Class) null);} - public TQCanvasRectangle(TQCanvas canvas) { - super((Class) null); - newTQCanvasRectangle(canvas); - } - private native void newTQCanvasRectangle(TQCanvas canvas); - public TQCanvasRectangle(TQRect arg1, TQCanvas canvas) { - super((Class) null); - newTQCanvasRectangle(arg1,canvas); - } - private native void newTQCanvasRectangle(TQRect arg1, TQCanvas canvas); - public TQCanvasRectangle(int x, int y, int width, int height, TQCanvas canvas) { - super((Class) null); - newTQCanvasRectangle(x,y,width,height,canvas); - } - private native void newTQCanvasRectangle(int x, int y, int width, int height, TQCanvas canvas); - public native int width(); - public native int height(); - public native void setSize(int w, int h); - public native TQSize size(); - public native TQPointArray areaPoints(); - public native TQRect rect(); - public native boolean collidesWith(TQCanvasItem arg1); - public native int rtti(); - protected native void drawShape(TQPainter arg1); - protected native TQPointArray chunks(); - /** 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/qtjava/javalib/org/kde/qt/QCanvasSignals.java b/qtjava/javalib/org/kde/qt/QCanvasSignals.java deleted file mode 100644 index bd33e65e..00000000 --- a/qtjava/javalib/org/kde/qt/QCanvasSignals.java +++ /dev/null @@ -1,8 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import java.util.ArrayList; - -public interface TQCanvasSignals { - void resized(); -} diff --git a/qtjava/javalib/org/kde/qt/QCanvasSpline.java b/qtjava/javalib/org/kde/qt/QCanvasSpline.java deleted file mode 100644 index 593c9de1..00000000 --- a/qtjava/javalib/org/kde/qt/QCanvasSpline.java +++ /dev/null @@ -1,24 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQCanvasSpline extends TQCanvasPolygon { - protected TQCanvasSpline(Class dummy){super((Class) null);} - public TQCanvasSpline(TQCanvas canvas) { - super((Class) null); - newTQCanvasSpline(canvas); - } - private native void newTQCanvasSpline(TQCanvas canvas); - public native void setControlPoints(TQPointArray arg1, boolean closed); - public native void setControlPoints(TQPointArray arg1); - public native TQPointArray controlPoints(); - public native boolean closed(); - public native int rtti(); - /** 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/qtjava/javalib/org/kde/qt/QCanvasSprite.java b/qtjava/javalib/org/kde/qt/QCanvasSprite.java deleted file mode 100644 index b093ab45..00000000 --- a/qtjava/javalib/org/kde/qt/QCanvasSprite.java +++ /dev/null @@ -1,50 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQCanvasSprite extends TQCanvasItem { - protected TQCanvasSprite(Class dummy){super((Class) null);} - public static final int Cycle = 0; - public static final int Oscillate = 1; - - public TQCanvasSprite(TQCanvasPixmapArray array, TQCanvas canvas) { - super((Class) null); - newTQCanvasSprite(array,canvas); - } - private native void newTQCanvasSprite(TQCanvasPixmapArray array, TQCanvas canvas); - public native void setSequence(TQCanvasPixmapArray seq); - public native void move(double x, double y); - public native void move(double x, double y, int frame); - public native void setFrame(int arg1); - public native void setFrameAnimation(int arg1, int step, int state); - public native void setFrameAnimation(int arg1, int step); - public native void setFrameAnimation(int arg1); - public native void setFrameAnimation(); - public native int frame(); - public native int frameCount(); - public native int rtti(); - public native boolean collidesWith(TQCanvasItem arg1); - public native TQRect boundingRect(); - public native int width(); - public native int height(); - public native int leftEdge(); - public native int topEdge(); - public native int rightEdge(); - public native int bottomEdge(); - public native int leftEdge(int nx); - public native int topEdge(int ny); - public native int rightEdge(int nx); - public native int bottomEdge(int ny); - public native TQCanvasPixmap image(); - public native TQCanvasPixmap imageAdvanced(); - public native TQCanvasPixmap image(int f); - public native void advance(int stage); - public native void draw(TQPainter painter); - /** 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/qtjava/javalib/org/kde/qt/QCanvasText.java b/qtjava/javalib/org/kde/qt/QCanvasText.java deleted file mode 100644 index c8866043..00000000 --- a/qtjava/javalib/org/kde/qt/QCanvasText.java +++ /dev/null @@ -1,42 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQCanvasText extends TQCanvasItem { - protected TQCanvasText(Class dummy){super((Class) null);} - public TQCanvasText(TQCanvas canvas) { - super((Class) null); - newTQCanvasText(canvas); - } - private native void newTQCanvasText(TQCanvas canvas); - public TQCanvasText(String arg1, TQCanvas canvas) { - super((Class) null); - newTQCanvasText(arg1,canvas); - } - private native void newTQCanvasText(String arg1, TQCanvas canvas); - public TQCanvasText(String arg1, TQFont arg2, TQCanvas canvas) { - super((Class) null); - newTQCanvasText(arg1,arg2,canvas); - } - private native void newTQCanvasText(String arg1, TQFont arg2, TQCanvas canvas); - public native void setText(String arg1); - public native void setFont(TQFont arg1); - public native void setColor(TQColor arg1); - public native String text(); - public native TQFont font(); - public native TQColor color(); - public native void moveBy(double dx, double dy); - public native int textFlags(); - public native void setTextFlags(int arg1); - public native TQRect boundingRect(); - public native boolean collidesWith(TQCanvasItem arg1); - public native int rtti(); - public native void draw(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/qtjava/javalib/org/kde/qt/QCanvasView.java b/qtjava/javalib/org/kde/qt/QCanvasView.java deleted file mode 100644 index 8aa46876..00000000 --- a/qtjava/javalib/org/kde/qt/QCanvasView.java +++ /dev/null @@ -1,65 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQCanvasView extends TQScrollView { - protected TQCanvasView(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQCanvasView(TQWidget parent, String name, int f) { - super((Class) null); - newTQCanvasView(parent,name,f); - } - private native void newTQCanvasView(TQWidget parent, String name, int f); - public TQCanvasView(TQWidget parent, String name) { - super((Class) null); - newTQCanvasView(parent,name); - } - private native void newTQCanvasView(TQWidget parent, String name); - public TQCanvasView(TQWidget parent) { - super((Class) null); - newTQCanvasView(parent); - } - private native void newTQCanvasView(TQWidget parent); - public TQCanvasView() { - super((Class) null); - newTQCanvasView(); - } - private native void newTQCanvasView(); - public TQCanvasView(TQCanvas viewing, TQWidget parent, String name, int f) { - super((Class) null); - newTQCanvasView(viewing,parent,name,f); - } - private native void newTQCanvasView(TQCanvas viewing, TQWidget parent, String name, int f); - public TQCanvasView(TQCanvas viewing, TQWidget parent, String name) { - super((Class) null); - newTQCanvasView(viewing,parent,name); - } - private native void newTQCanvasView(TQCanvas viewing, TQWidget parent, String name); - public TQCanvasView(TQCanvas viewing, TQWidget parent) { - super((Class) null); - newTQCanvasView(viewing,parent); - } - private native void newTQCanvasView(TQCanvas viewing, TQWidget parent); - public TQCanvasView(TQCanvas viewing) { - super((Class) null); - newTQCanvasView(viewing); - } - private native void newTQCanvasView(TQCanvas viewing); - public native TQCanvas canvas(); - public native void setCanvas(TQCanvas v); - public native TQWMatrix worldMatrix(); - public native TQWMatrix inverseWorldMatrix(); - public native boolean setWorldMatrix(TQWMatrix arg1); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void drawContents(TQPainter arg1, int cx, int cy, int cw, int ch); - public native TQSize sizeHint(); - /** 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/qtjava/javalib/org/kde/qt/QCheckBox.java b/qtjava/javalib/org/kde/qt/QCheckBox.java deleted file mode 100644 index 71a7ed18..00000000 --- a/qtjava/javalib/org/kde/qt/QCheckBox.java +++ /dev/null @@ -1,50 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQCheckBox extends TQButton { - protected TQCheckBox(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQCheckBox(TQWidget parent, String name) { - super((Class) null); - newTQCheckBox(parent,name); - } - private native void newTQCheckBox(TQWidget parent, String name); - public TQCheckBox(TQWidget parent) { - super((Class) null); - newTQCheckBox(parent); - } - private native void newTQCheckBox(TQWidget parent); - public TQCheckBox(String text, TQWidget parent, String name) { - super((Class) null); - newTQCheckBox(text,parent,name); - } - private native void newTQCheckBox(String text, TQWidget parent, String name); - public TQCheckBox(String text, TQWidget parent) { - super((Class) null); - newTQCheckBox(text,parent); - } - private native void newTQCheckBox(String text, TQWidget parent); - public native boolean isChecked(); - public native void setNoChange(); - public native void setTristate(boolean y); - public native void setTristate(); - public native boolean isTristate(); - public native TQSize sizeHint(); - public native void setChecked(boolean check); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void resizeEvent(TQResizeEvent arg1); - protected native void drawButton(TQPainter arg1); - protected native void drawButtonLabel(TQPainter arg1); - protected native void updateMask(); - protected native boolean hitButton(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/qtjava/javalib/org/kde/qt/QCheckListItem.java b/qtjava/javalib/org/kde/qt/QCheckListItem.java deleted file mode 100644 index 292da40f..00000000 --- a/qtjava/javalib/org/kde/qt/QCheckListItem.java +++ /dev/null @@ -1,111 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQCheckListItem extends TQListViewItem { - protected TQCheckListItem(Class dummy){super((Class) null);} - public static final int RadioButton = 0; - public static final int CheckBox = 1; - public static final int Controller = 2; - public static final int RadioButtonController = Controller; - public static final int CheckBoxController = 3; - - public static final int Off = 0; - public static final int NoChange = 1; - public static final int On = 2; - - public TQCheckListItem(TQCheckListItem parent, String text, int arg3) { - super((Class) null); - newTQCheckListItem(parent,text,arg3); - } - private native void newTQCheckListItem(TQCheckListItem parent, String text, int arg3); - public TQCheckListItem(TQCheckListItem parent, String text) { - super((Class) null); - newTQCheckListItem(parent,text); - } - private native void newTQCheckListItem(TQCheckListItem parent, String text); - public TQCheckListItem(TQCheckListItem parent, TQListViewItem after, String text, int arg4) { - super((Class) null); - newTQCheckListItem(parent,after,text,arg4); - } - private native void newTQCheckListItem(TQCheckListItem parent, TQListViewItem after, String text, int arg4); - public TQCheckListItem(TQCheckListItem parent, TQListViewItem after, String text) { - super((Class) null); - newTQCheckListItem(parent,after,text); - } - private native void newTQCheckListItem(TQCheckListItem parent, TQListViewItem after, String text); - public TQCheckListItem(TQListViewItem parent, String text, int arg3) { - super((Class) null); - newTQCheckListItem(parent,text,arg3); - } - private native void newTQCheckListItem(TQListViewItem parent, String text, int arg3); - public TQCheckListItem(TQListViewItem parent, String text) { - super((Class) null); - newTQCheckListItem(parent,text); - } - private native void newTQCheckListItem(TQListViewItem parent, String text); - public TQCheckListItem(TQListViewItem parent, TQListViewItem after, String text, int arg4) { - super((Class) null); - newTQCheckListItem(parent,after,text,arg4); - } - private native void newTQCheckListItem(TQListViewItem parent, TQListViewItem after, String text, int arg4); - public TQCheckListItem(TQListViewItem parent, TQListViewItem after, String text) { - super((Class) null); - newTQCheckListItem(parent,after,text); - } - private native void newTQCheckListItem(TQListViewItem parent, TQListViewItem after, String text); - public TQCheckListItem(TQListView parent, String text, int arg3) { - super((Class) null); - newTQCheckListItem(parent,text,arg3); - } - private native void newTQCheckListItem(TQListView parent, String text, int arg3); - public TQCheckListItem(TQListView parent, String text) { - super((Class) null); - newTQCheckListItem(parent,text); - } - private native void newTQCheckListItem(TQListView parent, String text); - public TQCheckListItem(TQListView parent, TQListViewItem after, String text, int arg4) { - super((Class) null); - newTQCheckListItem(parent,after,text,arg4); - } - private native void newTQCheckListItem(TQListView parent, TQListViewItem after, String text, int arg4); - public TQCheckListItem(TQListView parent, TQListViewItem after, String text) { - super((Class) null); - newTQCheckListItem(parent,after,text); - } - private native void newTQCheckListItem(TQListView parent, TQListViewItem after, String text); - public TQCheckListItem(TQListViewItem parent, String text, TQPixmap arg3) { - super((Class) null); - newTQCheckListItem(parent,text,arg3); - } - private native void newTQCheckListItem(TQListViewItem parent, String text, TQPixmap arg3); - public TQCheckListItem(TQListView parent, String text, TQPixmap arg3) { - super((Class) null); - newTQCheckListItem(parent,text,arg3); - } - private native void newTQCheckListItem(TQListView parent, String text, TQPixmap arg3); - public native void paintCell(TQPainter arg1, TQColorGroup cg, int column, int width, int alignment); - public native void paintFocus(TQPainter arg1, TQColorGroup cg, TQRect r); - public native int width(TQFontMetrics arg1, TQListView arg2, int column); - public native void setup(); - public native void setOn(boolean arg1); - public native boolean isOn(); - public native int type(); - public native String text(); - public native String text(int n); - public native void setTristate(boolean arg1); - public native boolean isTristate(); - public native int state(); - public native void setState(int s); - public native int rtti(); - protected native void activate(); - protected native void turnOffChild(); - protected native void stateChange(boolean 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/qtjava/javalib/org/kde/qt/QCheckTableItem.java b/qtjava/javalib/org/kde/qt/QCheckTableItem.java deleted file mode 100644 index 098dbb0b..00000000 --- a/qtjava/javalib/org/kde/qt/QCheckTableItem.java +++ /dev/null @@ -1,27 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQCheckTableItem extends TQTableItem { - protected TQCheckTableItem(Class dummy){super((Class) null);} - public TQCheckTableItem(TQTable table, String txt) { - super((Class) null); - newTQCheckTableItem(table,txt); - } - private native void newTQCheckTableItem(TQTable table, String txt); - public native void setText(String t); - public native TQWidget createEditor(); - public native void setContentFromEditor(TQWidget w); - public native void paint(TQPainter p, TQColorGroup cg, TQRect cr, boolean selected); - public native void setChecked(boolean b); - public native boolean isChecked(); - public native int rtti(); - public native TQSize sizeHint(); - /** 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/qtjava/javalib/org/kde/qt/QChildEvent.java b/qtjava/javalib/org/kde/qt/QChildEvent.java deleted file mode 100644 index c143594a..00000000 --- a/qtjava/javalib/org/kde/qt/QChildEvent.java +++ /dev/null @@ -1,22 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQChildEvent extends TQEvent { - protected TQChildEvent(Class dummy){super((Class) null);} - public TQChildEvent(int type, TQObject child) { - super((Class) null); - newTQChildEvent(type,child); - } - private native void newTQChildEvent(int type, TQObject child); - public native TQObject child(); - public native boolean inserted(); - public native boolean removed(); - /** 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/qtjava/javalib/org/kde/qt/QClassInfo.java b/qtjava/javalib/org/kde/qt/QClassInfo.java deleted file mode 100644 index 59e32689..00000000 --- a/qtjava/javalib/org/kde/qt/QClassInfo.java +++ /dev/null @@ -1,21 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQClassInfo implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQClassInfo(Class dummy){} - - public TQClassInfo() { - newTQClassInfo(); - } - private native void newTQClassInfo(); - /** 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/qtjava/javalib/org/kde/qt/QClipboard.java b/qtjava/javalib/org/kde/qt/QClipboard.java deleted file mode 100644 index 80f05a12..00000000 --- a/qtjava/javalib/org/kde/qt/QClipboard.java +++ /dev/null @@ -1,40 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQClipboard extends TQObject { - protected TQClipboard(Class dummy){super((Class) null);} - public static final int Clipboard = 0; - public static final int Selection = 1; - - public native TQMetaObject metaObject(); - public native String className(); - public native void clear(int mode); - public native void clear(); - public native boolean supportsSelection(); - public native boolean ownsSelection(); - public native boolean ownsClipboard(); - public native void setSelectionMode(boolean enable); - public native boolean selectionModeEnabled(); - public native String text(int mode); - public native String text(StringBuffer subtype, int mode); - public native void setText(String arg1, int mode); - public native TQMimeSourceInterface data(int mode); - public native void setData(TQMimeSourceInterface arg1, int mode); - public native TQImage image(int mode); - public native TQPixmap pixmap(int mode); - public native void setImage(TQImage arg1, int mode); - public native void setPixmap(TQPixmap arg1, int mode); - public native String text(); - public native String text(StringBuffer subtype); - public native void setText(String arg1); - public native TQMimeSourceInterface data(); - public native void setData(TQMimeSourceInterface arg1); - public native TQImage image(); - public native TQPixmap pixmap(); - public native void setImage(TQImage arg1); - public native void setPixmap(TQPixmap arg1); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); -} diff --git a/qtjava/javalib/org/kde/qt/QCloseEvent.java b/qtjava/javalib/org/kde/qt/QCloseEvent.java deleted file mode 100644 index 84c4abf1..00000000 --- a/qtjava/javalib/org/kde/qt/QCloseEvent.java +++ /dev/null @@ -1,22 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQCloseEvent extends TQEvent { - protected TQCloseEvent(Class dummy){super((Class) null);} - public TQCloseEvent() { - super((Class) null); - newTQCloseEvent(); - } - private native void newTQCloseEvent(); - public native boolean isAccepted(); - public native void accept(); - public native void ignore(); - /** 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/qtjava/javalib/org/kde/qt/QColor.java b/qtjava/javalib/org/kde/qt/QColor.java deleted file mode 100644 index bc91c67a..00000000 --- a/qtjava/javalib/org/kde/qt/QColor.java +++ /dev/null @@ -1,84 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.ArrayList; - -public class TQColor implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQColor(Class dummy){} - - public static final int Dirt = 0x44495254; - public static final int Invalid = 0x49000000; - - public static final int Rgb = 0; - public static final int Hsv = 1; - - public TQColor() { - newTQColor(); - } - private native void newTQColor(); - public TQColor(int r, int g, int b) { - newTQColor(r,g,b); - } - private native void newTQColor(int r, int g, int b); - public TQColor(int x, int y, int z, int arg4) { - newTQColor(x,y,z,arg4); - } - private native void newTQColor(int x, int y, int z, int arg4); - public TQColor(int rgb, int pixel) { - newTQColor(rgb,pixel); - } - private native void newTQColor(int rgb, int pixel); - public TQColor(int rgb) { - newTQColor(rgb); - } - private native void newTQColor(int rgb); - public TQColor(String name) { - newTQColor(name); - } - private native void newTQColor(String name); - public TQColor(TQColor arg1) { - newTQColor(arg1); - } - private native void newTQColor(TQColor arg1); - public native boolean isValid(); - public native boolean isDirty(); - public native String name(); - public native void setNamedColor(String name); - public native int rgb(); - public native void setRgb(int r, int g, int b); - public native void setRgb(int rgb); - public native void getRgb(int[] r, int[] g, int[] b); - public native void rgb(int[] r, int[] g, int[] b); - public native int red(); - public native int green(); - public native int blue(); - public native void setHsv(int h, int s, int v); - public native void getHsv(int[] h, int[] s, int[] v); - public native void hsv(int[] h, int[] s, int[] v); - public native TQColor light(int f); - public native TQColor light(); - public native TQColor dark(int f); - public native TQColor dark(); - public native boolean op_equals(TQColor c); - public native boolean op_not_equals(TQColor c); - public native int alloc(); - public native int pixel(); - public static native int maxColors(); - public static native int numBitPlanes(); - public static native int enterAllocContext(); - public static native void leaveAllocContext(); - public static native int currentAllocContext(); - public static native void destroyAllocContext(int arg1); - public static native void initialize(); - public static native void cleanup(); - public static native ArrayList colorNames(); - /** 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/qtjava/javalib/org/kde/qt/QColorDialog.java b/qtjava/javalib/org/kde/qt/QColorDialog.java deleted file mode 100644 index e18d4ac9..00000000 --- a/qtjava/javalib/org/kde/qt/QColorDialog.java +++ /dev/null @@ -1,24 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQColorDialog extends TQDialog { - protected TQColorDialog(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - public static native TQColor getColor(TQColor init, TQWidget parent, String name); - public static native TQColor getColor(TQColor init, TQWidget parent); - public static native TQColor getColor(TQColor init); - public static native TQColor getColor(); - public static native int getRgba(int arg1, boolean[] ok, TQWidget parent, String name); - public static native int getRgba(int arg1, boolean[] ok, TQWidget parent); - public static native int getRgba(int arg1, boolean[] ok); - public static native int getRgba(int arg1); - public static native int customCount(); - public static native int customColor(int arg1); - public static native void setCustomColor(int arg1, int arg2); - public static native void setStandardColor(int arg1, int arg2); -} diff --git a/qtjava/javalib/org/kde/qt/QColorDrag.java b/qtjava/javalib/org/kde/qt/QColorDrag.java deleted file mode 100644 index 2e59be2b..00000000 --- a/qtjava/javalib/org/kde/qt/QColorDrag.java +++ /dev/null @@ -1,51 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQColorDrag extends TQStoredDrag { - protected TQColorDrag(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQColorDrag(TQColor col, TQWidget dragsource, String name) { - super((Class) null); - newTQColorDrag(col,dragsource,name); - } - private native void newTQColorDrag(TQColor col, TQWidget dragsource, String name); - public TQColorDrag(TQColor col, TQWidget dragsource) { - super((Class) null); - newTQColorDrag(col,dragsource); - } - private native void newTQColorDrag(TQColor col, TQWidget dragsource); - public TQColorDrag(TQColor col) { - super((Class) null); - newTQColorDrag(col); - } - private native void newTQColorDrag(TQColor col); - public TQColorDrag(TQWidget dragSource, String name) { - super((Class) null); - newTQColorDrag(dragSource,name); - } - private native void newTQColorDrag(TQWidget dragSource, String name); - public TQColorDrag(TQWidget dragSource) { - super((Class) null); - newTQColorDrag(dragSource); - } - private native void newTQColorDrag(TQWidget dragSource); - public TQColorDrag() { - super((Class) null); - newTQColorDrag(); - } - private native void newTQColorDrag(); - public native void setColor(TQColor col); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - public static native boolean canDecode(TQMimeSourceInterface arg1); - public static native boolean decode(TQMimeSourceInterface arg1, 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/qtjava/javalib/org/kde/qt/QColorGroup.java b/qtjava/javalib/org/kde/qt/QColorGroup.java deleted file mode 100644 index 47257fc6..00000000 --- a/qtjava/javalib/org/kde/qt/QColorGroup.java +++ /dev/null @@ -1,73 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQColorGroup implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQColorGroup(Class dummy){} - - public static final int Foreground = 0; - public static final int Button = 1; - public static final int Light = 2; - public static final int Midlight = 3; - public static final int Dark = 4; - public static final int Mid = 5; - public static final int Text = 6; - public static final int BrightText = 7; - public static final int ButtonText = 8; - public static final int Base = 9; - public static final int Background = 10; - public static final int Shadow = 11; - public static final int Highlight = 12; - public static final int HighlightedText = 13; - public static final int Link = 14; - public static final int LinkVisited = 15; - public static final int NColorRoles = 16; - - public TQColorGroup() { - newTQColorGroup(); - } - private native void newTQColorGroup(); - public TQColorGroup(TQColor foreground, TQColor button, TQColor light, TQColor dark, TQColor mid, TQColor text, TQColor base) { - newTQColorGroup(foreground,button,light,dark,mid,text,base); - } - private native void newTQColorGroup(TQColor foreground, TQColor button, TQColor light, TQColor dark, TQColor mid, TQColor text, TQColor base); - public TQColorGroup(TQBrush foreground, TQBrush button, TQBrush light, TQBrush dark, TQBrush mid, TQBrush text, TQBrush bright_text, TQBrush base, TQBrush background) { - newTQColorGroup(foreground,button,light,dark,mid,text,bright_text,base,background); - } - private native void newTQColorGroup(TQBrush foreground, TQBrush button, TQBrush light, TQBrush dark, TQBrush mid, TQBrush text, TQBrush bright_text, TQBrush base, TQBrush background); - public TQColorGroup(TQColorGroup arg1) { - newTQColorGroup(arg1); - } - private native void newTQColorGroup(TQColorGroup arg1); - public native TQColor color(int arg1); - public native TQBrush brush(int arg1); - public native void setColor(int arg1, TQColor arg2); - public native void setBrush(int arg1, TQBrush arg2); - public native TQColor foreground(); - public native TQColor button(); - public native TQColor light(); - public native TQColor dark(); - public native TQColor mid(); - public native TQColor text(); - public native TQColor base(); - public native TQColor background(); - public native TQColor midlight(); - public native TQColor brightText(); - public native TQColor buttonText(); - public native TQColor shadow(); - public native TQColor highlight(); - public native TQColor highlightedText(); - public native TQColor link(); - public native TQColor linkVisited(); - public native boolean op_equals(TQColorGroup g); - public native boolean op_not_equals(TQColorGroup g); - /** 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/qtjava/javalib/org/kde/qt/QComboBox.java b/qtjava/javalib/org/kde/qt/QComboBox.java deleted file mode 100644 index 8055993d..00000000 --- a/qtjava/javalib/org/kde/qt/QComboBox.java +++ /dev/null @@ -1,123 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQComboBoxSignals} for signals emitted by TQComboBox -*/ -public class TQComboBox extends TQWidget { - protected TQComboBox(Class dummy){super((Class) null);} - public static final int NoInsertion = 0; - public static final int AtTop = 1; - public static final int AtCurrent = 2; - public static final int AtBottom = 3; - public static final int AfterCurrent = 4; - public static final int BeforeCurrent = 5; - - public native TQMetaObject metaObject(); - public native String className(); - public TQComboBox(TQWidget parent, String name) { - super((Class) null); - newTQComboBox(parent,name); - } - private native void newTQComboBox(TQWidget parent, String name); - public TQComboBox(TQWidget parent) { - super((Class) null); - newTQComboBox(parent); - } - private native void newTQComboBox(TQWidget parent); - public TQComboBox() { - super((Class) null); - newTQComboBox(); - } - private native void newTQComboBox(); - public TQComboBox(boolean rw, TQWidget parent, String name) { - super((Class) null); - newTQComboBox(rw,parent,name); - } - private native void newTQComboBox(boolean rw, TQWidget parent, String name); - public TQComboBox(boolean rw, TQWidget parent) { - super((Class) null); - newTQComboBox(rw,parent); - } - private native void newTQComboBox(boolean rw, TQWidget parent); - public TQComboBox(boolean rw) { - super((Class) null); - newTQComboBox(rw); - } - private native void newTQComboBox(boolean rw); - public native int count(); - public native void insertStringList(String[] arg1, int index); - public native void insertStringList(String[] arg1); - public native void insertStrList(String[] arg1, int index); - public native void insertStrList(String[] arg1); - public native void insertStrList(String[] arg1, int numStrings, int index); - public native void insertItem(String text, int index); - public native void insertItem(String text); - public native void insertItem(TQPixmap pixmap, int index); - public native void insertItem(TQPixmap pixmap); - public native void insertItem(TQPixmap pixmap, String text, int index); - public native void insertItem(TQPixmap pixmap, String text); - public native void removeItem(int index); - public native int currentItem(); - public native void setCurrentItem(int index); - public native String currentText(); - public native void setCurrentText(String arg1); - public native String text(int index); - public native TQPixmap pixmap(int index); - public native void changeItem(String text, int index); - public native void changeItem(TQPixmap pixmap, int index); - public native void changeItem(TQPixmap pixmap, String text, int index); - public native boolean autoResize(); - public native void setAutoResize(boolean arg1); - public native TQSize sizeHint(); - public native void setPalette(TQPalette arg1); - public native void setFont(TQFont arg1); - public native void setEnabled(boolean arg1); - public native void setSizeLimit(int arg1); - public native int sizeLimit(); - public native void setMaxCount(int arg1); - public native int maxCount(); - public native void setInsertionPolicy(int policy); - public native int insertionPolicy(); - public native void setValidator(TQValidator arg1); - public native TQValidator validator(); - public native void setListBox(TQListBox arg1); - public native TQListBox listBox(); - public native void setLineEdit(TQLineEdit edit); - public native TQLineEdit lineEdit(); - public native void setAutoCompletion(boolean arg1); - public native boolean autoCompletion(); - public native boolean eventFilter(TQObject object, TQEvent event); - public native void setDuplicatesEnabled(boolean enable); - public native boolean duplicatesEnabled(); - public native boolean editable(); - public native void setEditable(boolean arg1); - public native void popup(); - public native void hide(); - public native void clear(); - public native void clearValidator(); - public native void clearEdit(); - public native void setEditText(String arg1); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void paintEvent(TQPaintEvent arg1); - protected native void resizeEvent(TQResizeEvent arg1); - protected native void mousePressEvent(TQMouseEvent arg1); - protected native void mouseMoveEvent(TQMouseEvent arg1); - protected native void mouseReleaseEvent(TQMouseEvent arg1); - protected native void mouseDoubleClickEvent(TQMouseEvent arg1); - protected native void keyPressEvent(TQKeyEvent e); - protected native void focusInEvent(TQFocusEvent e); - protected native void focusOutEvent(TQFocusEvent e); - protected native void wheelEvent(TQWheelEvent e); - public native void styleChange(TQStyle arg1); - protected native void updateMask(); - /** 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/qtjava/javalib/org/kde/qt/QComboBoxSignals.java b/qtjava/javalib/org/kde/qt/QComboBoxSignals.java deleted file mode 100644 index d0e8663f..00000000 --- a/qtjava/javalib/org/kde/qt/QComboBoxSignals.java +++ /dev/null @@ -1,11 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQComboBoxSignals { - void activated(int index); - void highlighted(int index); - void activated(String arg1); - void highlighted(String arg1); - void textChanged(String arg1); -} diff --git a/qtjava/javalib/org/kde/qt/QComboTableItem.java b/qtjava/javalib/org/kde/qt/QComboTableItem.java deleted file mode 100644 index 393d4323..00000000 --- a/qtjava/javalib/org/kde/qt/QComboTableItem.java +++ /dev/null @@ -1,38 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQComboTableItem extends TQTableItem { - protected TQComboTableItem(Class dummy){super((Class) null);} - public TQComboTableItem(TQTable table, String[] list, boolean editable) { - super((Class) null); - newTQComboTableItem(table,list,editable); - } - private native void newTQComboTableItem(TQTable table, String[] list, boolean editable); - public TQComboTableItem(TQTable table, String[] list) { - super((Class) null); - newTQComboTableItem(table,list); - } - private native void newTQComboTableItem(TQTable table, String[] list); - public native TQWidget createEditor(); - public native void setContentFromEditor(TQWidget w); - public native void paint(TQPainter p, TQColorGroup cg, TQRect cr, boolean selected); - public native void setCurrentItem(int i); - public native void setCurrentItem(String i); - public native int currentItem(); - public native String currentText(); - public native int count(); - public native String text(int i); - public native void setEditable(boolean b); - public native boolean isEditable(); - public native void setStringList(String[] l); - public native int rtti(); - public native TQSize sizeHint(); - /** 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/qtjava/javalib/org/kde/qt/QContextMenuEvent.java b/qtjava/javalib/org/kde/qt/QContextMenuEvent.java deleted file mode 100644 index 27dbce0f..00000000 --- a/qtjava/javalib/org/kde/qt/QContextMenuEvent.java +++ /dev/null @@ -1,41 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQContextMenuEvent extends TQEvent { - protected TQContextMenuEvent(Class dummy){super((Class) null);} - public static final int Mouse = 0; - public static final int Keyboard = 1; - public static final int Other = 2; - - public TQContextMenuEvent(int reason, TQPoint pos, TQPoint globalPos, int state) { - super((Class) null); - newTQContextMenuEvent(reason,pos,globalPos,state); - } - private native void newTQContextMenuEvent(int reason, TQPoint pos, TQPoint globalPos, int state); - public TQContextMenuEvent(int reason, TQPoint pos, int state) { - super((Class) null); - newTQContextMenuEvent(reason,pos,state); - } - private native void newTQContextMenuEvent(int reason, TQPoint pos, int state); - public native int x(); - public native int y(); - public native int globalX(); - public native int globalY(); - public native TQPoint pos(); - public native TQPoint globalPos(); - public native int state(); - public native boolean isAccepted(); - public native boolean isConsumed(); - public native void consume(); - public native void accept(); - public native void ignore(); - public native int reason(); - /** 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/qtjava/javalib/org/kde/qt/QCursor.java b/qtjava/javalib/org/kde/qt/QCursor.java deleted file mode 100644 index 02575205..00000000 --- a/qtjava/javalib/org/kde/qt/QCursor.java +++ /dev/null @@ -1,69 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQCursor extends Qt { - protected TQCursor(Class dummy){super((Class) null);} - public TQCursor() { - super((Class) null); - newTQCursor(); - } - private native void newTQCursor(); - public TQCursor(int shape) { - super((Class) null); - newTQCursor(shape); - } - private native void newTQCursor(int shape); - public TQCursor(TQBitmap bitmap, TQBitmap mask, int hotX, int hotY) { - super((Class) null); - newTQCursor(bitmap,mask,hotX,hotY); - } - private native void newTQCursor(TQBitmap bitmap, TQBitmap mask, int hotX, int hotY); - public TQCursor(TQBitmap bitmap, TQBitmap mask, int hotX) { - super((Class) null); - newTQCursor(bitmap,mask,hotX); - } - private native void newTQCursor(TQBitmap bitmap, TQBitmap mask, int hotX); - public TQCursor(TQBitmap bitmap, TQBitmap mask) { - super((Class) null); - newTQCursor(bitmap,mask); - } - private native void newTQCursor(TQBitmap bitmap, TQBitmap mask); - public TQCursor(TQPixmap pixmap, int hotX, int hotY) { - super((Class) null); - newTQCursor(pixmap,hotX,hotY); - } - private native void newTQCursor(TQPixmap pixmap, int hotX, int hotY); - public TQCursor(TQPixmap pixmap, int hotX) { - super((Class) null); - newTQCursor(pixmap,hotX); - } - private native void newTQCursor(TQPixmap pixmap, int hotX); - public TQCursor(TQPixmap pixmap) { - super((Class) null); - newTQCursor(pixmap); - } - private native void newTQCursor(TQPixmap pixmap); - public TQCursor(TQCursor arg1) { - super((Class) null); - newTQCursor(arg1); - } - private native void newTQCursor(TQCursor arg1); - public native int shape(); - public native void setShape(int arg1); - public native TQBitmap bitmap(); - public native TQBitmap mask(); - public native TQPoint hotSpot(); - public static native TQPoint pos(); - public static native void setPos(int x, int y); - public static native void setPos(TQPoint arg1); - public static native void initialize(); - public static native void cleanup(); - /** 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/qtjava/javalib/org/kde/qt/QCustomEvent.java b/qtjava/javalib/org/kde/qt/QCustomEvent.java deleted file mode 100644 index 76e8a743..00000000 --- a/qtjava/javalib/org/kde/qt/QCustomEvent.java +++ /dev/null @@ -1,22 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQCustomEvent extends TQEvent { - protected TQCustomEvent(Class dummy){super((Class) null);} - public TQCustomEvent(int type) { - super((Class) null); - newTQCustomEvent(type); - } - private native void newTQCustomEvent(int type); - // TQCustomEvent* TQCustomEvent(TQEvent::Type arg1,void* arg2); >>>> NOT CONVERTED - // void* data(); >>>> NOT CONVERTED - // void setData(void* arg1); >>>> 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/qtjava/javalib/org/kde/qt/QCustomMenuItem.java b/qtjava/javalib/org/kde/qt/QCustomMenuItem.java deleted file mode 100644 index 4a792f1b..00000000 --- a/qtjava/javalib/org/kde/qt/QCustomMenuItem.java +++ /dev/null @@ -1,13 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQCustomMenuItem extends Qt { - protected TQCustomMenuItem(Class dummy){super((Class) null);} - public native boolean fullSpan(); - public native boolean isSeparator(); - public native void setFont(TQFont font); - public native void paint(TQPainter p, TQColorGroup cg, boolean act, boolean enabled, int x, int y, int w, int h); - public native TQSize sizeHint(); -} diff --git a/qtjava/javalib/org/kde/qt/QDataBrowser.java b/qtjava/javalib/org/kde/qt/QDataBrowser.java deleted file mode 100644 index 2aac2525..00000000 --- a/qtjava/javalib/org/kde/qt/QDataBrowser.java +++ /dev/null @@ -1,97 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.ArrayList; - -/** - See {@link TQDataBrowserSignals} for signals emitted by TQDataBrowser -*/ -public class TQDataBrowser extends TQWidget { - protected TQDataBrowser(Class dummy){super((Class) null);} - public static final int Unknown = 0; - public static final int None = 1; - public static final int BeforeBeginning = 2; - public static final int Beginning = 3; - public static final int End = 4; - public static final int AfterEnd = 5; - - public native TQMetaObject metaObject(); - public native String className(); - public TQDataBrowser(TQWidget parent, String name, int fl) { - super((Class) null); - newTQDataBrowser(parent,name,fl); - } - private native void newTQDataBrowser(TQWidget parent, String name, int fl); - public TQDataBrowser(TQWidget parent, String name) { - super((Class) null); - newTQDataBrowser(parent,name); - } - private native void newTQDataBrowser(TQWidget parent, String name); - public TQDataBrowser(TQWidget parent) { - super((Class) null); - newTQDataBrowser(parent); - } - private native void newTQDataBrowser(TQWidget parent); - public TQDataBrowser() { - super((Class) null); - newTQDataBrowser(); - } - private native void newTQDataBrowser(); - public native int boundary(); - public native void setBoundaryChecking(boolean active); - public native boolean boundaryChecking(); - public native void setSort(TQSqlIndex sort); - public native void setSort(String[] sort); - public native ArrayList sort(); - public native void setFilter(String filter); - public native String filter(); - public native void setSqlCursor(TQSqlCursor cursor, boolean autoDelete); - public native void setSqlCursor(TQSqlCursor cursor); - public native TQSqlCursor sqlCursor(); - public native void setForm(TQSqlForm form); - public native TQSqlForm form(); - public native void setConfirmEdits(boolean confirm); - public native void setConfirmInsert(boolean confirm); - public native void setConfirmUpdate(boolean confirm); - public native void setConfirmDelete(boolean confirm); - public native void setConfirmCancels(boolean confirm); - public native boolean confirmEdits(); - public native boolean confirmInsert(); - public native boolean confirmUpdate(); - public native boolean confirmDelete(); - public native boolean confirmCancels(); - public native void setReadOnly(boolean active); - public native boolean isReadOnly(); - public native void setAutoEdit(boolean autoEdit); - public native boolean autoEdit(); - public native boolean seek(int i, boolean relative); - public native boolean seek(int i); - public native void refresh(); - public native void insert(); - public native void update(); - public native void del(); - public native void first(); - public native void last(); - public native void next(); - public native void prev(); - public native void readFields(); - public native void writeFields(); - public native void clearValues(); - public native void updateBoundary(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native boolean insertCurrent(); - protected native boolean updateCurrent(); - protected native boolean deleteCurrent(); - protected native boolean currentEdited(); - protected native int confirmEdit(int m); - protected native int confirmCancel(int m); - protected native void handleError(TQSqlError error); - /** 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/qtjava/javalib/org/kde/qt/QDataBrowserSignals.java b/qtjava/javalib/org/kde/qt/QDataBrowserSignals.java deleted file mode 100644 index b22b6263..00000000 --- a/qtjava/javalib/org/kde/qt/QDataBrowserSignals.java +++ /dev/null @@ -1,19 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import java.util.ArrayList; - -public interface TQDataBrowserSignals { - void firstRecordAvailable(boolean available); - void lastRecordAvailable(boolean available); - void nextRecordAvailable(boolean available); - void prevRecordAvailable(boolean available); - void currentChanged(TQSqlRecord record); - void primeInsert(TQSqlRecord buf); - void primeUpdate(TQSqlRecord buf); - void primeDelete(TQSqlRecord buf); - void beforeInsert(TQSqlRecord buf); - void beforeUpdate(TQSqlRecord buf); - void beforeDelete(TQSqlRecord buf); - void cursorChanged(int mode); -} diff --git a/qtjava/javalib/org/kde/qt/QDataPump.java b/qtjava/javalib/org/kde/qt/QDataPump.java deleted file mode 100644 index 533a71b3..00000000 --- a/qtjava/javalib/org/kde/qt/QDataPump.java +++ /dev/null @@ -1,23 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQDataPump extends TQObject { - protected TQDataPump(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQDataPump(TQDataSource arg1, TQDataSink arg2) { - super((Class) null); - newTQDataPump(arg1,arg2); - } - private native void newTQDataPump(TQDataSource arg1, TQDataSink arg2); - public static native String tr(String arg1, String arg2); - public static native String tr(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/qtjava/javalib/org/kde/qt/QDataSink.java b/qtjava/javalib/org/kde/qt/QDataSink.java deleted file mode 100644 index b98297b2..00000000 --- a/qtjava/javalib/org/kde/qt/QDataSink.java +++ /dev/null @@ -1,12 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQDataSink extends TQAsyncIO { - protected TQDataSink(Class dummy){super((Class) null);} - public native int readyToReceive(); - public native void receive(char[] arg1, int count); - public native void eof(); - public native void maybeReady(); -} diff --git a/qtjava/javalib/org/kde/qt/QDataSource.java b/qtjava/javalib/org/kde/qt/QDataSource.java deleted file mode 100644 index 02c74933..00000000 --- a/qtjava/javalib/org/kde/qt/QDataSource.java +++ /dev/null @@ -1,14 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQDataSource extends TQAsyncIO { - protected TQDataSource(Class dummy){super((Class) null);} - public native int readyToSend(); - public native void sendTo(TQDataSink arg1, int count); - public native void maybeReady(); - public native boolean rewindable(); - public native void enableRewind(boolean arg1); - public native void rewind(); -} diff --git a/qtjava/javalib/org/kde/qt/QDataStream.java b/qtjava/javalib/org/kde/qt/QDataStream.java deleted file mode 100644 index e171c3e9..00000000 --- a/qtjava/javalib/org/kde/qt/QDataStream.java +++ /dev/null @@ -1,63 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQDataStream implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQDataStream(Class dummy){} - - public static final int BigEndian = 0; - public static final int LittleEndian = 1; - - public TQDataStream() { - newTQDataStream(); - } - private native void newTQDataStream(); - public TQDataStream(TQIODeviceInterface arg1) { - newTQDataStream(arg1); - } - private native void newTQDataStream(TQIODeviceInterface arg1); - public TQDataStream(byte[] arg1, int mode) { - newTQDataStream(arg1,mode); - } - private native void newTQDataStream(byte[] arg1, int mode); - public native TQIODeviceInterface device(); - public native void setDevice(TQIODeviceInterface arg1); - public native void unsetDevice(); - public native boolean atEnd(); - public native boolean eof(); - public native int byteOrder(); - public native void setByteOrder(int arg1); - public native boolean isPrintableData(); - public native void setPrintableData(boolean arg1); - public native int version(); - public native void setVersion(int arg1); - public native TQDataStream op_read(char i); - public native TQDataStream op_read(short i); - public native TQDataStream op_read(int i); - // TQDataStream& op_read(Q_INT64& arg1); >>>> NOT CONVERTED - // TQDataStream& op_read(Q_UINT64& arg1); >>>> NOT CONVERTED - public native TQDataStream op_read(long i); - public native TQDataStream op_read(float f); - public native TQDataStream op_read(double f); - public native TQDataStream op_read(String str); - public native TQDataStream op_write(char i); - public native TQDataStream op_write(short i); - public native TQDataStream op_write(int i); - public native TQDataStream op_write(long i); - public native TQDataStream op_write(float f); - public native TQDataStream op_write(double f); - public native TQDataStream op_write(String str); - public native TQDataStream readBytes(String arg1, int len); - public native TQDataStream readRawBytes(String arg1, int len); - public native TQDataStream writeBytes(String arg1, int len); - public native TQDataStream writeRawBytes(String arg1, int len); - /** 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/qtjava/javalib/org/kde/qt/QDataTable.java b/qtjava/javalib/org/kde/qt/QDataTable.java deleted file mode 100644 index 70e90726..00000000 --- a/qtjava/javalib/org/kde/qt/QDataTable.java +++ /dev/null @@ -1,159 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.ArrayList; - -/** - See {@link TQDataTableSignals} for signals emitted by TQDataTable -*/ -public class TQDataTable extends TQTable { - protected TQDataTable(Class dummy){super((Class) null);} - public static final int RefreshData = 1; - public static final int RefreshColumns = 2; - public static final int RefreshAll = 3; - - public native TQMetaObject metaObject(); - public native String className(); - public TQDataTable(TQWidget parent, String name) { - super((Class) null); - newTQDataTable(parent,name); - } - private native void newTQDataTable(TQWidget parent, String name); - public TQDataTable(TQWidget parent) { - super((Class) null); - newTQDataTable(parent); - } - private native void newTQDataTable(TQWidget parent); - public TQDataTable() { - super((Class) null); - newTQDataTable(); - } - private native void newTQDataTable(); - public TQDataTable(TQSqlCursor cursor, boolean autoPopulate, TQWidget parent, String name) { - super((Class) null); - newTQDataTable(cursor,autoPopulate,parent,name); - } - private native void newTQDataTable(TQSqlCursor cursor, boolean autoPopulate, TQWidget parent, String name); - public TQDataTable(TQSqlCursor cursor, boolean autoPopulate, TQWidget parent) { - super((Class) null); - newTQDataTable(cursor,autoPopulate,parent); - } - private native void newTQDataTable(TQSqlCursor cursor, boolean autoPopulate, TQWidget parent); - public TQDataTable(TQSqlCursor cursor, boolean autoPopulate) { - super((Class) null); - newTQDataTable(cursor,autoPopulate); - } - private native void newTQDataTable(TQSqlCursor cursor, boolean autoPopulate); - public TQDataTable(TQSqlCursor cursor) { - super((Class) null); - newTQDataTable(cursor); - } - private native void newTQDataTable(TQSqlCursor cursor); - public native void addColumn(String fieldName, String label, int width, TQIconSet iconset); - public native void addColumn(String fieldName, String label, int width); - public native void addColumn(String fieldName, String label); - public native void addColumn(String fieldName); - public native void removeColumn(int col); - public native void setColumn(int col, String fieldName, String label, int width, TQIconSet iconset); - public native void setColumn(int col, String fieldName, String label, int width); - public native void setColumn(int col, String fieldName, String label); - public native void setColumn(int col, String fieldName); - public native String nullText(); - public native String trueText(); - public native String falseText(); - public native int dateFormat(); - public native boolean confirmEdits(); - public native boolean confirmInsert(); - public native boolean confirmUpdate(); - public native boolean confirmDelete(); - public native boolean confirmCancels(); - public native boolean autoDelete(); - public native boolean autoEdit(); - public native String filter(); - public native ArrayList sort(); - public native void setSqlCursor(TQSqlCursor cursor, boolean autoPopulate, boolean autoDelete); - public native void setSqlCursor(TQSqlCursor cursor, boolean autoPopulate); - public native void setSqlCursor(TQSqlCursor cursor); - public native void setSqlCursor(); - public native TQSqlCursor sqlCursor(); - public native void setNullText(String nullText); - public native void setTrueText(String trueText); - public native void setFalseText(String falseText); - public native void setDateFormat(int f); - public native void setConfirmEdits(boolean confirm); - public native void setConfirmInsert(boolean confirm); - public native void setConfirmUpdate(boolean confirm); - public native void setConfirmDelete(boolean confirm); - public native void setConfirmCancels(boolean confirm); - public native void setAutoDelete(boolean enable); - public native void setAutoEdit(boolean autoEdit); - public native void setFilter(String filter); - public native void setSort(String[] sort); - public native void setSort(TQSqlIndex sort); - public native void refresh(int mode); - public native void sortColumn(int col, boolean ascending, boolean wholeRows); - public native void sortColumn(int col, boolean ascending); - public native void sortColumn(int col); - public native String text(int row, int col); - public native TQVariant value(int row, int col); - public native TQSqlRecord currentRecord(); - public native void installEditorFactory(TQSqlEditorFactory f); - public native void installPropertyMap(TQSqlPropertyMap m); - public native int numCols(); - public native int numRows(); - public native void setNumCols(int c); - public native void setNumRows(int r); - public native boolean findBuffer(TQSqlIndex idx, int atHint); - public native boolean findBuffer(TQSqlIndex idx); - public native void hideColumn(int col); - public native void showColumn(int col); - public native void find(String str, boolean caseSensitive, boolean backwards); - public native void sortAscending(int col); - public native void sortDescending(int col); - public native void refresh(); - public native void setColumnWidth(int col, int w); - public native void adjustColumn(int col); - public native void setColumnStretchable(int col, boolean stretch); - public native void swapColumns(int col1, int col2, boolean swapHeaders); - public native void swapColumns(int col1, int col2); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native boolean insertCurrent(); - protected native boolean updateCurrent(); - protected native boolean deleteCurrent(); - protected native int confirmEdit(int m); - protected native int confirmCancel(int m); - protected native void handleError(TQSqlError e); - protected native boolean beginInsert(); - protected native TQWidget beginUpdate(int row, int col, boolean replace); - public native boolean eventFilter(TQObject o, TQEvent e); - protected native void keyPressEvent(TQKeyEvent arg1); - protected native void resizeEvent(TQResizeEvent arg1); - protected native void contentsMousePressEvent(TQMouseEvent e); - protected native void contentsContextMenuEvent(TQContextMenuEvent e); - protected native void endEdit(int row, int col, boolean accept, boolean replace); - protected native TQWidget createEditor(int row, int col, boolean initFromCell); - protected native void activateNextCell(); - protected native int indexOf(int i); - protected native void reset(); - protected native void setSize(TQSqlCursor sql); - protected native void repaintCell(int row, int col); - public native void paintCell(TQPainter p, int row, int col, TQRect cr, boolean selected, TQColorGroup cg); - protected native void paintField(TQPainter p, TQSqlField field, TQRect cr, boolean selected); - protected native void drawContents(TQPainter p, int cx, int cy, int cw, int ch); - protected native int fieldAlignment(TQSqlField field); - protected native void columnClicked(int col); - protected native void resizeData(int len); - public native TQTableItem item(int row, int col); - public native void setItem(int row, int col, TQTableItem item); - public native void clearCell(int row, int col); - public native void setPixmap(int row, int col, TQPixmap pix); - public native void takeItem(TQTableItem i); - /** 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/qtjava/javalib/org/kde/qt/QDataTableSignals.java b/qtjava/javalib/org/kde/qt/QDataTableSignals.java deleted file mode 100644 index 82747661..00000000 --- a/qtjava/javalib/org/kde/qt/QDataTableSignals.java +++ /dev/null @@ -1,15 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import java.util.ArrayList; - -public interface TQDataTableSignals { - void currentChanged(TQSqlRecord record); - void primeInsert(TQSqlRecord buf); - void primeUpdate(TQSqlRecord buf); - void primeDelete(TQSqlRecord buf); - void beforeInsert(TQSqlRecord buf); - void beforeUpdate(TQSqlRecord buf); - void beforeDelete(TQSqlRecord buf); - void cursorChanged(int mode); -} diff --git a/qtjava/javalib/org/kde/qt/QDataView.java b/qtjava/javalib/org/kde/qt/QDataView.java deleted file mode 100644 index 39b1e200..00000000 --- a/qtjava/javalib/org/kde/qt/QDataView.java +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQDataView extends TQWidget { - protected TQDataView(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQDataView(TQWidget parent, String name, int fl) { - super((Class) null); - newTQDataView(parent,name,fl); - } - private native void newTQDataView(TQWidget parent, String name, int fl); - public TQDataView(TQWidget parent, String name) { - super((Class) null); - newTQDataView(parent,name); - } - private native void newTQDataView(TQWidget parent, String name); - public TQDataView(TQWidget parent) { - super((Class) null); - newTQDataView(parent); - } - private native void newTQDataView(TQWidget parent); - public TQDataView() { - super((Class) null); - newTQDataView(); - } - private native void newTQDataView(); - public native void setForm(TQSqlForm form); - public native TQSqlForm form(); - public native void setRecord(TQSqlRecord record); - public native TQSqlRecord record(); - public native void refresh(TQSqlRecord buf); - public native void readFields(); - public native void writeFields(); - public native void clearValues(); - public static native String tr(String arg1, String arg2); - public static native String tr(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/qtjava/javalib/org/kde/qt/QDateEdit.java b/qtjava/javalib/org/kde/qt/QDateEdit.java deleted file mode 100644 index 7847fdf6..00000000 --- a/qtjava/javalib/org/kde/qt/QDateEdit.java +++ /dev/null @@ -1,88 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.Calendar; - -/** - See {@link TQDateEditSignals} for signals emitted by TQDateEdit -*/ -public class TQDateEdit extends TQDateTimeEditBase { - protected TQDateEdit(Class dummy){super((Class) null);} - public static final int DMY = 0; - public static final int MDY = 1; - public static final int YMD = 2; - public static final int YDM = 3; - - public native TQMetaObject metaObject(); - public native String className(); - public TQDateEdit(TQWidget parent, String name) { - super((Class) null); - newTQDateEdit(parent,name); - } - private native void newTQDateEdit(TQWidget parent, String name); - public TQDateEdit(TQWidget parent) { - super((Class) null); - newTQDateEdit(parent); - } - private native void newTQDateEdit(TQWidget parent); - public TQDateEdit() { - super((Class) null); - newTQDateEdit(); - } - private native void newTQDateEdit(); - public TQDateEdit(Calendar date, TQWidget parent, String name) { - super((Class) null); - newTQDateEdit(date,parent,name); - } - private native void newTQDateEdit(Calendar date, TQWidget parent, String name); - public TQDateEdit(Calendar date, TQWidget parent) { - super((Class) null); - newTQDateEdit(date,parent); - } - private native void newTQDateEdit(Calendar date, TQWidget parent); - public TQDateEdit(Calendar date) { - super((Class) null); - newTQDateEdit(date); - } - private native void newTQDateEdit(Calendar date); - public native TQSize sizeHint(); - public native TQSize minimumSizeHint(); - public native Calendar date(); - public native void setOrder(int order); - public native int order(); - public native void setAutoAdvance(boolean advance); - public native boolean autoAdvance(); - public native void setMinValue(Calendar d); - public native Calendar minValue(); - public native void setMaxValue(Calendar d); - public native Calendar maxValue(); - public native void setRange(Calendar min, Calendar max); - public native String separator(); - public native void setSeparator(String s); - public native void removeFirstNumber(int sec); - public native void setDate(Calendar date); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - public native boolean event(TQEvent e); - protected native void timerEvent(TQTimerEvent arg1); - protected native void resizeEvent(TQResizeEvent arg1); - public native void stepUp(); - public native void stepDown(); - public native String sectionFormattedText(int sec); - public native void addNumber(int sec, int num); - public native void removeLastNumber(int sec); - public native boolean setFocusSection(int s); - protected native void setYear(int year); - protected native void setMonth(int month); - protected native void setDay(int day); - protected native void fix(); - protected native boolean outOfRange(int y, int m, int d); - protected native void updateButtons(); - /** 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/qtjava/javalib/org/kde/qt/QDateEditSignals.java b/qtjava/javalib/org/kde/qt/QDateEditSignals.java deleted file mode 100644 index aee437df..00000000 --- a/qtjava/javalib/org/kde/qt/QDateEditSignals.java +++ /dev/null @@ -1,8 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import java.util.Calendar; - -public interface TQDateEditSignals { - void valueChanged(Calendar date); -} diff --git a/qtjava/javalib/org/kde/qt/QDateTimeEdit.java b/qtjava/javalib/org/kde/qt/QDateTimeEdit.java deleted file mode 100644 index 01d88efe..00000000 --- a/qtjava/javalib/org/kde/qt/QDateTimeEdit.java +++ /dev/null @@ -1,65 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.Calendar; -import java.util.Date; - -/** - See {@link TQDateTimeEditSignals} for signals emitted by TQDateTimeEdit -*/ -public class TQDateTimeEdit extends TQWidget { - protected TQDateTimeEdit(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQDateTimeEdit(TQWidget parent, String name) { - super((Class) null); - newTQDateTimeEdit(parent,name); - } - private native void newTQDateTimeEdit(TQWidget parent, String name); - public TQDateTimeEdit(TQWidget parent) { - super((Class) null); - newTQDateTimeEdit(parent); - } - private native void newTQDateTimeEdit(TQWidget parent); - public TQDateTimeEdit() { - super((Class) null); - newTQDateTimeEdit(); - } - private native void newTQDateTimeEdit(); - public TQDateTimeEdit(Calendar datetime, TQWidget parent, String name) { - super((Class) null); - newTQDateTimeEdit(datetime,parent,name); - } - private native void newTQDateTimeEdit(Calendar datetime, TQWidget parent, String name); - public TQDateTimeEdit(Calendar datetime, TQWidget parent) { - super((Class) null); - newTQDateTimeEdit(datetime,parent); - } - private native void newTQDateTimeEdit(Calendar datetime, TQWidget parent); - public TQDateTimeEdit(Calendar datetime) { - super((Class) null); - newTQDateTimeEdit(datetime); - } - private native void newTQDateTimeEdit(Calendar datetime); - public native TQSize sizeHint(); - public native TQSize minimumSizeHint(); - public native Calendar dateTime(); - public native TQDateEdit dateEdit(); - public native TQTimeEdit timeEdit(); - public native void setAutoAdvance(boolean advance); - public native boolean autoAdvance(); - public native void setDateTime(Calendar dt); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void init(); - protected native void resizeEvent(TQResizeEvent arg1); - protected native void newValue(Calendar d); - protected native void newValue(Date t); - /** 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/qtjava/javalib/org/kde/qt/QDateTimeEditBase.java b/qtjava/javalib/org/kde/qt/QDateTimeEditBase.java deleted file mode 100644 index 7b43775e..00000000 --- a/qtjava/javalib/org/kde/qt/QDateTimeEditBase.java +++ /dev/null @@ -1,18 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQDateTimeEditBase extends TQWidget { - protected TQDateTimeEditBase(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public native boolean setFocusSection(int sec); - public native String sectionFormattedText(int sec); - public native void addNumber(int sec, int num); - public native void removeLastNumber(int sec); - public native void stepUp(); - public native void stepDown(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); -} diff --git a/qtjava/javalib/org/kde/qt/QDateTimeEditSignals.java b/qtjava/javalib/org/kde/qt/QDateTimeEditSignals.java deleted file mode 100644 index 214856ec..00000000 --- a/qtjava/javalib/org/kde/qt/QDateTimeEditSignals.java +++ /dev/null @@ -1,9 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import java.util.Calendar; -import java.util.Date; - -public interface TQDateTimeEditSignals { - void valueChanged(Calendar datetime); -} diff --git a/qtjava/javalib/org/kde/qt/QDesktopWidget.java b/qtjava/javalib/org/kde/qt/QDesktopWidget.java deleted file mode 100644 index a075b96d..00000000 --- a/qtjava/javalib/org/kde/qt/QDesktopWidget.java +++ /dev/null @@ -1,44 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQDesktopWidgetSignals} for signals emitted by TQDesktopWidget -*/ -public class TQDesktopWidget extends TQWidget { - protected TQDesktopWidget(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQDesktopWidget() { - super((Class) null); - newTQDesktopWidget(); - } - private native void newTQDesktopWidget(); - public native boolean isVirtualDesktop(); - public native int numScreens(); - public native int primaryScreen(); - public native int screenNumber(TQWidget widget); - public native int screenNumber(); - public native int screenNumber(TQPoint arg1); - public native TQWidget screen(int screen); - public native TQWidget screen(); - public native TQRect screenGeometry(int screen); - public native TQRect screenGeometry(); - public native TQRect screenGeometry(TQWidget widget); - public native TQRect screenGeometry(TQPoint point); - public native TQRect availableGeometry(int screen); - public native TQRect availableGeometry(); - public native TQRect availableGeometry(TQWidget widget); - public native TQRect availableGeometry(TQPoint point); - public native void insertChild(TQObject arg1); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void resizeEvent(TQResizeEvent 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/qtjava/javalib/org/kde/qt/QDesktopWidgetSignals.java b/qtjava/javalib/org/kde/qt/QDesktopWidgetSignals.java deleted file mode 100644 index 76870509..00000000 --- a/qtjava/javalib/org/kde/qt/QDesktopWidgetSignals.java +++ /dev/null @@ -1,8 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQDesktopWidgetSignals { - void resized(int arg1); - void workAreaResized(int arg1); -} diff --git a/qtjava/javalib/org/kde/qt/QDial.java b/qtjava/javalib/org/kde/qt/QDial.java deleted file mode 100644 index 04695963..00000000 --- a/qtjava/javalib/org/kde/qt/QDial.java +++ /dev/null @@ -1,102 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQDialSignals} for signals emitted by TQDial -*/ -public class TQDial extends TQWidget implements TQRangeControlInterface { - protected TQDial(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQDial(TQWidget parent, String name, int f) { - super((Class) null); - newTQDial(parent,name,f); - } - private native void newTQDial(TQWidget parent, String name, int f); - public TQDial(TQWidget parent, String name) { - super((Class) null); - newTQDial(parent,name); - } - private native void newTQDial(TQWidget parent, String name); - public TQDial(TQWidget parent) { - super((Class) null); - newTQDial(parent); - } - private native void newTQDial(TQWidget parent); - public TQDial() { - super((Class) null); - newTQDial(); - } - private native void newTQDial(); - public TQDial(int minValue, int maxValue, int pageStep, int value, TQWidget parent, String name) { - super((Class) null); - newTQDial(minValue,maxValue,pageStep,value,parent,name); - } - private native void newTQDial(int minValue, int maxValue, int pageStep, int value, TQWidget parent, String name); - public TQDial(int minValue, int maxValue, int pageStep, int value, TQWidget parent) { - super((Class) null); - newTQDial(minValue,maxValue,pageStep,value,parent); - } - private native void newTQDial(int minValue, int maxValue, int pageStep, int value, TQWidget parent); - public TQDial(int minValue, int maxValue, int pageStep, int value) { - super((Class) null); - newTQDial(minValue,maxValue,pageStep,value); - } - private native void newTQDial(int minValue, int maxValue, int pageStep, int value); - public native boolean tracking(); - public native boolean wrapping(); - public native int notchSize(); - public native void setNotchTarget(double arg1); - public native double notchTarget(); - public native boolean notchesVisible(); - public native TQSize sizeHint(); - public native TQSize minimumSizeHint(); - public native int minValue(); - public native int maxValue(); - public native void setMinValue(int arg1); - public native void setMaxValue(int arg1); - public native int lineStep(); - public native int pageStep(); - public native void setLineStep(int arg1); - public native void setPageStep(int arg1); - public native int value(); - public native void setValue(int arg1); - public native void addLine(); - public native void subtractLine(); - public native void addPage(); - public native void subtractPage(); - public native void setNotchesVisible(boolean b); - public native void setWrapping(boolean on); - public native void setTracking(boolean enable); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void resizeEvent(TQResizeEvent arg1); - protected native void paintEvent(TQPaintEvent arg1); - protected native void keyPressEvent(TQKeyEvent arg1); - protected native void mousePressEvent(TQMouseEvent arg1); - protected native void mouseReleaseEvent(TQMouseEvent arg1); - protected native void mouseMoveEvent(TQMouseEvent arg1); - protected native void wheelEvent(TQWheelEvent arg1); - protected native void focusInEvent(TQFocusEvent arg1); - protected native void focusOutEvent(TQFocusEvent arg1); - protected native void valueChange(); - protected native void rangeChange(); - protected native void repaintScreen(TQRect cr); - protected native void repaintScreen(); - /** 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(); - public native void setRange(int minValue, int maxValue); - public native void setSteps(int line, int page); - public native int bound(int arg1); - protected native int positionFromValue(int val, int space); - protected native int valueFromPosition(int pos, int space); - protected native void directSetValue(int val); - protected native int prevValue(); - protected native void stepChange(); -} diff --git a/qtjava/javalib/org/kde/qt/QDialSignals.java b/qtjava/javalib/org/kde/qt/QDialSignals.java deleted file mode 100644 index ef1a444b..00000000 --- a/qtjava/javalib/org/kde/qt/QDialSignals.java +++ /dev/null @@ -1,10 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQDialSignals { - void valueChanged(int value); - void dialPressed(); - void dialMoved(int value); - void dialReleased(); -} diff --git a/qtjava/javalib/org/kde/qt/QDialog.java b/qtjava/javalib/org/kde/qt/QDialog.java deleted file mode 100644 index 8c178929..00000000 --- a/qtjava/javalib/org/kde/qt/QDialog.java +++ /dev/null @@ -1,77 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQDialog extends TQWidget { - protected TQDialog(Class dummy){super((Class) null);} - public static final int Rejected = 0; - public static final int Accepted = 1; - - public native TQMetaObject metaObject(); - public native String className(); - public TQDialog(TQWidget parent, String name, boolean modal, int f) { - super((Class) null); - newTQDialog(parent,name,modal,f); - } - private native void newTQDialog(TQWidget parent, String name, boolean modal, int f); - public TQDialog(TQWidget parent, String name, boolean modal) { - super((Class) null); - newTQDialog(parent,name,modal); - } - private native void newTQDialog(TQWidget parent, String name, boolean modal); - public TQDialog(TQWidget parent, String name) { - super((Class) null); - newTQDialog(parent,name); - } - private native void newTQDialog(TQWidget parent, String name); - public TQDialog(TQWidget parent) { - super((Class) null); - newTQDialog(parent); - } - private native void newTQDialog(TQWidget parent); - public TQDialog() { - super((Class) null); - newTQDialog(); - } - private native void newTQDialog(); - public native int result(); - public native void show(); - public native void hide(); - public native void move(int x, int y); - public native void move(TQPoint p); - public native void resize(int w, int h); - public native void resize(TQSize arg1); - public native void setGeometry(int x, int y, int w, int h); - public native void setGeometry(TQRect arg1); - public native void setOrientation(int orientation); - public native int orientation(); - public native void setExtension(TQWidget extension); - public native TQWidget extension(); - public native TQSize sizeHint(); - public native TQSize minimumSizeHint(); - public native void setSizeGripEnabled(boolean arg1); - public native boolean isSizeGripEnabled(); - public native void setModal(boolean modal); - public native boolean isModal(); - public native int exec(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void setResult(int r); - protected native void keyPressEvent(TQKeyEvent arg1); - protected native void closeEvent(TQCloseEvent arg1); - protected native void resizeEvent(TQResizeEvent arg1); - protected native void contextMenuEvent(TQContextMenuEvent arg1); - public native boolean eventFilter(TQObject arg1, TQEvent arg2); - protected native void adjustPosition(TQWidget arg1); - protected native void done(int arg1); - protected native void accept(); - protected native void reject(); - protected native void showExtension(boolean 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/qtjava/javalib/org/kde/qt/QDir.java b/qtjava/javalib/org/kde/qt/QDir.java deleted file mode 100644 index 120cc240..00000000 --- a/qtjava/javalib/org/kde/qt/QDir.java +++ /dev/null @@ -1,141 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.ArrayList; - -public class TQDir implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQDir(Class dummy){} - - public static final int Dirs = 0x001; - public static final int Files = 0x002; - public static final int Drives = 0x004; - public static final int NoSymLinks = 0x008; - public static final int All = 0x007; - public static final int TypeMask = 0x00F; - public static final int Readable = 0x010; - public static final int Writable = 0x020; - public static final int Executable = 0x040; - public static final int RWEMask = 0x070; - public static final int Modified = 0x080; - public static final int Hidden = 0x100; - public static final int System = 0x200; - public static final int AccessMask = 0x3F0; - public static final int DefaultFilter = -1; - - public static final int Name = 0x00; - public static final int Time = 0x01; - public static final int Size = 0x02; - public static final int Unsorted = 0x03; - public static final int SortByMask = 0x03; - public static final int DirsFirst = 0x04; - public static final int Reversed = 0x08; - public static final int IgnoreCase = 0x10; - public static final int LocaleAware = 0x20; - public static final int DefaultSort = -1; - - public TQDir() { - newTQDir(); - } - private native void newTQDir(); - public TQDir(String path, String nameFilter, int sortSpec, int filterSpec) { - newTQDir(path,nameFilter,sortSpec,filterSpec); - } - private native void newTQDir(String path, String nameFilter, int sortSpec, int filterSpec); - public TQDir(String path, String nameFilter, int sortSpec) { - newTQDir(path,nameFilter,sortSpec); - } - private native void newTQDir(String path, String nameFilter, int sortSpec); - public TQDir(String path, String nameFilter) { - newTQDir(path,nameFilter); - } - private native void newTQDir(String path, String nameFilter); - public TQDir(String path) { - newTQDir(path); - } - private native void newTQDir(String path); - public TQDir(TQDir arg1) { - newTQDir(arg1); - } - private native void newTQDir(TQDir arg1); - public native void setPath(String path); - public native String path(); - public native String absPath(); - public native String canonicalPath(); - public native String dirName(); - public native String filePath(String fileName, boolean acceptAbsPath); - public native String filePath(String fileName); - public native String absFilePath(String fileName, boolean acceptAbsPath); - public native String absFilePath(String fileName); - public native boolean cd(String dirName, boolean acceptAbsPath); - public native boolean cd(String dirName); - public native boolean cdUp(); - public native String nameFilter(); - public native void setNameFilter(String nameFilter); - public native int filter(); - public native void setFilter(int filterSpec); - public native int sorting(); - public native void setSorting(int sortSpec); - public native boolean matchAllDirs(); - public native void setMatchAllDirs(boolean arg1); - public native int count(); - public native String op_at(int arg1); - public native ArrayList encodedEntryList(int filterSpec, int sortSpec); - public native ArrayList encodedEntryList(int filterSpec); - public native ArrayList encodedEntryList(); - public native ArrayList encodedEntryList(String nameFilter, int filterSpec, int sortSpec); - public native ArrayList encodedEntryList(String nameFilter, int filterSpec); - public native ArrayList encodedEntryList(String nameFilter); - public native ArrayList entryList(int filterSpec, int sortSpec); - public native ArrayList entryList(int filterSpec); - public native ArrayList entryList(); - public native ArrayList entryList(String nameFilter, int filterSpec, int sortSpec); - public native ArrayList entryList(String nameFilter, int filterSpec); - public native ArrayList entryList(String nameFilter); - // const TQFileInfoList* entryInfoList(int arg1,int arg2); >>>> NOT CONVERTED - // const TQFileInfoList* entryInfoList(int arg1); >>>> NOT CONVERTED - // const TQFileInfoList* entryInfoList(); >>>> NOT CONVERTED - // const TQFileInfoList* entryInfoList(const TQString& arg1,int arg2,int arg3); >>>> NOT CONVERTED - // const TQFileInfoList* entryInfoList(const TQString& arg1,int arg2); >>>> NOT CONVERTED - // const TQFileInfoList* entryInfoList(const TQString& arg1); >>>> NOT CONVERTED - public native boolean mkdir(String dirName, boolean acceptAbsPath); - public native boolean mkdir(String dirName); - public native boolean rmdir(String dirName, boolean acceptAbsPath); - public native boolean rmdir(String dirName); - public native boolean isReadable(); - public native boolean exists(); - public native boolean isRoot(); - public native boolean isRelative(); - public native void convertToAbs(); - public native boolean op_equals(TQDir arg1); - public native boolean op_not_equals(TQDir arg1); - public native boolean remove(String fileName, boolean acceptAbsPath); - public native boolean remove(String fileName); - public native boolean rename(String name, String newName, boolean acceptAbsPaths); - public native boolean rename(String name, String newName); - public native boolean exists(String name, boolean acceptAbsPath); - public native boolean exists(String name); - public native void refresh(); - public static native String convertSeparators(String pathName); - // const TQFileInfoList* drives(); >>>> NOT CONVERTED - public static native char separator(); - public static native boolean setCurrent(String path); - public static native TQDir current(); - public static native TQDir home(); - public static native TQDir root(); - public static native String currentDirPath(); - public static native String homeDirPath(); - public static native String rootDirPath(); - public static native boolean match(String[] filters, String fileName); - public static native boolean match(String filter, String fileName); - public static native String cleanDirPath(String dirPath); - public static native boolean isRelativePath(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/qtjava/javalib/org/kde/qt/QDockArea.java b/qtjava/javalib/org/kde/qt/QDockArea.java deleted file mode 100644 index 92c80158..00000000 --- a/qtjava/javalib/org/kde/qt/QDockArea.java +++ /dev/null @@ -1,58 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQDockArea extends TQWidget { - protected TQDockArea(Class dummy){super((Class) null);} - public static final int Normal = 0; - public static final int Reverse = 1; - - public native TQMetaObject metaObject(); - public native String className(); - public TQDockArea(int o, int h, TQWidget parent, String name) { - super((Class) null); - newTQDockArea(o,h,parent,name); - } - private native void newTQDockArea(int o, int h, TQWidget parent, String name); - public TQDockArea(int o, int h, TQWidget parent) { - super((Class) null); - newTQDockArea(o,h,parent); - } - private native void newTQDockArea(int o, int h, TQWidget parent); - public TQDockArea(int o, int h) { - super((Class) null); - newTQDockArea(o,h); - } - private native void newTQDockArea(int o, int h); - public TQDockArea(int o) { - super((Class) null); - newTQDockArea(o); - } - private native void newTQDockArea(int o); - public native void moveDockWindow(TQDockWindow w, TQPoint globalPos, TQRect rect, boolean swap); - public native void removeDockWindow(TQDockWindow w, boolean makeFloating, boolean swap, boolean fixNewLines); - public native void removeDockWindow(TQDockWindow w, boolean makeFloating, boolean swap); - public native void moveDockWindow(TQDockWindow w, int index); - public native void moveDockWindow(TQDockWindow w); - public native boolean hasDockWindow(TQDockWindow w, int[] index); - public native boolean hasDockWindow(TQDockWindow w); - public native void invalidNextOffset(TQDockWindow dw); - public native int orientation(); - public native int handlePosition(); - public native boolean eventFilter(TQObject arg1, TQEvent arg2); - public native boolean isEmpty(); - public native int count(); - // TQPtrList dockWindowList(); >>>> NOT CONVERTED - public native boolean isDockWindowAccepted(TQDockWindow dw); - public native void setAcceptDockWindow(TQDockWindow dw, boolean accept); - public native void lineUp(boolean keepNewLines); - public static native String tr(String arg1, String arg2); - public static native String tr(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/qtjava/javalib/org/kde/qt/QDockWindow.java b/qtjava/javalib/org/kde/qt/QDockWindow.java deleted file mode 100644 index ae876210..00000000 --- a/qtjava/javalib/org/kde/qt/QDockWindow.java +++ /dev/null @@ -1,116 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQDockWindowSignals} for signals emitted by TQDockWindow -*/ -public class TQDockWindow extends TQFrame { - protected TQDockWindow(Class dummy){super((Class) null);} - public static final int InDock = 0; - public static final int OutsideDock = 1; - - public static final int Never = 0; - public static final int Docked = 1; - public static final int Undocked = 2; - public static final int Always = Docked|Undocked; - - public native TQMetaObject metaObject(); - public native String className(); - public TQDockWindow(int p, TQWidget parent, String name, int f) { - super((Class) null); - newTQDockWindow(p,parent,name,f); - } - private native void newTQDockWindow(int p, TQWidget parent, String name, int f); - public TQDockWindow(int p, TQWidget parent, String name) { - super((Class) null); - newTQDockWindow(p,parent,name); - } - private native void newTQDockWindow(int p, TQWidget parent, String name); - public TQDockWindow(int p, TQWidget parent) { - super((Class) null); - newTQDockWindow(p,parent); - } - private native void newTQDockWindow(int p, TQWidget parent); - public TQDockWindow(int p) { - super((Class) null); - newTQDockWindow(p); - } - private native void newTQDockWindow(int p); - public TQDockWindow() { - super((Class) null); - newTQDockWindow(); - } - private native void newTQDockWindow(); - public TQDockWindow(TQWidget parent, String name, int f) { - super((Class) null); - newTQDockWindow(parent,name,f); - } - private native void newTQDockWindow(TQWidget parent, String name, int f); - public TQDockWindow(TQWidget parent, String name) { - super((Class) null); - newTQDockWindow(parent,name); - } - private native void newTQDockWindow(TQWidget parent, String name); - public TQDockWindow(TQWidget parent) { - super((Class) null); - newTQDockWindow(parent); - } - private native void newTQDockWindow(TQWidget parent); - public native void setWidget(TQWidget w); - public native TQWidget widget(); - public native int place(); - public native TQDockArea area(); - public native void setCloseMode(int m); - public native boolean isCloseEnabled(); - public native int closeMode(); - public native void setResizeEnabled(boolean b); - public native void setMovingEnabled(boolean b); - public native boolean isResizeEnabled(); - public native boolean isMovingEnabled(); - public native void setHorizontallyStretchable(boolean b); - public native void setVerticallyStretchable(boolean b); - public native boolean isHorizontallyStretchable(); - public native boolean isVerticallyStretchable(); - public native void setHorizontalStretchable(boolean b); - public native void setVerticalStretchable(boolean b); - public native boolean isHorizontalStretchable(); - public native boolean isVerticalStretchable(); - public native boolean isStretchable(); - public native void setOffset(int o); - public native int offset(); - public native void setFixedExtentWidth(int w); - public native void setFixedExtentHeight(int h); - public native TQSize fixedExtent(); - public native void setNewLine(boolean b); - public native boolean newLine(); - public native int orientation(); - public native TQSize sizeHint(); - public native TQSize minimumSize(); - public native TQSize minimumSizeHint(); - public native TQBoxLayout boxLayout(); - public native void setOpaqueMoving(boolean b); - public native boolean opaqueMoving(); - public native boolean eventFilter(TQObject o, TQEvent e); - public native void undock(TQWidget w); - public native void undock(); - public native void dock(); - public native void setOrientation(int o); - public native void setCaption(String s); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void resizeEvent(TQResizeEvent e); - public native void showEvent(TQShowEvent e); - protected native void hideEvent(TQHideEvent e); - protected native void contextMenuEvent(TQContextMenuEvent e); - protected native void drawFrame(TQPainter arg1); - protected native void drawContents(TQPainter arg1); - public native boolean event(TQEvent 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/qtjava/javalib/org/kde/qt/QDockWindowSignals.java b/qtjava/javalib/org/kde/qt/QDockWindowSignals.java deleted file mode 100644 index f1cdc926..00000000 --- a/qtjava/javalib/org/kde/qt/QDockWindowSignals.java +++ /dev/null @@ -1,9 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQDockWindowSignals { - void orientationChanged(int o); - void placeChanged(int p); - void visibilityChanged(boolean arg1); -} diff --git a/qtjava/javalib/org/kde/qt/QDomAttr.java b/qtjava/javalib/org/kde/qt/QDomAttr.java deleted file mode 100644 index 0e0dab9e..00000000 --- a/qtjava/javalib/org/kde/qt/QDomAttr.java +++ /dev/null @@ -1,31 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQDomAttr extends TQDomNode { - protected TQDomAttr(Class dummy){super((Class) null);} - public TQDomAttr() { - super((Class) null); - newTQDomAttr(); - } - private native void newTQDomAttr(); - public TQDomAttr(TQDomAttr x) { - super((Class) null); - newTQDomAttr(x); - } - private native void newTQDomAttr(TQDomAttr x); - public native String name(); - public native boolean specified(); - public native TQDomElement ownerElement(); - public native String value(); - public native void setValue(String arg1); - public native int nodeType(); - public native boolean isAttr(); - /** 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/qtjava/javalib/org/kde/qt/QDomCDATASection.java b/qtjava/javalib/org/kde/qt/QDomCDATASection.java deleted file mode 100644 index 7402ceba..00000000 --- a/qtjava/javalib/org/kde/qt/QDomCDATASection.java +++ /dev/null @@ -1,26 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQDomCDATASection extends TQDomText { - protected TQDomCDATASection(Class dummy){super((Class) null);} - public TQDomCDATASection() { - super((Class) null); - newTQDomCDATASection(); - } - private native void newTQDomCDATASection(); - public TQDomCDATASection(TQDomCDATASection x) { - super((Class) null); - newTQDomCDATASection(x); - } - private native void newTQDomCDATASection(TQDomCDATASection x); - public native int nodeType(); - public native boolean isCDATASection(); - /** 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/qtjava/javalib/org/kde/qt/QDomCharacterData.java b/qtjava/javalib/org/kde/qt/QDomCharacterData.java deleted file mode 100644 index 289d5c76..00000000 --- a/qtjava/javalib/org/kde/qt/QDomCharacterData.java +++ /dev/null @@ -1,34 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQDomCharacterData extends TQDomNode { - protected TQDomCharacterData(Class dummy){super((Class) null);} - public TQDomCharacterData() { - super((Class) null); - newTQDomCharacterData(); - } - private native void newTQDomCharacterData(); - public TQDomCharacterData(TQDomCharacterData x) { - super((Class) null); - newTQDomCharacterData(x); - } - private native void newTQDomCharacterData(TQDomCharacterData x); - public native String substringData(long offset, long count); - public native void appendData(String arg); - public native void insertData(long offset, String arg); - public native void deleteData(long offset, long count); - public native void replaceData(long offset, long count, String arg); - public native int length(); - public native String data(); - public native void setData(String arg1); - public native int nodeType(); - public native boolean isCharacterData(); - /** 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/qtjava/javalib/org/kde/qt/QDomComment.java b/qtjava/javalib/org/kde/qt/QDomComment.java deleted file mode 100644 index 0822dee9..00000000 --- a/qtjava/javalib/org/kde/qt/QDomComment.java +++ /dev/null @@ -1,26 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQDomComment extends TQDomCharacterData { - protected TQDomComment(Class dummy){super((Class) null);} - public TQDomComment() { - super((Class) null); - newTQDomComment(); - } - private native void newTQDomComment(); - public TQDomComment(TQDomComment x) { - super((Class) null); - newTQDomComment(x); - } - private native void newTQDomComment(TQDomComment x); - public native int nodeType(); - public native boolean isComment(); - /** 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/qtjava/javalib/org/kde/qt/QDomDocument.java b/qtjava/javalib/org/kde/qt/QDomDocument.java deleted file mode 100644 index c687f6eb..00000000 --- a/qtjava/javalib/org/kde/qt/QDomDocument.java +++ /dev/null @@ -1,86 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.ArrayList; - -public class TQDomDocument extends TQDomNode { - protected TQDomDocument(Class dummy){super((Class) null);} - public TQDomDocument() { - super((Class) null); - newTQDomDocument(); - } - private native void newTQDomDocument(); - public TQDomDocument(String name) { - super((Class) null); - newTQDomDocument(name); - } - private native void newTQDomDocument(String name); - public TQDomDocument(TQDomDocumentType doctype) { - super((Class) null); - newTQDomDocument(doctype); - } - private native void newTQDomDocument(TQDomDocumentType doctype); - public TQDomDocument(TQDomDocument x) { - super((Class) null); - newTQDomDocument(x); - } - private native void newTQDomDocument(TQDomDocument x); - public native TQDomElement createElement(String tagName); - public native TQDomDocumentFragment createDocumentFragment(); - public native TQDomText createTextNode(String data); - public native TQDomComment createComment(String data); - public native TQDomCDATASection createCDATASection(String data); - public native TQDomProcessingInstruction createProcessingInstruction(String target, String data); - public native TQDomAttr createAttribute(String name); - public native TQDomEntityReference createEntityReference(String name); - public native ArrayList elementsByTagName(String tagname); - public native TQDomNode importNode(TQDomNode importedNode, boolean deep); - public native TQDomElement createElementNS(String nsURI, String qName); - public native TQDomAttr createAttributeNS(String nsURI, String qName); - public native ArrayList elementsByTagNameNS(String nsURI, String localName); - public native TQDomElement elementById(String elementId); - public native TQDomDocumentType doctype(); - public native TQDomImplementation implementation(); - public native TQDomElement documentElement(); - public native boolean setContent(String text, boolean namespaceProcessing, StringBuffer errorMsg, int[] errorLine, int[] errorColumn); - public native boolean setContent(String text, boolean namespaceProcessing, StringBuffer errorMsg, int[] errorLine); - public native boolean setContent(String text, boolean namespaceProcessing, StringBuffer errorMsg); - public native boolean setContent(String text, boolean namespaceProcessing); - public native boolean setContent(byte[] text, boolean namespaceProcessing, StringBuffer errorMsg, int[] errorLine, int[] errorColumn); - public native boolean setContent(byte[] text, boolean namespaceProcessing, StringBuffer errorMsg, int[] errorLine); - public native boolean setContent(byte[] text, boolean namespaceProcessing, StringBuffer errorMsg); - public native boolean setContent(byte[] text, boolean namespaceProcessing); - public native boolean setContent(TQIODeviceInterface dev, boolean namespaceProcessing, StringBuffer errorMsg, int[] errorLine, int[] errorColumn); - public native boolean setContent(TQIODeviceInterface dev, boolean namespaceProcessing, StringBuffer errorMsg, int[] errorLine); - public native boolean setContent(TQIODeviceInterface dev, boolean namespaceProcessing, StringBuffer errorMsg); - public native boolean setContent(TQIODeviceInterface dev, boolean namespaceProcessing); - public native boolean setContent(String text, StringBuffer errorMsg, int[] errorLine, int[] errorColumn); - public native boolean setContent(String text, StringBuffer errorMsg, int[] errorLine); - public native boolean setContent(String text, StringBuffer errorMsg); - public native boolean setContent(String text); - public native boolean setContent(byte[] text, StringBuffer errorMsg, int[] errorLine, int[] errorColumn); - public native boolean setContent(byte[] text, StringBuffer errorMsg, int[] errorLine); - public native boolean setContent(byte[] text, StringBuffer errorMsg); - public native boolean setContent(byte[] text); - public native boolean setContent(TQIODeviceInterface dev, StringBuffer errorMsg, int[] errorLine, int[] errorColumn); - public native boolean setContent(TQIODeviceInterface dev, StringBuffer errorMsg, int[] errorLine); - public native boolean setContent(TQIODeviceInterface dev, StringBuffer errorMsg); - public native boolean setContent(TQIODeviceInterface dev); - public native boolean setContent(TQXmlInputSource source, TQXmlReader reader, StringBuffer errorMsg, int[] errorLine, int[] errorColumn); - public native boolean setContent(TQXmlInputSource source, TQXmlReader reader, StringBuffer errorMsg, int[] errorLine); - public native boolean setContent(TQXmlInputSource source, TQXmlReader reader, StringBuffer errorMsg); - public native boolean setContent(TQXmlInputSource source, TQXmlReader reader); - public native int nodeType(); - public native boolean isDocument(); - public native String toString(); - public native String toString(int arg1); - public native String toCString(); - public native String toCString(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/qtjava/javalib/org/kde/qt/QDomDocumentFragment.java b/qtjava/javalib/org/kde/qt/QDomDocumentFragment.java deleted file mode 100644 index 2b222195..00000000 --- a/qtjava/javalib/org/kde/qt/QDomDocumentFragment.java +++ /dev/null @@ -1,26 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQDomDocumentFragment extends TQDomNode { - protected TQDomDocumentFragment(Class dummy){super((Class) null);} - public TQDomDocumentFragment() { - super((Class) null); - newTQDomDocumentFragment(); - } - private native void newTQDomDocumentFragment(); - public TQDomDocumentFragment(TQDomDocumentFragment x) { - super((Class) null); - newTQDomDocumentFragment(x); - } - private native void newTQDomDocumentFragment(TQDomDocumentFragment x); - public native int nodeType(); - public native boolean isDocumentFragment(); - /** 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/qtjava/javalib/org/kde/qt/QDomDocumentType.java b/qtjava/javalib/org/kde/qt/QDomDocumentType.java deleted file mode 100644 index d9161ade..00000000 --- a/qtjava/javalib/org/kde/qt/QDomDocumentType.java +++ /dev/null @@ -1,32 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQDomDocumentType extends TQDomNode { - protected TQDomDocumentType(Class dummy){super((Class) null);} - public TQDomDocumentType() { - super((Class) null); - newTQDomDocumentType(); - } - private native void newTQDomDocumentType(); - public TQDomDocumentType(TQDomDocumentType x) { - super((Class) null); - newTQDomDocumentType(x); - } - private native void newTQDomDocumentType(TQDomDocumentType x); - public native String name(); - public native TQDomNamedNodeMap entities(); - public native TQDomNamedNodeMap notations(); - public native String publicId(); - public native String systemId(); - public native String internalSubset(); - public native int nodeType(); - public native boolean isDocumentType(); - /** 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/qtjava/javalib/org/kde/qt/QDomElement.java b/qtjava/javalib/org/kde/qt/QDomElement.java deleted file mode 100644 index 60fa46e6..00000000 --- a/qtjava/javalib/org/kde/qt/QDomElement.java +++ /dev/null @@ -1,53 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.ArrayList; - -public class TQDomElement extends TQDomNode { - protected TQDomElement(Class dummy){super((Class) null);} - public TQDomElement() { - super((Class) null); - newTQDomElement(); - } - private native void newTQDomElement(); - public TQDomElement(TQDomElement x) { - super((Class) null); - newTQDomElement(x); - } - private native void newTQDomElement(TQDomElement x); - public native String attribute(String name, String defValue); - public native String attribute(String name); - public native void setAttribute(String name, String value); - public native void setAttribute(String name, int value); - public native void setAttribute(String name, long value); - public native void setAttribute(String name, double value); - public native void removeAttribute(String name); - public native TQDomAttr attributeNode(String name); - public native TQDomAttr setAttributeNode(TQDomAttr newAttr); - public native TQDomAttr removeAttributeNode(TQDomAttr oldAttr); - public native ArrayList elementsByTagName(String tagname); - public native boolean hasAttribute(String name); - public native String attributeNS(String nsURI, String localName, String defValue); - public native void setAttributeNS(String nsURI, String qName, String value); - public native void setAttributeNS(String nsURI, String qName, int value); - public native void setAttributeNS(String nsURI, String qName, long value); - public native void setAttributeNS(String nsURI, String qName, double value); - public native void removeAttributeNS(String nsURI, String localName); - public native TQDomAttr attributeNodeNS(String nsURI, String localName); - public native TQDomAttr setAttributeNodeNS(TQDomAttr newAttr); - public native ArrayList elementsByTagNameNS(String nsURI, String localName); - public native boolean hasAttributeNS(String nsURI, String localName); - public native String tagName(); - public native void setTagName(String name); - public native TQDomNamedNodeMap attributes(); - public native int nodeType(); - public native boolean isElement(); - public native 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/qtjava/javalib/org/kde/qt/QDomEntity.java b/qtjava/javalib/org/kde/qt/QDomEntity.java deleted file mode 100644 index 657400e8..00000000 --- a/qtjava/javalib/org/kde/qt/QDomEntity.java +++ /dev/null @@ -1,29 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQDomEntity extends TQDomNode { - protected TQDomEntity(Class dummy){super((Class) null);} - public TQDomEntity() { - super((Class) null); - newTQDomEntity(); - } - private native void newTQDomEntity(); - public TQDomEntity(TQDomEntity x) { - super((Class) null); - newTQDomEntity(x); - } - private native void newTQDomEntity(TQDomEntity x); - public native String publicId(); - public native String systemId(); - public native String notationName(); - public native int nodeType(); - public native boolean isEntity(); - /** 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/qtjava/javalib/org/kde/qt/QDomEntityReference.java b/qtjava/javalib/org/kde/qt/QDomEntityReference.java deleted file mode 100644 index 9b572231..00000000 --- a/qtjava/javalib/org/kde/qt/QDomEntityReference.java +++ /dev/null @@ -1,26 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQDomEntityReference extends TQDomNode { - protected TQDomEntityReference(Class dummy){super((Class) null);} - public TQDomEntityReference() { - super((Class) null); - newTQDomEntityReference(); - } - private native void newTQDomEntityReference(); - public TQDomEntityReference(TQDomEntityReference x) { - super((Class) null); - newTQDomEntityReference(x); - } - private native void newTQDomEntityReference(TQDomEntityReference x); - public native int nodeType(); - public native boolean isEntityReference(); - /** 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/qtjava/javalib/org/kde/qt/QDomImplementation.java b/qtjava/javalib/org/kde/qt/QDomImplementation.java deleted file mode 100644 index d5d9a760..00000000 --- a/qtjava/javalib/org/kde/qt/QDomImplementation.java +++ /dev/null @@ -1,31 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQDomImplementation implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQDomImplementation(Class dummy){} - - public TQDomImplementation() { - newTQDomImplementation(); - } - private native void newTQDomImplementation(); - public TQDomImplementation(TQDomImplementation arg1) { - newTQDomImplementation(arg1); - } - private native void newTQDomImplementation(TQDomImplementation arg1); - public native boolean op_equals(TQDomImplementation arg1); - public native boolean op_not_equals(TQDomImplementation arg1); - public native boolean hasFeature(String feature, String version); - public native TQDomDocumentType createDocumentType(String qName, String publicId, String systemId); - public native TQDomDocument createDocument(String nsURI, String qName, TQDomDocumentType doctype); - public native boolean isNull(); - /** 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/qtjava/javalib/org/kde/qt/QDomNamedNodeMap.java b/qtjava/javalib/org/kde/qt/QDomNamedNodeMap.java deleted file mode 100644 index 25d1208e..00000000 --- a/qtjava/javalib/org/kde/qt/QDomNamedNodeMap.java +++ /dev/null @@ -1,37 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQDomNamedNodeMap implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQDomNamedNodeMap(Class dummy){} - - public TQDomNamedNodeMap() { - newTQDomNamedNodeMap(); - } - private native void newTQDomNamedNodeMap(); - public TQDomNamedNodeMap(TQDomNamedNodeMap arg1) { - newTQDomNamedNodeMap(arg1); - } - private native void newTQDomNamedNodeMap(TQDomNamedNodeMap arg1); - public native boolean op_equals(TQDomNamedNodeMap arg1); - public native boolean op_not_equals(TQDomNamedNodeMap arg1); - public native TQDomNode namedItem(String name); - public native TQDomNode setNamedItem(TQDomNode newNode); - public native TQDomNode removeNamedItem(String name); - public native TQDomNode item(int index); - public native TQDomNode namedItemNS(String nsURI, String localName); - public native TQDomNode setNamedItemNS(TQDomNode newNode); - public native TQDomNode removeNamedItemNS(String nsURI, String localName); - public native int length(); - public native int count(); - public native boolean contains(String name); - /** 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/qtjava/javalib/org/kde/qt/QDomNode.java b/qtjava/javalib/org/kde/qt/QDomNode.java deleted file mode 100644 index a649d8f1..00000000 --- a/qtjava/javalib/org/kde/qt/QDomNode.java +++ /dev/null @@ -1,106 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.ArrayList; - -public class TQDomNode implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQDomNode(Class dummy){} - - public static final int ElementNode = 1; - public static final int AttributeNode = 2; - public static final int TextNode = 3; - public static final int CDATASectionNode = 4; - public static final int EntityReferenceNode = 5; - public static final int EntityNode = 6; - public static final int ProcessingInstructionNode = 7; - public static final int CommentNode = 8; - public static final int DocumentNode = 9; - public static final int DocumentTypeNode = 10; - public static final int DocumentFragmentNode = 11; - public static final int NotationNode = 12; - public static final int BaseNode = 21; - public static final int CharacterDataNode = 22; - - public TQDomNode() { - newTQDomNode(); - } - private native void newTQDomNode(); - public TQDomNode(TQDomNode arg1) { - newTQDomNode(arg1); - } - private native void newTQDomNode(TQDomNode arg1); - public native boolean op_equals(TQDomNode arg1); - public native boolean op_not_equals(TQDomNode arg1); - public native TQDomNode insertBefore(TQDomNode newChild, TQDomNode refChild); - public native TQDomNode insertAfter(TQDomNode newChild, TQDomNode refChild); - public native TQDomNode replaceChild(TQDomNode newChild, TQDomNode oldChild); - public native TQDomNode removeChild(TQDomNode oldChild); - public native TQDomNode appendChild(TQDomNode newChild); - public native boolean hasChildNodes(); - public native TQDomNode cloneNode(boolean deep); - public native TQDomNode cloneNode(); - public native void normalize(); - public native boolean isSupported(String feature, String version); - public native String nodeName(); - public native int nodeType(); - public native TQDomNode parentNode(); - public native ArrayList childNodes(); - public native TQDomNode firstChild(); - public native TQDomNode lastChild(); - public native TQDomNode previousSibling(); - public native TQDomNode nextSibling(); - public native TQDomNamedNodeMap attributes(); - public native TQDomDocument ownerDocument(); - public native String namespaceURI(); - public native String localName(); - public native boolean hasAttributes(); - public native String nodeValue(); - public native void setNodeValue(String arg1); - public native String prefix(); - public native void setPrefix(String pre); - public native boolean isAttr(); - public native boolean isCDATASection(); - public native boolean isDocumentFragment(); - public native boolean isDocument(); - public native boolean isDocumentType(); - public native boolean isElement(); - public native boolean isEntityReference(); - public native boolean isText(); - public native boolean isEntity(); - public native boolean isNotation(); - public native boolean isProcessingInstruction(); - public native boolean isCharacterData(); - public native boolean isComment(); - /** - Shortcut to avoid dealing with TQDomArrayList - all the time. - @short Shortcut to avoid dealing with TQDomNodeList all the time. - */ - public native TQDomNode namedItem(String name); - public native boolean isNull(); - public native void clear(); - public native TQDomAttr toAttr(); - public native TQDomCDATASection toCDATASection(); - public native TQDomDocumentFragment toDocumentFragment(); - public native TQDomDocument toDocument(); - public native TQDomDocumentType toDocumentType(); - public native TQDomElement toElement(); - public native TQDomEntityReference toEntityReference(); - public native TQDomText toText(); - public native TQDomEntity toEntity(); - public native TQDomNotation toNotation(); - public native TQDomProcessingInstruction toProcessingInstruction(); - public native TQDomCharacterData toCharacterData(); - public native TQDomComment toComment(); - public native void save(TQTextStream arg1, int arg2); - // TQDomNode* TQDomNode(TQDomNodePrivate* arg1); >>>> 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/qtjava/javalib/org/kde/qt/QDomNotation.java b/qtjava/javalib/org/kde/qt/QDomNotation.java deleted file mode 100644 index 8e31634f..00000000 --- a/qtjava/javalib/org/kde/qt/QDomNotation.java +++ /dev/null @@ -1,28 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQDomNotation extends TQDomNode { - protected TQDomNotation(Class dummy){super((Class) null);} - public TQDomNotation() { - super((Class) null); - newTQDomNotation(); - } - private native void newTQDomNotation(); - public TQDomNotation(TQDomNotation x) { - super((Class) null); - newTQDomNotation(x); - } - private native void newTQDomNotation(TQDomNotation x); - public native String publicId(); - public native String systemId(); - public native int nodeType(); - public native boolean isNotation(); - /** 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/qtjava/javalib/org/kde/qt/QDomProcessingInstruction.java b/qtjava/javalib/org/kde/qt/QDomProcessingInstruction.java deleted file mode 100644 index 7ddf07b5..00000000 --- a/qtjava/javalib/org/kde/qt/QDomProcessingInstruction.java +++ /dev/null @@ -1,29 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQDomProcessingInstruction extends TQDomNode { - protected TQDomProcessingInstruction(Class dummy){super((Class) null);} - public TQDomProcessingInstruction() { - super((Class) null); - newTQDomProcessingInstruction(); - } - private native void newTQDomProcessingInstruction(); - public TQDomProcessingInstruction(TQDomProcessingInstruction x) { - super((Class) null); - newTQDomProcessingInstruction(x); - } - private native void newTQDomProcessingInstruction(TQDomProcessingInstruction x); - public native String target(); - public native String data(); - public native void setData(String d); - public native int nodeType(); - public native boolean isProcessingInstruction(); - /** 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/qtjava/javalib/org/kde/qt/QDomText.java b/qtjava/javalib/org/kde/qt/QDomText.java deleted file mode 100644 index 894c3863..00000000 --- a/qtjava/javalib/org/kde/qt/QDomText.java +++ /dev/null @@ -1,27 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQDomText extends TQDomCharacterData { - protected TQDomText(Class dummy){super((Class) null);} - public TQDomText() { - super((Class) null); - newTQDomText(); - } - private native void newTQDomText(); - public TQDomText(TQDomText x) { - super((Class) null); - newTQDomText(x); - } - private native void newTQDomText(TQDomText x); - public native TQDomText splitText(int offset); - public native int nodeType(); - public native boolean isText(); - /** 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/qtjava/javalib/org/kde/qt/QDoubleValidator.java b/qtjava/javalib/org/kde/qt/QDoubleValidator.java deleted file mode 100644 index a0d8e7b2..00000000 --- a/qtjava/javalib/org/kde/qt/QDoubleValidator.java +++ /dev/null @@ -1,47 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQDoubleValidator extends TQValidator { - protected TQDoubleValidator(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQDoubleValidator(TQObject parent, String name) { - super((Class) null); - newTQDoubleValidator(parent,name); - } - private native void newTQDoubleValidator(TQObject parent, String name); - public TQDoubleValidator(TQObject parent) { - super((Class) null); - newTQDoubleValidator(parent); - } - private native void newTQDoubleValidator(TQObject parent); - public TQDoubleValidator(double bottom, double top, int decimals, TQObject parent, String name) { - super((Class) null); - newTQDoubleValidator(bottom,top,decimals,parent,name); - } - private native void newTQDoubleValidator(double bottom, double top, int decimals, TQObject parent, String name); - public TQDoubleValidator(double bottom, double top, int decimals, TQObject parent) { - super((Class) null); - newTQDoubleValidator(bottom,top,decimals,parent); - } - private native void newTQDoubleValidator(double bottom, double top, int decimals, TQObject parent); - public native int validate(StringBuffer arg1, int[] arg2); - public native void setRange(double bottom, double top, int decimals); - public native void setRange(double bottom, double top); - public native void setBottom(double arg1); - public native void setTop(double arg1); - public native void setDecimals(int arg1); - public native double bottom(); - public native double top(); - public native int decimals(); - public static native String tr(String arg1, String arg2); - public static native String tr(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/qtjava/javalib/org/kde/qt/QDragEnterEvent.java b/qtjava/javalib/org/kde/qt/QDragEnterEvent.java deleted file mode 100644 index 1caa5da2..00000000 --- a/qtjava/javalib/org/kde/qt/QDragEnterEvent.java +++ /dev/null @@ -1,19 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQDragEnterEvent extends TQDragMoveEvent { - protected TQDragEnterEvent(Class dummy){super((Class) null);} - public TQDragEnterEvent(TQPoint pos) { - super((Class) null); - newTQDragEnterEvent(pos); - } - private native void newTQDragEnterEvent(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/qtjava/javalib/org/kde/qt/QDragLeaveEvent.java b/qtjava/javalib/org/kde/qt/QDragLeaveEvent.java deleted file mode 100644 index 9feceb39..00000000 --- a/qtjava/javalib/org/kde/qt/QDragLeaveEvent.java +++ /dev/null @@ -1,19 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQDragLeaveEvent extends TQEvent { - protected TQDragLeaveEvent(Class dummy){super((Class) null);} - public TQDragLeaveEvent() { - super((Class) null); - newTQDragLeaveEvent(); - } - private native void newTQDragLeaveEvent(); - /** 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/qtjava/javalib/org/kde/qt/QDragManager.java b/qtjava/javalib/org/kde/qt/QDragManager.java deleted file mode 100644 index 79ad5bef..00000000 --- a/qtjava/javalib/org/kde/qt/QDragManager.java +++ /dev/null @@ -1,12 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQDragManager extends TQObject { - protected TQDragManager(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); -} diff --git a/qtjava/javalib/org/kde/qt/QDragMoveEvent.java b/qtjava/javalib/org/kde/qt/QDragMoveEvent.java deleted file mode 100644 index 0a955b1e..00000000 --- a/qtjava/javalib/org/kde/qt/QDragMoveEvent.java +++ /dev/null @@ -1,30 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQDragMoveEvent extends TQDropEvent { - protected TQDragMoveEvent(Class dummy){super((Class) null);} - public TQDragMoveEvent(TQPoint pos, int typ) { - super((Class) null); - newTQDragMoveEvent(pos,typ); - } - private native void newTQDragMoveEvent(TQPoint pos, int typ); - public TQDragMoveEvent(TQPoint pos) { - super((Class) null); - newTQDragMoveEvent(pos); - } - private native void newTQDragMoveEvent(TQPoint pos); - public native TQRect answerRect(); - public native void accept(boolean y); - public native void accept(); - public native void accept(TQRect r); - public native void ignore(TQRect r); - public native void ignore(); - /** 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/qtjava/javalib/org/kde/qt/QDragObject.java b/qtjava/javalib/org/kde/qt/QDragObject.java deleted file mode 100644 index 17db8309..00000000 --- a/qtjava/javalib/org/kde/qt/QDragObject.java +++ /dev/null @@ -1,37 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQDragObject extends TQObject implements TQMimeSourceInterface { - protected TQDragObject(Class dummy){super((Class) null);} - public static final int DragDefault = 0; - public static final int DragCopy = 1; - public static final int DragMove = 2; - public static final int DragLink = 3; - public static final int DragCopyOrMove = 4; - - public native TQMetaObject metaObject(); - public native String className(); - public native boolean drag(); - public native boolean dragMove(); - public native void dragCopy(); - public native void dragLink(); - public native void setPixmap(TQPixmap arg1); - public native void setPixmap(TQPixmap arg1, TQPoint hotspot); - public native TQPixmap pixmap(); - public native TQPoint pixmapHotSpot(); - public native TQWidget source(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - public static native TQWidget target(); - public static native void setTarget(TQWidget arg1); - public native String format(int n); - public native String format(); - public native boolean provides(String arg1); - public native byte[] encodedData(String arg1); - public native int serialNumber(); - /** Internal method */ - protected native long mimeSource(); - -} diff --git a/qtjava/javalib/org/kde/qt/QDragResponseEvent.java b/qtjava/javalib/org/kde/qt/QDragResponseEvent.java deleted file mode 100644 index 6b19daaa..00000000 --- a/qtjava/javalib/org/kde/qt/QDragResponseEvent.java +++ /dev/null @@ -1,20 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQDragResponseEvent extends TQEvent { - protected TQDragResponseEvent(Class dummy){super((Class) null);} - public TQDragResponseEvent(boolean accepted) { - super((Class) null); - newTQDragResponseEvent(accepted); - } - private native void newTQDragResponseEvent(boolean accepted); - public native boolean dragAccepted(); - /** 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/qtjava/javalib/org/kde/qt/QDropEvent.java b/qtjava/javalib/org/kde/qt/QDropEvent.java deleted file mode 100644 index 7e6f93cf..00000000 --- a/qtjava/javalib/org/kde/qt/QDropEvent.java +++ /dev/null @@ -1,51 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQDropEvent extends TQEvent implements TQMimeSourceInterface { - protected TQDropEvent(Class dummy){super((Class) null);} - public static final int Copy = 0; - public static final int Link = 1; - public static final int Move = 2; - public static final int Private = 3; - public static final int UserAction = 100; - - public TQDropEvent(TQPoint pos, int typ) { - super((Class) null); - newTQDropEvent(pos,typ); - } - private native void newTQDropEvent(TQPoint pos, int typ); - public TQDropEvent(TQPoint pos) { - super((Class) null); - newTQDropEvent(pos); - } - private native void newTQDropEvent(TQPoint pos); - public native TQPoint pos(); - public native boolean isAccepted(); - public native void accept(boolean y); - public native void accept(); - public native void ignore(); - public native boolean isActionAccepted(); - public native void acceptAction(boolean y); - public native void acceptAction(); - public native void setAction(int a); - public native int action(); - public native TQWidget source(); - public native String format(int n); - public native String format(); - public native byte[] encodedData(String arg1); - public native boolean provides(String arg1); - public native byte[] data(String f); - public native void setPoint(TQPoint np); - /** 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(); - public native int serialNumber(); - /** Internal method */ - protected native long mimeSource(); - -} diff --git a/qtjava/javalib/org/kde/qt/QDropSite.java b/qtjava/javalib/org/kde/qt/QDropSite.java deleted file mode 100644 index 78a4f9df..00000000 --- a/qtjava/javalib/org/kde/qt/QDropSite.java +++ /dev/null @@ -1,21 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQDropSite implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQDropSite(Class dummy){} - - public TQDropSite(TQWidget parent) { - newTQDropSite(parent); - } - private native void newTQDropSite(TQWidget parent); - /** 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/qtjava/javalib/org/kde/qt/QEditorFactory.java b/qtjava/javalib/org/kde/qt/QEditorFactory.java deleted file mode 100644 index 6b560ee5..00000000 --- a/qtjava/javalib/org/kde/qt/QEditorFactory.java +++ /dev/null @@ -1,32 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQEditorFactory extends TQObject { - protected TQEditorFactory(Class dummy){super((Class) null);} - public TQEditorFactory(TQObject parent, String name) { - super((Class) null); - newTQEditorFactory(parent,name); - } - private native void newTQEditorFactory(TQObject parent, String name); - public TQEditorFactory(TQObject parent) { - super((Class) null); - newTQEditorFactory(parent); - } - private native void newTQEditorFactory(TQObject parent); - public TQEditorFactory() { - super((Class) null); - newTQEditorFactory(); - } - private native void newTQEditorFactory(); - public native TQWidget createEditor(TQWidget parent, TQVariant v); - public static native TQEditorFactory defaultFactory(); - public static native void installDefaultFactory(TQEditorFactory factory); - /** 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/qtjava/javalib/org/kde/qt/QErrorMessage.java b/qtjava/javalib/org/kde/qt/QErrorMessage.java deleted file mode 100644 index e06c8115..00000000 --- a/qtjava/javalib/org/kde/qt/QErrorMessage.java +++ /dev/null @@ -1,31 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQErrorMessage extends TQDialog { - protected TQErrorMessage(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQErrorMessage(TQWidget parent, String name) { - super((Class) null); - newTQErrorMessage(parent,name); - } - private native void newTQErrorMessage(TQWidget parent, String name); - public TQErrorMessage(TQWidget parent) { - super((Class) null); - newTQErrorMessage(parent); - } - private native void newTQErrorMessage(TQWidget parent); - public native void message(String arg1); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - public static native TQErrorMessage qtHandler(); - protected native void done(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/qtjava/javalib/org/kde/qt/QEucJpCodec.java b/qtjava/javalib/org/kde/qt/QEucJpCodec.java deleted file mode 100644 index 6de2619f..00000000 --- a/qtjava/javalib/org/kde/qt/QEucJpCodec.java +++ /dev/null @@ -1,27 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQEucJpCodec extends TQTextCodec { - protected TQEucJpCodec(Class dummy){super((Class) null);} - public native int mibEnum(); - public native String name(); - public native String mimeName(); - public native TQTextDecoder makeDecoder(); - public native String fromUnicode(String uc, int[] lenInOut); - public native String toUnicode(String chars, int len); - public native int heuristicContentMatch(String chars, int len); - public native int heuristicNameMatch(String hint); - public TQEucJpCodec() { - super((Class) null); - newTQEucJpCodec(); - } - private native void newTQEucJpCodec(); - /** 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/qtjava/javalib/org/kde/qt/QEucKrCodec.java b/qtjava/javalib/org/kde/qt/QEucKrCodec.java deleted file mode 100644 index 5272f11c..00000000 --- a/qtjava/javalib/org/kde/qt/QEucKrCodec.java +++ /dev/null @@ -1,27 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQEucKrCodec extends TQTextCodec { - protected TQEucKrCodec(Class dummy){super((Class) null);} - public native int mibEnum(); - public native String name(); - public native String mimeName(); - public native TQTextDecoder makeDecoder(); - public native String fromUnicode(String uc, int[] lenInOut); - public native String toUnicode(String chars, int len); - public native int heuristicContentMatch(String chars, int len); - public native int heuristicNameMatch(String hint); - public TQEucKrCodec() { - super((Class) null); - newTQEucKrCodec(); - } - private native void newTQEucKrCodec(); - /** 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/qtjava/javalib/org/kde/qt/QEvent.java b/qtjava/javalib/org/kde/qt/QEvent.java deleted file mode 100644 index 8b88b199..00000000 --- a/qtjava/javalib/org/kde/qt/QEvent.java +++ /dev/null @@ -1,98 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQEvent extends Qt { - protected TQEvent(Class dummy){super((Class) null);} - public static final int None = 0; - public static final int Timer = 1; - public static final int MouseButtonPress = 2; - public static final int MouseButtonRelease = 3; - public static final int MouseButtonDblClick = 4; - public static final int MouseMove = 5; - public static final int KeyPress = 6; - public static final int KeyRelease = 7; - public static final int FocusIn = 8; - public static final int FocusOut = 9; - public static final int Enter = 10; - public static final int Leave = 11; - public static final int Paint = 12; - public static final int Move = 13; - public static final int Resize = 14; - public static final int Create = 15; - public static final int Destroy = 16; - public static final int Show = 17; - public static final int Hide = 18; - public static final int Close = 19; - public static final int Quit = 20; - public static final int Reparent = 21; - public static final int ShowMinimized = 22; - public static final int ShowNormal = 23; - public static final int WindowActivate = 24; - public static final int WindowDeactivate = 25; - public static final int ShowToParent = 26; - public static final int HideToParent = 27; - public static final int ShowMaximized = 28; - public static final int ShowFullScreen = 29; - public static final int Accel = 30; - public static final int Wheel = 31; - public static final int AccelAvailable = 32; - public static final int CaptionChange = 33; - public static final int IconChange = 34; - public static final int ParentFontChange = 35; - public static final int ApplicationFontChange = 36; - public static final int ParentPaletteChange = 37; - public static final int ApplicationPaletteChange = 38; - public static final int PaletteChange = 39; - public static final int Clipboard = 40; - public static final int Speech = 42; - public static final int SockAct = 50; - public static final int AccelOverride = 51; - public static final int DeferredDelete = 52; - public static final int DragEnter = 60; - public static final int DragMove = 61; - public static final int DragLeave = 62; - public static final int Drop = 63; - public static final int DragResponse = 64; - public static final int ChildInserted = 70; - public static final int ChildRemoved = 71; - public static final int LayoutHint = 72; - public static final int ShowWindowRequest = 73; - public static final int WindowBlocked = 74; - public static final int WindowUnblocked = 75; - public static final int ActivateControl = 80; - public static final int DeactivateControl = 81; - public static final int ContextMenu = 82; - public static final int IMStart = 83; - public static final int IMCompose = 84; - public static final int IMEnd = 85; - public static final int Accessibility = 86; - public static final int TabletMove = 87; - public static final int LocaleChange = 88; - public static final int LanguageChange = 89; - public static final int LayoutDirectionChange = 90; - public static final int Style = 91; - public static final int TabletPress = 92; - public static final int TabletRelease = 93; - public static final int OkRequest = 94; - public static final int HelpRequest = 95; - public static final int WindowStateChange = 96; - public static final int IconDrag = 97; - public static final int User = 1000; - public static final int MaxUser = 65535; - - public TQEvent(int type) { - super((Class) null); - newTQEvent(type); - } - private native void newTQEvent(int type); - public native int type(); - public native boolean spontaneous(); - /** 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/qtjava/javalib/org/kde/qt/QEventLoop.java b/qtjava/javalib/org/kde/qt/QEventLoop.java deleted file mode 100644 index 956c4d38..00000000 --- a/qtjava/javalib/org/kde/qt/QEventLoop.java +++ /dev/null @@ -1,57 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQEventLoopSignals} for signals emitted by TQEventLoop -*/ -public class TQEventLoop extends TQObject { - protected TQEventLoop(Class dummy){super((Class) null);} - public static final int AllEvents = 0x00; - public static final int ExcludeUserInput = 0x01; - public static final int ExcludeSocketNotifiers = 0x02; - public static final int WaitForMore = 0x04; - - public native TQMetaObject metaObject(); - public native String className(); - public TQEventLoop(TQObject parent, String name) { - super((Class) null); - newTQEventLoop(parent,name); - } - private native void newTQEventLoop(TQObject parent, String name); - public TQEventLoop(TQObject parent) { - super((Class) null); - newTQEventLoop(parent); - } - private native void newTQEventLoop(TQObject parent); - public TQEventLoop() { - super((Class) null); - newTQEventLoop(); - } - private native void newTQEventLoop(); - public native void processEvents(int flags, int maxtime); - public native boolean processEvents(int flags); - public native boolean hasPendingEvents(); - public native void registerSocketNotifier(TQSocketNotifier arg1); - public native void unregisterSocketNotifier(TQSocketNotifier arg1); - public native void setSocketNotifierPending(TQSocketNotifier arg1); - public native int activateSocketNotifiers(); - public native int activateTimers(); - public native int timeToWait(); - public native int exec(); - public native void exit(int retcode); - public native void exit(); - public native int enterLoop(); - public native void exitLoop(); - public native int loopLevel(); - public native void wakeUp(); - public static native String tr(String arg1, String arg2); - public static native String tr(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/qtjava/javalib/org/kde/qt/QEventLoopSignals.java b/qtjava/javalib/org/kde/qt/QEventLoopSignals.java deleted file mode 100644 index a862a6d3..00000000 --- a/qtjava/javalib/org/kde/qt/QEventLoopSignals.java +++ /dev/null @@ -1,8 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQEventLoopSignals { - void awake(); - void aboutToBlock(); -} diff --git a/qtjava/javalib/org/kde/qt/QFile.java b/qtjava/javalib/org/kde/qt/QFile.java deleted file mode 100644 index 0cf3e69d..00000000 --- a/qtjava/javalib/org/kde/qt/QFile.java +++ /dev/null @@ -1,51 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQFile extends TQIODevice { - protected TQFile(Class dummy){super((Class) null);} - public TQFile() { - super((Class) null); - newTQFile(); - } - private native void newTQFile(); - public TQFile(String name) { - super((Class) null); - newTQFile(name); - } - private native void newTQFile(String name); - public native String name(); - public native void setName(String name); - public native boolean exists(); - public native boolean remove(); - public native boolean open(int arg1); - public native boolean open(int arg1, int arg2); - 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 long readBlock(StringBuffer data, long len); - public native long writeBlock(String data, long len); - public native long writeBlock(byte[] data); - public native long readLine(String data, long maxlen); - public native long readLine(StringBuffer arg1, long maxlen); - public native int getch(); - public native int putch(int arg1); - public native int ungetch(int arg1); - public native int handle(); - public native String errorString(); - public static native String encodeName(String fileName); - public static native String decodeName(String localFileName); - public static native boolean exists(String fileName); - public static native boolean remove(String fileName); - protected native void setErrorString(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/qtjava/javalib/org/kde/qt/QFileDialog.java b/qtjava/javalib/org/kde/qt/QFileDialog.java deleted file mode 100644 index 7986f82c..00000000 --- a/qtjava/javalib/org/kde/qt/QFileDialog.java +++ /dev/null @@ -1,155 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.ArrayList; - -/** - See {@link TQFileDialogSignals} for signals emitted by TQFileDialog -*/ -public class TQFileDialog extends TQDialog { - protected TQFileDialog(Class dummy){super((Class) null);} - public static final int AnyFile = 0; - public static final int ExistingFile = 1; - public static final int Directory = 2; - public static final int ExistingFiles = 3; - public static final int DirectoryOnly = 4; - - public static final int Detail = 0; - public static final int List = 1; - - public static final int NoPreview = 0; - public static final int Contents = 1; - public static final int Info = 2; - - public native TQMetaObject metaObject(); - public native String className(); - public TQFileDialog(String dirName, String filter, TQWidget parent, String name, boolean modal) { - super((Class) null); - newTQFileDialog(dirName,filter,parent,name,modal); - } - private native void newTQFileDialog(String dirName, String filter, TQWidget parent, String name, boolean modal); - public TQFileDialog(String dirName, String filter, TQWidget parent, String name) { - super((Class) null); - newTQFileDialog(dirName,filter,parent,name); - } - private native void newTQFileDialog(String dirName, String filter, TQWidget parent, String name); - public TQFileDialog(String dirName, String filter, TQWidget parent) { - super((Class) null); - newTQFileDialog(dirName,filter,parent); - } - private native void newTQFileDialog(String dirName, String filter, TQWidget parent); - public TQFileDialog(String dirName, String filter) { - super((Class) null); - newTQFileDialog(dirName,filter); - } - private native void newTQFileDialog(String dirName, String filter); - public TQFileDialog(String dirName) { - super((Class) null); - newTQFileDialog(dirName); - } - private native void newTQFileDialog(String dirName); - public TQFileDialog(TQWidget parent, String name, boolean modal) { - super((Class) null); - newTQFileDialog(parent,name,modal); - } - private native void newTQFileDialog(TQWidget parent, String name, boolean modal); - public TQFileDialog(TQWidget parent, String name) { - super((Class) null); - newTQFileDialog(parent,name); - } - private native void newTQFileDialog(TQWidget parent, String name); - public TQFileDialog(TQWidget parent) { - super((Class) null); - newTQFileDialog(parent); - } - private native void newTQFileDialog(TQWidget parent); - public TQFileDialog() { - super((Class) null); - newTQFileDialog(); - } - private native void newTQFileDialog(); - public native String selectedFile(); - public native String selectedFilter(); - public native void setSelectedFilter(String arg1); - public native void setSelectedFilter(int arg1); - public native void setSelection(String arg1); - public native void selectAll(boolean b); - public native ArrayList selectedFiles(); - public native String dirPath(); - public native void setDir(TQDir arg1); - public native TQDir dir(); - public native void setShowHiddenFiles(boolean s); - public native boolean showHiddenFiles(); - public native void rereadDir(); - public native void resortDir(); - public native void setMode(int arg1); - public native int mode(); - public native void setViewMode(int m); - public native int viewMode(); - public native void setPreviewMode(int m); - public native int previewMode(); - public native boolean eventFilter(TQObject arg1, TQEvent arg2); - public native boolean isInfoPreviewEnabled(); - public native boolean isContentsPreviewEnabled(); - public native void setInfoPreviewEnabled(boolean arg1); - public native void setContentsPreviewEnabled(boolean arg1); - public native void setInfoPreview(TQWidget w, TQFilePreview preview); - public native void setContentsPreview(TQWidget w, TQFilePreview preview); - public native TQUrlInterface url(); - public native void addFilter(String filter); - public native void done(int arg1); - public native void setDir(String arg1); - public native void setUrl(TQUrlOperator url); - public native void setFilter(String arg1); - public native void setFilters(String arg1); - public native void setFilters(String[] arg1); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - public static native String getOpenFileName(String initially, String filter, TQWidget parent, String name, String caption, StringBuffer selectedFilter, boolean resolveSymlinks); - public static native String getOpenFileName(String initially, String filter, TQWidget parent, String name, String caption, StringBuffer selectedFilter); - public static native String getOpenFileName(String initially, String filter, TQWidget parent, String name, String caption); - public static native String getOpenFileName(String initially, String filter, TQWidget parent, String name); - public static native String getOpenFileName(String initially, String filter, TQWidget parent); - public static native String getOpenFileName(String initially, String filter); - public static native String getOpenFileName(String initially); - public static native String getOpenFileName(); - public static native String getSaveFileName(String initially, String filter, TQWidget parent, String name, String caption, StringBuffer selectedFilter, boolean resolveSymlinks); - public static native String getSaveFileName(String initially, String filter, TQWidget parent, String name, String caption, StringBuffer selectedFilter); - public static native String getSaveFileName(String initially, String filter, TQWidget parent, String name, String caption); - public static native String getSaveFileName(String initially, String filter, TQWidget parent, String name); - public static native String getSaveFileName(String initially, String filter, TQWidget parent); - public static native String getSaveFileName(String initially, String filter); - public static native String getSaveFileName(String initially); - public static native String getSaveFileName(); - public static native String getExistingDirectory(String dir, TQWidget parent, String name, String caption, boolean dirOnly, boolean resolveSymlinks); - public static native String getExistingDirectory(String dir, TQWidget parent, String name, String caption, boolean dirOnly); - public static native String getExistingDirectory(String dir, TQWidget parent, String name, String caption); - public static native String getExistingDirectory(String dir, TQWidget parent, String name); - public static native String getExistingDirectory(String dir, TQWidget parent); - public static native String getExistingDirectory(String dir); - public static native String getExistingDirectory(); - public static native ArrayList getOpenFileNames(String filter, String dir, TQWidget parent, String name, String caption, StringBuffer selectedFilter, boolean resolveSymlinks); - public static native ArrayList getOpenFileNames(String filter, String dir, TQWidget parent, String name, String caption, StringBuffer selectedFilter); - public static native ArrayList getOpenFileNames(String filter, String dir, TQWidget parent, String name, String caption); - public static native ArrayList getOpenFileNames(String filter, String dir, TQWidget parent, String name); - public static native ArrayList getOpenFileNames(String filter, String dir, TQWidget parent); - public static native ArrayList getOpenFileNames(String filter, String dir); - public static native ArrayList getOpenFileNames(String filter); - public static native ArrayList getOpenFileNames(); - public static native void setIconProvider(TQFileIconProvider arg1); - public static native TQFileIconProvider iconProvider(); - protected native void resizeEvent(TQResizeEvent arg1); - protected native void keyPressEvent(TQKeyEvent arg1); - protected native void addWidgets(TQLabel arg1, TQWidget arg2, TQPushButton arg3); - protected native void addToolButton(TQButton b, boolean separator); - protected native void addToolButton(TQButton b); - protected native void addLeftWidget(TQWidget w); - protected native void addRightWidget(TQWidget w); - /** 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/qtjava/javalib/org/kde/qt/QFileDialogSignals.java b/qtjava/javalib/org/kde/qt/QFileDialogSignals.java deleted file mode 100644 index d3cc06a0..00000000 --- a/qtjava/javalib/org/kde/qt/QFileDialogSignals.java +++ /dev/null @@ -1,12 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import java.util.ArrayList; - -public interface TQFileDialogSignals { - void fileHighlighted(String arg1); - void fileSelected(String arg1); - void filesSelected(String[] arg1); - void dirEntered(String arg1); - void filterSelected(String arg1); -} diff --git a/qtjava/javalib/org/kde/qt/QFileIconProvider.java b/qtjava/javalib/org/kde/qt/QFileIconProvider.java deleted file mode 100644 index 1bea9b41..00000000 --- a/qtjava/javalib/org/kde/qt/QFileIconProvider.java +++ /dev/null @@ -1,34 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQFileIconProvider extends TQObject { - protected TQFileIconProvider(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQFileIconProvider(TQObject parent, String name) { - super((Class) null); - newTQFileIconProvider(parent,name); - } - private native void newTQFileIconProvider(TQObject parent, String name); - public TQFileIconProvider(TQObject parent) { - super((Class) null); - newTQFileIconProvider(parent); - } - private native void newTQFileIconProvider(TQObject parent); - public TQFileIconProvider() { - super((Class) null); - newTQFileIconProvider(); - } - private native void newTQFileIconProvider(); - public native TQPixmap pixmap(TQFileInfo arg1); - public static native String tr(String arg1, String arg2); - public static native String tr(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/qtjava/javalib/org/kde/qt/QFileInfo.java b/qtjava/javalib/org/kde/qt/QFileInfo.java deleted file mode 100644 index 5c342676..00000000 --- a/qtjava/javalib/org/kde/qt/QFileInfo.java +++ /dev/null @@ -1,88 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.Calendar; - -public class TQFileInfo implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQFileInfo(Class dummy){} - - public static final int ReadOwner = 04000; - public static final int WriteOwner = 02000; - public static final int ExeOwner = 01000; - public static final int ReadUser = 00400; - public static final int WriteUser = 00200; - public static final int ExeUser = 00100; - public static final int ReadGroup = 00040; - public static final int WriteGroup = 00020; - public static final int ExeGroup = 00010; - public static final int ReadOther = 00004; - public static final int WriteOther = 00002; - public static final int ExeOther = 00001; - - public TQFileInfo() { - newTQFileInfo(); - } - private native void newTQFileInfo(); - public TQFileInfo(String file) { - newTQFileInfo(file); - } - private native void newTQFileInfo(String file); - public TQFileInfo(TQFile arg1) { - newTQFileInfo(arg1); - } - private native void newTQFileInfo(TQFile arg1); - public TQFileInfo(TQDir arg1, String fileName) { - newTQFileInfo(arg1,fileName); - } - private native void newTQFileInfo(TQDir arg1, String fileName); - public TQFileInfo(TQFileInfo arg1) { - newTQFileInfo(arg1); - } - private native void newTQFileInfo(TQFileInfo arg1); - public native void setFile(String file); - public native void setFile(TQFile arg1); - public native void setFile(TQDir arg1, String fileName); - public native boolean exists(); - public native void refresh(); - public native boolean caching(); - public native void setCaching(boolean arg1); - public native String filePath(); - public native String fileName(); - public native String absFilePath(); - public native String baseName(boolean complete); - public native String baseName(); - public native String extension(boolean complete); - public native String extension(); - public native String dirPath(boolean absPath); - public native String dirPath(); - public native TQDir dir(boolean absPath); - public native TQDir dir(); - public native boolean isReadable(); - public native boolean isWritable(); - public native boolean isExecutable(); - public native boolean isHidden(); - public native boolean isRelative(); - public native boolean convertToAbs(); - public native boolean isFile(); - public native boolean isDir(); - public native boolean isSymLink(); - public native String readLink(); - public native String owner(); - public native int ownerId(); - public native String group(); - public native int groupId(); - public native boolean permission(int permissionSpec); - public native long size(); - public native Calendar created(); - public native Calendar lastModified(); - public native Calendar lastRead(); - /** 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/qtjava/javalib/org/kde/qt/QFilePreview.java b/qtjava/javalib/org/kde/qt/QFilePreview.java deleted file mode 100644 index 709be1d9..00000000 --- a/qtjava/javalib/org/kde/qt/QFilePreview.java +++ /dev/null @@ -1,12 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQFilePreview implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQFilePreview(Class dummy){} - - public native void previewUrl(TQUrlInterface url); -} diff --git a/qtjava/javalib/org/kde/qt/QFocusData.java b/qtjava/javalib/org/kde/qt/QFocusData.java deleted file mode 100644 index 077ede4e..00000000 --- a/qtjava/javalib/org/kde/qt/QFocusData.java +++ /dev/null @@ -1,18 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQFocusData implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQFocusData(Class dummy){} - - public native TQWidget focusWidget(); - public native TQWidget home(); - public native TQWidget next(); - public native TQWidget prev(); - public native TQWidget first(); - public native TQWidget last(); - public native int count(); -} diff --git a/qtjava/javalib/org/kde/qt/QFocusEvent.java b/qtjava/javalib/org/kde/qt/QFocusEvent.java deleted file mode 100644 index 4975e017..00000000 --- a/qtjava/javalib/org/kde/qt/QFocusEvent.java +++ /dev/null @@ -1,32 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQFocusEvent extends TQEvent { - protected TQFocusEvent(Class dummy){super((Class) null);} - public static final int Mouse = 0; - public static final int Tab = 1; - public static final int Backtab = 2; - public static final int ActiveWindow = 3; - public static final int Popup = 4; - public static final int Shortcut = 5; - public static final int Other = 6; - - public TQFocusEvent(int type) { - super((Class) null); - newTQFocusEvent(type); - } - private native void newTQFocusEvent(int type); - public native boolean gotFocus(); - public native boolean lostFocus(); - public static native int reason(); - public static native void setReason(int reason); - public static native void resetReason(); - /** 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/qtjava/javalib/org/kde/qt/QFont.java b/qtjava/javalib/org/kde/qt/QFont.java deleted file mode 100644 index 0f132129..00000000 --- a/qtjava/javalib/org/kde/qt/QFont.java +++ /dev/null @@ -1,203 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.ArrayList; - -public class TQFont implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQFont(Class dummy){} - - public static final int Helvetica = 0; - public static final int SansSerif = Helvetica; - public static final int Times = 1; - public static final int Serif = Times; - public static final int Courier = 2; - public static final int TypeWriter = Courier; - public static final int OldEnglish = 3; - public static final int Decorative = OldEnglish; - public static final int System = 4; - public static final int AnyStyle = 5; - - public static final int PreferDefault = 0x0001; - public static final int PreferBitmap = 0x0002; - public static final int PreferDevice = 0x0004; - public static final int PreferOutline = 0x0008; - public static final int ForceOutline = 0x0010; - public static final int PreferMatch = 0x0020; - public static final int PreferQuality = 0x0040; - public static final int PreferAntialias = 0x0080; - public static final int NoAntialias = 0x0100; - public static final int OpenGLCompatible = 0x0200; - - public static final int Light = 25; - public static final int Normal = 50; - public static final int DemiBold = 63; - public static final int Bold = 75; - public static final int Black = 87; - - public static final int UltraCondensed = 50; - public static final int ExtraCondensed = 62; - public static final int Condensed = 75; - public static final int SemiCondensed = 87; - public static final int Unstretched = 100; - public static final int SemiExpanded = 112; - public static final int Expanded = 125; - public static final int ExtraExpanded = 150; - public static final int UltraExpanded = 200; - - public static final int Latin = 0; - public static final int Greek = 1; - public static final int Cyrillic = 2; - public static final int Armenian = 3; - public static final int Georgian = 4; - public static final int Runic = 5; - public static final int Ogham = 6; - public static final int SpacingModifiers = 7; - public static final int CombiningMarks = 8; - public static final int Hebrew = 9; - public static final int Arabic = 10; - public static final int Syriac = 11; - public static final int Thaana = 12; - public static final int Devanagari = 13; - public static final int Bengali = 14; - public static final int Gurmukhi = 15; - public static final int Gujarati = 16; - public static final int Oriya = 17; - public static final int Tamil = 18; - public static final int Telugu = 19; - public static final int Kannada = 20; - public static final int Malayalam = 21; - public static final int Sinhala = 22; - public static final int Thai = 23; - public static final int Lao = 24; - public static final int Tibetan = 25; - public static final int Myanmar = 26; - public static final int Khmer = 27; - public static final int Han = 28; - public static final int Hiragana = 29; - public static final int Katakana = 30; - public static final int Hangul = 31; - public static final int Bopomofo = 32; - public static final int Yi = 33; - public static final int Ethiopic = 34; - public static final int Cherokee = 35; - public static final int CanadianAboriginal = 36; - public static final int Mongolian = 37; - public static final int CurrencySymbols = 38; - public static final int LetterlikeSymbols = 39; - public static final int NumberForms = 40; - public static final int MathematicalOperators = 41; - public static final int TechnicalSymbols = 42; - public static final int GeometricSymbols = 43; - public static final int MiscellaneousSymbols = 44; - public static final int EnclosedAndSquare = 45; - public static final int Braille = 46; - public static final int Unicode = 47; - public static final int Tagalog = 48; - public static final int Hanunoo = 49; - public static final int Buhid = 50; - public static final int Tagbanwa = 51; - public static final int KatakanaHalfWidth = 52; - public static final int Limbu = 53; - public static final int TaiLe = 54; - public static final int NScripts = 55; - public static final int UnknownScript = NScripts; - public static final int NoScript = 56; - public static final int Han_Japanese = 57; - public static final int Han_SimplifiedChinese = 58; - public static final int Han_TraditionalChinese = 59; - public static final int Han_Korean = 60; - public static final int LastPrivateScript = 61; - - public TQFont() { - newTQFont(); - } - private native void newTQFont(); - public TQFont(String family, int pointSize, int weight, boolean italic) { - newTQFont(family,pointSize,weight,italic); - } - private native void newTQFont(String family, int pointSize, int weight, boolean italic); - public TQFont(String family, int pointSize, int weight) { - newTQFont(family,pointSize,weight); - } - private native void newTQFont(String family, int pointSize, int weight); - public TQFont(String family, int pointSize) { - newTQFont(family,pointSize); - } - private native void newTQFont(String family, int pointSize); - public TQFont(String family) { - newTQFont(family); - } - private native void newTQFont(String family); - public TQFont(TQFont arg1) { - newTQFont(arg1); - } - private native void newTQFont(TQFont arg1); - public native String family(); - public native void setFamily(String arg1); - public native int pointSize(); - public native float pointSizeFloat(); - public native void setPointSize(int arg1); - public native void setPointSizeFloat(float arg1); - public native int pixelSize(); - public native void setPixelSize(int arg1); - public native void setPixelSizeFloat(float arg1); - public native int weight(); - public native void setWeight(int arg1); - public native boolean bold(); - public native void setBold(boolean arg1); - public native boolean italic(); - public native void setItalic(boolean arg1); - public native boolean underline(); - public native void setUnderline(boolean arg1); - public native boolean overline(); - public native void setOverline(boolean arg1); - public native boolean strikeOut(); - public native void setStrikeOut(boolean arg1); - public native boolean fixedPitch(); - public native void setFixedPitch(boolean arg1); - public native int styleHint(); - public native int styleStrategy(); - public native void setStyleHint(int arg1, int arg2); - public native void setStyleHint(int arg1); - public native void setStyleStrategy(int s); - public native int stretch(); - public native void setStretch(int arg1); - public native boolean rawMode(); - public native void setRawMode(boolean arg1); - public native boolean exactMatch(); - public native boolean op_equals(TQFont arg1); - public native boolean op_not_equals(TQFont arg1); - public native boolean isCopyOf(TQFont arg1); - public native int handle(); - public native void setRawName(String arg1); - public native String rawName(); - public native String key(); - public native String toString(); - public native boolean fromString(String arg1); - public native String defaultFamily(); - public native String lastResortFamily(); - public native String lastResortFont(); - public native TQFont resolve(TQFont arg1); - public static native String substitute(String arg1); - public static native ArrayList substitutes(String arg1); - public static native ArrayList substitutions(); - public static native void insertSubstitution(String arg1, String arg2); - public static native void insertSubstitutions(String arg1, String[] arg2); - public static native void removeSubstitution(String arg1); - public static native void initialize(); - public static native void cleanup(); - public static native void cacheStatistics(); - public static native TQFont defaultFont(); - public static native void setDefaultFont(TQFont arg1); - protected native boolean dirty(); - protected native int deciPointSize(); - /** 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/qtjava/javalib/org/kde/qt/QFontDatabase.java b/qtjava/javalib/org/kde/qt/QFontDatabase.java deleted file mode 100644 index ded9a857..00000000 --- a/qtjava/javalib/org/kde/qt/QFontDatabase.java +++ /dev/null @@ -1,56 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.ArrayList; - -public class TQFontDatabase implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQFontDatabase(Class dummy){} - - public TQFontDatabase() { - newTQFontDatabase(); - } - private native void newTQFontDatabase(); - public native ArrayList families(); - public native ArrayList families(int arg1); - public native ArrayList styles(String arg1); - public native int[] pointSizes(String arg1, String arg2); - public native int[] pointSizes(String arg1); - public native int[] smoothSizes(String arg1, String arg2); - public native String styleString(TQFont arg1); - public native TQFont font(String arg1, String arg2, int arg3); - public native boolean isBitmapScalable(String arg1, String arg2); - public native boolean isBitmapScalable(String arg1); - public native boolean isSmoothlyScalable(String arg1, String arg2); - public native boolean isSmoothlyScalable(String arg1); - public native boolean isScalable(String arg1, String arg2); - public native boolean isScalable(String arg1); - public native boolean isFixedPitch(String arg1, String arg2); - public native boolean isFixedPitch(String arg1); - public native boolean italic(String arg1, String arg2); - public native boolean bold(String arg1, String arg2); - public native int weight(String arg1, String arg2); - public native ArrayList families(boolean arg1); - public native ArrayList styles(String arg1, String arg2); - public native int[] pointSizes(String arg1, String arg2, String arg3); - public native int[] smoothSizes(String arg1, String arg2, String arg3); - public native TQFont font(String arg1, String arg2, int arg3, String arg4); - public native boolean isBitmapScalable(String arg1, String arg2, String arg3); - public native boolean isSmoothlyScalable(String arg1, String arg2, String arg3); - public native boolean isScalable(String arg1, String arg2, String arg3); - public native boolean isFixedPitch(String arg1, String arg2, String arg3); - public native boolean italic(String arg1, String arg2, String arg3); - public native boolean bold(String arg1, String arg2, String arg3); - public native int weight(String arg1, String arg2, String arg3); - public static native int[] standardSizes(); - public static native String scriptName(int arg1); - public static native String scriptSample(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/qtjava/javalib/org/kde/qt/QFontDialog.java b/qtjava/javalib/org/kde/qt/QFontDialog.java deleted file mode 100644 index bcedb8ad..00000000 --- a/qtjava/javalib/org/kde/qt/QFontDialog.java +++ /dev/null @@ -1,18 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQFontDialog extends TQDialog { - protected TQFontDialog(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - public static native TQFont getFont(boolean[] ok, TQFont def, TQWidget parent, String name); - public static native TQFont getFont(boolean[] ok, TQFont def, TQWidget parent); - public static native TQFont getFont(boolean[] ok, TQFont def); - public static native TQFont getFont(boolean[] ok, TQWidget parent, String name); - public static native TQFont getFont(boolean[] ok, TQWidget parent); - public static native TQFont getFont(boolean[] ok); -} diff --git a/qtjava/javalib/org/kde/qt/QFontInfo.java b/qtjava/javalib/org/kde/qt/QFontInfo.java deleted file mode 100644 index 0f57901b..00000000 --- a/qtjava/javalib/org/kde/qt/QFontInfo.java +++ /dev/null @@ -1,42 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQFontInfo implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQFontInfo(Class dummy){} - - public TQFontInfo(TQFont arg1) { - newTQFontInfo(arg1); - } - private native void newTQFontInfo(TQFont arg1); - public TQFontInfo(TQFont arg1, int arg2) { - newTQFontInfo(arg1,arg2); - } - private native void newTQFontInfo(TQFont arg1, int arg2); - public TQFontInfo(TQFontInfo arg1) { - newTQFontInfo(arg1); - } - private native void newTQFontInfo(TQFontInfo arg1); - public native String family(); - public native int pixelSize(); - public native int pointSize(); - public native boolean italic(); - public native int weight(); - public native boolean bold(); - public native boolean underline(); - public native boolean overline(); - public native boolean strikeOut(); - public native boolean fixedPitch(); - public native int styleHint(); - public native boolean rawMode(); - public native boolean exactMatch(); - /** 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/qtjava/javalib/org/kde/qt/QFontMetrics.java b/qtjava/javalib/org/kde/qt/QFontMetrics.java deleted file mode 100644 index 6c1f61ea..00000000 --- a/qtjava/javalib/org/kde/qt/QFontMetrics.java +++ /dev/null @@ -1,61 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQFontMetrics implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQFontMetrics(Class dummy){} - - public TQFontMetrics(TQFont arg1) { - newTQFontMetrics(arg1); - } - private native void newTQFontMetrics(TQFont arg1); - public TQFontMetrics(TQFont arg1, int arg2) { - newTQFontMetrics(arg1,arg2); - } - private native void newTQFontMetrics(TQFont arg1, int arg2); - public TQFontMetrics(TQFontMetrics arg1) { - newTQFontMetrics(arg1); - } - private native void newTQFontMetrics(TQFontMetrics arg1); - public native int ascent(); - public native int descent(); - public native int height(); - public native int leading(); - public native int lineSpacing(); - public native int minLeftBearing(); - public native int minRightBearing(); - public native int maxWidth(); - public native boolean inFont(char arg1); - public native int leftBearing(char arg1); - public native int rightBearing(char arg1); - public native int width(String arg1, int len); - public native int width(String arg1); - public native int width(char arg1); - public native int charWidth(String str, int pos); - public native TQRect boundingRect(String arg1, int len); - public native TQRect boundingRect(String arg1); - public native TQRect boundingRect(char arg1); - // TQRect boundingRect(int arg1,int arg2,int arg3,int arg4,int arg5,const TQString& arg6,int arg7,int arg8,int* arg9,TQTextParag** arg10); >>>> NOT CONVERTED - public native TQRect boundingRect(int x, int y, int w, int h, int flags, String str, int len, int tabstops, int[] tabarray); - public native TQRect boundingRect(int x, int y, int w, int h, int flags, String str, int len, int tabstops); - public native TQRect boundingRect(int x, int y, int w, int h, int flags, String str, int len); - public native TQRect boundingRect(int x, int y, int w, int h, int flags, String str); - // TQSize size(int arg1,const TQString& arg2,int arg3,int arg4,int* arg5,TQTextParag** arg6); >>>> NOT CONVERTED - public native TQSize size(int flags, String str, int len, int tabstops, int[] tabarray); - public native TQSize size(int flags, String str, int len, int tabstops); - public native TQSize size(int flags, String str, int len); - public native TQSize size(int flags, String str); - public native int underlinePos(); - public native int overlinePos(); - public native int strikeOutPos(); - public native int lineWidth(); - /** 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/qtjava/javalib/org/kde/qt/QFrame.java b/qtjava/javalib/org/kde/qt/QFrame.java deleted file mode 100644 index 81ccfe4f..00000000 --- a/qtjava/javalib/org/kde/qt/QFrame.java +++ /dev/null @@ -1,82 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQFrame extends TQWidget { - protected TQFrame(Class dummy){super((Class) null);} - public static final int NoFrame = 0; - public static final int Box = 0x0001; - public static final int Panel = 0x0002; - public static final int WinPanel = 0x0003; - public static final int HLine = 0x0004; - public static final int VLine = 0x0005; - public static final int StyledPanel = 0x0006; - public static final int PopupPanel = 0x0007; - public static final int MenuBarPanel = 0x0008; - public static final int ToolBarPanel = 0x0009; - public static final int LineEditPanel = 0x000a; - public static final int TabWidgetPanel = 0x000b; - public static final int GroupBoxPanel = 0x000c; - public static final int MShape = 0x000f; - - public static final int Plain = 0x0010; - public static final int Raised = 0x0020; - public static final int Sunken = 0x0030; - public static final int MShadow = 0x00f0; - - public native TQMetaObject metaObject(); - public native String className(); - public TQFrame(TQWidget parent, String name, int f) { - super((Class) null); - newTQFrame(parent,name,f); - } - private native void newTQFrame(TQWidget parent, String name, int f); - public TQFrame(TQWidget parent, String name) { - super((Class) null); - newTQFrame(parent,name); - } - private native void newTQFrame(TQWidget parent, String name); - public TQFrame(TQWidget parent) { - super((Class) null); - newTQFrame(parent); - } - private native void newTQFrame(TQWidget parent); - public TQFrame() { - super((Class) null); - newTQFrame(); - } - private native void newTQFrame(); - public native int frameStyle(); - public native void setFrameStyle(int arg1); - public native int frameWidth(); - public native TQRect contentsRect(); - public native boolean lineShapesOk(); - public native TQSize sizeHint(); - public native int frameShape(); - public native void setFrameShape(int arg1); - public native int frameShadow(); - public native void setFrameShadow(int arg1); - public native int lineWidth(); - public native void setLineWidth(int arg1); - public native int margin(); - public native void setMargin(int arg1); - public native int midLineWidth(); - public native void setMidLineWidth(int arg1); - public native TQRect frameRect(); - public native void setFrameRect(TQRect arg1); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void paintEvent(TQPaintEvent arg1); - protected native void resizeEvent(TQResizeEvent arg1); - protected native void drawFrame(TQPainter arg1); - protected native void drawContents(TQPainter arg1); - protected native void frameChanged(); - public native void styleChange(TQStyle 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/qtjava/javalib/org/kde/qt/QFtp.java b/qtjava/javalib/org/kde/qt/QFtp.java deleted file mode 100644 index b6d7d843..00000000 --- a/qtjava/javalib/org/kde/qt/QFtp.java +++ /dev/null @@ -1,110 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQFtpSignals} for signals emitted by TQFtp -*/ -public class TQFtp extends TQNetworkProtocol { - protected TQFtp(Class dummy){super((Class) null);} - public static final int Unconnected = 0; - public static final int HostLookup = 1; - public static final int Connecting = 2; - public static final int Connected = 3; - public static final int LoggedIn = 4; - public static final int Closing = 5; - - public static final int NoError = 0; - public static final int UnknownError = 1; - public static final int HostNotFound = 2; - public static final int ConnectionRefused = 3; - public static final int NotConnected = 4; - - public static final int None = 0; - public static final int ConnectToHost = 1; - public static final int Login = 2; - public static final int Close = 3; - public static final int List = 4; - public static final int Cd = 5; - public static final int Get = 6; - public static final int Put = 7; - public static final int Remove = 8; - public static final int Mkdir = 9; - public static final int Rmdir = 10; - public static final int Rename = 11; - public static final int RawCommand = 12; - - public native TQMetaObject metaObject(); - public native String className(); - public TQFtp() { - super((Class) null); - newTQFtp(); - } - private native void newTQFtp(); - public TQFtp(TQObject parent, String name) { - super((Class) null); - newTQFtp(parent,name); - } - private native void newTQFtp(TQObject parent, String name); - public TQFtp(TQObject parent) { - super((Class) null); - newTQFtp(parent); - } - private native void newTQFtp(TQObject parent); - public native int supportedOperations(); - public native int connectToHost(String host, short port); - public native int connectToHost(String host); - public native int login(String user, String password); - public native int login(String user); - public native int login(); - public native int close(); - public native int list(String dir); - public native int list(); - public native int cd(String dir); - public native int get(String file, TQIODeviceInterface dev); - public native int get(String file); - public native int put(byte[] data, String file); - public native int put(TQIODeviceInterface dev, String file); - public native int remove(String file); - public native int mkdir(String dir); - public native int rmdir(String dir); - public native int rename(String oldname, String newname); - public native int rawCommand(String command); - public native long bytesAvailable(); - public native long readBlock(StringBuffer data, long maxlen); - public native byte[] readAll(); - public native int currentId(); - public native TQIODeviceInterface currentDevice(); - public native int currentCommand(); - public native boolean hasPendingCommands(); - public native void clearPendingCommands(); - public native int state(); - public native int error(); - public native String errorString(); - public native void abort(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void parseDir(String buffer, TQUrlInfo info); - protected native void operationListChildren(TQNetworkOperation op); - protected native void operationMkDir(TQNetworkOperation op); - protected native void operationRemove(TQNetworkOperation op); - protected native void operationRename(TQNetworkOperation op); - protected native void operationGet(TQNetworkOperation op); - protected native void operationPut(TQNetworkOperation op); - protected native void hostFound(); - protected native void connected(); - protected native void closed(); - protected native void dataHostFound(); - protected native void dataConnected(); - protected native void dataClosed(); - protected native void dataReadyRead(); - protected native void dataBytesWritten(int nbytes); - protected native void error(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/qtjava/javalib/org/kde/qt/QFtpSignals.java b/qtjava/javalib/org/kde/qt/QFtpSignals.java deleted file mode 100644 index bba840f4..00000000 --- a/qtjava/javalib/org/kde/qt/QFtpSignals.java +++ /dev/null @@ -1,14 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQFtpSignals { - void stateChanged(int arg1); - void listInfo(TQUrlInfo arg1); - void readyRead(); - void dataTransferProgress(int arg1, int arg2); - void rawCommandReply(int arg1, String arg2); - void commandStarted(int arg1); - void commandFinished(int arg1, boolean arg2); - void done(boolean arg1); -} diff --git a/qtjava/javalib/org/kde/qt/QGL.java b/qtjava/javalib/org/kde/qt/QGL.java deleted file mode 100644 index 4016591d..00000000 --- a/qtjava/javalib/org/kde/qt/QGL.java +++ /dev/null @@ -1,40 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQGL implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQGL(Class dummy){} - - public static final int DoubleBuffer = 0x0001; - public static final int DepthBuffer = 0x0002; - public static final int Rgba = 0x0004; - public static final int AlphaChannel = 0x0008; - public static final int AccumBuffer = 0x0010; - public static final int StencilBuffer = 0x0020; - public static final int StereoBuffers = 0x0040; - public static final int DirectRendering = 0x0080; - public static final int HasOverlay = 0x0100; - public static final int SingleBuffer = DoubleBuffer<<16; - public static final int NoDepthBuffer = DepthBuffer<<16; - public static final int ColorIndex = Rgba<<16; - public static final int NoAlphaChannel = AlphaChannel<<16; - public static final int NoAccumBuffer = AccumBuffer<<16; - public static final int NoStencilBuffer = StencilBuffer<<16; - public static final int NoStereoBuffers = StereoBuffers<<16; - public static final int IndirectRendering = DirectRendering<<16; - public static final int NoOverlay = HasOverlay<<16; - - public TQGL() { - newTQGL(); - } - private native void newTQGL(); - /** 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/qtjava/javalib/org/kde/qt/QGLColormap.java b/qtjava/javalib/org/kde/qt/QGLColormap.java deleted file mode 100644 index 72018e14..00000000 --- a/qtjava/javalib/org/kde/qt/QGLColormap.java +++ /dev/null @@ -1,36 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQGLColormap implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQGLColormap(Class dummy){} - - public TQGLColormap() { - newTQGLColormap(); - } - private native void newTQGLColormap(); - public TQGLColormap(TQGLColormap arg1) { - newTQGLColormap(arg1); - } - private native void newTQGLColormap(TQGLColormap arg1); - public native boolean isEmpty(); - public native int size(); - public native void detach(); - public native void setEntries(int count, int[] colors, int base); - public native void setEntries(int count, int[] colors); - public native void setEntry(int idx, int color); - public native void setEntry(int idx, TQColor color); - public native int entryRgb(int idx); - public native TQColor entryColor(int idx); - public native int find(int color); - public native int findNearest(int color); - /** 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/qtjava/javalib/org/kde/qt/QGLContext.java b/qtjava/javalib/org/kde/qt/QGLContext.java deleted file mode 100644 index 3a8c6058..00000000 --- a/qtjava/javalib/org/kde/qt/QGLContext.java +++ /dev/null @@ -1,49 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQGLContext extends TQGL { - protected TQGLContext(Class dummy){super((Class) null);} - public TQGLContext(TQGLFormat format, TQPaintDeviceInterface device) { - super((Class) null); - newTQGLContext(format,device); - } - private native void newTQGLContext(TQGLFormat format, TQPaintDeviceInterface device); - public TQGLContext(TQGLFormat format) { - super((Class) null); - newTQGLContext(format); - } - private native void newTQGLContext(TQGLFormat format); - public native boolean create(TQGLContext shareContext); - public native boolean create(); - public native boolean isValid(); - public native boolean isSharing(); - public native void reset(); - public native TQGLFormat format(); - public native TQGLFormat requestedFormat(); - public native void setFormat(TQGLFormat format); - public native void makeCurrent(); - public native void swapBuffers(); - public native TQPaintDeviceInterface device(); - public native TQColor overlayTransparentColor(); - public static native TQGLContext currentContext(); - protected native boolean chooseContext(TQGLContext shareContext); - protected native boolean chooseContext(); - protected native void doneCurrent(); - protected native boolean deviceIsPixmap(); - protected native boolean windowCreated(); - protected native void setWindowCreated(boolean on); - protected native boolean initialized(); - protected native void setInitialized(boolean on); - protected native void generateFontDisplayLists(TQFont fnt, int listBase); - protected native int colorIndex(TQColor c); - protected native void setValid(boolean valid); - protected native void setDevice(TQPaintDeviceInterface pDev); - /** 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/qtjava/javalib/org/kde/qt/QGLFormat.java b/qtjava/javalib/org/kde/qt/QGLFormat.java deleted file mode 100644 index b975d833..00000000 --- a/qtjava/javalib/org/kde/qt/QGLFormat.java +++ /dev/null @@ -1,57 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQGLFormat extends TQGL { - protected TQGLFormat(Class dummy){super((Class) null);} - public TQGLFormat() { - super((Class) null); - newTQGLFormat(); - } - private native void newTQGLFormat(); - public TQGLFormat(int options, int plane) { - super((Class) null); - newTQGLFormat(options,plane); - } - private native void newTQGLFormat(int options, int plane); - public TQGLFormat(int options) { - super((Class) null); - newTQGLFormat(options); - } - private native void newTQGLFormat(int options); - public native boolean doubleBuffer(); - public native void setDoubleBuffer(boolean enable); - public native boolean depth(); - public native void setDepth(boolean enable); - public native boolean rgba(); - public native void setRgba(boolean enable); - public native boolean alpha(); - public native void setAlpha(boolean enable); - public native boolean accum(); - public native void setAccum(boolean enable); - public native boolean stencil(); - public native void setStencil(boolean enable); - public native boolean stereo(); - public native void setStereo(boolean enable); - public native boolean directRendering(); - public native void setDirectRendering(boolean enable); - public native boolean hasOverlay(); - public native void setOverlay(boolean enable); - public native int plane(); - public native void setPlane(int plane); - public native void setOption(int opt); - public native boolean testOption(int opt); - public static native TQGLFormat defaultFormat(); - public static native void setDefaultFormat(TQGLFormat f); - public static native TQGLFormat defaultOverlayFormat(); - public static native void setDefaultOverlayFormat(TQGLFormat f); - public static native boolean hasOpenGL(); - public static native boolean hasOpenGLOverlays(); - /** 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/qtjava/javalib/org/kde/qt/QGLWidget.java b/qtjava/javalib/org/kde/qt/QGLWidget.java deleted file mode 100644 index a7d1fe51..00000000 --- a/qtjava/javalib/org/kde/qt/QGLWidget.java +++ /dev/null @@ -1,136 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQGLWidget extends TQGL { - protected TQGLWidget(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQGLWidget(TQWidget parent, String name, TQGLWidget shareWidget, int f) { - super((Class) null); - newTQGLWidget(parent,name,shareWidget,f); - } - private native void newTQGLWidget(TQWidget parent, String name, TQGLWidget shareWidget, int f); - public TQGLWidget(TQWidget parent, String name, TQGLWidget shareWidget) { - super((Class) null); - newTQGLWidget(parent,name,shareWidget); - } - private native void newTQGLWidget(TQWidget parent, String name, TQGLWidget shareWidget); - public TQGLWidget(TQWidget parent, String name) { - super((Class) null); - newTQGLWidget(parent,name); - } - private native void newTQGLWidget(TQWidget parent, String name); - public TQGLWidget(TQWidget parent) { - super((Class) null); - newTQGLWidget(parent); - } - private native void newTQGLWidget(TQWidget parent); - public TQGLWidget() { - super((Class) null); - newTQGLWidget(); - } - private native void newTQGLWidget(); - public TQGLWidget(TQGLContext context, TQWidget parent, String name, TQGLWidget shareWidget, int f) { - super((Class) null); - newTQGLWidget(context,parent,name,shareWidget,f); - } - private native void newTQGLWidget(TQGLContext context, TQWidget parent, String name, TQGLWidget shareWidget, int f); - public TQGLWidget(TQGLContext context, TQWidget parent, String name, TQGLWidget shareWidget) { - super((Class) null); - newTQGLWidget(context,parent,name,shareWidget); - } - private native void newTQGLWidget(TQGLContext context, TQWidget parent, String name, TQGLWidget shareWidget); - public TQGLWidget(TQGLContext context, TQWidget parent, String name) { - super((Class) null); - newTQGLWidget(context,parent,name); - } - private native void newTQGLWidget(TQGLContext context, TQWidget parent, String name); - public TQGLWidget(TQGLContext context, TQWidget parent) { - super((Class) null); - newTQGLWidget(context,parent); - } - private native void newTQGLWidget(TQGLContext context, TQWidget parent); - public TQGLWidget(TQGLFormat format, TQWidget parent, String name, TQGLWidget shareWidget, int f) { - super((Class) null); - newTQGLWidget(format,parent,name,shareWidget,f); - } - private native void newTQGLWidget(TQGLFormat format, TQWidget parent, String name, TQGLWidget shareWidget, int f); - public TQGLWidget(TQGLFormat format, TQWidget parent, String name, TQGLWidget shareWidget) { - super((Class) null); - newTQGLWidget(format,parent,name,shareWidget); - } - private native void newTQGLWidget(TQGLFormat format, TQWidget parent, String name, TQGLWidget shareWidget); - public TQGLWidget(TQGLFormat format, TQWidget parent, String name) { - super((Class) null); - newTQGLWidget(format,parent,name); - } - private native void newTQGLWidget(TQGLFormat format, TQWidget parent, String name); - public TQGLWidget(TQGLFormat format, TQWidget parent) { - super((Class) null); - newTQGLWidget(format,parent); - } - private native void newTQGLWidget(TQGLFormat format, TQWidget parent); - public TQGLWidget(TQGLFormat format) { - super((Class) null); - newTQGLWidget(format); - } - private native void newTQGLWidget(TQGLFormat format); - public native void qglColor(TQColor c); - public native void qglClearColor(TQColor c); - public native boolean isValid(); - public native boolean isSharing(); - public native void makeCurrent(); - public native void doneCurrent(); - public native boolean doubleBuffer(); - public native void swapBuffers(); - public native TQGLFormat format(); - public native void setFormat(TQGLFormat format); - public native TQGLContext context(); - public native void setContext(TQGLContext context, TQGLContext shareContext, boolean deleteOldContext); - public native void setContext(TQGLContext context, TQGLContext shareContext); - public native void setContext(TQGLContext context); - public native TQPixmap renderPixmap(int w, int h, boolean useContext); - public native TQPixmap renderPixmap(int w, int h); - public native TQPixmap renderPixmap(int w); - public native TQPixmap renderPixmap(); - public native TQImage grabFrameBuffer(boolean withAlpha); - public native TQImage grabFrameBuffer(); - public native void makeOverlayCurrent(); - public native TQGLContext overlayContext(); - public native void setMouseTracking(boolean enable); - public native void reparent(TQWidget parent, int f, TQPoint p, boolean showIt); - public native void reparent(TQWidget parent, int f, TQPoint p); - public native TQGLColormap colormap(); - public native void setColormap(TQGLColormap map); - public native void renderText(int x, int y, String str, TQFont fnt, int listBase); - public native void renderText(int x, int y, String str, TQFont fnt); - public native void renderText(int x, int y, String str); - public native void renderText(double x, double y, double z, String str, TQFont fnt, int listBase); - public native void renderText(double x, double y, double z, String str, TQFont fnt); - public native void renderText(double x, double y, double z, String str); - public native void updateGL(); - public native void updateOverlayGL(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - public static native TQImage convertToGLFormat(TQImage img); - protected native void initializeGL(); - protected native void resizeGL(int w, int h); - protected native void paintGL(); - protected native void initializeOverlayGL(); - protected native void resizeOverlayGL(int w, int h); - protected native void paintOverlayGL(); - protected native void setAutoBufferSwap(boolean on); - protected native boolean autoBufferSwap(); - protected native void paintEvent(TQPaintEvent arg1); - protected native void resizeEvent(TQResizeEvent arg1); - protected native void glInit(); - protected native void glDraw(); - /** 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/qtjava/javalib/org/kde/qt/QGb18030Codec.java b/qtjava/javalib/org/kde/qt/QGb18030Codec.java deleted file mode 100644 index b01f1fc7..00000000 --- a/qtjava/javalib/org/kde/qt/QGb18030Codec.java +++ /dev/null @@ -1,26 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQGb18030Codec extends TQTextCodec { - protected TQGb18030Codec(Class dummy){super((Class) null);} - public TQGb18030Codec() { - super((Class) null); - newTQGb18030Codec(); - } - private native void newTQGb18030Codec(); - public native int mibEnum(); - public native String name(); - public native TQTextDecoder makeDecoder(); - public native String fromUnicode(String uc, int[] lenInOut); - public native String toUnicode(String chars, int len); - public native int heuristicContentMatch(String chars, int len); - public native int heuristicNameMatch(String hint); - /** 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/qtjava/javalib/org/kde/qt/QGbkCodec.java b/qtjava/javalib/org/kde/qt/QGbkCodec.java deleted file mode 100644 index 08def7a2..00000000 --- a/qtjava/javalib/org/kde/qt/QGbkCodec.java +++ /dev/null @@ -1,26 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQGbkCodec extends TQGb18030Codec { - protected TQGbkCodec(Class dummy){super((Class) null);} - public TQGbkCodec() { - super((Class) null); - newTQGbkCodec(); - } - private native void newTQGbkCodec(); - public native int mibEnum(); - public native String name(); - public native TQTextDecoder makeDecoder(); - public native String fromUnicode(String uc, int[] lenInOut); - public native String toUnicode(String chars, int len); - public native int heuristicContentMatch(String chars, int len); - public native int heuristicNameMatch(String hint); - /** 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/qtjava/javalib/org/kde/qt/QGrid.java b/qtjava/javalib/org/kde/qt/QGrid.java deleted file mode 100644 index 93e1f322..00000000 --- a/qtjava/javalib/org/kde/qt/QGrid.java +++ /dev/null @@ -1,61 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQGrid extends TQFrame { - protected TQGrid(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQGrid(int n, TQWidget parent, String name, int f) { - super((Class) null); - newTQGrid(n,parent,name,f); - } - private native void newTQGrid(int n, TQWidget parent, String name, int f); - public TQGrid(int n, TQWidget parent, String name) { - super((Class) null); - newTQGrid(n,parent,name); - } - private native void newTQGrid(int n, TQWidget parent, String name); - public TQGrid(int n, TQWidget parent) { - super((Class) null); - newTQGrid(n,parent); - } - private native void newTQGrid(int n, TQWidget parent); - public TQGrid(int n) { - super((Class) null); - newTQGrid(n); - } - private native void newTQGrid(int n); - public TQGrid(int n, int orient, TQWidget parent, String name, int f) { - super((Class) null); - newTQGrid(n,orient,parent,name,f); - } - private native void newTQGrid(int n, int orient, TQWidget parent, String name, int f); - public TQGrid(int n, int orient, TQWidget parent, String name) { - super((Class) null); - newTQGrid(n,orient,parent,name); - } - private native void newTQGrid(int n, int orient, TQWidget parent, String name); - public TQGrid(int n, int orient, TQWidget parent) { - super((Class) null); - newTQGrid(n,orient,parent); - } - private native void newTQGrid(int n, int orient, TQWidget parent); - public TQGrid(int n, int orient) { - super((Class) null); - newTQGrid(n,orient); - } - private native void newTQGrid(int n, int orient); - public native void setSpacing(int arg1); - public native TQSize sizeHint(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void frameChanged(); - /** 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/qtjava/javalib/org/kde/qt/QGridLayout.java b/qtjava/javalib/org/kde/qt/QGridLayout.java deleted file mode 100644 index de127be3..00000000 --- a/qtjava/javalib/org/kde/qt/QGridLayout.java +++ /dev/null @@ -1,142 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQGridLayout extends TQLayout { - protected TQGridLayout(Class dummy){super((Class) null);} - public static final int TopLeft = 0; - public static final int TopRight = 1; - public static final int BottomLeft = 2; - public static final int BottomRight = 3; - - public native TQMetaObject metaObject(); - public native String className(); - public TQGridLayout(TQWidget parent, int nRows, int nCols, int border, int spacing, String name) { - super((Class) null); - newTQGridLayout(parent,nRows,nCols,border,spacing,name); - } - private native void newTQGridLayout(TQWidget parent, int nRows, int nCols, int border, int spacing, String name); - public TQGridLayout(TQWidget parent, int nRows, int nCols, int border, int spacing) { - super((Class) null); - newTQGridLayout(parent,nRows,nCols,border,spacing); - } - private native void newTQGridLayout(TQWidget parent, int nRows, int nCols, int border, int spacing); - public TQGridLayout(TQWidget parent, int nRows, int nCols, int border) { - super((Class) null); - newTQGridLayout(parent,nRows,nCols,border); - } - private native void newTQGridLayout(TQWidget parent, int nRows, int nCols, int border); - public TQGridLayout(TQWidget parent, int nRows, int nCols) { - super((Class) null); - newTQGridLayout(parent,nRows,nCols); - } - private native void newTQGridLayout(TQWidget parent, int nRows, int nCols); - public TQGridLayout(TQWidget parent, int nRows) { - super((Class) null); - newTQGridLayout(parent,nRows); - } - private native void newTQGridLayout(TQWidget parent, int nRows); - public TQGridLayout(TQWidget parent) { - super((Class) null); - newTQGridLayout(parent); - } - private native void newTQGridLayout(TQWidget parent); - public TQGridLayout(int nRows, int nCols, int spacing, String name) { - super((Class) null); - newTQGridLayout(nRows,nCols,spacing,name); - } - private native void newTQGridLayout(int nRows, int nCols, int spacing, String name); - public TQGridLayout(int nRows, int nCols, int spacing) { - super((Class) null); - newTQGridLayout(nRows,nCols,spacing); - } - private native void newTQGridLayout(int nRows, int nCols, int spacing); - public TQGridLayout(int nRows, int nCols) { - super((Class) null); - newTQGridLayout(nRows,nCols); - } - private native void newTQGridLayout(int nRows, int nCols); - public TQGridLayout(int nRows) { - super((Class) null); - newTQGridLayout(nRows); - } - private native void newTQGridLayout(int nRows); - public TQGridLayout() { - super((Class) null); - newTQGridLayout(); - } - private native void newTQGridLayout(); - public TQGridLayout(TQLayout parentLayout, int nRows, int nCols, int spacing, String name) { - super((Class) null); - newTQGridLayout(parentLayout,nRows,nCols,spacing,name); - } - private native void newTQGridLayout(TQLayout parentLayout, int nRows, int nCols, int spacing, String name); - public TQGridLayout(TQLayout parentLayout, int nRows, int nCols, int spacing) { - super((Class) null); - newTQGridLayout(parentLayout,nRows,nCols,spacing); - } - private native void newTQGridLayout(TQLayout parentLayout, int nRows, int nCols, int spacing); - public TQGridLayout(TQLayout parentLayout, int nRows, int nCols) { - super((Class) null); - newTQGridLayout(parentLayout,nRows,nCols); - } - private native void newTQGridLayout(TQLayout parentLayout, int nRows, int nCols); - public TQGridLayout(TQLayout parentLayout, int nRows) { - super((Class) null); - newTQGridLayout(parentLayout,nRows); - } - private native void newTQGridLayout(TQLayout parentLayout, int nRows); - public TQGridLayout(TQLayout parentLayout) { - super((Class) null); - newTQGridLayout(parentLayout); - } - private native void newTQGridLayout(TQLayout parentLayout); - public native TQSize sizeHint(); - public native TQSize minimumSize(); - public native TQSize maximumSize(); - public native void setRowStretch(int row, int stretch); - public native void setColStretch(int col, int stretch); - public native int rowStretch(int row); - public native int colStretch(int col); - public native void setRowSpacing(int row, int minSize); - public native void setColSpacing(int col, int minSize); - public native int rowSpacing(int row); - public native int colSpacing(int col); - public native int numRows(); - public native int numCols(); - public native TQRect cellGeometry(int row, int col); - public native boolean hasHeightForWidth(); - public native int heightForWidth(int arg1); - public native int minimumHeightForWidth(int arg1); - public native int expanding(); - public native void invalidate(); - public native void addItem(TQLayoutItemInterface arg1); - public native void addItem(TQLayoutItemInterface item, int row, int col); - public native void addMultiCell(TQLayoutItemInterface arg1, int fromRow, int toRow, int fromCol, int toCol, int align); - public native void addMultiCell(TQLayoutItemInterface arg1, int fromRow, int toRow, int fromCol, int toCol); - public native void addWidget(TQWidget arg1, int row, int col, int align); - public native void addWidget(TQWidget arg1, int row, int col); - public native void addMultiCellWidget(TQWidget arg1, int fromRow, int toRow, int fromCol, int toCol, int align); - public native void addMultiCellWidget(TQWidget arg1, int fromRow, int toRow, int fromCol, int toCol); - public native void addLayout(TQLayout layout, int row, int col); - public native void addMultiCellLayout(TQLayout layout, int fromRow, int toRow, int fromCol, int toCol, int align); - public native void addMultiCellLayout(TQLayout layout, int fromRow, int toRow, int fromCol, int toCol); - public native void addRowSpacing(int row, int minsize); - public native void addColSpacing(int col, int minsize); - public native void expand(int rows, int cols); - public native void setOrigin(int arg1); - public native int origin(); - // TQLayoutIterator iterator(); >>>> NOT CONVERTED - public native void setGeometry(TQRect arg1); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native boolean findWidget(TQWidget w, int[] r, int[] c); - protected native void add(TQLayoutItemInterface arg1, int row, int 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/qtjava/javalib/org/kde/qt/QGridView.java b/qtjava/javalib/org/kde/qt/QGridView.java deleted file mode 100644 index 933ab3c2..00000000 --- a/qtjava/javalib/org/kde/qt/QGridView.java +++ /dev/null @@ -1,29 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQGridView extends TQScrollView { - protected TQGridView(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public native int numRows(); - public native void setNumRows(int arg1); - public native int numCols(); - public native void setNumCols(int arg1); - public native int cellWidth(); - public native void setCellWidth(int arg1); - public native int cellHeight(); - public native void setCellHeight(int arg1); - public native TQRect cellRect(); - public native TQRect cellGeometry(int row, int column); - public native TQSize gridSize(); - public native int rowAt(int y); - public native int columnAt(int x); - public native void repaintCell(int row, int column, boolean erase); - public native void repaintCell(int row, int column); - public native void updateCell(int row, int column); - public native void ensureCellVisible(int row, int column); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); -} diff --git a/qtjava/javalib/org/kde/qt/QGroupBox.java b/qtjava/javalib/org/kde/qt/QGroupBox.java deleted file mode 100644 index 1f64a1ab..00000000 --- a/qtjava/javalib/org/kde/qt/QGroupBox.java +++ /dev/null @@ -1,109 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQGroupBoxSignals} for signals emitted by TQGroupBox -*/ -public class TQGroupBox extends TQFrame { - protected TQGroupBox(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQGroupBox(TQWidget parent, String name) { - super((Class) null); - newTQGroupBox(parent,name); - } - private native void newTQGroupBox(TQWidget parent, String name); - public TQGroupBox(TQWidget parent) { - super((Class) null); - newTQGroupBox(parent); - } - private native void newTQGroupBox(TQWidget parent); - public TQGroupBox() { - super((Class) null); - newTQGroupBox(); - } - private native void newTQGroupBox(); - public TQGroupBox(String title, TQWidget parent, String name) { - super((Class) null); - newTQGroupBox(title,parent,name); - } - private native void newTQGroupBox(String title, TQWidget parent, String name); - public TQGroupBox(String title, TQWidget parent) { - super((Class) null); - newTQGroupBox(title,parent); - } - private native void newTQGroupBox(String title, TQWidget parent); - public TQGroupBox(String title) { - super((Class) null); - newTQGroupBox(title); - } - private native void newTQGroupBox(String title); - public TQGroupBox(int strips, int o, TQWidget parent, String name) { - super((Class) null); - newTQGroupBox(strips,o,parent,name); - } - private native void newTQGroupBox(int strips, int o, TQWidget parent, String name); - public TQGroupBox(int strips, int o, TQWidget parent) { - super((Class) null); - newTQGroupBox(strips,o,parent); - } - private native void newTQGroupBox(int strips, int o, TQWidget parent); - public TQGroupBox(int strips, int o) { - super((Class) null); - newTQGroupBox(strips,o); - } - private native void newTQGroupBox(int strips, int o); - public TQGroupBox(int strips, int o, String title, TQWidget parent, String name) { - super((Class) null); - newTQGroupBox(strips,o,title,parent,name); - } - private native void newTQGroupBox(int strips, int o, String title, TQWidget parent, String name); - public TQGroupBox(int strips, int o, String title, TQWidget parent) { - super((Class) null); - newTQGroupBox(strips,o,title,parent); - } - private native void newTQGroupBox(int strips, int o, String title, TQWidget parent); - public TQGroupBox(int strips, int o, String title) { - super((Class) null); - newTQGroupBox(strips,o,title); - } - private native void newTQGroupBox(int strips, int o, String title); - public native void setColumnLayout(int strips, int o); - public native String title(); - public native void setTitle(String arg1); - public native int alignment(); - public native void setAlignment(int arg1); - public native int columns(); - public native void setColumns(int arg1); - public native int orientation(); - public native void setOrientation(int arg1); - public native int insideMargin(); - public native int insideSpacing(); - public native void setInsideMargin(int m); - public native void setInsideSpacing(int s); - public native void addSpace(int arg1); - public native TQSize sizeHint(); - public native boolean isFlat(); - public native void setFlat(boolean b); - public native boolean isCheckable(); - public native void setCheckable(boolean b); - public native boolean isChecked(); - public native void setEnabled(boolean on); - public native void setChecked(boolean b); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - public native boolean event(TQEvent arg1); - protected native void childEvent(TQChildEvent arg1); - protected native void resizeEvent(TQResizeEvent arg1); - protected native void paintEvent(TQPaintEvent arg1); - protected native void focusInEvent(TQFocusEvent arg1); - protected native void fontChange(TQFont 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/qtjava/javalib/org/kde/qt/QGroupBoxSignals.java b/qtjava/javalib/org/kde/qt/QGroupBoxSignals.java deleted file mode 100644 index 3670b48c..00000000 --- a/qtjava/javalib/org/kde/qt/QGroupBoxSignals.java +++ /dev/null @@ -1,7 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQGroupBoxSignals { - void toggled(boolean arg1); -} diff --git a/qtjava/javalib/org/kde/qt/QHBox.java b/qtjava/javalib/org/kde/qt/QHBox.java deleted file mode 100644 index 585406f9..00000000 --- a/qtjava/javalib/org/kde/qt/QHBox.java +++ /dev/null @@ -1,52 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQHBox extends TQFrame { - protected TQHBox(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQHBox(TQWidget parent, String name, int f) { - super((Class) null); - newTQHBox(parent,name,f); - } - private native void newTQHBox(TQWidget parent, String name, int f); - public TQHBox(TQWidget parent, String name) { - super((Class) null); - newTQHBox(parent,name); - } - private native void newTQHBox(TQWidget parent, String name); - public TQHBox(TQWidget parent) { - super((Class) null); - newTQHBox(parent); - } - private native void newTQHBox(TQWidget parent); - public TQHBox() { - super((Class) null); - newTQHBox(); - } - private native void newTQHBox(); - public native void setSpacing(int arg1); - public native boolean setStretchFactor(TQWidget arg1, int stretch); - public native TQSize sizeHint(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - public TQHBox(boolean horizontal, TQWidget parent, String name, int f) { - super((Class) null); - newTQHBox(horizontal,parent,name,f); - } - private native void newTQHBox(boolean horizontal, TQWidget parent, String name, int f); - public TQHBox(boolean horizontal, TQWidget parent, String name) { - super((Class) null); - newTQHBox(horizontal,parent,name); - } - private native void newTQHBox(boolean horizontal, TQWidget parent, String name); - protected native void frameChanged(); - /** 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/qtjava/javalib/org/kde/qt/QHBoxLayout.java b/qtjava/javalib/org/kde/qt/QHBoxLayout.java deleted file mode 100644 index 89ed5fc1..00000000 --- a/qtjava/javalib/org/kde/qt/QHBoxLayout.java +++ /dev/null @@ -1,68 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQHBoxLayout extends TQBoxLayout { - protected TQHBoxLayout(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQHBoxLayout(TQWidget parent, int border, int spacing, String name) { - super((Class) null); - newTQHBoxLayout(parent,border,spacing,name); - } - private native void newTQHBoxLayout(TQWidget parent, int border, int spacing, String name); - public TQHBoxLayout(TQWidget parent, int border, int spacing) { - super((Class) null); - newTQHBoxLayout(parent,border,spacing); - } - private native void newTQHBoxLayout(TQWidget parent, int border, int spacing); - public TQHBoxLayout(TQWidget parent, int border) { - super((Class) null); - newTQHBoxLayout(parent,border); - } - private native void newTQHBoxLayout(TQWidget parent, int border); - public TQHBoxLayout(TQWidget parent) { - super((Class) null); - newTQHBoxLayout(parent); - } - private native void newTQHBoxLayout(TQWidget parent); - public TQHBoxLayout(TQLayout parentLayout, int spacing, String name) { - super((Class) null); - newTQHBoxLayout(parentLayout,spacing,name); - } - private native void newTQHBoxLayout(TQLayout parentLayout, int spacing, String name); - public TQHBoxLayout(TQLayout parentLayout, int spacing) { - super((Class) null); - newTQHBoxLayout(parentLayout,spacing); - } - private native void newTQHBoxLayout(TQLayout parentLayout, int spacing); - public TQHBoxLayout(TQLayout parentLayout) { - super((Class) null); - newTQHBoxLayout(parentLayout); - } - private native void newTQHBoxLayout(TQLayout parentLayout); - public TQHBoxLayout(int spacing, String name) { - super((Class) null); - newTQHBoxLayout(spacing,name); - } - private native void newTQHBoxLayout(int spacing, String name); - public TQHBoxLayout(int spacing) { - super((Class) null); - newTQHBoxLayout(spacing); - } - private native void newTQHBoxLayout(int spacing); - public TQHBoxLayout() { - super((Class) null); - newTQHBoxLayout(); - } - private native void newTQHBoxLayout(); - public static native String tr(String arg1, String arg2); - public static native String tr(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/qtjava/javalib/org/kde/qt/QHButtonGroup.java b/qtjava/javalib/org/kde/qt/QHButtonGroup.java deleted file mode 100644 index add098f5..00000000 --- a/qtjava/javalib/org/kde/qt/QHButtonGroup.java +++ /dev/null @@ -1,48 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQHButtonGroup extends TQButtonGroup { - protected TQHButtonGroup(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQHButtonGroup(TQWidget parent, String name) { - super((Class) null); - newTQHButtonGroup(parent,name); - } - private native void newTQHButtonGroup(TQWidget parent, String name); - public TQHButtonGroup(TQWidget parent) { - super((Class) null); - newTQHButtonGroup(parent); - } - private native void newTQHButtonGroup(TQWidget parent); - public TQHButtonGroup() { - super((Class) null); - newTQHButtonGroup(); - } - private native void newTQHButtonGroup(); - public TQHButtonGroup(String title, TQWidget parent, String name) { - super((Class) null); - newTQHButtonGroup(title,parent,name); - } - private native void newTQHButtonGroup(String title, TQWidget parent, String name); - public TQHButtonGroup(String title, TQWidget parent) { - super((Class) null); - newTQHButtonGroup(title,parent); - } - private native void newTQHButtonGroup(String title, TQWidget parent); - public TQHButtonGroup(String title) { - super((Class) null); - newTQHButtonGroup(title); - } - private native void newTQHButtonGroup(String title); - public static native String tr(String arg1, String arg2); - public static native String tr(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/qtjava/javalib/org/kde/qt/QHGroupBox.java b/qtjava/javalib/org/kde/qt/QHGroupBox.java deleted file mode 100644 index 371d6dc0..00000000 --- a/qtjava/javalib/org/kde/qt/QHGroupBox.java +++ /dev/null @@ -1,48 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQHGroupBox extends TQGroupBox { - protected TQHGroupBox(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQHGroupBox(TQWidget parent, String name) { - super((Class) null); - newTQHGroupBox(parent,name); - } - private native void newTQHGroupBox(TQWidget parent, String name); - public TQHGroupBox(TQWidget parent) { - super((Class) null); - newTQHGroupBox(parent); - } - private native void newTQHGroupBox(TQWidget parent); - public TQHGroupBox() { - super((Class) null); - newTQHGroupBox(); - } - private native void newTQHGroupBox(); - public TQHGroupBox(String title, TQWidget parent, String name) { - super((Class) null); - newTQHGroupBox(title,parent,name); - } - private native void newTQHGroupBox(String title, TQWidget parent, String name); - public TQHGroupBox(String title, TQWidget parent) { - super((Class) null); - newTQHGroupBox(title,parent); - } - private native void newTQHGroupBox(String title, TQWidget parent); - public TQHGroupBox(String title) { - super((Class) null); - newTQHGroupBox(title); - } - private native void newTQHGroupBox(String title); - public static native String tr(String arg1, String arg2); - public static native String tr(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/qtjava/javalib/org/kde/qt/QHeader.java b/qtjava/javalib/org/kde/qt/QHeader.java deleted file mode 100644 index 94655031..00000000 --- a/qtjava/javalib/org/kde/qt/QHeader.java +++ /dev/null @@ -1,120 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQHeaderSignals} for signals emitted by TQHeader -*/ -public class TQHeader extends TQWidget { - protected TQHeader(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQHeader(TQWidget parent, String name) { - super((Class) null); - newTQHeader(parent,name); - } - private native void newTQHeader(TQWidget parent, String name); - public TQHeader(TQWidget parent) { - super((Class) null); - newTQHeader(parent); - } - private native void newTQHeader(TQWidget parent); - public TQHeader() { - super((Class) null); - newTQHeader(); - } - private native void newTQHeader(); - public TQHeader(int arg1, TQWidget parent, String name) { - super((Class) null); - newTQHeader(arg1,parent,name); - } - private native void newTQHeader(int arg1, TQWidget parent, String name); - public TQHeader(int arg1, TQWidget parent) { - super((Class) null); - newTQHeader(arg1,parent); - } - private native void newTQHeader(int arg1, TQWidget parent); - public TQHeader(int arg1) { - super((Class) null); - newTQHeader(arg1); - } - private native void newTQHeader(int arg1); - public native int addLabel(String arg1, int size); - public native int addLabel(String arg1); - public native int addLabel(TQIconSet arg1, String arg2, int size); - public native int addLabel(TQIconSet arg1, String arg2); - public native void removeLabel(int section); - public native void setLabel(int arg1, String arg2, int size); - public native void setLabel(int arg1, String arg2); - public native void setLabel(int arg1, TQIconSet arg2, String arg3, int size); - public native void setLabel(int arg1, TQIconSet arg2, String arg3); - public native String label(int section); - public native TQIconSet iconSet(int section); - public native void setOrientation(int arg1); - public native int orientation(); - public native void setTracking(boolean enable); - public native boolean tracking(); - public native void setClickEnabled(boolean arg1, int section); - public native void setClickEnabled(boolean arg1); - public native void setResizeEnabled(boolean arg1, int section); - public native void setResizeEnabled(boolean arg1); - public native void setMovingEnabled(boolean arg1); - public native void setStretchEnabled(boolean b, int section); - public native void setStretchEnabled(boolean b); - public native boolean isClickEnabled(int section); - public native boolean isClickEnabled(); - public native boolean isResizeEnabled(int section); - public native boolean isResizeEnabled(); - public native boolean isMovingEnabled(); - public native boolean isStretchEnabled(); - public native boolean isStretchEnabled(int section); - public native void resizeSection(int section, int s); - public native int sectionSize(int section); - public native int sectionPos(int section); - public native int sectionAt(int pos); - public native int count(); - public native int headerWidth(); - public native TQRect sectionRect(int section); - public native void setCellSize(int arg1, int arg2); - public native int cellSize(int i); - public native int cellPos(int arg1); - public native int cellAt(int pos); - public native int offset(); - public native TQSize sizeHint(); - public native int mapToSection(int index); - public native int mapToIndex(int section); - public native int mapToLogical(int arg1); - public native int mapToActual(int arg1); - public native void moveSection(int section, int toIndex); - public native void moveCell(int arg1, int arg2); - public native void setSortIndicator(int section, boolean ascending); - public native void setSortIndicator(int section); - public native void setSortIndicator(int section, int order); - public native int sortIndicatorSection(); - public native int sortIndicatorOrder(); - public native void adjustHeaderSize(); - public native void setUpdatesEnabled(boolean enable); - public native void setOffset(int pos); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void paintEvent(TQPaintEvent arg1); - public native void showEvent(TQShowEvent e); - protected native void resizeEvent(TQResizeEvent e); - protected native TQRect sRect(int index); - protected native void paintSection(TQPainter p, int index, TQRect fr); - protected native void paintSectionLabel(TQPainter p, int index, TQRect fr); - protected native void fontChange(TQFont arg1); - protected native void mousePressEvent(TQMouseEvent arg1); - protected native void mouseReleaseEvent(TQMouseEvent arg1); - protected native void mouseMoveEvent(TQMouseEvent arg1); - protected native void mouseDoubleClickEvent(TQMouseEvent arg1); - protected native void keyPressEvent(TQKeyEvent arg1); - protected native void keyReleaseEvent(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/qtjava/javalib/org/kde/qt/QHeaderSignals.java b/qtjava/javalib/org/kde/qt/QHeaderSignals.java deleted file mode 100644 index 011edeb3..00000000 --- a/qtjava/javalib/org/kde/qt/QHeaderSignals.java +++ /dev/null @@ -1,14 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQHeaderSignals { - void clicked(int section); - void pressed(int section); - void released(int section); - void sizeChange(int section, int oldSize, int newSize); - void indexChange(int section, int fromIndex, int toIndex); - void sectionClicked(int arg1); - void moved(int arg1, int arg2); - void sectionHandleDoubleClicked(int section); -} diff --git a/qtjava/javalib/org/kde/qt/QHebrewCodec.java b/qtjava/javalib/org/kde/qt/QHebrewCodec.java deleted file mode 100644 index e4514056..00000000 --- a/qtjava/javalib/org/kde/qt/QHebrewCodec.java +++ /dev/null @@ -1,25 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQHebrewCodec extends TQTextCodec { - protected TQHebrewCodec(Class dummy){super((Class) null);} - public native int mibEnum(); - public native String name(); - public native String mimeName(); - public native String fromUnicode(String uc, int[] lenInOut); - public native String toUnicode(String chars, int len); - public native int heuristicContentMatch(String chars, int len); - public TQHebrewCodec() { - super((Class) null); - newTQHebrewCodec(); - } - private native void newTQHebrewCodec(); - /** 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/qtjava/javalib/org/kde/qt/QHideEvent.java b/qtjava/javalib/org/kde/qt/QHideEvent.java deleted file mode 100644 index 1bd256fa..00000000 --- a/qtjava/javalib/org/kde/qt/QHideEvent.java +++ /dev/null @@ -1,19 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQHideEvent extends TQEvent { - protected TQHideEvent(Class dummy){super((Class) null);} - public TQHideEvent() { - super((Class) null); - newTQHideEvent(); - } - private native void newTQHideEvent(); - /** 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/qtjava/javalib/org/kde/qt/QHostAddress.java b/qtjava/javalib/org/kde/qt/QHostAddress.java deleted file mode 100644 index edfe3adf..00000000 --- a/qtjava/javalib/org/kde/qt/QHostAddress.java +++ /dev/null @@ -1,50 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQHostAddress implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQHostAddress(Class dummy){} - - public TQHostAddress() { - newTQHostAddress(); - } - private native void newTQHostAddress(); - public TQHostAddress(int ip4Addr) { - newTQHostAddress(ip4Addr); - } - private native void newTQHostAddress(int ip4Addr); - public TQHostAddress(short ip6Addr) { - newTQHostAddress(ip6Addr); - } - private native void newTQHostAddress(short ip6Addr); - // TQHostAddress* TQHostAddress(const Q_IPV6ADDR& arg1); >>>> NOT CONVERTED - public TQHostAddress(String address) { - newTQHostAddress(address); - } - private native void newTQHostAddress(String address); - public TQHostAddress(TQHostAddress arg1) { - newTQHostAddress(arg1); - } - private native void newTQHostAddress(TQHostAddress arg1); - public native void setAddress(int ip4Addr); - public native void setAddress(short ip6Addr); - public native boolean setAddress(String address); - public native boolean isIp4Addr(); - public native int ip4Addr(); - public native boolean isIPv4Address(); - public native int toIPv4Address(); - public native boolean isIPv6Address(); - // Q_IPV6ADDR toIPv6Address(); >>>> NOT CONVERTED - public native String toString(); - public native boolean op_equals(TQHostAddress arg1); - public native boolean isNull(); - /** 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/qtjava/javalib/org/kde/qt/QHttp.java b/qtjava/javalib/org/kde/qt/QHttp.java deleted file mode 100644 index a74ea7fa..00000000 --- a/qtjava/javalib/org/kde/qt/QHttp.java +++ /dev/null @@ -1,105 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQHttpSignals} for signals emitted by TQHttp -*/ -public class TQHttp extends TQNetworkProtocol { - protected TQHttp(Class dummy){super((Class) null);} - public static final int Unconnected = 0; - public static final int HostLookup = 1; - public static final int Connecting = 2; - public static final int Sending = 3; - public static final int Reading = 4; - public static final int Connected = 5; - public static final int Closing = 6; - - public static final int NoError = 0; - public static final int UnknownError = 1; - public static final int HostNotFound = 2; - public static final int ConnectionRefused = 3; - public static final int UnexpectedClose = 4; - public static final int InvalidResponseHeader = 5; - public static final int WrongContentLength = 6; - public static final int Aborted = 7; - - public native TQMetaObject metaObject(); - public native String className(); - public TQHttp() { - super((Class) null); - newTQHttp(); - } - private native void newTQHttp(); - public TQHttp(TQObject parent, String name) { - super((Class) null); - newTQHttp(parent,name); - } - private native void newTQHttp(TQObject parent, String name); - public TQHttp(TQObject parent) { - super((Class) null); - newTQHttp(parent); - } - private native void newTQHttp(TQObject parent); - public TQHttp(String hostname, short port, TQObject parent, String name) { - super((Class) null); - newTQHttp(hostname,port,parent,name); - } - private native void newTQHttp(String hostname, short port, TQObject parent, String name); - public TQHttp(String hostname, short port, TQObject parent) { - super((Class) null); - newTQHttp(hostname,port,parent); - } - private native void newTQHttp(String hostname, short port, TQObject parent); - public TQHttp(String hostname, short port) { - super((Class) null); - newTQHttp(hostname,port); - } - private native void newTQHttp(String hostname, short port); - public TQHttp(String hostname) { - super((Class) null); - newTQHttp(hostname); - } - private native void newTQHttp(String hostname); - public native int supportedOperations(); - public native int setHost(String hostname, short port); - public native int setHost(String hostname); - public native int get(String path, TQIODeviceInterface to); - public native int get(String path); - public native int post(String path, TQIODeviceInterface data, TQIODeviceInterface to); - public native int post(String path, TQIODeviceInterface data); - public native int post(String path, byte[] data, TQIODeviceInterface to); - public native int post(String path, byte[] data); - public native int head(String path); - public native int request(TQHttpRequestHeader header, TQIODeviceInterface device, TQIODeviceInterface to); - public native int request(TQHttpRequestHeader header, TQIODeviceInterface device); - public native int request(TQHttpRequestHeader header); - public native int request(TQHttpRequestHeader header, byte[] data, TQIODeviceInterface to); - public native int request(TQHttpRequestHeader header, byte[] data); - public native int closeConnection(); - public native long bytesAvailable(); - public native long readBlock(StringBuffer data, long maxlen); - public native byte[] readAll(); - public native int currentId(); - public native TQIODeviceInterface currentSourceDevice(); - public native TQIODeviceInterface currentDestinationDevice(); - public native TQHttpRequestHeader currentRequest(); - public native boolean hasPendingRequests(); - public native void clearPendingRequests(); - public native int state(); - public native int error(); - public native String errorString(); - public native void abort(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void operationGet(TQNetworkOperation op); - protected native void operationPut(TQNetworkOperation op); - protected native void timerEvent(TQTimerEvent 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/qtjava/javalib/org/kde/qt/QHttpHeader.java b/qtjava/javalib/org/kde/qt/QHttpHeader.java deleted file mode 100644 index a1e95d74..00000000 --- a/qtjava/javalib/org/kde/qt/QHttpHeader.java +++ /dev/null @@ -1,27 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.ArrayList; - -public class TQHttpHeader implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQHttpHeader(Class dummy){} - - public native String value(String key); - public native void setValue(String key, String value); - public native void removeValue(String key); - public native ArrayList keys(); - public native boolean hasKey(String key); - public native boolean hasContentLength(); - public native int contentLength(); - public native void setContentLength(int len); - public native boolean hasContentType(); - public native String contentType(); - public native void setContentType(String type); - public native String toString(); - public native boolean isValid(); - public native int majorVersion(); - public native int minorVersion(); -} diff --git a/qtjava/javalib/org/kde/qt/QHttpRequestHeader.java b/qtjava/javalib/org/kde/qt/QHttpRequestHeader.java deleted file mode 100644 index c9757243..00000000 --- a/qtjava/javalib/org/kde/qt/QHttpRequestHeader.java +++ /dev/null @@ -1,53 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQHttpRequestHeader extends TQHttpHeader { - protected TQHttpRequestHeader(Class dummy){super((Class) null);} - public TQHttpRequestHeader() { - super((Class) null); - newTQHttpRequestHeader(); - } - private native void newTQHttpRequestHeader(); - public TQHttpRequestHeader(String method, String path, int majorVer, int minorVer) { - super((Class) null); - newTQHttpRequestHeader(method,path,majorVer,minorVer); - } - private native void newTQHttpRequestHeader(String method, String path, int majorVer, int minorVer); - public TQHttpRequestHeader(String method, String path, int majorVer) { - super((Class) null); - newTQHttpRequestHeader(method,path,majorVer); - } - private native void newTQHttpRequestHeader(String method, String path, int majorVer); - public TQHttpRequestHeader(String method, String path) { - super((Class) null); - newTQHttpRequestHeader(method,path); - } - private native void newTQHttpRequestHeader(String method, String path); - public TQHttpRequestHeader(TQHttpRequestHeader header) { - super((Class) null); - newTQHttpRequestHeader(header); - } - private native void newTQHttpRequestHeader(TQHttpRequestHeader header); - public TQHttpRequestHeader(String str) { - super((Class) null); - newTQHttpRequestHeader(str); - } - private native void newTQHttpRequestHeader(String str); - public native void setRequest(String method, String path, int majorVer, int minorVer); - public native void setRequest(String method, String path, int majorVer); - public native void setRequest(String method, String path); - public native String method(); - public native String path(); - public native int majorVersion(); - public native int minorVersion(); - public native String toString(); - protected native boolean parseLine(String line, int number); - /** 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/qtjava/javalib/org/kde/qt/QHttpResponseHeader.java b/qtjava/javalib/org/kde/qt/QHttpResponseHeader.java deleted file mode 100644 index 2541e1a6..00000000 --- a/qtjava/javalib/org/kde/qt/QHttpResponseHeader.java +++ /dev/null @@ -1,30 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQHttpResponseHeader extends TQHttpHeader { - protected TQHttpResponseHeader(Class dummy){super((Class) null);} - public TQHttpResponseHeader() { - super((Class) null); - newTQHttpResponseHeader(); - } - private native void newTQHttpResponseHeader(); - public TQHttpResponseHeader(TQHttpResponseHeader header) { - super((Class) null); - newTQHttpResponseHeader(header); - } - private native void newTQHttpResponseHeader(TQHttpResponseHeader header); - public native int statusCode(); - public native String reasonPhrase(); - public native int majorVersion(); - public native int minorVersion(); - public native String toString(); - protected native boolean parseLine(String line, int number); - /** 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/qtjava/javalib/org/kde/qt/QHttpSignals.java b/qtjava/javalib/org/kde/qt/QHttpSignals.java deleted file mode 100644 index 99662f5f..00000000 --- a/qtjava/javalib/org/kde/qt/QHttpSignals.java +++ /dev/null @@ -1,14 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQHttpSignals { - void stateChanged(int arg1); - void responseHeaderReceived(TQHttpResponseHeader resp); - void readyRead(TQHttpResponseHeader resp); - void dataSendProgress(int arg1, int arg2); - void dataReadProgress(int arg1, int arg2); - void requestStarted(int arg1); - void requestFinished(int arg1, boolean arg2); - void done(boolean arg1); -} diff --git a/qtjava/javalib/org/kde/qt/QIMEvent.java b/qtjava/javalib/org/kde/qt/QIMEvent.java deleted file mode 100644 index c40da265..00000000 --- a/qtjava/javalib/org/kde/qt/QIMEvent.java +++ /dev/null @@ -1,25 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQIMEvent extends TQEvent { - protected TQIMEvent(Class dummy){super((Class) null);} - public TQIMEvent(int type, String text, int cursorPosition) { - super((Class) null); - newTQIMEvent(type,text,cursorPosition); - } - private native void newTQIMEvent(int type, String text, int cursorPosition); - public native String text(); - public native int cursorPos(); - public native boolean isAccepted(); - public native void accept(); - public native void ignore(); - public native int selectionLength(); - /** 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/qtjava/javalib/org/kde/qt/QIODevice.java b/qtjava/javalib/org/kde/qt/QIODevice.java deleted file mode 100644 index bcb8fafb..00000000 --- a/qtjava/javalib/org/kde/qt/QIODevice.java +++ /dev/null @@ -1,84 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQIODevice implements QtSupport, TQIODeviceInterface { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQIODevice(Class dummy){} - - 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); - public static final int IO_Direct = 0x0100; // direct access device - public static final int IO_Sequential = 0x0200; // sequential access device - public static final int IO_Combined = 0x0300; // combined direct/sequential - public static final int IO_TypeMask = 0x0f00; - -// IO handling modes - - public static final int IO_Raw = 0x0040; // raw access (not buffered) - public static final int IO_Async = 0x0080; // asynchronous mode - -// IO device open modes - - public static final int IO_ReadOnly = 0x0001; // readable device - public static final int IO_WriteOnly = 0x0002; // writable device - public static final int IO_ReadWrite = 0x0003; // read+write device - public static final int IO_Append = 0x0004; // append - public static final int IO_Truncate = 0x0008; // truncate device - public static final int IO_Translate = 0x0010; // translate CR+LF - public static final int IO_ModeMask = 0x00ff; - -// IO device state - - public static final int IO_Open = 0x1000; // device is open - public static final int IO_StateMask = 0xf000; - - -// IO device status - - public static final int IO_Ok = 0; - public static final int IO_ReadError = 1; // read error - public static final int IO_WriteError = 2; // write error - public static final int IO_FatalError = 3; // fatal unrecoverable error - public static final int IO_ResourceError = 4; // resource limitation - public static final int IO_OpenError = 5; // cannot open device - public static final int IO_ConnectError = 5; // cannot connect to device - public static final int IO_AbortError = 6; // abort error - public static final int IO_TimeOutError = 7; // time out - public static final int IO_UnspecifiedError = 8; // unspecified error - -} diff --git a/qtjava/javalib/org/kde/qt/QIODeviceInterface.java b/qtjava/javalib/org/kde/qt/QIODeviceInterface.java deleted file mode 100644 index 8e9e2aa6..00000000 --- a/qtjava/javalib/org/kde/qt/QIODeviceInterface.java +++ /dev/null @@ -1,40 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQIODeviceInterface { - int flags(); - int mode(); - int state(); - boolean isDirectAccess(); - boolean isSequentialAccess(); - boolean isCombinedAccess(); - boolean isBuffered(); - boolean isRaw(); - boolean isSynchronous(); - boolean isAsynchronous(); - boolean isTranslated(); - boolean isReadable(); - boolean isWritable(); - boolean isReadWrite(); - boolean isInactive(); - boolean isOpen(); - int status(); - void resetStatus(); - boolean open(int mode); - void close(); - void flush(); - long size(); - long at(); - boolean at(long arg1); - boolean atEnd(); - boolean reset(); - long readBlock(StringBuffer data, long maxlen); - long writeBlock(String data, long len); - long readLine(String data, long maxlen); - long writeBlock(byte[] data); - byte[] readAll(); - int getch(); - int putch(int arg1); - int ungetch(int arg1); -} diff --git a/qtjava/javalib/org/kde/qt/QIODeviceSource.java b/qtjava/javalib/org/kde/qt/QIODeviceSource.java deleted file mode 100644 index dc819a2f..00000000 --- a/qtjava/javalib/org/kde/qt/QIODeviceSource.java +++ /dev/null @@ -1,29 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQIODeviceSource extends TQDataSource { - protected TQIODeviceSource(Class dummy){super((Class) null);} - public TQIODeviceSource(TQIODeviceInterface arg1, int bufsize) { - super((Class) null); - newTQIODeviceSource(arg1,bufsize); - } - private native void newTQIODeviceSource(TQIODeviceInterface arg1, int bufsize); - public TQIODeviceSource(TQIODeviceInterface arg1) { - super((Class) null); - newTQIODeviceSource(arg1); - } - private native void newTQIODeviceSource(TQIODeviceInterface arg1); - public native int readyToSend(); - public native void sendTo(TQDataSink sink, int n); - public native boolean rewindable(); - public native void enableRewind(boolean on); - public native void rewind(); - /** 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/qtjava/javalib/org/kde/qt/QIconDrag.java b/qtjava/javalib/org/kde/qt/QIconDrag.java deleted file mode 100644 index e6c4aaaa..00000000 --- a/qtjava/javalib/org/kde/qt/QIconDrag.java +++ /dev/null @@ -1,32 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQIconDrag extends TQDragObject { - protected TQIconDrag(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQIconDrag(TQWidget dragSource, String name) { - super((Class) null); - newTQIconDrag(dragSource,name); - } - private native void newTQIconDrag(TQWidget dragSource, String name); - public TQIconDrag(TQWidget dragSource) { - super((Class) null); - newTQIconDrag(dragSource); - } - private native void newTQIconDrag(TQWidget dragSource); - public native void append(TQIconDragItem item, TQRect pr, TQRect tr); - public native String format(int i); - public native byte[] encodedData(String mime); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - public static native boolean canDecode(TQMimeSourceInterface 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/qtjava/javalib/org/kde/qt/QIconDragItem.java b/qtjava/javalib/org/kde/qt/QIconDragItem.java deleted file mode 100644 index 450e341d..00000000 --- a/qtjava/javalib/org/kde/qt/QIconDragItem.java +++ /dev/null @@ -1,24 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQIconDragItem implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQIconDragItem(Class dummy){} - - public TQIconDragItem() { - newTQIconDragItem(); - } - private native void newTQIconDragItem(); - public native byte[] data(); - public native void setData(byte[] d); - public native boolean op_equals(TQIconDragItem 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/qtjava/javalib/org/kde/qt/QIconSet.java b/qtjava/javalib/org/kde/qt/QIconSet.java deleted file mode 100644 index 01d97baf..00000000 --- a/qtjava/javalib/org/kde/qt/QIconSet.java +++ /dev/null @@ -1,68 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQIconSet implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQIconSet(Class dummy){} - - public static final int Automatic = 0; - public static final int Small = 1; - public static final int Large = 2; - - public static final int Normal = 0; - public static final int Disabled = 1; - public static final int Active = 2; - - public static final int On = 0; - public static final int Off = 1; - - public TQIconSet() { - newTQIconSet(); - } - private native void newTQIconSet(); - public TQIconSet(TQPixmap pixmap, int size) { - newTQIconSet(pixmap,size); - } - private native void newTQIconSet(TQPixmap pixmap, int size); - public TQIconSet(TQPixmap pixmap) { - newTQIconSet(pixmap); - } - private native void newTQIconSet(TQPixmap pixmap); - public TQIconSet(TQPixmap smallPix, TQPixmap largePix) { - newTQIconSet(smallPix,largePix); - } - private native void newTQIconSet(TQPixmap smallPix, TQPixmap largePix); - public TQIconSet(TQIconSet other) { - newTQIconSet(other); - } - private native void newTQIconSet(TQIconSet other); - public native void reset(TQPixmap pixmap, int size); - public native void setPixmap(TQPixmap pixmap, int size, int mode, int state); - public native void setPixmap(TQPixmap pixmap, int size, int mode); - public native void setPixmap(TQPixmap pixmap, int size); - public native void setPixmap(String fileName, int size, int mode, int state); - public native void setPixmap(String fileName, int size, int mode); - public native void setPixmap(String fileName, int size); - public native TQPixmap pixmap(int size, int mode, int state); - public native TQPixmap pixmap(int size, int mode); - public native TQPixmap pixmap(int size, boolean enabled, int state); - public native TQPixmap pixmap(int size, boolean enabled); - public native TQPixmap pixmap(); - public native boolean isGenerated(int size, int mode, int state); - public native boolean isGenerated(int size, int mode); - public native void clearGenerated(); - // void installIconFactory(TQIconFactory* arg1); >>>> NOT CONVERTED - public native boolean isNull(); - public native void detach(); - public static native void setIconSize(int which, TQSize size); - public static native TQSize iconSize(int which); - /** 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/qtjava/javalib/org/kde/qt/QIconView.java b/qtjava/javalib/org/kde/qt/QIconView.java deleted file mode 100644 index 5bf2ea6e..00000000 --- a/qtjava/javalib/org/kde/qt/QIconView.java +++ /dev/null @@ -1,154 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQIconViewSignals} for signals emitted by TQIconView -*/ -public class TQIconView extends TQScrollView { - protected TQIconView(Class dummy){super((Class) null);} - public static final int Single = 0; - public static final int Multi = 1; - public static final int Extended = 2; - public static final int NoSelection = 3; - - public static final int LeftToRight = 0; - public static final int TopToBottom = 1; - - public static final int Fixed = 0; - public static final int Adjust = 1; - - public static final int Bottom = 0; - public static final int Right = 1; - - public native TQMetaObject metaObject(); - public native String className(); - public TQIconView(TQWidget parent, String name, int f) { - super((Class) null); - newTQIconView(parent,name,f); - } - private native void newTQIconView(TQWidget parent, String name, int f); - public TQIconView(TQWidget parent, String name) { - super((Class) null); - newTQIconView(parent,name); - } - private native void newTQIconView(TQWidget parent, String name); - public TQIconView(TQWidget parent) { - super((Class) null); - newTQIconView(parent); - } - private native void newTQIconView(TQWidget parent); - public TQIconView() { - super((Class) null); - newTQIconView(); - } - private native void newTQIconView(); - public native void insertItem(TQIconViewItem item, TQIconViewItem after); - public native void insertItem(TQIconViewItem item); - public native void takeItem(TQIconViewItem item); - public native int index(TQIconViewItem item); - public native TQIconViewItem firstItem(); - public native TQIconViewItem lastItem(); - public native TQIconViewItem currentItem(); - public native void setCurrentItem(TQIconViewItem item); - public native void setSelected(TQIconViewItem item, boolean s, boolean cb); - public native void setSelected(TQIconViewItem item, boolean s); - public native int count(); - public native void showEvent(TQShowEvent arg1); - public native void setSelectionMode(int m); - public native int selectionMode(); - public native TQIconViewItem findItem(TQPoint pos); - public native TQIconViewItem findItem(String text, int compare); - public native TQIconViewItem findItem(String text); - public native void selectAll(boolean select); - public native void clearSelection(); - public native void invertSelection(); - public native void repaintItem(TQIconViewItem item); - public native void repaintSelectedItems(); - public native void ensureItemVisible(TQIconViewItem item); - public native TQIconViewItem findFirstVisibleItem(TQRect r); - public native TQIconViewItem findLastVisibleItem(TQRect r); - public native void clear(); - public native void setGridX(int rx); - public native void setGridY(int ry); - public native int gridX(); - public native int gridY(); - public native void setSpacing(int sp); - public native int spacing(); - public native void setItemTextPos(int pos); - public native int itemTextPos(); - public native void setItemTextBackground(TQBrush b); - public native TQBrush itemTextBackground(); - public native void setArrangement(int am); - public native int arrangement(); - public native void setResizeMode(int am); - public native int resizeMode(); - public native void setMaxItemWidth(int w); - public native int maxItemWidth(); - public native void setMaxItemTextLength(int w); - public native int maxItemTextLength(); - public native void setAutoArrange(boolean b); - public native boolean autoArrange(); - public native void setShowToolTips(boolean b); - public native boolean showToolTips(); - public native void setSorting(boolean sort, boolean ascending); - public native void setSorting(boolean sort); - public native boolean sortOnInsert(); - public native boolean sortDirection(); - public native void setItemsMovable(boolean b); - public native boolean itemsMovable(); - public native void setWordWrapIconText(boolean b); - public native boolean wordWrapIconText(); - public native boolean eventFilter(TQObject o, TQEvent arg2); - public native TQSize minimumSizeHint(); - public native TQSize sizeHint(); - public native void sort(boolean ascending); - public native void sort(); - public native void setFont(TQFont arg1); - public native void setPalette(TQPalette arg1); - public native boolean isRenaming(); - public native void arrangeItemsInGrid(TQSize grid, boolean update); - public native void arrangeItemsInGrid(TQSize grid); - public native void arrangeItemsInGrid(boolean update); - public native void arrangeItemsInGrid(); - public native void setContentsPos(int x, int y); - public native void updateContents(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void drawContents(TQPainter p, int cx, int cy, int cw, int ch); - protected native void contentsMousePressEvent(TQMouseEvent e); - protected native void contentsMouseReleaseEvent(TQMouseEvent e); - protected native void contentsMouseMoveEvent(TQMouseEvent e); - protected native void contentsMouseDoubleClickEvent(TQMouseEvent e); - protected native void contentsContextMenuEvent(TQContextMenuEvent e); - protected native void contentsDragEnterEvent(TQDragEnterEvent e); - protected native void contentsDragMoveEvent(TQDragMoveEvent e); - protected native void contentsDragLeaveEvent(TQDragLeaveEvent e); - protected native void contentsDropEvent(TQDropEvent e); - protected native void resizeEvent(TQResizeEvent e); - protected native void keyPressEvent(TQKeyEvent e); - protected native void focusInEvent(TQFocusEvent e); - protected native void focusOutEvent(TQFocusEvent e); - protected native void enterEvent(TQEvent e); - protected native void drawRubber(TQPainter p); - protected native TQDragObject dragObject(); - protected native void startDrag(); - protected native void insertInGrid(TQIconViewItem item); - protected native void drawBackground(TQPainter p, TQRect r); - protected native void emitSelectionChanged(TQIconViewItem i); - protected native void emitSelectionChanged(); - protected native void emitRenamed(TQIconViewItem item); - protected native TQIconViewItem makeRowLayout(TQIconViewItem begin, int[] y, boolean changed); - public native void styleChange(TQStyle arg1); - protected native void windowActivationChange(boolean arg1); - protected native void doAutoScroll(); - protected native void adjustItems(); - protected native void slotUpdate(); - /** 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/qtjava/javalib/org/kde/qt/QIconViewItem.java b/qtjava/javalib/org/kde/qt/QIconViewItem.java deleted file mode 100644 index fd90894f..00000000 --- a/qtjava/javalib/org/kde/qt/QIconViewItem.java +++ /dev/null @@ -1,116 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQIconViewItem extends Qt { - protected TQIconViewItem(Class dummy){super((Class) null);} - public TQIconViewItem(TQIconView parent) { - super((Class) null); - newTQIconViewItem(parent); - } - private native void newTQIconViewItem(TQIconView parent); - public TQIconViewItem(TQIconView parent, TQIconViewItem after) { - super((Class) null); - newTQIconViewItem(parent,after); - } - private native void newTQIconViewItem(TQIconView parent, TQIconViewItem after); - public TQIconViewItem(TQIconView parent, String text) { - super((Class) null); - newTQIconViewItem(parent,text); - } - private native void newTQIconViewItem(TQIconView parent, String text); - public TQIconViewItem(TQIconView parent, TQIconViewItem after, String text) { - super((Class) null); - newTQIconViewItem(parent,after,text); - } - private native void newTQIconViewItem(TQIconView parent, TQIconViewItem after, String text); - public TQIconViewItem(TQIconView parent, String text, TQPixmap icon) { - super((Class) null); - newTQIconViewItem(parent,text,icon); - } - private native void newTQIconViewItem(TQIconView parent, String text, TQPixmap icon); - public TQIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPixmap icon) { - super((Class) null); - newTQIconViewItem(parent,after,text,icon); - } - private native void newTQIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPixmap icon); - public TQIconViewItem(TQIconView parent, String text, TQPicture picture) { - super((Class) null); - newTQIconViewItem(parent,text,picture); - } - private native void newTQIconViewItem(TQIconView parent, String text, TQPicture picture); - public TQIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPicture picture) { - super((Class) null); - newTQIconViewItem(parent,after,text,picture); - } - private native void newTQIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPicture picture); - public native void setRenameEnabled(boolean allow); - public native void setDragEnabled(boolean allow); - public native void setDropEnabled(boolean allow); - public native String text(); - public native TQPixmap pixmap(); - public native TQPicture picture(); - public native String key(); - public native boolean renameEnabled(); - public native boolean dragEnabled(); - public native boolean dropEnabled(); - public native TQIconView iconView(); - public native TQIconViewItem prevItem(); - public native TQIconViewItem nextItem(); - public native int index(); - public native void setSelected(boolean s, boolean cb); - public native void setSelected(boolean s); - public native void setSelectable(boolean s); - public native boolean isSelected(); - public native boolean isSelectable(); - public native void repaint(); - public native boolean move(int x, int y); - public native void moveBy(int dx, int dy); - public native boolean move(TQPoint pnt); - public native void moveBy(TQPoint pnt); - public native TQRect rect(); - public native int x(); - public native int y(); - public native int width(); - public native int height(); - public native TQSize size(); - public native TQPoint pos(); - public native TQRect textRect(boolean relative); - public native TQRect textRect(); - public native TQRect pixmapRect(boolean relative); - public native TQRect pixmapRect(); - public native boolean contains(TQPoint pnt); - public native boolean intersects(TQRect r); - public native boolean acceptDrop(TQMimeSourceInterface mime); - public native void rename(); - public native int compare(TQIconViewItem i); - public native void setText(String text); - public native void setPixmap(TQPixmap icon); - public native void setPicture(TQPicture icon); - public native void setText(String text, boolean recalc, boolean redraw); - public native void setText(String text, boolean recalc); - public native void setPixmap(TQPixmap icon, boolean recalc, boolean redraw); - public native void setPixmap(TQPixmap icon, boolean recalc); - public native void setKey(String k); - public native int rtti(); - protected native void removeRenameBox(); - protected native void calcRect(String text_); - protected native void calcRect(); - protected native void paintItem(TQPainter p, TQColorGroup cg); - protected native void paintFocus(TQPainter p, TQColorGroup cg); - // void dropped(TQDropEvent* arg1,const TQValueList& arg2); >>>> NOT CONVERTED - protected native void dragEntered(); - protected native void dragLeft(); - protected native void setItemRect(TQRect r); - protected native void setTextRect(TQRect r); - protected native void setPixmapRect(TQRect r); - protected native void calcTmpText(); - protected native String tempText(); - /** 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/qtjava/javalib/org/kde/qt/QIconViewSignals.java b/qtjava/javalib/org/kde/qt/QIconViewSignals.java deleted file mode 100644 index f54e07b8..00000000 --- a/qtjava/javalib/org/kde/qt/QIconViewSignals.java +++ /dev/null @@ -1,26 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQIconViewSignals { - void selectionChanged(); - void selectionChanged(TQIconViewItem item); - void currentChanged(TQIconViewItem item); - void clicked(TQIconViewItem arg1); - void clicked(TQIconViewItem arg1, TQPoint arg2); - void pressed(TQIconViewItem arg1); - void pressed(TQIconViewItem arg1, TQPoint arg2); - void doubleClicked(TQIconViewItem item); - void returnPressed(TQIconViewItem item); - void rightButtonClicked(TQIconViewItem item, TQPoint pos); - void rightButtonPressed(TQIconViewItem item, TQPoint pos); - void mouseButtonPressed(int button, TQIconViewItem item, TQPoint pos); - void mouseButtonClicked(int button, TQIconViewItem item, TQPoint pos); - void contextMenuRequested(TQIconViewItem item, TQPoint pos); - // void dropped(TQDropEvent* arg1,const TQValueList& arg2); >>>> NOT CONVERTED - void moved(); - void onItem(TQIconViewItem item); - void onViewport(); - void itemRenamed(TQIconViewItem item, String arg2); - void itemRenamed(TQIconViewItem item); -} diff --git a/qtjava/javalib/org/kde/qt/QImage.java b/qtjava/javalib/org/kde/qt/QImage.java deleted file mode 100644 index f6821a5a..00000000 --- a/qtjava/javalib/org/kde/qt/QImage.java +++ /dev/null @@ -1,171 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.ArrayList; - -public class TQImage implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQImage(Class dummy){} - - public static final int IgnoreEndian = 0; - public static final int BigEndian = 1; - public static final int LittleEndian = 2; - - public static final int ScaleFree = 0; - public static final int ScaleMin = 1; - public static final int ScaleMax = 2; - - public TQImage() { - newTQImage(); - } - private native void newTQImage(); - public TQImage(int width, int height, int depth, int numColors, int bitOrder) { - newTQImage(width,height,depth,numColors,bitOrder); - } - private native void newTQImage(int width, int height, int depth, int numColors, int bitOrder); - public TQImage(int width, int height, int depth, int numColors) { - newTQImage(width,height,depth,numColors); - } - private native void newTQImage(int width, int height, int depth, int numColors); - public TQImage(int width, int height, int depth) { - newTQImage(width,height,depth); - } - private native void newTQImage(int width, int height, int depth); - public TQImage(TQSize arg1, int depth, int numColors, int bitOrder) { - newTQImage(arg1,depth,numColors,bitOrder); - } - private native void newTQImage(TQSize arg1, int depth, int numColors, int bitOrder); - public TQImage(TQSize arg1, int depth, int numColors) { - newTQImage(arg1,depth,numColors); - } - private native void newTQImage(TQSize arg1, int depth, int numColors); - public TQImage(TQSize arg1, int depth) { - newTQImage(arg1,depth); - } - private native void newTQImage(TQSize arg1, int depth); - public TQImage(String fileName, String format) { - newTQImage(fileName,format); - } - private native void newTQImage(String fileName, String format); - public TQImage(String fileName) { - newTQImage(fileName); - } - private native void newTQImage(String fileName); - // TQImage* TQImage(const char** arg1); >>>> NOT CONVERTED - public TQImage(byte[] data) { - newTQImage(data); - } - private native void newTQImage(byte[] data); - public TQImage(char[] data, int w, int h, int depth, int[] colortable, int numColors, int bitOrder) { - newTQImage(data,w,h,depth,colortable,numColors,bitOrder); - } - private native void newTQImage(char[] data, int w, int h, int depth, int[] colortable, int numColors, int bitOrder); - public TQImage(TQImage arg1) { - newTQImage(arg1); - } - private native void newTQImage(TQImage arg1); - public native boolean op_equals(TQImage arg1); - public native boolean op_not_equals(TQImage arg1); - public native void detach(); - public native TQImage copy(); - public native TQImage copy(int x, int y, int w, int h, int conversion_flags); - public native TQImage copy(int x, int y, int w, int h); - public native TQImage copy(TQRect arg1); - public native boolean isNull(); - public native int width(); - public native int height(); - public native TQSize size(); - public native TQRect rect(); - public native int depth(); - public native int numColors(); - public native int bitOrder(); - public native int color(int i); - public native void setColor(int i, int c); - public native void setNumColors(int arg1); - public native boolean hasAlphaBuffer(); - public native void setAlphaBuffer(boolean arg1); - public native boolean allGray(); - public native boolean isGrayscale(); - public native byte[] bits(); - public native byte[] scanLine(int arg1); - public native ArrayList jumpTable(); - public native int[] colorTable(); - public native int numBytes(); - public native int bytesPerLine(); - public native boolean create(int width, int height, int depth, int numColors, int bitOrder); - public native boolean create(int width, int height, int depth, int numColors); - public native boolean create(int width, int height, int depth); - public native boolean create(TQSize arg1, int depth, int numColors, int bitOrder); - public native boolean create(TQSize arg1, int depth, int numColors); - public native boolean create(TQSize arg1, int depth); - public native void reset(); - public native void fill(int pixel); - public native void invertPixels(boolean invertAlpha); - public native void invertPixels(); - public native TQImage convertDepth(int arg1); - public native TQImage convertDepthWithPalette(int arg1, int[] p, int pc, int cf); - public native TQImage convertDepthWithPalette(int arg1, int[] p, int pc); - public native TQImage convertDepth(int arg1, int conversion_flags); - public native TQImage convertBitOrder(int arg1); - public native TQImage smoothScale(int w, int h, int mode); - public native TQImage smoothScale(int w, int h); - public native TQImage smoothScale(TQSize s, int mode); - public native TQImage smoothScale(TQSize s); - public native TQImage scale(int w, int h, int mode); - public native TQImage scale(int w, int h); - public native TQImage scale(TQSize s, int mode); - public native TQImage scale(TQSize s); - public native TQImage scaleWidth(int w); - public native TQImage scaleHeight(int h); - public native Object xForm(TQWMatrix matrix); - public native TQImage createAlphaMask(int conversion_flags); - public native TQImage createAlphaMask(); - public native TQImage createHeuristicMask(boolean clipTight); - public native TQImage createHeuristicMask(); - public native TQImage mirror(); - public native TQImage mirror(boolean horizontally, boolean vertically); - public native TQImage swapRGB(); - public native boolean load(String fileName, String format); - public native boolean load(String fileName); - public native boolean loadFromData(char[] buf, int len, String format); - public native boolean loadFromData(char[] buf, int len); - public native boolean loadFromData(byte[] data, String format); - public native boolean loadFromData(byte[] data); - public native boolean save(String fileName, String format, int quality); - public native boolean save(String fileName, String format); - public native boolean save(TQIODeviceInterface device, String format, int quality); - public native boolean save(TQIODeviceInterface device, String format); - public native boolean valid(int x, int y); - public native int pixelIndex(int x, int y); - public native int pixel(int x, int y); - public native void setPixel(int x, int y, int index_or_rgb); - public native int dotsPerMeterX(); - public native int dotsPerMeterY(); - public native void setDotsPerMeterX(int arg1); - public native void setDotsPerMeterY(int arg1); - public native TQPoint offset(); - public native void setOffset(TQPoint arg1); - // TQValueList textList(); >>>> NOT CONVERTED - public native ArrayList textLanguages(); - public native ArrayList textKeys(); - public native String text(String key, String lang); - public native String text(String key); - public native String text(TQImageTextKeyLang arg1); - public native void setText(String key, String lang, String arg3); - public static native TQImage fromMimeSource(String abs_name); - public static native int systemBitOrder(); - public static native int systemByteOrder(); - public static native String imageFormat(String fileName); - public static native ArrayList inputFormats(); - public static native ArrayList outputFormats(); - public static native ArrayList inputFormatList(); - public static native ArrayList outputFormatList(); - /** 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/qtjava/javalib/org/kde/qt/QImageConsumer.java b/qtjava/javalib/org/kde/qt/QImageConsumer.java deleted file mode 100644 index 86c85eb4..00000000 --- a/qtjava/javalib/org/kde/qt/QImageConsumer.java +++ /dev/null @@ -1,18 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQImageConsumer implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQImageConsumer(Class dummy){} - - public native void end(); - public native void changed(TQRect arg1); - public native void frameDone(); - public native void frameDone(TQPoint arg1, TQRect arg2); - public native void setLooping(int arg1); - public native void setFramePeriod(int arg1); - public native void setSize(int arg1, int arg2); -} diff --git a/qtjava/javalib/org/kde/qt/QImageDecoder.java b/qtjava/javalib/org/kde/qt/QImageDecoder.java deleted file mode 100644 index 6eb34fec..00000000 --- a/qtjava/javalib/org/kde/qt/QImageDecoder.java +++ /dev/null @@ -1,29 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.ArrayList; - -public class TQImageDecoder implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQImageDecoder(Class dummy){} - - public TQImageDecoder(TQImageConsumer c) { - newTQImageDecoder(c); - } - private native void newTQImageDecoder(TQImageConsumer c); - public native TQImage image(); - public native int decode(char[] buffer, int length); - public static native String formatName(char[] buffer, int length); - public static native TQImageFormatType format(String name); - public static native ArrayList inputFormats(); - public static native void registerDecoderFactory(TQImageFormatType arg1); - public static native void unregisterDecoderFactory(TQImageFormatType 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/qtjava/javalib/org/kde/qt/QImageDrag.java b/qtjava/javalib/org/kde/qt/QImageDrag.java deleted file mode 100644 index 71c39b4c..00000000 --- a/qtjava/javalib/org/kde/qt/QImageDrag.java +++ /dev/null @@ -1,54 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQImageDrag extends TQDragObject { - protected TQImageDrag(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQImageDrag(TQImage image, TQWidget dragSource, String name) { - super((Class) null); - newTQImageDrag(image,dragSource,name); - } - private native void newTQImageDrag(TQImage image, TQWidget dragSource, String name); - public TQImageDrag(TQImage image, TQWidget dragSource) { - super((Class) null); - newTQImageDrag(image,dragSource); - } - private native void newTQImageDrag(TQImage image, TQWidget dragSource); - public TQImageDrag(TQImage image) { - super((Class) null); - newTQImageDrag(image); - } - private native void newTQImageDrag(TQImage image); - public TQImageDrag(TQWidget dragSource, String name) { - super((Class) null); - newTQImageDrag(dragSource,name); - } - private native void newTQImageDrag(TQWidget dragSource, String name); - public TQImageDrag(TQWidget dragSource) { - super((Class) null); - newTQImageDrag(dragSource); - } - private native void newTQImageDrag(TQWidget dragSource); - public TQImageDrag() { - super((Class) null); - newTQImageDrag(); - } - private native void newTQImageDrag(); - public native void setImage(TQImage image); - public native String format(int i); - public native byte[] encodedData(String arg1); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - public static native boolean canDecode(TQMimeSourceInterface e); - public static native boolean decode(TQMimeSourceInterface e, TQImage i); - public static native boolean decode(TQMimeSourceInterface e, TQPixmap i); - /** 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/qtjava/javalib/org/kde/qt/QImageFormat.java b/qtjava/javalib/org/kde/qt/QImageFormat.java deleted file mode 100644 index 3f3bfc08..00000000 --- a/qtjava/javalib/org/kde/qt/QImageFormat.java +++ /dev/null @@ -1,12 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQImageFormat implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQImageFormat(Class dummy){} - - public native int decode(TQImage img, TQImageConsumer consumer, char[] buffer, int length); -} diff --git a/qtjava/javalib/org/kde/qt/QImageFormatType.java b/qtjava/javalib/org/kde/qt/QImageFormatType.java deleted file mode 100644 index 3044ed29..00000000 --- a/qtjava/javalib/org/kde/qt/QImageFormatType.java +++ /dev/null @@ -1,13 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQImageFormatType implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQImageFormatType(Class dummy){} - - public native TQImageFormat decoderFor(char[] buffer, int length); - public native String formatName(); -} diff --git a/qtjava/javalib/org/kde/qt/QImageIO.java b/qtjava/javalib/org/kde/qt/QImageIO.java deleted file mode 100644 index 9fdd5499..00000000 --- a/qtjava/javalib/org/kde/qt/QImageIO.java +++ /dev/null @@ -1,54 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.ArrayList; - -public class TQImageIO implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQImageIO(Class dummy){} - - public TQImageIO() { - newTQImageIO(); - } - private native void newTQImageIO(); - public TQImageIO(TQIODeviceInterface ioDevice, String format) { - newTQImageIO(ioDevice,format); - } - private native void newTQImageIO(TQIODeviceInterface ioDevice, String format); - public TQImageIO(String fileName, String format) { - newTQImageIO(fileName,format); - } - private native void newTQImageIO(String fileName, String format); - public native TQImage image(); - public native int status(); - public native String format(); - public native TQIODeviceInterface ioDevice(); - public native String fileName(); - public native int quality(); - public native String description(); - public native String parameters(); - public native float gamma(); - public native void setImage(TQImage arg1); - public native void setStatus(int arg1); - public native void setFormat(String arg1); - public native void setIODevice(TQIODeviceInterface arg1); - public native void setFileName(String arg1); - public native void setQuality(int arg1); - public native void setDescription(String arg1); - public native void setParameters(String arg1); - public native void setGamma(float arg1); - public native boolean read(); - public native boolean write(); - public static native String imageFormat(String fileName); - public static native String imageFormat(TQIODeviceInterface arg1); - public static native ArrayList inputFormats(); - public static native ArrayList outputFormats(); - /** 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/qtjava/javalib/org/kde/qt/QImageTextKeyLang.java b/qtjava/javalib/org/kde/qt/QImageTextKeyLang.java deleted file mode 100644 index e89d1f1d..00000000 --- a/qtjava/javalib/org/kde/qt/QImageTextKeyLang.java +++ /dev/null @@ -1,27 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQImageTextKeyLang implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQImageTextKeyLang(Class dummy){} - - public TQImageTextKeyLang(String k, String l) { - newTQImageTextKeyLang(k,l); - } - private native void newTQImageTextKeyLang(String k, String l); - public TQImageTextKeyLang() { - newTQImageTextKeyLang(); - } - private native void newTQImageTextKeyLang(); - public native boolean op_lt(TQImageTextKeyLang other); - public native boolean op_equals(TQImageTextKeyLang other); - /** 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/qtjava/javalib/org/kde/qt/QInputDialog.java b/qtjava/javalib/org/kde/qt/QInputDialog.java deleted file mode 100644 index 43e104e7..00000000 --- a/qtjava/javalib/org/kde/qt/QInputDialog.java +++ /dev/null @@ -1,40 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQInputDialog extends TQDialog { - protected TQInputDialog(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - public static native String getText(String caption, String label, int echo, String text, boolean[] ok, TQWidget parent, String name); - public static native String getText(String caption, String label, int echo, String text, boolean[] ok, TQWidget parent); - public static native String getText(String caption, String label, int echo, String text, boolean[] ok); - public static native String getText(String caption, String label, int echo, String text); - public static native String getText(String caption, String label, int echo); - public static native String getText(String caption, String label); - public static native int getInteger(String caption, String label, int value, int minValue, int maxValue, int step, boolean[] ok, TQWidget parent, String name); - public static native int getInteger(String caption, String label, int value, int minValue, int maxValue, int step, boolean[] ok, TQWidget parent); - public static native int getInteger(String caption, String label, int value, int minValue, int maxValue, int step, boolean[] ok); - public static native int getInteger(String caption, String label, int value, int minValue, int maxValue, int step); - public static native int getInteger(String caption, String label, int value, int minValue, int maxValue); - public static native int getInteger(String caption, String label, int value, int minValue); - public static native int getInteger(String caption, String label, int value); - public static native int getInteger(String caption, String label); - public static native double getDouble(String caption, String label, double value, double minValue, double maxValue, int decimals, boolean[] ok, TQWidget parent, String name); - public static native double getDouble(String caption, String label, double value, double minValue, double maxValue, int decimals, boolean[] ok, TQWidget parent); - public static native double getDouble(String caption, String label, double value, double minValue, double maxValue, int decimals, boolean[] ok); - public static native double getDouble(String caption, String label, double value, double minValue, double maxValue, int decimals); - public static native double getDouble(String caption, String label, double value, double minValue, double maxValue); - public static native double getDouble(String caption, String label, double value, double minValue); - public static native double getDouble(String caption, String label, double value); - public static native double getDouble(String caption, String label); - public static native String getItem(String caption, String label, String[] list, int current, boolean editable, boolean[] ok, TQWidget parent, String name); - public static native String getItem(String caption, String label, String[] list, int current, boolean editable, boolean[] ok, TQWidget parent); - public static native String getItem(String caption, String label, String[] list, int current, boolean editable, boolean[] ok); - public static native String getItem(String caption, String label, String[] list, int current, boolean editable); - public static native String getItem(String caption, String label, String[] list, int current); - public static native String getItem(String caption, String label, String[] list); -} diff --git a/qtjava/javalib/org/kde/qt/QIntValidator.java b/qtjava/javalib/org/kde/qt/QIntValidator.java deleted file mode 100644 index 73b03fce..00000000 --- a/qtjava/javalib/org/kde/qt/QIntValidator.java +++ /dev/null @@ -1,44 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQIntValidator extends TQValidator { - protected TQIntValidator(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQIntValidator(TQObject parent, String name) { - super((Class) null); - newTQIntValidator(parent,name); - } - private native void newTQIntValidator(TQObject parent, String name); - public TQIntValidator(TQObject parent) { - super((Class) null); - newTQIntValidator(parent); - } - private native void newTQIntValidator(TQObject parent); - public TQIntValidator(int bottom, int top, TQObject parent, String name) { - super((Class) null); - newTQIntValidator(bottom,top,parent,name); - } - private native void newTQIntValidator(int bottom, int top, TQObject parent, String name); - public TQIntValidator(int bottom, int top, TQObject parent) { - super((Class) null); - newTQIntValidator(bottom,top,parent); - } - private native void newTQIntValidator(int bottom, int top, TQObject parent); - public native int validate(StringBuffer arg1, int[] arg2); - public native void setBottom(int arg1); - public native void setTop(int arg1); - public native void setRange(int bottom, int top); - public native int bottom(); - public native int top(); - public static native String tr(String arg1, String arg2); - public static native String tr(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/qtjava/javalib/org/kde/qt/QJisCodec.java b/qtjava/javalib/org/kde/qt/QJisCodec.java deleted file mode 100644 index eb29d653..00000000 --- a/qtjava/javalib/org/kde/qt/QJisCodec.java +++ /dev/null @@ -1,27 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQJisCodec extends TQTextCodec { - protected TQJisCodec(Class dummy){super((Class) null);} - public native int mibEnum(); - public native String name(); - public native String mimeName(); - public native TQTextDecoder makeDecoder(); - public native String fromUnicode(String uc, int[] lenInOut); - public native String toUnicode(String chars, int len); - public native int heuristicContentMatch(String chars, int len); - public native int heuristicNameMatch(String hint); - public TQJisCodec() { - super((Class) null); - newTQJisCodec(); - } - private native void newTQJisCodec(); - /** 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/qtjava/javalib/org/kde/qt/QJpUnicodeConv.java b/qtjava/javalib/org/kde/qt/QJpUnicodeConv.java deleted file mode 100644 index 62c990f8..00000000 --- a/qtjava/javalib/org/kde/qt/QJpUnicodeConv.java +++ /dev/null @@ -1,62 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQJpUnicodeConv implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQJpUnicodeConv(Class dummy){} - - public static final int Default = 0x0000; - public static final int Unicode = 0x0001; - public static final int Unicode_JISX0201 = 0x0001; - public static final int Unicode_ASCII = 0x0002; - public static final int JISX0221_JISX0201 = 0x0003; - public static final int JISX0221_ASCII = 0x0004; - public static final int Sun_JDK117 = 0x0005; - public static final int Microsoft_CP932 = 0x0006; - public static final int NEC_VDC = 0x0100; - public static final int UDC = 0x0200; - public static final int IBM_VDC = 0x0400; - - public native int asciiToUnicode(int h, int l); - public native int jisx0201ToUnicode(int h, int l); - public native int jisx0201LatinToUnicode(int h, int l); - public native int jisx0201KanaToUnicode(int h, int l); - public native int jisx0208ToUnicode(int h, int l); - public native int jisx0212ToUnicode(int h, int l); - public native int asciiToUnicode(int ascii); - public native int jisx0201ToUnicode(int jis); - public native int jisx0201LatinToUnicode(int jis); - public native int jisx0201KanaToUnicode(int jis); - public native int jisx0208ToUnicode(int jis); - public native int jisx0212ToUnicode(int jis); - public native int unicodeToAscii(int h, int l); - public native int unicodeToJisx0201(int h, int l); - public native int unicodeToJisx0201Latin(int h, int l); - public native int unicodeToJisx0201Kana(int h, int l); - public native int unicodeToJisx0208(int h, int l); - public native int unicodeToJisx0212(int h, int l); - public native int unicodeToAscii(int unicode); - public native int unicodeToJisx0201(int unicode); - public native int unicodeToJisx0201Latin(int unicode); - public native int unicodeToJisx0201Kana(int unicode); - public native int unicodeToJisx0208(int unicode); - public native int unicodeToJisx0212(int unicode); - public native int sjisToUnicode(int h, int l); - public native int unicodeToSjis(int h, int l); - public native int sjisToUnicode(int sjis); - public native int unicodeToSjis(int unicode); - public static native TQJpUnicodeConv newConverter(int rule); - public TQJpUnicodeConv(int r) { - newTQJpUnicodeConv(r); - } - private native void newTQJpUnicodeConv(int r); - /** 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/qtjava/javalib/org/kde/qt/QKeyEvent.java b/qtjava/javalib/org/kde/qt/QKeyEvent.java deleted file mode 100644 index 50015bfc..00000000 --- a/qtjava/javalib/org/kde/qt/QKeyEvent.java +++ /dev/null @@ -1,44 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQKeyEvent extends TQEvent { - protected TQKeyEvent(Class dummy){super((Class) null);} - public TQKeyEvent(int type, int key, int ascii, int state, String text, boolean autorep, short count) { - super((Class) null); - newTQKeyEvent(type,key,ascii,state,text,autorep,count); - } - private native void newTQKeyEvent(int type, int key, int ascii, int state, String text, boolean autorep, short count); - public TQKeyEvent(int type, int key, int ascii, int state, String text, boolean autorep) { - super((Class) null); - newTQKeyEvent(type,key,ascii,state,text,autorep); - } - private native void newTQKeyEvent(int type, int key, int ascii, int state, String text, boolean autorep); - public TQKeyEvent(int type, int key, int ascii, int state, String text) { - super((Class) null); - newTQKeyEvent(type,key,ascii,state,text); - } - private native void newTQKeyEvent(int type, int key, int ascii, int state, String text); - public TQKeyEvent(int type, int key, int ascii, int state) { - super((Class) null); - newTQKeyEvent(type,key,ascii,state); - } - private native void newTQKeyEvent(int type, int key, int ascii, int state); - public native int key(); - public native int ascii(); - public native int state(); - public native int stateAfter(); - public native boolean isAccepted(); - public native String text(); - public native boolean isAutoRepeat(); - public native int count(); - public native void accept(); - public native void ignore(); - /** 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/qtjava/javalib/org/kde/qt/QKeySequence.java b/qtjava/javalib/org/kde/qt/QKeySequence.java deleted file mode 100644 index 78b9da76..00000000 --- a/qtjava/javalib/org/kde/qt/QKeySequence.java +++ /dev/null @@ -1,55 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQKeySequence extends Qt { - protected TQKeySequence(Class dummy){super((Class) null);} - public TQKeySequence() { - super((Class) null); - newTQKeySequence(); - } - private native void newTQKeySequence(); - public TQKeySequence(String key) { - super((Class) null); - newTQKeySequence(key); - } - private native void newTQKeySequence(String key); - public TQKeySequence(int key) { - super((Class) null); - newTQKeySequence(key); - } - private native void newTQKeySequence(int key); - public TQKeySequence(int k1, int k2, int k3, int k4) { - super((Class) null); - newTQKeySequence(k1,k2,k3,k4); - } - private native void newTQKeySequence(int k1, int k2, int k3, int k4); - public TQKeySequence(int k1, int k2, int k3) { - super((Class) null); - newTQKeySequence(k1,k2,k3); - } - private native void newTQKeySequence(int k1, int k2, int k3); - public TQKeySequence(int k1, int k2) { - super((Class) null); - newTQKeySequence(k1,k2); - } - private native void newTQKeySequence(int k1, int k2); - public TQKeySequence(TQKeySequence arg1) { - super((Class) null); - newTQKeySequence(arg1); - } - private native void newTQKeySequence(TQKeySequence arg1); - public native int count(); - public native boolean isEmpty(); - public native int matches(TQKeySequence arg1); - public native int op_at(int arg1); - public native boolean op_equals(TQKeySequence arg1); - public native boolean op_not_equals(TQKeySequence 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/qtjava/javalib/org/kde/qt/QLCDNumber.java b/qtjava/javalib/org/kde/qt/QLCDNumber.java deleted file mode 100644 index ef3d31c5..00000000 --- a/qtjava/javalib/org/kde/qt/QLCDNumber.java +++ /dev/null @@ -1,85 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQLCDNumberSignals} for signals emitted by TQLCDNumber -*/ -public class TQLCDNumber extends TQFrame { - protected TQLCDNumber(Class dummy){super((Class) null);} - public static final int Hex = 0; - public static final int Dec = 1; - public static final int Oct = 2; - public static final int Bin = 3; - public static final int HEX = Hex; - public static final int DEC = Dec; - public static final int OCT = Oct; - public static final int BIN = Bin; - - public static final int Outline = 0; - public static final int Filled = 1; - public static final int Flat = 2; - - public native TQMetaObject metaObject(); - public native String className(); - public TQLCDNumber(TQWidget parent, String name) { - super((Class) null); - newTQLCDNumber(parent,name); - } - private native void newTQLCDNumber(TQWidget parent, String name); - public TQLCDNumber(TQWidget parent) { - super((Class) null); - newTQLCDNumber(parent); - } - private native void newTQLCDNumber(TQWidget parent); - public TQLCDNumber() { - super((Class) null); - newTQLCDNumber(); - } - private native void newTQLCDNumber(); - public TQLCDNumber(int numDigits, TQWidget parent, String name) { - super((Class) null); - newTQLCDNumber(numDigits,parent,name); - } - private native void newTQLCDNumber(int numDigits, TQWidget parent, String name); - public TQLCDNumber(int numDigits, TQWidget parent) { - super((Class) null); - newTQLCDNumber(numDigits,parent); - } - private native void newTQLCDNumber(int numDigits, TQWidget parent); - public TQLCDNumber(int numDigits) { - super((Class) null); - newTQLCDNumber(numDigits); - } - private native void newTQLCDNumber(int numDigits); - public native boolean smallDecimalPoint(); - public native int numDigits(); - public native void setNumDigits(int nDigits); - public native boolean checkOverflow(double num); - public native boolean checkOverflow(int num); - public native int mode(); - public native void setMode(int arg1); - public native int segmentStyle(); - public native void setSegmentStyle(int arg1); - public native double value(); - public native int intValue(); - public native TQSize sizeHint(); - public native void display(String str); - public native void display(int num); - public native void display(double num); - public native void setHexMode(); - public native void setDecMode(); - public native void setOctMode(); - public native void setBinMode(); - public native void setSmallDecimalPoint(boolean arg1); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void drawContents(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/qtjava/javalib/org/kde/qt/QLCDNumberSignals.java b/qtjava/javalib/org/kde/qt/QLCDNumberSignals.java deleted file mode 100644 index 0fecf72f..00000000 --- a/qtjava/javalib/org/kde/qt/QLCDNumberSignals.java +++ /dev/null @@ -1,7 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQLCDNumberSignals { - void overflow(); -} diff --git a/qtjava/javalib/org/kde/qt/QLabel.java b/qtjava/javalib/org/kde/qt/QLabel.java deleted file mode 100644 index 8803ecac..00000000 --- a/qtjava/javalib/org/kde/qt/QLabel.java +++ /dev/null @@ -1,93 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQLabel extends TQFrame { - protected TQLabel(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQLabel(TQWidget parent, String name, int f) { - super((Class) null); - newTQLabel(parent,name,f); - } - private native void newTQLabel(TQWidget parent, String name, int f); - public TQLabel(TQWidget parent, String name) { - super((Class) null); - newTQLabel(parent,name); - } - private native void newTQLabel(TQWidget parent, String name); - public TQLabel(TQWidget parent) { - super((Class) null); - newTQLabel(parent); - } - private native void newTQLabel(TQWidget parent); - public TQLabel(String text, TQWidget parent, String name, int f) { - super((Class) null); - newTQLabel(text,parent,name,f); - } - private native void newTQLabel(String text, TQWidget parent, String name, int f); - public TQLabel(String text, TQWidget parent, String name) { - super((Class) null); - newTQLabel(text,parent,name); - } - private native void newTQLabel(String text, TQWidget parent, String name); - public TQLabel(String text, TQWidget parent) { - super((Class) null); - newTQLabel(text,parent); - } - private native void newTQLabel(String text, TQWidget parent); - public TQLabel(TQWidget buddy, String arg2, TQWidget parent, String name, int f) { - super((Class) null); - newTQLabel(buddy,arg2,parent,name,f); - } - private native void newTQLabel(TQWidget buddy, String arg2, TQWidget parent, String name, int f); - public TQLabel(TQWidget buddy, String arg2, TQWidget parent, String name) { - super((Class) null); - newTQLabel(buddy,arg2,parent,name); - } - private native void newTQLabel(TQWidget buddy, String arg2, TQWidget parent, String name); - public TQLabel(TQWidget buddy, String arg2, TQWidget parent) { - super((Class) null); - newTQLabel(buddy,arg2,parent); - } - private native void newTQLabel(TQWidget buddy, String arg2, TQWidget parent); - public native String text(); - public native TQPixmap pixmap(); - public native TQPicture picture(); - public native TQMovie movie(); - public native int textFormat(); - public native void setTextFormat(int arg1); - public native int alignment(); - public native void setAlignment(int arg1); - public native int indent(); - public native void setIndent(int arg1); - public native boolean autoResize(); - public native void setAutoResize(boolean arg1); - public native boolean hasScaledContents(); - public native void setScaledContents(boolean arg1); - public native TQSize sizeHint(); - public native TQSize minimumSizeHint(); - public native void setBuddy(TQWidget arg1); - public native TQWidget buddy(); - public native int heightForWidth(int arg1); - public native void setFont(TQFont f); - public native void setText(String arg1); - public native void setPixmap(TQPixmap arg1); - public native void setPicture(TQPicture arg1); - public native void setMovie(TQMovie arg1); - public native void setNum(int arg1); - public native void setNum(double arg1); - public native void clear(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void drawContents(TQPainter arg1); - protected native void fontChange(TQFont arg1); - protected native void resizeEvent(TQResizeEvent 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/qtjava/javalib/org/kde/qt/QLayout.java b/qtjava/javalib/org/kde/qt/QLayout.java deleted file mode 100644 index 1260ac15..00000000 --- a/qtjava/javalib/org/kde/qt/QLayout.java +++ /dev/null @@ -1,61 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQLayout extends TQObject implements TQLayoutItemInterface { - protected TQLayout(Class dummy){super((Class) null);} - public static final int FreeResize = 0; - public static final int Minimum = 1; - public static final int Fixed = 2; - public static final int Auto = 3; - - public native TQMetaObject metaObject(); - public native String className(); - public native int margin(); - public native int spacing(); - public native void setMargin(int arg1); - public native void setSpacing(int arg1); - public native int defaultBorder(); - public native void freeze(int w, int h); - public native void freeze(); - public native void setResizeMode(int arg1); - public native int resizeMode(); - public native void setMenuBar(TQMenuBar w); - public native TQMenuBar menuBar(); - public native TQWidget mainWidget(); - public native boolean isTopLevel(); - public native void setAutoAdd(boolean arg1); - public native boolean autoAdd(); - public native void invalidate(); - public native TQRect geometry(); - public native boolean activate(); - public native void add(TQWidget w); - public native void addItem(TQLayoutItemInterface arg1); - public native void remove(TQWidget w); - public native void removeItem(TQLayoutItemInterface arg1); - public native int expanding(); - public native TQSize minimumSize(); - public native TQSize maximumSize(); - public native void setGeometry(TQRect arg1); - // TQLayoutIterator iterator(); >>>> NOT CONVERTED - public native boolean isEmpty(); - public native int totalHeightForWidth(int w); - public native TQSize totalMinimumSize(); - public native TQSize totalMaximumSize(); - public native TQSize totalSizeHint(); - public native TQLayout layout(); - public native boolean supportsMargin(); - public native void setEnabled(boolean arg1); - public native boolean isEnabled(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - public native TQSize sizeHint(); - public native boolean hasHeightForWidth(); - public native int heightForWidth(int arg1); - public native TQWidget widget(); - // TQLayoutIterator iterator(); >>>> NOT CONVERTED - public native TQSpacerItem spacerItem(); - public native int alignment(); - public native void setAlignment(int a); -} diff --git a/qtjava/javalib/org/kde/qt/QLayoutItem.java b/qtjava/javalib/org/kde/qt/QLayoutItem.java deleted file mode 100644 index d5849b72..00000000 --- a/qtjava/javalib/org/kde/qt/QLayoutItem.java +++ /dev/null @@ -1,27 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQLayoutItem implements QtSupport, TQLayoutItemInterface { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQLayoutItem(Class dummy){} - - public native TQSize sizeHint(); - public native TQSize minimumSize(); - public native TQSize maximumSize(); - public native int expanding(); - public native void setGeometry(TQRect arg1); - public native TQRect geometry(); - public native boolean isEmpty(); - public native boolean hasHeightForWidth(); - public native int heightForWidth(int arg1); - public native void invalidate(); - public native TQWidget widget(); - // TQLayoutIterator iterator(); >>>> NOT CONVERTED - public native TQLayout layout(); - public native TQSpacerItem spacerItem(); - public native int alignment(); - public native void setAlignment(int a); -} diff --git a/qtjava/javalib/org/kde/qt/QLayoutItemInterface.java b/qtjava/javalib/org/kde/qt/QLayoutItemInterface.java deleted file mode 100644 index 081eb64c..00000000 --- a/qtjava/javalib/org/kde/qt/QLayoutItemInterface.java +++ /dev/null @@ -1,21 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQLayoutItemInterface { - TQSize sizeHint(); - TQSize minimumSize(); - TQSize maximumSize(); - int expanding(); - void setGeometry(TQRect arg1); - TQRect geometry(); - boolean isEmpty(); - boolean hasHeightForWidth(); - int heightForWidth(int arg1); - void invalidate(); - TQWidget widget(); - TQLayout layout(); - TQSpacerItem spacerItem(); - int alignment(); - void setAlignment(int a); -} diff --git a/qtjava/javalib/org/kde/qt/QLibrary.java b/qtjava/javalib/org/kde/qt/QLibrary.java deleted file mode 100644 index 4cd3924d..00000000 --- a/qtjava/javalib/org/kde/qt/QLibrary.java +++ /dev/null @@ -1,29 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQLibrary implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQLibrary(Class dummy){} - - public TQLibrary(String filename) { - newTQLibrary(filename); - } - private native void newTQLibrary(String filename); - // void* resolve(const char* arg1); >>>> NOT CONVERTED - public native boolean load(); - public native boolean unload(); - public native boolean isLoaded(); - public native boolean autoUnload(); - public native void setAutoUnload(boolean enable); - public native String library(); - // void* resolve(const TQString& arg1,const char* arg2); >>>> 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/qtjava/javalib/org/kde/qt/QLineEdit.java b/qtjava/javalib/org/kde/qt/QLineEdit.java deleted file mode 100644 index a3c555f3..00000000 --- a/qtjava/javalib/org/kde/qt/QLineEdit.java +++ /dev/null @@ -1,141 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQLineEditSignals} for signals emitted by TQLineEdit -*/ -public class TQLineEdit extends TQFrame { - protected TQLineEdit(Class dummy){super((Class) null);} - public static final int Normal = 0; - public static final int NoEcho = 1; - public static final int Password = 2; - - public native TQMetaObject metaObject(); - public native String className(); - public TQLineEdit(TQWidget parent, String name) { - super((Class) null); - newTQLineEdit(parent,name); - } - private native void newTQLineEdit(TQWidget parent, String name); - public TQLineEdit(TQWidget parent) { - super((Class) null); - newTQLineEdit(parent); - } - private native void newTQLineEdit(TQWidget parent); - public TQLineEdit(String arg1, TQWidget parent, String name) { - super((Class) null); - newTQLineEdit(arg1,parent,name); - } - private native void newTQLineEdit(String arg1, TQWidget parent, String name); - public TQLineEdit(String arg1, TQWidget parent) { - super((Class) null); - newTQLineEdit(arg1,parent); - } - private native void newTQLineEdit(String arg1, TQWidget parent); - public TQLineEdit(String arg1, String arg2, TQWidget parent, String name) { - super((Class) null); - newTQLineEdit(arg1,arg2,parent,name); - } - private native void newTQLineEdit(String arg1, String arg2, TQWidget parent, String name); - public TQLineEdit(String arg1, String arg2, TQWidget parent) { - super((Class) null); - newTQLineEdit(arg1,arg2,parent); - } - private native void newTQLineEdit(String arg1, String arg2, TQWidget parent); - public native String text(); - public native String displayText(); - public native int maxLength(); - public native boolean frame(); - public native int echoMode(); - public native boolean isReadOnly(); - public native TQValidator validator(); - public native TQSize sizeHint(); - public native TQSize minimumSizeHint(); - public native int cursorPosition(); - public native boolean validateAndSet(String arg1, int arg2, int arg3, int arg4); - public native int alignment(); - public native void cursorLeft(boolean mark, int steps); - public native void cursorLeft(boolean mark); - public native void cursorRight(boolean mark, int steps); - public native void cursorRight(boolean mark); - public native void cursorForward(boolean mark, int steps); - public native void cursorForward(boolean mark); - public native void cursorBackward(boolean mark, int steps); - public native void cursorBackward(boolean mark); - public native void cursorWordForward(boolean mark); - public native void cursorWordBackward(boolean mark); - public native void backspace(); - public native void del(); - public native void home(boolean mark); - public native void end(boolean mark); - public native boolean isModified(); - public native void clearModified(); - public native boolean edited(); - public native void setEdited(boolean arg1); - public native boolean hasSelectedText(); - public native String selectedText(); - public native int selectionStart(); - public native boolean isUndoAvailable(); - public native boolean isRedoAvailable(); - public native boolean hasMarkedText(); - public native String markedText(); - public native boolean dragEnabled(); - public native String inputMask(); - public native void setInputMask(String inputMask); - public native boolean hasAcceptableInput(); - public native int characterAt(int arg1, char arg2); - public native boolean getSelection(int[] arg1, int[] arg2); - public native void setText(String arg1); - public native void selectAll(); - public native void deselect(); - public native void clearValidator(); - public native void insert(String arg1); - public native void clear(); - public native void undo(); - public native void redo(); - public native void setMaxLength(int arg1); - public native void setFrame(boolean arg1); - public native void setEchoMode(int arg1); - public native void setReadOnly(boolean arg1); - public native void setValidator(TQValidator arg1); - public native void setFont(TQFont arg1); - public native void setPalette(TQPalette arg1); - public native void setSelection(int arg1, int arg2); - public native void setCursorPosition(int arg1); - public native void setAlignment(int flag); - public native void cut(); - public native void copy(); - public native void paste(); - public native void setDragEnabled(boolean b); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - public native boolean event(TQEvent arg1); - protected native void mousePressEvent(TQMouseEvent arg1); - protected native void mouseMoveEvent(TQMouseEvent arg1); - protected native void mouseReleaseEvent(TQMouseEvent arg1); - protected native void mouseDoubleClickEvent(TQMouseEvent arg1); - protected native void keyPressEvent(TQKeyEvent arg1); - protected native void imStartEvent(TQIMEvent arg1); - protected native void imComposeEvent(TQIMEvent arg1); - protected native void imEndEvent(TQIMEvent arg1); - protected native void focusInEvent(TQFocusEvent arg1); - protected native void focusOutEvent(TQFocusEvent arg1); - protected native void resizeEvent(TQResizeEvent arg1); - protected native void drawContents(TQPainter arg1); - protected native void dragEnterEvent(TQDragEnterEvent arg1); - protected native void dragMoveEvent(TQDragMoveEvent e); - protected native void dragLeaveEvent(TQDragLeaveEvent e); - protected native void dropEvent(TQDropEvent arg1); - protected native void contextMenuEvent(TQContextMenuEvent arg1); - protected native TQPopupMenu createPopupMenu(); - protected native void windowActivationChange(boolean arg1); - protected native void repaintArea(int arg1, int 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/qtjava/javalib/org/kde/qt/QLineEditSignals.java b/qtjava/javalib/org/kde/qt/QLineEditSignals.java deleted file mode 100644 index 37b59980..00000000 --- a/qtjava/javalib/org/kde/qt/QLineEditSignals.java +++ /dev/null @@ -1,10 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQLineEditSignals { - void textChanged(String arg1); - void returnPressed(); - void lostFocus(); - void selectionChanged(); -} diff --git a/qtjava/javalib/org/kde/qt/QListBox.java b/qtjava/javalib/org/kde/qt/QListBox.java deleted file mode 100644 index c4cbc23e..00000000 --- a/qtjava/javalib/org/kde/qt/QListBox.java +++ /dev/null @@ -1,174 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQListBoxSignals} for signals emitted by TQListBox -*/ -public class TQListBox extends TQScrollView { - protected TQListBox(Class dummy){super((Class) null);} - public static final int Single = 0; - public static final int Multi = 1; - public static final int Extended = 2; - public static final int NoSelection = 3; - - public static final int FixedNumber = 0; - public static final int FitToWidth = 1; - public static final int FitToHeight = FitToWidth; - public static final int Variable = 2; - - public native TQMetaObject metaObject(); - public native String className(); - public TQListBox(TQWidget parent, String name, int f) { - super((Class) null); - newTQListBox(parent,name,f); - } - private native void newTQListBox(TQWidget parent, String name, int f); - public TQListBox(TQWidget parent, String name) { - super((Class) null); - newTQListBox(parent,name); - } - private native void newTQListBox(TQWidget parent, String name); - public TQListBox(TQWidget parent) { - super((Class) null); - newTQListBox(parent); - } - private native void newTQListBox(TQWidget parent); - public TQListBox() { - super((Class) null); - newTQListBox(); - } - private native void newTQListBox(); - public native void setFont(TQFont arg1); - public native int count(); - public native void insertStringList(String[] arg1, int index); - public native void insertStringList(String[] arg1); - public native void insertStrList(String[] arg1, int index); - public native void insertStrList(String[] arg1); - public native void insertStrList(String[] arg1, int numStrings, int index); - public native void insertItem(TQListBoxItem arg1, int index); - public native void insertItem(TQListBoxItem arg1); - public native void insertItem(TQListBoxItem arg1, TQListBoxItem after); - public native void insertItem(String text, int index); - public native void insertItem(String text); - public native void insertItem(TQPixmap pixmap, int index); - public native void insertItem(TQPixmap pixmap); - public native void insertItem(TQPixmap pixmap, String text, int index); - public native void insertItem(TQPixmap pixmap, String text); - public native void removeItem(int index); - public native String text(int index); - public native TQPixmap pixmap(int index); - public native void changeItem(TQListBoxItem arg1, int index); - public native void changeItem(String text, int index); - public native void changeItem(TQPixmap pixmap, int index); - public native void changeItem(TQPixmap pixmap, String text, int index); - public native void takeItem(TQListBoxItem arg1); - public native int numItemsVisible(); - public native int currentItem(); - public native String currentText(); - public native void setCurrentItem(int index); - public native void setCurrentItem(TQListBoxItem arg1); - public native void centerCurrentItem(); - public native int topItem(); - public native void setTopItem(int index); - public native void setBottomItem(int index); - public native long maxItemWidth(); - public native void setSelectionMode(int arg1); - public native int selectionMode(); - public native void setMultiSelection(boolean multi); - public native boolean isMultiSelection(); - public native void setSelected(TQListBoxItem arg1, boolean arg2); - public native void setSelected(int arg1, boolean arg2); - public native boolean isSelected(int arg1); - public native boolean isSelected(TQListBoxItem arg1); - public native TQListBoxItem selectedItem(); - public native TQSize sizeHint(); - public native TQSize minimumSizeHint(); - public native TQListBoxItem item(int index); - public native int index(TQListBoxItem arg1); - public native TQListBoxItem findItem(String text, int compare); - public native TQListBoxItem findItem(String text); - public native void triggerUpdate(boolean doLayout); - public native boolean itemVisible(int index); - public native boolean itemVisible(TQListBoxItem arg1); - public native void setColumnMode(int arg1); - public native void setRowMode(int arg1); - public native int columnMode(); - public native int rowMode(); - public native int numColumns(); - public native int numRows(); - public native boolean variableWidth(); - public native void setVariableWidth(boolean arg1); - public native boolean variableHeight(); - public native void setVariableHeight(boolean arg1); - public native void viewportPaintEvent(TQPaintEvent arg1); - public native boolean dragSelect(); - public native void setDragSelect(boolean arg1); - public native boolean autoScroll(); - public native void setAutoScroll(boolean arg1); - public native boolean autoScrollBar(); - public native void setAutoScrollBar(boolean enable); - public native boolean scrollBar(); - public native void setScrollBar(boolean enable); - public native boolean autoBottomScrollBar(); - public native void setAutoBottomScrollBar(boolean enable); - public native boolean bottomScrollBar(); - public native void setBottomScrollBar(boolean enable); - public native boolean smoothScrolling(); - public native void setSmoothScrolling(boolean arg1); - public native boolean autoUpdate(); - public native void setAutoUpdate(boolean arg1); - public native void setFixedVisibleLines(int lines); - public native int inSort(TQListBoxItem arg1); - public native int inSort(String text); - public native int cellHeight(int i); - public native int cellHeight(); - public native int cellWidth(); - public native int cellWidth(int i); - public native int numCols(); - public native int itemHeight(int index); - public native int itemHeight(); - public native TQListBoxItem itemAt(TQPoint arg1); - public native TQRect itemRect(TQListBoxItem item); - public native TQListBoxItem firstItem(); - public native void sort(boolean ascending); - public native void sort(); - public native void clear(); - public native void ensureCurrentVisible(); - public native void clearSelection(); - public native void selectAll(boolean select); - public native void invertSelection(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void mousePressEvent(TQMouseEvent arg1); - protected native void mouseReleaseEvent(TQMouseEvent arg1); - protected native void mouseDoubleClickEvent(TQMouseEvent arg1); - protected native void mouseMoveEvent(TQMouseEvent arg1); - protected native void contentsContextMenuEvent(TQContextMenuEvent arg1); - protected native void keyPressEvent(TQKeyEvent e); - protected native void focusInEvent(TQFocusEvent e); - protected native void focusOutEvent(TQFocusEvent e); - protected native void resizeEvent(TQResizeEvent arg1); - public native void showEvent(TQShowEvent arg1); - public native boolean eventFilter(TQObject o, TQEvent e); - protected native void updateItem(int index); - protected native void updateItem(TQListBoxItem arg1); - protected native void updateCellWidth(); - protected native int totalWidth(); - protected native int totalHeight(); - public native void paintCell(TQPainter arg1, int row, int col); - protected native void toggleCurrentItem(); - protected native boolean isRubberSelecting(); - protected native void doLayout(); - protected native void windowActivationChange(boolean arg1); - protected native boolean itemYPos(int index, int[] yPos); - protected native int findItem(int yPos); - protected native void clearInputString(); - /** 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/qtjava/javalib/org/kde/qt/QListBoxItem.java b/qtjava/javalib/org/kde/qt/QListBoxItem.java deleted file mode 100644 index 6803a9fd..00000000 --- a/qtjava/javalib/org/kde/qt/QListBoxItem.java +++ /dev/null @@ -1,25 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQListBoxItem implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQListBoxItem(Class dummy){} - - public native String text(); - public native TQPixmap pixmap(); - public native int height(TQListBox arg1); - public native int width(TQListBox arg1); - public native boolean isSelected(); - public native boolean isCurrent(); - public native boolean selected(); - public native boolean current(); - public native TQListBox listBox(); - public native void setSelectable(boolean b); - public native boolean isSelectable(); - public native TQListBoxItem next(); - public native TQListBoxItem prev(); - public native int rtti(); -} diff --git a/qtjava/javalib/org/kde/qt/QListBoxPixmap.java b/qtjava/javalib/org/kde/qt/QListBoxPixmap.java deleted file mode 100644 index 00b5d10e..00000000 --- a/qtjava/javalib/org/kde/qt/QListBoxPixmap.java +++ /dev/null @@ -1,49 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQListBoxPixmap extends TQListBoxItem { - protected TQListBoxPixmap(Class dummy){super((Class) null);} - public TQListBoxPixmap(TQListBox listbox, TQPixmap arg2) { - super((Class) null); - newTQListBoxPixmap(listbox,arg2); - } - private native void newTQListBoxPixmap(TQListBox listbox, TQPixmap arg2); - public TQListBoxPixmap(TQPixmap arg1) { - super((Class) null); - newTQListBoxPixmap(arg1); - } - private native void newTQListBoxPixmap(TQPixmap arg1); - public TQListBoxPixmap(TQListBox listbox, TQPixmap pix, TQListBoxItem after) { - super((Class) null); - newTQListBoxPixmap(listbox,pix,after); - } - private native void newTQListBoxPixmap(TQListBox listbox, TQPixmap pix, TQListBoxItem after); - public TQListBoxPixmap(TQListBox listbox, TQPixmap arg2, String arg3) { - super((Class) null); - newTQListBoxPixmap(listbox,arg2,arg3); - } - private native void newTQListBoxPixmap(TQListBox listbox, TQPixmap arg2, String arg3); - public TQListBoxPixmap(TQPixmap arg1, String arg2) { - super((Class) null); - newTQListBoxPixmap(arg1,arg2); - } - private native void newTQListBoxPixmap(TQPixmap arg1, String arg2); - public TQListBoxPixmap(TQListBox listbox, TQPixmap pix, String arg3, TQListBoxItem after) { - super((Class) null); - newTQListBoxPixmap(listbox,pix,arg3,after); - } - private native void newTQListBoxPixmap(TQListBox listbox, TQPixmap pix, String arg3, TQListBoxItem after); - public native TQPixmap pixmap(); - public native int height(TQListBox arg1); - public native int width(TQListBox arg1); - public native int rtti(); - protected native void paint(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/qtjava/javalib/org/kde/qt/QListBoxSignals.java b/qtjava/javalib/org/kde/qt/QListBoxSignals.java deleted file mode 100644 index d98ec9e6..00000000 --- a/qtjava/javalib/org/kde/qt/QListBoxSignals.java +++ /dev/null @@ -1,28 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQListBoxSignals { - void highlighted(int index); - void selected(int index); - void highlighted(String arg1); - void selected(String arg1); - void highlighted(TQListBoxItem arg1); - void selected(TQListBoxItem arg1); - void selectionChanged(); - void selectionChanged(TQListBoxItem arg1); - void currentChanged(TQListBoxItem arg1); - void clicked(TQListBoxItem arg1); - void clicked(TQListBoxItem arg1, TQPoint arg2); - void pressed(TQListBoxItem arg1); - void pressed(TQListBoxItem arg1, TQPoint arg2); - void doubleClicked(TQListBoxItem arg1); - void returnPressed(TQListBoxItem arg1); - void rightButtonClicked(TQListBoxItem arg1, TQPoint arg2); - void rightButtonPressed(TQListBoxItem arg1, TQPoint arg2); - void mouseButtonPressed(int arg1, TQListBoxItem arg2, TQPoint arg3); - void mouseButtonClicked(int arg1, TQListBoxItem arg2, TQPoint arg3); - void contextMenuRequested(TQListBoxItem arg1, TQPoint arg2); - void onItem(TQListBoxItem item); - void onViewport(); -} diff --git a/qtjava/javalib/org/kde/qt/QListBoxText.java b/qtjava/javalib/org/kde/qt/QListBoxText.java deleted file mode 100644 index 6cf9d2fe..00000000 --- a/qtjava/javalib/org/kde/qt/QListBoxText.java +++ /dev/null @@ -1,43 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQListBoxText extends TQListBoxItem { - protected TQListBoxText(Class dummy){super((Class) null);} - public TQListBoxText(TQListBox listbox, String text) { - super((Class) null); - newTQListBoxText(listbox,text); - } - private native void newTQListBoxText(TQListBox listbox, String text); - public TQListBoxText(TQListBox listbox) { - super((Class) null); - newTQListBoxText(listbox); - } - private native void newTQListBoxText(TQListBox listbox); - public TQListBoxText(String text) { - super((Class) null); - newTQListBoxText(text); - } - private native void newTQListBoxText(String text); - public TQListBoxText() { - super((Class) null); - newTQListBoxText(); - } - private native void newTQListBoxText(); - public TQListBoxText(TQListBox listbox, String text, TQListBoxItem after) { - super((Class) null); - newTQListBoxText(listbox,text,after); - } - private native void newTQListBoxText(TQListBox listbox, String text, TQListBoxItem after); - public native int height(TQListBox arg1); - public native int width(TQListBox arg1); - public native int rtti(); - protected native void paint(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/qtjava/javalib/org/kde/qt/QListView.java b/qtjava/javalib/org/kde/qt/QListView.java deleted file mode 100644 index 9ebb3d01..00000000 --- a/qtjava/javalib/org/kde/qt/QListView.java +++ /dev/null @@ -1,161 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import java.util.ArrayList; -import org.kde.qt.Qt; - -/** - See {@link TQListViewSignals} for signals emitted by TQListView -*/ -public class TQListView extends TQScrollView { - protected TQListView(Class dummy){super((Class) null);} - public static final int Manual = 0; - public static final int Maximum = 1; - - public static final int Single = 0; - public static final int Multi = 1; - public static final int Extended = 2; - public static final int NoSelection = 3; - - public static final int NoColumn = 0; - public static final int AllColumns = 1; - public static final int LastColumn = 2; - - public static final int Accept = 0; - public static final int Reject = 1; - - public native TQMetaObject metaObject(); - public native String className(); - public TQListView(TQWidget parent, String name, int f) { - super((Class) null); - newTQListView(parent,name,f); - } - private native void newTQListView(TQWidget parent, String name, int f); - public TQListView(TQWidget parent, String name) { - super((Class) null); - newTQListView(parent,name); - } - private native void newTQListView(TQWidget parent, String name); - public TQListView(TQWidget parent) { - super((Class) null); - newTQListView(parent); - } - private native void newTQListView(TQWidget parent); - public TQListView() { - super((Class) null); - newTQListView(); - } - private native void newTQListView(); - public native int treeStepSize(); - public native void setTreeStepSize(int arg1); - public native void insertItem(TQListViewItem arg1); - public native void takeItem(TQListViewItem arg1); - public native void removeItem(TQListViewItem item); - public native TQHeader header(); - public native int addColumn(String label, int size); - public native int addColumn(String label); - public native int addColumn(TQIconSet iconset, String label, int size); - public native int addColumn(TQIconSet iconset, String label); - public native void removeColumn(int index); - public native void setColumnText(int column, String label); - public native void setColumnText(int column, TQIconSet iconset, String label); - public native String columnText(int column); - public native void setColumnWidth(int column, int width); - public native int columnWidth(int column); - public native void setColumnWidthMode(int column, int arg2); - public native int columnWidthMode(int column); - public native int columns(); - public native void setColumnAlignment(int arg1, int arg2); - public native int columnAlignment(int arg1); - public native void show(); - public native TQListViewItem itemAt(TQPoint screenPos); - public native TQRect itemRect(TQListViewItem arg1); - public native int itemPos(TQListViewItem arg1); - public native void ensureItemVisible(TQListViewItem arg1); - public native void repaintItem(TQListViewItem arg1); - public native void setMultiSelection(boolean enable); - public native boolean isMultiSelection(); - public native void setSelectionMode(int mode); - public native int selectionMode(); - public native void clearSelection(); - public native void setSelected(TQListViewItem arg1, boolean arg2); - public native void setSelectionAnchor(TQListViewItem arg1); - public native boolean isSelected(TQListViewItem arg1); - public native TQListViewItem selectedItem(); - public native void setOpen(TQListViewItem arg1, boolean arg2); - public native boolean isOpen(TQListViewItem arg1); - public native void setCurrentItem(TQListViewItem arg1); - public native TQListViewItem currentItem(); - public native TQListViewItem firstChild(); - public native TQListViewItem lastItem(); - public native int childCount(); - public native void setAllColumnsShowFocus(boolean arg1); - public native boolean allColumnsShowFocus(); - public native void setItemMargin(int arg1); - public native int itemMargin(); - public native void setRootIsDecorated(boolean arg1); - public native boolean rootIsDecorated(); - public native void setSorting(int column, boolean ascending); - public native void setSorting(int column); - public native int sortColumn(); - public native void setSortColumn(int column); - public native int sortOrder(); - public native void setSortOrder(int order); - public native void sort(); - public native void setFont(TQFont arg1); - public native void setPalette(TQPalette arg1); - public native boolean eventFilter(TQObject o, TQEvent arg2); - public native TQSize sizeHint(); - public native TQSize minimumSizeHint(); - public native void setShowSortIndicator(boolean show); - public native boolean showSortIndicator(); - public native void setShowToolTips(boolean b); - public native boolean showToolTips(); - public native void setResizeMode(int m); - public native int resizeMode(); - public native TQListViewItem findItem(String text, int column, int compare); - public native TQListViewItem findItem(String text, int column); - public native void setDefaultRenameAction(int a); - public native int defaultRenameAction(); - public native boolean isRenaming(); - public native void hideColumn(int column); - public native void clear(); - public native void invertSelection(); - public native void selectAll(boolean select); - public native void triggerUpdate(); - public native void setContentsPos(int x, int y); - public native void adjustColumn(int col); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void contentsMousePressEvent(TQMouseEvent e); - protected native void contentsMouseReleaseEvent(TQMouseEvent e); - protected native void contentsMouseMoveEvent(TQMouseEvent e); - protected native void contentsMouseDoubleClickEvent(TQMouseEvent e); - protected native void contentsContextMenuEvent(TQContextMenuEvent e); - protected native void contentsDragEnterEvent(TQDragEnterEvent e); - protected native void contentsDragMoveEvent(TQDragMoveEvent e); - protected native void contentsDragLeaveEvent(TQDragLeaveEvent e); - protected native void contentsDropEvent(TQDropEvent e); - protected native TQDragObject dragObject(); - protected native void startDrag(); - protected native void focusInEvent(TQFocusEvent e); - protected native void focusOutEvent(TQFocusEvent e); - protected native void keyPressEvent(TQKeyEvent e); - protected native void resizeEvent(TQResizeEvent e); - protected native void viewportResizeEvent(TQResizeEvent e); - public native void showEvent(TQShowEvent arg1); - protected native void drawContentsOffset(TQPainter arg1, int ox, int oy, int cx, int cy, int cw, int ch); - protected native void paintEmptyArea(TQPainter arg1, TQRect arg2); - public native void styleChange(TQStyle arg1); - protected native void windowActivationChange(boolean arg1); - public native void updateContents(); - protected native void doAutoScroll(); - /** 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(); - public native ArrayList itemList(); - -} diff --git a/qtjava/javalib/org/kde/qt/QListViewItem.java b/qtjava/javalib/org/kde/qt/QListViewItem.java deleted file mode 100644 index 1bd18ad0..00000000 --- a/qtjava/javalib/org/kde/qt/QListViewItem.java +++ /dev/null @@ -1,262 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import java.util.ArrayList; -import org.kde.qt.Qt; - -public class TQListViewItem extends Qt { - protected TQListViewItem(Class dummy){super((Class) null);} - public TQListViewItem(TQListView parent) { - super((Class) null); - newTQListViewItem(parent); - } - private native void newTQListViewItem(TQListView parent); - public TQListViewItem(TQListViewItem parent) { - super((Class) null); - newTQListViewItem(parent); - } - private native void newTQListViewItem(TQListViewItem parent); - public TQListViewItem(TQListView parent, TQListViewItem after) { - super((Class) null); - newTQListViewItem(parent,after); - } - private native void newTQListViewItem(TQListView parent, TQListViewItem after); - public TQListViewItem(TQListViewItem parent, TQListViewItem after) { - super((Class) null); - newTQListViewItem(parent,after); - } - private native void newTQListViewItem(TQListViewItem parent, TQListViewItem after); - public TQListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) { - super((Class) null); - newTQListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9); - } - private native void newTQListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9); - public TQListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) { - super((Class) null); - newTQListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8); - } - private native void newTQListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8); - public TQListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7) { - super((Class) null); - newTQListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7); - } - private native void newTQListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7); - public TQListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6) { - super((Class) null); - newTQListViewItem(parent,arg2,arg3,arg4,arg5,arg6); - } - private native void newTQListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6); - public TQListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5) { - super((Class) null); - newTQListViewItem(parent,arg2,arg3,arg4,arg5); - } - private native void newTQListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5); - public TQListViewItem(TQListView parent, String arg2, String arg3, String arg4) { - super((Class) null); - newTQListViewItem(parent,arg2,arg3,arg4); - } - private native void newTQListViewItem(TQListView parent, String arg2, String arg3, String arg4); - public TQListViewItem(TQListView parent, String arg2, String arg3) { - super((Class) null); - newTQListViewItem(parent,arg2,arg3); - } - private native void newTQListViewItem(TQListView parent, String arg2, String arg3); - public TQListViewItem(TQListView parent, String arg2) { - super((Class) null); - newTQListViewItem(parent,arg2); - } - private native void newTQListViewItem(TQListView parent, String arg2); - public TQListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) { - super((Class) null); - newTQListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9); - } - private native void newTQListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9); - public TQListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) { - super((Class) null); - newTQListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8); - } - private native void newTQListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8); - public TQListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7) { - super((Class) null); - newTQListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7); - } - private native void newTQListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7); - public TQListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6) { - super((Class) null); - newTQListViewItem(parent,arg2,arg3,arg4,arg5,arg6); - } - private native void newTQListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6); - public TQListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5) { - super((Class) null); - newTQListViewItem(parent,arg2,arg3,arg4,arg5); - } - private native void newTQListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5); - public TQListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4) { - super((Class) null); - newTQListViewItem(parent,arg2,arg3,arg4); - } - private native void newTQListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4); - public TQListViewItem(TQListViewItem parent, String arg2, String arg3) { - super((Class) null); - newTQListViewItem(parent,arg2,arg3); - } - private native void newTQListViewItem(TQListViewItem parent, String arg2, String arg3); - public TQListViewItem(TQListViewItem parent, String arg2) { - super((Class) null); - newTQListViewItem(parent,arg2); - } - private native void newTQListViewItem(TQListViewItem parent, String arg2); - public TQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10) { - super((Class) null); - newTQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10); - } - private native void newTQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10); - public TQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) { - super((Class) null); - newTQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9); - } - private native void newTQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9); - public TQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) { - super((Class) null); - newTQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8); - } - private native void newTQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8); - public TQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7) { - super((Class) null); - newTQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7); - } - private native void newTQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7); - public TQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6) { - super((Class) null); - newTQListViewItem(parent,after,arg3,arg4,arg5,arg6); - } - private native void newTQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6); - public TQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5) { - super((Class) null); - newTQListViewItem(parent,after,arg3,arg4,arg5); - } - private native void newTQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5); - public TQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4) { - super((Class) null); - newTQListViewItem(parent,after,arg3,arg4); - } - private native void newTQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4); - public TQListViewItem(TQListView parent, TQListViewItem after, String arg3) { - super((Class) null); - newTQListViewItem(parent,after,arg3); - } - private native void newTQListViewItem(TQListView parent, TQListViewItem after, String arg3); - public TQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10) { - super((Class) null); - newTQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10); - } - private native void newTQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10); - public TQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) { - super((Class) null); - newTQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9); - } - private native void newTQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9); - public TQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) { - super((Class) null); - newTQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8); - } - private native void newTQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8); - public TQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7) { - super((Class) null); - newTQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7); - } - private native void newTQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7); - public TQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6) { - super((Class) null); - newTQListViewItem(parent,after,arg3,arg4,arg5,arg6); - } - private native void newTQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6); - public TQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5) { - super((Class) null); - newTQListViewItem(parent,after,arg3,arg4,arg5); - } - private native void newTQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5); - public TQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4) { - super((Class) null); - newTQListViewItem(parent,after,arg3,arg4); - } - private native void newTQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4); - public TQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3) { - super((Class) null); - newTQListViewItem(parent,after,arg3); - } - private native void newTQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3); - public native void insertItem(TQListViewItem arg1); - public native void takeItem(TQListViewItem arg1); - public native void removeItem(TQListViewItem item); - public native int height(); - public native void invalidateHeight(); - public native int totalHeight(); - public native int width(TQFontMetrics arg1, TQListView arg2, int column); - public native void widthChanged(int column); - public native void widthChanged(); - public native int depth(); - public native void setText(int arg1, String arg2); - public native String text(int arg1); - public native void setPixmap(int arg1, TQPixmap arg2); - public native TQPixmap pixmap(int arg1); - public native String key(int arg1, boolean arg2); - public native int compare(TQListViewItem i, int col, boolean arg3); - public native void sortChildItems(int arg1, boolean arg2); - public native int childCount(); - public native boolean isOpen(); - public native void setOpen(boolean arg1); - public native void setup(); - public native void setSelected(boolean arg1); - public native boolean isSelected(); - public native void paintCell(TQPainter arg1, TQColorGroup cg, int column, int width, int alignment); - public native void paintBranches(TQPainter p, TQColorGroup cg, int w, int y, int h); - public native void paintFocus(TQPainter arg1, TQColorGroup cg, TQRect r); - public native TQListViewItem firstChild(); - public native TQListViewItem nextSibling(); - public native TQListViewItem parent(); - public native TQListViewItem itemAbove(); - public native TQListViewItem itemBelow(); - public native int itemPos(); - public native TQListView listView(); - public native void setSelectable(boolean enable); - public native boolean isSelectable(); - public native void setExpandable(boolean arg1); - public native boolean isExpandable(); - public native void repaint(); - public native void sort(); - public native void moveItem(TQListViewItem after); - public native void setDragEnabled(boolean allow); - public native void setDropEnabled(boolean allow); - public native boolean dragEnabled(); - public native boolean dropEnabled(); - public native boolean acceptDrop(TQMimeSourceInterface mime); - public native void setVisible(boolean b); - public native boolean isVisible(); - public native void setRenameEnabled(int col, boolean b); - public native boolean renameEnabled(int col); - public native void startRename(int col); - public native void setEnabled(boolean b); - public native boolean isEnabled(); - public native int rtti(); - public native void setMultiLinesEnabled(boolean b); - public native boolean multiLinesEnabled(); - protected native void enforceSortOrder(); - protected native void setHeight(int arg1); - protected native void activate(); - protected native boolean activatedPos(TQPoint arg1); - protected native void dropped(TQDropEvent e); - protected native void dragEntered(); - protected native void dragLeft(); - protected native void okRename(int col); - protected native void cancelRename(int col); - protected native void ignoreDoubleClick(); - /** 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(); - public native ArrayList itemList(); - -} diff --git a/qtjava/javalib/org/kde/qt/QListViewSignals.java b/qtjava/javalib/org/kde/qt/QListViewSignals.java deleted file mode 100644 index aa7186b4..00000000 --- a/qtjava/javalib/org/kde/qt/QListViewSignals.java +++ /dev/null @@ -1,29 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQListViewSignals { - void selectionChanged(); - void selectionChanged(TQListViewItem arg1); - void currentChanged(TQListViewItem arg1); - void clicked(TQListViewItem arg1); - void clicked(TQListViewItem arg1, TQPoint arg2, int arg3); - void pressed(TQListViewItem arg1); - void pressed(TQListViewItem arg1, TQPoint arg2, int arg3); - void doubleClicked(TQListViewItem arg1); - void doubleClicked(TQListViewItem arg1, TQPoint arg2, int arg3); - void returnPressed(TQListViewItem arg1); - void spacePressed(TQListViewItem arg1); - void rightButtonClicked(TQListViewItem arg1, TQPoint arg2, int arg3); - void rightButtonPressed(TQListViewItem arg1, TQPoint arg2, int arg3); - void mouseButtonPressed(int arg1, TQListViewItem arg2, TQPoint arg3, int arg4); - void mouseButtonClicked(int arg1, TQListViewItem arg2, TQPoint arg3, int arg4); - void contextMenuRequested(TQListViewItem arg1, TQPoint arg2, int arg3); - void onItem(TQListViewItem item); - void onViewport(); - void expanded(TQListViewItem item); - void collapsed(TQListViewItem item); - void dropped(TQDropEvent e); - void itemRenamed(TQListViewItem item, int col, String arg3); - void itemRenamed(TQListViewItem item, int col); -} diff --git a/qtjava/javalib/org/kde/qt/QLocalFs.java b/qtjava/javalib/org/kde/qt/QLocalFs.java deleted file mode 100644 index a211e275..00000000 --- a/qtjava/javalib/org/kde/qt/QLocalFs.java +++ /dev/null @@ -1,30 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQLocalFs extends TQNetworkProtocol { - protected TQLocalFs(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQLocalFs() { - super((Class) null); - newTQLocalFs(); - } - private native void newTQLocalFs(); - public native int supportedOperations(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void operationListChildren(TQNetworkOperation op); - protected native void operationMkDir(TQNetworkOperation op); - protected native void operationRemove(TQNetworkOperation op); - protected native void operationRename(TQNetworkOperation op); - protected native void operationGet(TQNetworkOperation op); - protected native void operationPut(TQNetworkOperation op); - /** 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/qtjava/javalib/org/kde/qt/QMainWindow.java b/qtjava/javalib/org/kde/qt/QMainWindow.java deleted file mode 100644 index 1fcd636f..00000000 --- a/qtjava/javalib/org/kde/qt/QMainWindow.java +++ /dev/null @@ -1,125 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQMainWindowSignals} for signals emitted by TQMainWindow -*/ -public class TQMainWindow extends TQWidget { - protected TQMainWindow(Class dummy){super((Class) null);} - public static final int OnlyToolBars = 0; - public static final int NoToolBars = 1; - public static final int AllDockWindows = 2; - - public native TQMetaObject metaObject(); - public native String className(); - public TQMainWindow(TQWidget parent, String name, int f) { - super((Class) null); - newTQMainWindow(parent,name,f); - } - private native void newTQMainWindow(TQWidget parent, String name, int f); - public TQMainWindow(TQWidget parent, String name) { - super((Class) null); - newTQMainWindow(parent,name); - } - private native void newTQMainWindow(TQWidget parent, String name); - public TQMainWindow(TQWidget parent) { - super((Class) null); - newTQMainWindow(parent); - } - private native void newTQMainWindow(TQWidget parent); - public TQMainWindow() { - super((Class) null); - newTQMainWindow(); - } - private native void newTQMainWindow(); - public native TQMenuBar menuBar(); - public native TQStatusBar statusBar(); - public native TQToolTipGroup toolTipGroup(); - public native void setCentralWidget(TQWidget arg1); - public native TQWidget centralWidget(); - public native void setDockEnabled(int dock, boolean enable); - public native boolean isDockEnabled(int dock); - public native boolean isDockEnabled(TQDockArea area); - public native void setDockEnabled(TQDockWindow tb, int dock, boolean enable); - public native boolean isDockEnabled(TQDockWindow tb, int dock); - public native boolean isDockEnabled(TQDockWindow tb, TQDockArea area); - public native void addDockWindow(TQDockWindow arg1, int arg2, boolean newLine); - public native void addDockWindow(TQDockWindow arg1, int arg2); - public native void addDockWindow(TQDockWindow arg1); - public native void addDockWindow(TQDockWindow arg1, String label, int arg3, boolean newLine); - public native void addDockWindow(TQDockWindow arg1, String label, int arg3); - public native void addDockWindow(TQDockWindow arg1, String label); - public native void moveDockWindow(TQDockWindow arg1, int arg2); - public native void moveDockWindow(TQDockWindow arg1); - public native void moveDockWindow(TQDockWindow arg1, int arg2, boolean nl, int index, int extraOffset); - public native void moveDockWindow(TQDockWindow arg1, int arg2, boolean nl, int index); - public native void removeDockWindow(TQDockWindow arg1); - public native void show(); - public native void hide(); - public native TQSize sizeHint(); - public native TQSize minimumSizeHint(); - public native boolean rightJustification(); - public native boolean usesBigPixmaps(); - public native boolean usesTextLabel(); - public native boolean dockWindowsMovable(); - public native boolean opaqueMoving(); - public native boolean eventFilter(TQObject arg1, TQEvent arg2); - public native boolean getLocation(TQDockWindow tb, int dock, int[] index, boolean nl, int[] extraOffset); - // TQPtrList dockWindows(TQt::Dock arg1); >>>> NOT CONVERTED - // TQPtrList dockWindows(); >>>> NOT CONVERTED - public native void lineUpDockWindows(boolean keepNewLines); - public native void lineUpDockWindows(); - public native boolean isDockMenuEnabled(); - public native boolean hasDockWindow(TQDockWindow dw); - public native void addToolBar(TQDockWindow arg1, int arg2, boolean newLine); - public native void addToolBar(TQDockWindow arg1, int arg2); - public native void addToolBar(TQDockWindow arg1); - public native void addToolBar(TQDockWindow arg1, String label, int arg3, boolean newLine); - public native void addToolBar(TQDockWindow arg1, String label, int arg3); - public native void addToolBar(TQDockWindow arg1, String label); - public native void moveToolBar(TQDockWindow arg1, int arg2); - public native void moveToolBar(TQDockWindow arg1); - public native void moveToolBar(TQDockWindow arg1, int arg2, boolean nl, int index, int extraOffset); - public native void moveToolBar(TQDockWindow arg1, int arg2, boolean nl, int index); - public native void removeToolBar(TQDockWindow arg1); - public native boolean toolBarsMovable(); - // TQPtrList toolBars(TQt::Dock arg1); >>>> NOT CONVERTED - public native void lineUpToolBars(boolean keepNewLines); - public native void lineUpToolBars(); - public native TQDockArea dockingArea(TQPoint p); - public native TQDockArea leftDock(); - public native TQDockArea rightDock(); - public native TQDockArea topDock(); - public native TQDockArea bottomDock(); - public native boolean isCustomizable(); - public native boolean appropriate(TQDockWindow dw); - public native TQPopupMenu createDockWindowMenu(int dockWindows); - public native TQPopupMenu createDockWindowMenu(); - public native void setRightJustification(boolean arg1); - public native void setUsesBigPixmaps(boolean arg1); - public native void setUsesTextLabel(boolean arg1); - public native void setDockWindowsMovable(boolean arg1); - public native void setOpaqueMoving(boolean arg1); - public native void setDockMenuEnabled(boolean arg1); - public native void whatsThis(); - public native void setAppropriate(TQDockWindow dw, boolean a); - public native void customize(); - public native void setToolBarsMovable(boolean arg1); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void paintEvent(TQPaintEvent arg1); - protected native void childEvent(TQChildEvent arg1); - public native boolean event(TQEvent arg1); - public native void styleChange(TQStyle arg1); - protected native void setUpLayout(); - protected native boolean showDockMenu(TQPoint globalPos); - protected native void menuAboutToShow(); - /** 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/qtjava/javalib/org/kde/qt/QMainWindowSignals.java b/qtjava/javalib/org/kde/qt/QMainWindowSignals.java deleted file mode 100644 index 880b81a5..00000000 --- a/qtjava/javalib/org/kde/qt/QMainWindowSignals.java +++ /dev/null @@ -1,10 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQMainWindowSignals { - void pixmapSizeChanged(boolean arg1); - void usesTextLabelChanged(boolean arg1); - void dockWindowPositionChanged(TQDockWindow arg1); - void toolBarPositionChanged(TQToolBar arg1); -} diff --git a/qtjava/javalib/org/kde/qt/QMenuBar.java b/qtjava/javalib/org/kde/qt/QMenuBar.java deleted file mode 100644 index 79348358..00000000 --- a/qtjava/javalib/org/kde/qt/QMenuBar.java +++ /dev/null @@ -1,158 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQMenuBarSignals} for signals emitted by TQMenuBar -*/ -public class TQMenuBar extends TQFrame implements TQMenuDataInterface { - protected TQMenuBar(Class dummy){super((Class) null);} - public static final int Never = 0; - public static final int InWindowsStyle = 1; - - public native TQMetaObject metaObject(); - public native String className(); - public TQMenuBar(TQWidget parent, String name) { - super((Class) null); - newTQMenuBar(parent,name); - } - private native void newTQMenuBar(TQWidget parent, String name); - public TQMenuBar(TQWidget parent) { - super((Class) null); - newTQMenuBar(parent); - } - private native void newTQMenuBar(TQWidget parent); - public TQMenuBar() { - super((Class) null); - newTQMenuBar(); - } - private native void newTQMenuBar(); - public native void updateItem(int id); - public native void show(); - public native void hide(); - public native boolean eventFilter(TQObject arg1, TQEvent arg2); - public native int heightForWidth(int arg1); - public native int separator(); - public native void setSeparator(int when); - public native void setDefaultUp(boolean arg1); - public native boolean isDefaultUp(); - public native boolean customWhatsThis(); - public native TQSize sizeHint(); - public native TQSize minimumSize(); - public native TQSize minimumSizeHint(); - public native void activateItemAt(int index); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void drawContents(TQPainter arg1); - protected native void fontChange(TQFont arg1); - protected native void mousePressEvent(TQMouseEvent arg1); - protected native void mouseReleaseEvent(TQMouseEvent arg1); - protected native void mouseMoveEvent(TQMouseEvent arg1); - protected native void keyPressEvent(TQKeyEvent arg1); - protected native void focusInEvent(TQFocusEvent arg1); - protected native void focusOutEvent(TQFocusEvent arg1); - protected native void resizeEvent(TQResizeEvent arg1); - protected native void leaveEvent(TQEvent arg1); - protected native void menuContentsChanged(); - protected native void menuStateChanged(); - public native void styleChange(TQStyle arg1); - protected native int itemAtPos(TQPoint arg1); - protected native void hidePopups(); - protected native TQRect itemRect(int item); - /** 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(); - public native int count(); - public native int insertItem(String text, TQObject receiver, String member, TQKeySequence accel, int id, int index); - public native int insertItem(String text, TQObject receiver, String member, TQKeySequence accel, int id); - public native int insertItem(String text, TQObject receiver, String member, TQKeySequence accel); - public native int insertItem(String text, TQObject receiver, String member); - public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel, int id, int index); - public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel, int id); - public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel); - public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member); - public native int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id, int index); - public native int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id); - public native int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel); - public native int insertItem(TQPixmap pixmap, TQObject receiver, String member); - public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id, int index); - public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id); - public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel); - public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member); - public native int insertItem(String text, int id, int index); - public native int insertItem(String text, int id); - public native int insertItem(String text); - public native int insertItem(TQIconSet icon, String text, int id, int index); - public native int insertItem(TQIconSet icon, String text, int id); - public native int insertItem(TQIconSet icon, String text); - public native int insertItem(String text, TQPopupMenu popup, int id, int index); - public native int insertItem(String text, TQPopupMenu popup, int id); - public native int insertItem(String text, TQPopupMenu popup); - public native int insertItem(TQIconSet icon, String text, TQPopupMenu popup, int id, int index); - public native int insertItem(TQIconSet icon, String text, TQPopupMenu popup, int id); - public native int insertItem(TQIconSet icon, String text, TQPopupMenu popup); - public native int insertItem(TQPixmap pixmap, int id, int index); - public native int insertItem(TQPixmap pixmap, int id); - public native int insertItem(TQPixmap pixmap); - public native int insertItem(TQIconSet icon, TQPixmap pixmap, int id, int index); - public native int insertItem(TQIconSet icon, TQPixmap pixmap, int id); - public native int insertItem(TQIconSet icon, TQPixmap pixmap); - public native int insertItem(TQPixmap pixmap, TQPopupMenu popup, int id, int index); - public native int insertItem(TQPixmap pixmap, TQPopupMenu popup, int id); - public native int insertItem(TQPixmap pixmap, TQPopupMenu popup); - public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup, int id, int index); - public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup, int id); - public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup); - public native int insertItem(TQWidget widget, int id, int index); - public native int insertItem(TQWidget widget, int id); - public native int insertItem(TQWidget widget); - public native int insertItem(TQIconSet icon, TQCustomMenuItem custom, int id, int index); - public native int insertItem(TQIconSet icon, TQCustomMenuItem custom, int id); - public native int insertItem(TQIconSet icon, TQCustomMenuItem custom); - public native int insertItem(TQCustomMenuItem custom, int id, int index); - public native int insertItem(TQCustomMenuItem custom, int id); - public native int insertItem(TQCustomMenuItem custom); - public native int insertSeparator(int index); - public native int insertSeparator(); - public native void removeItem(int id); - public native void removeItemAt(int index); - public native void clear(); - public native TQKeySequence accel(int id); - public native void setAccel(TQKeySequence key, int id); - public native TQIconSet iconSet(int id); - public native String text(int id); - public native TQPixmap pixmap(int id); - public native void setWhatsThis(int id, String arg2); - public native String whatsThis(int id); - public native void changeItem(int id, String text); - public native void changeItem(int id, TQPixmap pixmap); - public native void changeItem(int id, TQIconSet icon, String text); - public native void changeItem(int id, TQIconSet icon, TQPixmap pixmap); - public native void changeItem(String text, int id); - public native void changeItem(TQPixmap pixmap, int id); - public native void changeItem(TQIconSet icon, String text, int id); - public native boolean isItemActive(int id); - public native boolean isItemEnabled(int id); - public native void setItemEnabled(int id, boolean enable); - public native boolean isItemChecked(int id); - public native void setItemChecked(int id, boolean check); - public native boolean isItemVisible(int id); - public native void setItemVisible(int id, boolean visible); - public native int indexOf(int id); - public native int idAt(int index); - public native void setId(int index, int id); - public native boolean connectItem(int id, TQObject receiver, String member); - public native boolean disconnectItem(int id, TQObject receiver, String member); - public native boolean setItemParameter(int id, int param); - public native int itemParameter(int id); - public native TQMenuItem findItem(int id); - // TQMenuItem* findItem(int arg1,TQMenuData** arg2); >>>> NOT CONVERTED - public native TQMenuItem findPopup(TQPopupMenu arg1, int[] index); - public native TQMenuItem findPopup(TQPopupMenu arg1); - protected native void menuInsPopup(TQPopupMenu arg1); - protected native void menuDelPopup(TQPopupMenu arg1); -} diff --git a/qtjava/javalib/org/kde/qt/QMenuBarSignals.java b/qtjava/javalib/org/kde/qt/QMenuBarSignals.java deleted file mode 100644 index 61e82d32..00000000 --- a/qtjava/javalib/org/kde/qt/QMenuBarSignals.java +++ /dev/null @@ -1,8 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQMenuBarSignals { - void activated(int itemId); - void highlighted(int itemId); -} diff --git a/qtjava/javalib/org/kde/qt/QMenuData.java b/qtjava/javalib/org/kde/qt/QMenuData.java deleted file mode 100644 index 694b6cce..00000000 --- a/qtjava/javalib/org/kde/qt/QMenuData.java +++ /dev/null @@ -1,114 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQMenuData implements QtSupport, TQMenuDataInterface { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQMenuData(Class dummy){} - - public TQMenuData() { - newTQMenuData(); - } - private native void newTQMenuData(); - public native int count(); - public native int insertItem(String text, TQObject receiver, String member, TQKeySequence accel, int id, int index); - public native int insertItem(String text, TQObject receiver, String member, TQKeySequence accel, int id); - public native int insertItem(String text, TQObject receiver, String member, TQKeySequence accel); - public native int insertItem(String text, TQObject receiver, String member); - public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel, int id, int index); - public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel, int id); - public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel); - public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member); - public native int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id, int index); - public native int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id); - public native int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel); - public native int insertItem(TQPixmap pixmap, TQObject receiver, String member); - public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id, int index); - public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id); - public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel); - public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member); - public native int insertItem(String text, int id, int index); - public native int insertItem(String text, int id); - public native int insertItem(String text); - public native int insertItem(TQIconSet icon, String text, int id, int index); - public native int insertItem(TQIconSet icon, String text, int id); - public native int insertItem(TQIconSet icon, String text); - public native int insertItem(String text, TQPopupMenu popup, int id, int index); - public native int insertItem(String text, TQPopupMenu popup, int id); - public native int insertItem(String text, TQPopupMenu popup); - public native int insertItem(TQIconSet icon, String text, TQPopupMenu popup, int id, int index); - public native int insertItem(TQIconSet icon, String text, TQPopupMenu popup, int id); - public native int insertItem(TQIconSet icon, String text, TQPopupMenu popup); - public native int insertItem(TQPixmap pixmap, int id, int index); - public native int insertItem(TQPixmap pixmap, int id); - public native int insertItem(TQPixmap pixmap); - public native int insertItem(TQIconSet icon, TQPixmap pixmap, int id, int index); - public native int insertItem(TQIconSet icon, TQPixmap pixmap, int id); - public native int insertItem(TQIconSet icon, TQPixmap pixmap); - public native int insertItem(TQPixmap pixmap, TQPopupMenu popup, int id, int index); - public native int insertItem(TQPixmap pixmap, TQPopupMenu popup, int id); - public native int insertItem(TQPixmap pixmap, TQPopupMenu popup); - public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup, int id, int index); - public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup, int id); - public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup); - public native int insertItem(TQWidget widget, int id, int index); - public native int insertItem(TQWidget widget, int id); - public native int insertItem(TQWidget widget); - public native int insertItem(TQIconSet icon, TQCustomMenuItem custom, int id, int index); - public native int insertItem(TQIconSet icon, TQCustomMenuItem custom, int id); - public native int insertItem(TQIconSet icon, TQCustomMenuItem custom); - public native int insertItem(TQCustomMenuItem custom, int id, int index); - public native int insertItem(TQCustomMenuItem custom, int id); - public native int insertItem(TQCustomMenuItem custom); - public native int insertSeparator(int index); - public native int insertSeparator(); - public native void removeItem(int id); - public native void removeItemAt(int index); - public native void clear(); - public native TQKeySequence accel(int id); - public native void setAccel(TQKeySequence key, int id); - public native TQIconSet iconSet(int id); - public native String text(int id); - public native TQPixmap pixmap(int id); - public native void setWhatsThis(int id, String arg2); - public native String whatsThis(int id); - public native void changeItem(int id, String text); - public native void changeItem(int id, TQPixmap pixmap); - public native void changeItem(int id, TQIconSet icon, String text); - public native void changeItem(int id, TQIconSet icon, TQPixmap pixmap); - public native void changeItem(String text, int id); - public native void changeItem(TQPixmap pixmap, int id); - public native void changeItem(TQIconSet icon, String text, int id); - public native boolean isItemActive(int id); - public native boolean isItemEnabled(int id); - public native void setItemEnabled(int id, boolean enable); - public native boolean isItemChecked(int id); - public native void setItemChecked(int id, boolean check); - public native boolean isItemVisible(int id); - public native void setItemVisible(int id, boolean visible); - public native void updateItem(int id); - public native int indexOf(int id); - public native int idAt(int index); - public native void setId(int index, int id); - public native boolean connectItem(int id, TQObject receiver, String member); - public native boolean disconnectItem(int id, TQObject receiver, String member); - public native boolean setItemParameter(int id, int param); - public native int itemParameter(int id); - public native TQMenuItem findItem(int id); - // TQMenuItem* findItem(int arg1,TQMenuData** arg2); >>>> NOT CONVERTED - public native TQMenuItem findPopup(TQPopupMenu arg1, int[] index); - public native TQMenuItem findPopup(TQPopupMenu arg1); - public native void activateItemAt(int index); - protected native void menuContentsChanged(); - protected native void menuStateChanged(); - protected native void menuInsPopup(TQPopupMenu arg1); - protected native void menuDelPopup(TQPopupMenu 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/qtjava/javalib/org/kde/qt/QMenuDataInterface.java b/qtjava/javalib/org/kde/qt/QMenuDataInterface.java deleted file mode 100644 index 568dcbe3..00000000 --- a/qtjava/javalib/org/kde/qt/QMenuDataInterface.java +++ /dev/null @@ -1,94 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQMenuDataInterface { - int count(); - int insertItem(String text, TQObject receiver, String member, TQKeySequence accel, int id, int index); - int insertItem(String text, TQObject receiver, String member, TQKeySequence accel, int id); - int insertItem(String text, TQObject receiver, String member, TQKeySequence accel); - int insertItem(String text, TQObject receiver, String member); - int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel, int id, int index); - int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel, int id); - int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel); - int insertItem(TQIconSet icon, String text, TQObject receiver, String member); - int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id, int index); - int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id); - int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel); - int insertItem(TQPixmap pixmap, TQObject receiver, String member); - int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id, int index); - int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id); - int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel); - int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member); - int insertItem(String text, int id, int index); - int insertItem(String text, int id); - int insertItem(String text); - int insertItem(TQIconSet icon, String text, int id, int index); - int insertItem(TQIconSet icon, String text, int id); - int insertItem(TQIconSet icon, String text); - int insertItem(String text, TQPopupMenu popup, int id, int index); - int insertItem(String text, TQPopupMenu popup, int id); - int insertItem(String text, TQPopupMenu popup); - int insertItem(TQIconSet icon, String text, TQPopupMenu popup, int id, int index); - int insertItem(TQIconSet icon, String text, TQPopupMenu popup, int id); - int insertItem(TQIconSet icon, String text, TQPopupMenu popup); - int insertItem(TQPixmap pixmap, int id, int index); - int insertItem(TQPixmap pixmap, int id); - int insertItem(TQPixmap pixmap); - int insertItem(TQIconSet icon, TQPixmap pixmap, int id, int index); - int insertItem(TQIconSet icon, TQPixmap pixmap, int id); - int insertItem(TQIconSet icon, TQPixmap pixmap); - int insertItem(TQPixmap pixmap, TQPopupMenu popup, int id, int index); - int insertItem(TQPixmap pixmap, TQPopupMenu popup, int id); - int insertItem(TQPixmap pixmap, TQPopupMenu popup); - int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup, int id, int index); - int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup, int id); - int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup); - int insertItem(TQWidget widget, int id, int index); - int insertItem(TQWidget widget, int id); - int insertItem(TQWidget widget); - int insertItem(TQIconSet icon, TQCustomMenuItem custom, int id, int index); - int insertItem(TQIconSet icon, TQCustomMenuItem custom, int id); - int insertItem(TQIconSet icon, TQCustomMenuItem custom); - int insertItem(TQCustomMenuItem custom, int id, int index); - int insertItem(TQCustomMenuItem custom, int id); - int insertItem(TQCustomMenuItem custom); - int insertSeparator(int index); - int insertSeparator(); - void removeItem(int id); - void removeItemAt(int index); - void clear(); - TQKeySequence accel(int id); - void setAccel(TQKeySequence key, int id); - TQIconSet iconSet(int id); - String text(int id); - TQPixmap pixmap(int id); - void setWhatsThis(int id, String arg2); - String whatsThis(int id); - void changeItem(int id, String text); - void changeItem(int id, TQPixmap pixmap); - void changeItem(int id, TQIconSet icon, String text); - void changeItem(int id, TQIconSet icon, TQPixmap pixmap); - void changeItem(String text, int id); - void changeItem(TQPixmap pixmap, int id); - void changeItem(TQIconSet icon, String text, int id); - boolean isItemActive(int id); - boolean isItemEnabled(int id); - void setItemEnabled(int id, boolean enable); - boolean isItemChecked(int id); - void setItemChecked(int id, boolean check); - boolean isItemVisible(int id); - void setItemVisible(int id, boolean visible); - void updateItem(int id); - int indexOf(int id); - int idAt(int index); - void setId(int index, int id); - boolean connectItem(int id, TQObject receiver, String member); - boolean disconnectItem(int id, TQObject receiver, String member); - boolean setItemParameter(int id, int param); - int itemParameter(int id); - TQMenuItem findItem(int id); - TQMenuItem findPopup(TQPopupMenu arg1, int[] index); - TQMenuItem findPopup(TQPopupMenu arg1); - void activateItemAt(int index); -} diff --git a/qtjava/javalib/org/kde/qt/QMenuItem.java b/qtjava/javalib/org/kde/qt/QMenuItem.java deleted file mode 100644 index 9969e7f9..00000000 --- a/qtjava/javalib/org/kde/qt/QMenuItem.java +++ /dev/null @@ -1,41 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQMenuItem implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQMenuItem(Class dummy){} - - public TQMenuItem() { - newTQMenuItem(); - } - private native void newTQMenuItem(); - public native int id(); - public native TQIconSet iconSet(); - public native String text(); - public native String whatsThis(); - public native TQPixmap pixmap(); - public native TQPopupMenu popup(); - public native TQWidget widget(); - public native TQCustomMenuItem custom(); - public native TQKeySequence key(); - public native TQSignal signal(); - public native boolean isSeparator(); - public native boolean isEnabled(); - public native boolean isChecked(); - public native boolean isDirty(); - public native boolean isVisible(); - public native boolean isEnabledAndVisible(); - public native void setText(String text); - public native void setDirty(boolean dirty); - public native void setVisible(boolean visible); - public native void setWhatsThis(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/qtjava/javalib/org/kde/qt/QMessageBox.java b/qtjava/javalib/org/kde/qt/QMessageBox.java deleted file mode 100644 index 8129e5fe..00000000 --- a/qtjava/javalib/org/kde/qt/QMessageBox.java +++ /dev/null @@ -1,144 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQMessageBox extends TQDialog { - protected TQMessageBox(Class dummy){super((Class) null);} - public static final int NoButton = 0; - public static final int Ok = 1; - public static final int Cancel = 2; - public static final int Yes = 3; - public static final int No = 4; - public static final int Abort = 5; - public static final int Retry = 6; - public static final int Ignore = 7; - public static final int YesAll = 8; - public static final int NoAll = 9; - public static final int ButtonMask = 0xff; - public static final int Default = 0x100; - public static final int Escape = 0x200; - public static final int FlagMask = 0x300; - - public static final int NoIcon = 0; - public static final int Information = 1; - public static final int Warning = 2; - public static final int Critical = 3; - public static final int Question = 4; - - public native TQMetaObject metaObject(); - public native String className(); - public TQMessageBox(TQWidget parent, String name) { - super((Class) null); - newTQMessageBox(parent,name); - } - private native void newTQMessageBox(TQWidget parent, String name); - public TQMessageBox(TQWidget parent) { - super((Class) null); - newTQMessageBox(parent); - } - private native void newTQMessageBox(TQWidget parent); - public TQMessageBox() { - super((Class) null); - newTQMessageBox(); - } - private native void newTQMessageBox(); - public TQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, TQWidget parent, String name, boolean modal, int f) { - super((Class) null); - newTQMessageBox(caption,text,icon,button0,button1,button2,parent,name,modal,f); - } - private native void newTQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, TQWidget parent, String name, boolean modal, int f); - public TQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, TQWidget parent, String name, boolean modal) { - super((Class) null); - newTQMessageBox(caption,text,icon,button0,button1,button2,parent,name,modal); - } - private native void newTQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, TQWidget parent, String name, boolean modal); - public TQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, TQWidget parent, String name) { - super((Class) null); - newTQMessageBox(caption,text,icon,button0,button1,button2,parent,name); - } - private native void newTQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, TQWidget parent, String name); - public TQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, TQWidget parent) { - super((Class) null); - newTQMessageBox(caption,text,icon,button0,button1,button2,parent); - } - private native void newTQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, TQWidget parent); - public TQMessageBox(String caption, String text, int icon, int button0, int button1, int button2) { - super((Class) null); - newTQMessageBox(caption,text,icon,button0,button1,button2); - } - private native void newTQMessageBox(String caption, String text, int icon, int button0, int button1, int button2); - public native String text(); - public native void setText(String arg1); - public native int iconId(); - public native void setIcon(int arg1); - public native void setIcon(TQPixmap arg1); - public native TQPixmap iconPixmap(); - public native void setIconPixmap(TQPixmap arg1); - public native String buttonText(int button); - public native void setButtonText(int button, String arg2); - public native void adjustSize(); - public native int textFormat(); - public native void setTextFormat(int arg1); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - public static native int information(TQWidget parent, String caption, String text, int button0, int button1, int button2); - public static native int information(TQWidget parent, String caption, String text, int button0, int button1); - public static native int information(TQWidget parent, String caption, String text, int button0); - public static native int information(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber, int escapeButtonNumber); - public static native int information(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber); - public static native int information(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text); - public static native int information(TQWidget parent, String caption, String text, String button0Text, String button1Text); - public static native int information(TQWidget parent, String caption, String text, String button0Text); - public static native int information(TQWidget parent, String caption, String text); - public static native int question(TQWidget parent, String caption, String text, int button0, int button1, int button2); - public static native int question(TQWidget parent, String caption, String text, int button0, int button1); - public static native int question(TQWidget parent, String caption, String text, int button0); - public static native int question(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber, int escapeButtonNumber); - public static native int question(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber); - public static native int question(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text); - public static native int question(TQWidget parent, String caption, String text, String button0Text, String button1Text); - public static native int question(TQWidget parent, String caption, String text, String button0Text); - public static native int question(TQWidget parent, String caption, String text); - public static native int warning(TQWidget parent, String caption, String text, int button0, int button1, int button2); - public static native int warning(TQWidget parent, String caption, String text, int button0, int button1); - public static native int warning(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber, int escapeButtonNumber); - public static native int warning(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber); - public static native int warning(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text); - public static native int warning(TQWidget parent, String caption, String text, String button0Text, String button1Text); - public static native int warning(TQWidget parent, String caption, String text, String button0Text); - public static native int warning(TQWidget parent, String caption, String text); - public static native int critical(TQWidget parent, String caption, String text, int button0, int button1, int button2); - public static native int critical(TQWidget parent, String caption, String text, int button0, int button1); - public static native int critical(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber, int escapeButtonNumber); - public static native int critical(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber); - public static native int critical(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text); - public static native int critical(TQWidget parent, String caption, String text, String button0Text, String button1Text); - public static native int critical(TQWidget parent, String caption, String text, String button0Text); - public static native int critical(TQWidget parent, String caption, String text); - public static native void about(TQWidget parent, String caption, String text); - public static native void aboutTQt(TQWidget parent, String caption); - public static native void aboutTQt(TQWidget parent); - public static native int message(String caption, String text, String buttonText, TQWidget parent, String arg5); - public static native int message(String caption, String text, String buttonText, TQWidget parent); - public static native int message(String caption, String text, String buttonText); - public static native int message(String caption, String text); - public static native boolean query(String caption, String text, String yesButtonText, String noButtonText, TQWidget parent, String arg6); - public static native boolean query(String caption, String text, String yesButtonText, String noButtonText, TQWidget parent); - public static native boolean query(String caption, String text, String yesButtonText, String noButtonText); - public static native boolean query(String caption, String text, String yesButtonText); - public static native boolean query(String caption, String text); - public static native TQPixmap standardIcon(int icon, int arg2); - public static native TQPixmap standardIcon(int icon); - protected native void resizeEvent(TQResizeEvent arg1); - public native void showEvent(TQShowEvent arg1); - protected native void closeEvent(TQCloseEvent arg1); - protected native void keyPressEvent(TQKeyEvent arg1); - protected native void styleChanged(TQStyle 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/qtjava/javalib/org/kde/qt/QMetaData.java b/qtjava/javalib/org/kde/qt/QMetaData.java deleted file mode 100644 index c7a56d43..00000000 --- a/qtjava/javalib/org/kde/qt/QMetaData.java +++ /dev/null @@ -1,25 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQMetaData implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQMetaData(Class dummy){} - - public static final int Private = 0; - public static final int Protected = 1; - public static final int Public = 2; - - public TQMetaData() { - newTQMetaData(); - } - private native void newTQMetaData(); - /** 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/qtjava/javalib/org/kde/qt/QMetaEnum.java b/qtjava/javalib/org/kde/qt/QMetaEnum.java deleted file mode 100644 index 239ea2ff..00000000 --- a/qtjava/javalib/org/kde/qt/QMetaEnum.java +++ /dev/null @@ -1,21 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQMetaEnum implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQMetaEnum(Class dummy){} - - public TQMetaEnum() { - newTQMetaEnum(); - } - private native void newTQMetaEnum(); - /** 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/qtjava/javalib/org/kde/qt/QMetaObject.java b/qtjava/javalib/org/kde/qt/QMetaObject.java deleted file mode 100644 index 66323b15..00000000 --- a/qtjava/javalib/org/kde/qt/QMetaObject.java +++ /dev/null @@ -1,64 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.ArrayList; - -public class TQMetaObject implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQMetaObject(Class dummy){} - - // TQMetaObject* TQMetaObject(const char* arg1,TQMetaObject* arg2,const TQMetaData* arg3,int arg4,const TQMetaData* arg5,int arg6,const TQMetaProperty* arg7,int arg8,const TQMetaEnum* arg9,int arg10,const TQClassInfo* arg11,int arg12); >>>> NOT CONVERTED - public native String className(); - public native String superClassName(); - public native TQMetaObject superClass(); - public native boolean inherits(String clname); - public native int numSlots(boolean arg1); - public native int numSlots(); - public native int numSignals(boolean arg1); - public native int numSignals(); - public native int findSlot(String arg1, boolean arg2); - public native int findSlot(String arg1); - public native int findSignal(String arg1, boolean arg2); - public native int findSignal(String arg1); - public native TQMetaData slot(int index, boolean arg2); - public native TQMetaData slot(int index); - public native TQMetaData signal(int index, boolean arg2); - public native TQMetaData signal(int index); - public native ArrayList slotNames(boolean arg1); - public native ArrayList slotNames(); - public native ArrayList signalNames(boolean arg1); - public native ArrayList signalNames(); - public native int slotOffset(); - public native int signalOffset(); - public native int propertyOffset(); - public native int numClassInfo(boolean arg1); - public native int numClassInfo(); - public native TQClassInfo classInfo(int index, boolean arg2); - public native TQClassInfo classInfo(int index); - public native String classInfo(String name, boolean arg2); - public native String classInfo(String name); - public native TQMetaProperty property(int index, boolean arg2); - public native TQMetaProperty property(int index); - public native int findProperty(String name, boolean arg2); - public native int findProperty(String name); - public native int indexOfProperty(TQMetaProperty arg1, boolean arg2); - public native int indexOfProperty(TQMetaProperty arg1); - public native TQMetaProperty resolveProperty(TQMetaProperty arg1); - public native int resolveProperty(int arg1); - public native ArrayList propertyNames(boolean arg1); - public native ArrayList propertyNames(); - public native int numProperties(boolean arg1); - public native int numProperties(); - public native ArrayList enumeratorNames(boolean arg1); - public native ArrayList enumeratorNames(); - public native int numEnumerators(boolean arg1); - public native int numEnumerators(); - public native TQMetaEnum enumerator(String name, boolean arg2); - public native TQMetaEnum enumerator(String name); - public native boolean qt_static_property(TQObject o, int id, int f, TQVariant v); - // TQMetaObject* new_metaobject(const char* arg1,TQMetaObject* arg2,const TQMetaData* arg3,int arg4,const TQMetaData* arg5,int arg6,const TQMetaProperty* arg7,int arg8,const TQMetaEnum* arg9,int arg10,const TQClassInfo* arg11,int arg12); >>>> NOT CONVERTED - public static native TQMetaObject metaObject(String class_name); - public static native boolean hasMetaObject(String class_name); -} diff --git a/qtjava/javalib/org/kde/qt/QMetaProperty.java b/qtjava/javalib/org/kde/qt/QMetaProperty.java deleted file mode 100644 index 8de85a19..00000000 --- a/qtjava/javalib/org/kde/qt/QMetaProperty.java +++ /dev/null @@ -1,52 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.ArrayList; - -public class TQMetaProperty implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQMetaProperty(Class dummy){} - - public static final int Invalid = 0x00000000; - public static final int Readable = 0x00000001; - public static final int Writable = 0x00000002; - public static final int EnumOrSet = 0x00000004; - public static final int UnresolvedEnum = 0x00000008; - public static final int StdSet = 0x00000100; - public static final int Override = 0x00000200; - - public native String type(); - public native String name(); - public native boolean writable(); - public native boolean isValid(); - public native boolean isSetType(); - public native boolean isEnumType(); - public native ArrayList enumKeys(); - public native int keyToValue(String key); - public native String valueToKey(int value); - public native int keysToValue(String[] keys); - public native ArrayList valueToKeys(int value); - public native boolean designable(TQObject arg1); - public native boolean designable(); - public native boolean scriptable(TQObject arg1); - public native boolean scriptable(); - public native boolean stored(TQObject arg1); - public native boolean stored(); - public native boolean reset(TQObject arg1); - public native boolean testFlags(int f); - public native boolean stdSet(); - public native int id(); - public native void clear(); - public TQMetaProperty() { - newTQMetaProperty(); - } - private native void newTQMetaProperty(); - /** 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/qtjava/javalib/org/kde/qt/QMimeSource.java b/qtjava/javalib/org/kde/qt/QMimeSource.java deleted file mode 100644 index be615f74..00000000 --- a/qtjava/javalib/org/kde/qt/QMimeSource.java +++ /dev/null @@ -1,19 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQMimeSource implements QtSupport, TQMimeSourceInterface { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQMimeSource(Class dummy){} - - public native String format(int n); - public native String format(); - public native boolean provides(String arg1); - public native byte[] encodedData(String arg1); - public native int serialNumber(); - /** Internal method */ - protected native long mimeSource(); - -} diff --git a/qtjava/javalib/org/kde/qt/QMimeSourceFactory.java b/qtjava/javalib/org/kde/qt/QMimeSourceFactory.java deleted file mode 100644 index e6f5c936..00000000 --- a/qtjava/javalib/org/kde/qt/QMimeSourceFactory.java +++ /dev/null @@ -1,38 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.ArrayList; - -public class TQMimeSourceFactory implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQMimeSourceFactory(Class dummy){} - - public TQMimeSourceFactory() { - newTQMimeSourceFactory(); - } - private native void newTQMimeSourceFactory(); - public native TQMimeSourceInterface data(String abs_name); - public native String makeAbsolute(String abs_or_rel_name, String context); - public native TQMimeSourceInterface data(String abs_or_rel_name, String context); - public native void setText(String abs_name, String text); - public native void setImage(String abs_name, TQImage im); - public native void setPixmap(String abs_name, TQPixmap pm); - public native void setData(String abs_name, TQMimeSourceInterface data); - public native void setFilePath(String[] arg1); - public native ArrayList filePath(); - public native void addFilePath(String arg1); - public native void setExtensionType(String ext, String mimetype); - public static native TQMimeSourceFactory defaultFactory(); - public static native void setDefaultFactory(TQMimeSourceFactory arg1); - public static native TQMimeSourceFactory takeDefaultFactory(); - public static native void addFactory(TQMimeSourceFactory f); - public static native void removeFactory(TQMimeSourceFactory f); - /** 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/qtjava/javalib/org/kde/qt/QMimeSourceInterface.java b/qtjava/javalib/org/kde/qt/QMimeSourceInterface.java deleted file mode 100644 index 40846222..00000000 --- a/qtjava/javalib/org/kde/qt/QMimeSourceInterface.java +++ /dev/null @@ -1,11 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQMimeSourceInterface { - String format(int n); - String format(); - boolean provides(String arg1); - byte[] encodedData(String arg1); - int serialNumber(); -} diff --git a/qtjava/javalib/org/kde/qt/QMouseEvent.java b/qtjava/javalib/org/kde/qt/QMouseEvent.java deleted file mode 100644 index 2e23e826..00000000 --- a/qtjava/javalib/org/kde/qt/QMouseEvent.java +++ /dev/null @@ -1,36 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQMouseEvent extends TQEvent { - protected TQMouseEvent(Class dummy){super((Class) null);} - public TQMouseEvent(int type, TQPoint pos, int button, int state) { - super((Class) null); - newTQMouseEvent(type,pos,button,state); - } - private native void newTQMouseEvent(int type, TQPoint pos, int button, int state); - public TQMouseEvent(int type, TQPoint pos, TQPoint globalPos, int button, int state) { - super((Class) null); - newTQMouseEvent(type,pos,globalPos,button,state); - } - private native void newTQMouseEvent(int type, TQPoint pos, TQPoint globalPos, int button, int state); - public native TQPoint pos(); - public native TQPoint globalPos(); - public native int x(); - public native int y(); - public native int globalX(); - public native int globalY(); - public native int button(); - public native int state(); - public native int stateAfter(); - public native boolean isAccepted(); - public native void accept(); - public native void ignore(); - /** 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/qtjava/javalib/org/kde/qt/QMoveEvent.java b/qtjava/javalib/org/kde/qt/QMoveEvent.java deleted file mode 100644 index e5f3f160..00000000 --- a/qtjava/javalib/org/kde/qt/QMoveEvent.java +++ /dev/null @@ -1,21 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQMoveEvent extends TQEvent { - protected TQMoveEvent(Class dummy){super((Class) null);} - public TQMoveEvent(TQPoint pos, TQPoint oldPos) { - super((Class) null); - newTQMoveEvent(pos,oldPos); - } - private native void newTQMoveEvent(TQPoint pos, TQPoint oldPos); - public native TQPoint pos(); - public native TQPoint oldPos(); - /** 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/qtjava/javalib/org/kde/qt/QMovie.java b/qtjava/javalib/org/kde/qt/QMovie.java deleted file mode 100644 index ad9344db..00000000 --- a/qtjava/javalib/org/kde/qt/QMovie.java +++ /dev/null @@ -1,90 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQMovie implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQMovie(Class dummy){} - - public static final int SourceEmpty = -2; - public static final int UnrecognizedFormat = -1; - public static final int Paused = 1; - public static final int EndOfFrame = 2; - public static final int EndOfLoop = 3; - public static final int EndOfMovie = 4; - public static final int SpeedChanged = 5; - - public TQMovie() { - newTQMovie(); - } - private native void newTQMovie(); - public TQMovie(int bufsize) { - newTQMovie(bufsize); - } - private native void newTQMovie(int bufsize); - public TQMovie(TQDataSource arg1, int bufsize) { - newTQMovie(arg1,bufsize); - } - private native void newTQMovie(TQDataSource arg1, int bufsize); - public TQMovie(TQDataSource arg1) { - newTQMovie(arg1); - } - private native void newTQMovie(TQDataSource arg1); - public TQMovie(String fileName, int bufsize) { - newTQMovie(fileName,bufsize); - } - private native void newTQMovie(String fileName, int bufsize); - public TQMovie(String fileName) { - newTQMovie(fileName); - } - private native void newTQMovie(String fileName); - public TQMovie(byte[] data, int bufsize) { - newTQMovie(data,bufsize); - } - private native void newTQMovie(byte[] data, int bufsize); - public TQMovie(byte[] data) { - newTQMovie(data); - } - private native void newTQMovie(byte[] data); - public TQMovie(TQMovie arg1) { - newTQMovie(arg1); - } - private native void newTQMovie(TQMovie arg1); - public native int pushSpace(); - public native void pushData(char[] data, int length); - public native TQColor backgroundColor(); - public native void setBackgroundColor(TQColor arg1); - public native TQRect getValidRect(); - public native TQPixmap framePixmap(); - public native TQImage frameImage(); - public native boolean isNull(); - public native int frameNumber(); - public native int steps(); - public native boolean paused(); - public native boolean finished(); - public native boolean running(); - public native void unpause(); - public native void pause(); - public native void step(); - public native void step(int arg1); - public native void restart(); - public native int speed(); - public native void setSpeed(int arg1); - public native void connectResize(TQObject receiver, String member); - public native void disconnectResize(TQObject receiver, String member); - public native void disconnectResize(TQObject receiver); - public native void connectUpdate(TQObject receiver, String member); - public native void disconnectUpdate(TQObject receiver, String member); - public native void disconnectUpdate(TQObject receiver); - public native void connectStatus(TQObject receiver, String member); - public native void disconnectStatus(TQObject receiver, String member); - public native void disconnectStatus(TQObject receiver); - /** 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/qtjava/javalib/org/kde/qt/QMultiLineEdit.java b/qtjava/javalib/org/kde/qt/QMultiLineEdit.java deleted file mode 100644 index da0d9114..00000000 --- a/qtjava/javalib/org/kde/qt/QMultiLineEdit.java +++ /dev/null @@ -1,84 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQMultiLineEdit extends TQTextEdit { - protected TQMultiLineEdit(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQMultiLineEdit(TQWidget parent, String name) { - super((Class) null); - newTQMultiLineEdit(parent,name); - } - private native void newTQMultiLineEdit(TQWidget parent, String name); - public TQMultiLineEdit(TQWidget parent) { - super((Class) null); - newTQMultiLineEdit(parent); - } - private native void newTQMultiLineEdit(TQWidget parent); - public TQMultiLineEdit() { - super((Class) null); - newTQMultiLineEdit(); - } - private native void newTQMultiLineEdit(); - public native String textLine(int line); - public native int numLines(); - public native void insertLine(String s, int line); - public native void insertLine(String s); - public native void insertAt(String s, int line, int col); - public native void insertAt(String s, int line, int col, boolean mark); - public native void removeLine(int line); - public native void setCursorPosition(int line, int col); - public native void setCursorPosition(int line, int col, boolean mark); - public native boolean atBeginning(); - public native boolean atEnd(); - public native void setAlignment(int flags); - public native int alignment(); - public native void setEdited(boolean arg1); - public native boolean edited(); - public native boolean hasMarkedText(); - public native String markedText(); - public native void cursorWordForward(boolean mark); - public native void cursorWordBackward(boolean mark); - public native boolean autoUpdate(); - public native void setAutoUpdate(boolean arg1); - public native int totalWidth(); - public native int totalHeight(); - public native int maxLines(); - public native void setMaxLines(int arg1); - public native void deselect(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native TQPoint cursorPoint(); - protected native void insertAndMark(String arg1, boolean mark); - protected native void newLine(); - protected native void killLine(); - protected native void pageUp(boolean mark); - protected native void pageUp(); - protected native void pageDown(boolean mark); - protected native void pageDown(); - protected native void cursorLeft(boolean mark, boolean wrap); - protected native void cursorLeft(boolean mark); - protected native void cursorLeft(); - protected native void cursorRight(boolean mark, boolean wrap); - protected native void cursorRight(boolean mark); - protected native void cursorRight(); - protected native void cursorUp(boolean mark); - protected native void cursorUp(); - protected native void cursorDown(boolean mark); - protected native void cursorDown(); - protected native void backspace(); - protected native void home(boolean mark); - protected native void home(); - protected native void end(boolean mark); - protected native void end(); - protected native boolean getMarkedRegion(int[] line1, int[] col1, int[] line2, int[] col2); - protected native int lineLength(int row); - /** 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/qtjava/javalib/org/kde/qt/QNetworkOperation.java b/qtjava/javalib/org/kde/qt/QNetworkOperation.java deleted file mode 100644 index bc6f9468..00000000 --- a/qtjava/javalib/org/kde/qt/QNetworkOperation.java +++ /dev/null @@ -1,40 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQNetworkOperation extends TQObject { - protected TQNetworkOperation(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQNetworkOperation(int operation, String arg0, String arg1, String arg2) { - super((Class) null); - newTQNetworkOperation(operation,arg0,arg1,arg2); - } - private native void newTQNetworkOperation(int operation, String arg0, String arg1, String arg2); - public TQNetworkOperation(int operation, byte[] arg0, byte[] arg1, byte[] arg2) { - super((Class) null); - newTQNetworkOperation(operation,arg0,arg1,arg2); - } - private native void newTQNetworkOperation(int operation, byte[] arg0, byte[] arg1, byte[] arg2); - public native void setState(int state); - public native void setProtocolDetail(String detail); - public native void setErrorCode(int ec); - public native void setArg(int num, String arg); - public native void setRawArg(int num, byte[] arg); - public native int operation(); - public native int state(); - public native String arg(int num); - public native byte[] rawArg(int num); - public native String protocolDetail(); - public native int errorCode(); - public native void free(); - public static native String tr(String arg1, String arg2); - public static native String tr(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/qtjava/javalib/org/kde/qt/QNetworkProtocol.java b/qtjava/javalib/org/kde/qt/QNetworkProtocol.java deleted file mode 100644 index 7268211b..00000000 --- a/qtjava/javalib/org/kde/qt/QNetworkProtocol.java +++ /dev/null @@ -1,84 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQNetworkProtocolSignals} for signals emitted by TQNetworkProtocol -*/ -public class TQNetworkProtocol extends TQObject { - protected TQNetworkProtocol(Class dummy){super((Class) null);} - public static final int StWaiting = 0; - public static final int StInProgress = 1; - public static final int StDone = 2; - public static final int StFailed = 3; - public static final int StStopped = 4; - - public static final int OpListChildren = 1; - public static final int OpMkDir = 2; - public static final int OpMkdir = OpMkDir; - public static final int OpRemove = 4; - public static final int OpRename = 8; - public static final int OpGet = 32; - public static final int OpPut = 64; - - public static final int ConHostFound = 0; - public static final int ConConnected = 1; - public static final int ConClosed = 2; - - public static final int NoError = 0; - public static final int ErrValid = 1; - public static final int ErrUnknownProtocol = 2; - public static final int ErrUnsupported = 3; - public static final int ErrParse = 4; - public static final int ErrLoginIncorrect = 5; - public static final int ErrHostNotFound = 6; - public static final int ErrListChildren = 7; - public static final int ErrListChlidren = ErrListChildren; - public static final int ErrMkDir = 8; - public static final int ErrMkdir = ErrMkDir; - public static final int ErrRemove = 9; - public static final int ErrRename = 10; - public static final int ErrGet = 11; - public static final int ErrPut = 12; - public static final int ErrFileNotExisting = 13; - public static final int ErrPermissionDenied = 14; - - public native TQMetaObject metaObject(); - public native String className(); - public TQNetworkProtocol() { - super((Class) null); - newTQNetworkProtocol(); - } - private native void newTQNetworkProtocol(); - public native void setUrl(TQUrlOperator u); - public native void setAutoDelete(boolean b, int i); - public native void setAutoDelete(boolean b); - public native boolean autoDelete(); - public native int supportedOperations(); - public native void addOperation(TQNetworkOperation op); - public native TQUrlOperator url(); - public native TQNetworkOperation operationInProgress(); - public native void clearOperationQueue(); - public native void stop(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - // void registerNetworkProtocol(const TQString& arg1,TQNetworkProtocolFactoryBase* arg2); >>>> NOT CONVERTED - public static native TQNetworkProtocol getNetworkProtocol(String protocol); - public static native boolean hasOnlyLocalFileSystem(); - protected native void processOperation(TQNetworkOperation op); - protected native void operationListChildren(TQNetworkOperation op); - protected native void operationMkDir(TQNetworkOperation op); - protected native void operationRemove(TQNetworkOperation op); - protected native void operationRename(TQNetworkOperation op); - protected native void operationGet(TQNetworkOperation op); - protected native void operationPut(TQNetworkOperation op); - protected native void operationPutChunk(TQNetworkOperation op); - protected native boolean checkConnection(TQNetworkOperation op); - /** 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/qtjava/javalib/org/kde/qt/QNetworkProtocolSignals.java b/qtjava/javalib/org/kde/qt/QNetworkProtocolSignals.java deleted file mode 100644 index 52a71c58..00000000 --- a/qtjava/javalib/org/kde/qt/QNetworkProtocolSignals.java +++ /dev/null @@ -1,16 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQNetworkProtocolSignals { - void data(byte[] arg1, TQNetworkOperation res); - void connectionStateChanged(int state, String data); - void finished(TQNetworkOperation res); - void start(TQNetworkOperation res); - // void newChildren(const TQValueList& arg1,TQNetworkOperation* arg2); >>>> NOT CONVERTED - void newChild(TQUrlInfo arg1, TQNetworkOperation res); - void createdDirectory(TQUrlInfo arg1, TQNetworkOperation res); - void removed(TQNetworkOperation res); - void itemChanged(TQNetworkOperation res); - void dataTransferProgress(int bytesDone, int bytesTotal, TQNetworkOperation res); -} diff --git a/qtjava/javalib/org/kde/qt/QObject.java b/qtjava/javalib/org/kde/qt/QObject.java deleted file mode 100644 index 71d268b1..00000000 --- a/qtjava/javalib/org/kde/qt/QObject.java +++ /dev/null @@ -1,272 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.ArrayList; - -/** - See {@link TQObjectSignals} for signals emitted by TQObject -*/ -public class TQObject extends Qt { - protected TQObject(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQObject(TQObject parent, String name) { - super((Class) null); - newTQObject(parent,name); - } - private native void newTQObject(TQObject parent, String name); - public TQObject(TQObject parent) { - super((Class) null); - newTQObject(parent); - } - private native void newTQObject(TQObject parent); - public TQObject() { - super((Class) null); - newTQObject(); - } - private native void newTQObject(); - public native boolean event(TQEvent arg1); - public native boolean eventFilter(TQObject arg1, TQEvent arg2); - public native boolean isA(String arg1); - public native boolean inherits(String arg1); - public native String name(); - public native String name(String defaultName); - public native void setName(String name); - public native boolean isWidgetType(); - public native boolean highPriority(); - public native boolean signalsBlocked(); - public native void blockSignals(boolean b); - public native int startTimer(int interval); - public native void killTimer(int id); - public native void killTimers(); - public native TQObject child(String objName, String inheritsClass, boolean recursiveSearch); - public native TQObject child(String objName, String inheritsClass); - public native TQObject child(String objName); - public native ArrayList children(); - public native ArrayList queryList(String inheritsClass, String objName, boolean regexpMatch, boolean recursiveSearch); - public native ArrayList queryList(String inheritsClass, String objName, boolean regexpMatch); - public native ArrayList queryList(String inheritsClass, String objName); - public native ArrayList queryList(String inheritsClass); - public native ArrayList queryList(); - public native void insertChild(TQObject arg1); - public native void removeChild(TQObject arg1); - public native void installEventFilter(TQObject arg1); - public native void removeEventFilter(TQObject arg1); - public native boolean connect(TQObject sender, String signal, String member); - public native boolean disconnect(String signal, TQObject receiver, String member); - public native boolean disconnect(String signal, TQObject receiver); - public native boolean disconnect(String signal); - public native boolean disconnect(); - public native boolean disconnect(TQObject receiver, String member); - public native boolean disconnect(TQObject receiver); - public native void dumpObjectTree(); - public native void dumpObjectInfo(); - public native boolean setProperty(String name, TQVariant value); - public native TQVariant property(String name); - // void setUserData(uint arg1,TQObjectUserData* arg2); >>>> NOT CONVERTED - // TQObjectUserData* userData(uint arg1); >>>> NOT CONVERTED - public native TQObject parent(); - public native void deleteLater(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - public static native ArrayList objectTrees(); - public static native boolean connect(TQObject sender, String signal, TQObject receiver, String member); - public static native boolean disconnect(TQObject sender, String signal, TQObject receiver, String member); - public static native void connectInternal(TQObject sender, int signal_index, TQObject receiver, int membcode, int member_index); - public static native boolean disconnectInternal(TQObject sender, int signal_index, TQObject receiver, int membcode, int member_index); - public static native int registerUserData(); - protected native boolean activate_filters(TQEvent arg1); - // TQConnectionList* receivers(const char* arg1); >>>> NOT CONVERTED - // TQConnectionList* receivers(int arg1); >>>> NOT CONVERTED - protected native void activate_signal(int signal); - protected native void activate_signal(int signal, int arg2); - protected native void activate_signal(int signal, double arg2); - protected native void activate_signal(int signal, String arg2); - protected native void activate_signal_bool(int signal, boolean arg2); - // void activate_signal(TQConnectionList* arg1,TQUObject* arg2); >>>> NOT CONVERTED - protected native TQObject sender(); - protected native void timerEvent(TQTimerEvent arg1); - protected native void childEvent(TQChildEvent arg1); - protected native void customEvent(TQCustomEvent arg1); - protected native void connectNotify(String signal); - protected native void disconnectNotify(String signal); - protected native boolean checkConnectArgs(String signal, TQObject receiver, String member); - protected static native String normalizeSignalSlot(String signalSlot); - /** 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(); - /** i18n() is just a synonym of tr() for now */ - public static String i18n(String s) { - return tr(s); - } - - public native void emit(String signal, Object[] args); - - protected void emit(String signal) { - Object[] args = new Object[0]; - emit("2" + signal.trim() + "()", args); - } - - protected void emit(String signal, Object value) { - Object[] args = new Object[1]; - args[0] = value; - emit("2" + signal.trim() + "(" + value.getClass().getName() + ")", args); - } - - protected void emit(String signal, Object value1, Object value2) { - Object[] args = new Object[2]; - args[0] = value1; - args[1] = value2; - emit("2" + signal.trim() + "(" + value1.getClass().getName() + "," - + value2.getClass().getName() - + ")", args); - } - - protected void emit(String signal, Object value1, Object value2, Object value3) { - Object[] args = new Object[3]; - args[0] = value1; - args[1] = value2; - args[2] = value3; - emit("2" + signal.trim() + "(" + value1.getClass().getName() + "," - + value2.getClass().getName() + "," - + value3.getClass().getName() - + ")", args); - } - - protected void emit(String signal, Object value1, Object value2, Object value3, Object value4) { - Object[] args = new Object[4]; - args[0] = value1; - args[1] = value2; - args[2] = value3; - args[3] = value4; - emit("2" + signal.trim() + "(" + value1.getClass().getName() + "," - + value2.getClass().getName() + "," - + value3.getClass().getName() + "," - + value4.getClass().getName() - + ")", args); - } - - protected void emit(String signal, boolean value) { - Object[] args = new Object[1]; - args[0] = new Boolean(value); - emit("2" + signal.trim() + "(boolean)", args); - } - - protected void emit(String signal, char value) { - Object[] args = new Object[1]; - args[0] = new Character(value); - emit("2" + signal.trim() + "(char)", args); - } - - protected void emit(String signal, byte value) { - Object[] args = new Object[1]; - args[0] = new Byte(value); - emit("2" + signal.trim() + "(byte)", args); - } - - protected void emit(String signal, short value) { - Object[] args = new Object[1]; - args[0] = new Short(value); - emit("2" + signal.trim() + "(short)", args); - } - - protected void emit(String signal, int value) { - Object[] args = new Object[1]; - args[0] = new Integer(value); - emit("2" + signal.trim() + "(int)", args); - } - - protected void emit(String signal, int value1, int value2) { - Object[] args = new Object[2]; - args[0] = new Integer(value1); - args[1] = new Integer(value2); - emit("2" + signal.trim() + "(int,int)", args); - } - - protected void emit(String signal, Object value1, int value2) { - Object[] args = new Object[2]; - args[0] = value1; - args[1] = new Integer(value2); - emit("2" + signal.trim() + "(" + value1.getClass().getName() + "," - + "int" - + ")", args); - } - - protected void emit(String signal, int value1, int value2, int value3) { - Object[] args = new Object[3]; - args[0] = new Integer(value1); - args[1] = new Integer(value2); - args[2] = new Integer(value3); - emit("2" + signal.trim() + "(int,int,int)", args); - } - - protected void emit(String signal, int value1, int value2, int value3, Object value4) { - Object[] args = new Object[4]; - args[0] = new Integer(value1); - args[1] = new Integer(value2); - args[2] = new Integer(value3); - args[3] = value4; - emit("2" + signal.trim() + "(int,int,int," + value4.getClass().getName() + ")", args); - } - - protected void emit(String signal, int value1, Object value2, Object value3) { - Object[] args = new Object[3]; - args[0] = new Integer(value1); - args[1] = value2; - args[2] = value3; - emit("2" + signal.trim() + "(int," - + value2.getClass().getName() + "," - + value3.getClass().getName() - + ")", args); - } - - protected void emit(String signal, int value1, Object value2, Object value3, int value4) { - Object[] args = new Object[4]; - args[0] = new Integer(value1); - args[1] = value2; - args[2] = value3; - args[3] = new Integer(value4); - emit("2" + signal.trim() + "(int," - + value2.getClass().getName() + "," - + value3.getClass().getName() - + ",int)", args); - } - - protected void emit(String signal, int value1, boolean value2) { - Object[] args = new Object[2]; - args[0] = new Integer(value1); - args[1] = new Boolean(value2); - emit("2" + signal.trim() + "(int,boolean)", args); - } - - protected void emit(String signal, long value) { - Object[] args = new Object[1]; - args[0] = new Long(value); - emit("2" + signal.trim() + "(long)", args); - } - - protected void emit(String signal, float value) { - Object[] args = new Object[1]; - args[0] = new Float(value); - emit("2" + signal.trim() + "(float)", args); - } - - protected void emit(String signal, double value) { - Object[] args = new Object[1]; - args[0] = new Double(value); - emit("2" + signal.trim() + "(double)", args); - } - - protected void emit(String signal, Object value1, int value2, int value3) { - Object[] args = new Object[3]; - args[0] = value1; - args[1] = new Integer(value2); - args[2] = new Integer(value3); - emit("2" + signal.trim() + "(" + value1.getClass().getName() + ",int,int)", args); - } - -} diff --git a/qtjava/javalib/org/kde/qt/QObjectCleanupHandler.java b/qtjava/javalib/org/kde/qt/QObjectCleanupHandler.java deleted file mode 100644 index f03fc315..00000000 --- a/qtjava/javalib/org/kde/qt/QObjectCleanupHandler.java +++ /dev/null @@ -1,27 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQObjectCleanupHandler extends TQObject { - protected TQObjectCleanupHandler(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQObjectCleanupHandler() { - super((Class) null); - newTQObjectCleanupHandler(); - } - private native void newTQObjectCleanupHandler(); - public native TQObject add(TQObject object); - public native void remove(TQObject object); - public native boolean isEmpty(); - public native void clear(); - public static native String tr(String arg1, String arg2); - public static native String tr(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/qtjava/javalib/org/kde/qt/QObjectSignals.java b/qtjava/javalib/org/kde/qt/QObjectSignals.java deleted file mode 100644 index 26d2e58a..00000000 --- a/qtjava/javalib/org/kde/qt/QObjectSignals.java +++ /dev/null @@ -1,9 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import java.util.ArrayList; - -public interface TQObjectSignals { - void destroyed(); - void destroyed(TQObject arg1); -} diff --git a/qtjava/javalib/org/kde/qt/QPaintDevice.java b/qtjava/javalib/org/kde/qt/QPaintDevice.java deleted file mode 100644 index 5e7f9915..00000000 --- a/qtjava/javalib/org/kde/qt/QPaintDevice.java +++ /dev/null @@ -1,86 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQPaintDevice implements QtSupport, TQPaintDeviceInterface { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQPaintDevice(Class dummy){} - - public static final int PdcNOP = 0; - public static final int PdcDrawPoint = 1; - public static final int PdcDrawFirst = PdcDrawPoint; - public static final int PdcMoveTo = 2; - public static final int PdcLineTo = 3; - public static final int PdcDrawLine = 4; - public static final int PdcDrawRect = 5; - public static final int PdcDrawRoundRect = 6; - public static final int PdcDrawEllipse = 7; - public static final int PdcDrawArc = 8; - public static final int PdcDrawPie = 9; - public static final int PdcDrawChord = 10; - public static final int PdcDrawLineSegments = 11; - public static final int PdcDrawPolyline = 12; - public static final int PdcDrawPolygon = 13; - public static final int PdcDrawCubicBezier = 14; - public static final int PdcDrawText = 15; - public static final int PdcDrawTextFormatted = 16; - public static final int PdcDrawPixmap = 17; - public static final int PdcDrawImage = 18; - public static final int PdcDrawText2 = 19; - public static final int PdcDrawText2Formatted = 20; - public static final int PdcDrawTextItem = 21; - public static final int PdcDrawLast = PdcDrawTextItem; - public static final int PdcBegin = 30; - public static final int PdcEnd = 31; - public static final int PdcSave = 32; - public static final int PdcRestore = 33; - public static final int PdcSetdev = 34; - public static final int PdcSetBkColor = 40; - public static final int PdcSetBkMode = 41; - public static final int PdcSetROP = 42; - public static final int PdcSetBrushOrigin = 43; - public static final int PdcSetFont = 45; - public static final int PdcSetPen = 46; - public static final int PdcSetBrush = 47; - public static final int PdcSetTabStops = 48; - public static final int PdcSetTabArray = 49; - public static final int PdcSetUnit = 50; - public static final int PdcSetVXform = 51; - public static final int PdcSetWindow = 52; - public static final int PdcSetViewport = 53; - public static final int PdcSetWXform = 54; - public static final int PdcSetWMatrix = 55; - public static final int PdcSaveWMatrix = 56; - public static final int PdcRestoreWMatrix = 57; - public static final int PdcSetClip = 60; - public static final int PdcSetClipRegion = 61; - public static final int PdcReservedStart = 0; - public static final int PdcReservedStop = 199; - - public native int devType(); - public native boolean isExtDev(); - public native boolean paintingActive(); - public native void setResolution(int arg1); - public native int resolution(); - public TQPaintDevice(int devflags) { - newTQPaintDevice(devflags); - } - private native void newTQPaintDevice(int devflags); - // bool cmd(int arg1,TQPainter* arg2,TQPDevCmdParam* arg3); >>>> NOT CONVERTED - protected native int metric(int arg1); - protected native int fontMet(TQFont arg1, int arg2, String arg3, int arg4); - protected native int fontMet(TQFont arg1, int arg2, String arg3); - protected native int fontMet(TQFont arg1, int arg2); - protected native int fontInf(TQFont arg1, int 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(); - /** Internal method */ - protected native long paintDevice(); - -} diff --git a/qtjava/javalib/org/kde/qt/QPaintDeviceInterface.java b/qtjava/javalib/org/kde/qt/QPaintDeviceInterface.java deleted file mode 100644 index b2b4f1a2..00000000 --- a/qtjava/javalib/org/kde/qt/QPaintDeviceInterface.java +++ /dev/null @@ -1,11 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQPaintDeviceInterface { - int devType(); - boolean isExtDev(); - boolean paintingActive(); - void setResolution(int arg1); - int resolution(); -} diff --git a/qtjava/javalib/org/kde/qt/QPaintDeviceMetrics.java b/qtjava/javalib/org/kde/qt/QPaintDeviceMetrics.java deleted file mode 100644 index 76683290..00000000 --- a/qtjava/javalib/org/kde/qt/QPaintDeviceMetrics.java +++ /dev/null @@ -1,42 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQPaintDeviceMetrics implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQPaintDeviceMetrics(Class dummy){} - - public static final int PdmWidth = 1; - public static final int PdmHeight = 2; - public static final int PdmWidthMM = 3; - public static final int PdmHeightMM = 4; - public static final int PdmNumColors = 5; - public static final int PdmDepth = 6; - public static final int PdmDpiX = 7; - public static final int PdmDpiY = 8; - public static final int PdmPhysicalDpiX = 9; - public static final int PdmPhysicalDpiY = 10; - - public TQPaintDeviceMetrics(TQPaintDeviceInterface arg1) { - newTQPaintDeviceMetrics(arg1); - } - private native void newTQPaintDeviceMetrics(TQPaintDeviceInterface arg1); - public native int width(); - public native int height(); - public native int widthMM(); - public native int heightMM(); - public native int logicalDpiX(); - public native int logicalDpiY(); - public native int physicalDpiX(); - public native int physicalDpiY(); - public native int numColors(); - public native int depth(); - /** 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/qtjava/javalib/org/kde/qt/QPaintEvent.java b/qtjava/javalib/org/kde/qt/QPaintEvent.java deleted file mode 100644 index 8b91516c..00000000 --- a/qtjava/javalib/org/kde/qt/QPaintEvent.java +++ /dev/null @@ -1,47 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQPaintEvent extends TQEvent { - protected TQPaintEvent(Class dummy){super((Class) null);} - public TQPaintEvent(TQRegion paintRegion, boolean erased) { - super((Class) null); - newTQPaintEvent(paintRegion,erased); - } - private native void newTQPaintEvent(TQRegion paintRegion, boolean erased); - public TQPaintEvent(TQRegion paintRegion) { - super((Class) null); - newTQPaintEvent(paintRegion); - } - private native void newTQPaintEvent(TQRegion paintRegion); - public TQPaintEvent(TQRect paintRect, boolean erased) { - super((Class) null); - newTQPaintEvent(paintRect,erased); - } - private native void newTQPaintEvent(TQRect paintRect, boolean erased); - public TQPaintEvent(TQRect paintRect) { - super((Class) null); - newTQPaintEvent(paintRect); - } - private native void newTQPaintEvent(TQRect paintRect); - public TQPaintEvent(TQRegion paintRegion, TQRect paintRect, boolean erased) { - super((Class) null); - newTQPaintEvent(paintRegion,paintRect,erased); - } - private native void newTQPaintEvent(TQRegion paintRegion, TQRect paintRect, boolean erased); - public TQPaintEvent(TQRegion paintRegion, TQRect paintRect) { - super((Class) null); - newTQPaintEvent(paintRegion,paintRect); - } - private native void newTQPaintEvent(TQRegion paintRegion, TQRect paintRect); - public native TQRect rect(); - public native TQRegion region(); - public native boolean erased(); - /** 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/qtjava/javalib/org/kde/qt/QPainter.java b/qtjava/javalib/org/kde/qt/QPainter.java deleted file mode 100644 index 8db7725c..00000000 --- a/qtjava/javalib/org/kde/qt/QPainter.java +++ /dev/null @@ -1,247 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQPainter extends Qt { - protected TQPainter(Class dummy){super((Class) null);} - public static final int IsActive = 0x01; - public static final int ExtDev = 0x02; - public static final int IsStartingUp = 0x04; - public static final int NoCache = 0x08; - public static final int VxF = 0x10; - public static final int WxF = 0x20; - public static final int ClipOn = 0x40; - public static final int SafePolygon = 0x80; - public static final int MonoDev = 0x100; - public static final int DirtyFont = 0x200; - public static final int DirtyPen = 0x400; - public static final int DirtyBrush = 0x800; - public static final int RGBColor = 0x1000; - public static final int FontMet = 0x2000; - public static final int FontInf = 0x4000; - public static final int CtorBegin = 0x8000; - public static final int UsePrivateCx = 0x10000; - public static final int VolatileDC = 0x20000; - public static final int Qt2Compat = 0x40000; - - public static final int CoordDevice = 0; - public static final int CoordPainter = 1; - - public static final int Auto = 0; - public static final int RTL = 1; - public static final int LTR = 2; - - public TQPainter() { - super((Class) null); - newTQPainter(); - } - private native void newTQPainter(); - public TQPainter(TQPaintDeviceInterface arg1, boolean unclipped) { - super((Class) null); - newTQPainter(arg1,unclipped); - } - private native void newTQPainter(TQPaintDeviceInterface arg1, boolean unclipped); - public TQPainter(TQPaintDeviceInterface arg1) { - super((Class) null); - newTQPainter(arg1); - } - private native void newTQPainter(TQPaintDeviceInterface arg1); - public TQPainter(TQPaintDeviceInterface arg1, TQWidget arg2, boolean unclipped) { - super((Class) null); - newTQPainter(arg1,arg2,unclipped); - } - private native void newTQPainter(TQPaintDeviceInterface arg1, TQWidget arg2, boolean unclipped); - public TQPainter(TQPaintDeviceInterface arg1, TQWidget arg2) { - super((Class) null); - newTQPainter(arg1,arg2); - } - private native void newTQPainter(TQPaintDeviceInterface arg1, TQWidget arg2); - public native boolean begin(TQPaintDeviceInterface arg1, boolean unclipped); - public native boolean begin(TQPaintDeviceInterface arg1); - public native boolean begin(TQPaintDeviceInterface arg1, TQWidget arg2, boolean unclipped); - public native boolean begin(TQPaintDeviceInterface arg1, TQWidget arg2); - public native boolean end(); - public native TQPaintDeviceInterface device(); - public native boolean isActive(); - public native void flush(TQRegion region, int cm); - public native void flush(TQRegion region); - public native void flush(); - public native void save(); - public native void restore(); - public native TQFontMetrics fontMetrics(); - public native TQFontInfo fontInfo(); - public native TQFont font(); - public native void setFont(TQFont arg1); - public native TQPen pen(); - public native void setPen(TQPen arg1); - public native void setPen(int arg1); - public native void setPen(TQColor arg1); - public native TQBrush brush(); - public native void setBrush(TQBrush arg1); - public native void setBrush(int arg1); - public native void setBrush(TQColor arg1); - public native TQPoint pos(); - public native TQColor backgroundColor(); - public native void setBackgroundColor(TQColor arg1); - public native int backgroundMode(); - public native void setBackgroundMode(int arg1); - public native int rasterOp(); - public native void setRasterOp(int arg1); - public native TQPoint brushOrigin(); - public native void setBrushOrigin(int x, int y); - public native void setBrushOrigin(TQPoint arg1); - public native boolean hasViewXForm(); - public native boolean hasWorldXForm(); - public native void setViewXForm(boolean arg1); - public native TQRect window(); - public native void setWindow(TQRect arg1); - public native void setWindow(int x, int y, int w, int h); - public native TQRect viewport(); - public native void setViewport(TQRect arg1); - public native void setViewport(int x, int y, int w, int h); - public native void setWorldXForm(boolean arg1); - public native TQWMatrix worldMatrix(); - public native void setWorldMatrix(TQWMatrix arg1, boolean combine); - public native void setWorldMatrix(TQWMatrix arg1); - public native void saveWorldMatrix(); - public native void restoreWorldMatrix(); - public native void scale(double sx, double sy); - public native void shear(double sh, double sv); - public native void rotate(double a); - public native void translate(double dx, double dy); - public native void resetXForm(); - public native double translationX(); - public native double translationY(); - public native Object xForm(TQPoint arg1); - public native Object xForm(TQRect arg1); - public native Object xForm(TQPointArray arg1); - public native Object xForm(TQPointArray arg1, int index, int npoints); - public native TQPoint xFormDev(TQPoint arg1); - public native TQRect xFormDev(TQRect arg1); - public native TQPointArray xFormDev(TQPointArray arg1); - public native TQPointArray xFormDev(TQPointArray arg1, int index, int npoints); - public native void setClipping(boolean arg1); - public native boolean hasClipping(); - public native TQRegion clipRegion(int arg1); - public native TQRegion clipRegion(); - public native void setClipRect(TQRect arg1, int arg2); - public native void setClipRect(TQRect arg1); - public native void setClipRect(int x, int y, int w, int h, int arg5); - public native void setClipRect(int x, int y, int w, int h); - public native void setClipRegion(TQRegion arg1, int arg2); - public native void setClipRegion(TQRegion arg1); - public native void drawPoint(int x, int y); - public native void drawPoint(TQPoint arg1); - public native void drawPoints(TQPointArray a, int index, int npoints); - public native void drawPoints(TQPointArray a, int index); - public native void drawPoints(TQPointArray a); - public native void moveTo(int x, int y); - public native void moveTo(TQPoint arg1); - public native void lineTo(int x, int y); - public native void lineTo(TQPoint arg1); - public native void drawLine(int x1, int y1, int x2, int y2); - public native void drawLine(TQPoint arg1, TQPoint arg2); - public native void drawRect(int x, int y, int w, int h); - public native void drawRect(TQRect arg1); - public native void drawWinFocusRect(int x, int y, int w, int h); - public native void drawWinFocusRect(int x, int y, int w, int h, TQColor bgColor); - public native void drawWinFocusRect(TQRect arg1); - public native void drawWinFocusRect(TQRect arg1, TQColor bgColor); - public native void drawRoundRect(int x, int y, int w, int h, int arg5, int arg6); - public native void drawRoundRect(int x, int y, int w, int h, int arg5); - public native void drawRoundRect(int x, int y, int w, int h); - public native void drawRoundRect(TQRect arg1, int arg2, int arg3); - public native void drawRoundRect(TQRect arg1, int arg2); - public native void drawRoundRect(TQRect arg1); - public native void drawEllipse(int x, int y, int w, int h); - public native void drawEllipse(TQRect arg1); - public native void drawArc(int x, int y, int w, int h, int a, int alen); - public native void drawArc(TQRect arg1, int a, int alen); - public native void drawPie(int x, int y, int w, int h, int a, int alen); - public native void drawPie(TQRect arg1, int a, int alen); - public native void drawChord(int x, int y, int w, int h, int a, int alen); - public native void drawChord(TQRect arg1, int a, int alen); - public native void drawLineSegments(TQPointArray arg1, int index, int nlines); - public native void drawLineSegments(TQPointArray arg1, int index); - public native void drawLineSegments(TQPointArray arg1); - public native void drawPolyline(TQPointArray arg1, int index, int npoints); - public native void drawPolyline(TQPointArray arg1, int index); - public native void drawPolyline(TQPointArray arg1); - public native void drawPolygon(TQPointArray arg1, boolean winding, int index, int npoints); - public native void drawPolygon(TQPointArray arg1, boolean winding, int index); - public native void drawPolygon(TQPointArray arg1, boolean winding); - public native void drawPolygon(TQPointArray arg1); - public native void drawConvexPolygon(TQPointArray arg1, int index, int npoints); - public native void drawConvexPolygon(TQPointArray arg1, int index); - public native void drawConvexPolygon(TQPointArray arg1); - public native void drawCubicBezier(TQPointArray arg1, int index); - public native void drawCubicBezier(TQPointArray arg1); - public native void drawPixmap(int x, int y, TQPixmap arg3, int sx, int sy, int sw, int sh); - public native void drawPixmap(int x, int y, TQPixmap arg3, int sx, int sy, int sw); - public native void drawPixmap(int x, int y, TQPixmap arg3, int sx, int sy); - public native void drawPixmap(int x, int y, TQPixmap arg3, int sx); - public native void drawPixmap(int x, int y, TQPixmap arg3); - public native void drawPixmap(TQPoint arg1, TQPixmap arg2, TQRect sr); - public native void drawPixmap(TQPoint arg1, TQPixmap arg2); - public native void drawPixmap(TQRect arg1, TQPixmap arg2); - public native void drawImage(int x, int y, TQImage arg3, int sx, int sy, int sw, int sh, int conversionFlags); - public native void drawImage(int x, int y, TQImage arg3, int sx, int sy, int sw, int sh); - public native void drawImage(int x, int y, TQImage arg3, int sx, int sy, int sw); - public native void drawImage(int x, int y, TQImage arg3, int sx, int sy); - public native void drawImage(int x, int y, TQImage arg3, int sx); - public native void drawImage(int x, int y, TQImage arg3); - public native void drawImage(TQPoint arg1, TQImage arg2, TQRect sr, int conversionFlags); - public native void drawImage(TQPoint arg1, TQImage arg2, TQRect sr); - public native void drawImage(TQPoint arg1, TQImage arg2, int conversion_flags); - public native void drawImage(TQPoint arg1, TQImage arg2); - public native void drawImage(TQRect arg1, TQImage arg2); - public native void drawTiledPixmap(int x, int y, int w, int h, TQPixmap arg5, int sx, int sy); - public native void drawTiledPixmap(int x, int y, int w, int h, TQPixmap arg5, int sx); - public native void drawTiledPixmap(int x, int y, int w, int h, TQPixmap arg5); - public native void drawTiledPixmap(TQRect arg1, TQPixmap arg2, TQPoint arg3); - public native void drawTiledPixmap(TQRect arg1, TQPixmap arg2); - public native void drawPicture(TQPicture arg1); - public native void drawPicture(int x, int y, TQPicture arg3); - public native void drawPicture(TQPoint arg1, TQPicture arg2); - public native void fillRect(int x, int y, int w, int h, TQBrush arg5); - public native void fillRect(TQRect arg1, TQBrush arg2); - public native void eraseRect(int x, int y, int w, int h); - public native void eraseRect(TQRect arg1); - public native void drawText(int x, int y, String arg3, int len, int dir); - public native void drawText(int x, int y, String arg3, int len); - public native void drawText(int x, int y, String arg3); - public native void drawText(TQPoint arg1, String arg2, int len, int dir); - public native void drawText(TQPoint arg1, String arg2, int len); - public native void drawText(TQPoint arg1, String arg2); - public native void drawText(int x, int y, String arg3, int pos, int len, int dir); - public native void drawText(TQPoint p, String arg2, int pos, int len, int dir); - // void drawText(int arg1,int arg2,int arg3,int arg4,int arg5,const TQString& arg6,int arg7,TQRect* arg8,TQTextParag** arg9); >>>> NOT CONVERTED - public native void drawText(int x, int y, int w, int h, int flags, String arg6, int len, TQRect br); - public native void drawText(int x, int y, int w, int h, int flags, String arg6, int len); - public native void drawText(int x, int y, int w, int h, int flags, String arg6); - // void drawText(const TQRect& arg1,int arg2,const TQString& arg3,int arg4,TQRect* arg5,TQTextParag** arg6); >>>> NOT CONVERTED - public native void drawText(TQRect arg1, int flags, String arg3, int len, TQRect br); - public native void drawText(TQRect arg1, int flags, String arg3, int len); - public native void drawText(TQRect arg1, int flags, String arg3); - // TQRect boundingRect(int arg1,int arg2,int arg3,int arg4,int arg5,const TQString& arg6,int arg7,TQTextParag** arg8); >>>> NOT CONVERTED - public native TQRect boundingRect(int x, int y, int w, int h, int flags, String arg6, int len); - public native TQRect boundingRect(int x, int y, int w, int h, int flags, String arg6); - // TQRect boundingRect(const TQRect& arg1,int arg2,const TQString& arg3,int arg4,TQTextParag** arg5); >>>> NOT CONVERTED - public native TQRect boundingRect(TQRect arg1, int flags, String arg3, int len); - public native TQRect boundingRect(TQRect arg1, int flags, String arg3); - public native int tabStops(); - public native void setTabStops(int arg1); - public native int[] tabArray(); - public native void setTabArray(int[] arg1); - public static native void redirect(TQPaintDeviceInterface pdev, TQPaintDeviceInterface replacement); - public static native TQPaintDeviceInterface redirect(TQPaintDeviceInterface pdev); - public static native void initialize(); - public static native void cleanup(); - /** 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/qtjava/javalib/org/kde/qt/QPalette.java b/qtjava/javalib/org/kde/qt/QPalette.java deleted file mode 100644 index 53b5160f..00000000 --- a/qtjava/javalib/org/kde/qt/QPalette.java +++ /dev/null @@ -1,64 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQPalette implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQPalette(Class dummy){} - - public static final int Disabled = 0; - public static final int Active = 1; - public static final int Inactive = 2; - public static final int NColorGroups = 3; - public static final int Normal = Active; - - public TQPalette() { - newTQPalette(); - } - private native void newTQPalette(); - public TQPalette(TQColor button) { - newTQPalette(button); - } - private native void newTQPalette(TQColor button); - public TQPalette(TQColor button, TQColor background) { - newTQPalette(button,background); - } - private native void newTQPalette(TQColor button, TQColor background); - public TQPalette(TQColorGroup active, TQColorGroup disabled, TQColorGroup inactive) { - newTQPalette(active,disabled,inactive); - } - private native void newTQPalette(TQColorGroup active, TQColorGroup disabled, TQColorGroup inactive); - public TQPalette(TQPalette arg1) { - newTQPalette(arg1); - } - private native void newTQPalette(TQPalette arg1); - public native TQColor color(int arg1, int arg2); - public native TQBrush brush(int arg1, int arg2); - public native void setColor(int arg1, int arg2, TQColor arg3); - public native void setBrush(int arg1, int arg2, TQBrush arg3); - public native void setColor(int arg1, TQColor arg2); - public native void setBrush(int arg1, TQBrush arg2); - public native TQPalette copy(); - public native TQColorGroup active(); - public native TQColorGroup disabled(); - public native TQColorGroup inactive(); - public native TQColorGroup normal(); - public native void setActive(TQColorGroup arg1); - public native void setDisabled(TQColorGroup arg1); - public native void setInactive(TQColorGroup arg1); - public native void setNormal(TQColorGroup cg); - public native boolean op_equals(TQPalette p); - public native boolean op_not_equals(TQPalette p); - public native boolean isCopyOf(TQPalette arg1); - public native int serialNumber(); - public static native int foregroundRoleFromMode(int mode); - public static native int backgroundRoleFromMode(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/qtjava/javalib/org/kde/qt/QPen.java b/qtjava/javalib/org/kde/qt/QPen.java deleted file mode 100644 index 05f0bc86..00000000 --- a/qtjava/javalib/org/kde/qt/QPen.java +++ /dev/null @@ -1,61 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQPen extends Qt { - protected TQPen(Class dummy){super((Class) null);} - public TQPen() { - super((Class) null); - newTQPen(); - } - private native void newTQPen(); - public TQPen(int arg1) { - super((Class) null); - newTQPen(arg1); - } - private native void newTQPen(int arg1); - public TQPen(TQColor color, int width, int style) { - super((Class) null); - newTQPen(color,width,style); - } - private native void newTQPen(TQColor color, int width, int style); - public TQPen(TQColor color, int width) { - super((Class) null); - newTQPen(color,width); - } - private native void newTQPen(TQColor color, int width); - public TQPen(TQColor color) { - super((Class) null); - newTQPen(color); - } - private native void newTQPen(TQColor color); - public TQPen(TQColor cl, int w, int s, int c, int j) { - super((Class) null); - newTQPen(cl,w,s,c,j); - } - private native void newTQPen(TQColor cl, int w, int s, int c, int j); - public TQPen(TQPen arg1) { - super((Class) null); - newTQPen(arg1); - } - private native void newTQPen(TQPen arg1); - public native int style(); - public native void setStyle(int arg1); - public native int width(); - public native void setWidth(int arg1); - public native TQColor color(); - public native void setColor(TQColor arg1); - public native int capStyle(); - public native void setCapStyle(int arg1); - public native int joinStyle(); - public native void setJoinStyle(int arg1); - public native boolean op_equals(TQPen p); - public native boolean op_not_equals(TQPen p); - /** 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/qtjava/javalib/org/kde/qt/QPicture.java b/qtjava/javalib/org/kde/qt/QPicture.java deleted file mode 100644 index 0d9e7d13..00000000 --- a/qtjava/javalib/org/kde/qt/QPicture.java +++ /dev/null @@ -1,48 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQPicture extends TQPaintDevice { - protected TQPicture(Class dummy){super((Class) null);} - public TQPicture(int formatVersion) { - super((Class) null); - newTQPicture(formatVersion); - } - private native void newTQPicture(int formatVersion); - public TQPicture() { - super((Class) null); - newTQPicture(); - } - private native void newTQPicture(); - public TQPicture(TQPicture arg1) { - super((Class) null); - newTQPicture(arg1); - } - private native void newTQPicture(TQPicture arg1); - public native boolean isNull(); - public native int size(); - public native String data(); - public native void setData(String data, int size); - public native boolean play(TQPainter arg1); - public native boolean load(TQIODeviceInterface dev, String format); - public native boolean load(TQIODeviceInterface dev); - public native boolean load(String fileName, String format); - public native boolean load(String fileName); - public native boolean save(TQIODeviceInterface dev, String format); - public native boolean save(TQIODeviceInterface dev); - public native boolean save(String fileName, String format); - public native boolean save(String fileName); - public native TQRect boundingRect(); - public native void setBoundingRect(TQRect r); - // bool cmd(int arg1,TQPainter* arg2,TQPDevCmdParam* arg3); >>>> NOT CONVERTED - protected native int metric(int arg1); - public native void detach(); - public native TQPicture copy(); - /** 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/qtjava/javalib/org/kde/qt/QPixmap.java b/qtjava/javalib/org/kde/qt/QPixmap.java deleted file mode 100644 index 03c8e1a6..00000000 --- a/qtjava/javalib/org/kde/qt/QPixmap.java +++ /dev/null @@ -1,172 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQPixmap extends Qt implements TQPaintDeviceInterface { - protected TQPixmap(Class dummy){super((Class) null);} - public static final int Auto = 0; - public static final int Color = 1; - public static final int Mono = 2; - - public static final int DefaultOptim = 0; - public static final int NoOptim = 1; - public static final int MemoryOptim = NoOptim; - public static final int NormalOptim = 2; - public static final int BestOptim = 3; - - public TQPixmap() { - super((Class) null); - newTQPixmap(); - } - private native void newTQPixmap(); - public TQPixmap(TQImage image) { - super((Class) null); - newTQPixmap(image); - } - private native void newTQPixmap(TQImage image); - public TQPixmap(int w, int h, int depth, int arg4) { - super((Class) null); - newTQPixmap(w,h,depth,arg4); - } - private native void newTQPixmap(int w, int h, int depth, int arg4); - public TQPixmap(int w, int h, int depth) { - super((Class) null); - newTQPixmap(w,h,depth); - } - private native void newTQPixmap(int w, int h, int depth); - public TQPixmap(int w, int h) { - super((Class) null); - newTQPixmap(w,h); - } - private native void newTQPixmap(int w, int h); - public TQPixmap(TQSize arg1, int depth, int arg3) { - super((Class) null); - newTQPixmap(arg1,depth,arg3); - } - private native void newTQPixmap(TQSize arg1, int depth, int arg3); - public TQPixmap(TQSize arg1, int depth) { - super((Class) null); - newTQPixmap(arg1,depth); - } - private native void newTQPixmap(TQSize arg1, int depth); - public TQPixmap(TQSize arg1) { - super((Class) null); - newTQPixmap(arg1); - } - private native void newTQPixmap(TQSize arg1); - public TQPixmap(String fileName, String format, int mode) { - super((Class) null); - newTQPixmap(fileName,format,mode); - } - private native void newTQPixmap(String fileName, String format, int mode); - public TQPixmap(String fileName, String format) { - super((Class) null); - newTQPixmap(fileName,format); - } - private native void newTQPixmap(String fileName, String format); - public TQPixmap(String fileName) { - super((Class) null); - newTQPixmap(fileName); - } - private native void newTQPixmap(String fileName); - public TQPixmap(String[] xpm) { - super((Class) null); - newTQPixmap(xpm); - } - private native void newTQPixmap(String[] xpm); - public TQPixmap(byte[] data) { - super((Class) null); - newTQPixmap(data); - } - private native void newTQPixmap(byte[] data); - public TQPixmap(TQPixmap arg1) { - super((Class) null); - newTQPixmap(arg1); - } - private native void newTQPixmap(TQPixmap arg1); - public native boolean isNull(); - public native int width(); - public native int height(); - public native TQSize size(); - public native TQRect rect(); - public native int depth(); - public native void fill(TQColor fillColor); - public native void fill(); - public native void fill(TQWidget arg1, int xofs, int yofs); - public native void fill(TQWidget arg1, TQPoint ofs); - public native void resize(int width, int height); - public native void resize(TQSize arg1); - public native TQBitmap mask(); - public native void setMask(TQBitmap arg1); - public native boolean selfMask(); - public native boolean hasAlpha(); - public native boolean hasAlphaChannel(); - public native TQBitmap createHeuristicMask(boolean clipTight); - public native TQBitmap createHeuristicMask(); - public native Object xForm(TQWMatrix arg1); - public native TQImage convertToImage(); - public native boolean convertFromImage(TQImage arg1, int mode); - public native boolean convertFromImage(TQImage arg1); - public native boolean load(String fileName, String format, int mode); - public native boolean load(String fileName, String format); - public native boolean load(String fileName); - public native boolean loadFromData(char[] buf, int len, String format, int mode); - public native boolean loadFromData(char[] buf, int len, String format); - public native boolean loadFromData(char[] buf, int len); - public native boolean loadFromData(byte[] data, String format, int conversion_flags); - public native boolean loadFromData(byte[] data, String format); - public native boolean loadFromData(byte[] data); - public native boolean save(String fileName, String format, int quality); - public native boolean save(String fileName, String format); - public native boolean save(TQIODeviceInterface device, String format, int quality); - public native boolean save(TQIODeviceInterface device, String format); - public native int serialNumber(); - public native int optimization(); - public native void setOptimization(int arg1); - public native void detach(); - public native boolean isTQBitmap(); - public static native int defaultDepth(); - public static native TQPixmap fromMimeSource(String abs_name); - public static native TQPixmap grabWindow(long arg1, int x, int y, int w, int h); - public static native TQPixmap grabWindow(long arg1, int x, int y, int w); - public static native TQPixmap grabWindow(long arg1, int x, int y); - public static native TQPixmap grabWindow(long arg1, int x); - public static native TQPixmap grabWindow(long arg1); - public static native TQPixmap grabWidget(TQWidget widget, int x, int y, int w, int h); - public static native TQPixmap grabWidget(TQWidget widget, int x, int y, int w); - public static native TQPixmap grabWidget(TQWidget widget, int x, int y); - public static native TQPixmap grabWidget(TQWidget widget, int x); - public static native TQPixmap grabWidget(TQWidget widget); - public static native TQWMatrix trueMatrix(TQWMatrix arg1, int w, int h); - public static native String imageFormat(String fileName); - public static native int defaultOptimization(); - public static native void setDefaultOptimization(int arg1); - public TQPixmap(int w, int h, char[] data, boolean isXbitmap) { - super((Class) null); - newTQPixmap(w,h,data,isXbitmap); - } - private native void newTQPixmap(int w, int h, char[] data, boolean isXbitmap); - protected native int metric(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(); - public native int devType(); - public native boolean isExtDev(); - public native boolean paintingActive(); - public native void setResolution(int arg1); - public native int resolution(); - // bool cmd(int arg1,TQPainter* arg2,TQPDevCmdParam* arg3); >>>> NOT CONVERTED - protected native int fontMet(TQFont arg1, int arg2, String arg3, int arg4); - protected native int fontMet(TQFont arg1, int arg2, String arg3); - protected native int fontMet(TQFont arg1, int arg2); - protected native int fontInf(TQFont arg1, int arg2); - public native boolean loadFromData(char[] data); - - /** Internal method */ - protected native long paintDevice(); - -} diff --git a/qtjava/javalib/org/kde/qt/QPoint.java b/qtjava/javalib/org/kde/qt/QPoint.java deleted file mode 100644 index a6ddef55..00000000 --- a/qtjava/javalib/org/kde/qt/QPoint.java +++ /dev/null @@ -1,39 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQPoint implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQPoint(Class dummy){} - - public TQPoint() { - newTQPoint(); - } - private native void newTQPoint(); - public TQPoint(int xpos, int ypos) { - newTQPoint(xpos,ypos); - } - private native void newTQPoint(int xpos, int ypos); - public native boolean isNull(); - public native int x(); - public native int y(); - public native void setX(int x); - public native void setY(int y); - public native int manhattanLength(); - public native short rx(); - public native short ry(); - public native TQPoint op_plus_assign(TQPoint p); - public native TQPoint op_minus_assign(TQPoint p); - public native TQPoint op_mult_assign(int c); - public native TQPoint op_mult_assign(double c); - public native TQPoint op_div_assign(int c); - public native TQPoint op_div_assign(double c); - /** 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/qtjava/javalib/org/kde/qt/QPointArray.java b/qtjava/javalib/org/kde/qt/QPointArray.java deleted file mode 100644 index e54f2191..00000000 --- a/qtjava/javalib/org/kde/qt/QPointArray.java +++ /dev/null @@ -1,68 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQPointArray implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQPointArray(Class dummy){} - - public TQPointArray() { - newTQPointArray(); - } - private native void newTQPointArray(); - public TQPointArray(int size) { - newTQPointArray(size); - } - private native void newTQPointArray(int size); - public TQPointArray(TQPointArray a) { - newTQPointArray(a); - } - private native void newTQPointArray(TQPointArray a); - public TQPointArray(TQRect r, boolean closed) { - newTQPointArray(r,closed); - } - private native void newTQPointArray(TQRect r, boolean closed); - public TQPointArray(TQRect r) { - newTQPointArray(r); - } - private native void newTQPointArray(TQRect r); - public TQPointArray(int nPoints, short[] points) { - newTQPointArray(nPoints,points); - } - private native void newTQPointArray(int nPoints, short[] points); - public native TQPointArray copy(); - public native void translate(int dx, int dy); - public native TQRect boundingRect(); - public native void point(int i, int[] x, int[] y); - public native TQPoint point(int i); - public native void setPoint(int i, int x, int y); - public native void setPoint(int i, TQPoint p); - public native boolean setPoints(int nPoints, short[] points); - public native boolean putPoints(int index, int nPoints, short[] points); - public native boolean putPoints(int index, int nPoints, TQPointArray from, int fromIndex); - public native boolean putPoints(int index, int nPoints, TQPointArray from); - public native void makeArc(int x, int y, int w, int h, int a1, int a2); - public native void makeEllipse(int x, int y, int w, int h); - public native void makeArc(int x, int y, int w, int h, int a1, int a2, TQWMatrix arg7); - public native TQPointArray cubicBezier(); - // void* shortPoints(int arg1,int arg2); >>>> NOT CONVERTED - // void* shortPoints(int arg1); >>>> NOT CONVERTED - // void* shortPoints(); >>>> NOT CONVERTED - public static native void cleanBuffers(); - /** 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(); - public native int size(); - public native int count(); - public native boolean isEmpty(); - public native boolean isNull(); - public native boolean resize( int size); - public native boolean truncate( int pos); - public native TQPoint at(int index); - -} diff --git a/qtjava/javalib/org/kde/qt/QPolygonScanner.java b/qtjava/javalib/org/kde/qt/QPolygonScanner.java deleted file mode 100644 index 26b047c6..00000000 --- a/qtjava/javalib/org/kde/qt/QPolygonScanner.java +++ /dev/null @@ -1,22 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQPolygonScanner implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQPolygonScanner(Class dummy){} - - public static final int Left = 1; - public static final int Right = 2; - public static final int Top = 4; - public static final int Bottom = 8; - - public native void scan(TQPointArray pa, boolean winding, int index, int npoints); - public native void scan(TQPointArray pa, boolean winding, int index); - public native void scan(TQPointArray pa, boolean winding); - public native void scan(TQPointArray pa, boolean winding, int index, int npoints, boolean stitchable); - public native void scan(TQPointArray pa, boolean winding, int index, int npoints, int edges); - public native void processSpans(int n, TQPoint point, int[] width); -} diff --git a/qtjava/javalib/org/kde/qt/QPopupMenu.java b/qtjava/javalib/org/kde/qt/QPopupMenu.java deleted file mode 100644 index 36b9df45..00000000 --- a/qtjava/javalib/org/kde/qt/QPopupMenu.java +++ /dev/null @@ -1,167 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQPopupMenuSignals} for signals emitted by TQPopupMenu -*/ -public class TQPopupMenu extends TQFrame implements TQMenuDataInterface { - protected TQPopupMenu(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQPopupMenu(TQWidget parent, String name) { - super((Class) null); - newTQPopupMenu(parent,name); - } - private native void newTQPopupMenu(TQWidget parent, String name); - public TQPopupMenu(TQWidget parent) { - super((Class) null); - newTQPopupMenu(parent); - } - private native void newTQPopupMenu(TQWidget parent); - public TQPopupMenu() { - super((Class) null); - newTQPopupMenu(); - } - private native void newTQPopupMenu(); - public native void popup(TQPoint pos, int indexAtPoint); - public native void popup(TQPoint pos); - public native void updateItem(int id); - public native void setCheckable(boolean arg1); - public native boolean isCheckable(); - public native void setFont(TQFont arg1); - public native void show(); - public native void hide(); - public native int exec(); - public native int exec(TQPoint pos, int indexAtPoint); - public native int exec(TQPoint pos); - public native void setActiveItem(int arg1); - public native TQSize sizeHint(); - public native int idAt(int index); - public native int idAt(TQPoint pos); - public native boolean customWhatsThis(); - public native int insertTearOffHandle(int id, int index); - public native int insertTearOffHandle(int id); - public native int insertTearOffHandle(); - public native void activateItemAt(int index); - public native TQRect itemGeometry(int index); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native int itemHeight(int arg1); - protected native int itemHeight(TQMenuItem mi); - protected native void drawItem(TQPainter p, int tab, TQMenuItem mi, boolean act, int x, int y, int w, int h); - protected native void drawContents(TQPainter arg1); - protected native void closeEvent(TQCloseEvent e); - 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 keyPressEvent(TQKeyEvent arg1); - protected native void focusInEvent(TQFocusEvent arg1); - protected native void focusOutEvent(TQFocusEvent arg1); - protected native void timerEvent(TQTimerEvent arg1); - protected native void leaveEvent(TQEvent arg1); - public native void styleChange(TQStyle arg1); - protected native void enabledChange(boolean arg1); - protected native int columns(); - protected native boolean focusNextPrevChild(boolean next); - protected native int itemAtPos(TQPoint arg1, boolean ignoreSeparator); - protected native int itemAtPos(TQPoint 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(); - public native int count(); - public native int insertItem(String text, TQObject receiver, String member, TQKeySequence accel, int id, int index); - public native int insertItem(String text, TQObject receiver, String member, TQKeySequence accel, int id); - public native int insertItem(String text, TQObject receiver, String member, TQKeySequence accel); - public native int insertItem(String text, TQObject receiver, String member); - public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel, int id, int index); - public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel, int id); - public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel); - public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member); - public native int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id, int index); - public native int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id); - public native int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel); - public native int insertItem(TQPixmap pixmap, TQObject receiver, String member); - public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id, int index); - public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id); - public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel); - public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member); - public native int insertItem(String text, int id, int index); - public native int insertItem(String text, int id); - public native int insertItem(String text); - public native int insertItem(TQIconSet icon, String text, int id, int index); - public native int insertItem(TQIconSet icon, String text, int id); - public native int insertItem(TQIconSet icon, String text); - public native int insertItem(String text, TQPopupMenu popup, int id, int index); - public native int insertItem(String text, TQPopupMenu popup, int id); - public native int insertItem(String text, TQPopupMenu popup); - public native int insertItem(TQIconSet icon, String text, TQPopupMenu popup, int id, int index); - public native int insertItem(TQIconSet icon, String text, TQPopupMenu popup, int id); - public native int insertItem(TQIconSet icon, String text, TQPopupMenu popup); - public native int insertItem(TQPixmap pixmap, int id, int index); - public native int insertItem(TQPixmap pixmap, int id); - public native int insertItem(TQPixmap pixmap); - public native int insertItem(TQIconSet icon, TQPixmap pixmap, int id, int index); - public native int insertItem(TQIconSet icon, TQPixmap pixmap, int id); - public native int insertItem(TQIconSet icon, TQPixmap pixmap); - public native int insertItem(TQPixmap pixmap, TQPopupMenu popup, int id, int index); - public native int insertItem(TQPixmap pixmap, TQPopupMenu popup, int id); - public native int insertItem(TQPixmap pixmap, TQPopupMenu popup); - public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup, int id, int index); - public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup, int id); - public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup); - public native int insertItem(TQWidget widget, int id, int index); - public native int insertItem(TQWidget widget, int id); - public native int insertItem(TQWidget widget); - public native int insertItem(TQIconSet icon, TQCustomMenuItem custom, int id, int index); - public native int insertItem(TQIconSet icon, TQCustomMenuItem custom, int id); - public native int insertItem(TQIconSet icon, TQCustomMenuItem custom); - public native int insertItem(TQCustomMenuItem custom, int id, int index); - public native int insertItem(TQCustomMenuItem custom, int id); - public native int insertItem(TQCustomMenuItem custom); - public native int insertSeparator(int index); - public native int insertSeparator(); - public native void removeItem(int id); - public native void removeItemAt(int index); - public native void clear(); - public native TQKeySequence accel(int id); - public native void setAccel(TQKeySequence key, int id); - public native TQIconSet iconSet(int id); - public native String text(int id); - public native TQPixmap pixmap(int id); - public native void setWhatsThis(int id, String arg2); - public native String whatsThis(int id); - public native void changeItem(int id, String text); - public native void changeItem(int id, TQPixmap pixmap); - public native void changeItem(int id, TQIconSet icon, String text); - public native void changeItem(int id, TQIconSet icon, TQPixmap pixmap); - public native void changeItem(String text, int id); - public native void changeItem(TQPixmap pixmap, int id); - public native void changeItem(TQIconSet icon, String text, int id); - public native boolean isItemActive(int id); - public native boolean isItemEnabled(int id); - public native void setItemEnabled(int id, boolean enable); - public native boolean isItemChecked(int id); - public native void setItemChecked(int id, boolean check); - public native boolean isItemVisible(int id); - public native void setItemVisible(int id, boolean visible); - public native int indexOf(int id); - public native void setId(int index, int id); - public native boolean connectItem(int id, TQObject receiver, String member); - public native boolean disconnectItem(int id, TQObject receiver, String member); - public native boolean setItemParameter(int id, int param); - public native int itemParameter(int id); - public native TQMenuItem findItem(int id); - // TQMenuItem* findItem(int arg1,TQMenuData** arg2); >>>> NOT CONVERTED - public native TQMenuItem findPopup(TQPopupMenu arg1, int[] index); - public native TQMenuItem findPopup(TQPopupMenu arg1); - protected native void menuContentsChanged(); - protected native void menuStateChanged(); - protected native void menuInsPopup(TQPopupMenu arg1); - protected native void menuDelPopup(TQPopupMenu arg1); -} diff --git a/qtjava/javalib/org/kde/qt/QPopupMenuSignals.java b/qtjava/javalib/org/kde/qt/QPopupMenuSignals.java deleted file mode 100644 index 51f691de..00000000 --- a/qtjava/javalib/org/kde/qt/QPopupMenuSignals.java +++ /dev/null @@ -1,12 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQPopupMenuSignals { - void activated(int itemId); - void highlighted(int itemId); - void activatedRedirect(int itemId); - void highlightedRedirect(int itemId); - void aboutToShow(); - void aboutToHide(); -} diff --git a/qtjava/javalib/org/kde/qt/QPrintDialog.java b/qtjava/javalib/org/kde/qt/QPrintDialog.java deleted file mode 100644 index 3499791e..00000000 --- a/qtjava/javalib/org/kde/qt/QPrintDialog.java +++ /dev/null @@ -1,40 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQPrintDialog extends TQDialog { - protected TQPrintDialog(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQPrintDialog(TQPrinter arg1, TQWidget parent, String name) { - super((Class) null); - newTQPrintDialog(arg1,parent,name); - } - private native void newTQPrintDialog(TQPrinter arg1, TQWidget parent, String name); - public TQPrintDialog(TQPrinter arg1, TQWidget parent) { - super((Class) null); - newTQPrintDialog(arg1,parent); - } - private native void newTQPrintDialog(TQPrinter arg1, TQWidget parent); - public TQPrintDialog(TQPrinter arg1) { - super((Class) null); - newTQPrintDialog(arg1); - } - private native void newTQPrintDialog(TQPrinter arg1); - public native void setPrinter(TQPrinter arg1, boolean arg2); - public native void setPrinter(TQPrinter arg1); - public native TQPrinter printer(); - public native void addButton(TQPushButton but); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - public static native boolean getPrinterSetup(TQPrinter arg1, TQWidget arg2); - public static native boolean getPrinterSetup(TQPrinter arg1); - public static native void setGlobalPrintDialog(TQPrintDialog 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/qtjava/javalib/org/kde/qt/QPrinter.java b/qtjava/javalib/org/kde/qt/QPrinter.java deleted file mode 100644 index 369e9e12..00000000 --- a/qtjava/javalib/org/kde/qt/QPrinter.java +++ /dev/null @@ -1,147 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQPrinter extends TQPaintDevice { - protected TQPrinter(Class dummy){super((Class) null);} - public static final int ScreenResolution = 0; - public static final int PrinterResolution = 1; - public static final int HighResolution = 2; - public static final int Compatible = 3; - - public static final int Portrait = 0; - public static final int Landscape = 1; - - public static final int A4 = 0; - public static final int B5 = 1; - public static final int Letter = 2; - public static final int Legal = 3; - public static final int Executive = 4; - public static final int A0 = 5; - public static final int A1 = 6; - public static final int A2 = 7; - public static final int A3 = 8; - public static final int A5 = 9; - public static final int A6 = 10; - public static final int A7 = 11; - public static final int A8 = 12; - public static final int A9 = 13; - public static final int B0 = 14; - public static final int B1 = 15; - public static final int B10 = 16; - public static final int B2 = 17; - public static final int B3 = 18; - public static final int B4 = 19; - public static final int B6 = 20; - public static final int B7 = 21; - public static final int B8 = 22; - public static final int B9 = 23; - public static final int C5E = 24; - public static final int Comm10E = 25; - public static final int DLE = 26; - public static final int Folio = 27; - public static final int Ledger = 28; - public static final int Tabloid = 29; - public static final int Custom = 30; - public static final int NPageSize = Custom; - - public static final int FirstPageFirst = 0; - public static final int LastPageFirst = 1; - - public static final int GrayScale = 0; - public static final int Color = 1; - - public static final int OnlyOne = 0; - public static final int Lower = 1; - public static final int Middle = 2; - public static final int Manual = 3; - public static final int Envelope = 4; - public static final int EnvelopeManual = 5; - public static final int Auto = 6; - public static final int Tractor = 7; - public static final int SmallFormat = 8; - public static final int LargeFormat = 9; - public static final int LargeCapacity = 10; - public static final int Cassette = 11; - public static final int FormSource = 12; - - public static final int AllPages = 0; - public static final int Selection = 1; - public static final int PageRange = 2; - - public static final int PrintToFile = 0; - public static final int PrintSelection = 1; - public static final int PrintPageRange = 2; - - public TQPrinter(int mode) { - super((Class) null); - newTQPrinter(mode); - } - private native void newTQPrinter(int mode); - public TQPrinter() { - super((Class) null); - newTQPrinter(); - } - private native void newTQPrinter(); - public native String printerName(); - public native void setPrinterName(String arg1); - public native boolean outputToFile(); - public native void setOutputToFile(boolean arg1); - public native String outputFileName(); - public native void setOutputFileName(String arg1); - public native String printProgram(); - public native void setPrintProgram(String arg1); - public native String printerSelectionOption(); - public native void setPrinterSelectionOption(String arg1); - public native String docName(); - public native void setDocName(String arg1); - public native String creator(); - public native void setCreator(String arg1); - public native int orientation(); - public native void setOrientation(int arg1); - public native int pageSize(); - public native void setPageSize(int arg1); - public native void setPageOrder(int arg1); - public native int pageOrder(); - public native void setResolution(int arg1); - public native int resolution(); - public native void setColorMode(int arg1); - public native int colorMode(); - public native void setFullPage(boolean arg1); - public native boolean fullPage(); - public native TQSize margins(); - public native void setMargins(int top, int left, int bottom, int right); - public native void margins(int[] top, int[] left, int[] bottom, int[] right); - public native int fromPage(); - public native int toPage(); - public native void setFromTo(int fromPage, int toPage); - public native int minPage(); - public native int maxPage(); - public native void setMinMax(int minPage, int maxPage); - public native int numCopies(); - public native void setNumCopies(int arg1); - public native boolean collateCopiesEnabled(); - public native void setCollateCopiesEnabled(boolean arg1); - public native boolean collateCopies(); - public native void setCollateCopies(boolean arg1); - public native int printRange(); - public native void setPrintRange(int range); - public native boolean newPage(); - public native boolean abort(); - public native boolean aborted(); - public native boolean setup(TQWidget parent); - public native boolean setup(); - public native int paperSource(); - public native void setPaperSource(int arg1); - public native void setOptionEnabled(int arg1, boolean enable); - public native boolean isOptionEnabled(int arg1); - // bool cmd(int arg1,TQPainter* arg2,TQPDevCmdParam* arg3); >>>> NOT CONVERTED - protected native int metric(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/qtjava/javalib/org/kde/qt/QProcess.java b/qtjava/javalib/org/kde/qt/QProcess.java deleted file mode 100644 index 733d8dca..00000000 --- a/qtjava/javalib/org/kde/qt/QProcess.java +++ /dev/null @@ -1,104 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.ArrayList; - -/** - See {@link TQProcessSignals} for signals emitted by TQProcess -*/ -public class TQProcess extends TQObject { - protected TQProcess(Class dummy){super((Class) null);} - public static final int Stdin = 0x01; - public static final int Stdout = 0x02; - public static final int Stderr = 0x04; - public static final int DupStderr = 0x08; - - public native TQMetaObject metaObject(); - public native String className(); - public TQProcess(TQObject parent, String name) { - super((Class) null); - newTQProcess(parent,name); - } - private native void newTQProcess(TQObject parent, String name); - public TQProcess(TQObject parent) { - super((Class) null); - newTQProcess(parent); - } - private native void newTQProcess(TQObject parent); - public TQProcess() { - super((Class) null); - newTQProcess(); - } - private native void newTQProcess(); - public TQProcess(String arg0, TQObject parent, String name) { - super((Class) null); - newTQProcess(arg0,parent,name); - } - private native void newTQProcess(String arg0, TQObject parent, String name); - public TQProcess(String arg0, TQObject parent) { - super((Class) null); - newTQProcess(arg0,parent); - } - private native void newTQProcess(String arg0, TQObject parent); - public TQProcess(String arg0) { - super((Class) null); - newTQProcess(arg0); - } - private native void newTQProcess(String arg0); - public TQProcess(String[] args, TQObject parent, String name) { - super((Class) null); - newTQProcess(args,parent,name); - } - private native void newTQProcess(String[] args, TQObject parent, String name); - public TQProcess(String[] args, TQObject parent) { - super((Class) null); - newTQProcess(args,parent); - } - private native void newTQProcess(String[] args, TQObject parent); - public TQProcess(String[] args) { - super((Class) null); - newTQProcess(args); - } - private native void newTQProcess(String[] args); - public native ArrayList arguments(); - public native void clearArguments(); - public native void setArguments(String[] args); - public native void addArgument(String arg); - public native TQDir workingDirectory(); - public native void setWorkingDirectory(TQDir dir); - public native void setCommunication(int c); - public native int communication(); - public native boolean start(String[] arg1); - public native boolean start(); - public native boolean launch(String buf, String[] arg2); - public native boolean launch(String buf); - public native boolean launch(byte[] buf, String[] arg2); - public native boolean launch(byte[] buf); - public native boolean isRunning(); - public native boolean normalExit(); - public native int exitStatus(); - public native byte[] readStdout(); - public native byte[] readStderr(); - public native boolean canReadLineStdout(); - public native boolean canReadLineStderr(); - public native String readLineStdout(); - public native String readLineStderr(); - public native long processIdentifier(); - public native void flushStdin(); - public native void tryTerminate(); - public native void kill(); - public native void writeToStdin(byte[] buf); - public native void writeToStdin(String buf); - public native void closeStdin(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void connectNotify(String signal); - protected native void disconnectNotify(String signal); - /** 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/qtjava/javalib/org/kde/qt/QProcessSignals.java b/qtjava/javalib/org/kde/qt/QProcessSignals.java deleted file mode 100644 index 5116864d..00000000 --- a/qtjava/javalib/org/kde/qt/QProcessSignals.java +++ /dev/null @@ -1,12 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import java.util.ArrayList; - -public interface TQProcessSignals { - void readyReadStdout(); - void readyReadStderr(); - void processExited(); - void wroteToStdin(); - void launchFinished(); -} diff --git a/qtjava/javalib/org/kde/qt/QProgressBar.java b/qtjava/javalib/org/kde/qt/QProgressBar.java deleted file mode 100644 index 82cc1325..00000000 --- a/qtjava/javalib/org/kde/qt/QProgressBar.java +++ /dev/null @@ -1,77 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQProgressBar extends TQFrame { - protected TQProgressBar(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQProgressBar(TQWidget parent, String name, int f) { - super((Class) null); - newTQProgressBar(parent,name,f); - } - private native void newTQProgressBar(TQWidget parent, String name, int f); - public TQProgressBar(TQWidget parent, String name) { - super((Class) null); - newTQProgressBar(parent,name); - } - private native void newTQProgressBar(TQWidget parent, String name); - public TQProgressBar(TQWidget parent) { - super((Class) null); - newTQProgressBar(parent); - } - private native void newTQProgressBar(TQWidget parent); - public TQProgressBar() { - super((Class) null); - newTQProgressBar(); - } - private native void newTQProgressBar(); - public TQProgressBar(int totalSteps, TQWidget parent, String name, int f) { - super((Class) null); - newTQProgressBar(totalSteps,parent,name,f); - } - private native void newTQProgressBar(int totalSteps, TQWidget parent, String name, int f); - public TQProgressBar(int totalSteps, TQWidget parent, String name) { - super((Class) null); - newTQProgressBar(totalSteps,parent,name); - } - private native void newTQProgressBar(int totalSteps, TQWidget parent, String name); - public TQProgressBar(int totalSteps, TQWidget parent) { - super((Class) null); - newTQProgressBar(totalSteps,parent); - } - private native void newTQProgressBar(int totalSteps, TQWidget parent); - public TQProgressBar(int totalSteps) { - super((Class) null); - newTQProgressBar(totalSteps); - } - private native void newTQProgressBar(int totalSteps); - public native int totalSteps(); - public native int progress(); - public native String progressString(); - public native TQSize sizeHint(); - public native TQSize minimumSizeHint(); - public native void setCenterIndicator(boolean on); - public native boolean centerIndicator(); - public native void setIndicatorFollowsStyle(boolean arg1); - public native boolean indicatorFollowsStyle(); - public native boolean percentageVisible(); - public native void setPercentageVisible(boolean arg1); - public native void show(); - public native void reset(); - public native void setTotalSteps(int totalSteps); - public native void setProgress(int progress); - public native void setProgress(int progress, int totalSteps); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void drawContents(TQPainter arg1); - protected native boolean setIndicator(StringBuffer progress_str, int progress, int totalSteps); - public native void styleChange(TQStyle 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/qtjava/javalib/org/kde/qt/QProgressDialog.java b/qtjava/javalib/org/kde/qt/QProgressDialog.java deleted file mode 100644 index 7ed0ab0f..00000000 --- a/qtjava/javalib/org/kde/qt/QProgressDialog.java +++ /dev/null @@ -1,98 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQProgressDialogSignals} for signals emitted by TQProgressDialog -*/ -public class TQProgressDialog extends TQDialog { - protected TQProgressDialog(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQProgressDialog(TQWidget parent, String name, boolean modal, int f) { - super((Class) null); - newTQProgressDialog(parent,name,modal,f); - } - private native void newTQProgressDialog(TQWidget parent, String name, boolean modal, int f); - public TQProgressDialog(TQWidget parent, String name, boolean modal) { - super((Class) null); - newTQProgressDialog(parent,name,modal); - } - private native void newTQProgressDialog(TQWidget parent, String name, boolean modal); - public TQProgressDialog(TQWidget parent, String name) { - super((Class) null); - newTQProgressDialog(parent,name); - } - private native void newTQProgressDialog(TQWidget parent, String name); - public TQProgressDialog(TQWidget parent) { - super((Class) null); - newTQProgressDialog(parent); - } - private native void newTQProgressDialog(TQWidget parent); - public TQProgressDialog() { - super((Class) null); - newTQProgressDialog(); - } - private native void newTQProgressDialog(); - public TQProgressDialog(String labelText, String cancelButtonText, int totalSteps, TQWidget parent, String name, boolean modal, int f) { - super((Class) null); - newTQProgressDialog(labelText,cancelButtonText,totalSteps,parent,name,modal,f); - } - private native void newTQProgressDialog(String labelText, String cancelButtonText, int totalSteps, TQWidget parent, String name, boolean modal, int f); - public TQProgressDialog(String labelText, String cancelButtonText, int totalSteps, TQWidget parent, String name, boolean modal) { - super((Class) null); - newTQProgressDialog(labelText,cancelButtonText,totalSteps,parent,name,modal); - } - private native void newTQProgressDialog(String labelText, String cancelButtonText, int totalSteps, TQWidget parent, String name, boolean modal); - public TQProgressDialog(String labelText, String cancelButtonText, int totalSteps, TQWidget parent, String name) { - super((Class) null); - newTQProgressDialog(labelText,cancelButtonText,totalSteps,parent,name); - } - private native void newTQProgressDialog(String labelText, String cancelButtonText, int totalSteps, TQWidget parent, String name); - public TQProgressDialog(String labelText, String cancelButtonText, int totalSteps, TQWidget parent) { - super((Class) null); - newTQProgressDialog(labelText,cancelButtonText,totalSteps,parent); - } - private native void newTQProgressDialog(String labelText, String cancelButtonText, int totalSteps, TQWidget parent); - public TQProgressDialog(String labelText, String cancelButtonText, int totalSteps) { - super((Class) null); - newTQProgressDialog(labelText,cancelButtonText,totalSteps); - } - private native void newTQProgressDialog(String labelText, String cancelButtonText, int totalSteps); - public native void setLabel(TQLabel arg1); - public native void setCancelButton(TQPushButton arg1); - public native void setBar(TQProgressBar arg1); - public native boolean wasCancelled(); - public native boolean wasCanceled(); - public native int totalSteps(); - public native int progress(); - public native TQSize sizeHint(); - public native String labelText(); - public native void setAutoReset(boolean b); - public native boolean autoReset(); - public native void setAutoClose(boolean b); - public native boolean autoClose(); - public native int minimumDuration(); - public native void cancel(); - public native void reset(); - public native void setTotalSteps(int totalSteps); - public native void setProgress(int progress); - public native void setProgress(int progress, int totalSteps); - public native void setLabelText(String arg1); - public native void setCancelButtonText(String arg1); - public native void setMinimumDuration(int ms); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void resizeEvent(TQResizeEvent arg1); - protected native void closeEvent(TQCloseEvent arg1); - public native void styleChange(TQStyle arg1); - public native void showEvent(TQShowEvent e); - protected native void forceShow(); - /** 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/qtjava/javalib/org/kde/qt/QProgressDialogSignals.java b/qtjava/javalib/org/kde/qt/QProgressDialogSignals.java deleted file mode 100644 index 848f3bcb..00000000 --- a/qtjava/javalib/org/kde/qt/QProgressDialogSignals.java +++ /dev/null @@ -1,8 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQProgressDialogSignals { - void cancelled(); - void canceled(); -} diff --git a/qtjava/javalib/org/kde/qt/QPushButton.java b/qtjava/javalib/org/kde/qt/QPushButton.java deleted file mode 100644 index a9844e7f..00000000 --- a/qtjava/javalib/org/kde/qt/QPushButton.java +++ /dev/null @@ -1,75 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQPushButton extends TQButton { - protected TQPushButton(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQPushButton(TQWidget parent, String name) { - super((Class) null); - newTQPushButton(parent,name); - } - private native void newTQPushButton(TQWidget parent, String name); - public TQPushButton(TQWidget parent) { - super((Class) null); - newTQPushButton(parent); - } - private native void newTQPushButton(TQWidget parent); - public TQPushButton(String text, TQWidget parent, String name) { - super((Class) null); - newTQPushButton(text,parent,name); - } - private native void newTQPushButton(String text, TQWidget parent, String name); - public TQPushButton(String text, TQWidget parent) { - super((Class) null); - newTQPushButton(text,parent); - } - private native void newTQPushButton(String text, TQWidget parent); - public TQPushButton(TQIconSet icon, String text, TQWidget parent, String name) { - super((Class) null); - newTQPushButton(icon,text,parent,name); - } - private native void newTQPushButton(TQIconSet icon, String text, TQWidget parent, String name); - public TQPushButton(TQIconSet icon, String text, TQWidget parent) { - super((Class) null); - newTQPushButton(icon,text,parent); - } - private native void newTQPushButton(TQIconSet icon, String text, TQWidget parent); - public native TQSize sizeHint(); - public native void move(int x, int y); - public native void move(TQPoint p); - public native void resize(int w, int h); - public native void resize(TQSize arg1); - public native void setGeometry(int x, int y, int w, int h); - public native void setGeometry(TQRect arg1); - public native void setToggleButton(boolean arg1); - public native boolean autoDefault(); - public native void setAutoDefault(boolean autoDef); - public native boolean isDefault(); - public native void setDefault(boolean def); - public native void setIsMenuButton(boolean enable); - public native boolean isMenuButton(); - public native void setPopup(TQPopupMenu popup); - public native TQPopupMenu popup(); - public native void setIconSet(TQIconSet arg1); - public native TQIconSet iconSet(); - public native void setFlat(boolean arg1); - public native boolean isFlat(); - public native void setOn(boolean arg1); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void drawButton(TQPainter arg1); - protected native void drawButtonLabel(TQPainter arg1); - protected native void focusInEvent(TQFocusEvent arg1); - protected native void focusOutEvent(TQFocusEvent arg1); - protected native void resizeEvent(TQResizeEvent arg1); - protected native void updateMask(); - /** 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/qtjava/javalib/org/kde/qt/QRadioButton.java b/qtjava/javalib/org/kde/qt/QRadioButton.java deleted file mode 100644 index 62c2b03a..00000000 --- a/qtjava/javalib/org/kde/qt/QRadioButton.java +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQRadioButton extends TQButton { - protected TQRadioButton(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQRadioButton(TQWidget parent, String name) { - super((Class) null); - newTQRadioButton(parent,name); - } - private native void newTQRadioButton(TQWidget parent, String name); - public TQRadioButton(TQWidget parent) { - super((Class) null); - newTQRadioButton(parent); - } - private native void newTQRadioButton(TQWidget parent); - public TQRadioButton(String text, TQWidget parent, String name) { - super((Class) null); - newTQRadioButton(text,parent,name); - } - private native void newTQRadioButton(String text, TQWidget parent, String name); - public TQRadioButton(String text, TQWidget parent) { - super((Class) null); - newTQRadioButton(text,parent); - } - private native void newTQRadioButton(String text, TQWidget parent); - public native boolean isChecked(); - public native TQSize sizeHint(); - public native void setChecked(boolean check); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native boolean hitButton(TQPoint arg1); - protected native void drawButton(TQPainter arg1); - protected native void drawButtonLabel(TQPainter arg1); - protected native void updateMask(); - protected native void resizeEvent(TQResizeEvent 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/qtjava/javalib/org/kde/qt/QRangeControl.java b/qtjava/javalib/org/kde/qt/QRangeControl.java deleted file mode 100644 index ea0429d0..00000000 --- a/qtjava/javalib/org/kde/qt/QRangeControl.java +++ /dev/null @@ -1,47 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQRangeControl implements QtSupport, TQRangeControlInterface { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQRangeControl(Class dummy){} - - public TQRangeControl() { - newTQRangeControl(); - } - private native void newTQRangeControl(); - public TQRangeControl(int minValue, int maxValue, int lineStep, int pageStep, int value) { - newTQRangeControl(minValue,maxValue,lineStep,pageStep,value); - } - private native void newTQRangeControl(int minValue, int maxValue, int lineStep, int pageStep, int value); - public native int value(); - public native void setValue(int arg1); - public native void addPage(); - public native void subtractPage(); - public native void addLine(); - public native void subtractLine(); - public native int minValue(); - public native int maxValue(); - public native void setRange(int minValue, int maxValue); - public native void setMinValue(int minVal); - public native void setMaxValue(int minVal); - public native int lineStep(); - public native int pageStep(); - public native void setSteps(int line, int page); - public native int bound(int arg1); - protected native int positionFromValue(int val, int space); - protected native int valueFromPosition(int pos, int space); - protected native void directSetValue(int val); - protected native int prevValue(); - protected native void valueChange(); - protected native void rangeChange(); - protected native void stepChange(); - /** 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/qtjava/javalib/org/kde/qt/QRangeControlInterface.java b/qtjava/javalib/org/kde/qt/QRangeControlInterface.java deleted file mode 100644 index 134b61d7..00000000 --- a/qtjava/javalib/org/kde/qt/QRangeControlInterface.java +++ /dev/null @@ -1,21 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQRangeControlInterface { - int value(); - void setValue(int arg1); - void addPage(); - void subtractPage(); - void addLine(); - void subtractLine(); - int minValue(); - int maxValue(); - void setRange(int minValue, int maxValue); - void setMinValue(int minVal); - void setMaxValue(int minVal); - int lineStep(); - int pageStep(); - void setSteps(int line, int page); - int bound(int arg1); -} diff --git a/qtjava/javalib/org/kde/qt/QRect.java b/qtjava/javalib/org/kde/qt/QRect.java deleted file mode 100644 index 1db02d29..00000000 --- a/qtjava/javalib/org/kde/qt/QRect.java +++ /dev/null @@ -1,96 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQRect implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQRect(Class dummy){} - - public TQRect() { - newTQRect(); - } - private native void newTQRect(); - public TQRect(TQPoint topleft, TQPoint bottomright) { - newTQRect(topleft,bottomright); - } - private native void newTQRect(TQPoint topleft, TQPoint bottomright); - public TQRect(TQPoint topleft, TQSize size) { - newTQRect(topleft,size); - } - private native void newTQRect(TQPoint topleft, TQSize size); - public TQRect(int left, int top, int width, int height) { - newTQRect(left,top,width,height); - } - private native void newTQRect(int left, int top, int width, int height); - public native boolean isNull(); - public native boolean isEmpty(); - public native boolean isValid(); - public native TQRect normalize(); - public native int left(); - public native int top(); - public native int right(); - public native int bottom(); - public native short rLeft(); - public native short rTop(); - public native short rRight(); - public native short rBottom(); - public native int x(); - public native int y(); - public native void setLeft(int pos); - public native void setTop(int pos); - public native void setRight(int pos); - public native void setBottom(int pos); - public native void setX(int x); - public native void setY(int y); - public native void setTopLeft(TQPoint p); - public native void setBottomRight(TQPoint p); - public native void setTopRight(TQPoint p); - public native void setBottomLeft(TQPoint p); - public native TQPoint topLeft(); - public native TQPoint bottomRight(); - public native TQPoint topRight(); - public native TQPoint bottomLeft(); - public native TQPoint center(); - public native void rect(int[] x, int[] y, int[] w, int[] h); - public native void coords(int[] x1, int[] y1, int[] x2, int[] y2); - public native void moveLeft(int pos); - public native void moveTop(int pos); - public native void moveRight(int pos); - public native void moveBottom(int pos); - public native void moveTopLeft(TQPoint p); - public native void moveBottomRight(TQPoint p); - public native void moveTopRight(TQPoint p); - public native void moveBottomLeft(TQPoint p); - public native void moveCenter(TQPoint p); - public native void moveBy(int dx, int dy); - public native void setRect(int x, int y, int w, int h); - public native void setCoords(int x1, int y1, int x2, int y2); - public native void addCoords(int x1, int y1, int x2, int y2); - public native TQSize size(); - public native int width(); - public native int height(); - public native void setWidth(int w); - public native void setHeight(int h); - public native void setSize(TQSize s); - public native TQRect op_or(TQRect r); - public native TQRect op_and(TQRect r); - public native TQRect op_or_assign(TQRect r); - public native TQRect op_and_assign(TQRect r); - public native boolean contains(TQPoint p, boolean proper); - public native boolean contains(TQPoint p); - public native boolean contains(int x, int y); - public native boolean contains(int x, int y, boolean proper); - public native boolean contains(TQRect r, boolean proper); - public native boolean contains(TQRect r); - public native TQRect unite(TQRect r); - public native TQRect intersect(TQRect r); - public native boolean intersects(TQRect r); - /** 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/qtjava/javalib/org/kde/qt/QRegExp.java b/qtjava/javalib/org/kde/qt/QRegExp.java deleted file mode 100644 index c12bc3d7..00000000 --- a/qtjava/javalib/org/kde/qt/QRegExp.java +++ /dev/null @@ -1,74 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.ArrayList; - -public class TQRegExp implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQRegExp(Class dummy){} - - public static final int CaretAtZero = 0; - public static final int CaretAtOffset = 1; - public static final int CaretWontMatch = 2; - - public TQRegExp() { - newTQRegExp(); - } - private native void newTQRegExp(); - public TQRegExp(String pattern, boolean caseSensitive, boolean wildcard) { - newTQRegExp(pattern,caseSensitive,wildcard); - } - private native void newTQRegExp(String pattern, boolean caseSensitive, boolean wildcard); - public TQRegExp(String pattern, boolean caseSensitive) { - newTQRegExp(pattern,caseSensitive); - } - private native void newTQRegExp(String pattern, boolean caseSensitive); - public TQRegExp(String pattern) { - newTQRegExp(pattern); - } - private native void newTQRegExp(String pattern); - public TQRegExp(TQRegExp rx) { - newTQRegExp(rx); - } - private native void newTQRegExp(TQRegExp rx); - public native boolean op_equals(TQRegExp rx); - public native boolean op_not_equals(TQRegExp rx); - public native boolean isEmpty(); - public native boolean isValid(); - public native String pattern(); - public native void setPattern(String pattern); - public native boolean caseSensitive(); - public native void setCaseSensitive(boolean sensitive); - public native boolean wildcard(); - public native void setWildcard(boolean wildcard); - public native boolean minimal(); - public native void setMinimal(boolean minimal); - public native boolean exactMatch(String str); - public native int match(String str, int index, int[] len, boolean indexIsStart); - public native int match(String str, int index, int[] len); - public native int match(String str, int index); - public native int match(String str); - public native int search(String str, int offset, int caretMode); - public native int search(String str, int offset); - public native int search(String str); - public native int searchRev(String str, int offset, int caretMode); - public native int searchRev(String str, int offset); - public native int searchRev(String str); - public native int matchedLength(); - public native int numCaptures(); - public native ArrayList capturedTexts(); - public native String cap(int nth); - public native String cap(); - public native int pos(int nth); - public native int pos(); - public native String errorString(); - public static native String escape(String str); - /** 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/qtjava/javalib/org/kde/qt/QRegExpValidator.java b/qtjava/javalib/org/kde/qt/QRegExpValidator.java deleted file mode 100644 index aebbd7b3..00000000 --- a/qtjava/javalib/org/kde/qt/QRegExpValidator.java +++ /dev/null @@ -1,41 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQRegExpValidator extends TQValidator { - protected TQRegExpValidator(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQRegExpValidator(TQObject parent, String name) { - super((Class) null); - newTQRegExpValidator(parent,name); - } - private native void newTQRegExpValidator(TQObject parent, String name); - public TQRegExpValidator(TQObject parent) { - super((Class) null); - newTQRegExpValidator(parent); - } - private native void newTQRegExpValidator(TQObject parent); - public TQRegExpValidator(TQRegExp rx, TQObject parent, String name) { - super((Class) null); - newTQRegExpValidator(rx,parent,name); - } - private native void newTQRegExpValidator(TQRegExp rx, TQObject parent, String name); - public TQRegExpValidator(TQRegExp rx, TQObject parent) { - super((Class) null); - newTQRegExpValidator(rx,parent); - } - private native void newTQRegExpValidator(TQRegExp rx, TQObject parent); - public native int validate(StringBuffer input, int[] pos); - public native void setRegExp(TQRegExp rx); - public native TQRegExp regExp(); - public static native String tr(String arg1, String arg2); - public static native String tr(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/qtjava/javalib/org/kde/qt/QRegion.java b/qtjava/javalib/org/kde/qt/QRegion.java deleted file mode 100644 index 2e9acd5d..00000000 --- a/qtjava/javalib/org/kde/qt/QRegion.java +++ /dev/null @@ -1,81 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.ArrayList; - -public class TQRegion implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQRegion(Class dummy){} - - public static final int Rectangle = 0; - public static final int Ellipse = 1; - - public TQRegion() { - newTQRegion(); - } - private native void newTQRegion(); - public TQRegion(int x, int y, int w, int h, int arg5) { - newTQRegion(x,y,w,h,arg5); - } - private native void newTQRegion(int x, int y, int w, int h, int arg5); - public TQRegion(int x, int y, int w, int h) { - newTQRegion(x,y,w,h); - } - private native void newTQRegion(int x, int y, int w, int h); - public TQRegion(TQRect arg1, int arg2) { - newTQRegion(arg1,arg2); - } - private native void newTQRegion(TQRect arg1, int arg2); - public TQRegion(TQRect arg1) { - newTQRegion(arg1); - } - private native void newTQRegion(TQRect arg1); - public TQRegion(TQPointArray arg1, boolean winding) { - newTQRegion(arg1,winding); - } - private native void newTQRegion(TQPointArray arg1, boolean winding); - public TQRegion(TQPointArray arg1) { - newTQRegion(arg1); - } - private native void newTQRegion(TQPointArray arg1); - public TQRegion(TQRegion arg1) { - newTQRegion(arg1); - } - private native void newTQRegion(TQRegion arg1); - public TQRegion(TQBitmap arg1) { - newTQRegion(arg1); - } - private native void newTQRegion(TQBitmap arg1); - public native boolean isNull(); - public native boolean isEmpty(); - public native boolean contains(TQPoint p); - public native boolean contains(TQRect r); - public native void translate(int dx, int dy); - public native TQRegion unite(TQRegion arg1); - public native TQRegion intersect(TQRegion arg1); - public native TQRegion subtract(TQRegion arg1); - public native TQRegion eor(TQRegion arg1); - public native TQRect boundingRect(); - public native ArrayList rects(); - public native void setRects(TQRect arg1, int arg2); - public native TQRegion op_or(TQRegion arg1); - public native TQRegion op_plus(TQRegion arg1); - public native TQRegion op_and(TQRegion arg1); - public native TQRegion op_minus(TQRegion arg1); - public native TQRegion op_xor(TQRegion arg1); - public native TQRegion op_or_assign(TQRegion arg1); - public native TQRegion op_plus_assign(TQRegion arg1); - public native TQRegion op_and_assign(TQRegion arg1); - public native TQRegion op_minus_assign(TQRegion arg1); - public native TQRegion op_xor_assign(TQRegion arg1); - public native boolean op_equals(TQRegion arg1); - public native boolean op_not_equals(TQRegion r); - /** 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/qtjava/javalib/org/kde/qt/QResizeEvent.java b/qtjava/javalib/org/kde/qt/QResizeEvent.java deleted file mode 100644 index ea0d68d8..00000000 --- a/qtjava/javalib/org/kde/qt/QResizeEvent.java +++ /dev/null @@ -1,21 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQResizeEvent extends TQEvent { - protected TQResizeEvent(Class dummy){super((Class) null);} - public TQResizeEvent(TQSize size, TQSize oldSize) { - super((Class) null); - newTQResizeEvent(size,oldSize); - } - private native void newTQResizeEvent(TQSize size, TQSize oldSize); - public native TQSize size(); - public native TQSize oldSize(); - /** 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/qtjava/javalib/org/kde/qt/QScrollBar.java b/qtjava/javalib/org/kde/qt/QScrollBar.java deleted file mode 100644 index b9d57162..00000000 --- a/qtjava/javalib/org/kde/qt/QScrollBar.java +++ /dev/null @@ -1,97 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQScrollBarSignals} for signals emitted by TQScrollBar -*/ -public class TQScrollBar extends TQWidget implements TQRangeControlInterface { - protected TQScrollBar(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQScrollBar(TQWidget parent, String name) { - super((Class) null); - newTQScrollBar(parent,name); - } - private native void newTQScrollBar(TQWidget parent, String name); - public TQScrollBar(TQWidget parent) { - super((Class) null); - newTQScrollBar(parent); - } - private native void newTQScrollBar(TQWidget parent); - public TQScrollBar(int arg1, TQWidget parent, String name) { - super((Class) null); - newTQScrollBar(arg1,parent,name); - } - private native void newTQScrollBar(int arg1, TQWidget parent, String name); - public TQScrollBar(int arg1, TQWidget parent) { - super((Class) null); - newTQScrollBar(arg1,parent); - } - private native void newTQScrollBar(int arg1, TQWidget parent); - public TQScrollBar(int minValue, int maxValue, int lineStep, int pageStep, int value, int arg6, TQWidget parent, String name) { - super((Class) null); - newTQScrollBar(minValue,maxValue,lineStep,pageStep,value,arg6,parent,name); - } - private native void newTQScrollBar(int minValue, int maxValue, int lineStep, int pageStep, int value, int arg6, TQWidget parent, String name); - public TQScrollBar(int minValue, int maxValue, int lineStep, int pageStep, int value, int arg6, TQWidget parent) { - super((Class) null); - newTQScrollBar(minValue,maxValue,lineStep,pageStep,value,arg6,parent); - } - private native void newTQScrollBar(int minValue, int maxValue, int lineStep, int pageStep, int value, int arg6, TQWidget parent); - public native void setOrientation(int arg1); - public native int orientation(); - public native void setTracking(boolean enable); - public native boolean tracking(); - public native boolean draggingSlider(); - public native void setPalette(TQPalette arg1); - public native TQSize sizeHint(); - public native void setSizePolicy(TQSizePolicy sp); - public native void setSizePolicy(int hor, int ver, boolean hfw); - public native void setSizePolicy(int hor, int ver); - public native int minValue(); - public native int maxValue(); - public native void setMinValue(int arg1); - public native void setMaxValue(int arg1); - public native int lineStep(); - public native int pageStep(); - public native void setLineStep(int arg1); - public native void setPageStep(int arg1); - public native int value(); - public native int sliderStart(); - public native TQRect sliderRect(); - public native void setValue(int arg1); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void wheelEvent(TQWheelEvent arg1); - protected native void keyPressEvent(TQKeyEvent arg1); - protected native void resizeEvent(TQResizeEvent arg1); - 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 contextMenuEvent(TQContextMenuEvent arg1); - protected native void hideEvent(TQHideEvent arg1); - protected native void valueChange(); - protected native void stepChange(); - protected native void rangeChange(); - public native void styleChange(TQStyle 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(); - public native void addPage(); - public native void subtractPage(); - public native void addLine(); - public native void subtractLine(); - public native void setRange(int minValue, int maxValue); - public native void setSteps(int line, int page); - public native int bound(int arg1); - protected native int positionFromValue(int val, int space); - protected native int valueFromPosition(int pos, int space); - protected native void directSetValue(int val); - protected native int prevValue(); -} diff --git a/qtjava/javalib/org/kde/qt/QScrollBarSignals.java b/qtjava/javalib/org/kde/qt/QScrollBarSignals.java deleted file mode 100644 index 9c0590e9..00000000 --- a/qtjava/javalib/org/kde/qt/QScrollBarSignals.java +++ /dev/null @@ -1,14 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQScrollBarSignals { - void valueChanged(int value); - void sliderPressed(); - void sliderMoved(int value); - void sliderReleased(); - void nextLine(); - void prevLine(); - void nextPage(); - void prevPage(); -} diff --git a/qtjava/javalib/org/kde/qt/QScrollView.java b/qtjava/javalib/org/kde/qt/QScrollView.java deleted file mode 100644 index 6df025a3..00000000 --- a/qtjava/javalib/org/kde/qt/QScrollView.java +++ /dev/null @@ -1,160 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQScrollViewSignals} for signals emitted by TQScrollView -*/ -public class TQScrollView extends TQFrame { - protected TQScrollView(Class dummy){super((Class) null);} - public static final int Default = 0; - public static final int Manual = 1; - public static final int AutoOne = 2; - public static final int AutoOneFit = 3; - - public static final int Auto = 0; - public static final int AlwaysOff = 1; - public static final int AlwaysOn = 2; - - public native TQMetaObject metaObject(); - public native String className(); - public TQScrollView(TQWidget parent, String name, int f) { - super((Class) null); - newTQScrollView(parent,name,f); - } - private native void newTQScrollView(TQWidget parent, String name, int f); - public TQScrollView(TQWidget parent, String name) { - super((Class) null); - newTQScrollView(parent,name); - } - private native void newTQScrollView(TQWidget parent, String name); - public TQScrollView(TQWidget parent) { - super((Class) null); - newTQScrollView(parent); - } - private native void newTQScrollView(TQWidget parent); - public TQScrollView() { - super((Class) null); - newTQScrollView(); - } - private native void newTQScrollView(); - public native void setResizePolicy(int arg1); - public native int resizePolicy(); - public native void styleChange(TQStyle arg1); - public native void removeChild(TQWidget child); - public native void addChild(TQWidget child, int x, int y); - public native void addChild(TQWidget child, int x); - public native void addChild(TQWidget child); - public native void moveChild(TQWidget child, int x, int y); - public native int childX(TQWidget child); - public native int childY(TQWidget child); - public native boolean childIsVisible(TQWidget child); - public native void showChild(TQWidget child, boolean yes); - public native void showChild(TQWidget child); - public native int vScrollBarMode(); - public native void setVScrollBarMode(int arg1); - public native int hScrollBarMode(); - public native void setHScrollBarMode(int arg1); - public native TQWidget cornerWidget(); - public native void setCornerWidget(TQWidget arg1); - public native TQScrollBar horizontalScrollBar(); - public native TQScrollBar verticalScrollBar(); - public native TQWidget viewport(); - public native TQWidget clipper(); - public native int visibleWidth(); - public native int visibleHeight(); - public native int contentsWidth(); - public native int contentsHeight(); - public native int contentsX(); - public native int contentsY(); - public native void resize(int w, int h); - public native void resize(TQSize arg1); - public native void show(); - public native void updateContents(int x, int y, int w, int h); - public native void updateContents(TQRect r); - public native void updateContents(); - public native void repaintContents(int x, int y, int w, int h, boolean erase); - public native void repaintContents(int x, int y, int w, int h); - public native void repaintContents(TQRect r, boolean erase); - public native void repaintContents(TQRect r); - public native void repaintContents(boolean erase); - public native void repaintContents(); - public native void contentsToViewport(int x, int y, int[] vx, int[] vy); - public native void viewportToContents(int vx, int vy, int[] x, int[] y); - public native TQPoint contentsToViewport(TQPoint arg1); - public native TQPoint viewportToContents(TQPoint arg1); - public native void enableClipper(boolean y); - public native void setStaticBackground(boolean y); - public native boolean hasStaticBackground(); - public native TQSize viewportSize(int arg1, int arg2); - public native TQSize sizeHint(); - public native TQSize minimumSizeHint(); - public native void removeChild(TQObject child); - public native boolean isHorizontalSliderPressed(); - public native boolean isVerticalSliderPressed(); - public native void setDragAutoScroll(boolean b); - public native boolean dragAutoScroll(); - public native void disableSizeHintCaching(); - public native void resizeContents(int w, int h); - public native void scrollBy(int dx, int dy); - public native void setContentsPos(int x, int y); - public native void ensureVisible(int x, int y); - public native void ensureVisible(int x, int y, int xmargin, int ymargin); - public native void center(int x, int y); - public native void center(int x, int y, float xmargin, float ymargin); - public native void updateScrollBars(); - public native void setEnabled(boolean enable); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void drawContents(TQPainter arg1, int cx, int cy, int cw, int ch); - protected native void drawContentsOffset(TQPainter arg1, int ox, int oy, int cx, int cy, int cw, int ch); - protected native void contentsMousePressEvent(TQMouseEvent arg1); - protected native void contentsMouseReleaseEvent(TQMouseEvent arg1); - protected native void contentsMouseDoubleClickEvent(TQMouseEvent arg1); - protected native void contentsMouseMoveEvent(TQMouseEvent arg1); - protected native void contentsDragEnterEvent(TQDragEnterEvent arg1); - protected native void contentsDragMoveEvent(TQDragMoveEvent arg1); - protected native void contentsDragLeaveEvent(TQDragLeaveEvent arg1); - protected native void contentsDropEvent(TQDropEvent arg1); - protected native void contentsWheelEvent(TQWheelEvent arg1); - protected native void contentsContextMenuEvent(TQContextMenuEvent arg1); - protected native void viewportPaintEvent(TQPaintEvent arg1); - protected native void viewportResizeEvent(TQResizeEvent arg1); - protected native void viewportMousePressEvent(TQMouseEvent arg1); - protected native void viewportMouseReleaseEvent(TQMouseEvent arg1); - protected native void viewportMouseDoubleClickEvent(TQMouseEvent arg1); - protected native void viewportMouseMoveEvent(TQMouseEvent arg1); - protected native void viewportDragEnterEvent(TQDragEnterEvent arg1); - protected native void viewportDragMoveEvent(TQDragMoveEvent arg1); - protected native void viewportDragLeaveEvent(TQDragLeaveEvent arg1); - protected native void viewportDropEvent(TQDropEvent arg1); - protected native void viewportWheelEvent(TQWheelEvent arg1); - protected native void viewportContextMenuEvent(TQContextMenuEvent arg1); - protected native void frameChanged(); - protected native void setMargins(int left, int top, int right, int bottom); - protected native int leftMargin(); - protected native int topMargin(); - protected native int rightMargin(); - protected native int bottomMargin(); - protected native boolean focusNextPrevChild(boolean next); - protected native void setHBarGeometry(TQScrollBar hbar, int x, int y, int w, int h); - protected native void setVBarGeometry(TQScrollBar vbar, int x, int y, int w, int h); - protected native void resizeEvent(TQResizeEvent arg1); - protected native void mousePressEvent(TQMouseEvent arg1); - protected native void mouseReleaseEvent(TQMouseEvent arg1); - protected native void mouseDoubleClickEvent(TQMouseEvent arg1); - protected native void mouseMoveEvent(TQMouseEvent arg1); - protected native void wheelEvent(TQWheelEvent arg1); - protected native void contextMenuEvent(TQContextMenuEvent arg1); - public native boolean eventFilter(TQObject arg1, TQEvent e); - protected native void setCachedSizeHint(TQSize sh); - protected native TQSize cachedSizeHint(); - protected native void fontChange(TQFont 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/qtjava/javalib/org/kde/qt/QScrollViewSignals.java b/qtjava/javalib/org/kde/qt/QScrollViewSignals.java deleted file mode 100644 index b2d47400..00000000 --- a/qtjava/javalib/org/kde/qt/QScrollViewSignals.java +++ /dev/null @@ -1,11 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQScrollViewSignals { - void contentsMoving(int x, int y); - void horizontalSliderPressed(); - void horizontalSliderReleased(); - void verticalSliderPressed(); - void verticalSliderReleased(); -} diff --git a/qtjava/javalib/org/kde/qt/QSemiModal.java b/qtjava/javalib/org/kde/qt/QSemiModal.java deleted file mode 100644 index c915f851..00000000 --- a/qtjava/javalib/org/kde/qt/QSemiModal.java +++ /dev/null @@ -1,43 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQSemiModal extends TQDialog { - protected TQSemiModal(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQSemiModal(TQWidget parent, String name, boolean modal, int f) { - super((Class) null); - newTQSemiModal(parent,name,modal,f); - } - private native void newTQSemiModal(TQWidget parent, String name, boolean modal, int f); - public TQSemiModal(TQWidget parent, String name, boolean modal) { - super((Class) null); - newTQSemiModal(parent,name,modal); - } - private native void newTQSemiModal(TQWidget parent, String name, boolean modal); - public TQSemiModal(TQWidget parent, String name) { - super((Class) null); - newTQSemiModal(parent,name); - } - private native void newTQSemiModal(TQWidget parent, String name); - public TQSemiModal(TQWidget parent) { - super((Class) null); - newTQSemiModal(parent); - } - private native void newTQSemiModal(TQWidget parent); - public TQSemiModal() { - super((Class) null); - newTQSemiModal(); - } - private native void newTQSemiModal(); - public static native String tr(String arg1, String arg2); - public static native String tr(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/qtjava/javalib/org/kde/qt/QServerSocket.java b/qtjava/javalib/org/kde/qt/QServerSocket.java deleted file mode 100644 index 6e8c961f..00000000 --- a/qtjava/javalib/org/kde/qt/QServerSocket.java +++ /dev/null @@ -1,18 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQServerSocket extends TQObject { - protected TQServerSocket(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public native boolean ok(); - public native short port(); - public native int socket(); - public native void setSocket(int socket); - public native TQHostAddress address(); - public native void newConnection(int socket); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); -} diff --git a/qtjava/javalib/org/kde/qt/QSessionManager.java b/qtjava/javalib/org/kde/qt/QSessionManager.java deleted file mode 100644 index e25d6a7f..00000000 --- a/qtjava/javalib/org/kde/qt/QSessionManager.java +++ /dev/null @@ -1,34 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.ArrayList; - -public class TQSessionManager extends TQObject { - protected TQSessionManager(Class dummy){super((Class) null);} - public static final int RestartIfRunning = 0; - public static final int RestartAnyway = 1; - public static final int RestartImmediately = 2; - public static final int RestartNever = 3; - - public native TQMetaObject metaObject(); - public native String className(); - public native String sessionId(); - public native String sessionKey(); - public native boolean allowsInteraction(); - public native boolean allowsErrorInteraction(); - public native void release(); - public native void cancel(); - public native void setRestartHint(int arg1); - public native int restartHint(); - public native void setRestartCommand(String[] arg1); - public native ArrayList restartCommand(); - public native void setDiscardCommand(String[] arg1); - public native ArrayList discardCommand(); - public native void setManagerProperty(String name, String value); - public native void setManagerProperty(String name, String[] value); - public native boolean isPhase2(); - public native void requestPhase2(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); -} diff --git a/qtjava/javalib/org/kde/qt/QSettings.java b/qtjava/javalib/org/kde/qt/QSettings.java deleted file mode 100644 index 68570c3c..00000000 --- a/qtjava/javalib/org/kde/qt/QSettings.java +++ /dev/null @@ -1,70 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.ArrayList; - -public class TQSettings implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQSettings(Class dummy){} - - public static final int Native = 0; - public static final int Ini = 1; - - public static final int Unix = 0; - public static final int Windows = 1; - public static final int Mac = 2; - - public static final int User = 0; - public static final int Global = 1; - - public TQSettings() { - newTQSettings(); - } - private native void newTQSettings(); - public TQSettings(int format) { - newTQSettings(format); - } - private native void newTQSettings(int format); - public native boolean writeEntry(String arg1, boolean arg2); - public native boolean writeEntry(String arg1, double arg2); - public native boolean writeEntry(String arg1, int arg2); - public native boolean writeEntry(String arg1, String arg2); - public native boolean writeEntry(String arg1, String[] arg2); - public native boolean writeEntry(String arg1, String[] arg2, char sep); - public native ArrayList entryList(String arg1); - public native ArrayList subkeyList(String arg1); - public native ArrayList readListEntry(String arg1, boolean[] arg2); - public native ArrayList readListEntry(String arg1); - public native ArrayList readListEntry(String arg1, char sep, boolean[] arg3); - public native ArrayList readListEntry(String arg1, char sep); - public native String readEntry(String arg1, String def, boolean[] arg3); - public native String readEntry(String arg1, String def); - public native String readEntry(String arg1); - public native int readNumEntry(String arg1, int def, boolean[] arg3); - public native int readNumEntry(String arg1, int def); - public native int readNumEntry(String arg1); - public native double readDoubleEntry(String arg1, double def, boolean[] arg3); - public native double readDoubleEntry(String arg1, double def); - public native double readDoubleEntry(String arg1); - public native boolean readBoolEntry(String arg1, boolean def, boolean[] arg3); - public native boolean readBoolEntry(String arg1, boolean def); - public native boolean readBoolEntry(String arg1); - public native boolean removeEntry(String arg1); - public native void insertSearchPath(int arg1, String arg2); - public native void removeSearchPath(int arg1, String arg2); - public native void setPath(String domain, String product, int arg3); - public native void setPath(String domain, String product); - public native void beginGroup(String group); - public native void endGroup(); - public native void resetGroup(); - public native String group(); - public native boolean sync(); - /** 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/qtjava/javalib/org/kde/qt/QShowEvent.java b/qtjava/javalib/org/kde/qt/QShowEvent.java deleted file mode 100644 index 6c991ed3..00000000 --- a/qtjava/javalib/org/kde/qt/QShowEvent.java +++ /dev/null @@ -1,19 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQShowEvent extends TQEvent { - protected TQShowEvent(Class dummy){super((Class) null);} - public TQShowEvent() { - super((Class) null); - newTQShowEvent(); - } - private native void newTQShowEvent(); - /** 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/qtjava/javalib/org/kde/qt/QSignal.java b/qtjava/javalib/org/kde/qt/QSignal.java deleted file mode 100644 index add257f0..00000000 --- a/qtjava/javalib/org/kde/qt/QSignal.java +++ /dev/null @@ -1,83 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** -************************************************* - $Id$ - -* Definition of TQSignal class - -* Created : 941201 - -* Copyright (C) 1992-2005 Trolltech AS. All rights reserved. - -* This file is part of the kernel module of the Qt GUI Toolkit. - -* This file may be distributed under the terms of the Q Public License - as defined by Trolltech AS of Norway and appearing in the file - LICENSE.TQPL included in the packaging of this file. - -* This file may be distributed and/or modified under the terms of the - GNU General Public License version 2 as published by the Free Software - Foundation and appearing in the file LICENSE.GPL included in the - packaging of this file. - -* Licensees holding valid Qt Enterprise Edition or Qt Professional Edition - licenses may use this file in accordance with the Qt Commercial License - Agreement provided with the Software. - -* This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE - WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. - -* See http://www.trolltech.com/pricing.html or email sales@trolltech.com for - information about Qt Commercial License Agreements. - See http://www.trolltech.com/qpl/ for TQPL licensing information. - See http://www.trolltech.com/gpl/ for GPL licensing information. - -* Contact info@trolltech.com if any conditions of this licensing are - not clear to you. - -********************************************** See {@link TQSignalSignals} for signals emitted by TQSignal - @short $Id: qt/qsignal. - -*/ -public class TQSignal extends TQObject { - protected TQSignal(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQSignal(TQObject parent, String name) { - super((Class) null); - newTQSignal(parent,name); - } - private native void newTQSignal(TQObject parent, String name); - public TQSignal(TQObject parent) { - super((Class) null); - newTQSignal(parent); - } - private native void newTQSignal(TQObject parent); - public TQSignal() { - super((Class) null); - newTQSignal(); - } - private native void newTQSignal(); - public native boolean connect(TQObject receiver, String member); - public native boolean disconnect(TQObject receiver, String member); - public native boolean disconnect(TQObject receiver); - public native void activate(); - public native boolean isBlocked(); - public native void block(boolean b); - public native void setParameter(int value); - public native int parameter(); - public native void setValue(TQVariant value); - public native TQVariant value(); - public static native String tr(String arg1, String arg2); - public static native String tr(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/qtjava/javalib/org/kde/qt/QSignalMapper.java b/qtjava/javalib/org/kde/qt/QSignalMapper.java deleted file mode 100644 index ab792151..00000000 --- a/qtjava/javalib/org/kde/qt/QSignalMapper.java +++ /dev/null @@ -1,35 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQSignalMapperSignals} for signals emitted by TQSignalMapper -*/ -public class TQSignalMapper extends TQObject { - protected TQSignalMapper(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQSignalMapper(TQObject parent, String name) { - super((Class) null); - newTQSignalMapper(parent,name); - } - private native void newTQSignalMapper(TQObject parent, String name); - public TQSignalMapper(TQObject parent) { - super((Class) null); - newTQSignalMapper(parent); - } - private native void newTQSignalMapper(TQObject parent); - public native void setMapping(TQObject sender, int identifier); - public native void setMapping(TQObject sender, String identifier); - public native void removeMappings(TQObject sender); - public native void map(); - public static native String tr(String arg1, String arg2); - public static native String tr(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/qtjava/javalib/org/kde/qt/QSignalMapperSignals.java b/qtjava/javalib/org/kde/qt/QSignalMapperSignals.java deleted file mode 100644 index c30666c3..00000000 --- a/qtjava/javalib/org/kde/qt/QSignalMapperSignals.java +++ /dev/null @@ -1,8 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQSignalMapperSignals { - void mapped(int arg1); - void mapped(String arg1); -} diff --git a/qtjava/javalib/org/kde/qt/QSignalSignals.java b/qtjava/javalib/org/kde/qt/QSignalSignals.java deleted file mode 100644 index 57bc51ac..00000000 --- a/qtjava/javalib/org/kde/qt/QSignalSignals.java +++ /dev/null @@ -1,8 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQSignalSignals { - void signal(TQVariant arg1); - void intSignal(int arg1); -} diff --git a/qtjava/javalib/org/kde/qt/QSimpleRichText.java b/qtjava/javalib/org/kde/qt/QSimpleRichText.java deleted file mode 100644 index 51fad3c8..00000000 --- a/qtjava/javalib/org/kde/qt/QSimpleRichText.java +++ /dev/null @@ -1,59 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQSimpleRichText implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQSimpleRichText(Class dummy){} - - public TQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet) { - newTQSimpleRichText(text,fnt,context,sheet); - } - private native void newTQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet); - public TQSimpleRichText(String text, TQFont fnt, String context) { - newTQSimpleRichText(text,fnt,context); - } - private native void newTQSimpleRichText(String text, TQFont fnt, String context); - public TQSimpleRichText(String text, TQFont fnt) { - newTQSimpleRichText(text,fnt); - } - private native void newTQSimpleRichText(String text, TQFont fnt); - public TQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory, int pageBreak, TQColor linkColor, boolean linkUnderline) { - newTQSimpleRichText(text,fnt,context,sheet,factory,pageBreak,linkColor,linkUnderline); - } - private native void newTQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory, int pageBreak, TQColor linkColor, boolean linkUnderline); - public TQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory, int pageBreak, TQColor linkColor) { - newTQSimpleRichText(text,fnt,context,sheet,factory,pageBreak,linkColor); - } - private native void newTQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory, int pageBreak, TQColor linkColor); - public TQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory, int pageBreak) { - newTQSimpleRichText(text,fnt,context,sheet,factory,pageBreak); - } - private native void newTQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory, int pageBreak); - public TQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory) { - newTQSimpleRichText(text,fnt,context,sheet,factory); - } - private native void newTQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory); - public native void setWidth(int arg1); - public native void setWidth(TQPainter arg1, int arg2); - public native void setDefaultFont(TQFont f); - public native int width(); - public native int widthUsed(); - public native int height(); - public native void adjustSize(); - public native void draw(TQPainter p, int x, int y, TQRect clipRect, TQColorGroup cg, TQBrush paper); - public native void draw(TQPainter p, int x, int y, TQRect clipRect, TQColorGroup cg); - public native void draw(TQPainter p, int x, int y, TQRegion clipRegion, TQColorGroup cg, TQBrush paper); - public native void draw(TQPainter p, int x, int y, TQRegion clipRegion, TQColorGroup cg); - public native String context(); - public native String anchorAt(TQPoint pos); - public native boolean inText(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/qtjava/javalib/org/kde/qt/QSize.java b/qtjava/javalib/org/kde/qt/QSize.java deleted file mode 100644 index 37440a50..00000000 --- a/qtjava/javalib/org/kde/qt/QSize.java +++ /dev/null @@ -1,49 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQSize implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQSize(Class dummy){} - - public static final int ScaleFree = 0; - public static final int ScaleMin = 1; - public static final int ScaleMax = 2; - - public TQSize() { - newTQSize(); - } - private native void newTQSize(); - public TQSize(int w, int h) { - newTQSize(w,h); - } - private native void newTQSize(int w, int h); - public native boolean isNull(); - public native boolean isEmpty(); - public native boolean isValid(); - public native int width(); - public native int height(); - public native void setWidth(int w); - public native void setHeight(int h); - public native void transpose(); - public native void scale(int w, int h, int mode); - public native void scale(TQSize s, int mode); - public native TQSize expandedTo(TQSize arg1); - public native TQSize boundedTo(TQSize arg1); - public native short rwidth(); - public native short rheight(); - public native TQSize op_plus_assign(TQSize arg1); - public native TQSize op_minus_assign(TQSize arg1); - public native TQSize op_mult_assign(int c); - public native TQSize op_mult_assign(double c); - public native TQSize op_div_assign(int c); - public native TQSize op_div_assign(double c); - /** 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/qtjava/javalib/org/kde/qt/QSizeGrip.java b/qtjava/javalib/org/kde/qt/QSizeGrip.java deleted file mode 100644 index 52d444de..00000000 --- a/qtjava/javalib/org/kde/qt/QSizeGrip.java +++ /dev/null @@ -1,33 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQSizeGrip extends TQWidget { - protected TQSizeGrip(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQSizeGrip(TQWidget parent, String name) { - super((Class) null); - newTQSizeGrip(parent,name); - } - private native void newTQSizeGrip(TQWidget parent, String name); - public TQSizeGrip(TQWidget parent) { - super((Class) null); - newTQSizeGrip(parent); - } - private native void newTQSizeGrip(TQWidget parent); - public native TQSize sizeHint(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void paintEvent(TQPaintEvent arg1); - protected native void mousePressEvent(TQMouseEvent arg1); - protected native void mouseMoveEvent(TQMouseEvent arg1); - public native boolean eventFilter(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/qtjava/javalib/org/kde/qt/QSizePolicy.java b/qtjava/javalib/org/kde/qt/QSizePolicy.java deleted file mode 100644 index 082eb5eb..00000000 --- a/qtjava/javalib/org/kde/qt/QSizePolicy.java +++ /dev/null @@ -1,77 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQSizePolicy implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQSizePolicy(Class dummy){} - - public static final int HSize = 6; - public static final int HMask = 0x3f; - public static final int VMask = HMask< boundValues(); >>>> NOT CONVERTED - public native String executedQuery(); - protected native void beforeSeek(); -} diff --git a/qtjava/javalib/org/kde/qt/QSqlDatabase.java b/qtjava/javalib/org/kde/qt/QSqlDatabase.java deleted file mode 100644 index d046a32d..00000000 --- a/qtjava/javalib/org/kde/qt/QSqlDatabase.java +++ /dev/null @@ -1,96 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.ArrayList; - -public class TQSqlDatabase extends TQObject { - protected TQSqlDatabase(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public native boolean open(); - public native boolean open(String user, String password); - public native void close(); - public native boolean isOpen(); - public native boolean isOpenError(); - public native ArrayList tables(); - public native ArrayList tables(int type); - public native TQSqlIndex primaryIndex(String tablename); - public native TQSqlRecord record(String tablename); - public native TQSqlRecord record(TQSqlQueryInterface query); - public native TQSqlRecordInfo recordInfo(String tablename); - public native TQSqlRecordInfo recordInfo(TQSqlQueryInterface query); - public native TQSqlQueryInterface exec(String query); - public native TQSqlQueryInterface exec(); - public native TQSqlError lastError(); - public native boolean transaction(); - public native boolean commit(); - public native boolean rollback(); - public native void setDatabaseName(String name); - public native void setUserName(String name); - public native void setPassword(String password); - public native void setHostName(String host); - public native void setPort(int p); - public native void setConnectOptions(String options); - public native void setConnectOptions(); - public native String databaseName(); - public native String userName(); - public native String password(); - public native String hostName(); - public native String driverName(); - public native int port(); - public native String connectOptions(); - public native TQSqlDriver driver(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - public static native TQSqlDatabase addDatabase(String type, String connectionName); - public static native TQSqlDatabase addDatabase(String type); - public static native TQSqlDatabase addDatabase(TQSqlDriver driver, String connectionName); - public static native TQSqlDatabase addDatabase(TQSqlDriver driver); - public static native TQSqlDatabase database(String connectionName, boolean open); - public static native TQSqlDatabase database(String connectionName); - public static native TQSqlDatabase database(); - public static native void removeDatabase(String connectionName); - public static native void removeDatabase(TQSqlDatabase db); - public static native boolean contains(String connectionName); - public static native boolean contains(); - public static native ArrayList drivers(); - // void registerSqlDriver(const TQString& arg1,const TQSqlDriverCreatorBase* arg2); >>>> NOT CONVERTED - public static native boolean isDriverAvailable(String name); - public TQSqlDatabase(String type, String name, TQObject parent, String objname) { - super((Class) null); - newTQSqlDatabase(type,name,parent,objname); - } - private native void newTQSqlDatabase(String type, String name, TQObject parent, String objname); - public TQSqlDatabase(String type, String name, TQObject parent) { - super((Class) null); - newTQSqlDatabase(type,name,parent); - } - private native void newTQSqlDatabase(String type, String name, TQObject parent); - public TQSqlDatabase(String type, String name) { - super((Class) null); - newTQSqlDatabase(type,name); - } - private native void newTQSqlDatabase(String type, String name); - public TQSqlDatabase(TQSqlDriver driver, TQObject parent, String objname) { - super((Class) null); - newTQSqlDatabase(driver,parent,objname); - } - private native void newTQSqlDatabase(TQSqlDriver driver, TQObject parent, String objname); - public TQSqlDatabase(TQSqlDriver driver, TQObject parent) { - super((Class) null); - newTQSqlDatabase(driver,parent); - } - private native void newTQSqlDatabase(TQSqlDriver driver, TQObject parent); - public TQSqlDatabase(TQSqlDriver driver) { - super((Class) null); - newTQSqlDatabase(driver); - } - private native void newTQSqlDatabase(TQSqlDriver driver); - /** 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/qtjava/javalib/org/kde/qt/QSqlDriver.java b/qtjava/javalib/org/kde/qt/QSqlDriver.java deleted file mode 100644 index c67cdcb2..00000000 --- a/qtjava/javalib/org/kde/qt/QSqlDriver.java +++ /dev/null @@ -1,45 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.ArrayList; - -public class TQSqlDriver extends TQObject { - protected TQSqlDriver(Class dummy){super((Class) null);} - public static final int Transactions = 0; - public static final int QuerySize = 1; - public static final int BLOB = 2; - public static final int Unicode = 3; - public static final int PreparedQueries = 4; - public static final int NamedPlaceholders = 5; - public static final int PositionalPlaceholders = 6; - - public native TQMetaObject metaObject(); - public native String className(); - public native boolean isOpen(); - public native boolean isOpenError(); - public native boolean beginTransaction(); - public native boolean commitTransaction(); - public native boolean rollbackTransaction(); - public native ArrayList tables(String tableType); - public native TQSqlIndex primaryIndex(String tableName); - public native TQSqlRecord record(String tableName); - public native TQSqlRecord record(TQSqlQueryInterface query); - public native TQSqlRecordInfo recordInfo(String tablename); - public native TQSqlRecordInfo recordInfo(TQSqlQueryInterface query); - public native String nullText(); - public native String formatValue(TQSqlField field, boolean trimStrings); - public native String formatValue(TQSqlField field); - public native TQSqlError lastError(); - public native boolean hasFeature(int f); - public native boolean open(String db, String user, String password, String host, int port); - public native boolean open(String db, String user, String password, String host); - public native boolean open(String db, String user, String password); - public native boolean open(String db, String user); - public native boolean open(String db); - public native void close(); - public native TQSqlQueryInterface createQuery(); - public native boolean open(String db, String user, String password, String host, int port, String connOpts); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); -} diff --git a/qtjava/javalib/org/kde/qt/QSqlEditorFactory.java b/qtjava/javalib/org/kde/qt/QSqlEditorFactory.java deleted file mode 100644 index bc051a60..00000000 --- a/qtjava/javalib/org/kde/qt/QSqlEditorFactory.java +++ /dev/null @@ -1,33 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQSqlEditorFactory extends TQEditorFactory { - protected TQSqlEditorFactory(Class dummy){super((Class) null);} - public TQSqlEditorFactory(TQObject parent, String name) { - super((Class) null); - newTQSqlEditorFactory(parent,name); - } - private native void newTQSqlEditorFactory(TQObject parent, String name); - public TQSqlEditorFactory(TQObject parent) { - super((Class) null); - newTQSqlEditorFactory(parent); - } - private native void newTQSqlEditorFactory(TQObject parent); - public TQSqlEditorFactory() { - super((Class) null); - newTQSqlEditorFactory(); - } - private native void newTQSqlEditorFactory(); - public native TQWidget createEditor(TQWidget parent, TQVariant variant); - public native TQWidget createEditor(TQWidget parent, TQSqlField field); - public static native TQEditorFactory defaultFactory(); - public static native void installDefaultFactory(TQSqlEditorFactory factory); - /** 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/qtjava/javalib/org/kde/qt/QSqlError.java b/qtjava/javalib/org/kde/qt/QSqlError.java deleted file mode 100644 index 79c5bf24..00000000 --- a/qtjava/javalib/org/kde/qt/QSqlError.java +++ /dev/null @@ -1,58 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQSqlError implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQSqlError(Class dummy){} - - public static final int None = 0; - public static final int Connection = 1; - public static final int Statement = 2; - public static final int Transaction = 3; - public static final int Unknown = 4; - - public TQSqlError(String driverText, String databaseText, int type, int number) { - newTQSqlError(driverText,databaseText,type,number); - } - private native void newTQSqlError(String driverText, String databaseText, int type, int number); - public TQSqlError(String driverText, String databaseText, int type) { - newTQSqlError(driverText,databaseText,type); - } - private native void newTQSqlError(String driverText, String databaseText, int type); - public TQSqlError(String driverText, String databaseText) { - newTQSqlError(driverText,databaseText); - } - private native void newTQSqlError(String driverText, String databaseText); - public TQSqlError(String driverText) { - newTQSqlError(driverText); - } - private native void newTQSqlError(String driverText); - public TQSqlError() { - newTQSqlError(); - } - private native void newTQSqlError(); - public TQSqlError(TQSqlError other) { - newTQSqlError(other); - } - private native void newTQSqlError(TQSqlError other); - public native String driverText(); - public native void setDriverText(String driverText); - public native String databaseText(); - public native void setDatabaseText(String databaseText); - public native int type(); - public native void setType(int type); - public native int number(); - public native void setNumber(int number); - public native String text(); - public native void showMessage(String msg); - public native void showMessage(); - /** 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/qtjava/javalib/org/kde/qt/QSqlField.java b/qtjava/javalib/org/kde/qt/QSqlField.java deleted file mode 100644 index 942494cc..00000000 --- a/qtjava/javalib/org/kde/qt/QSqlField.java +++ /dev/null @@ -1,45 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQSqlField implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQSqlField(Class dummy){} - - public TQSqlField(String fieldName, int type) { - newTQSqlField(fieldName,type); - } - private native void newTQSqlField(String fieldName, int type); - public TQSqlField(String fieldName) { - newTQSqlField(fieldName); - } - private native void newTQSqlField(String fieldName); - public TQSqlField() { - newTQSqlField(); - } - private native void newTQSqlField(); - public TQSqlField(TQSqlField other) { - newTQSqlField(other); - } - private native void newTQSqlField(TQSqlField other); - public native boolean op_equals(TQSqlField other); - public native void setValue(TQVariant value); - public native TQVariant value(); - public native void setName(String name); - public native String name(); - public native void setNull(); - public native boolean isNull(); - public native void setReadOnly(boolean readOnly); - public native boolean isReadOnly(); - public native void clear(boolean nullify); - public native void clear(); - public native int type(); - /** 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/qtjava/javalib/org/kde/qt/QSqlFieldInfo.java b/qtjava/javalib/org/kde/qt/QSqlFieldInfo.java deleted file mode 100644 index 98e4cd47..00000000 --- a/qtjava/javalib/org/kde/qt/QSqlFieldInfo.java +++ /dev/null @@ -1,88 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQSqlFieldInfo implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQSqlFieldInfo(Class dummy){} - - public TQSqlFieldInfo(String name, int typ, int retquired, int len, int prec, TQVariant defValue, int sqlType, boolean generated, boolean trim, boolean calculated) { - newTQSqlFieldInfo(name,typ,retquired,len,prec,defValue,sqlType,generated,trim,calculated); - } - private native void newTQSqlFieldInfo(String name, int typ, int retquired, int len, int prec, TQVariant defValue, int sqlType, boolean generated, boolean trim, boolean calculated); - public TQSqlFieldInfo(String name, int typ, int retquired, int len, int prec, TQVariant defValue, int sqlType, boolean generated, boolean trim) { - newTQSqlFieldInfo(name,typ,retquired,len,prec,defValue,sqlType,generated,trim); - } - private native void newTQSqlFieldInfo(String name, int typ, int retquired, int len, int prec, TQVariant defValue, int sqlType, boolean generated, boolean trim); - public TQSqlFieldInfo(String name, int typ, int retquired, int len, int prec, TQVariant defValue, int sqlType, boolean generated) { - newTQSqlFieldInfo(name,typ,retquired,len,prec,defValue,sqlType,generated); - } - private native void newTQSqlFieldInfo(String name, int typ, int retquired, int len, int prec, TQVariant defValue, int sqlType, boolean generated); - public TQSqlFieldInfo(String name, int typ, int retquired, int len, int prec, TQVariant defValue, int sqlType) { - newTQSqlFieldInfo(name,typ,retquired,len,prec,defValue,sqlType); - } - private native void newTQSqlFieldInfo(String name, int typ, int retquired, int len, int prec, TQVariant defValue, int sqlType); - public TQSqlFieldInfo(String name, int typ, int retquired, int len, int prec, TQVariant defValue) { - newTQSqlFieldInfo(name,typ,retquired,len,prec,defValue); - } - private native void newTQSqlFieldInfo(String name, int typ, int retquired, int len, int prec, TQVariant defValue); - public TQSqlFieldInfo(String name, int typ, int retquired, int len, int prec) { - newTQSqlFieldInfo(name,typ,retquired,len,prec); - } - private native void newTQSqlFieldInfo(String name, int typ, int retquired, int len, int prec); - public TQSqlFieldInfo(String name, int typ, int retquired, int len) { - newTQSqlFieldInfo(name,typ,retquired,len); - } - private native void newTQSqlFieldInfo(String name, int typ, int retquired, int len); - public TQSqlFieldInfo(String name, int typ, int retquired) { - newTQSqlFieldInfo(name,typ,retquired); - } - private native void newTQSqlFieldInfo(String name, int typ, int retquired); - public TQSqlFieldInfo(String name, int typ) { - newTQSqlFieldInfo(name,typ); - } - private native void newTQSqlFieldInfo(String name, int typ); - public TQSqlFieldInfo(String name) { - newTQSqlFieldInfo(name); - } - private native void newTQSqlFieldInfo(String name); - public TQSqlFieldInfo() { - newTQSqlFieldInfo(); - } - private native void newTQSqlFieldInfo(); - public TQSqlFieldInfo(TQSqlFieldInfo other) { - newTQSqlFieldInfo(other); - } - private native void newTQSqlFieldInfo(TQSqlFieldInfo other); - public TQSqlFieldInfo(TQSqlField other, boolean generated) { - newTQSqlFieldInfo(other,generated); - } - private native void newTQSqlFieldInfo(TQSqlField other, boolean generated); - public TQSqlFieldInfo(TQSqlField other) { - newTQSqlFieldInfo(other); - } - private native void newTQSqlFieldInfo(TQSqlField other); - public native boolean op_equals(TQSqlFieldInfo f); - public native TQSqlField toField(); - public native int isRequired(); - public native int type(); - public native int length(); - public native int precision(); - public native TQVariant defaultValue(); - public native String name(); - public native int typeID(); - public native boolean isGenerated(); - public native boolean isTrim(); - public native boolean isCalculated(); - public native void setTrim(boolean trim); - public native void setGenerated(boolean gen); - public native void setCalculated(boolean calc); - /** 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/qtjava/javalib/org/kde/qt/QSqlForm.java b/qtjava/javalib/org/kde/qt/QSqlForm.java deleted file mode 100644 index 2584e8bc..00000000 --- a/qtjava/javalib/org/kde/qt/QSqlForm.java +++ /dev/null @@ -1,51 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQSqlForm extends TQObject { - protected TQSqlForm(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQSqlForm(TQObject parent, String name) { - super((Class) null); - newTQSqlForm(parent,name); - } - private native void newTQSqlForm(TQObject parent, String name); - public TQSqlForm(TQObject parent) { - super((Class) null); - newTQSqlForm(parent); - } - private native void newTQSqlForm(TQObject parent); - public TQSqlForm() { - super((Class) null); - newTQSqlForm(); - } - private native void newTQSqlForm(); - public native void insert(TQWidget widget, String field); - public native void remove(String field); - public native int count(); - public native TQWidget widget(int i); - public native TQSqlField widgetToField(TQWidget widget); - public native TQWidget fieldToWidget(TQSqlField field); - public native void installPropertyMap(TQSqlPropertyMap map); - public native void setRecord(TQSqlRecord buf); - public native void readField(TQWidget widget); - public native void writeField(TQWidget widget); - public native void readFields(); - public native void writeFields(); - public native void clear(); - public native void clearValues(boolean nullify); - public native void clearValues(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void insert(TQWidget widget, TQSqlField field); - protected native void remove(TQWidget widget); - protected native void clearMap(); - /** 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/qtjava/javalib/org/kde/qt/QSqlIndex.java b/qtjava/javalib/org/kde/qt/QSqlIndex.java deleted file mode 100644 index e93aa3f8..00000000 --- a/qtjava/javalib/org/kde/qt/QSqlIndex.java +++ /dev/null @@ -1,51 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.ArrayList; - -public class TQSqlIndex extends TQSqlRecord { - protected TQSqlIndex(Class dummy){super((Class) null);} - public TQSqlIndex(String cursorName, String name) { - super((Class) null); - newTQSqlIndex(cursorName,name); - } - private native void newTQSqlIndex(String cursorName, String name); - public TQSqlIndex(String cursorName) { - super((Class) null); - newTQSqlIndex(cursorName); - } - private native void newTQSqlIndex(String cursorName); - public TQSqlIndex() { - super((Class) null); - newTQSqlIndex(); - } - private native void newTQSqlIndex(); - public TQSqlIndex(TQSqlIndex other) { - super((Class) null); - newTQSqlIndex(other); - } - private native void newTQSqlIndex(TQSqlIndex other); - public native void setCursorName(String cursorName); - public native String cursorName(); - public native void setName(String name); - public native String name(); - public native void append(TQSqlField field); - public native void append(TQSqlField field, boolean desc); - public native boolean isDescending(int i); - public native void setDescending(int i, boolean desc); - public native String toString(String prefix, String sep, boolean verbose); - public native String toString(String prefix, String sep); - public native String toString(String prefix); - public native String toString(); - public native ArrayList toStringList(String prefix, boolean verbose); - public native ArrayList toStringList(String prefix); - public native ArrayList toStringList(); - public static native TQSqlIndex fromStringList(String[] l, TQSqlCursor cursor); - /** 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/qtjava/javalib/org/kde/qt/QSqlPropertyMap.java b/qtjava/javalib/org/kde/qt/QSqlPropertyMap.java deleted file mode 100644 index c087c009..00000000 --- a/qtjava/javalib/org/kde/qt/QSqlPropertyMap.java +++ /dev/null @@ -1,27 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQSqlPropertyMap implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQSqlPropertyMap(Class dummy){} - - public TQSqlPropertyMap() { - newTQSqlPropertyMap(); - } - private native void newTQSqlPropertyMap(); - public native TQVariant property(TQWidget widget); - public native void setProperty(TQWidget widget, TQVariant value); - public native void insert(String classname, String property); - public native void remove(String classname); - public static native TQSqlPropertyMap defaultMap(); - public static native void installDefaultMap(TQSqlPropertyMap map); - /** 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/qtjava/javalib/org/kde/qt/QSqlQuery.java b/qtjava/javalib/org/kde/qt/QSqlQuery.java deleted file mode 100644 index 2587b1e7..00000000 --- a/qtjava/javalib/org/kde/qt/QSqlQuery.java +++ /dev/null @@ -1,76 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQSqlQuery implements QtSupport, TQSqlQueryInterface { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQSqlQuery(Class dummy){} - - public TQSqlQuery(TQSqlResult r) { - newTQSqlQuery(r); - } - private native void newTQSqlQuery(TQSqlResult r); - public TQSqlQuery(String query, TQSqlDatabase db) { - newTQSqlQuery(query,db); - } - private native void newTQSqlQuery(String query, TQSqlDatabase db); - public TQSqlQuery(String query) { - newTQSqlQuery(query); - } - private native void newTQSqlQuery(String query); - public TQSqlQuery() { - newTQSqlQuery(); - } - private native void newTQSqlQuery(); - public TQSqlQuery(TQSqlDatabase db) { - newTQSqlQuery(db); - } - private native void newTQSqlQuery(TQSqlDatabase db); - public TQSqlQuery(TQSqlQueryInterface other) { - newTQSqlQuery(other); - } - private native void newTQSqlQuery(TQSqlQueryInterface other); - public native boolean isValid(); - public native boolean isActive(); - public native boolean isNull(int field); - public native int at(); - public native String lastQuery(); - public native int numRowsAffected(); - public native TQSqlError lastError(); - public native boolean isSelect(); - public native int size(); - public native TQSqlDriver driver(); - public native TQSqlResult result(); - public native boolean isForwardOnly(); - public native void setForwardOnly(boolean forward); - public native boolean exec(String query); - public native TQVariant value(int i); - public native boolean seek(int i, boolean relative); - public native boolean seek(int i); - public native boolean next(); - public native boolean prev(); - public native boolean first(); - public native boolean last(); - public native boolean exec(); - public native boolean prepare(String query); - public native void bindValue(String placeholder, TQVariant val); - public native void bindValue(int pos, TQVariant val); - public native void addBindValue(TQVariant val); - public native void bindValue(String placeholder, TQVariant val, int type); - public native void bindValue(int pos, TQVariant val, int type); - public native void addBindValue(TQVariant val, int type); - public native TQVariant boundValue(String placeholder); - public native TQVariant boundValue(int pos); - // TQMap boundValues(); >>>> NOT CONVERTED - public native String executedQuery(); - protected native void beforeSeek(); - protected native void afterSeek(); - /** 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/qtjava/javalib/org/kde/qt/QSqlQueryInterface.java b/qtjava/javalib/org/kde/qt/QSqlQueryInterface.java deleted file mode 100644 index 26e566b9..00000000 --- a/qtjava/javalib/org/kde/qt/QSqlQueryInterface.java +++ /dev/null @@ -1,38 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQSqlQueryInterface { - boolean isValid(); - boolean isActive(); - boolean isNull(int field); - int at(); - String lastQuery(); - int numRowsAffected(); - TQSqlError lastError(); - boolean isSelect(); - int size(); - TQSqlDriver driver(); - TQSqlResult result(); - boolean isForwardOnly(); - void setForwardOnly(boolean forward); - boolean exec(String query); - TQVariant value(int i); - boolean seek(int i, boolean relative); - boolean seek(int i); - boolean next(); - boolean prev(); - boolean first(); - boolean last(); - boolean exec(); - boolean prepare(String query); - void bindValue(String placeholder, TQVariant val); - void bindValue(int pos, TQVariant val); - void addBindValue(TQVariant val); - void bindValue(String placeholder, TQVariant val, int type); - void bindValue(int pos, TQVariant val, int type); - void addBindValue(TQVariant val, int type); - TQVariant boundValue(String placeholder); - TQVariant boundValue(int pos); - String executedQuery(); -} diff --git a/qtjava/javalib/org/kde/qt/QSqlRecord.java b/qtjava/javalib/org/kde/qt/QSqlRecord.java deleted file mode 100644 index 4685ec18..00000000 --- a/qtjava/javalib/org/kde/qt/QSqlRecord.java +++ /dev/null @@ -1,56 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.ArrayList; - -public class TQSqlRecord implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQSqlRecord(Class dummy){} - - public TQSqlRecord() { - newTQSqlRecord(); - } - private native void newTQSqlRecord(); - public TQSqlRecord(TQSqlRecord other) { - newTQSqlRecord(other); - } - private native void newTQSqlRecord(TQSqlRecord other); - public native TQVariant value(int i); - public native TQVariant value(String name); - public native void setValue(int i, TQVariant val); - public native void setValue(String name, TQVariant val); - public native boolean isGenerated(int i); - public native boolean isGenerated(String name); - public native void setGenerated(String name, boolean generated); - public native void setGenerated(int i, boolean generated); - public native void setNull(int i); - public native void setNull(String name); - public native boolean isNull(int i); - public native boolean isNull(String name); - public native int position(String name); - public native String fieldName(int i); - public native TQSqlField field(int i); - public native TQSqlField field(String name); - public native void append(TQSqlField field); - public native void insert(int pos, TQSqlField field); - public native void remove(int pos); - public native boolean isEmpty(); - public native boolean contains(String name); - public native void clear(); - public native void clearValues(boolean nullify); - public native void clearValues(); - public native int count(); - public native String toString(String prefix, String sep); - public native String toString(String prefix); - public native String toString(); - public native ArrayList toStringList(String prefix); - public native ArrayList toStringList(); - /** 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/qtjava/javalib/org/kde/qt/QSqlRecordInfo.java b/qtjava/javalib/org/kde/qt/QSqlRecordInfo.java deleted file mode 100644 index 25ad8924..00000000 --- a/qtjava/javalib/org/kde/qt/QSqlRecordInfo.java +++ /dev/null @@ -1,29 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQSqlRecordInfo implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQSqlRecordInfo(Class dummy){} - - public TQSqlRecordInfo() { - newTQSqlRecordInfo(); - } - private native void newTQSqlRecordInfo(); - // TQSqlRecordInfo* TQSqlRecordInfo(const TQSqlFieldInfoList& arg1); >>>> NOT CONVERTED - public TQSqlRecordInfo(TQSqlRecord other) { - newTQSqlRecordInfo(other); - } - private native void newTQSqlRecordInfo(TQSqlRecord other); - public native int contains(String fieldName); - public native TQSqlFieldInfo find(String fieldName); - public native TQSqlRecord toRecord(); - /** 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/qtjava/javalib/org/kde/qt/QSqlResult.java b/qtjava/javalib/org/kde/qt/QSqlResult.java deleted file mode 100644 index 1b332a08..00000000 --- a/qtjava/javalib/org/kde/qt/QSqlResult.java +++ /dev/null @@ -1,13 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQSqlResult implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQSqlResult(Class dummy){} - - // void setExtension(TQSqlExtension* arg1); >>>> NOT CONVERTED - // TQSqlExtension* extension(); >>>> NOT CONVERTED -} diff --git a/qtjava/javalib/org/kde/qt/QStatusBar.java b/qtjava/javalib/org/kde/qt/QStatusBar.java deleted file mode 100644 index 29180475..00000000 --- a/qtjava/javalib/org/kde/qt/QStatusBar.java +++ /dev/null @@ -1,50 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQStatusBarSignals} for signals emitted by TQStatusBar -*/ -public class TQStatusBar extends TQWidget { - protected TQStatusBar(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQStatusBar(TQWidget parent, String name) { - super((Class) null); - newTQStatusBar(parent,name); - } - private native void newTQStatusBar(TQWidget parent, String name); - public TQStatusBar(TQWidget parent) { - super((Class) null); - newTQStatusBar(parent); - } - private native void newTQStatusBar(TQWidget parent); - public TQStatusBar() { - super((Class) null); - newTQStatusBar(); - } - private native void newTQStatusBar(); - public native void addWidget(TQWidget arg1, int stretch, boolean arg3); - public native void addWidget(TQWidget arg1, int stretch); - public native void addWidget(TQWidget arg1); - public native void removeWidget(TQWidget arg1); - public native void setSizeGripEnabled(boolean arg1); - public native boolean isSizeGripEnabled(); - public native void message(String arg1); - public native void message(String arg1, int arg2); - public native void clear(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void paintEvent(TQPaintEvent arg1); - protected native void resizeEvent(TQResizeEvent arg1); - protected native void reformat(); - protected native void hideOrShow(); - public native boolean event(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/qtjava/javalib/org/kde/qt/QStatusBarSignals.java b/qtjava/javalib/org/kde/qt/QStatusBarSignals.java deleted file mode 100644 index 2566f225..00000000 --- a/qtjava/javalib/org/kde/qt/QStatusBarSignals.java +++ /dev/null @@ -1,7 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQStatusBarSignals { - void messageChanged(String text); -} diff --git a/qtjava/javalib/org/kde/qt/QStoredDrag.java b/qtjava/javalib/org/kde/qt/QStoredDrag.java deleted file mode 100644 index b0b6acdd..00000000 --- a/qtjava/javalib/org/kde/qt/QStoredDrag.java +++ /dev/null @@ -1,36 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQStoredDrag extends TQDragObject { - protected TQStoredDrag(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQStoredDrag(String mimeType, TQWidget dragSource, String name) { - super((Class) null); - newTQStoredDrag(mimeType,dragSource,name); - } - private native void newTQStoredDrag(String mimeType, TQWidget dragSource, String name); - public TQStoredDrag(String mimeType, TQWidget dragSource) { - super((Class) null); - newTQStoredDrag(mimeType,dragSource); - } - private native void newTQStoredDrag(String mimeType, TQWidget dragSource); - public TQStoredDrag(String mimeType) { - super((Class) null); - newTQStoredDrag(mimeType); - } - private native void newTQStoredDrag(String mimeType); - public native void setEncodedData(byte[] arg1); - public native String format(int i); - public native byte[] encodedData(String arg1); - public static native String tr(String arg1, String arg2); - public static native String tr(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/qtjava/javalib/org/kde/qt/QStyle.java b/qtjava/javalib/org/kde/qt/QStyle.java deleted file mode 100644 index f91e9796..00000000 --- a/qtjava/javalib/org/kde/qt/QStyle.java +++ /dev/null @@ -1,356 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQStyle extends TQObject { - protected TQStyle(Class dummy){super((Class) null);} - public static final int PE_ButtonCommand = 0; - public static final int PE_ButtonDefault = 1; - public static final int PE_ButtonBevel = 2; - public static final int PE_ButtonTool = 3; - public static final int PE_ButtonDropDown = 4; - public static final int PE_FocusRect = 5; - public static final int PE_ArrowUp = 6; - public static final int PE_ArrowDown = 7; - public static final int PE_ArrowRight = 8; - public static final int PE_ArrowLeft = 9; - public static final int PE_SpinWidgetUp = 10; - public static final int PE_SpinWidgetDown = 11; - public static final int PE_SpinWidgetPlus = 12; - public static final int PE_SpinWidgetMinus = 13; - public static final int PE_Indicator = 14; - public static final int PE_IndicatorMask = 15; - public static final int PE_ExclusiveIndicator = 16; - public static final int PE_ExclusiveIndicatorMask = 17; - public static final int PE_DockWindowHandle = 18; - public static final int PE_DockWindowSeparator = 19; - public static final int PE_DockWindowResizeHandle = 20; - public static final int PE_Splitter = 21; - public static final int PE_Panel = 22; - public static final int PE_PanelPopup = 23; - public static final int PE_PanelMenuBar = 24; - public static final int PE_PanelDockWindow = 25; - public static final int PE_TabBarBase = 26; - public static final int PE_HeaderSection = 27; - public static final int PE_HeaderArrow = 28; - public static final int PE_StatusBarSection = 29; - public static final int PE_GroupBoxFrame = 30; - public static final int PE_Separator = 31; - public static final int PE_SizeGrip = 32; - public static final int PE_CheckMark = 33; - public static final int PE_ScrollBarAddLine = 34; - public static final int PE_ScrollBarSubLine = 35; - public static final int PE_ScrollBarAddPage = 36; - public static final int PE_ScrollBarSubPage = 37; - public static final int PE_ScrollBarSlider = 38; - public static final int PE_ScrollBarFirst = 39; - public static final int PE_ScrollBarLast = 40; - public static final int PE_ProgressBarChunk = 41; - public static final int PE_PanelLineEdit = 42; - public static final int PE_PanelTabWidget = 43; - public static final int PE_WindowFrame = 44; - public static final int PE_CheckListController = 45; - public static final int PE_CheckListIndicator = 46; - public static final int PE_CheckListExclusiveIndicator = 47; - public static final int PE_PanelGroupBox = 48; - public static final int PE_RubberBand = 49; - public static final int PE_CustomBase = 0xf000000; - - public static final int Style_Default = 0x00000000; - public static final int Style_Enabled = 0x00000001; - public static final int Style_Raised = 0x00000002; - public static final int Style_Sunken = 0x00000004; - public static final int Style_Off = 0x00000008; - public static final int Style_NoChange = 0x00000010; - public static final int Style_On = 0x00000020; - public static final int Style_Down = 0x00000040; - public static final int Style_Horizontal = 0x00000080; - public static final int Style_HasFocus = 0x00000100; - public static final int Style_Top = 0x00000200; - public static final int Style_Bottom = 0x00000400; - public static final int Style_FocusAtBorder = 0x00000800; - public static final int Style_AutoRaise = 0x00001000; - public static final int Style_MouseOver = 0x00002000; - public static final int Style_Up = 0x00004000; - public static final int Style_Selected = 0x00008000; - public static final int Style_Active = 0x00010000; - public static final int Style_ButtonDefault = 0x00020000; - - public static final int CE_PushButton = 0; - public static final int CE_PushButtonLabel = 1; - public static final int CE_CheckBox = 2; - public static final int CE_CheckBoxLabel = 3; - public static final int CE_RadioButton = 4; - public static final int CE_RadioButtonLabel = 5; - public static final int CE_TabBarTab = 6; - public static final int CE_TabBarLabel = 7; - public static final int CE_ProgressBarGroove = 8; - public static final int CE_ProgressBarContents = 9; - public static final int CE_ProgressBarLabel = 10; - public static final int CE_PopupMenuItem = 11; - public static final int CE_MenuBarItem = 12; - public static final int CE_ToolButtonLabel = 13; - public static final int CE_MenuBarEmptyArea = 14; - public static final int CE_PopupMenuScroller = 15; - public static final int CE_DockWindowEmptyArea = 16; - public static final int CE_PopupMenuVerticalExtra = 17; - public static final int CE_PopupMenuHorizontalExtra = 18; - public static final int CE_ToolBoxTab = 19; - public static final int CE_HeaderLabel = 20; - public static final int CE_CustomBase = 0xf0000000; - - public static final int SR_PushButtonContents = 0; - public static final int SR_PushButtonFocusRect = 1; - public static final int SR_CheckBoxIndicator = 2; - public static final int SR_CheckBoxContents = 3; - public static final int SR_CheckBoxFocusRect = 4; - public static final int SR_RadioButtonIndicator = 5; - public static final int SR_RadioButtonContents = 6; - public static final int SR_RadioButtonFocusRect = 7; - public static final int SR_ComboBoxFocusRect = 8; - public static final int SR_SliderFocusRect = 9; - public static final int SR_DockWindowHandleRect = 10; - public static final int SR_ProgressBarGroove = 11; - public static final int SR_ProgressBarContents = 12; - public static final int SR_ProgressBarLabel = 13; - public static final int SR_ToolButtonContents = 14; - public static final int SR_DialogButtonAccept = 15; - public static final int SR_DialogButtonReject = 16; - public static final int SR_DialogButtonApply = 17; - public static final int SR_DialogButtonHelp = 18; - public static final int SR_DialogButtonAll = 19; - public static final int SR_DialogButtonAbort = 20; - public static final int SR_DialogButtonIgnore = 21; - public static final int SR_DialogButtonRetry = 22; - public static final int SR_DialogButtonCustom = 23; - public static final int SR_ToolBoxTabContents = 24; - public static final int SR_CustomBase = 0xf0000000; - - public static final int CC_SpinWidget = 0; - public static final int CC_ComboBox = 1; - public static final int CC_ScrollBar = 2; - public static final int CC_Slider = 3; - public static final int CC_ToolButton = 4; - public static final int CC_TitleBar = 5; - public static final int CC_ListView = 6; - public static final int CC_CustomBase = 0xf0000000; - - public static final int SC_None = 0x00000000; - public static final int SC_ScrollBarAddLine = 0x00000001; - public static final int SC_ScrollBarSubLine = 0x00000002; - public static final int SC_ScrollBarAddPage = 0x00000004; - public static final int SC_ScrollBarSubPage = 0x00000008; - public static final int SC_ScrollBarFirst = 0x00000010; - public static final int SC_ScrollBarLast = 0x00000020; - public static final int SC_ScrollBarSlider = 0x00000040; - public static final int SC_ScrollBarGroove = 0x00000080; - public static final int SC_SpinWidgetUp = 0x00000001; - public static final int SC_SpinWidgetDown = 0x00000002; - public static final int SC_SpinWidgetFrame = 0x00000004; - public static final int SC_SpinWidgetEditField = 0x00000008; - public static final int SC_SpinWidgetButtonField = 0x00000010; - public static final int SC_ComboBoxFrame = 0x00000001; - public static final int SC_ComboBoxEditField = 0x00000002; - public static final int SC_ComboBoxArrow = 0x00000004; - public static final int SC_ComboBoxListBoxPopup = 0x00000008; - public static final int SC_SliderGroove = 0x00000001; - public static final int SC_SliderHandle = 0x00000002; - public static final int SC_SliderTickmarks = 0x00000004; - public static final int SC_ToolButton = 0x00000001; - public static final int SC_ToolButtonMenu = 0x00000002; - public static final int SC_TitleBarLabel = 0x00000001; - public static final int SC_TitleBarSysMenu = 0x00000002; - public static final int SC_TitleBarMinButton = 0x00000004; - public static final int SC_TitleBarMaxButton = 0x00000008; - public static final int SC_TitleBarCloseButton = 0x00000010; - public static final int SC_TitleBarNormalButton = 0x00000020; - public static final int SC_TitleBarShadeButton = 0x00000040; - public static final int SC_TitleBarUnshadeButton = 0x00000080; - public static final int SC_ListView = 0x00000001; - public static final int SC_ListViewBranch = 0x00000002; - public static final int SC_ListViewExpand = 0x00000004; - public static final int SC_All = 0xffffffff; - - public static final int PM_ButtonMargin = 0; - public static final int PM_ButtonDefaultIndicator = 1; - public static final int PM_MenuButtonIndicator = 2; - public static final int PM_ButtonShiftHorizontal = 3; - public static final int PM_ButtonShiftVertical = 4; - public static final int PM_DefaultFrameWidth = 5; - public static final int PM_SpinBoxFrameWidth = 6; - public static final int PM_MaximumDragDistance = 7; - public static final int PM_ScrollBarExtent = 8; - public static final int PM_ScrollBarSliderMin = 9; - public static final int PM_SliderThickness = 10; - public static final int PM_SliderControlThickness = 11; - public static final int PM_SliderLength = 12; - public static final int PM_SliderTickmarkOffset = 13; - public static final int PM_SliderSpaceAvailable = 14; - public static final int PM_DockWindowSeparatorExtent = 15; - public static final int PM_DockWindowHandleExtent = 16; - public static final int PM_DockWindowFrameWidth = 17; - public static final int PM_MenuBarFrameWidth = 18; - public static final int PM_TabBarTabOverlap = 19; - public static final int PM_TabBarTabHSpace = 20; - public static final int PM_TabBarTabVSpace = 21; - public static final int PM_TabBarBaseHeight = 22; - public static final int PM_TabBarBaseOverlap = 23; - public static final int PM_ProgressBarChunkWidth = 24; - public static final int PM_SplitterWidth = 25; - public static final int PM_TitleBarHeight = 26; - public static final int PM_IndicatorWidth = 27; - public static final int PM_IndicatorHeight = 28; - public static final int PM_ExclusiveIndicatorWidth = 29; - public static final int PM_ExclusiveIndicatorHeight = 30; - public static final int PM_PopupMenuScrollerHeight = 31; - public static final int PM_CheckListButtonSize = 32; - public static final int PM_CheckListControllerSize = 33; - public static final int PM_PopupMenuFrameHorizontalExtra = 34; - public static final int PM_PopupMenuFrameVerticalExtra = 35; - public static final int PM_DialogButtonsSeparator = 36; - public static final int PM_DialogButtonsButtonWidth = 37; - public static final int PM_DialogButtonsButtonHeight = 38; - public static final int PM_MDIFrameWidth = 39; - public static final int PM_MDIMinimizedWidth = 40; - public static final int PM_HeaderMargin = 41; - public static final int PM_HeaderMarkSize = 42; - public static final int PM_HeaderGripMargin = 43; - public static final int PM_TabBarTabShiftHorizontal = 44; - public static final int PM_TabBarTabShiftVertical = 45; - public static final int PM_TabBarScrollButtonWidth = 46; - public static final int PM_MenuBarItemSpacing = 47; - public static final int PM_ToolBarItemSpacing = 48; - public static final int PM_CustomBase = 0xf0000000; - - public static final int CT_PushButton = 0; - public static final int CT_CheckBox = 1; - public static final int CT_RadioButton = 2; - public static final int CT_ToolButton = 3; - public static final int CT_ComboBox = 4; - public static final int CT_Splitter = 5; - public static final int CT_DockWindow = 6; - public static final int CT_ProgressBar = 7; - public static final int CT_PopupMenuItem = 8; - public static final int CT_TabBarTab = 9; - public static final int CT_Slider = 10; - public static final int CT_Header = 11; - public static final int CT_LineEdit = 12; - public static final int CT_MenuBar = 13; - public static final int CT_SpinBox = 14; - public static final int CT_SizeGrip = 15; - public static final int CT_TabWidget = 16; - public static final int CT_DialogButtons = 17; - public static final int CT_CustomBase = 0xf0000000; - - public static final int SH_EtchDisabledText = 0; - public static final int SH_GUIStyle = 1; - public static final int SH_ScrollBar_BackgroundMode = 2; - public static final int SH_ScrollBar_MiddleClickAbsolutePosition = 3; - public static final int SH_ScrollBar_ScrollWhenPointerLeavesControl = 4; - public static final int SH_TabBar_SelectMouseType = 5; - public static final int SH_TabBar_Alignment = 6; - public static final int SH_Header_ArrowAlignment = 7; - public static final int SH_Slider_SnapToValue = 8; - public static final int SH_Slider_SloppyKeyEvents = 9; - public static final int SH_ProgressDialog_CenterCancelButton = 10; - public static final int SH_ProgressDialog_TextLabelAlignment = 11; - public static final int SH_PrintDialog_RightAlignButtons = 12; - public static final int SH_MainWindow_SpaceBelowMenuBar = 13; - public static final int SH_FontDialog_SelectAssociatedText = 14; - public static final int SH_PopupMenu_AllowActiveAndDisabled = 15; - public static final int SH_PopupMenu_SpaceActivatesItem = 16; - public static final int SH_PopupMenu_SubMenuPopupDelay = 17; - public static final int SH_ScrollView_FrameOnlyAroundContents = 18; - public static final int SH_MenuBar_AltKeyNavigation = 19; - public static final int SH_ComboBox_ListMouseTracking = 20; - public static final int SH_PopupMenu_MouseTracking = 21; - public static final int SH_MenuBar_MouseTracking = 22; - public static final int SH_ItemView_ChangeHighlightOnFocus = 23; - public static final int SH_Widget_ShareActivation = 24; - public static final int SH_Workspace_FillSpaceOnMaximize = 25; - public static final int SH_ComboBox_Popup = 26; - public static final int SH_TitleBar_NoBorder = 27; - public static final int SH_ScrollBar_StopMouseOverSlider = 28; - public static final int SH_BlinkCursorWhenTextSelected = 29; - public static final int SH_RichText_FullWidthSelection = 30; - public static final int SH_PopupMenu_Scrollable = 31; - public static final int SH_GroupBox_TextLabelVerticalAlignment = 32; - public static final int SH_GroupBox_TextLabelColor = 33; - public static final int SH_PopupMenu_SloppySubMenus = 34; - public static final int SH_Table_GridLineColor = 35; - public static final int SH_LineEdit_PasswordCharacter = 36; - public static final int SH_DialogButtons_DefaultButton = 37; - public static final int SH_ToolBox_SelectedPageTitleBold = 38; - public static final int SH_TabBar_PreferNoArrows = 39; - public static final int SH_ScrollBar_LeftClickAbsolutePosition = 40; - public static final int SH_ListViewExpand_SelectMouseType = 41; - public static final int SH_UnderlineAccelerator = 42; - public static final int SH_ToolButton_Uses3D = 43; - public static final int SH_CustomBase = 0xf0000000; - - public static final int SP_TitleBarMinButton = 0; - public static final int SP_TitleBarMaxButton = 1; - public static final int SP_TitleBarCloseButton = 2; - public static final int SP_TitleBarNormalButton = 3; - public static final int SP_TitleBarShadeButton = 4; - public static final int SP_TitleBarUnshadeButton = 5; - public static final int SP_DockWindowCloseButton = 6; - public static final int SP_MessageBoxInformation = 7; - public static final int SP_MessageBoxWarning = 8; - public static final int SP_MessageBoxCritical = 9; - public static final int SP_MessageBoxQuestion = 10; - public static final int SP_CustomBase = 0xf0000000; - - public native TQMetaObject metaObject(); - public native String className(); - public native void polish(TQWidget arg1); - public native void unPolish(TQWidget arg1); - public native void polish(TQApplication arg1); - public native void unPolish(TQApplication arg1); - public native void polish(TQPalette arg1); - public native void polishPopupMenu(TQPopupMenu arg1); - public native TQRect itemRect(TQPainter p, TQRect r, int flags, boolean enabled, TQPixmap pixmap, String text, int len); - public native TQRect itemRect(TQPainter p, TQRect r, int flags, boolean enabled, TQPixmap pixmap, String text); - public native void drawItem(TQPainter p, TQRect r, int flags, TQColorGroup g, boolean enabled, TQPixmap pixmap, String text, int len, TQColor penColor); - public native void drawItem(TQPainter p, TQRect r, int flags, TQColorGroup g, boolean enabled, TQPixmap pixmap, String text, int len); - public native void drawItem(TQPainter p, TQRect r, int flags, TQColorGroup g, boolean enabled, TQPixmap pixmap, String text); - public native void drawPrimitive(int pe, TQPainter p, TQRect r, TQColorGroup cg, int flags, TQStyleOption arg6); - public native void drawPrimitive(int pe, TQPainter p, TQRect r, TQColorGroup cg, int flags); - public native void drawPrimitive(int pe, TQPainter p, TQRect r, TQColorGroup cg); - public native void drawControl(int element, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, int how, TQStyleOption arg7); - public native void drawControl(int element, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, int how); - public native void drawControl(int element, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg); - public native void drawControlMask(int element, TQPainter p, TQWidget widget, TQRect r, TQStyleOption arg5); - public native void drawControlMask(int element, TQPainter p, TQWidget widget, TQRect r); - public native TQRect subRect(int r, TQWidget widget); - public native void drawComplexControl(int control, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, int how, int sub, int subActive, TQStyleOption arg9); - public native void drawComplexControl(int control, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, int how, int sub, int subActive); - public native void drawComplexControl(int control, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, int how, int sub); - public native void drawComplexControl(int control, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, int how); - public native void drawComplexControl(int control, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg); - public native void drawComplexControlMask(int control, TQPainter p, TQWidget widget, TQRect r, TQStyleOption arg5); - public native void drawComplexControlMask(int control, TQPainter p, TQWidget widget, TQRect r); - public native TQRect querySubControlMetrics(int control, TQWidget widget, int sc, TQStyleOption arg4); - public native TQRect querySubControlMetrics(int control, TQWidget widget, int sc); - public native int querySubControl(int control, TQWidget widget, TQPoint pos, TQStyleOption arg4); - public native int querySubControl(int control, TQWidget widget, TQPoint pos); - public native int pixelMetric(int metric, TQWidget widget); - public native int pixelMetric(int metric); - public native TQSize sizeFromContents(int contents, TQWidget widget, TQSize contentsSize, TQStyleOption arg4); - public native TQSize sizeFromContents(int contents, TQWidget widget, TQSize contentsSize); - // int styleHint(TQStyle::StyleHint arg1,const TQWidget* arg2,const TQStyleOption& arg3,TQStyleHintReturn* arg4); >>>> NOT CONVERTED - public native int styleHint(int stylehint, TQWidget widget, TQStyleOption arg3); - public native int styleHint(int stylehint, TQWidget widget); - public native int styleHint(int stylehint); - public native TQPixmap stylePixmap(int stylepixmap, TQWidget widget, TQStyleOption arg3); - public native TQPixmap stylePixmap(int stylepixmap, TQWidget widget); - public native TQPixmap stylePixmap(int stylepixmap); - public native int defaultFrameWidth(); - public native void tabbarMetrics(TQWidget t, int[] hf, int[] vf, int[] ov); - public native TQSize scrollBarExtent(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - public static native TQRect visualRect(TQRect logical, TQWidget w); - public static native TQRect visualRect(TQRect logical, TQRect bounding); -} diff --git a/qtjava/javalib/org/kde/qt/QStyleFactory.java b/qtjava/javalib/org/kde/qt/QStyleFactory.java deleted file mode 100644 index f0970703..00000000 --- a/qtjava/javalib/org/kde/qt/QStyleFactory.java +++ /dev/null @@ -1,24 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.ArrayList; - -public class TQStyleFactory implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQStyleFactory(Class dummy){} - - public TQStyleFactory() { - newTQStyleFactory(); - } - private native void newTQStyleFactory(); - public static native ArrayList keys(); - public static native TQStyle create(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/qtjava/javalib/org/kde/qt/QStyleOption.java b/qtjava/javalib/org/kde/qt/QStyleOption.java deleted file mode 100644 index 0c37792c..00000000 --- a/qtjava/javalib/org/kde/qt/QStyleOption.java +++ /dev/null @@ -1,88 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQStyleOption implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQStyleOption(Class dummy){} - - public static final int Default = 0; - - public TQStyleOption(int arg1) { - newTQStyleOption(arg1); - } - private native void newTQStyleOption(int arg1); - public TQStyleOption() { - newTQStyleOption(); - } - private native void newTQStyleOption(); - public TQStyleOption(int in1, int in2) { - newTQStyleOption(in1,in2); - } - private native void newTQStyleOption(int in1, int in2); - public TQStyleOption(int in1, int in2, int in3, int in4) { - newTQStyleOption(in1,in2,in3,in4); - } - private native void newTQStyleOption(int in1, int in2, int in3, int in4); - public TQStyleOption(TQMenuItem m) { - newTQStyleOption(m); - } - private native void newTQStyleOption(TQMenuItem m); - public TQStyleOption(TQMenuItem m, int in1) { - newTQStyleOption(m,in1); - } - private native void newTQStyleOption(TQMenuItem m, int in1); - public TQStyleOption(TQMenuItem m, int in1, int in2) { - newTQStyleOption(m,in1,in2); - } - private native void newTQStyleOption(TQMenuItem m, int in1, int in2); - public TQStyleOption(TQColor c) { - newTQStyleOption(c); - } - private native void newTQStyleOption(TQColor c); - public TQStyleOption(TQTab t) { - newTQStyleOption(t); - } - private native void newTQStyleOption(TQTab t); - public TQStyleOption(TQListViewItem i) { - newTQStyleOption(i); - } - private native void newTQStyleOption(TQListViewItem i); - public TQStyleOption(TQCheckListItem i) { - newTQStyleOption(i); - } - private native void newTQStyleOption(TQCheckListItem i); - public TQStyleOption(TQRect r) { - newTQStyleOption(r); - } - private native void newTQStyleOption(TQRect r); - public TQStyleOption(TQWidget w) { - newTQStyleOption(w); - } - private native void newTQStyleOption(TQWidget w); - public native boolean isDefault(); - public native int day(); - public native int lineWidth(); - public native int midLineWidth(); - public native int frameShape(); - public native int frameShadow(); - public native int headerSection(); - public native TQMenuItem menuItem(); - public native int maxIconWidth(); - public native int tabWidth(); - public native TQColor color(); - public native TQTab tab(); - public native TQCheckListItem checkListItem(); - public native TQListViewItem listViewItem(); - public native int arrowType(); - public native TQRect rect(); - public native TQWidget widget(); - /** 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/qtjava/javalib/org/kde/qt/QStyleSheet.java b/qtjava/javalib/org/kde/qt/QStyleSheet.java deleted file mode 100644 index cecc9190..00000000 --- a/qtjava/javalib/org/kde/qt/QStyleSheet.java +++ /dev/null @@ -1,44 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQStyleSheet extends TQObject { - protected TQStyleSheet(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQStyleSheet(TQObject parent, String name) { - super((Class) null); - newTQStyleSheet(parent,name); - } - private native void newTQStyleSheet(TQObject parent, String name); - public TQStyleSheet(TQObject parent) { - super((Class) null); - newTQStyleSheet(parent); - } - private native void newTQStyleSheet(TQObject parent); - public TQStyleSheet() { - super((Class) null); - newTQStyleSheet(); - } - private native void newTQStyleSheet(); - public native TQStyleSheetItem item(String name); - public native void insert(TQStyleSheetItem item); - // TQTextCustomItem* tag(const TQString& arg1,const TQMap& arg2,const TQString& arg3,const TQMimeSourceFactory& arg4,bool arg5,TQTextDocument* arg6); >>>> NOT CONVERTED - public native void scaleFont(TQFont font, int logicalSize); - public native void error(String arg1); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - public static native TQStyleSheet defaultSheet(); - public static native void setDefaultSheet(TQStyleSheet arg1); - public static native String escape(String arg1); - public static native String convertFromPlainText(String arg1, int mode); - public static native String convertFromPlainText(String arg1); - public static native boolean mightBeRichText(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/qtjava/javalib/org/kde/qt/QStyleSheetItem.java b/qtjava/javalib/org/kde/qt/QStyleSheetItem.java deleted file mode 100644 index ec966e51..00000000 --- a/qtjava/javalib/org/kde/qt/QStyleSheetItem.java +++ /dev/null @@ -1,105 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQStyleSheetItem extends Qt { - protected TQStyleSheetItem(Class dummy){super((Class) null);} - public static final int Undefined = -1; - - public static final int DisplayBlock = 0; - public static final int DisplayInline = 1; - public static final int DisplayListItem = 2; - public static final int DisplayNone = 3; - public static final int DisplayModeUndefined = -1; - - public static final int VAlignBaseline = 0; - public static final int VAlignSub = 1; - public static final int VAlignSuper = 2; - - public static final int WhiteSpaceNormal = 0; - public static final int WhiteSpacePre = 1; - public static final int WhiteSpaceNoWrap = 2; - public static final int WhiteSpaceModeUndefined = -1; - - public static final int MarginLeft = 0; - public static final int MarginRight = 1; - public static final int MarginTop = 2; - public static final int MarginBottom = 3; - public static final int MarginFirstLine = 4; - public static final int MarginAll = 5; - public static final int MarginVertical = 6; - public static final int MarginHorizontal = 7; - public static final int MarginUndefined = -1; - - public static final int ListDisc = 0; - public static final int ListCircle = 1; - public static final int ListSquare = 2; - public static final int ListDecimal = 3; - public static final int ListLowerAlpha = 4; - public static final int ListUpperAlpha = 5; - public static final int ListStyleUndefined = -1; - - public TQStyleSheetItem(TQStyleSheet parent, String name) { - super((Class) null); - newTQStyleSheetItem(parent,name); - } - private native void newTQStyleSheetItem(TQStyleSheet parent, String name); - public TQStyleSheetItem(TQStyleSheetItem arg1) { - super((Class) null); - newTQStyleSheetItem(arg1); - } - private native void newTQStyleSheetItem(TQStyleSheetItem arg1); - public native String name(); - public native TQStyleSheet styleSheet(); - public native int displayMode(); - public native void setDisplayMode(int m); - public native int alignment(); - public native void setAlignment(int f); - public native int verticalAlignment(); - public native void setVerticalAlignment(int valign); - public native int fontWeight(); - public native void setFontWeight(int w); - public native int logicalFontSize(); - public native void setLogicalFontSize(int s); - public native int logicalFontSizeStep(); - public native void setLogicalFontSizeStep(int s); - public native int fontSize(); - public native void setFontSize(int s); - public native String fontFamily(); - public native void setFontFamily(String arg1); - public native int numberOfColumns(); - public native void setNumberOfColumns(int ncols); - public native TQColor color(); - public native void setColor(TQColor arg1); - public native boolean fontItalic(); - public native void setFontItalic(boolean arg1); - public native boolean definesFontItalic(); - public native boolean fontUnderline(); - public native void setFontUnderline(boolean arg1); - public native boolean definesFontUnderline(); - public native boolean fontStrikeOut(); - public native void setFontStrikeOut(boolean arg1); - public native boolean definesFontStrikeOut(); - public native boolean isAnchor(); - public native void setAnchor(boolean anc); - public native int whiteSpaceMode(); - public native void setWhiteSpaceMode(int m); - public native int margin(int m); - public native void setMargin(int arg1, int arg2); - public native int listStyle(); - public native void setListStyle(int arg1); - public native String contexts(); - public native void setContexts(String arg1); - public native boolean allowedInContext(TQStyleSheetItem arg1); - public native boolean selfNesting(); - public native void setSelfNesting(boolean arg1); - public native void setLineSpacing(int ls); - public native int lineSpacing(); - /** 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/qtjava/javalib/org/kde/qt/QSyntaxHighlighter.java b/qtjava/javalib/org/kde/qt/QSyntaxHighlighter.java deleted file mode 100644 index ea0089a7..00000000 --- a/qtjava/javalib/org/kde/qt/QSyntaxHighlighter.java +++ /dev/null @@ -1,15 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQSyntaxHighlighter extends Qt { - protected TQSyntaxHighlighter(Class dummy){super((Class) null);} - public native int highlightParagraph(String text, int endStateOfLastPara); - public native void setFormat(int start, int count, TQFont font, TQColor color); - public native void setFormat(int start, int count, TQColor color); - public native void setFormat(int start, int count, TQFont font); - public native TQTextEdit textEdit(); - public native void rehighlight(); - public native int currentParagraph(); -} diff --git a/qtjava/javalib/org/kde/qt/QTab.java b/qtjava/javalib/org/kde/qt/QTab.java deleted file mode 100644 index 28c2fd88..00000000 --- a/qtjava/javalib/org/kde/qt/QTab.java +++ /dev/null @@ -1,44 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQTab extends Qt { - protected TQTab(Class dummy){super((Class) null);} - public TQTab() { - super((Class) null); - newTQTab(); - } - private native void newTQTab(); - public TQTab(String text) { - super((Class) null); - newTQTab(text); - } - private native void newTQTab(String text); - public TQTab(TQIconSet icon, String text) { - super((Class) null); - newTQTab(icon,text); - } - private native void newTQTab(TQIconSet icon, String text); - public TQTab(TQIconSet icon) { - super((Class) null); - newTQTab(icon); - } - private native void newTQTab(TQIconSet icon); - public native void setText(String text); - public native String text(); - public native void setIconSet(TQIconSet icon); - public native TQIconSet iconSet(); - public native void setRect(TQRect rect); - public native TQRect rect(); - public native void setEnabled(boolean enable); - public native boolean isEnabled(); - public native void setIdentifier(int i); - public native int identifier(); - /** 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/qtjava/javalib/org/kde/qt/QTabBar.java b/qtjava/javalib/org/kde/qt/QTabBar.java deleted file mode 100644 index b4b283d1..00000000 --- a/qtjava/javalib/org/kde/qt/QTabBar.java +++ /dev/null @@ -1,79 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQTabBarSignals} for signals emitted by TQTabBar -*/ -public class TQTabBar extends TQWidget { - protected TQTabBar(Class dummy){super((Class) null);} - public static final int RoundedAbove = 0; - public static final int RoundedBelow = 1; - public static final int TriangularAbove = 2; - public static final int TriangularBelow = 3; - - public native TQMetaObject metaObject(); - public native String className(); - public TQTabBar(TQWidget parent, String name) { - super((Class) null); - newTQTabBar(parent,name); - } - private native void newTQTabBar(TQWidget parent, String name); - public TQTabBar(TQWidget parent) { - super((Class) null); - newTQTabBar(parent); - } - private native void newTQTabBar(TQWidget parent); - public TQTabBar() { - super((Class) null); - newTQTabBar(); - } - private native void newTQTabBar(); - public native int shape(); - public native void setShape(int arg1); - public native void show(); - public native int addTab(TQTab arg1); - public native int insertTab(TQTab arg1, int index); - public native int insertTab(TQTab arg1); - public native void removeTab(TQTab arg1); - public native void setTabEnabled(int arg1, boolean arg2); - public native boolean isTabEnabled(int arg1); - public native TQSize sizeHint(); - public native TQSize minimumSizeHint(); - public native int currentTab(); - public native int keyboardFocusTab(); - public native TQTab tab(int arg1); - public native TQTab tabAt(int arg1); - public native int indexOf(int arg1); - public native int count(); - public native void layoutTabs(); - public native TQTab selectTab(TQPoint p); - public native void removeToolTip(int index); - public native void setToolTip(int index, String tip); - public native String toolTip(int index); - public native void setCurrentTab(int arg1); - public native void setCurrentTab(TQTab arg1); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void paint(TQPainter arg1, TQTab arg2, boolean arg3); - protected native void paintLabel(TQPainter arg1, TQRect arg2, TQTab arg3, boolean arg4); - protected native void focusInEvent(TQFocusEvent e); - protected native void focusOutEvent(TQFocusEvent e); - protected native void resizeEvent(TQResizeEvent arg1); - protected native void paintEvent(TQPaintEvent arg1); - protected native void mousePressEvent(TQMouseEvent arg1); - protected native void mouseMoveEvent(TQMouseEvent arg1); - protected native void mouseReleaseEvent(TQMouseEvent arg1); - protected native void keyPressEvent(TQKeyEvent arg1); - public native void styleChange(TQStyle arg1); - protected native void fontChange(TQFont arg1); - public native boolean event(TQEvent e); - // TQPtrList* tabList(); >>>> 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/qtjava/javalib/org/kde/qt/QTabBarSignals.java b/qtjava/javalib/org/kde/qt/QTabBarSignals.java deleted file mode 100644 index 4f3a5e44..00000000 --- a/qtjava/javalib/org/kde/qt/QTabBarSignals.java +++ /dev/null @@ -1,8 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQTabBarSignals { - void selected(int arg1); - void layoutChanged(); -} diff --git a/qtjava/javalib/org/kde/qt/QTabDialog.java b/qtjava/javalib/org/kde/qt/QTabDialog.java deleted file mode 100644 index f8c0008d..00000000 --- a/qtjava/javalib/org/kde/qt/QTabDialog.java +++ /dev/null @@ -1,89 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQTabDialogSignals} for signals emitted by TQTabDialog -*/ -public class TQTabDialog extends TQDialog { - protected TQTabDialog(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQTabDialog(TQWidget parent, String name, boolean modal, int f) { - super((Class) null); - newTQTabDialog(parent,name,modal,f); - } - private native void newTQTabDialog(TQWidget parent, String name, boolean modal, int f); - public TQTabDialog(TQWidget parent, String name, boolean modal) { - super((Class) null); - newTQTabDialog(parent,name,modal); - } - private native void newTQTabDialog(TQWidget parent, String name, boolean modal); - public TQTabDialog(TQWidget parent, String name) { - super((Class) null); - newTQTabDialog(parent,name); - } - private native void newTQTabDialog(TQWidget parent, String name); - public TQTabDialog(TQWidget parent) { - super((Class) null); - newTQTabDialog(parent); - } - private native void newTQTabDialog(TQWidget parent); - public TQTabDialog() { - super((Class) null); - newTQTabDialog(); - } - private native void newTQTabDialog(); - public native void show(); - public native void setFont(TQFont font); - public native void addTab(TQWidget arg1, String arg2); - public native void addTab(TQWidget child, TQIconSet iconset, String label); - public native void addTab(TQWidget arg1, TQTab arg2); - public native void insertTab(TQWidget arg1, String arg2, int index); - public native void insertTab(TQWidget arg1, String arg2); - public native void insertTab(TQWidget child, TQIconSet iconset, String label, int index); - public native void insertTab(TQWidget child, TQIconSet iconset, String label); - public native void insertTab(TQWidget arg1, TQTab arg2, int index); - public native void insertTab(TQWidget arg1, TQTab arg2); - public native void changeTab(TQWidget arg1, String arg2); - public native void changeTab(TQWidget child, TQIconSet iconset, String label); - public native boolean isTabEnabled(TQWidget arg1); - public native void setTabEnabled(TQWidget arg1, boolean arg2); - public native boolean isTabEnabled(String arg1); - public native void setTabEnabled(String arg1, boolean arg2); - public native void showPage(TQWidget arg1); - public native void removePage(TQWidget arg1); - public native String tabLabel(TQWidget arg1); - public native TQWidget currentPage(); - public native void setDefaultButton(String text); - public native void setDefaultButton(); - public native boolean hasDefaultButton(); - public native void setHelpButton(String text); - public native void setHelpButton(); - public native boolean hasHelpButton(); - public native void setCancelButton(String text); - public native void setCancelButton(); - public native boolean hasCancelButton(); - public native void setApplyButton(String text); - public native void setApplyButton(); - public native boolean hasApplyButton(); - public native void setOKButton(String text); - public native void setOKButton(); - public native void setOkButton(String text); - public native void setOkButton(); - public native boolean hasOkButton(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void paintEvent(TQPaintEvent arg1); - protected native void resizeEvent(TQResizeEvent arg1); - public native void styleChange(TQStyle arg1); - protected native void setTabBar(TQTabBar arg1); - protected native TQTabBar tabBar(); - /** 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/qtjava/javalib/org/kde/qt/QTabDialogSignals.java b/qtjava/javalib/org/kde/qt/QTabDialogSignals.java deleted file mode 100644 index 9e709fc9..00000000 --- a/qtjava/javalib/org/kde/qt/QTabDialogSignals.java +++ /dev/null @@ -1,13 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQTabDialogSignals { - void aboutToShow(); - void applyButtonPressed(); - void cancelButtonPressed(); - void defaultButtonPressed(); - void helpButtonPressed(); - void currentChanged(TQWidget arg1); - void selected(String arg1); -} diff --git a/qtjava/javalib/org/kde/qt/QTabWidget.java b/qtjava/javalib/org/kde/qt/QTabWidget.java deleted file mode 100644 index 92cd59ff..00000000 --- a/qtjava/javalib/org/kde/qt/QTabWidget.java +++ /dev/null @@ -1,95 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQTabWidgetSignals} for signals emitted by TQTabWidget -*/ -public class TQTabWidget extends TQWidget { - protected TQTabWidget(Class dummy){super((Class) null);} - public static final int Top = 0; - public static final int Bottom = 1; - - public static final int Rounded = 0; - public static final int Triangular = 1; - - public native TQMetaObject metaObject(); - public native String className(); - public TQTabWidget(TQWidget parent, String name, int f) { - super((Class) null); - newTQTabWidget(parent,name,f); - } - private native void newTQTabWidget(TQWidget parent, String name, int f); - public TQTabWidget(TQWidget parent, String name) { - super((Class) null); - newTQTabWidget(parent,name); - } - private native void newTQTabWidget(TQWidget parent, String name); - public TQTabWidget(TQWidget parent) { - super((Class) null); - newTQTabWidget(parent); - } - private native void newTQTabWidget(TQWidget parent); - public TQTabWidget() { - super((Class) null); - newTQTabWidget(); - } - private native void newTQTabWidget(); - public native void addTab(TQWidget arg1, String arg2); - public native void addTab(TQWidget child, TQIconSet iconset, String label); - public native void addTab(TQWidget arg1, TQTab arg2); - public native void insertTab(TQWidget arg1, String arg2, int index); - public native void insertTab(TQWidget arg1, String arg2); - public native void insertTab(TQWidget child, TQIconSet iconset, String label, int index); - public native void insertTab(TQWidget child, TQIconSet iconset, String label); - public native void insertTab(TQWidget arg1, TQTab arg2, int index); - public native void insertTab(TQWidget arg1, TQTab arg2); - public native void changeTab(TQWidget arg1, String arg2); - public native void changeTab(TQWidget child, TQIconSet iconset, String label); - public native boolean isTabEnabled(TQWidget arg1); - public native void setTabEnabled(TQWidget arg1, boolean arg2); - public native void setCornerWidget(TQWidget w, int corner); - public native void setCornerWidget(TQWidget w); - public native TQWidget cornerWidget(int corner); - public native TQWidget cornerWidget(); - public native String tabLabel(TQWidget arg1); - public native void setTabLabel(TQWidget p, String l); - public native TQIconSet tabIconSet(TQWidget w); - public native void setTabIconSet(TQWidget w, TQIconSet iconset); - public native void removeTabToolTip(TQWidget w); - public native void setTabToolTip(TQWidget w, String tip); - public native String tabToolTip(TQWidget w); - public native TQWidget currentPage(); - public native TQWidget page(int arg1); - public native String label(int arg1); - public native int currentPageIndex(); - public native int indexOf(TQWidget arg1); - public native TQSize sizeHint(); - public native TQSize minimumSizeHint(); - public native int tabPosition(); - public native void setTabPosition(int arg1); - public native int tabShape(); - public native void setTabShape(int s); - public native int margin(); - public native void setMargin(int arg1); - public native int count(); - public native void setCurrentPage(int arg1); - public native void showPage(TQWidget arg1); - public native void removePage(TQWidget arg1); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - public native void showEvent(TQShowEvent arg1); - protected native void resizeEvent(TQResizeEvent arg1); - protected native void setTabBar(TQTabBar arg1); - protected native TQTabBar tabBar(); - public native void styleChange(TQStyle arg1); - protected native void updateMask(); - public native boolean eventFilter(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/qtjava/javalib/org/kde/qt/QTabWidgetSignals.java b/qtjava/javalib/org/kde/qt/QTabWidgetSignals.java deleted file mode 100644 index 106f6d78..00000000 --- a/qtjava/javalib/org/kde/qt/QTabWidgetSignals.java +++ /dev/null @@ -1,8 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQTabWidgetSignals { - void currentChanged(TQWidget arg1); - void selected(String arg1); -} diff --git a/qtjava/javalib/org/kde/qt/QTable.java b/qtjava/javalib/org/kde/qt/QTable.java deleted file mode 100644 index 622e9391..00000000 --- a/qtjava/javalib/org/kde/qt/QTable.java +++ /dev/null @@ -1,212 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQTableSignals} for signals emitted by TQTable -*/ -public class TQTable extends TQScrollView { - protected TQTable(Class dummy){super((Class) null);} - public static final int Single = 0; - public static final int Multi = 1; - public static final int SingleRow = 2; - public static final int MultiRow = 3; - public static final int NoSelection = 4; - - public static final int FollowStyle = 0; - public static final int SpreadSheet = 1; - - public static final int NotEditing = 0; - public static final int Editing = 1; - public static final int Replacing = 2; - - public native TQMetaObject metaObject(); - public native String className(); - public TQTable(TQWidget parent, String name) { - super((Class) null); - newTQTable(parent,name); - } - private native void newTQTable(TQWidget parent, String name); - public TQTable(TQWidget parent) { - super((Class) null); - newTQTable(parent); - } - private native void newTQTable(TQWidget parent); - public TQTable() { - super((Class) null); - newTQTable(); - } - private native void newTQTable(); - public TQTable(int numRows, int numCols, TQWidget parent, String name) { - super((Class) null); - newTQTable(numRows,numCols,parent,name); - } - private native void newTQTable(int numRows, int numCols, TQWidget parent, String name); - public TQTable(int numRows, int numCols, TQWidget parent) { - super((Class) null); - newTQTable(numRows,numCols,parent); - } - private native void newTQTable(int numRows, int numCols, TQWidget parent); - public TQTable(int numRows, int numCols) { - super((Class) null); - newTQTable(numRows,numCols); - } - private native void newTQTable(int numRows, int numCols); - public native TQHeader horizontalHeader(); - public native TQHeader verticalHeader(); - public native void setSelectionMode(int mode); - public native int selectionMode(); - public native void setItem(int row, int col, TQTableItem item); - public native void setText(int row, int col, String text); - public native void setPixmap(int row, int col, TQPixmap pix); - public native TQTableItem item(int row, int col); - public native String text(int row, int col); - public native TQPixmap pixmap(int row, int col); - public native void clearCell(int row, int col); - public native TQRect cellGeometry(int row, int col); - public native int columnWidth(int col); - public native int rowHeight(int row); - public native int columnPos(int col); - public native int rowPos(int row); - public native int columnAt(int x); - public native int rowAt(int y); - public native int numRows(); - public native int numCols(); - public native void updateCell(int row, int col); - public native boolean eventFilter(TQObject o, TQEvent arg2); - public native int currentRow(); - public native int currentColumn(); - public native void ensureCellVisible(int row, int col); - public native boolean isSelected(int row, int col); - public native boolean isRowSelected(int row, boolean full); - public native boolean isRowSelected(int row); - public native boolean isColumnSelected(int col, boolean full); - public native boolean isColumnSelected(int col); - public native int numSelections(); - public native TQTableSelection selection(int num); - public native int addSelection(TQTableSelection s); - public native void removeSelection(TQTableSelection s); - public native void removeSelection(int num); - public native int currentSelection(); - public native void selectCells(int start_row, int start_col, int end_row, int end_col); - public native void selectRow(int row); - public native void selectColumn(int col); - public native boolean showGrid(); - public native boolean columnMovingEnabled(); - public native boolean rowMovingEnabled(); - public native void sortColumn(int col, boolean ascending, boolean wholeRows); - public native void sortColumn(int col, boolean ascending); - public native void sortColumn(int col); - public native boolean sortOnInsert(); - public native void takeItem(TQTableItem i); - public native void setCellWidget(int row, int col, TQWidget e); - public native TQWidget cellWidget(int row, int col); - public native void clearCellWidget(int row, int col); - public native TQRect cellRect(int row, int col); - public native void paintCell(TQPainter p, int row, int col, TQRect cr, boolean selected); - public native void paintCell(TQPainter p, int row, int col, TQRect cr, boolean selected, TQColorGroup cg); - public native void paintFocus(TQPainter p, TQRect r); - public native TQSize sizeHint(); - public native boolean isReadOnly(); - public native boolean isRowReadOnly(int row); - public native boolean isColumnReadOnly(int col); - public native void setEnabled(boolean b); - public native void repaintSelections(); - public native void setFocusStyle(int fs); - public native int focusStyle(); - public native void updateHeaderStates(); - public native void setNumRows(int r); - public native void setNumCols(int r); - public native void setShowGrid(boolean b); - public native void hideRow(int row); - public native void hideColumn(int col); - public native void showRow(int row); - public native void showColumn(int col); - public native boolean isRowHidden(int row); - public native boolean isColumnHidden(int col); - public native void setColumnWidth(int col, int w); - public native void setRowHeight(int row, int h); - public native void adjustColumn(int col); - public native void adjustRow(int row); - public native void setColumnStretchable(int col, boolean stretch); - public native void setRowStretchable(int row, boolean stretch); - public native boolean isColumnStretchable(int col); - public native boolean isRowStretchable(int row); - public native void setSorting(boolean b); - public native void swapRows(int row1, int row2, boolean swapHeader); - public native void swapRows(int row1, int row2); - public native void swapColumns(int col1, int col2, boolean swapHeader); - public native void swapColumns(int col1, int col2); - public native void swapCells(int row1, int col1, int row2, int col2); - public native void setLeftMargin(int m); - public native void setTopMargin(int m); - public native void setCurrentCell(int row, int col); - public native void clearSelection(boolean repaint); - public native void clearSelection(); - public native void setColumnMovingEnabled(boolean b); - public native void setRowMovingEnabled(boolean b); - public native void setReadOnly(boolean b); - public native void setRowReadOnly(int row, boolean ro); - public native void setColumnReadOnly(int col, boolean ro); - public native void setDragEnabled(boolean b); - public native boolean dragEnabled(); - public native void insertRows(int row, int count); - public native void insertRows(int row); - public native void insertColumns(int col, int count); - public native void insertColumns(int col); - public native void removeRow(int row); - // void removeRows(const TQMemArray& arg1); >>>> NOT CONVERTED - public native void removeColumn(int col); - // void removeColumns(const TQMemArray& arg1); >>>> NOT CONVERTED - public native void editCell(int row, int col, boolean replace); - public native void editCell(int row, int col); - public native void setRowLabels(String[] labels); - public native void setColumnLabels(String[] labels); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void drawContents(TQPainter p, int cx, int cy, int cw, int ch); - protected native void contentsMousePressEvent(TQMouseEvent arg1); - protected native void contentsMouseMoveEvent(TQMouseEvent arg1); - protected native void contentsMouseDoubleClickEvent(TQMouseEvent arg1); - protected native void contentsMouseReleaseEvent(TQMouseEvent arg1); - protected native void contentsContextMenuEvent(TQContextMenuEvent e); - protected native void keyPressEvent(TQKeyEvent arg1); - protected native void focusInEvent(TQFocusEvent arg1); - protected native void focusOutEvent(TQFocusEvent arg1); - protected native void viewportResizeEvent(TQResizeEvent arg1); - public native void showEvent(TQShowEvent e); - protected native void paintEvent(TQPaintEvent e); - // void setEditMode(TQTable::EditMode arg1,int arg2,int arg3); >>>> NOT CONVERTED - protected native void contentsDragEnterEvent(TQDragEnterEvent e); - protected native void contentsDragMoveEvent(TQDragMoveEvent e); - protected native void contentsDragLeaveEvent(TQDragLeaveEvent e); - protected native void contentsDropEvent(TQDropEvent e); - protected native TQDragObject dragObject(); - protected native void startDrag(); - protected native void paintEmptyArea(TQPainter p, int cx, int cy, int cw, int ch); - protected native void activateNextCell(); - protected native TQWidget createEditor(int row, int col, boolean initFromCell); - protected native void setCellContentFromEditor(int row, int col); - protected native TQWidget beginEdit(int row, int col, boolean replace); - protected native void endEdit(int row, int col, boolean accept, boolean replace); - protected native void resizeData(int len); - protected native void insertWidget(int row, int col, TQWidget w); - protected native int indexOf(int row, int col); - protected native void windowActivationChange(boolean arg1); - protected native boolean isEditing(); - // TQTable::EditMode editMode(); >>>> NOT CONVERTED - protected native int currEditRow(); - protected native int currEditCol(); - protected native void columnWidthChanged(int col); - protected native void rowHeightChanged(int row); - protected native void columnIndexChanged(int section, int fromIndex, int toIndex); - protected native void rowIndexChanged(int section, int fromIndex, int toIndex); - protected native void columnClicked(int 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/qtjava/javalib/org/kde/qt/QTableItem.java b/qtjava/javalib/org/kde/qt/QTableItem.java deleted file mode 100644 index fde82a7f..00000000 --- a/qtjava/javalib/org/kde/qt/QTableItem.java +++ /dev/null @@ -1,61 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQTableItem extends Qt { - protected TQTableItem(Class dummy){super((Class) null);} - public static final int Never = 0; - public static final int OnTyping = 1; - public static final int WhenCurrent = 2; - public static final int Always = 3; - - public TQTableItem(TQTable table, int et) { - super((Class) null); - newTQTableItem(table,et); - } - private native void newTQTableItem(TQTable table, int et); - public TQTableItem(TQTable table, int et, String text) { - super((Class) null); - newTQTableItem(table,et,text); - } - private native void newTQTableItem(TQTable table, int et, String text); - public TQTableItem(TQTable table, int et, String text, TQPixmap p) { - super((Class) null); - newTQTableItem(table,et,text,p); - } - private native void newTQTableItem(TQTable table, int et, String text, TQPixmap p); - public native TQPixmap pixmap(); - public native String text(); - public native void setPixmap(TQPixmap p); - public native void setText(String t); - public native TQTable table(); - public native int alignment(); - public native void setWordWrap(boolean b); - public native boolean wordWrap(); - public native int editType(); - public native TQWidget createEditor(); - public native void setContentFromEditor(TQWidget w); - public native void setReplaceable(boolean arg1); - public native boolean isReplaceable(); - public native String key(); - public native TQSize sizeHint(); - public native void setSpan(int rs, int cs); - public native int rowSpan(); - public native int colSpan(); - public native void setRow(int r); - public native void setCol(int c); - public native int row(); - public native int col(); - public native void paint(TQPainter p, TQColorGroup cg, TQRect cr, boolean selected); - public native void updateEditor(int oldRow, int oldCol); - public native void setEnabled(boolean b); - public native boolean isEnabled(); - public native int rtti(); - /** 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/qtjava/javalib/org/kde/qt/QTableSelection.java b/qtjava/javalib/org/kde/qt/QTableSelection.java deleted file mode 100644 index 3d075216..00000000 --- a/qtjava/javalib/org/kde/qt/QTableSelection.java +++ /dev/null @@ -1,39 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQTableSelection implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQTableSelection(Class dummy){} - - public TQTableSelection() { - newTQTableSelection(); - } - private native void newTQTableSelection(); - public TQTableSelection(int start_row, int start_col, int end_row, int end_col) { - newTQTableSelection(start_row,start_col,end_row,end_col); - } - private native void newTQTableSelection(int start_row, int start_col, int end_row, int end_col); - public native void init(int row, int col); - public native void expandTo(int row, int col); - public native boolean op_equals(TQTableSelection s); - public native boolean op_not_equals(TQTableSelection s); - public native int topRow(); - public native int bottomRow(); - public native int leftCol(); - public native int rightCol(); - public native int anchorRow(); - public native int anchorCol(); - public native int numRows(); - public native int numCols(); - public native boolean isActive(); - public native boolean isEmpty(); - /** 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/qtjava/javalib/org/kde/qt/QTableSignals.java b/qtjava/javalib/org/kde/qt/QTableSignals.java deleted file mode 100644 index 864d2c8e..00000000 --- a/qtjava/javalib/org/kde/qt/QTableSignals.java +++ /dev/null @@ -1,14 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQTableSignals { - void currentChanged(int row, int col); - void clicked(int row, int col, int button, TQPoint mousePos); - void doubleClicked(int row, int col, int button, TQPoint mousePos); - void pressed(int row, int col, int button, TQPoint mousePos); - void selectionChanged(); - void valueChanged(int row, int col); - void contextMenuRequested(int row, int col, TQPoint pos); - void dropped(TQDropEvent e); -} diff --git a/qtjava/javalib/org/kde/qt/QTabletEvent.java b/qtjava/javalib/org/kde/qt/QTabletEvent.java deleted file mode 100644 index 8e01aa6b..00000000 --- a/qtjava/javalib/org/kde/qt/QTabletEvent.java +++ /dev/null @@ -1,35 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQTabletEvent extends TQEvent { - protected TQTabletEvent(Class dummy){super((Class) null);} - public static final int NoDevice = -1; - public static final int Puck = 0; - public static final int Stylus = 1; - public static final int Eraser = 2; - - // TQTabletEvent* TQTabletEvent(TQEvent::Type arg1,const TQPoint& arg2,const TQPoint& arg3,int arg4,int arg5,int arg6,int arg7,const TQPair& arg8); >>>> NOT CONVERTED - // TQTabletEvent* TQTabletEvent(const TQPoint& arg1,const TQPoint& arg2,int arg3,int arg4,int arg5,int arg6,const TQPair& arg7); >>>> NOT CONVERTED - public native int pressure(); - public native int xTilt(); - public native int yTilt(); - public native TQPoint pos(); - public native TQPoint globalPos(); - public native int x(); - public native int y(); - public native int globalX(); - public native int globalY(); - public native int device(); - public native int isAccepted(); - public native void accept(); - public native void ignore(); - // TQPair uniqueId(); >>>> 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/qtjava/javalib/org/kde/qt/QTextBrowser.java b/qtjava/javalib/org/kde/qt/QTextBrowser.java deleted file mode 100644 index 03181e5e..00000000 --- a/qtjava/javalib/org/kde/qt/QTextBrowser.java +++ /dev/null @@ -1,45 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQTextBrowserSignals} for signals emitted by TQTextBrowser -*/ -public class TQTextBrowser extends TQTextEdit { - protected TQTextBrowser(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQTextBrowser(TQWidget parent, String name) { - super((Class) null); - newTQTextBrowser(parent,name); - } - private native void newTQTextBrowser(TQWidget parent, String name); - public TQTextBrowser(TQWidget parent) { - super((Class) null); - newTQTextBrowser(parent); - } - private native void newTQTextBrowser(TQWidget parent); - public TQTextBrowser() { - super((Class) null); - newTQTextBrowser(); - } - private native void newTQTextBrowser(); - public native String source(); - public native void setSource(String name); - public native void backward(); - public native void forward(); - public native void home(); - public native void reload(); - public native void setText(String txt); - public native void setText(String txt, String context); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - 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/qtjava/javalib/org/kde/qt/QTextBrowserSignals.java b/qtjava/javalib/org/kde/qt/QTextBrowserSignals.java deleted file mode 100644 index 0040f2cb..00000000 --- a/qtjava/javalib/org/kde/qt/QTextBrowserSignals.java +++ /dev/null @@ -1,12 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQTextBrowserSignals { - void backwardAvailable(boolean arg1); - void forwardAvailable(boolean arg1); - void sourceChanged(String arg1); - void highlighted(String arg1); - void linkClicked(String arg1); - void anchorClicked(String arg1, String arg2); -} diff --git a/qtjava/javalib/org/kde/qt/QTextCodec.java b/qtjava/javalib/org/kde/qt/QTextCodec.java deleted file mode 100644 index 34a54bee..00000000 --- a/qtjava/javalib/org/kde/qt/QTextCodec.java +++ /dev/null @@ -1,43 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQTextCodec implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQTextCodec(Class dummy){} - - public native String name(); - public native String mimeName(); - public native int mibEnum(); - public native TQTextDecoder makeDecoder(); - public native TQTextEncoder makeEncoder(); - public native String toUnicode(String chars, int len); - public native String fromUnicode(String uc, int[] lenInOut); - public native String fromUnicode(String uc); - public native String toUnicode(byte[] arg1, int len); - public native String toUnicode(byte[] arg1); - public native String toUnicode(String arg1); - public native boolean canEncode(char arg1); - public native boolean canEncode(String arg1); - public native int heuristicContentMatch(String chars, int len); - public native int heuristicNameMatch(String hint); - public native byte[] fromUnicode(String uc, int from, int len); - public native short characterFromUnicode(String str, int pos); - public static native TQTextCodec loadCharmap(TQIODeviceInterface arg1); - public static native TQTextCodec loadCharmapFile(String filename); - public static native TQTextCodec codecForMib(int mib); - public static native TQTextCodec codecForName(String hint, int accuracy); - public static native TQTextCodec codecForName(String hint); - public static native TQTextCodec codecForContent(String chars, int len); - public static native TQTextCodec codecForIndex(int i); - public static native TQTextCodec codecForLocale(); - public static native void setCodecForLocale(TQTextCodec c); - public static native TQTextCodec codecForTr(); - public static native void setCodecForTr(TQTextCodec c); - public static native TQTextCodec codecForCStrings(); - public static native void setCodecForCStrings(TQTextCodec c); - public static native void deleteAllCodecs(); - public static native String locale(); -} diff --git a/qtjava/javalib/org/kde/qt/QTextDecoder.java b/qtjava/javalib/org/kde/qt/QTextDecoder.java deleted file mode 100644 index fac57933..00000000 --- a/qtjava/javalib/org/kde/qt/QTextDecoder.java +++ /dev/null @@ -1,12 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQTextDecoder implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQTextDecoder(Class dummy){} - - public native String toUnicode(String chars, int len); -} diff --git a/qtjava/javalib/org/kde/qt/QTextDrag.java b/qtjava/javalib/org/kde/qt/QTextDrag.java deleted file mode 100644 index e62586e1..00000000 --- a/qtjava/javalib/org/kde/qt/QTextDrag.java +++ /dev/null @@ -1,55 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQTextDrag extends TQDragObject { - protected TQTextDrag(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQTextDrag(String arg1, TQWidget dragSource, String name) { - super((Class) null); - newTQTextDrag(arg1,dragSource,name); - } - private native void newTQTextDrag(String arg1, TQWidget dragSource, String name); - public TQTextDrag(String arg1, TQWidget dragSource) { - super((Class) null); - newTQTextDrag(arg1,dragSource); - } - private native void newTQTextDrag(String arg1, TQWidget dragSource); - public TQTextDrag(String arg1) { - super((Class) null); - newTQTextDrag(arg1); - } - private native void newTQTextDrag(String arg1); - public TQTextDrag(TQWidget dragSource, String name) { - super((Class) null); - newTQTextDrag(dragSource,name); - } - private native void newTQTextDrag(TQWidget dragSource, String name); - public TQTextDrag(TQWidget dragSource) { - super((Class) null); - newTQTextDrag(dragSource); - } - private native void newTQTextDrag(TQWidget dragSource); - public TQTextDrag() { - super((Class) null); - newTQTextDrag(); - } - private native void newTQTextDrag(); - public native void setText(String arg1); - public native void setSubtype(String arg1); - public native String format(int i); - public native byte[] encodedData(String arg1); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - public static native boolean canDecode(TQMimeSourceInterface e); - public static native boolean decode(TQMimeSourceInterface e, StringBuffer s); - public static native boolean decode(TQMimeSourceInterface e, StringBuffer s, StringBuffer subtype); - /** 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/qtjava/javalib/org/kde/qt/QTextEdit.java b/qtjava/javalib/org/kde/qt/QTextEdit.java deleted file mode 100644 index 84780ea3..00000000 --- a/qtjava/javalib/org/kde/qt/QTextEdit.java +++ /dev/null @@ -1,262 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQTextEditSignals} for signals emitted by TQTextEdit -*/ -public class TQTextEdit extends TQScrollView { - protected TQTextEdit(Class dummy){super((Class) null);} - public static final int NoWrap = 0; - public static final int WidgetWidth = 1; - public static final int FixedPixelWidth = 2; - public static final int FixedColumnWidth = 3; - - public static final int AtWordBoundary = 0; - public static final int AtWhiteSpace = AtWordBoundary; - public static final int Anywhere = 1; - public static final int AtWordOrDocumentBoundary = 2; - - public static final int AutoNone = 0; - public static final int AutoBulletList = 0x00000001; - public static final int AutoAll = 0xffffffff; - - public static final int ActionBackspace = 0; - public static final int ActionDelete = 1; - public static final int ActionReturn = 2; - public static final int ActionKill = 3; - public static final int ActionWordBackspace = 4; - public static final int ActionWordDelete = 5; - - public static final int MoveBackward = 0; - public static final int MoveForward = 1; - public static final int MoveWordBackward = 2; - public static final int MoveWordForward = 3; - public static final int MoveUp = 4; - public static final int MoveDown = 5; - public static final int MoveLineStart = 6; - public static final int MoveLineEnd = 7; - public static final int MoveHome = 8; - public static final int MoveEnd = 9; - public static final int MovePgUp = 10; - public static final int MovePgDown = 11; - - public static final int AlignNormal = 0; - public static final int AlignSuperScript = 1; - public static final int AlignSubScript = 2; - - public static final int RedoIndentation = 0x0001; - public static final int CheckNewLines = 0x0002; - public static final int RemoveSelected = 0x0004; - - public native TQMetaObject metaObject(); - public native String className(); - public TQTextEdit(String text, String context, TQWidget parent, String name) { - super((Class) null); - newTQTextEdit(text,context,parent,name); - } - private native void newTQTextEdit(String text, String context, TQWidget parent, String name); - public TQTextEdit(String text, String context, TQWidget parent) { - super((Class) null); - newTQTextEdit(text,context,parent); - } - private native void newTQTextEdit(String text, String context, TQWidget parent); - public TQTextEdit(String text, String context) { - super((Class) null); - newTQTextEdit(text,context); - } - private native void newTQTextEdit(String text, String context); - public TQTextEdit(String text) { - super((Class) null); - newTQTextEdit(text); - } - private native void newTQTextEdit(String text); - public TQTextEdit(TQWidget parent, String name) { - super((Class) null); - newTQTextEdit(parent,name); - } - private native void newTQTextEdit(TQWidget parent, String name); - public TQTextEdit(TQWidget parent) { - super((Class) null); - newTQTextEdit(parent); - } - private native void newTQTextEdit(TQWidget parent); - public TQTextEdit() { - super((Class) null); - newTQTextEdit(); - } - private native void newTQTextEdit(); - public native void setPalette(TQPalette arg1); - public native String text(); - public native String text(int para); - public native int textFormat(); - public native String context(); - public native String documentTitle(); - public native void getSelection(int[] paraFrom, int[] indexFrom, int[] paraTo, int[] indexTo, int selNum); - public native void getSelection(int[] paraFrom, int[] indexFrom, int[] paraTo, int[] indexTo); - public native boolean find(String expr, boolean cs, boolean wo, boolean forward, int[] para, int[] index); - public native boolean find(String expr, boolean cs, boolean wo, boolean forward, int[] para); - public native boolean find(String expr, boolean cs, boolean wo, boolean forward); - public native boolean find(String expr, boolean cs, boolean wo); - public native int paragraphs(); - public native int lines(); - public native int linesOfParagraph(int para); - public native int lineOfChar(int para, int chr); - public native int length(); - public native TQRect paragraphRect(int para); - public native int paragraphAt(TQPoint pos); - public native int charAt(TQPoint pos, int[] para); - public native int paragraphLength(int para); - public native TQStyleSheet styleSheet(); - public native TQMimeSourceFactory mimeSourceFactory(); - public native TQBrush paper(); - public native boolean linkUnderline(); - public native int heightForWidth(int w); - public native boolean hasSelectedText(); - public native String selectedText(); - public native boolean isUndoAvailable(); - public native boolean isRedoAvailable(); - public native int wordWrap(); - public native int wrapColumnOrWidth(); - public native int wrapPolicy(); - public native int tabStopWidth(); - public native String anchorAt(TQPoint pos); - public native String anchorAt(TQPoint pos, int a); - public native TQSize sizeHint(); - public native boolean isReadOnly(); - public native void getCursorPosition(int[] parag, int[] index); - public native boolean isModified(); - public native boolean italic(); - public native boolean bold(); - public native boolean underline(); - public native String family(); - public native int pointSize(); - public native TQColor color(); - public native TQFont font(); - public native TQFont currentFont(); - public native int alignment(); - public native int undoDepth(); - public native boolean getFormat(int para, int index, TQFont font, TQColor color, int verticalAlignment); - public native boolean getParagraphFormat(int para, TQFont font, TQColor color, int verticalAlignment, int[] alignment, int displayMode, int listStyle, int[] listDepth); - public native boolean isOverwriteMode(); - public native TQColor paragraphBackgroundColor(int para); - public native boolean isUndoRedoEnabled(); - public native boolean eventFilter(TQObject o, TQEvent e); - public native boolean tabChangesFocus(); - public native void setAutoFormatting(int features); - public native int autoFormatting(); - public native TQSyntaxHighlighter syntaxHighlighter(); - public native void setEnabled(boolean arg1); - public native void setMimeSourceFactory(TQMimeSourceFactory factory); - public native void setStyleSheet(TQStyleSheet styleSheet); - public native void scrollToAnchor(String name); - public native void setPaper(TQBrush pap); - public native void setLinkUnderline(boolean arg1); - public native void setWordWrap(int mode); - public native void setWrapColumnOrWidth(int arg1); - public native void setWrapPolicy(int policy); - public native void copy(); - public native void append(String text); - public native void setText(String txt); - public native void setText(String txt, String context); - public native void setTextFormat(int f); - public native void selectAll(boolean select); - public native void selectAll(); - public native void setTabStopWidth(int ts); - public native void zoomIn(int range); - public native void zoomIn(); - public native void zoomOut(int range); - public native void zoomOut(); - public native void zoomTo(int size); - public native void sync(); - public native void setReadOnly(boolean b); - public native void undo(); - public native void redo(); - public native void cut(); - public native void paste(); - public native void pasteSubType(String subtype); - public native void clear(); - public native void del(); - public native void indent(); - public native void setItalic(boolean b); - public native void setBold(boolean b); - public native void setUnderline(boolean b); - public native void setFamily(String f); - public native void setPointSize(int s); - public native void setColor(TQColor c); - public native void setFont(TQFont f); - public native void setVerticalAlignment(int a); - public native void setAlignment(int a); - public native void setParagType(int dm, int listStyle); - public native void setCursorPosition(int parag, int index); - public native void setSelection(int parag_from, int index_from, int parag_to, int index_to, int selNum); - public native void setSelection(int parag_from, int index_from, int parag_to, int index_to); - public native void setSelectionAttributes(int selNum, TQColor back, boolean invertText); - public native void setModified(boolean m); - public native void resetFormat(); - public native void setUndoDepth(int d); - // void setFormat(TQTextFormat* arg1,int arg2); >>>> NOT CONVERTED - public native void ensureCursorVisible(); - // void placeCursor(const TQPoint& arg1,TQTextCursor* arg2); >>>> NOT CONVERTED - public native void placeCursor(TQPoint pos); - public native void moveCursor(int action, boolean select); - public native void doKeyboardAction(int action); - public native void removeSelectedText(int selNum); - public native void removeSelectedText(); - public native void removeSelection(int selNum); - public native void removeSelection(); - public native void setCurrentFont(TQFont f); - public native void setOverwriteMode(boolean b); - public native void scrollToBottom(); - public native void insert(String text, int insertionFlags); - public native void insert(String text); - public native void insert(String text, boolean arg2, boolean arg3, boolean arg4); - public native void insert(String text, boolean arg2, boolean arg3); - public native void insert(String text, boolean arg2); - public native void insertAt(String text, int para, int index); - public native void removeParagraph(int para); - public native void insertParagraph(String text, int para); - public native void setParagraphBackgroundColor(int para, TQColor bg); - public native void clearParagraphBackground(int para); - public native void setUndoRedoEnabled(boolean b); - public native void setTabChangesFocus(boolean b); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void repaintChanged(); - protected native void updateStyles(); - protected native void drawContents(TQPainter p, int cx, int cy, int cw, int ch); - public native boolean event(TQEvent e); - protected native void keyPressEvent(TQKeyEvent e); - protected native void resizeEvent(TQResizeEvent e); - protected native void viewportResizeEvent(TQResizeEvent arg1); - protected native void contentsMousePressEvent(TQMouseEvent e); - protected native void contentsMouseMoveEvent(TQMouseEvent e); - protected native void contentsMouseReleaseEvent(TQMouseEvent e); - protected native void contentsMouseDoubleClickEvent(TQMouseEvent e); - protected native void contentsWheelEvent(TQWheelEvent e); - protected native void imStartEvent(TQIMEvent arg1); - protected native void imComposeEvent(TQIMEvent arg1); - protected native void imEndEvent(TQIMEvent arg1); - protected native void contentsDragEnterEvent(TQDragEnterEvent e); - protected native void contentsDragMoveEvent(TQDragMoveEvent e); - protected native void contentsDragLeaveEvent(TQDragLeaveEvent e); - protected native void contentsDropEvent(TQDropEvent e); - protected native void contentsContextMenuEvent(TQContextMenuEvent e); - protected native boolean focusNextPrevChild(boolean next); - // TQTextDocument* document(); >>>> NOT CONVERTED - // TQTextCursor* textCursor(); >>>> NOT CONVERTED - // void setDocument(TQTextDocument* arg1); >>>> NOT CONVERTED - protected native TQPopupMenu createPopupMenu(TQPoint pos); - protected native TQPopupMenu createPopupMenu(); - protected native void drawCursor(boolean visible); - protected native void windowActivationChange(boolean arg1); - protected native void doChangeInterval(); - protected native void sliderReleased(); - /** 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/qtjava/javalib/org/kde/qt/QTextEditSignals.java b/qtjava/javalib/org/kde/qt/QTextEditSignals.java deleted file mode 100644 index e8c13649..00000000 --- a/qtjava/javalib/org/kde/qt/QTextEditSignals.java +++ /dev/null @@ -1,21 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQTextEditSignals { - void textChanged(); - void selectionChanged(); - void copyAvailable(boolean arg1); - void undoAvailable(boolean yes); - void redoAvailable(boolean yes); - void currentFontChanged(TQFont f); - void currentColorChanged(TQColor c); - void currentAlignmentChanged(int a); - void currentVerticalAlignmentChanged(int a); - // void cursorPositionChanged(TQTextCursor* arg1); >>>> NOT CONVERTED - void cursorPositionChanged(int para, int pos); - void returnPressed(); - void modificationChanged(boolean m); - void clicked(int parag, int index); - void doubleClicked(int parag, int index); -} diff --git a/qtjava/javalib/org/kde/qt/QTextEncoder.java b/qtjava/javalib/org/kde/qt/QTextEncoder.java deleted file mode 100644 index 3f2d68d0..00000000 --- a/qtjava/javalib/org/kde/qt/QTextEncoder.java +++ /dev/null @@ -1,12 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQTextEncoder implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQTextEncoder(Class dummy){} - - public native String fromUnicode(String uc, int[] lenInOut); -} diff --git a/qtjava/javalib/org/kde/qt/QTextIStream.java b/qtjava/javalib/org/kde/qt/QTextIStream.java deleted file mode 100644 index 66a132cd..00000000 --- a/qtjava/javalib/org/kde/qt/QTextIStream.java +++ /dev/null @@ -1,24 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQTextIStream extends TQTextStream { - protected TQTextIStream(Class dummy){super((Class) null);} - public TQTextIStream(String s) { - super((Class) null); - newTQTextIStream(s); - } - private native void newTQTextIStream(String s); - public TQTextIStream(byte[] ba) { - super((Class) null); - newTQTextIStream(ba); - } - private native void newTQTextIStream(byte[] ba); - /** 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/qtjava/javalib/org/kde/qt/QTextOStream.java b/qtjava/javalib/org/kde/qt/QTextOStream.java deleted file mode 100644 index c9a54673..00000000 --- a/qtjava/javalib/org/kde/qt/QTextOStream.java +++ /dev/null @@ -1,24 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQTextOStream extends TQTextStream { - protected TQTextOStream(Class dummy){super((Class) null);} - public TQTextOStream(StringBuffer s) { - super((Class) null); - newTQTextOStream(s); - } - private native void newTQTextOStream(StringBuffer s); - public TQTextOStream(byte[] ba) { - super((Class) null); - newTQTextOStream(ba); - } - private native void newTQTextOStream(byte[] ba); - /** 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/qtjava/javalib/org/kde/qt/QTextStream.java b/qtjava/javalib/org/kde/qt/QTextStream.java deleted file mode 100644 index 42bb5ae2..00000000 --- a/qtjava/javalib/org/kde/qt/QTextStream.java +++ /dev/null @@ -1,101 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQTextStream implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQTextStream(Class dummy){} - - public static final int skipws = 0x0001; - public static final int left = 0x0002; - public static final int right = 0x0004; - public static final int internal = 0x0008; - public static final int bin = 0x0010; - public static final int oct = 0x0020; - public static final int dec = 0x0040; - public static final int hex = 0x0080; - public static final int showbase = 0x0100; - public static final int showpoint = 0x0200; - public static final int uppercase = 0x0400; - public static final int showpos = 0x0800; - public static final int scientific = 0x1000; - public static final int fixed = 0x2000; - - public static final int Locale = 0; - public static final int Latin1 = 1; - public static final int Unicode = 2; - public static final int UnicodeNetworkOrder = 3; - public static final int UnicodeReverse = 4; - public static final int RawUnicode = 5; - public static final int UnicodeUTF8 = 6; - - public native void setEncoding(int arg1); - public native void setCodec(TQTextCodec arg1); - public native TQTextCodec codec(); - public TQTextStream() { - newTQTextStream(); - } - private native void newTQTextStream(); - public TQTextStream(TQIODeviceInterface arg1) { - newTQTextStream(arg1); - } - private native void newTQTextStream(TQIODeviceInterface arg1); - public TQTextStream(StringBuffer arg1, int mode) { - newTQTextStream(arg1,mode); - } - private native void newTQTextStream(StringBuffer arg1, int mode); - public TQTextStream(byte[] arg1, int mode) { - newTQTextStream(arg1,mode); - } - private native void newTQTextStream(byte[] arg1, int mode); - public native TQIODeviceInterface device(); - public native void setDevice(TQIODeviceInterface arg1); - public native void unsetDevice(); - public native boolean atEnd(); - public native boolean eof(); - public native TQTextStream op_read(char arg1); - // TQTextStream& op_read(signed short& arg1); >>>> NOT CONVERTED - public native TQTextStream op_read(short arg1); - // TQTextStream& op_read(signed int& arg1); >>>> NOT CONVERTED - public native TQTextStream op_read(int arg1); - // TQTextStream& op_read(signed long& arg1); >>>> NOT CONVERTED - public native TQTextStream op_read(long arg1); - public native TQTextStream op_read(float arg1); - public native TQTextStream op_read(double arg1); - public native TQTextStream op_read(String arg1); - public native TQTextStream op_read(StringBuffer arg1); - public native TQTextStream op_write(char arg1); - public native TQTextStream op_write(short arg1); - // TQTextStream& op_write(signed arg1); >>>> NOT CONVERTED - public native TQTextStream op_write(int arg1); - public native TQTextStream op_write(long arg1); - public native TQTextStream op_write(float arg1); - public native TQTextStream op_write(double arg1); - public native TQTextStream op_write(String arg1); - // TQTextStream& op_write(void* arg1); >>>> NOT CONVERTED - public native TQTextStream readRawBytes(String arg1, int len); - public native TQTextStream writeRawBytes(String arg1, int len); - public native String readLine(); - public native String read(); - public native void skipWhiteSpace(); - public native int flags(); - public native int flags(int f); - public native int setf(int bits); - public native int setf(int bits, int mask); - public native int unsetf(int bits); - public native void reset(); - public native int width(); - public native int width(int arg1); - public native int fill(); - public native int fill(int arg1); - public native int precision(); - public native int precision(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/qtjava/javalib/org/kde/qt/QTextView.java b/qtjava/javalib/org/kde/qt/QTextView.java deleted file mode 100644 index 419f498b..00000000 --- a/qtjava/javalib/org/kde/qt/QTextView.java +++ /dev/null @@ -1,53 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQTextView extends TQTextEdit { - protected TQTextView(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQTextView(String text, String context, TQWidget parent, String name) { - super((Class) null); - newTQTextView(text,context,parent,name); - } - private native void newTQTextView(String text, String context, TQWidget parent, String name); - public TQTextView(String text, String context, TQWidget parent) { - super((Class) null); - newTQTextView(text,context,parent); - } - private native void newTQTextView(String text, String context, TQWidget parent); - public TQTextView(String text, String context) { - super((Class) null); - newTQTextView(text,context); - } - private native void newTQTextView(String text, String context); - public TQTextView(String text) { - super((Class) null); - newTQTextView(text); - } - private native void newTQTextView(String text); - public TQTextView(TQWidget parent, String name) { - super((Class) null); - newTQTextView(parent,name); - } - private native void newTQTextView(TQWidget parent, String name); - public TQTextView(TQWidget parent) { - super((Class) null); - newTQTextView(parent); - } - private native void newTQTextView(TQWidget parent); - public TQTextView() { - super((Class) null); - newTQTextView(); - } - private native void newTQTextView(); - public static native String tr(String arg1, String arg2); - public static native String tr(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/qtjava/javalib/org/kde/qt/QTimeEdit.java b/qtjava/javalib/org/kde/qt/QTimeEdit.java deleted file mode 100644 index 0d7e8534..00000000 --- a/qtjava/javalib/org/kde/qt/QTimeEdit.java +++ /dev/null @@ -1,87 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.Date; - -/** - See {@link TQTimeEditSignals} for signals emitted by TQTimeEdit -*/ -public class TQTimeEdit extends TQDateTimeEditBase { - protected TQTimeEdit(Class dummy){super((Class) null);} - public static final int Hours = 0x01; - public static final int Minutes = 0x02; - public static final int Seconds = 0x04; - public static final int AMPM = 0x10; - - public native TQMetaObject metaObject(); - public native String className(); - public TQTimeEdit(TQWidget parent, String name) { - super((Class) null); - newTQTimeEdit(parent,name); - } - private native void newTQTimeEdit(TQWidget parent, String name); - public TQTimeEdit(TQWidget parent) { - super((Class) null); - newTQTimeEdit(parent); - } - private native void newTQTimeEdit(TQWidget parent); - public TQTimeEdit() { - super((Class) null); - newTQTimeEdit(); - } - private native void newTQTimeEdit(); - public TQTimeEdit(Date time, TQWidget parent, String name) { - super((Class) null); - newTQTimeEdit(time,parent,name); - } - private native void newTQTimeEdit(Date time, TQWidget parent, String name); - public TQTimeEdit(Date time, TQWidget parent) { - super((Class) null); - newTQTimeEdit(time,parent); - } - private native void newTQTimeEdit(Date time, TQWidget parent); - public TQTimeEdit(Date time) { - super((Class) null); - newTQTimeEdit(time); - } - private native void newTQTimeEdit(Date time); - public native TQSize sizeHint(); - public native TQSize minimumSizeHint(); - public native Date time(); - public native void setAutoAdvance(boolean advance); - public native boolean autoAdvance(); - public native void setMinValue(Date d); - public native Date minValue(); - public native void setMaxValue(Date d); - public native Date maxValue(); - public native void setRange(Date min, Date max); - public native String separator(); - public native void setSeparator(String s); - public native int display(); - public native void setDisplay(int disp); - public native void removeFirstNumber(int sec); - public native void setTime(Date time); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - public native boolean event(TQEvent e); - protected native void timerEvent(TQTimerEvent e); - protected native void resizeEvent(TQResizeEvent arg1); - public native void stepUp(); - public native void stepDown(); - public native String sectionFormattedText(int sec); - public native void addNumber(int sec, int num); - public native void removeLastNumber(int sec); - public native boolean setFocusSection(int s); - protected native boolean outOfRange(int h, int m, int s); - protected native void setHour(int h); - protected native void setMinute(int m); - protected native void setSecond(int s); - protected native void updateButtons(); - /** 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/qtjava/javalib/org/kde/qt/QTimeEditSignals.java b/qtjava/javalib/org/kde/qt/QTimeEditSignals.java deleted file mode 100644 index 99d7a665..00000000 --- a/qtjava/javalib/org/kde/qt/QTimeEditSignals.java +++ /dev/null @@ -1,8 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import java.util.Date; - -public interface TQTimeEditSignals { - void valueChanged(Date time); -} diff --git a/qtjava/javalib/org/kde/qt/QTimer.java b/qtjava/javalib/org/kde/qt/QTimer.java deleted file mode 100644 index e07b50ca..00000000 --- a/qtjava/javalib/org/kde/qt/QTimer.java +++ /dev/null @@ -1,81 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** -************************************************* - $Id$ - -* Definition of TQTimer class - -* Created : 931111 - -* Copyright (C) 1992-2005 Trolltech AS. All rights reserved. - -* This file is part of the kernel module of the Qt GUI Toolkit. - -* This file may be distributed under the terms of the Q Public License - as defined by Trolltech AS of Norway and appearing in the file - LICENSE.TQPL included in the packaging of this file. - -* This file may be distributed and/or modified under the terms of the - GNU General Public License version 2 as published by the Free Software - Foundation and appearing in the file LICENSE.GPL included in the - packaging of this file. - -* Licensees holding valid Qt Enterprise Edition or Qt Professional Edition - licenses may use this file in accordance with the Qt Commercial License - Agreement provided with the Software. - -* This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE - WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. - -* See http://www.trolltech.com/pricing.html or email sales@trolltech.com for - information about Qt Commercial License Agreements. - See http://www.trolltech.com/qpl/ for TQPL licensing information. - See http://www.trolltech.com/gpl/ for GPL licensing information. - -* Contact info@trolltech.com if any conditions of this licensing are - not clear to you. - -********************************************** See {@link TQTimerSignals} for signals emitted by TQTimer - @short $Id: qt/qtimer. - -*/ -public class TQTimer extends TQObject { - protected TQTimer(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQTimer(TQObject parent, String name) { - super((Class) null); - newTQTimer(parent,name); - } - private native void newTQTimer(TQObject parent, String name); - public TQTimer(TQObject parent) { - super((Class) null); - newTQTimer(parent); - } - private native void newTQTimer(TQObject parent); - public TQTimer() { - super((Class) null); - newTQTimer(); - } - private native void newTQTimer(); - public native boolean isActive(); - public native int start(int msec, boolean sshot); - public native int start(int msec); - public native void changeInterval(int msec); - public native void stop(); - public native int timerId(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - public static native void singleShot(int msec, TQObject receiver, String member); - public native boolean event(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/qtjava/javalib/org/kde/qt/QTimerEvent.java b/qtjava/javalib/org/kde/qt/QTimerEvent.java deleted file mode 100644 index e0e0a4cd..00000000 --- a/qtjava/javalib/org/kde/qt/QTimerEvent.java +++ /dev/null @@ -1,20 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQTimerEvent extends TQEvent { - protected TQTimerEvent(Class dummy){super((Class) null);} - public TQTimerEvent(int timerId) { - super((Class) null); - newTQTimerEvent(timerId); - } - private native void newTQTimerEvent(int timerId); - public native int timerId(); - /** 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/qtjava/javalib/org/kde/qt/QTimerSignals.java b/qtjava/javalib/org/kde/qt/QTimerSignals.java deleted file mode 100644 index 9300eb1a..00000000 --- a/qtjava/javalib/org/kde/qt/QTimerSignals.java +++ /dev/null @@ -1,7 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQTimerSignals { - void timeout(); -} diff --git a/qtjava/javalib/org/kde/qt/QToolBar.java b/qtjava/javalib/org/kde/qt/QToolBar.java deleted file mode 100644 index bb839456..00000000 --- a/qtjava/javalib/org/kde/qt/QToolBar.java +++ /dev/null @@ -1,88 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQToolBar extends TQDockWindow { - protected TQToolBar(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQToolBar(String label, TQMainWindow arg2, int arg3, boolean newLine, String name) { - super((Class) null); - newTQToolBar(label,arg2,arg3,newLine,name); - } - private native void newTQToolBar(String label, TQMainWindow arg2, int arg3, boolean newLine, String name); - public TQToolBar(String label, TQMainWindow arg2, int arg3, boolean newLine) { - super((Class) null); - newTQToolBar(label,arg2,arg3,newLine); - } - private native void newTQToolBar(String label, TQMainWindow arg2, int arg3, boolean newLine); - public TQToolBar(String label, TQMainWindow arg2, int arg3) { - super((Class) null); - newTQToolBar(label,arg2,arg3); - } - private native void newTQToolBar(String label, TQMainWindow arg2, int arg3); - public TQToolBar(String label, TQMainWindow arg2) { - super((Class) null); - newTQToolBar(label,arg2); - } - private native void newTQToolBar(String label, TQMainWindow arg2); - public TQToolBar(String label, TQMainWindow arg2, TQWidget arg3, boolean newLine, String name, int f) { - super((Class) null); - newTQToolBar(label,arg2,arg3,newLine,name,f); - } - private native void newTQToolBar(String label, TQMainWindow arg2, TQWidget arg3, boolean newLine, String name, int f); - public TQToolBar(String label, TQMainWindow arg2, TQWidget arg3, boolean newLine, String name) { - super((Class) null); - newTQToolBar(label,arg2,arg3,newLine,name); - } - private native void newTQToolBar(String label, TQMainWindow arg2, TQWidget arg3, boolean newLine, String name); - public TQToolBar(String label, TQMainWindow arg2, TQWidget arg3, boolean newLine) { - super((Class) null); - newTQToolBar(label,arg2,arg3,newLine); - } - private native void newTQToolBar(String label, TQMainWindow arg2, TQWidget arg3, boolean newLine); - public TQToolBar(String label, TQMainWindow arg2, TQWidget arg3) { - super((Class) null); - newTQToolBar(label,arg2,arg3); - } - private native void newTQToolBar(String label, TQMainWindow arg2, TQWidget arg3); - public TQToolBar(TQMainWindow parent, String name) { - super((Class) null); - newTQToolBar(parent,name); - } - private native void newTQToolBar(TQMainWindow parent, String name); - public TQToolBar(TQMainWindow parent) { - super((Class) null); - newTQToolBar(parent); - } - private native void newTQToolBar(TQMainWindow parent); - public TQToolBar() { - super((Class) null); - newTQToolBar(); - } - private native void newTQToolBar(); - public native void addSeparator(); - public native void show(); - public native void hide(); - public native TQMainWindow mainWindow(); - public native void setStretchableWidget(TQWidget arg1); - public native boolean event(TQEvent e); - public native void setLabel(String arg1); - public native String label(); - public native void clear(); - public native TQSize minimumSize(); - public native TQSize minimumSizeHint(); - public native void setOrientation(int o); - public native void setMinimumSize(int minw, int minh); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void resizeEvent(TQResizeEvent e); - public native void styleChange(TQStyle 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/qtjava/javalib/org/kde/qt/QToolBox.java b/qtjava/javalib/org/kde/qt/QToolBox.java deleted file mode 100644 index 135873c0..00000000 --- a/qtjava/javalib/org/kde/qt/QToolBox.java +++ /dev/null @@ -1,66 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQToolBoxSignals} for signals emitted by TQToolBox -*/ -public class TQToolBox extends TQFrame { - protected TQToolBox(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQToolBox(TQWidget parent, String name, int f) { - super((Class) null); - newTQToolBox(parent,name,f); - } - private native void newTQToolBox(TQWidget parent, String name, int f); - public TQToolBox(TQWidget parent, String name) { - super((Class) null); - newTQToolBox(parent,name); - } - private native void newTQToolBox(TQWidget parent, String name); - public TQToolBox(TQWidget parent) { - super((Class) null); - newTQToolBox(parent); - } - private native void newTQToolBox(TQWidget parent); - public TQToolBox() { - super((Class) null); - newTQToolBox(); - } - private native void newTQToolBox(); - public native int addItem(TQWidget item, String label); - public native int addItem(TQWidget item, TQIconSet iconSet, String label); - public native int insertItem(int index, TQWidget item, String label); - public native int insertItem(int index, TQWidget item, TQIconSet iconSet, String label); - public native int removeItem(TQWidget item); - public native void setItemEnabled(int index, boolean enabled); - public native boolean isItemEnabled(int index); - public native void setItemLabel(int index, String label); - public native String itemLabel(int index); - public native void setItemIconSet(int index, TQIconSet iconSet); - public native TQIconSet itemIconSet(int index); - public native void setItemToolTip(int index, String toolTip); - public native String itemToolTip(int index); - public native TQWidget currentItem(); - public native void setCurrentItem(TQWidget item); - public native int currentIndex(); - public native TQWidget item(int index); - public native int indexOf(TQWidget item); - public native int count(); - public native void setCurrentIndex(int index); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void itemInserted(int index); - protected native void itemRemoved(int index); - public native void showEvent(TQShowEvent e); - protected native void frameChanged(); - public native void styleChange(TQStyle 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/qtjava/javalib/org/kde/qt/QToolBoxSignals.java b/qtjava/javalib/org/kde/qt/QToolBoxSignals.java deleted file mode 100644 index 316ac9e9..00000000 --- a/qtjava/javalib/org/kde/qt/QToolBoxSignals.java +++ /dev/null @@ -1,7 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQToolBoxSignals { - void currentChanged(int index); -} diff --git a/qtjava/javalib/org/kde/qt/QToolButton.java b/qtjava/javalib/org/kde/qt/QToolButton.java deleted file mode 100644 index 8ffdfc67..00000000 --- a/qtjava/javalib/org/kde/qt/QToolButton.java +++ /dev/null @@ -1,92 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQToolButton extends TQButton { - protected TQToolButton(Class dummy){super((Class) null);} - public static final int BesideIcon = 0; - public static final int BelowIcon = 1; - public static final int Right = BesideIcon; - public static final int Under = BelowIcon; - - public native TQMetaObject metaObject(); - public native String className(); - public TQToolButton(TQWidget parent, String name) { - super((Class) null); - newTQToolButton(parent,name); - } - private native void newTQToolButton(TQWidget parent, String name); - public TQToolButton(TQWidget parent) { - super((Class) null); - newTQToolButton(parent); - } - private native void newTQToolButton(TQWidget parent); - public TQToolButton(TQIconSet s, String textLabel, String grouptext, TQObject receiver, String slot, TQToolBar parent, String name) { - super((Class) null); - newTQToolButton(s,textLabel,grouptext,receiver,slot,parent,name); - } - private native void newTQToolButton(TQIconSet s, String textLabel, String grouptext, TQObject receiver, String slot, TQToolBar parent, String name); - public TQToolButton(TQIconSet s, String textLabel, String grouptext, TQObject receiver, String slot, TQToolBar parent) { - super((Class) null); - newTQToolButton(s,textLabel,grouptext,receiver,slot,parent); - } - private native void newTQToolButton(TQIconSet s, String textLabel, String grouptext, TQObject receiver, String slot, TQToolBar parent); - public TQToolButton(int type, TQWidget parent, String name) { - super((Class) null); - newTQToolButton(type,parent,name); - } - private native void newTQToolButton(int type, TQWidget parent, String name); - public TQToolButton(int type, TQWidget parent) { - super((Class) null); - newTQToolButton(type,parent); - } - private native void newTQToolButton(int type, TQWidget parent); - public native TQSize sizeHint(); - public native TQSize minimumSizeHint(); - public native void setOnIconSet(TQIconSet arg1); - public native void setOffIconSet(TQIconSet arg1); - public native void setIconSet(TQIconSet arg1, boolean on); - public native TQIconSet onIconSet(); - public native TQIconSet offIconSet(); - public native TQIconSet iconSet(boolean on); - public native void setIconSet(TQIconSet arg1); - public native TQIconSet iconSet(); - public native boolean usesBigPixmap(); - public native boolean usesTextLabel(); - public native String textLabel(); - public native void setPopup(TQPopupMenu popup); - public native TQPopupMenu popup(); - public native void setPopupDelay(int delay); - public native int popupDelay(); - public native void openPopup(); - public native void setAutoRaise(boolean enable); - public native boolean autoRaise(); - public native int textPosition(); - public native void setText(String txt); - public native void setUsesBigPixmap(boolean enable); - public native void setUsesTextLabel(boolean enable); - public native void setTextLabel(String arg1, boolean arg2); - public native void setToggleButton(boolean enable); - public native void setOn(boolean enable); - public native void toggle(); - public native void setTextLabel(String arg1); - public native void setTextPosition(int pos); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void mousePressEvent(TQMouseEvent arg1); - protected native void drawButton(TQPainter arg1); - protected native void drawButtonLabel(TQPainter arg1); - protected native void enterEvent(TQEvent arg1); - protected native void leaveEvent(TQEvent arg1); - protected native void moveEvent(TQMoveEvent arg1); - protected native boolean uses3D(); - public native boolean eventFilter(TQObject o, TQEvent e); - protected native void paletteChange(TQPalette 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/qtjava/javalib/org/kde/qt/QToolTip.java b/qtjava/javalib/org/kde/qt/QToolTip.java deleted file mode 100644 index aadc2908..00000000 --- a/qtjava/javalib/org/kde/qt/QToolTip.java +++ /dev/null @@ -1,28 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQToolTip extends Qt { - protected TQToolTip(Class dummy){super((Class) null);} - public native TQWidget parentWidget(); - public native TQToolTipGroup group(); - public static native void add(TQWidget arg1, String arg2); - public static native void add(TQWidget arg1, String arg2, TQToolTipGroup arg3, String arg4); - public static native void remove(TQWidget arg1); - public static native void add(TQWidget arg1, TQRect arg2, String arg3); - public static native void add(TQWidget arg1, TQRect arg2, String arg3, TQToolTipGroup arg4, String arg5); - public static native void remove(TQWidget arg1, TQRect arg2); - public static native String textFor(TQWidget arg1, TQPoint pos); - public static native String textFor(TQWidget arg1); - public static native void hide(); - public static native TQFont font(); - public static native void setFont(TQFont arg1); - public static native TQPalette palette(); - public static native void setPalette(TQPalette arg1); - public static native void setEnabled(boolean enable); - public static native boolean enabled(); - public static native void setGloballyEnabled(boolean arg1); - public static native boolean isGloballyEnabled(); - public static native void setWakeUpDelay(int arg1); -} diff --git a/qtjava/javalib/org/kde/qt/QToolTipGroup.java b/qtjava/javalib/org/kde/qt/QToolTipGroup.java deleted file mode 100644 index acef6c0b..00000000 --- a/qtjava/javalib/org/kde/qt/QToolTipGroup.java +++ /dev/null @@ -1,35 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQToolTipGroupSignals} for signals emitted by TQToolTipGroup -*/ -public class TQToolTipGroup extends TQObject { - protected TQToolTipGroup(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQToolTipGroup(TQObject parent, String name) { - super((Class) null); - newTQToolTipGroup(parent,name); - } - private native void newTQToolTipGroup(TQObject parent, String name); - public TQToolTipGroup(TQObject parent) { - super((Class) null); - newTQToolTipGroup(parent); - } - private native void newTQToolTipGroup(TQObject parent); - public native boolean delay(); - public native boolean enabled(); - public native void setDelay(boolean arg1); - public native void setEnabled(boolean arg1); - public static native String tr(String arg1, String arg2); - public static native String tr(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/qtjava/javalib/org/kde/qt/QToolTipGroupSignals.java b/qtjava/javalib/org/kde/qt/QToolTipGroupSignals.java deleted file mode 100644 index 084a881a..00000000 --- a/qtjava/javalib/org/kde/qt/QToolTipGroupSignals.java +++ /dev/null @@ -1,8 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQToolTipGroupSignals { - void showTip(String arg1); - void removeTip(); -} diff --git a/qtjava/javalib/org/kde/qt/QTranslator.java b/qtjava/javalib/org/kde/qt/QTranslator.java deleted file mode 100644 index d27bdeec..00000000 --- a/qtjava/javalib/org/kde/qt/QTranslator.java +++ /dev/null @@ -1,59 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQTranslator extends TQObject { - protected TQTranslator(Class dummy){super((Class) null);} - public static final int Everything = 0; - public static final int Stripped = 1; - - public native TQMetaObject metaObject(); - public native String className(); - public TQTranslator(TQObject parent, String name) { - super((Class) null); - newTQTranslator(parent,name); - } - private native void newTQTranslator(TQObject parent, String name); - public TQTranslator(TQObject parent) { - super((Class) null); - newTQTranslator(parent); - } - private native void newTQTranslator(TQObject parent); - public TQTranslator() { - super((Class) null); - newTQTranslator(); - } - private native void newTQTranslator(); - public native String find(String context, String sourceText, String comment); - public native String find(String context, String sourceText); - public native TQTranslatorMessage findMessage(String arg1, String arg2, String arg3); - public native TQTranslatorMessage findMessage(String arg1, String arg2); - public native boolean load(String filename, String directory, String search_delimiters, String suffix); - public native boolean load(String filename, String directory, String search_delimiters); - public native boolean load(String filename, String directory); - public native boolean load(String filename); - public native boolean load(char[] data, int len); - public native void clear(); - public native boolean save(String filename, int mode); - public native boolean save(String filename); - public native void insert(TQTranslatorMessage arg1); - public native void insert(String context, String sourceText, String translation); - public native void remove(TQTranslatorMessage arg1); - public native void remove(String context, String sourceText); - public native boolean contains(String arg1, String arg2, String comment); - public native boolean contains(String arg1, String arg2); - public native void squeeze(int arg1); - public native void squeeze(); - public native void unsqueeze(); - // TQValueList messages(); >>>> NOT CONVERTED - public native boolean isEmpty(); - public static native String tr(String arg1, String arg2); - public static native String tr(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/qtjava/javalib/org/kde/qt/QTranslatorMessage.java b/qtjava/javalib/org/kde/qt/QTranslatorMessage.java deleted file mode 100644 index 3f54940b..00000000 --- a/qtjava/javalib/org/kde/qt/QTranslatorMessage.java +++ /dev/null @@ -1,59 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQTranslatorMessage implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQTranslatorMessage(Class dummy){} - - public static final int NoPrefix = 0; - public static final int Hash = 1; - public static final int HashContext = 2; - public static final int HashContextSourceText = 3; - public static final int HashContextSourceTextComment = 4; - - public TQTranslatorMessage() { - newTQTranslatorMessage(); - } - private native void newTQTranslatorMessage(); - public TQTranslatorMessage(String context, String sourceText, String comment, String translation) { - newTQTranslatorMessage(context,sourceText,comment,translation); - } - private native void newTQTranslatorMessage(String context, String sourceText, String comment, String translation); - public TQTranslatorMessage(String context, String sourceText, String comment) { - newTQTranslatorMessage(context,sourceText,comment); - } - private native void newTQTranslatorMessage(String context, String sourceText, String comment); - public TQTranslatorMessage(TQDataStream arg1) { - newTQTranslatorMessage(arg1); - } - private native void newTQTranslatorMessage(TQDataStream arg1); - public TQTranslatorMessage(TQTranslatorMessage m) { - newTQTranslatorMessage(m); - } - private native void newTQTranslatorMessage(TQTranslatorMessage m); - public native int hash(); - public native String context(); - public native String sourceText(); - public native String comment(); - public native void setTranslation(String translation); - public native String translation(); - public native void write(TQDataStream s, boolean strip, int prefix); - public native void write(TQDataStream s, boolean strip); - public native void write(TQDataStream s); - public native int commonPrefix(TQTranslatorMessage arg1); - public native boolean op_equals(TQTranslatorMessage m); - public native boolean op_not_equals(TQTranslatorMessage m); - public native boolean op_lt(TQTranslatorMessage m); - public native boolean op_lte(TQTranslatorMessage m); - public native boolean op_gt(TQTranslatorMessage m); - public native boolean op_gte(TQTranslatorMessage m); - /** 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/qtjava/javalib/org/kde/qt/QTsciiCodec.java b/qtjava/javalib/org/kde/qt/QTsciiCodec.java deleted file mode 100644 index 1ad4ffb0..00000000 --- a/qtjava/javalib/org/kde/qt/QTsciiCodec.java +++ /dev/null @@ -1,25 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQTsciiCodec extends TQTextCodec { - protected TQTsciiCodec(Class dummy){super((Class) null);} - public native int mibEnum(); - public native String name(); - public native String fromUnicode(String uc, int[] lenInOut); - public native String toUnicode(String chars, int len); - public native int heuristicContentMatch(String chars, int len); - public native int heuristicNameMatch(String hint); - public TQTsciiCodec() { - super((Class) null); - newTQTsciiCodec(); - } - private native void newTQTsciiCodec(); - /** 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/qtjava/javalib/org/kde/qt/QUriDrag.java b/qtjava/javalib/org/kde/qt/QUriDrag.java deleted file mode 100644 index e95700bf..00000000 --- a/qtjava/javalib/org/kde/qt/QUriDrag.java +++ /dev/null @@ -1,65 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import java.util.ArrayList; -import org.kde.qt.Qt; - -public class TQUriDrag extends TQStoredDrag { - protected TQUriDrag(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQUriDrag(String[] uris, TQWidget dragSource, String name) { - super((Class) null); - newTQUriDrag(uris,dragSource,name); - } - private native void newTQUriDrag(String[] uris, TQWidget dragSource, String name); - public TQUriDrag(String[] uris, TQWidget dragSource) { - super((Class) null); - newTQUriDrag(uris,dragSource); - } - private native void newTQUriDrag(String[] uris, TQWidget dragSource); - public TQUriDrag(String[] uris) { - super((Class) null); - newTQUriDrag(uris); - } - private native void newTQUriDrag(String[] uris); - public TQUriDrag(TQWidget dragSource, String name) { - super((Class) null); - newTQUriDrag(dragSource,name); - } - private native void newTQUriDrag(TQWidget dragSource, String name); - public TQUriDrag(TQWidget dragSource) { - super((Class) null); - newTQUriDrag(dragSource); - } - private native void newTQUriDrag(TQWidget dragSource); - public TQUriDrag() { - super((Class) null); - newTQUriDrag(); - } - private native void newTQUriDrag(); - public native void setFilenames(String[] fnames); - public native void setFileNames(String[] fnames); - public native void setUnicodeUris(String[] uuris); - public native void setUris(String[] uris); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - public static native String uriToLocalFile(String arg1); - public static native String localFileToUri(String arg1); - public static native String uriToUnicodeUri(String arg1); - public static native String unicodeUriToUri(String arg1); - public static native boolean canDecode(TQMimeSourceInterface e); - public static native boolean decode(TQMimeSourceInterface e, String[] i); - public static native boolean decodeToUnicodeUris(TQMimeSourceInterface e, String[] i); - public static native boolean decodeLocalFiles(TQMimeSourceInterface e, String[] i); - /** 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(); - public static native boolean decode(TQMimeSourceInterface e, ArrayList i); - public static native boolean decodeToUnicodeUris(TQMimeSourceInterface e, ArrayList i); - public static native boolean decodeLocalFiles(TQMimeSourceInterface e, ArrayList i); - -} diff --git a/qtjava/javalib/org/kde/qt/QUrl.java b/qtjava/javalib/org/kde/qt/QUrl.java deleted file mode 100644 index 9cd6a1ee..00000000 --- a/qtjava/javalib/org/kde/qt/QUrl.java +++ /dev/null @@ -1,79 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQUrl implements QtSupport, TQUrlInterface { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQUrl(Class dummy){} - - public TQUrl() { - newTQUrl(); - } - private native void newTQUrl(); - public TQUrl(String url) { - newTQUrl(url); - } - private native void newTQUrl(String url); - public TQUrl(TQUrlInterface url) { - newTQUrl(url); - } - private native void newTQUrl(TQUrlInterface url); - public TQUrl(TQUrlInterface url, String relUrl, boolean checkSlash) { - newTQUrl(url,relUrl,checkSlash); - } - private native void newTQUrl(TQUrlInterface url, String relUrl, boolean checkSlash); - public TQUrl(TQUrlInterface url, String relUrl) { - newTQUrl(url,relUrl); - } - private native void newTQUrl(TQUrlInterface url, String relUrl); - public native String protocol(); - public native void setProtocol(String protocol); - public native String user(); - public native void setUser(String user); - public native boolean hasUser(); - public native String password(); - public native void setPassword(String pass); - public native boolean hasPassword(); - public native String host(); - public native void setHost(String user); - public native boolean hasHost(); - public native int port(); - public native void setPort(int port); - public native boolean hasPort(); - public native String path(boolean correct); - public native String path(); - public native void setPath(String path); - public native boolean hasPath(); - public native void setEncodedPathAndQuery(String enc); - public native String encodedPathAndQuery(); - public native void setQuery(String txt); - public native String query(); - public native String ref(); - public native void setRef(String txt); - public native boolean hasRef(); - public native boolean isValid(); - public native boolean isLocalFile(); - public native void addPath(String path); - public native void setFileName(String txt); - public native String fileName(); - public native String dirPath(); - public native boolean op_equals(TQUrlInterface url); - public native boolean op_equals(String url); - public native String toString(boolean encodedPath, boolean forcePrependProtocol); - public native String toString(boolean encodedPath); - public native String toString(); - public native boolean cdUp(); - public static native void decode(StringBuffer url); - public static native void encode(StringBuffer url); - public static native boolean isRelativeUrl(String url); - protected native void reset(); - protected native boolean parse(String url); - /** 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/qtjava/javalib/org/kde/qt/QUrlInfo.java b/qtjava/javalib/org/kde/qt/QUrlInfo.java deleted file mode 100644 index bc33f522..00000000 --- a/qtjava/javalib/org/kde/qt/QUrlInfo.java +++ /dev/null @@ -1,77 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.Calendar; - -public class TQUrlInfo implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQUrlInfo(Class dummy){} - - public static final int ReadOwner = 00400; - public static final int WriteOwner = 00200; - public static final int ExeOwner = 00100; - public static final int ReadGroup = 00040; - public static final int WriteGroup = 00020; - public static final int ExeGroup = 00010; - public static final int ReadOther = 00004; - public static final int WriteOther = 00002; - public static final int ExeOther = 00001; - - public TQUrlInfo() { - newTQUrlInfo(); - } - private native void newTQUrlInfo(); - public TQUrlInfo(TQUrlOperator path, String file) { - newTQUrlInfo(path,file); - } - private native void newTQUrlInfo(TQUrlOperator path, String file); - public TQUrlInfo(TQUrlInfo ui) { - newTQUrlInfo(ui); - } - private native void newTQUrlInfo(TQUrlInfo ui); - public TQUrlInfo(String name, int permissions, String owner, String group, long size, Calendar lastModified, Calendar lastRead, boolean isDir, boolean isFile, boolean isSymLink, boolean isWritable, boolean isReadable, boolean isExecutable) { - newTQUrlInfo(name,permissions,owner,group,size,lastModified,lastRead,isDir,isFile,isSymLink,isWritable,isReadable,isExecutable); - } - private native void newTQUrlInfo(String name, int permissions, String owner, String group, long size, Calendar lastModified, Calendar lastRead, boolean isDir, boolean isFile, boolean isSymLink, boolean isWritable, boolean isReadable, boolean isExecutable); - public TQUrlInfo(TQUrlInterface url, int permissions, String owner, String group, long size, Calendar lastModified, Calendar lastRead, boolean isDir, boolean isFile, boolean isSymLink, boolean isWritable, boolean isReadable, boolean isExecutable) { - newTQUrlInfo(url,permissions,owner,group,size,lastModified,lastRead,isDir,isFile,isSymLink,isWritable,isReadable,isExecutable); - } - private native void newTQUrlInfo(TQUrlInterface url, int permissions, String owner, String group, long size, Calendar lastModified, Calendar lastRead, boolean isDir, boolean isFile, boolean isSymLink, boolean isWritable, boolean isReadable, boolean isExecutable); - public native void setName(String name); - public native void setDir(boolean b); - public native void setFile(boolean b); - public native void setSymLink(boolean b); - public native void setOwner(String s); - public native void setGroup(String s); - public native void setSize(long size); - public native void setWritable(boolean b); - public native void setReadable(boolean b); - public native void setPermissions(int p); - public native void setLastModified(Calendar dt); - public native boolean isValid(); - public native String name(); - public native int permissions(); - public native String owner(); - public native String group(); - public native long size(); - public native Calendar lastModified(); - public native Calendar lastRead(); - public native boolean isDir(); - public native boolean isFile(); - public native boolean isSymLink(); - public native boolean isWritable(); - public native boolean isReadable(); - public native boolean isExecutable(); - public native boolean op_equals(TQUrlInfo i); - public static native boolean greaterThan(TQUrlInfo i1, TQUrlInfo i2, int sortBy); - public static native boolean lessThan(TQUrlInfo i1, TQUrlInfo i2, int sortBy); - public static native boolean equal(TQUrlInfo i1, TQUrlInfo i2, int sortBy); - /** 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/qtjava/javalib/org/kde/qt/QUrlInterface.java b/qtjava/javalib/org/kde/qt/QUrlInterface.java deleted file mode 100644 index d33f8796..00000000 --- a/qtjava/javalib/org/kde/qt/QUrlInterface.java +++ /dev/null @@ -1,43 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQUrlInterface { - String protocol(); - void setProtocol(String protocol); - String user(); - void setUser(String user); - boolean hasUser(); - String password(); - void setPassword(String pass); - boolean hasPassword(); - String host(); - void setHost(String user); - boolean hasHost(); - int port(); - void setPort(int port); - boolean hasPort(); - String path(boolean correct); - String path(); - void setPath(String path); - boolean hasPath(); - void setEncodedPathAndQuery(String enc); - String encodedPathAndQuery(); - void setQuery(String txt); - String query(); - String ref(); - void setRef(String txt); - boolean hasRef(); - boolean isValid(); - boolean isLocalFile(); - void addPath(String path); - void setFileName(String txt); - String fileName(); - String dirPath(); - boolean op_equals(TQUrlInterface url); - boolean op_equals(String url); - String toString(boolean encodedPath, boolean forcePrependProtocol); - String toString(boolean encodedPath); - String toString(); - boolean cdUp(); -} diff --git a/qtjava/javalib/org/kde/qt/QUrlOperator.java b/qtjava/javalib/org/kde/qt/QUrlOperator.java deleted file mode 100644 index 6ba21026..00000000 --- a/qtjava/javalib/org/kde/qt/QUrlOperator.java +++ /dev/null @@ -1,111 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQUrlOperatorSignals} for signals emitted by TQUrlOperator -*/ -public class TQUrlOperator extends TQObject implements TQUrlInterface { - protected TQUrlOperator(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQUrlOperator() { - super((Class) null); - newTQUrlOperator(); - } - private native void newTQUrlOperator(); - public TQUrlOperator(String urL) { - super((Class) null); - newTQUrlOperator(urL); - } - private native void newTQUrlOperator(String urL); - public TQUrlOperator(TQUrlOperator url) { - super((Class) null); - newTQUrlOperator(url); - } - private native void newTQUrlOperator(TQUrlOperator url); - public TQUrlOperator(TQUrlOperator url, String relUrl, boolean checkSlash) { - super((Class) null); - newTQUrlOperator(url,relUrl,checkSlash); - } - private native void newTQUrlOperator(TQUrlOperator url, String relUrl, boolean checkSlash); - public TQUrlOperator(TQUrlOperator url, String relUrl) { - super((Class) null); - newTQUrlOperator(url,relUrl); - } - private native void newTQUrlOperator(TQUrlOperator url, String relUrl); - public native void setPath(String path); - public native boolean cdUp(); - public native TQNetworkOperation listChildren(); - public native TQNetworkOperation mkdir(String dirname); - public native TQNetworkOperation remove(String filename); - public native TQNetworkOperation rename(String oldname, String newname); - public native TQNetworkOperation get(String location); - public native TQNetworkOperation get(); - public native TQNetworkOperation put(byte[] data, String location); - public native TQNetworkOperation put(byte[] data); - // TQPtrList copy(const TQString& arg1,const TQString& arg2,bool arg3,bool arg4); >>>> NOT CONVERTED - // TQPtrList copy(const TQString& arg1,const TQString& arg2,bool arg3); >>>> NOT CONVERTED - // TQPtrList copy(const TQString& arg1,const TQString& arg2); >>>> NOT CONVERTED - public native void copy(String[] files, String dest, boolean move); - public native void copy(String[] files, String dest); - public native boolean isDir(boolean[] ok); - public native boolean isDir(); - public native void setNameFilter(String nameFilter); - public native String nameFilter(); - public native TQUrlInfo info(String entry); - public native void stop(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void reset(); - protected native boolean parse(String url); - protected native boolean checkValid(); - protected native void clearEntries(); - protected native void getNetworkProtocol(); - protected native void deleteNetworkProtocol(); - /** 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(); - public native String protocol(); - public native void setProtocol(String protocol); - public native String user(); - public native void setUser(String user); - public native boolean hasUser(); - public native String password(); - public native void setPassword(String pass); - public native boolean hasPassword(); - public native String host(); - public native void setHost(String user); - public native boolean hasHost(); - public native int port(); - public native void setPort(int port); - public native boolean hasPort(); - public native String path(boolean correct); - public native String path(); - public native boolean hasPath(); - public native void setEncodedPathAndQuery(String enc); - public native String encodedPathAndQuery(); - public native void setQuery(String txt); - public native String query(); - public native String ref(); - public native void setRef(String txt); - public native boolean hasRef(); - public native boolean isValid(); - public native boolean isLocalFile(); - public native void addPath(String path); - public native void setFileName(String txt); - public native String fileName(); - public native String dirPath(); - public native boolean op_equals(TQUrlInterface url); - public native boolean op_equals(String url); - public native String toString(boolean encodedPath, boolean forcePrependProtocol); - public native String toString(boolean encodedPath); - public native String toString(); - public static native void decode(StringBuffer url); - public static native void encode(StringBuffer url); - public static native boolean isRelativeUrl(String url); -} diff --git a/qtjava/javalib/org/kde/qt/QUrlOperatorSignals.java b/qtjava/javalib/org/kde/qt/QUrlOperatorSignals.java deleted file mode 100644 index d6f21b0f..00000000 --- a/qtjava/javalib/org/kde/qt/QUrlOperatorSignals.java +++ /dev/null @@ -1,16 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQUrlOperatorSignals { - // void newChildren(const TQValueList& arg1,TQNetworkOperation* arg2); >>>> NOT CONVERTED - void finished(TQNetworkOperation res); - void start(TQNetworkOperation res); - void createdDirectory(TQUrlInfo arg1, TQNetworkOperation res); - void removed(TQNetworkOperation res); - void itemChanged(TQNetworkOperation res); - void data(byte[] arg1, TQNetworkOperation res); - void dataTransferProgress(int bytesDone, int bytesTotal, TQNetworkOperation res); - // void startedNextCopy(const TQPtrList& arg1); >>>> NOT CONVERTED - void connectionStateChanged(int state, String data); -} diff --git a/qtjava/javalib/org/kde/qt/QUtf16Codec.java b/qtjava/javalib/org/kde/qt/QUtf16Codec.java deleted file mode 100644 index 8e566c94..00000000 --- a/qtjava/javalib/org/kde/qt/QUtf16Codec.java +++ /dev/null @@ -1,24 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQUtf16Codec extends TQTextCodec { - protected TQUtf16Codec(Class dummy){super((Class) null);} - public native int mibEnum(); - public native String name(); - public native TQTextDecoder makeDecoder(); - public native TQTextEncoder makeEncoder(); - public native int heuristicContentMatch(String chars, int len); - public TQUtf16Codec() { - super((Class) null); - newTQUtf16Codec(); - } - private native void newTQUtf16Codec(); - /** 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/qtjava/javalib/org/kde/qt/QUtf8Codec.java b/qtjava/javalib/org/kde/qt/QUtf8Codec.java deleted file mode 100644 index 4fe7308a..00000000 --- a/qtjava/javalib/org/kde/qt/QUtf8Codec.java +++ /dev/null @@ -1,25 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQUtf8Codec extends TQTextCodec { - protected TQUtf8Codec(Class dummy){super((Class) null);} - public native int mibEnum(); - public native String name(); - public native TQTextDecoder makeDecoder(); - public native String fromUnicode(String uc, int[] lenInOut); - public native String toUnicode(String chars, int len); - public native int heuristicContentMatch(String chars, int len); - public TQUtf8Codec() { - super((Class) null); - newTQUtf8Codec(); - } - private native void newTQUtf8Codec(); - /** 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/qtjava/javalib/org/kde/qt/QUuid.java b/qtjava/javalib/org/kde/qt/QUuid.java deleted file mode 100644 index 47fd806e..00000000 --- a/qtjava/javalib/org/kde/qt/QUuid.java +++ /dev/null @@ -1,54 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQUuid implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQUuid(Class dummy){} - - public static final int VarUnknown = -1; - public static final int NCS = 0; - public static final int DCE = 2; - public static final int Microsoft = 6; - public static final int Reserved = 7; - - public static final int VerUnknown = -1; - public static final int Time = 1; - public static final int EmbeddedPOSIX = 2; - public static final int Name = 3; - public static final int Random = 4; - - public TQUuid() { - newTQUuid(); - } - private native void newTQUuid(); - public TQUuid(int l, short w1, short w2, short b1, short b2, short b3, short b4, short b5, short b6, short b7, short b8) { - newTQUuid(l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8); - } - private native void newTQUuid(int l, short w1, short w2, short b1, short b2, short b3, short b4, short b5, short b6, short b7, short b8); - public TQUuid(TQUuid uuid) { - newTQUuid(uuid); - } - private native void newTQUuid(TQUuid uuid); - public TQUuid(String arg1) { - newTQUuid(arg1); - } - private native void newTQUuid(String arg1); - public native String toString(); - public native boolean isNull(); - public native boolean op_equals(TQUuid orig); - public native boolean op_not_equals(TQUuid orig); - public native boolean op_lt(TQUuid other); - public native boolean op_gt(TQUuid other); - public native int variant(); - public native int version(); - public static native TQUuid createUuid(); - /** 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/qtjava/javalib/org/kde/qt/QVBox.java b/qtjava/javalib/org/kde/qt/QVBox.java deleted file mode 100644 index 10aa69dd..00000000 --- a/qtjava/javalib/org/kde/qt/QVBox.java +++ /dev/null @@ -1,38 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQVBox extends TQHBox { - protected TQVBox(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQVBox(TQWidget parent, String name, int f) { - super((Class) null); - newTQVBox(parent,name,f); - } - private native void newTQVBox(TQWidget parent, String name, int f); - public TQVBox(TQWidget parent, String name) { - super((Class) null); - newTQVBox(parent,name); - } - private native void newTQVBox(TQWidget parent, String name); - public TQVBox(TQWidget parent) { - super((Class) null); - newTQVBox(parent); - } - private native void newTQVBox(TQWidget parent); - public TQVBox() { - super((Class) null); - newTQVBox(); - } - private native void newTQVBox(); - public static native String tr(String arg1, String arg2); - public static native String tr(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/qtjava/javalib/org/kde/qt/QVBoxLayout.java b/qtjava/javalib/org/kde/qt/QVBoxLayout.java deleted file mode 100644 index 5beb1e39..00000000 --- a/qtjava/javalib/org/kde/qt/QVBoxLayout.java +++ /dev/null @@ -1,68 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQVBoxLayout extends TQBoxLayout { - protected TQVBoxLayout(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQVBoxLayout(TQWidget parent, int border, int spacing, String name) { - super((Class) null); - newTQVBoxLayout(parent,border,spacing,name); - } - private native void newTQVBoxLayout(TQWidget parent, int border, int spacing, String name); - public TQVBoxLayout(TQWidget parent, int border, int spacing) { - super((Class) null); - newTQVBoxLayout(parent,border,spacing); - } - private native void newTQVBoxLayout(TQWidget parent, int border, int spacing); - public TQVBoxLayout(TQWidget parent, int border) { - super((Class) null); - newTQVBoxLayout(parent,border); - } - private native void newTQVBoxLayout(TQWidget parent, int border); - public TQVBoxLayout(TQWidget parent) { - super((Class) null); - newTQVBoxLayout(parent); - } - private native void newTQVBoxLayout(TQWidget parent); - public TQVBoxLayout(TQLayout parentLayout, int spacing, String name) { - super((Class) null); - newTQVBoxLayout(parentLayout,spacing,name); - } - private native void newTQVBoxLayout(TQLayout parentLayout, int spacing, String name); - public TQVBoxLayout(TQLayout parentLayout, int spacing) { - super((Class) null); - newTQVBoxLayout(parentLayout,spacing); - } - private native void newTQVBoxLayout(TQLayout parentLayout, int spacing); - public TQVBoxLayout(TQLayout parentLayout) { - super((Class) null); - newTQVBoxLayout(parentLayout); - } - private native void newTQVBoxLayout(TQLayout parentLayout); - public TQVBoxLayout(int spacing, String name) { - super((Class) null); - newTQVBoxLayout(spacing,name); - } - private native void newTQVBoxLayout(int spacing, String name); - public TQVBoxLayout(int spacing) { - super((Class) null); - newTQVBoxLayout(spacing); - } - private native void newTQVBoxLayout(int spacing); - public TQVBoxLayout() { - super((Class) null); - newTQVBoxLayout(); - } - private native void newTQVBoxLayout(); - public static native String tr(String arg1, String arg2); - public static native String tr(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/qtjava/javalib/org/kde/qt/QVButtonGroup.java b/qtjava/javalib/org/kde/qt/QVButtonGroup.java deleted file mode 100644 index af8ab7cf..00000000 --- a/qtjava/javalib/org/kde/qt/QVButtonGroup.java +++ /dev/null @@ -1,48 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQVButtonGroup extends TQButtonGroup { - protected TQVButtonGroup(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQVButtonGroup(TQWidget parent, String name) { - super((Class) null); - newTQVButtonGroup(parent,name); - } - private native void newTQVButtonGroup(TQWidget parent, String name); - public TQVButtonGroup(TQWidget parent) { - super((Class) null); - newTQVButtonGroup(parent); - } - private native void newTQVButtonGroup(TQWidget parent); - public TQVButtonGroup() { - super((Class) null); - newTQVButtonGroup(); - } - private native void newTQVButtonGroup(); - public TQVButtonGroup(String title, TQWidget parent, String name) { - super((Class) null); - newTQVButtonGroup(title,parent,name); - } - private native void newTQVButtonGroup(String title, TQWidget parent, String name); - public TQVButtonGroup(String title, TQWidget parent) { - super((Class) null); - newTQVButtonGroup(title,parent); - } - private native void newTQVButtonGroup(String title, TQWidget parent); - public TQVButtonGroup(String title) { - super((Class) null); - newTQVButtonGroup(title); - } - private native void newTQVButtonGroup(String title); - public static native String tr(String arg1, String arg2); - public static native String tr(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/qtjava/javalib/org/kde/qt/QVGroupBox.java b/qtjava/javalib/org/kde/qt/QVGroupBox.java deleted file mode 100644 index 6767a211..00000000 --- a/qtjava/javalib/org/kde/qt/QVGroupBox.java +++ /dev/null @@ -1,48 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQVGroupBox extends TQGroupBox { - protected TQVGroupBox(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQVGroupBox(TQWidget parent, String name) { - super((Class) null); - newTQVGroupBox(parent,name); - } - private native void newTQVGroupBox(TQWidget parent, String name); - public TQVGroupBox(TQWidget parent) { - super((Class) null); - newTQVGroupBox(parent); - } - private native void newTQVGroupBox(TQWidget parent); - public TQVGroupBox() { - super((Class) null); - newTQVGroupBox(); - } - private native void newTQVGroupBox(); - public TQVGroupBox(String title, TQWidget parent, String name) { - super((Class) null); - newTQVGroupBox(title,parent,name); - } - private native void newTQVGroupBox(String title, TQWidget parent, String name); - public TQVGroupBox(String title, TQWidget parent) { - super((Class) null); - newTQVGroupBox(title,parent); - } - private native void newTQVGroupBox(String title, TQWidget parent); - public TQVGroupBox(String title) { - super((Class) null); - newTQVGroupBox(title); - } - private native void newTQVGroupBox(String title); - public static native String tr(String arg1, String arg2); - public static native String tr(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/qtjava/javalib/org/kde/qt/QValidator.java b/qtjava/javalib/org/kde/qt/QValidator.java deleted file mode 100644 index d9e6e721..00000000 --- a/qtjava/javalib/org/kde/qt/QValidator.java +++ /dev/null @@ -1,35 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQValidator extends TQObject { - protected TQValidator(Class dummy){super((Class) null);} - public static final int Invalid = 0; - public static final int Intermediate = 1; - public static final int Valid = Intermediate; - public static final int Acceptable = 2; - - public native TQMetaObject metaObject(); - public native String className(); - public TQValidator(TQObject parent, String name) { - super((Class) null); - newTQValidator(parent,name); - } - private native void newTQValidator(TQObject parent, String name); - public TQValidator(TQObject parent) { - super((Class) null); - newTQValidator(parent); - } - private native void newTQValidator(TQObject parent); - public native int validate(StringBuffer arg1, int[] arg2); - public native void fixup(StringBuffer arg1); - public static native String tr(String arg1, String arg2); - public static native String tr(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/qtjava/javalib/org/kde/qt/QVariant.java b/qtjava/javalib/org/kde/qt/QVariant.java deleted file mode 100644 index 41a8ce67..00000000 --- a/qtjava/javalib/org/kde/qt/QVariant.java +++ /dev/null @@ -1,276 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.ArrayList; -import java.util.Calendar; -import java.util.Date; - -public class TQVariant implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQVariant(Class dummy){} - - public static final int Invalid = 0; - public static final int Map = 1; - public static final int List = 2; - public static final int String = 3; - public static final int StringList = 4; - public static final int Font = 5; - public static final int Pixmap = 6; - public static final int Brush = 7; - public static final int Rect = 8; - public static final int Size = 9; - public static final int Color = 10; - public static final int Palette = 11; - public static final int ColorGroup = 12; - public static final int IconSet = 13; - public static final int Point = 14; - public static final int Image = 15; - public static final int Int = 16; - public static final int UInt = 17; - public static final int Bool = 18; - public static final int Double = 19; - public static final int CString = 20; - public static final int PointArray = 21; - public static final int Region = 22; - public static final int Bitmap = 23; - public static final int Cursor = 24; - public static final int SizePolicy = 25; - public static final int Date = 26; - public static final int Time = 27; - public static final int DateTime = 28; - public static final int ByteArray = 29; - public static final int BitArray = 30; - public static final int KeySequence = 31; - public static final int Pen = 32; - public static final int LongLong = 33; - public static final int ULongLong = 34; - - public TQVariant() { - newTQVariant(); - } - private native void newTQVariant(); - public TQVariant(TQVariant arg1) { - newTQVariant(arg1); - } - private native void newTQVariant(TQVariant arg1); - public TQVariant(TQDataStream s) { - newTQVariant(s); - } - private native void newTQVariant(TQDataStream s); - public TQVariant(String arg1) { - newTQVariant(arg1); - } - private native void newTQVariant(String arg1); - public TQVariant(String[] arg1) { - newTQVariant(arg1); - } - private native void newTQVariant(String[] arg1); - public TQVariant(TQFont arg1) { - newTQVariant(arg1); - } - private native void newTQVariant(TQFont arg1); - public TQVariant(TQPixmap arg1) { - newTQVariant(arg1); - } - private native void newTQVariant(TQPixmap arg1); - public TQVariant(TQImage arg1) { - newTQVariant(arg1); - } - private native void newTQVariant(TQImage arg1); - public TQVariant(TQBrush arg1) { - newTQVariant(arg1); - } - private native void newTQVariant(TQBrush arg1); - public TQVariant(TQPoint arg1) { - newTQVariant(arg1); - } - private native void newTQVariant(TQPoint arg1); - public TQVariant(TQRect arg1) { - newTQVariant(arg1); - } - private native void newTQVariant(TQRect arg1); - public TQVariant(TQSize arg1) { - newTQVariant(arg1); - } - private native void newTQVariant(TQSize arg1); - public TQVariant(TQColor arg1) { - newTQVariant(arg1); - } - private native void newTQVariant(TQColor arg1); - public TQVariant(TQPalette arg1) { - newTQVariant(arg1); - } - private native void newTQVariant(TQPalette arg1); - public TQVariant(TQColorGroup arg1) { - newTQVariant(arg1); - } - private native void newTQVariant(TQColorGroup arg1); - public TQVariant(TQIconSet arg1) { - newTQVariant(arg1); - } - private native void newTQVariant(TQIconSet arg1); - public TQVariant(TQPointArray arg1) { - newTQVariant(arg1); - } - private native void newTQVariant(TQPointArray arg1); - public TQVariant(TQRegion arg1) { - newTQVariant(arg1); - } - private native void newTQVariant(TQRegion arg1); - public TQVariant(TQBitmap arg1) { - newTQVariant(arg1); - } - private native void newTQVariant(TQBitmap arg1); - public TQVariant(TQCursor arg1) { - newTQVariant(arg1); - } - private native void newTQVariant(TQCursor arg1); - public TQVariant(Calendar arg1) { - newTQVariant(arg1); - } - private native void newTQVariant(Calendar arg1); - public TQVariant(Date arg1) { - newTQVariant(arg1); - } - private native void newTQVariant(Date arg1); - public TQVariant(byte[] arg1) { - newTQVariant(arg1); - } - private native void newTQVariant(byte[] arg1); - // TQVariant* TQVariant(const TQBitArray& arg1); >>>> NOT CONVERTED - public TQVariant(TQKeySequence arg1) { - newTQVariant(arg1); - } - private native void newTQVariant(TQKeySequence arg1); - public TQVariant(TQPen arg1) { - newTQVariant(arg1); - } - private native void newTQVariant(TQPen arg1); - // TQVariant* TQVariant(const TQValueList& arg1); >>>> NOT CONVERTED - // TQVariant* TQVariant(const TQMap& arg1); >>>> NOT CONVERTED - public TQVariant(int arg1) { - newTQVariant(arg1); - } - private native void newTQVariant(int arg1); - public TQVariant(long arg1) { - newTQVariant(arg1); - } - private native void newTQVariant(long arg1); - public TQVariant(boolean arg1, int arg2) { - newTQVariant(arg1,arg2); - } - private native void newTQVariant(boolean arg1, int arg2); - public TQVariant(double arg1) { - newTQVariant(arg1); - } - private native void newTQVariant(double arg1); - public TQVariant(TQSizePolicy arg1) { - newTQVariant(arg1); - } - private native void newTQVariant(TQSizePolicy arg1); - public native boolean op_equals(TQVariant arg1); - public native boolean op_not_equals(TQVariant arg1); - public native int type(); - public native String typeName(); - public native boolean canCast(int arg1); - public native boolean cast(int arg1); - public native boolean isValid(); - public native boolean isNull(); - public native void clear(); - public native String toString(); - public native String toCString(); - public native ArrayList toStringList(); - public native TQFont toFont(); - public native TQPixmap toPixmap(); - public native TQImage toImage(); - public native TQBrush toBrush(); - public native TQPoint toPoint(); - public native TQRect toRect(); - public native TQSize toSize(); - public native TQColor toColor(); - public native TQPalette toPalette(); - public native TQColorGroup toColorGroup(); - public native TQIconSet toIconSet(); - public native TQPointArray toPointArray(); - public native TQBitmap toBitmap(); - public native TQRegion toRegion(); - public native TQCursor toCursor(); - public native Calendar toDate(); - public native Date toTime(); - public native Calendar toDateTime(); - public native byte[] toByteArray(); - // const TQBitArray toBitArray(); >>>> NOT CONVERTED - public native TQKeySequence toKeySequence(); - public native TQPen toPen(); - public native int toInt(boolean[] ok); - public native int toInt(); - public native int toUInt(boolean[] ok); - public native int toUInt(); - public native long toLongLong(boolean[] ok); - public native long toLongLong(); - public native long toULongLong(boolean[] ok); - public native long toULongLong(); - public native boolean toBool(); - public native double toDouble(boolean[] ok); - public native double toDouble(); - // const TQValueList toList(); >>>> NOT CONVERTED - // const TQMap toMap(); >>>> NOT CONVERTED - public native TQSizePolicy toSizePolicy(); - // TQValueListConstIterator stringListBegin(); >>>> NOT CONVERTED - // TQValueListConstIterator stringListEnd(); >>>> NOT CONVERTED - // TQValueListConstIterator listBegin(); >>>> NOT CONVERTED - // TQValueListConstIterator listEnd(); >>>> NOT CONVERTED - // TQMapConstIterator mapBegin(); >>>> NOT CONVERTED - // TQMapConstIterator mapEnd(); >>>> NOT CONVERTED - // TQMapConstIterator mapFind(const TQString& arg1); >>>> NOT CONVERTED - public native String asString(); - public native String asCString(); - public native ArrayList asStringList(); - public native TQFont asFont(); - public native TQPixmap asPixmap(); - public native TQImage asImage(); - public native TQBrush asBrush(); - public native TQPoint asPoint(); - public native TQRect asRect(); - public native TQSize asSize(); - public native TQColor asColor(); - public native TQPalette asPalette(); - public native TQColorGroup asColorGroup(); - public native TQIconSet asIconSet(); - public native TQPointArray asPointArray(); - public native TQBitmap asBitmap(); - public native TQRegion asRegion(); - public native TQCursor asCursor(); - public native Calendar asDate(); - public native Date asTime(); - public native Calendar asDateTime(); - public native byte[] asByteArray(); - // TQBitArray& asBitArray(); >>>> NOT CONVERTED - public native TQKeySequence asKeySequence(); - public native TQPen asPen(); - public native int asInt(); - public native int asUInt(); - // Q_LLONG& asLongLong(); >>>> NOT CONVERTED - // Q_ULLONG& asULongLong(); >>>> NOT CONVERTED - public native boolean asBool(); - public native double asDouble(); - // TQValueList& asList(); >>>> NOT CONVERTED - // TQMap& asMap(); >>>> NOT CONVERTED - public native TQSizePolicy asSizePolicy(); - public native void load(TQDataStream arg1); - public native void save(TQDataStream arg1); - // void* rawAccess(void* arg1,TQVariant::Type arg2,bool arg3); >>>> NOT CONVERTED - // void* rawAccess(void* arg1,TQVariant::Type arg2); >>>> NOT CONVERTED - // void* rawAccess(void* arg1); >>>> NOT CONVERTED - // void* rawAccess(); >>>> NOT CONVERTED - public static native String typeToName(int typ); - public static native int nameToType(String name); - /** 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/qtjava/javalib/org/kde/qt/QWMatrix.java b/qtjava/javalib/org/kde/qt/QWMatrix.java deleted file mode 100644 index 5eaf6a61..00000000 --- a/qtjava/javalib/org/kde/qt/QWMatrix.java +++ /dev/null @@ -1,63 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQWMatrix implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQWMatrix(Class dummy){} - - public static final int Points = 0; - public static final int Areas = 1; - - public TQWMatrix() { - newTQWMatrix(); - } - private native void newTQWMatrix(); - public TQWMatrix(double m11, double m12, double m21, double m22, double dx, double dy) { - newTQWMatrix(m11,m12,m21,m22,dx,dy); - } - private native void newTQWMatrix(double m11, double m12, double m21, double m22, double dx, double dy); - public native void setMatrix(double m11, double m12, double m21, double m22, double dx, double dy); - public native double m11(); - public native double m12(); - public native double m21(); - public native double m22(); - public native double dx(); - public native double dy(); - public native void map(int x, int y, int[] tx, int[] ty); - public native void map(double x, double y, double[] tx, double[] ty); - public native TQRect mapRect(TQRect arg1); - public native TQPoint map(TQPoint p); - public native TQRect map(TQRect r); - public native TQPointArray map(TQPointArray a); - public native TQRegion map(TQRegion r); - public native TQRegion mapToRegion(TQRect r); - public native TQPointArray mapToPolygon(TQRect r); - public native void reset(); - public native boolean isIdentity(); - public native TQWMatrix translate(double dx, double dy); - public native TQWMatrix scale(double sx, double sy); - public native TQWMatrix shear(double sh, double sv); - public native TQWMatrix rotate(double a); - public native boolean isInvertible(); - public native double det(); - public native TQWMatrix invert(boolean[] arg1); - public native TQWMatrix invert(); - public native boolean op_equals(TQWMatrix arg1); - public native boolean op_not_equals(TQWMatrix arg1); - public native TQWMatrix op_mult_assign(TQWMatrix arg1); - public native TQPoint op_mult(TQPoint arg1); - public native TQRegion op_mult(TQRect arg1); - public native TQRegion op_mult(TQRegion arg1); - public native TQPointArray op_mult(TQPointArray a); - public static native void setTransformationMode(int m); - public static native int transformationMode(); - /** 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/qtjava/javalib/org/kde/qt/QWhatsThis.java b/qtjava/javalib/org/kde/qt/QWhatsThis.java deleted file mode 100644 index c24d8528..00000000 --- a/qtjava/javalib/org/kde/qt/QWhatsThis.java +++ /dev/null @@ -1,37 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQWhatsThis extends Qt { - protected TQWhatsThis(Class dummy){super((Class) null);} - public TQWhatsThis(TQWidget arg1) { - super((Class) null); - newTQWhatsThis(arg1); - } - private native void newTQWhatsThis(TQWidget arg1); - public native String text(TQPoint arg1); - public native boolean clicked(String href); - public static native void setFont(TQFont font); - public static native void add(TQWidget arg1, String arg2); - public static native void remove(TQWidget arg1); - public static native String textFor(TQWidget arg1, TQPoint pos, boolean includeParents); - public static native String textFor(TQWidget arg1, TQPoint pos); - public static native String textFor(TQWidget arg1); - public static native TQToolButton whatsThisButton(TQWidget parent); - public static native void enterWhatsThisMode(); - public static native boolean inWhatsThisMode(); - public static native void leaveWhatsThisMode(String arg1, TQPoint pos, TQWidget w); - public static native void leaveWhatsThisMode(String arg1, TQPoint pos); - public static native void leaveWhatsThisMode(String arg1); - public static native void leaveWhatsThisMode(); - public static native void display(String text, TQPoint pos, TQWidget w); - public static native void display(String text, TQPoint pos); - public static native void display(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/qtjava/javalib/org/kde/qt/QWheelEvent.java b/qtjava/javalib/org/kde/qt/QWheelEvent.java deleted file mode 100644 index ca14cf2c..00000000 --- a/qtjava/javalib/org/kde/qt/QWheelEvent.java +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQWheelEvent extends TQEvent { - protected TQWheelEvent(Class dummy){super((Class) null);} - public TQWheelEvent(TQPoint pos, int delta, int state, int orient) { - super((Class) null); - newTQWheelEvent(pos,delta,state,orient); - } - private native void newTQWheelEvent(TQPoint pos, int delta, int state, int orient); - public TQWheelEvent(TQPoint pos, int delta, int state) { - super((Class) null); - newTQWheelEvent(pos,delta,state); - } - private native void newTQWheelEvent(TQPoint pos, int delta, int state); - public TQWheelEvent(TQPoint pos, TQPoint globalPos, int delta, int state, int orient) { - super((Class) null); - newTQWheelEvent(pos,globalPos,delta,state,orient); - } - private native void newTQWheelEvent(TQPoint pos, TQPoint globalPos, int delta, int state, int orient); - public TQWheelEvent(TQPoint pos, TQPoint globalPos, int delta, int state) { - super((Class) null); - newTQWheelEvent(pos,globalPos,delta,state); - } - private native void newTQWheelEvent(TQPoint pos, TQPoint globalPos, int delta, int state); - public native int delta(); - public native TQPoint pos(); - public native TQPoint globalPos(); - public native int x(); - public native int y(); - public native int globalX(); - public native int globalY(); - public native int state(); - public native int orientation(); - public native boolean isAccepted(); - public native void accept(); - public native void ignore(); - /** 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/qtjava/javalib/org/kde/qt/QWidget.java b/qtjava/javalib/org/kde/qt/QWidget.java deleted file mode 100644 index 5fdd541a..00000000 --- a/qtjava/javalib/org/kde/qt/QWidget.java +++ /dev/null @@ -1,337 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQWidget extends TQObject implements TQPaintDeviceInterface { - protected TQWidget(Class dummy){super((Class) null);} - public static final int NoFocus = 0; - public static final int TabFocus = 0x1; - public static final int ClickFocus = 0x2; - public static final int StrongFocus = TabFocus|ClickFocus|0x8; - public static final int WheelFocus = StrongFocus|0x4; - - public static final int WidgetOrigin = 0; - public static final int ParentOrigin = 1; - public static final int WindowOrigin = 2; - public static final int AncestorOrigin = 3; - - public native TQMetaObject metaObject(); - public native String className(); - public TQWidget(TQWidget parent, String name, int f) { - super((Class) null); - newTQWidget(parent,name,f); - } - private native void newTQWidget(TQWidget parent, String name, int f); - public TQWidget(TQWidget parent, String name) { - super((Class) null); - newTQWidget(parent,name); - } - private native void newTQWidget(TQWidget parent, String name); - public TQWidget(TQWidget parent) { - super((Class) null); - newTQWidget(parent); - } - private native void newTQWidget(TQWidget parent); - public TQWidget() { - super((Class) null); - newTQWidget(); - } - private native void newTQWidget(); - public native long winId(); - public native void setName(String name); - public native TQStyle style(); - public native void setStyle(TQStyle arg1); - public native TQStyle setStyle(String arg1); - public native boolean isTopLevel(); - public native boolean isDialog(); - public native boolean isPopup(); - public native boolean isDesktop(); - public native boolean isModal(); - public native boolean isEnabled(); - public native boolean isEnabledTo(TQWidget arg1); - public native boolean isEnabledToTLW(); - public native TQRect frameGeometry(); - public native TQRect geometry(); - public native int x(); - public native int y(); - public native TQPoint pos(); - public native TQSize frameSize(); - public native TQSize size(); - public native int width(); - public native int height(); - public native TQRect rect(); - public native TQRect childrenRect(); - public native TQRegion childrenRegion(); - public native TQSize minimumSize(); - public native TQSize maximumSize(); - public native int minimumWidth(); - public native int minimumHeight(); - public native int maximumWidth(); - public native int maximumHeight(); - public native void setMinimumSize(TQSize arg1); - public native void setMinimumSize(int minw, int minh); - public native void setMaximumSize(TQSize arg1); - public native void setMaximumSize(int maxw, int maxh); - public native void setMinimumWidth(int minw); - public native void setMinimumHeight(int minh); - public native void setMaximumWidth(int maxw); - public native void setMaximumHeight(int maxh); - public native TQSize sizeIncrement(); - public native void setSizeIncrement(TQSize arg1); - public native void setSizeIncrement(int w, int h); - public native TQSize baseSize(); - public native void setBaseSize(TQSize arg1); - public native void setBaseSize(int basew, int baseh); - public native void setFixedSize(TQSize arg1); - public native void setFixedSize(int w, int h); - public native void setFixedWidth(int w); - public native void setFixedHeight(int h); - public native TQPoint mapToGlobal(TQPoint arg1); - public native TQPoint mapFromGlobal(TQPoint arg1); - public native TQPoint mapToParent(TQPoint arg1); - public native TQPoint mapFromParent(TQPoint arg1); - public native TQPoint mapTo(TQWidget arg1, TQPoint arg2); - public native TQPoint mapFrom(TQWidget arg1, TQPoint arg2); - public native TQWidget topLevelWidget(); - public native int backgroundMode(); - public native void setBackgroundMode(int arg1); - public native void setBackgroundMode(int arg1, int arg2); - public native TQColor foregroundColor(); - public native TQColor eraseColor(); - public native void setEraseColor(TQColor arg1); - public native TQPixmap erasePixmap(); - public native void setErasePixmap(TQPixmap arg1); - public native TQColorGroup colorGroup(); - public native TQPalette palette(); - public native boolean ownPalette(); - public native void setPalette(TQPalette arg1); - public native void unsetPalette(); - public native TQColor paletteForegroundColor(); - public native void setPaletteForegroundColor(TQColor arg1); - public native TQColor paletteBackgroundColor(); - public native void setPaletteBackgroundColor(TQColor arg1); - public native TQPixmap paletteBackgroundPixmap(); - public native void setPaletteBackgroundPixmap(TQPixmap arg1); - public native TQBrush backgroundBrush(); - public native TQFont font(); - public native boolean ownFont(); - public native void setFont(TQFont arg1); - public native void unsetFont(); - public native TQFontMetrics fontMetrics(); - public native TQFontInfo fontInfo(); - public native TQCursor cursor(); - public native boolean ownCursor(); - public native void setCursor(TQCursor arg1); - public native void unsetCursor(); - public native String caption(); - public native TQPixmap icon(); - public native String iconText(); - public native boolean hasMouseTracking(); - public native boolean hasMouse(); - public native void setMask(TQBitmap arg1); - public native void setMask(TQRegion arg1); - public native void clearMask(); - public native TQColor backgroundColor(); - public native void setBackgroundColor(TQColor arg1); - public native TQPixmap backgroundPixmap(); - public native void setBackgroundPixmap(TQPixmap arg1); - public native boolean isActiveWindow(); - public native void setActiveWindow(); - public native boolean isFocusEnabled(); - public native int focusPolicy(); - public native void setFocusPolicy(int arg1); - public native boolean hasFocus(); - public native void setFocusProxy(TQWidget arg1); - public native TQWidget focusProxy(); - public native void setInputMethodEnabled(boolean b); - public native boolean isInputMethodEnabled(); - public native void grabMouse(); - public native void grabMouse(TQCursor arg1); - public native void releaseMouse(); - public native void grabKeyboard(); - public native void releaseKeyboard(); - public native boolean isUpdatesEnabled(); - public native boolean close(boolean alsoDelete); - public native boolean isVisible(); - public native boolean isVisibleTo(TQWidget arg1); - public native boolean isVisibleToTLW(); - public native TQRect visibleRect(); - public native boolean isHidden(); - public native boolean isShown(); - public native boolean isMinimized(); - public native boolean isMaximized(); - public native boolean isFullScreen(); - public native int windowState(); - public native void setWindowState(int windowState); - public native TQSize sizeHint(); - public native TQSize minimumSizeHint(); - public native TQSizePolicy sizePolicy(); - public native void setSizePolicy(TQSizePolicy arg1); - public native void setSizePolicy(int hor, int ver, boolean hfw); - public native void setSizePolicy(int hor, int ver); - public native int heightForWidth(int arg1); - public native TQRegion clipRegion(); - public native TQLayout layout(); - public native void updateGeometry(); - public native void reparent(TQWidget parent, int arg2, TQPoint arg3, boolean showIt); - public native void reparent(TQWidget parent, int arg2, TQPoint arg3); - public native void reparent(TQWidget parent, TQPoint arg2, boolean showIt); - public native void reparent(TQWidget parent, TQPoint arg2); - public native void recreate(TQWidget parent, int f, TQPoint p, boolean showIt); - public native void recreate(TQWidget parent, int f, TQPoint p); - public native void erase(); - public native void erase(int x, int y, int w, int h); - public native void erase(TQRect arg1); - public native void erase(TQRegion arg1); - public native void scroll(int dx, int dy); - public native void scroll(int dx, int dy, TQRect arg3); - public native void drawText(int x, int y, String arg3); - public native void drawText(TQPoint arg1, String arg2); - public native TQWidget focusWidget(); - public native TQRect microFocusHint(); - public native boolean acceptDrops(); - public native void setAcceptDrops(boolean on); - public native void setAutoMask(boolean arg1); - public native boolean autoMask(); - public native void setBackgroundOrigin(int arg1); - public native int backgroundOrigin(); - public native TQPoint backgroundOffset(); - public native boolean customWhatsThis(); - public native TQWidget parentWidget(boolean sameWindow); - public native TQWidget parentWidget(); - public native int testWState(int s); - public native int testWFlags(int f); - public native TQWidget childAt(int x, int y, boolean includeThis); - public native TQWidget childAt(int x, int y); - public native TQWidget childAt(TQPoint arg1, boolean includeThis); - public native TQWidget childAt(TQPoint arg1); - public native void setWindowOpacity(double level); - public native double windowOpacity(); - public native void setPalette(TQPalette p, boolean arg2); - public native void setFont(TQFont f, boolean arg2); - public native void setEnabled(boolean arg1); - public native void setDisabled(boolean arg1); - public native void setCaption(String arg1); - public native void setIcon(TQPixmap arg1); - public native void setIconText(String arg1); - public native void setMouseTracking(boolean enable); - public native void setFocus(); - public native void clearFocus(); - public native void setUpdatesEnabled(boolean enable); - public native void update(); - public native void update(int x, int y, int w, int h); - public native void update(TQRect arg1); - public native void repaint(); - public native void repaint(boolean erase); - public native void repaint(int x, int y, int w, int h, boolean erase); - public native void repaint(int x, int y, int w, int h); - public native void repaint(TQRect arg1, boolean erase); - public native void repaint(TQRect arg1); - public native void repaint(TQRegion arg1, boolean erase); - public native void repaint(TQRegion arg1); - public native void show(); - public native void hide(); - public native void setShown(boolean show); - public native void setHidden(boolean hide); - public native void iconify(); - public native void showMinimized(); - public native void showMaximized(); - public native void showFullScreen(); - public native void showNormal(); - public native void polish(); - public native void constPolish(); - public native boolean close(); - public native void raise(); - public native void lower(); - public native void stackUnder(TQWidget arg1); - public native void move(int x, int y); - public native void move(TQPoint arg1); - public native void resize(int w, int h); - public native void resize(TQSize arg1); - public native void setGeometry(int x, int y, int w, int h); - public native void setGeometry(TQRect arg1); - public native void adjustSize(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - public static native void setTabOrder(TQWidget arg1, TQWidget arg2); - public static native TQWidget mouseGrabber(); - public static native TQWidget keyboardGrabber(); - public static native TQWidget find(long arg1); - // TQWidgetMapper* wmapper(); >>>> NOT CONVERTED - public native boolean event(TQEvent arg1); - protected native void mousePressEvent(TQMouseEvent arg1); - protected native void mouseReleaseEvent(TQMouseEvent arg1); - protected native void mouseDoubleClickEvent(TQMouseEvent arg1); - protected native void mouseMoveEvent(TQMouseEvent arg1); - protected native void wheelEvent(TQWheelEvent arg1); - protected native void keyPressEvent(TQKeyEvent arg1); - protected native void keyReleaseEvent(TQKeyEvent arg1); - protected native void focusInEvent(TQFocusEvent arg1); - protected native void focusOutEvent(TQFocusEvent arg1); - protected native void enterEvent(TQEvent arg1); - protected native void leaveEvent(TQEvent arg1); - protected native void paintEvent(TQPaintEvent arg1); - protected native void moveEvent(TQMoveEvent arg1); - protected native void resizeEvent(TQResizeEvent arg1); - protected native void closeEvent(TQCloseEvent arg1); - protected native void contextMenuEvent(TQContextMenuEvent arg1); - protected native void imStartEvent(TQIMEvent arg1); - protected native void imComposeEvent(TQIMEvent arg1); - protected native void imEndEvent(TQIMEvent arg1); - protected native void tabletEvent(TQTabletEvent arg1); - protected native void dragEnterEvent(TQDragEnterEvent arg1); - protected native void dragMoveEvent(TQDragMoveEvent arg1); - protected native void dragLeaveEvent(TQDragLeaveEvent arg1); - protected native void dropEvent(TQDropEvent arg1); - public native void showEvent(TQShowEvent arg1); - protected native void hideEvent(TQHideEvent arg1); - protected native void updateMask(); - public native void styleChange(TQStyle arg1); - protected native void enabledChange(boolean oldEnabled); - protected native void paletteChange(TQPalette arg1); - protected native void fontChange(TQFont arg1); - protected native void windowActivationChange(boolean oldActive); - protected native int metric(int arg1); - protected native void resetInputContext(); - 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 destroy(boolean destroyWindow, boolean destroySubWindows); - protected native void destroy(boolean destroyWindow); - protected native void destroy(); - protected native int getWState(); - protected native void setWState(int arg1); - protected native void clearWState(int n); - protected native int getWFlags(); - protected native void setWFlags(int arg1); - protected native void clearWFlags(int n); - protected native boolean focusNextPrevChild(boolean next); - // TQWExtra* extraData(); >>>> NOT CONVERTED - // TQTLWExtra* topData(); >>>> NOT CONVERTED - protected native TQFocusData focusData(); - protected native void setKeyCompression(boolean arg1); - protected native void setMicroFocusHint(int x, int y, int w, int h, boolean text, TQFont f); - protected native void setMicroFocusHint(int x, int y, int w, int h, boolean text); - protected native void setMicroFocusHint(int x, int y, int w, int h); - /** 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(); - public native int devType(); - public native boolean isExtDev(); - public native boolean paintingActive(); - public native void setResolution(int arg1); - public native int resolution(); - // bool cmd(int arg1,TQPainter* arg2,TQPDevCmdParam* arg3); >>>> NOT CONVERTED - protected native int fontMet(TQFont arg1, int arg2, String arg3, int arg4); - protected native int fontMet(TQFont arg1, int arg2, String arg3); - protected native int fontMet(TQFont arg1, int arg2); - protected native int fontInf(TQFont arg1, int arg2); - /** Internal method */ - protected native long paintDevice(); - -} diff --git a/qtjava/javalib/org/kde/qt/QWidgetItem.java b/qtjava/javalib/org/kde/qt/QWidgetItem.java deleted file mode 100644 index 8a7e447d..00000000 --- a/qtjava/javalib/org/kde/qt/QWidgetItem.java +++ /dev/null @@ -1,29 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQWidgetItem extends TQLayoutItem { - protected TQWidgetItem(Class dummy){super((Class) null);} - public TQWidgetItem(TQWidget w) { - super((Class) null); - newTQWidgetItem(w); - } - private native void newTQWidgetItem(TQWidget w); - public native TQSize sizeHint(); - public native TQSize minimumSize(); - public native TQSize maximumSize(); - public native int expanding(); - public native boolean isEmpty(); - public native void setGeometry(TQRect arg1); - public native TQRect geometry(); - public native TQWidget widget(); - public native boolean hasHeightForWidth(); - public native int heightForWidth(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/qtjava/javalib/org/kde/qt/QWidgetStack.java b/qtjava/javalib/org/kde/qt/QWidgetStack.java deleted file mode 100644 index a0366a86..00000000 --- a/qtjava/javalib/org/kde/qt/QWidgetStack.java +++ /dev/null @@ -1,57 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQWidgetStackSignals} for signals emitted by TQWidgetStack -*/ -public class TQWidgetStack extends TQFrame { - protected TQWidgetStack(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQWidgetStack(TQWidget parent, String name) { - super((Class) null); - newTQWidgetStack(parent,name); - } - private native void newTQWidgetStack(TQWidget parent, String name); - public TQWidgetStack(TQWidget parent) { - super((Class) null); - newTQWidgetStack(parent); - } - private native void newTQWidgetStack(TQWidget parent); - public TQWidgetStack() { - super((Class) null); - newTQWidgetStack(); - } - private native void newTQWidgetStack(); - public TQWidgetStack(TQWidget parent, String name, int f) { - super((Class) null); - newTQWidgetStack(parent,name,f); - } - private native void newTQWidgetStack(TQWidget parent, String name, int f); - public native int addWidget(TQWidget arg1, int arg2); - public native int addWidget(TQWidget arg1); - public native void removeWidget(TQWidget arg1); - public native TQSize sizeHint(); - public native TQSize minimumSizeHint(); - public native void show(); - public native TQWidget widget(int arg1); - public native int id(TQWidget arg1); - public native TQWidget visibleWidget(); - public native void setFrameRect(TQRect arg1); - public native void raiseWidget(int arg1); - public native void raiseWidget(TQWidget arg1); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void frameChanged(); - protected native void resizeEvent(TQResizeEvent arg1); - protected native void setChildGeometries(); - protected native void childEvent(TQChildEvent 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/qtjava/javalib/org/kde/qt/QWidgetStackSignals.java b/qtjava/javalib/org/kde/qt/QWidgetStackSignals.java deleted file mode 100644 index acc7ca7c..00000000 --- a/qtjava/javalib/org/kde/qt/QWidgetStackSignals.java +++ /dev/null @@ -1,8 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQWidgetStackSignals { - void aboutToShow(int arg1); - void aboutToShow(TQWidget arg1); -} diff --git a/qtjava/javalib/org/kde/qt/QWizard.java b/qtjava/javalib/org/kde/qt/QWizard.java deleted file mode 100644 index ab105d1f..00000000 --- a/qtjava/javalib/org/kde/qt/QWizard.java +++ /dev/null @@ -1,78 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -/** - See {@link TQWizardSignals} for signals emitted by TQWizard -*/ -public class TQWizard extends TQDialog { - protected TQWizard(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public TQWizard(TQWidget parent, String name, boolean modal, int f) { - super((Class) null); - newTQWizard(parent,name,modal,f); - } - private native void newTQWizard(TQWidget parent, String name, boolean modal, int f); - public TQWizard(TQWidget parent, String name, boolean modal) { - super((Class) null); - newTQWizard(parent,name,modal); - } - private native void newTQWizard(TQWidget parent, String name, boolean modal); - public TQWizard(TQWidget parent, String name) { - super((Class) null); - newTQWizard(parent,name); - } - private native void newTQWizard(TQWidget parent, String name); - public TQWizard(TQWidget parent) { - super((Class) null); - newTQWizard(parent); - } - private native void newTQWizard(TQWidget parent); - public TQWizard() { - super((Class) null); - newTQWizard(); - } - private native void newTQWizard(); - public native void show(); - public native void setFont(TQFont font); - public native void addPage(TQWidget arg1, String arg2); - public native void insertPage(TQWidget arg1, String arg2, int arg3); - public native void removePage(TQWidget arg1); - public native String title(TQWidget arg1); - public native void setTitle(TQWidget arg1, String arg2); - public native TQFont titleFont(); - public native void setTitleFont(TQFont arg1); - public native void showPage(TQWidget arg1); - public native TQWidget currentPage(); - public native TQWidget page(int arg1); - public native int pageCount(); - public native int indexOf(TQWidget arg1); - public native boolean appropriate(TQWidget arg1); - public native void setAppropriate(TQWidget arg1, boolean arg2); - public native TQPushButton backButton(); - public native TQPushButton nextButton(); - public native TQPushButton finishButton(); - public native TQPushButton cancelButton(); - public native TQPushButton helpButton(); - public native boolean eventFilter(TQObject arg1, TQEvent arg2); - public native void setBackEnabled(TQWidget arg1, boolean arg2); - public native void setNextEnabled(TQWidget arg1, boolean arg2); - public native void setFinishEnabled(TQWidget arg1, boolean arg2); - public native void setHelpEnabled(TQWidget arg1, boolean arg2); - public native void setFinish(TQWidget arg1, boolean arg2); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - protected native void layOutButtonRow(TQHBoxLayout arg1); - protected native void layOutTitleRow(TQHBoxLayout arg1, String arg2); - protected native void back(); - protected native void next(); - protected native void help(); - /** 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/qtjava/javalib/org/kde/qt/QWizardSignals.java b/qtjava/javalib/org/kde/qt/QWizardSignals.java deleted file mode 100644 index c73f2915..00000000 --- a/qtjava/javalib/org/kde/qt/QWizardSignals.java +++ /dev/null @@ -1,8 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQWizardSignals { - void helpClicked(); - void selected(String arg1); -} diff --git a/qtjava/javalib/org/kde/qt/QWorkspace.java b/qtjava/javalib/org/kde/qt/QWorkspace.java deleted file mode 100644 index 96762dd8..00000000 --- a/qtjava/javalib/org/kde/qt/QWorkspace.java +++ /dev/null @@ -1,61 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.ArrayList; - -/** - See {@link TQWorkspaceSignals} for signals emitted by TQWorkspace -*/ -public class TQWorkspace extends TQWidget { - protected TQWorkspace(Class dummy){super((Class) null);} - public static final int CreationOrder = 0; - public static final int StackingOrder = 1; - - public native TQMetaObject metaObject(); - public native String className(); - public TQWorkspace(TQWidget parent, String name) { - super((Class) null); - newTQWorkspace(parent,name); - } - private native void newTQWorkspace(TQWidget parent, String name); - public TQWorkspace(TQWidget parent) { - super((Class) null); - newTQWorkspace(parent); - } - private native void newTQWorkspace(TQWidget parent); - public TQWorkspace() { - super((Class) null); - newTQWorkspace(); - } - private native void newTQWorkspace(); - public native TQWidget activeWindow(); - public native ArrayList windowList(); - public native ArrayList windowList(int order); - public native TQSize sizeHint(); - public native boolean scrollBarsEnabled(); - public native void setScrollBarsEnabled(boolean enable); - public native void setPaletteBackgroundColor(TQColor arg1); - public native void setPaletteBackgroundPixmap(TQPixmap arg1); - public native void cascade(); - public native void tile(); - public native void closeActiveWindow(); - public native void closeAllWindows(); - public native void activateNextWindow(); - public native void activatePrevWindow(); - public static native String tr(String arg1, String arg2); - public static native String tr(String arg1); - public native void styleChange(TQStyle arg1); - protected native void childEvent(TQChildEvent arg1); - protected native void resizeEvent(TQResizeEvent arg1); - public native boolean eventFilter(TQObject arg1, TQEvent arg2); - public native void showEvent(TQShowEvent e); - protected native void hideEvent(TQHideEvent e); - protected native void wheelEvent(TQWheelEvent 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/qtjava/javalib/org/kde/qt/QWorkspaceSignals.java b/qtjava/javalib/org/kde/qt/QWorkspaceSignals.java deleted file mode 100644 index fcb9768f..00000000 --- a/qtjava/javalib/org/kde/qt/QWorkspaceSignals.java +++ /dev/null @@ -1,8 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import java.util.ArrayList; - -public interface TQWorkspaceSignals { - void windowActivated(TQWidget w); -} diff --git a/qtjava/javalib/org/kde/qt/QXmlAttributes.java b/qtjava/javalib/org/kde/qt/QXmlAttributes.java deleted file mode 100644 index ccd1013d..00000000 --- a/qtjava/javalib/org/kde/qt/QXmlAttributes.java +++ /dev/null @@ -1,36 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQXmlAttributes implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQXmlAttributes(Class dummy){} - - public TQXmlAttributes() { - newTQXmlAttributes(); - } - private native void newTQXmlAttributes(); - public native int index(String qName); - public native int index(String uri, String localPart); - public native int length(); - public native int count(); - public native String localName(int index); - public native String qName(int index); - public native String uri(int index); - public native String type(int index); - public native String type(String qName); - public native String type(String uri, String localName); - public native String value(int index); - public native String value(String qName); - public native String value(String uri, String localName); - public native void clear(); - public native void append(String qName, String uri, String localPart, String value); - /** 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/qtjava/javalib/org/kde/qt/QXmlContentHandler.java b/qtjava/javalib/org/kde/qt/QXmlContentHandler.java deleted file mode 100644 index 13ff56ae..00000000 --- a/qtjava/javalib/org/kde/qt/QXmlContentHandler.java +++ /dev/null @@ -1,23 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQXmlContentHandler implements QtSupport, TQXmlContentHandlerInterface { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQXmlContentHandler(Class dummy){} - - public native void setDocumentLocator(TQXmlLocator locator); - public native boolean startDocument(); - public native boolean endDocument(); - public native boolean startPrefixMapping(String prefix, String uri); - public native boolean endPrefixMapping(String prefix); - public native boolean startElement(String namespaceURI, String localName, String qName, TQXmlAttributes atts); - public native boolean endElement(String namespaceURI, String localName, String qName); - public native boolean characters(String ch); - public native boolean ignorableWhitespace(String ch); - public native boolean processingInstruction(String target, String data); - public native boolean skippedEntity(String name); - public native String errorString(); -} diff --git a/qtjava/javalib/org/kde/qt/QXmlContentHandlerInterface.java b/qtjava/javalib/org/kde/qt/QXmlContentHandlerInterface.java deleted file mode 100644 index 412b60f9..00000000 --- a/qtjava/javalib/org/kde/qt/QXmlContentHandlerInterface.java +++ /dev/null @@ -1,18 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQXmlContentHandlerInterface { - void setDocumentLocator(TQXmlLocator locator); - boolean startDocument(); - boolean endDocument(); - boolean startPrefixMapping(String prefix, String uri); - boolean endPrefixMapping(String prefix); - boolean startElement(String namespaceURI, String localName, String qName, TQXmlAttributes atts); - boolean endElement(String namespaceURI, String localName, String qName); - boolean characters(String ch); - boolean ignorableWhitespace(String ch); - boolean processingInstruction(String target, String data); - boolean skippedEntity(String name); - String errorString(); -} diff --git a/qtjava/javalib/org/kde/qt/QXmlDTDHandler.java b/qtjava/javalib/org/kde/qt/QXmlDTDHandler.java deleted file mode 100644 index 2351b82e..00000000 --- a/qtjava/javalib/org/kde/qt/QXmlDTDHandler.java +++ /dev/null @@ -1,14 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQXmlDTDHandler implements QtSupport, TQXmlDTDHandlerInterface { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQXmlDTDHandler(Class dummy){} - - public native boolean notationDecl(String name, String publicId, String systemId); - public native boolean unparsedEntityDecl(String name, String publicId, String systemId, String notationName); - public native String errorString(); -} diff --git a/qtjava/javalib/org/kde/qt/QXmlDTDHandlerInterface.java b/qtjava/javalib/org/kde/qt/QXmlDTDHandlerInterface.java deleted file mode 100644 index 15afd57b..00000000 --- a/qtjava/javalib/org/kde/qt/QXmlDTDHandlerInterface.java +++ /dev/null @@ -1,9 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQXmlDTDHandlerInterface { - boolean notationDecl(String name, String publicId, String systemId); - boolean unparsedEntityDecl(String name, String publicId, String systemId, String notationName); - String errorString(); -} diff --git a/qtjava/javalib/org/kde/qt/QXmlDeclHandler.java b/qtjava/javalib/org/kde/qt/QXmlDeclHandler.java deleted file mode 100644 index 0ce9a04b..00000000 --- a/qtjava/javalib/org/kde/qt/QXmlDeclHandler.java +++ /dev/null @@ -1,15 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQXmlDeclHandler implements QtSupport, TQXmlDeclHandlerInterface { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQXmlDeclHandler(Class dummy){} - - public native boolean attributeDecl(String eName, String aName, String type, String valueDefault, String value); - public native boolean internalEntityDecl(String name, String value); - public native boolean externalEntityDecl(String name, String publicId, String systemId); - public native String errorString(); -} diff --git a/qtjava/javalib/org/kde/qt/QXmlDeclHandlerInterface.java b/qtjava/javalib/org/kde/qt/QXmlDeclHandlerInterface.java deleted file mode 100644 index 02d389ce..00000000 --- a/qtjava/javalib/org/kde/qt/QXmlDeclHandlerInterface.java +++ /dev/null @@ -1,10 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQXmlDeclHandlerInterface { - boolean attributeDecl(String eName, String aName, String type, String valueDefault, String value); - boolean internalEntityDecl(String name, String value); - boolean externalEntityDecl(String name, String publicId, String systemId); - String errorString(); -} diff --git a/qtjava/javalib/org/kde/qt/QXmlDefaultHandler.java b/qtjava/javalib/org/kde/qt/QXmlDefaultHandler.java deleted file mode 100644 index eba6da8e..00000000 --- a/qtjava/javalib/org/kde/qt/QXmlDefaultHandler.java +++ /dev/null @@ -1,47 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQXmlDefaultHandler extends TQXmlLexicalHandler implements TQXmlContentHandlerInterface, TQXmlDTDHandlerInterface, TQXmlDeclHandlerInterface, TQXmlEntityResolverInterface, TQXmlErrorHandlerInterface, TQXmlLexicalHandlerInterface { - protected TQXmlDefaultHandler(Class dummy){super((Class) null);} - public TQXmlDefaultHandler() { - super((Class) null); - newTQXmlDefaultHandler(); - } - private native void newTQXmlDefaultHandler(); - public native void setDocumentLocator(TQXmlLocator locator); - public native boolean startDocument(); - public native boolean endDocument(); - public native boolean startPrefixMapping(String prefix, String uri); - public native boolean endPrefixMapping(String prefix); - public native boolean startElement(String namespaceURI, String localName, String qName, TQXmlAttributes atts); - public native boolean endElement(String namespaceURI, String localName, String qName); - public native boolean characters(String ch); - public native boolean ignorableWhitespace(String ch); - public native boolean processingInstruction(String target, String data); - public native boolean skippedEntity(String name); - public native boolean warning(TQXmlParseException exception); - public native boolean error(TQXmlParseException exception); - public native boolean fatalError(TQXmlParseException exception); - public native boolean notationDecl(String name, String publicId, String systemId); - public native boolean unparsedEntityDecl(String name, String publicId, String systemId, String notationName); - public native boolean resolveEntity(String publicId, String systemId, TQXmlInputSource ret); - public native boolean startDTD(String name, String publicId, String systemId); - public native boolean endDTD(); - public native boolean startEntity(String name); - public native boolean endEntity(String name); - public native boolean startCDATA(); - public native boolean endCDATA(); - public native boolean comment(String ch); - public native boolean attributeDecl(String eName, String aName, String type, String valueDefault, String value); - public native boolean internalEntityDecl(String name, String value); - public native boolean externalEntityDecl(String name, String publicId, String systemId); - public native String errorString(); - /** 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/qtjava/javalib/org/kde/qt/QXmlEntityResolver.java b/qtjava/javalib/org/kde/qt/QXmlEntityResolver.java deleted file mode 100644 index 4c4702ef..00000000 --- a/qtjava/javalib/org/kde/qt/QXmlEntityResolver.java +++ /dev/null @@ -1,13 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQXmlEntityResolver implements QtSupport, TQXmlEntityResolverInterface { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQXmlEntityResolver(Class dummy){} - - public native boolean resolveEntity(String publicId, String systemId, TQXmlInputSource ret); - public native String errorString(); -} diff --git a/qtjava/javalib/org/kde/qt/QXmlEntityResolverInterface.java b/qtjava/javalib/org/kde/qt/QXmlEntityResolverInterface.java deleted file mode 100644 index d18812ba..00000000 --- a/qtjava/javalib/org/kde/qt/QXmlEntityResolverInterface.java +++ /dev/null @@ -1,8 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQXmlEntityResolverInterface { - boolean resolveEntity(String publicId, String systemId, TQXmlInputSource ret); - String errorString(); -} diff --git a/qtjava/javalib/org/kde/qt/QXmlErrorHandler.java b/qtjava/javalib/org/kde/qt/QXmlErrorHandler.java deleted file mode 100644 index c3defac4..00000000 --- a/qtjava/javalib/org/kde/qt/QXmlErrorHandler.java +++ /dev/null @@ -1,15 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQXmlErrorHandler implements QtSupport, TQXmlErrorHandlerInterface { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQXmlErrorHandler(Class dummy){} - - public native boolean warning(TQXmlParseException exception); - public native boolean error(TQXmlParseException exception); - public native boolean fatalError(TQXmlParseException exception); - public native String errorString(); -} diff --git a/qtjava/javalib/org/kde/qt/QXmlErrorHandlerInterface.java b/qtjava/javalib/org/kde/qt/QXmlErrorHandlerInterface.java deleted file mode 100644 index 6fefc304..00000000 --- a/qtjava/javalib/org/kde/qt/QXmlErrorHandlerInterface.java +++ /dev/null @@ -1,10 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQXmlErrorHandlerInterface { - boolean warning(TQXmlParseException exception); - boolean error(TQXmlParseException exception); - boolean fatalError(TQXmlParseException exception); - String errorString(); -} diff --git a/qtjava/javalib/org/kde/qt/QXmlInputSource.java b/qtjava/javalib/org/kde/qt/QXmlInputSource.java deleted file mode 100644 index 9e8648be..00000000 --- a/qtjava/javalib/org/kde/qt/QXmlInputSource.java +++ /dev/null @@ -1,41 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQXmlInputSource implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQXmlInputSource(Class dummy){} - - public TQXmlInputSource() { - newTQXmlInputSource(); - } - private native void newTQXmlInputSource(); - public TQXmlInputSource(TQIODeviceInterface dev) { - newTQXmlInputSource(dev); - } - private native void newTQXmlInputSource(TQIODeviceInterface dev); - public TQXmlInputSource(TQFile file) { - newTQXmlInputSource(file); - } - private native void newTQXmlInputSource(TQFile file); - public TQXmlInputSource(TQTextStream stream) { - newTQXmlInputSource(stream); - } - private native void newTQXmlInputSource(TQTextStream stream); - public native void setData(String dat); - public native void setData(byte[] dat); - public native void fetchData(); - public native String data(); - public native char next(); - public native void reset(); - protected native String fromRawData(byte[] data, boolean beginning); - protected native String fromRawData(byte[] data); - /** 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/qtjava/javalib/org/kde/qt/QXmlLexicalHandler.java b/qtjava/javalib/org/kde/qt/QXmlLexicalHandler.java deleted file mode 100644 index fcc6afe9..00000000 --- a/qtjava/javalib/org/kde/qt/QXmlLexicalHandler.java +++ /dev/null @@ -1,19 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQXmlLexicalHandler implements QtSupport, TQXmlLexicalHandlerInterface { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQXmlLexicalHandler(Class dummy){} - - public native boolean startDTD(String name, String publicId, String systemId); - public native boolean endDTD(); - public native boolean startEntity(String name); - public native boolean endEntity(String name); - public native boolean startCDATA(); - public native boolean endCDATA(); - public native boolean comment(String ch); - public native String errorString(); -} diff --git a/qtjava/javalib/org/kde/qt/QXmlLexicalHandlerInterface.java b/qtjava/javalib/org/kde/qt/QXmlLexicalHandlerInterface.java deleted file mode 100644 index 2623395c..00000000 --- a/qtjava/javalib/org/kde/qt/QXmlLexicalHandlerInterface.java +++ /dev/null @@ -1,14 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - - -public interface TQXmlLexicalHandlerInterface { - boolean startDTD(String name, String publicId, String systemId); - boolean endDTD(); - boolean startEntity(String name); - boolean endEntity(String name); - boolean startCDATA(); - boolean endCDATA(); - boolean comment(String ch); - String errorString(); -} diff --git a/qtjava/javalib/org/kde/qt/QXmlLocator.java b/qtjava/javalib/org/kde/qt/QXmlLocator.java deleted file mode 100644 index a36602e9..00000000 --- a/qtjava/javalib/org/kde/qt/QXmlLocator.java +++ /dev/null @@ -1,13 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQXmlLocator implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQXmlLocator(Class dummy){} - - public native int columnNumber(); - public native int lineNumber(); -} diff --git a/qtjava/javalib/org/kde/qt/QXmlNamespaceSupport.java b/qtjava/javalib/org/kde/qt/QXmlNamespaceSupport.java deleted file mode 100644 index 233f3834..00000000 --- a/qtjava/javalib/org/kde/qt/QXmlNamespaceSupport.java +++ /dev/null @@ -1,32 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; -import java.util.ArrayList; - -public class TQXmlNamespaceSupport implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQXmlNamespaceSupport(Class dummy){} - - public TQXmlNamespaceSupport() { - newTQXmlNamespaceSupport(); - } - private native void newTQXmlNamespaceSupport(); - public native void setPrefix(String arg1, String arg2); - public native String prefix(String arg1); - public native String uri(String arg1); - public native void splitName(String arg1, StringBuffer arg2, StringBuffer arg3); - public native void processName(String arg1, boolean arg2, StringBuffer arg3, StringBuffer arg4); - public native ArrayList prefixes(); - public native ArrayList prefixes(String arg1); - public native void pushContext(); - public native void popContext(); - public native void reset(); - /** 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/qtjava/javalib/org/kde/qt/QXmlParseException.java b/qtjava/javalib/org/kde/qt/QXmlParseException.java deleted file mode 100644 index 23cafe52..00000000 --- a/qtjava/javalib/org/kde/qt/QXmlParseException.java +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQXmlParseException implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQXmlParseException(Class dummy){} - - public TQXmlParseException(String name, int c, int l, String p, String s) { - newTQXmlParseException(name,c,l,p,s); - } - private native void newTQXmlParseException(String name, int c, int l, String p, String s); - public TQXmlParseException(String name, int c, int l, String p) { - newTQXmlParseException(name,c,l,p); - } - private native void newTQXmlParseException(String name, int c, int l, String p); - public TQXmlParseException(String name, int c, int l) { - newTQXmlParseException(name,c,l); - } - private native void newTQXmlParseException(String name, int c, int l); - public TQXmlParseException(String name, int c) { - newTQXmlParseException(name,c); - } - private native void newTQXmlParseException(String name, int c); - public TQXmlParseException(String name) { - newTQXmlParseException(name); - } - private native void newTQXmlParseException(String name); - public TQXmlParseException() { - newTQXmlParseException(); - } - private native void newTQXmlParseException(); - public native int columnNumber(); - public native int lineNumber(); - public native String publicId(); - public native String systemId(); - public native String message(); - /** 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/qtjava/javalib/org/kde/qt/QXmlReader.java b/qtjava/javalib/org/kde/qt/QXmlReader.java deleted file mode 100644 index 611ef863..00000000 --- a/qtjava/javalib/org/kde/qt/QXmlReader.java +++ /dev/null @@ -1,32 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQXmlReader implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected TQXmlReader(Class dummy){} - - public native boolean feature(String name, boolean[] ok); - public native boolean feature(String name); - public native void setFeature(String name, boolean value); - public native boolean hasFeature(String name); - // void* property(const TQString& arg1,bool* arg2); >>>> NOT CONVERTED - // void* property(const TQString& arg1); >>>> NOT CONVERTED - // void setProperty(const TQString& arg1,void* arg2); >>>> NOT CONVERTED - public native boolean hasProperty(String name); - public native void setEntityResolver(TQXmlEntityResolverInterface handler); - public native TQXmlEntityResolverInterface entityResolver(); - public native void setDTDHandler(TQXmlDTDHandlerInterface handler); - public native TQXmlDTDHandlerInterface DTDHandler(); - public native void setContentHandler(TQXmlContentHandlerInterface handler); - public native TQXmlContentHandlerInterface contentHandler(); - public native void setErrorHandler(TQXmlErrorHandlerInterface handler); - public native TQXmlErrorHandlerInterface errorHandler(); - public native void setLexicalHandler(TQXmlLexicalHandlerInterface handler); - public native TQXmlLexicalHandlerInterface lexicalHandler(); - public native void setDeclHandler(TQXmlDeclHandlerInterface handler); - public native TQXmlDeclHandlerInterface declHandler(); - public native boolean parse(TQXmlInputSource input); -} diff --git a/qtjava/javalib/org/kde/qt/QXmlSimpleReader.java b/qtjava/javalib/org/kde/qt/QXmlSimpleReader.java deleted file mode 100644 index 6254f207..00000000 --- a/qtjava/javalib/org/kde/qt/QXmlSimpleReader.java +++ /dev/null @@ -1,42 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.qt; - -import org.kde.qt.Qt; - -public class TQXmlSimpleReader extends TQXmlReader { - protected TQXmlSimpleReader(Class dummy){super((Class) null);} - public TQXmlSimpleReader() { - super((Class) null); - newTQXmlSimpleReader(); - } - private native void newTQXmlSimpleReader(); - public native boolean feature(String name, boolean[] ok); - public native boolean feature(String name); - public native void setFeature(String name, boolean value); - public native boolean hasFeature(String name); - // void* property(const TQString& arg1,bool* arg2); >>>> NOT CONVERTED - // void* property(const TQString& arg1); >>>> NOT CONVERTED - // void setProperty(const TQString& arg1,void* arg2); >>>> NOT CONVERTED - public native boolean hasProperty(String name); - public native void setEntityResolver(TQXmlEntityResolverInterface handler); - public native TQXmlEntityResolverInterface entityResolver(); - public native void setDTDHandler(TQXmlDTDHandlerInterface handler); - public native TQXmlDTDHandlerInterface DTDHandler(); - public native void setContentHandler(TQXmlContentHandlerInterface handler); - public native TQXmlContentHandlerInterface contentHandler(); - public native void setErrorHandler(TQXmlErrorHandlerInterface handler); - public native TQXmlErrorHandlerInterface errorHandler(); - public native void setLexicalHandler(TQXmlLexicalHandlerInterface handler); - public native TQXmlLexicalHandlerInterface lexicalHandler(); - public native void setDeclHandler(TQXmlDeclHandlerInterface handler); - public native TQXmlDeclHandlerInterface declHandler(); - public native boolean parse(TQXmlInputSource input); - public native boolean parse(TQXmlInputSource input, boolean incremental); - public native boolean parseContinue(); - /** 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/qtjava/javalib/org/kde/qt/TQAccel.java b/qtjava/javalib/org/kde/qt/TQAccel.java new file mode 100644 index 00000000..bd0c455f --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQAccel.java @@ -0,0 +1,63 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQAccelSignals} for signals emitted by TQAccel +*/ +public class TQAccel extends TQObject { + protected TQAccel(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQAccel(TQWidget parent, String name) { + super((Class) null); + newTQAccel(parent,name); + } + private native void newTQAccel(TQWidget parent, String name); + public TQAccel(TQWidget parent) { + super((Class) null); + newTQAccel(parent); + } + private native void newTQAccel(TQWidget parent); + public TQAccel(TQWidget watch, TQObject parent, String name) { + super((Class) null); + newTQAccel(watch,parent,name); + } + private native void newTQAccel(TQWidget watch, TQObject parent, String name); + public TQAccel(TQWidget watch, TQObject parent) { + super((Class) null); + newTQAccel(watch,parent); + } + private native void newTQAccel(TQWidget watch, TQObject parent); + public native boolean isEnabled(); + public native void setEnabled(boolean arg1); + public native int count(); + public native int insertItem(TQKeySequence key, int id); + public native int insertItem(TQKeySequence key); + public native void removeItem(int id); + public native void clear(); + public native TQKeySequence key(int id); + public native int findKey(TQKeySequence key); + public native boolean isItemEnabled(int id); + public native void setItemEnabled(int id, boolean enable); + public native boolean connectItem(int id, TQObject receiver, String member); + public native boolean disconnectItem(int id, TQObject receiver, String member); + public native void repairEventFilter(); + public native void setWhatsThis(int id, String arg2); + public native String whatsThis(int id); + public native void setIgnoreWhatsThis(boolean arg1); + public native boolean ignoreWhatsThis(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native TQKeySequence shortcutKey(String arg1); + public static native String keyToString(TQKeySequence k); + public static native TQKeySequence stringToKey(String arg1); + public native boolean eventFilter(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/qtjava/javalib/org/kde/qt/TQAccelSignals.java b/qtjava/javalib/org/kde/qt/TQAccelSignals.java new file mode 100644 index 00000000..5c213698 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQAccelSignals.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQAccelSignals { + void activated(int id); + void activatedAmbiguously(int id); +} diff --git a/qtjava/javalib/org/kde/qt/TQAction.java b/qtjava/javalib/org/kde/qt/TQAction.java new file mode 100644 index 00000000..19632563 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQAction.java @@ -0,0 +1,115 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQActionSignals} for signals emitted by TQAction +*/ +public class TQAction extends TQObject { + protected TQAction(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQAction(TQObject parent, String name) { + super((Class) null); + newTQAction(parent,name); + } + private native void newTQAction(TQObject parent, String name); + public TQAction(TQObject parent) { + super((Class) null); + newTQAction(parent); + } + private native void newTQAction(TQObject parent); + public TQAction(String menuText, TQKeySequence accel, TQObject parent, String name) { + super((Class) null); + newTQAction(menuText,accel,parent,name); + } + private native void newTQAction(String menuText, TQKeySequence accel, TQObject parent, String name); + public TQAction(String menuText, TQKeySequence accel, TQObject parent) { + super((Class) null); + newTQAction(menuText,accel,parent); + } + private native void newTQAction(String menuText, TQKeySequence accel, TQObject parent); + public TQAction(TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent, String name) { + super((Class) null); + newTQAction(icon,menuText,accel,parent,name); + } + private native void newTQAction(TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent, String name); + public TQAction(TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent) { + super((Class) null); + newTQAction(icon,menuText,accel,parent); + } + private native void newTQAction(TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent); + public TQAction(String text, TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent, String name, boolean toggle) { + super((Class) null); + newTQAction(text,icon,menuText,accel,parent,name,toggle); + } + private native void newTQAction(String text, TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent, String name, boolean toggle); + public TQAction(String text, TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent, String name) { + super((Class) null); + newTQAction(text,icon,menuText,accel,parent,name); + } + private native void newTQAction(String text, TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent, String name); + public TQAction(String text, TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent) { + super((Class) null); + newTQAction(text,icon,menuText,accel,parent); + } + private native void newTQAction(String text, TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent); + public TQAction(String text, String menuText, TQKeySequence accel, TQObject parent, String name, boolean toggle) { + super((Class) null); + newTQAction(text,menuText,accel,parent,name,toggle); + } + private native void newTQAction(String text, String menuText, TQKeySequence accel, TQObject parent, String name, boolean toggle); + public TQAction(String text, String menuText, TQKeySequence accel, TQObject parent, String name) { + super((Class) null); + newTQAction(text,menuText,accel,parent,name); + } + private native void newTQAction(String text, String menuText, TQKeySequence accel, TQObject parent, String name); + public TQAction(String text, String menuText, TQKeySequence accel, TQObject parent) { + super((Class) null); + newTQAction(text,menuText,accel,parent); + } + private native void newTQAction(String text, String menuText, TQKeySequence accel, TQObject parent); + public TQAction(TQObject parent, String name, boolean toggle) { + super((Class) null); + newTQAction(parent,name,toggle); + } + private native void newTQAction(TQObject parent, String name, boolean toggle); + public native void setIconSet(TQIconSet arg1); + public native TQIconSet iconSet(); + public native void setText(String arg1); + public native String text(); + public native void setMenuText(String arg1); + public native String menuText(); + public native void setToolTip(String arg1); + public native String toolTip(); + public native void setStatusTip(String arg1); + public native String statusTip(); + public native void setWhatsThis(String arg1); + public native String whatsThis(); + public native void setAccel(TQKeySequence key); + public native TQKeySequence accel(); + public native void setToggleAction(boolean arg1); + public native boolean isToggleAction(); + public native boolean isOn(); + public native boolean isEnabled(); + public native boolean isVisible(); + public native boolean addTo(TQWidget arg1); + public native boolean removeFrom(TQWidget arg1); + public native void activate(); + public native void toggle(); + public native void setOn(boolean arg1); + public native void setEnabled(boolean arg1); + public native void setDisabled(boolean arg1); + public native void setVisible(boolean arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void addedTo(TQWidget actionWidget, TQWidget container); + protected native void addedTo(int index, TQPopupMenu menu); + /** 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/qtjava/javalib/org/kde/qt/TQActionGroup.java b/qtjava/javalib/org/kde/qt/TQActionGroup.java new file mode 100644 index 00000000..14c4dc87 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQActionGroup.java @@ -0,0 +1,58 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQActionGroupSignals} for signals emitted by TQActionGroup +*/ +public class TQActionGroup extends TQAction { + protected TQActionGroup(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQActionGroup(TQObject parent, String name) { + super((Class) null); + newTQActionGroup(parent,name); + } + private native void newTQActionGroup(TQObject parent, String name); + public TQActionGroup(TQObject parent) { + super((Class) null); + newTQActionGroup(parent); + } + private native void newTQActionGroup(TQObject parent); + public TQActionGroup(TQObject parent, String name, boolean exclusive) { + super((Class) null); + newTQActionGroup(parent,name,exclusive); + } + private native void newTQActionGroup(TQObject parent, String name, boolean exclusive); + public native void setExclusive(boolean arg1); + public native boolean isExclusive(); + public native void add(TQAction a); + public native void addSeparator(); + public native boolean addTo(TQWidget arg1); + public native boolean removeFrom(TQWidget arg1); + public native void setEnabled(boolean arg1); + public native void setToggleAction(boolean toggle); + public native void setOn(boolean on); + public native void setUsesDropDown(boolean enable); + public native boolean usesDropDown(); + public native void setIconSet(TQIconSet arg1); + public native void setText(String arg1); + public native void setMenuText(String arg1); + public native void setToolTip(String arg1); + public native void setWhatsThis(String arg1); + public native void insert(TQAction a); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void childEvent(TQChildEvent arg1); + protected native void addedTo(TQWidget actionWidget, TQWidget container, TQAction a); + protected native void addedTo(int index, TQPopupMenu menu, TQAction a); + protected native void addedTo(TQWidget actionWidget, TQWidget container); + protected native void addedTo(int index, TQPopupMenu menu); + /** 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/qtjava/javalib/org/kde/qt/TQActionGroupSignals.java b/qtjava/javalib/org/kde/qt/TQActionGroupSignals.java new file mode 100644 index 00000000..94c340bb --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQActionGroupSignals.java @@ -0,0 +1,7 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQActionGroupSignals { + void selected(TQAction arg1); +} diff --git a/qtjava/javalib/org/kde/qt/TQActionSignals.java b/qtjava/javalib/org/kde/qt/TQActionSignals.java new file mode 100644 index 00000000..a5811b1c --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQActionSignals.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQActionSignals { + void activated(); + void toggled(boolean arg1); +} diff --git a/qtjava/javalib/org/kde/qt/TQApplication.java b/qtjava/javalib/org/kde/qt/TQApplication.java new file mode 100644 index 00000000..171536ab --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQApplication.java @@ -0,0 +1,161 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +/** + See {@link TQApplicationSignals} for signals emitted by TQApplication +*/ +public class TQApplication extends TQObject { + protected TQApplication(Class dummy){super((Class) null);} + public static final int Tty = 0; + public static final int GuiClient = 1; + public static final int GuiServer = 2; + + public static final int NormalColors = 0; + public static final int CustomColors = 1; + + public static final int NormalColor = 0; + public static final int CustomColor = 1; + public static final int ManyColor = 2; + + public static final int DefaultCodec = 0; + public static final int UnicodeUTF8 = 1; + + public native TQMetaObject metaObject(); + public native String className(); + public TQApplication(String[] argv) { + super((Class) null); + newTQApplication(argv); + } + private native void newTQApplication(String[] argv); + public TQApplication(String[] argv, boolean GUIenabled) { + super((Class) null); + newTQApplication(argv,GUIenabled); + } + private native void newTQApplication(String[] argv, boolean GUIenabled); + public TQApplication(String[] argv, int arg3) { + super((Class) null); + newTQApplication(argv,arg3); + } + private native void newTQApplication(String[] argv, int arg3); + public native int type(); + public native TQWidget mainWidget(); + public native void setMainWidget(TQWidget arg1); + public native void polish(TQWidget arg1); + public native TQWidget focusWidget(); + public native TQWidget activeWindow(); + public native int exec(); + public native void processEvents(); + public native void processEvents(int maxtime); + public native void processOneEvent(); + public native boolean hasPendingEvents(); + public native int enter_loop(); + public native void exit_loop(); + public native int loopLevel(); + public native boolean notify(TQObject arg1, TQEvent arg2); + public native void setDefaultCodec(TQTextCodec arg1); + public native TQTextCodec defaultCodec(); + public native void installTranslator(TQTranslator arg1); + public native void removeTranslator(TQTranslator arg1); + public native String translate(String context, String key, String comment, int encoding); + public native String translate(String context, String key, String comment); + public native String translate(String context, String key); + public native String applicationDirPath(); + public native String applicationFilePath(); + public native boolean isSessionRestored(); + public native String sessionId(); + public native String sessionKey(); + public native void commitData(TQSessionManager sm); + public native void saveState(TQSessionManager sm); + public native void wakeUpGuiThread(); + public native void quit(); + public native void closeAllWindows(); + public native void aboutTQt(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native TQStyle style(); + public static native void setStyle(TQStyle arg1); + public static native TQStyle setStyle(String arg1); + public static native int colorMode(); + public static native void setColorMode(int arg1); + public static native int colorSpec(); + public static native void setColorSpec(int arg1); + public static native TQCursor overrideCursor(); + public static native void setOverrideCursor(TQCursor arg1, boolean replace); + public static native void setOverrideCursor(TQCursor arg1); + public static native void restoreOverrideCursor(); + public static native boolean hasGlobalMouseTracking(); + public static native void setGlobalMouseTracking(boolean enable); + public static native TQPalette palette(TQWidget arg1); + public static native TQPalette palette(); + public static native void setPalette(TQPalette arg1, boolean informWidgets, String className); + public static native void setPalette(TQPalette arg1, boolean informWidgets); + public static native void setPalette(TQPalette arg1); + public static native TQFont font(TQWidget arg1); + public static native TQFont font(); + public static native void setFont(TQFont arg1, boolean informWidgets, String className); + public static native void setFont(TQFont arg1, boolean informWidgets); + public static native void setFont(TQFont arg1); + public static native TQFontMetrics fontMetrics(); + public static native ArrayList allWidgets(); + public static native ArrayList topLevelWidgets(); + public static native TQDesktopWidget desktop(); + public static native TQWidget activePopupWidget(); + public static native TQWidget activeModalWidget(); + public static native TQClipboard clipboard(); + public static native TQWidget widgetAt(int x, int y, boolean child); + public static native TQWidget widgetAt(int x, int y); + public static native TQWidget widgetAt(TQPoint arg1, boolean child); + public static native TQWidget widgetAt(TQPoint arg1); + public static native TQEventLoop eventLoop(); + public static native void exit(int retcode); + public static native void exit(); + public static native boolean sendEvent(TQObject receiver, TQEvent event); + public static native void postEvent(TQObject receiver, TQEvent event); + public static native void sendPostedEvents(TQObject receiver, int event_type); + public static native void sendPostedEvents(); + public static native void removePostedEvents(TQObject receiver); + public static native boolean startingUp(); + public static native boolean closingDown(); + public static native void flushX(); + public static native void flush(); + public static native void syncX(); + public static native void beep(); + public static native void setWinStyleHighlightColor(TQColor c); + public static native TQColor winStyleHighlightColor(); + public static native void setDesktopSettingsAware(boolean arg1); + public static native boolean desktopSettingsAware(); + public static native void setCursorFlashTime(int arg1); + public static native int cursorFlashTime(); + public static native void setDoubleClickInterval(int arg1); + public static native int doubleClickInterval(); + public static native void setWheelScrollLines(int arg1); + public static native int wheelScrollLines(); + public static native void setGlobalStrut(TQSize arg1); + public static native TQSize globalStrut(); + public static native void setLibraryPaths(String[] arg1); + public static native ArrayList libraryPaths(); + public static native void addLibraryPath(String arg1); + public static native void removeLibraryPath(String arg1); + public static native void setStartDragTime(int ms); + public static native int startDragTime(); + public static native void setStartDragDistance(int l); + public static native int startDragDistance(); + public static native void setReverseLayout(boolean b); + public static native boolean reverseLayout(); + public static native int horizontalAlignment(int align); + public static native boolean isEffectEnabled(int arg1); + public static native void setEffectEnabled(int arg1, boolean enable); + public static native void setEffectEnabled(int arg1); + public native boolean event(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(); + public native String[] args(); + +} diff --git a/qtjava/javalib/org/kde/qt/TQApplicationSignals.java b/qtjava/javalib/org/kde/qt/TQApplicationSignals.java new file mode 100644 index 00000000..358c9bbb --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQApplicationSignals.java @@ -0,0 +1,10 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import java.util.ArrayList; + +public interface TQApplicationSignals { + void lastWindowClosed(); + void aboutToQuit(); + void guiThreadAwake(); +} diff --git a/qtjava/javalib/org/kde/qt/TQAsyncIO.java b/qtjava/javalib/org/kde/qt/TQAsyncIO.java new file mode 100644 index 00000000..55da2b83 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQAsyncIO.java @@ -0,0 +1,23 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQAsyncIO implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQAsyncIO(Class dummy){} + + public native void connect(TQObject arg1, String member); + public TQAsyncIO() { + newTQAsyncIO(); + } + private native void newTQAsyncIO(); + protected native void ready(); + /** 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/qtjava/javalib/org/kde/qt/TQAuServer.java b/qtjava/javalib/org/kde/qt/TQAuServer.java new file mode 100644 index 00000000..326764c6 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQAuServer.java @@ -0,0 +1,17 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQAuServer extends TQObject { + protected TQAuServer(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public native void init(TQSound arg1); + public native void play(String filename); + public native void play(TQSound arg1); + public native void stop(TQSound arg1); + public native boolean okay(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); +} diff --git a/qtjava/javalib/org/kde/qt/TQBig5Codec.java b/qtjava/javalib/org/kde/qt/TQBig5Codec.java new file mode 100644 index 00000000..7517b6e9 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQBig5Codec.java @@ -0,0 +1,26 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQBig5Codec extends TQTextCodec { + protected TQBig5Codec(Class dummy){super((Class) null);} + public native int mibEnum(); + public native String name(); + public native TQTextDecoder makeDecoder(); + public native String fromUnicode(String uc, int[] lenInOut); + public native String toUnicode(String chars, int len); + public native int heuristicContentMatch(String chars, int len); + public native int heuristicNameMatch(String hint); + public TQBig5Codec() { + super((Class) null); + newTQBig5Codec(); + } + private native void newTQBig5Codec(); + /** 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/qtjava/javalib/org/kde/qt/TQBitmap.java b/qtjava/javalib/org/kde/qt/TQBitmap.java new file mode 100644 index 00000000..53e78c65 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQBitmap.java @@ -0,0 +1,96 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQBitmap extends TQPixmap { + protected TQBitmap(Class dummy){super((Class) null);} + public TQBitmap() { + super((Class) null); + newTQBitmap(); + } + private native void newTQBitmap(); + public TQBitmap(int w, int h, boolean clear, int arg4) { + super((Class) null); + newTQBitmap(w,h,clear,arg4); + } + private native void newTQBitmap(int w, int h, boolean clear, int arg4); + public TQBitmap(int w, int h, boolean clear) { + super((Class) null); + newTQBitmap(w,h,clear); + } + private native void newTQBitmap(int w, int h, boolean clear); + public TQBitmap(int w, int h) { + super((Class) null); + newTQBitmap(w,h); + } + private native void newTQBitmap(int w, int h); + public TQBitmap(TQSize arg1, boolean clear, int arg3) { + super((Class) null); + newTQBitmap(arg1,clear,arg3); + } + private native void newTQBitmap(TQSize arg1, boolean clear, int arg3); + public TQBitmap(TQSize arg1, boolean clear) { + super((Class) null); + newTQBitmap(arg1,clear); + } + private native void newTQBitmap(TQSize arg1, boolean clear); + public TQBitmap(TQSize arg1) { + super((Class) null); + newTQBitmap(arg1); + } + private native void newTQBitmap(TQSize arg1); + public TQBitmap(int w, int h, char[] bits, boolean isXbitmap) { + super((Class) null); + newTQBitmap(w,h,bits,isXbitmap); + } + private native void newTQBitmap(int w, int h, char[] bits, boolean isXbitmap); + public TQBitmap(int w, int h, char[] bits) { + super((Class) null); + newTQBitmap(w,h,bits); + } + private native void newTQBitmap(int w, int h, char[] bits); + public TQBitmap(TQSize arg1, char[] bits, boolean isXbitmap) { + super((Class) null); + newTQBitmap(arg1,bits,isXbitmap); + } + private native void newTQBitmap(TQSize arg1, char[] bits, boolean isXbitmap); + public TQBitmap(TQSize arg1, char[] bits) { + super((Class) null); + newTQBitmap(arg1,bits); + } + private native void newTQBitmap(TQSize arg1, char[] bits); + public TQBitmap(TQBitmap arg1) { + super((Class) null); + newTQBitmap(arg1); + } + private native void newTQBitmap(TQBitmap arg1); + public TQBitmap(String fileName, String format) { + super((Class) null); + newTQBitmap(fileName,format); + } + private native void newTQBitmap(String fileName, String format); + public TQBitmap(String fileName) { + super((Class) null); + newTQBitmap(fileName); + } + private native void newTQBitmap(String fileName); + public native Object xForm(TQWMatrix 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(); + public TQBitmap(TQPixmap arg1) { + super((Class) null); + newTQBitmap(arg1); + } + private native void newTQBitmap(TQPixmap arg1); + public TQBitmap(TQImage arg1) { + super((Class) null); + newTQBitmap(arg1); + } + private native void newTQBitmap(TQImage arg1); + +} diff --git a/qtjava/javalib/org/kde/qt/TQBoxLayout.java b/qtjava/javalib/org/kde/qt/TQBoxLayout.java new file mode 100644 index 00000000..c7a20317 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQBoxLayout.java @@ -0,0 +1,109 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQBoxLayout extends TQLayout { + protected TQBoxLayout(Class dummy){super((Class) null);} + public static final int LeftToRight = 0; + public static final int RightToLeft = 1; + public static final int TopToBottom = 2; + public static final int BottomToTop = 3; + public static final int Down = TopToBottom; + public static final int Up = BottomToTop; + + public native TQMetaObject metaObject(); + public native String className(); + public TQBoxLayout(TQWidget parent, int arg2, int border, int spacing, String name) { + super((Class) null); + newTQBoxLayout(parent,arg2,border,spacing,name); + } + private native void newTQBoxLayout(TQWidget parent, int arg2, int border, int spacing, String name); + public TQBoxLayout(TQWidget parent, int arg2, int border, int spacing) { + super((Class) null); + newTQBoxLayout(parent,arg2,border,spacing); + } + private native void newTQBoxLayout(TQWidget parent, int arg2, int border, int spacing); + public TQBoxLayout(TQWidget parent, int arg2, int border) { + super((Class) null); + newTQBoxLayout(parent,arg2,border); + } + private native void newTQBoxLayout(TQWidget parent, int arg2, int border); + public TQBoxLayout(TQWidget parent, int arg2) { + super((Class) null); + newTQBoxLayout(parent,arg2); + } + private native void newTQBoxLayout(TQWidget parent, int arg2); + public TQBoxLayout(TQLayout parentLayout, int arg2, int spacing, String name) { + super((Class) null); + newTQBoxLayout(parentLayout,arg2,spacing,name); + } + private native void newTQBoxLayout(TQLayout parentLayout, int arg2, int spacing, String name); + public TQBoxLayout(TQLayout parentLayout, int arg2, int spacing) { + super((Class) null); + newTQBoxLayout(parentLayout,arg2,spacing); + } + private native void newTQBoxLayout(TQLayout parentLayout, int arg2, int spacing); + public TQBoxLayout(TQLayout parentLayout, int arg2) { + super((Class) null); + newTQBoxLayout(parentLayout,arg2); + } + private native void newTQBoxLayout(TQLayout parentLayout, int arg2); + public TQBoxLayout(int arg1, int spacing, String name) { + super((Class) null); + newTQBoxLayout(arg1,spacing,name); + } + private native void newTQBoxLayout(int arg1, int spacing, String name); + public TQBoxLayout(int arg1, int spacing) { + super((Class) null); + newTQBoxLayout(arg1,spacing); + } + private native void newTQBoxLayout(int arg1, int spacing); + public TQBoxLayout(int arg1) { + super((Class) null); + newTQBoxLayout(arg1); + } + private native void newTQBoxLayout(int arg1); + public native void addItem(TQLayoutItemInterface arg1); + public native int direction(); + public native void setDirection(int arg1); + public native void addSpacing(int size); + public native void addStretch(int stretch); + public native void addStretch(); + public native void addWidget(TQWidget arg1, int stretch, int alignment); + public native void addWidget(TQWidget arg1, int stretch); + public native void addWidget(TQWidget arg1); + public native void addLayout(TQLayout layout, int stretch); + public native void addLayout(TQLayout layout); + public native void addStrut(int arg1); + public native void insertSpacing(int index, int size); + public native void insertStretch(int index, int stretch); + public native void insertStretch(int index); + public native void insertWidget(int index, TQWidget widget, int stretch, int alignment); + public native void insertWidget(int index, TQWidget widget, int stretch); + public native void insertWidget(int index, TQWidget widget); + public native void insertLayout(int index, TQLayout layout, int stretch); + public native void insertLayout(int index, TQLayout layout); + public native boolean setStretchFactor(TQWidget arg1, int stretch); + public native boolean setStretchFactor(TQLayout l, int stretch); + public native TQSize sizeHint(); + public native TQSize minimumSize(); + public native TQSize maximumSize(); + public native boolean hasHeightForWidth(); + public native int heightForWidth(int arg1); + public native int minimumHeightForWidth(int arg1); + public native int expanding(); + public native void invalidate(); + // TQLayoutIterator iterator(); >>>> NOT CONVERTED + public native void setGeometry(TQRect arg1); + public native int findWidget(TQWidget w); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public native void insertItem(int index, TQLayoutItemInterface 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/qtjava/javalib/org/kde/qt/TQBrush.java b/qtjava/javalib/org/kde/qt/TQBrush.java new file mode 100644 index 00000000..3f324da4 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQBrush.java @@ -0,0 +1,52 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQBrush extends Qt { + protected TQBrush(Class dummy){super((Class) null);} + public TQBrush() { + super((Class) null); + newTQBrush(); + } + private native void newTQBrush(); + public TQBrush(int arg1) { + super((Class) null); + newTQBrush(arg1); + } + private native void newTQBrush(int arg1); + public TQBrush(TQColor arg1, int arg2) { + super((Class) null); + newTQBrush(arg1,arg2); + } + private native void newTQBrush(TQColor arg1, int arg2); + public TQBrush(TQColor arg1) { + super((Class) null); + newTQBrush(arg1); + } + private native void newTQBrush(TQColor arg1); + public TQBrush(TQColor arg1, TQPixmap arg2) { + super((Class) null); + newTQBrush(arg1,arg2); + } + private native void newTQBrush(TQColor arg1, TQPixmap arg2); + public TQBrush(TQBrush arg1) { + super((Class) null); + newTQBrush(arg1); + } + private native void newTQBrush(TQBrush arg1); + public native int style(); + public native void setStyle(int arg1); + public native TQColor color(); + public native void setColor(TQColor arg1); + public native TQPixmap pixmap(); + public native void setPixmap(TQPixmap arg1); + public native boolean op_equals(TQBrush p); + public native boolean op_not_equals(TQBrush b); + /** 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/qtjava/javalib/org/kde/qt/TQBuffer.java b/qtjava/javalib/org/kde/qt/TQBuffer.java new file mode 100644 index 00000000..30cfcdb5 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQBuffer.java @@ -0,0 +1,39 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQBuffer extends TQIODevice { + protected TQBuffer(Class dummy){super((Class) null);} + public TQBuffer() { + super((Class) null); + newTQBuffer(); + } + private native void newTQBuffer(); + public TQBuffer(byte[] arg1) { + super((Class) null); + newTQBuffer(arg1); + } + private native void newTQBuffer(byte[] arg1); + public native byte[] buffer(); + public native boolean setBuffer(byte[] arg1); + public native boolean open(int arg1); + public native void close(); + public native void flush(); + public native long size(); + public native long at(); + public native boolean at(long arg1); + public native long readBlock(StringBuffer p, long arg2); + public native long writeBlock(String p, long arg2); + public native long writeBlock(byte[] data); + public native long readLine(String p, long arg2); + public native int getch(); + public native int putch(int arg1); + public native int ungetch(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/qtjava/javalib/org/kde/qt/TQButton.java b/qtjava/javalib/org/kde/qt/TQButton.java new file mode 100644 index 00000000..cf03c64d --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQButton.java @@ -0,0 +1,85 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQButtonSignals} for signals emitted by TQButton +*/ +public class TQButton extends TQWidget { + protected TQButton(Class dummy){super((Class) null);} + public static final int SingleShot = 0; + public static final int Toggle = 1; + public static final int Tristate = 2; + + public static final int Off = 0; + public static final int NoChange = 1; + public static final int On = 2; + + public native TQMetaObject metaObject(); + public native String className(); + public TQButton(TQWidget parent, String name, int f) { + super((Class) null); + newTQButton(parent,name,f); + } + private native void newTQButton(TQWidget parent, String name, int f); + public TQButton(TQWidget parent, String name) { + super((Class) null); + newTQButton(parent,name); + } + private native void newTQButton(TQWidget parent, String name); + public TQButton(TQWidget parent) { + super((Class) null); + newTQButton(parent); + } + private native void newTQButton(TQWidget parent); + public TQButton() { + super((Class) null); + newTQButton(); + } + private native void newTQButton(); + public native String text(); + public native void setText(String arg1); + public native TQPixmap pixmap(); + public native void setPixmap(TQPixmap arg1); + public native TQKeySequence accel(); + public native void setAccel(TQKeySequence arg1); + public native boolean isToggleButton(); + public native int toggleType(); + public native void setDown(boolean arg1); + public native boolean isDown(); + public native boolean isOn(); + public native int state(); + public native boolean autoResize(); + public native void setAutoResize(boolean arg1); + public native boolean autoRepeat(); + public native void setAutoRepeat(boolean arg1); + public native boolean isExclusiveToggle(); + public native TQButtonGroup group(); + public native void animateClick(); + public native void toggle(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void setToggleButton(boolean arg1); + protected native void setToggleType(int arg1); + protected native void setOn(boolean arg1); + public native void setState(int arg1); + protected native boolean hitButton(TQPoint pos); + protected native void drawButton(TQPainter arg1); + protected native void drawButtonLabel(TQPainter arg1); + protected native void keyPressEvent(TQKeyEvent arg1); + protected native void keyReleaseEvent(TQKeyEvent arg1); + protected native void mousePressEvent(TQMouseEvent arg1); + protected native void mouseReleaseEvent(TQMouseEvent arg1); + protected native void mouseMoveEvent(TQMouseEvent arg1); + protected native void paintEvent(TQPaintEvent arg1); + protected native void focusInEvent(TQFocusEvent arg1); + protected native void focusOutEvent(TQFocusEvent arg1); + protected native void enabledChange(boolean 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/qtjava/javalib/org/kde/qt/TQButtonGroup.java b/qtjava/javalib/org/kde/qt/TQButtonGroup.java new file mode 100644 index 00000000..5570c131 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQButtonGroup.java @@ -0,0 +1,100 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQButtonGroupSignals} for signals emitted by TQButtonGroup +*/ +public class TQButtonGroup extends TQGroupBox { + protected TQButtonGroup(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQButtonGroup(TQWidget parent, String name) { + super((Class) null); + newTQButtonGroup(parent,name); + } + private native void newTQButtonGroup(TQWidget parent, String name); + public TQButtonGroup(TQWidget parent) { + super((Class) null); + newTQButtonGroup(parent); + } + private native void newTQButtonGroup(TQWidget parent); + public TQButtonGroup() { + super((Class) null); + newTQButtonGroup(); + } + private native void newTQButtonGroup(); + public TQButtonGroup(String title, TQWidget parent, String name) { + super((Class) null); + newTQButtonGroup(title,parent,name); + } + private native void newTQButtonGroup(String title, TQWidget parent, String name); + public TQButtonGroup(String title, TQWidget parent) { + super((Class) null); + newTQButtonGroup(title,parent); + } + private native void newTQButtonGroup(String title, TQWidget parent); + public TQButtonGroup(String title) { + super((Class) null); + newTQButtonGroup(title); + } + private native void newTQButtonGroup(String title); + public TQButtonGroup(int columns, int o, TQWidget parent, String name) { + super((Class) null); + newTQButtonGroup(columns,o,parent,name); + } + private native void newTQButtonGroup(int columns, int o, TQWidget parent, String name); + public TQButtonGroup(int columns, int o, TQWidget parent) { + super((Class) null); + newTQButtonGroup(columns,o,parent); + } + private native void newTQButtonGroup(int columns, int o, TQWidget parent); + public TQButtonGroup(int columns, int o) { + super((Class) null); + newTQButtonGroup(columns,o); + } + private native void newTQButtonGroup(int columns, int o); + public TQButtonGroup(int columns, int o, String title, TQWidget parent, String name) { + super((Class) null); + newTQButtonGroup(columns,o,title,parent,name); + } + private native void newTQButtonGroup(int columns, int o, String title, TQWidget parent, String name); + public TQButtonGroup(int columns, int o, String title, TQWidget parent) { + super((Class) null); + newTQButtonGroup(columns,o,title,parent); + } + private native void newTQButtonGroup(int columns, int o, String title, TQWidget parent); + public TQButtonGroup(int columns, int o, String title) { + super((Class) null); + newTQButtonGroup(columns,o,title); + } + private native void newTQButtonGroup(int columns, int o, String title); + public native boolean isExclusive(); + public native boolean isRadioButtonExclusive(); + public native void setExclusive(boolean arg1); + public native void setRadioButtonExclusive(boolean arg1); + public native int insert(TQButton arg1, int id); + public native int insert(TQButton arg1); + public native void remove(TQButton arg1); + public native TQButton findButton(int id); + public native int id(TQButton arg1); + public native int count(); + public native void setButton(int id); + public native void moveFocus(int arg1); + public native TQButton selected(); + public native int selectedId(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public native boolean event(TQEvent e); + protected native void buttonPressed(); + protected native void buttonReleased(); + protected native void buttonClicked(); + protected native void buttonToggled(boolean on); + /** 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/qtjava/javalib/org/kde/qt/TQButtonGroupSignals.java b/qtjava/javalib/org/kde/qt/TQButtonGroupSignals.java new file mode 100644 index 00000000..8c93250a --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQButtonGroupSignals.java @@ -0,0 +1,9 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQButtonGroupSignals { + void pressed(int id); + void released(int id); + void clicked(int id); +} diff --git a/qtjava/javalib/org/kde/qt/TQButtonSignals.java b/qtjava/javalib/org/kde/qt/TQButtonSignals.java new file mode 100644 index 00000000..79d0fc85 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQButtonSignals.java @@ -0,0 +1,11 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQButtonSignals { + void pressed(); + void released(); + void clicked(); + void toggled(boolean arg1); + void stateChanged(int arg1); +} diff --git a/qtjava/javalib/org/kde/qt/TQCanvas.java b/qtjava/javalib/org/kde/qt/TQCanvas.java new file mode 100644 index 00000000..36baff0c --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQCanvas.java @@ -0,0 +1,103 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +/** + See {@link TQCanvasSignals} for signals emitted by TQCanvas +*/ +public class TQCanvas extends TQObject { + protected TQCanvas(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQCanvas(TQObject parent, String name) { + super((Class) null); + newTQCanvas(parent,name); + } + private native void newTQCanvas(TQObject parent, String name); + public TQCanvas(TQObject parent) { + super((Class) null); + newTQCanvas(parent); + } + private native void newTQCanvas(TQObject parent); + public TQCanvas() { + super((Class) null); + newTQCanvas(); + } + private native void newTQCanvas(); + public TQCanvas(int w, int h) { + super((Class) null); + newTQCanvas(w,h); + } + private native void newTQCanvas(int w, int h); + public TQCanvas(TQPixmap p, int h, int v, int tilewidth, int tileheight) { + super((Class) null); + newTQCanvas(p,h,v,tilewidth,tileheight); + } + private native void newTQCanvas(TQPixmap p, int h, int v, int tilewidth, int tileheight); + public native void setTiles(TQPixmap tiles, int h, int v, int tilewidth, int tileheight); + public native void setBackgroundPixmap(TQPixmap p); + public native TQPixmap backgroundPixmap(); + public native void setBackgroundColor(TQColor c); + public native TQColor backgroundColor(); + public native void setTile(int x, int y, int tilenum); + public native int tile(int x, int y); + public native int tilesHorizontally(); + public native int tilesVertically(); + public native int tileWidth(); + public native int tileHeight(); + public native void resize(int width, int height); + public native int width(); + public native int height(); + public native TQSize size(); + public native TQRect rect(); + public native boolean onCanvas(int x, int y); + public native boolean onCanvas(TQPoint p); + public native boolean validChunk(int x, int y); + public native boolean validChunk(TQPoint p); + public native int chunkSize(); + public native void retune(int chunksize, int maxclusters); + public native void retune(int chunksize); + public native boolean sameChunk(int x1, int y1, int x2, int y2); + public native void setChangedChunk(int i, int j); + public native void setChangedChunkContaining(int x, int y); + public native void setAllChanged(); + public native void setChanged(TQRect area); + public native void setUnchanged(TQRect area); + public native void addItemToChunk(TQCanvasItem arg1, int i, int j); + public native void removeItemFromChunk(TQCanvasItem arg1, int i, int j); + public native void addItemToChunkContaining(TQCanvasItem arg1, int x, int y); + public native void removeItemFromChunkContaining(TQCanvasItem arg1, int x, int y); + public native ArrayList allItems(); + public native ArrayList collisions(TQPoint arg1); + public native ArrayList collisions(TQRect arg1); + public native ArrayList collisions(TQPointArray pa, TQCanvasItem item, boolean exact); + public native void drawArea(TQRect arg1, TQPainter p, boolean double_buffer); + public native void drawArea(TQRect arg1, TQPainter p); + public native void addView(TQCanvasView arg1); + public native void removeView(TQCanvasView arg1); + public native void drawCanvasArea(TQRect arg1, TQPainter p, boolean double_buffer); + public native void drawCanvasArea(TQRect arg1, TQPainter p); + public native void drawCanvasArea(TQRect arg1); + public native void drawViewArea(TQCanvasView view, TQPainter p, TQRect r, boolean dbuf); + public native void addItem(TQCanvasItem arg1); + public native void addAnimation(TQCanvasItem arg1); + public native void removeItem(TQCanvasItem arg1); + public native void removeAnimation(TQCanvasItem arg1); + public native void setAdvancePeriod(int ms); + public native void setUpdatePeriod(int ms); + public native void setDoubleBuffering(boolean y); + public native void advance(); + public native void update(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void drawBackground(TQPainter arg1, TQRect area); + protected native void drawForeground(TQPainter arg1, TQRect area); + /** 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/qtjava/javalib/org/kde/qt/TQCanvasEllipse.java b/qtjava/javalib/org/kde/qt/TQCanvasEllipse.java new file mode 100644 index 00000000..472e6877 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQCanvasEllipse.java @@ -0,0 +1,39 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQCanvasEllipse extends TQCanvasPolygonalItem { + protected TQCanvasEllipse(Class dummy){super((Class) null);} + public TQCanvasEllipse(TQCanvas canvas) { + super((Class) null); + newTQCanvasEllipse(canvas); + } + private native void newTQCanvasEllipse(TQCanvas canvas); + public TQCanvasEllipse(int width, int height, TQCanvas canvas) { + super((Class) null); + newTQCanvasEllipse(width,height,canvas); + } + private native void newTQCanvasEllipse(int width, int height, TQCanvas canvas); + public TQCanvasEllipse(int width, int height, int startangle, int angle, TQCanvas canvas) { + super((Class) null); + newTQCanvasEllipse(width,height,startangle,angle,canvas); + } + private native void newTQCanvasEllipse(int width, int height, int startangle, int angle, TQCanvas canvas); + public native int width(); + public native int height(); + public native void setSize(int w, int h); + public native void setAngles(int start, int length); + public native int angleStart(); + public native int angleLength(); + public native TQPointArray areaPoints(); + public native boolean collidesWith(TQCanvasItem arg1); + public native int rtti(); + protected native void drawShape(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/qtjava/javalib/org/kde/qt/TQCanvasItem.java b/qtjava/javalib/org/kde/qt/TQCanvasItem.java new file mode 100644 index 00000000..91cb3296 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQCanvasItem.java @@ -0,0 +1,57 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +public class TQCanvasItem extends Qt { + protected TQCanvasItem(Class dummy){super((Class) null);} + public static final int Rtti_Item = 0; + public static final int Rtti_Sprite = 1; + public static final int Rtti_PolygonalItem = 2; + public static final int Rtti_Text = 3; + public static final int Rtti_Polygon = 4; + public static final int Rtti_Rectangle = 5; + public static final int Rtti_Ellipse = 6; + public static final int Rtti_Line = 7; + public static final int Rtti_Spline = 8; + + public native double x(); + public native double y(); + public native double z(); + public native void moveBy(double dx, double dy); + public native void move(double x, double y); + public native void setX(double a); + public native void setY(double a); + public native void setZ(double a); + public native boolean animated(); + public native void setAnimated(boolean y); + public native void setVelocity(double vx, double vy); + public native void setXVelocity(double vx); + public native void setYVelocity(double vy); + public native double xVelocity(); + public native double yVelocity(); + public native void advance(int stage); + public native boolean collidesWith(TQCanvasItem arg1); + public native ArrayList collisions(boolean exact); + public native void setCanvas(TQCanvas arg1); + public native void draw(TQPainter arg1); + public native void show(); + public native void hide(); + public native void setVisible(boolean yes); + public native boolean isVisible(); + public native void setSelected(boolean yes); + public native boolean isSelected(); + public native void setEnabled(boolean yes); + public native boolean isEnabled(); + public native void setActive(boolean yes); + public native boolean isActive(); + public native boolean visible(); + public native boolean selected(); + public native boolean enabled(); + public native boolean active(); + public native int rtti(); + public native TQRect boundingRect(); + public native TQRect boundingRectAdvanced(); + public native TQCanvas canvas(); +} diff --git a/qtjava/javalib/org/kde/qt/TQCanvasLine.java b/qtjava/javalib/org/kde/qt/TQCanvasLine.java new file mode 100644 index 00000000..1805e77f --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQCanvasLine.java @@ -0,0 +1,27 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQCanvasLine extends TQCanvasPolygonalItem { + protected TQCanvasLine(Class dummy){super((Class) null);} + public TQCanvasLine(TQCanvas canvas) { + super((Class) null); + newTQCanvasLine(canvas); + } + private native void newTQCanvasLine(TQCanvas canvas); + public native void setPoints(int x1, int y1, int x2, int y2); + public native TQPoint startPoint(); + public native TQPoint endPoint(); + public native int rtti(); + public native void setPen(TQPen p); + public native void moveBy(double dx, double dy); + protected native void drawShape(TQPainter arg1); + public native TQPointArray areaPoints(); + /** 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/qtjava/javalib/org/kde/qt/TQCanvasPixmap.java b/qtjava/javalib/org/kde/qt/TQCanvasPixmap.java new file mode 100644 index 00000000..25add0c4 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQCanvasPixmap.java @@ -0,0 +1,32 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQCanvasPixmap extends TQPixmap { + protected TQCanvasPixmap(Class dummy){super((Class) null);} + public TQCanvasPixmap(String datafilename) { + super((Class) null); + newTQCanvasPixmap(datafilename); + } + private native void newTQCanvasPixmap(String datafilename); + public TQCanvasPixmap(TQImage image) { + super((Class) null); + newTQCanvasPixmap(image); + } + private native void newTQCanvasPixmap(TQImage image); + public TQCanvasPixmap(TQPixmap arg1, TQPoint hotspot) { + super((Class) null); + newTQCanvasPixmap(arg1,hotspot); + } + private native void newTQCanvasPixmap(TQPixmap arg1, TQPoint hotspot); + public native int offsetX(); + public native int offsetY(); + public native void setOffset(int x, int y); + /** 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/qtjava/javalib/org/kde/qt/TQCanvasPixmapArray.java b/qtjava/javalib/org/kde/qt/TQCanvasPixmapArray.java new file mode 100644 index 00000000..113bd5a8 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQCanvasPixmapArray.java @@ -0,0 +1,40 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQCanvasPixmapArray implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQCanvasPixmapArray(Class dummy){} + + public TQCanvasPixmapArray() { + newTQCanvasPixmapArray(); + } + private native void newTQCanvasPixmapArray(); + public TQCanvasPixmapArray(String datafilenamepattern, int framecount) { + newTQCanvasPixmapArray(datafilenamepattern,framecount); + } + private native void newTQCanvasPixmapArray(String datafilenamepattern, int framecount); + public TQCanvasPixmapArray(String datafilenamepattern) { + newTQCanvasPixmapArray(datafilenamepattern); + } + private native void newTQCanvasPixmapArray(String datafilenamepattern); + // TQCanvasPixmapArray* TQCanvasPixmapArray(TQPtrList arg1,TQPtrList arg2); >>>> NOT CONVERTED + // TQCanvasPixmapArray* TQCanvasPixmapArray(TQValueList arg1,TQPointArray arg2); >>>> NOT CONVERTED + // TQCanvasPixmapArray* TQCanvasPixmapArray(TQValueList arg1); >>>> NOT CONVERTED + public native boolean readPixmaps(String datafilenamepattern, int framecount); + public native boolean readPixmaps(String datafilenamepattern); + public native boolean readCollisionMasks(String filenamepattern); + public native boolean op_not(); + public native boolean isValid(); + public native TQCanvasPixmap image(int i); + public native void setImage(int i, TQCanvasPixmap p); + public native int count(); + /** 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/qtjava/javalib/org/kde/qt/TQCanvasPolygon.java b/qtjava/javalib/org/kde/qt/TQCanvasPolygon.java new file mode 100644 index 00000000..3a09748f --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQCanvasPolygon.java @@ -0,0 +1,25 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQCanvasPolygon extends TQCanvasPolygonalItem { + protected TQCanvasPolygon(Class dummy){super((Class) null);} + public TQCanvasPolygon(TQCanvas canvas) { + super((Class) null); + newTQCanvasPolygon(canvas); + } + private native void newTQCanvasPolygon(TQCanvas canvas); + public native void setPoints(TQPointArray arg1); + public native TQPointArray points(); + public native void moveBy(double dx, double dy); + public native TQPointArray areaPoints(); + public native int rtti(); + protected native void drawShape(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/qtjava/javalib/org/kde/qt/TQCanvasPolygonalItem.java b/qtjava/javalib/org/kde/qt/TQCanvasPolygonalItem.java new file mode 100644 index 00000000..47421c4d --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQCanvasPolygonalItem.java @@ -0,0 +1,17 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQCanvasPolygonalItem extends TQCanvasItem { + protected TQCanvasPolygonalItem(Class dummy){super((Class) null);} + public native boolean collidesWith(TQCanvasItem arg1); + public native void setPen(TQPen p); + public native void setBrush(TQBrush b); + public native TQPen pen(); + public native TQBrush brush(); + public native TQPointArray areaPoints(); + public native TQPointArray areaPointsAdvanced(); + public native TQRect boundingRect(); + public native int rtti(); +} diff --git a/qtjava/javalib/org/kde/qt/TQCanvasRectangle.java b/qtjava/javalib/org/kde/qt/TQCanvasRectangle.java new file mode 100644 index 00000000..5fa5dbbe --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQCanvasRectangle.java @@ -0,0 +1,39 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQCanvasRectangle extends TQCanvasPolygonalItem { + protected TQCanvasRectangle(Class dummy){super((Class) null);} + public TQCanvasRectangle(TQCanvas canvas) { + super((Class) null); + newTQCanvasRectangle(canvas); + } + private native void newTQCanvasRectangle(TQCanvas canvas); + public TQCanvasRectangle(TQRect arg1, TQCanvas canvas) { + super((Class) null); + newTQCanvasRectangle(arg1,canvas); + } + private native void newTQCanvasRectangle(TQRect arg1, TQCanvas canvas); + public TQCanvasRectangle(int x, int y, int width, int height, TQCanvas canvas) { + super((Class) null); + newTQCanvasRectangle(x,y,width,height,canvas); + } + private native void newTQCanvasRectangle(int x, int y, int width, int height, TQCanvas canvas); + public native int width(); + public native int height(); + public native void setSize(int w, int h); + public native TQSize size(); + public native TQPointArray areaPoints(); + public native TQRect rect(); + public native boolean collidesWith(TQCanvasItem arg1); + public native int rtti(); + protected native void drawShape(TQPainter arg1); + protected native TQPointArray chunks(); + /** 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/qtjava/javalib/org/kde/qt/TQCanvasSignals.java b/qtjava/javalib/org/kde/qt/TQCanvasSignals.java new file mode 100644 index 00000000..bd33e65e --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQCanvasSignals.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import java.util.ArrayList; + +public interface TQCanvasSignals { + void resized(); +} diff --git a/qtjava/javalib/org/kde/qt/TQCanvasSpline.java b/qtjava/javalib/org/kde/qt/TQCanvasSpline.java new file mode 100644 index 00000000..593c9de1 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQCanvasSpline.java @@ -0,0 +1,24 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQCanvasSpline extends TQCanvasPolygon { + protected TQCanvasSpline(Class dummy){super((Class) null);} + public TQCanvasSpline(TQCanvas canvas) { + super((Class) null); + newTQCanvasSpline(canvas); + } + private native void newTQCanvasSpline(TQCanvas canvas); + public native void setControlPoints(TQPointArray arg1, boolean closed); + public native void setControlPoints(TQPointArray arg1); + public native TQPointArray controlPoints(); + public native boolean closed(); + public native int rtti(); + /** 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/qtjava/javalib/org/kde/qt/TQCanvasSprite.java b/qtjava/javalib/org/kde/qt/TQCanvasSprite.java new file mode 100644 index 00000000..b093ab45 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQCanvasSprite.java @@ -0,0 +1,50 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQCanvasSprite extends TQCanvasItem { + protected TQCanvasSprite(Class dummy){super((Class) null);} + public static final int Cycle = 0; + public static final int Oscillate = 1; + + public TQCanvasSprite(TQCanvasPixmapArray array, TQCanvas canvas) { + super((Class) null); + newTQCanvasSprite(array,canvas); + } + private native void newTQCanvasSprite(TQCanvasPixmapArray array, TQCanvas canvas); + public native void setSequence(TQCanvasPixmapArray seq); + public native void move(double x, double y); + public native void move(double x, double y, int frame); + public native void setFrame(int arg1); + public native void setFrameAnimation(int arg1, int step, int state); + public native void setFrameAnimation(int arg1, int step); + public native void setFrameAnimation(int arg1); + public native void setFrameAnimation(); + public native int frame(); + public native int frameCount(); + public native int rtti(); + public native boolean collidesWith(TQCanvasItem arg1); + public native TQRect boundingRect(); + public native int width(); + public native int height(); + public native int leftEdge(); + public native int topEdge(); + public native int rightEdge(); + public native int bottomEdge(); + public native int leftEdge(int nx); + public native int topEdge(int ny); + public native int rightEdge(int nx); + public native int bottomEdge(int ny); + public native TQCanvasPixmap image(); + public native TQCanvasPixmap imageAdvanced(); + public native TQCanvasPixmap image(int f); + public native void advance(int stage); + public native void draw(TQPainter painter); + /** 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/qtjava/javalib/org/kde/qt/TQCanvasText.java b/qtjava/javalib/org/kde/qt/TQCanvasText.java new file mode 100644 index 00000000..c8866043 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQCanvasText.java @@ -0,0 +1,42 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQCanvasText extends TQCanvasItem { + protected TQCanvasText(Class dummy){super((Class) null);} + public TQCanvasText(TQCanvas canvas) { + super((Class) null); + newTQCanvasText(canvas); + } + private native void newTQCanvasText(TQCanvas canvas); + public TQCanvasText(String arg1, TQCanvas canvas) { + super((Class) null); + newTQCanvasText(arg1,canvas); + } + private native void newTQCanvasText(String arg1, TQCanvas canvas); + public TQCanvasText(String arg1, TQFont arg2, TQCanvas canvas) { + super((Class) null); + newTQCanvasText(arg1,arg2,canvas); + } + private native void newTQCanvasText(String arg1, TQFont arg2, TQCanvas canvas); + public native void setText(String arg1); + public native void setFont(TQFont arg1); + public native void setColor(TQColor arg1); + public native String text(); + public native TQFont font(); + public native TQColor color(); + public native void moveBy(double dx, double dy); + public native int textFlags(); + public native void setTextFlags(int arg1); + public native TQRect boundingRect(); + public native boolean collidesWith(TQCanvasItem arg1); + public native int rtti(); + public native void draw(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/qtjava/javalib/org/kde/qt/TQCanvasView.java b/qtjava/javalib/org/kde/qt/TQCanvasView.java new file mode 100644 index 00000000..8aa46876 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQCanvasView.java @@ -0,0 +1,65 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQCanvasView extends TQScrollView { + protected TQCanvasView(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQCanvasView(TQWidget parent, String name, int f) { + super((Class) null); + newTQCanvasView(parent,name,f); + } + private native void newTQCanvasView(TQWidget parent, String name, int f); + public TQCanvasView(TQWidget parent, String name) { + super((Class) null); + newTQCanvasView(parent,name); + } + private native void newTQCanvasView(TQWidget parent, String name); + public TQCanvasView(TQWidget parent) { + super((Class) null); + newTQCanvasView(parent); + } + private native void newTQCanvasView(TQWidget parent); + public TQCanvasView() { + super((Class) null); + newTQCanvasView(); + } + private native void newTQCanvasView(); + public TQCanvasView(TQCanvas viewing, TQWidget parent, String name, int f) { + super((Class) null); + newTQCanvasView(viewing,parent,name,f); + } + private native void newTQCanvasView(TQCanvas viewing, TQWidget parent, String name, int f); + public TQCanvasView(TQCanvas viewing, TQWidget parent, String name) { + super((Class) null); + newTQCanvasView(viewing,parent,name); + } + private native void newTQCanvasView(TQCanvas viewing, TQWidget parent, String name); + public TQCanvasView(TQCanvas viewing, TQWidget parent) { + super((Class) null); + newTQCanvasView(viewing,parent); + } + private native void newTQCanvasView(TQCanvas viewing, TQWidget parent); + public TQCanvasView(TQCanvas viewing) { + super((Class) null); + newTQCanvasView(viewing); + } + private native void newTQCanvasView(TQCanvas viewing); + public native TQCanvas canvas(); + public native void setCanvas(TQCanvas v); + public native TQWMatrix worldMatrix(); + public native TQWMatrix inverseWorldMatrix(); + public native boolean setWorldMatrix(TQWMatrix arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void drawContents(TQPainter arg1, int cx, int cy, int cw, int ch); + public native TQSize sizeHint(); + /** 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/qtjava/javalib/org/kde/qt/TQCheckBox.java b/qtjava/javalib/org/kde/qt/TQCheckBox.java new file mode 100644 index 00000000..71a7ed18 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQCheckBox.java @@ -0,0 +1,50 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQCheckBox extends TQButton { + protected TQCheckBox(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQCheckBox(TQWidget parent, String name) { + super((Class) null); + newTQCheckBox(parent,name); + } + private native void newTQCheckBox(TQWidget parent, String name); + public TQCheckBox(TQWidget parent) { + super((Class) null); + newTQCheckBox(parent); + } + private native void newTQCheckBox(TQWidget parent); + public TQCheckBox(String text, TQWidget parent, String name) { + super((Class) null); + newTQCheckBox(text,parent,name); + } + private native void newTQCheckBox(String text, TQWidget parent, String name); + public TQCheckBox(String text, TQWidget parent) { + super((Class) null); + newTQCheckBox(text,parent); + } + private native void newTQCheckBox(String text, TQWidget parent); + public native boolean isChecked(); + public native void setNoChange(); + public native void setTristate(boolean y); + public native void setTristate(); + public native boolean isTristate(); + public native TQSize sizeHint(); + public native void setChecked(boolean check); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void drawButton(TQPainter arg1); + protected native void drawButtonLabel(TQPainter arg1); + protected native void updateMask(); + protected native boolean hitButton(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/qtjava/javalib/org/kde/qt/TQCheckListItem.java b/qtjava/javalib/org/kde/qt/TQCheckListItem.java new file mode 100644 index 00000000..292da40f --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQCheckListItem.java @@ -0,0 +1,111 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQCheckListItem extends TQListViewItem { + protected TQCheckListItem(Class dummy){super((Class) null);} + public static final int RadioButton = 0; + public static final int CheckBox = 1; + public static final int Controller = 2; + public static final int RadioButtonController = Controller; + public static final int CheckBoxController = 3; + + public static final int Off = 0; + public static final int NoChange = 1; + public static final int On = 2; + + public TQCheckListItem(TQCheckListItem parent, String text, int arg3) { + super((Class) null); + newTQCheckListItem(parent,text,arg3); + } + private native void newTQCheckListItem(TQCheckListItem parent, String text, int arg3); + public TQCheckListItem(TQCheckListItem parent, String text) { + super((Class) null); + newTQCheckListItem(parent,text); + } + private native void newTQCheckListItem(TQCheckListItem parent, String text); + public TQCheckListItem(TQCheckListItem parent, TQListViewItem after, String text, int arg4) { + super((Class) null); + newTQCheckListItem(parent,after,text,arg4); + } + private native void newTQCheckListItem(TQCheckListItem parent, TQListViewItem after, String text, int arg4); + public TQCheckListItem(TQCheckListItem parent, TQListViewItem after, String text) { + super((Class) null); + newTQCheckListItem(parent,after,text); + } + private native void newTQCheckListItem(TQCheckListItem parent, TQListViewItem after, String text); + public TQCheckListItem(TQListViewItem parent, String text, int arg3) { + super((Class) null); + newTQCheckListItem(parent,text,arg3); + } + private native void newTQCheckListItem(TQListViewItem parent, String text, int arg3); + public TQCheckListItem(TQListViewItem parent, String text) { + super((Class) null); + newTQCheckListItem(parent,text); + } + private native void newTQCheckListItem(TQListViewItem parent, String text); + public TQCheckListItem(TQListViewItem parent, TQListViewItem after, String text, int arg4) { + super((Class) null); + newTQCheckListItem(parent,after,text,arg4); + } + private native void newTQCheckListItem(TQListViewItem parent, TQListViewItem after, String text, int arg4); + public TQCheckListItem(TQListViewItem parent, TQListViewItem after, String text) { + super((Class) null); + newTQCheckListItem(parent,after,text); + } + private native void newTQCheckListItem(TQListViewItem parent, TQListViewItem after, String text); + public TQCheckListItem(TQListView parent, String text, int arg3) { + super((Class) null); + newTQCheckListItem(parent,text,arg3); + } + private native void newTQCheckListItem(TQListView parent, String text, int arg3); + public TQCheckListItem(TQListView parent, String text) { + super((Class) null); + newTQCheckListItem(parent,text); + } + private native void newTQCheckListItem(TQListView parent, String text); + public TQCheckListItem(TQListView parent, TQListViewItem after, String text, int arg4) { + super((Class) null); + newTQCheckListItem(parent,after,text,arg4); + } + private native void newTQCheckListItem(TQListView parent, TQListViewItem after, String text, int arg4); + public TQCheckListItem(TQListView parent, TQListViewItem after, String text) { + super((Class) null); + newTQCheckListItem(parent,after,text); + } + private native void newTQCheckListItem(TQListView parent, TQListViewItem after, String text); + public TQCheckListItem(TQListViewItem parent, String text, TQPixmap arg3) { + super((Class) null); + newTQCheckListItem(parent,text,arg3); + } + private native void newTQCheckListItem(TQListViewItem parent, String text, TQPixmap arg3); + public TQCheckListItem(TQListView parent, String text, TQPixmap arg3) { + super((Class) null); + newTQCheckListItem(parent,text,arg3); + } + private native void newTQCheckListItem(TQListView parent, String text, TQPixmap arg3); + public native void paintCell(TQPainter arg1, TQColorGroup cg, int column, int width, int alignment); + public native void paintFocus(TQPainter arg1, TQColorGroup cg, TQRect r); + public native int width(TQFontMetrics arg1, TQListView arg2, int column); + public native void setup(); + public native void setOn(boolean arg1); + public native boolean isOn(); + public native int type(); + public native String text(); + public native String text(int n); + public native void setTristate(boolean arg1); + public native boolean isTristate(); + public native int state(); + public native void setState(int s); + public native int rtti(); + protected native void activate(); + protected native void turnOffChild(); + protected native void stateChange(boolean 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/qtjava/javalib/org/kde/qt/TQCheckTableItem.java b/qtjava/javalib/org/kde/qt/TQCheckTableItem.java new file mode 100644 index 00000000..098dbb0b --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQCheckTableItem.java @@ -0,0 +1,27 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQCheckTableItem extends TQTableItem { + protected TQCheckTableItem(Class dummy){super((Class) null);} + public TQCheckTableItem(TQTable table, String txt) { + super((Class) null); + newTQCheckTableItem(table,txt); + } + private native void newTQCheckTableItem(TQTable table, String txt); + public native void setText(String t); + public native TQWidget createEditor(); + public native void setContentFromEditor(TQWidget w); + public native void paint(TQPainter p, TQColorGroup cg, TQRect cr, boolean selected); + public native void setChecked(boolean b); + public native boolean isChecked(); + public native int rtti(); + public native TQSize sizeHint(); + /** 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/qtjava/javalib/org/kde/qt/TQChildEvent.java b/qtjava/javalib/org/kde/qt/TQChildEvent.java new file mode 100644 index 00000000..c143594a --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQChildEvent.java @@ -0,0 +1,22 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQChildEvent extends TQEvent { + protected TQChildEvent(Class dummy){super((Class) null);} + public TQChildEvent(int type, TQObject child) { + super((Class) null); + newTQChildEvent(type,child); + } + private native void newTQChildEvent(int type, TQObject child); + public native TQObject child(); + public native boolean inserted(); + public native boolean removed(); + /** 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/qtjava/javalib/org/kde/qt/TQClassInfo.java b/qtjava/javalib/org/kde/qt/TQClassInfo.java new file mode 100644 index 00000000..59e32689 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQClassInfo.java @@ -0,0 +1,21 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQClassInfo implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQClassInfo(Class dummy){} + + public TQClassInfo() { + newTQClassInfo(); + } + private native void newTQClassInfo(); + /** 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/qtjava/javalib/org/kde/qt/TQClipboard.java b/qtjava/javalib/org/kde/qt/TQClipboard.java new file mode 100644 index 00000000..80f05a12 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQClipboard.java @@ -0,0 +1,40 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQClipboard extends TQObject { + protected TQClipboard(Class dummy){super((Class) null);} + public static final int Clipboard = 0; + public static final int Selection = 1; + + public native TQMetaObject metaObject(); + public native String className(); + public native void clear(int mode); + public native void clear(); + public native boolean supportsSelection(); + public native boolean ownsSelection(); + public native boolean ownsClipboard(); + public native void setSelectionMode(boolean enable); + public native boolean selectionModeEnabled(); + public native String text(int mode); + public native String text(StringBuffer subtype, int mode); + public native void setText(String arg1, int mode); + public native TQMimeSourceInterface data(int mode); + public native void setData(TQMimeSourceInterface arg1, int mode); + public native TQImage image(int mode); + public native TQPixmap pixmap(int mode); + public native void setImage(TQImage arg1, int mode); + public native void setPixmap(TQPixmap arg1, int mode); + public native String text(); + public native String text(StringBuffer subtype); + public native void setText(String arg1); + public native TQMimeSourceInterface data(); + public native void setData(TQMimeSourceInterface arg1); + public native TQImage image(); + public native TQPixmap pixmap(); + public native void setImage(TQImage arg1); + public native void setPixmap(TQPixmap arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); +} diff --git a/qtjava/javalib/org/kde/qt/TQCloseEvent.java b/qtjava/javalib/org/kde/qt/TQCloseEvent.java new file mode 100644 index 00000000..84c4abf1 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQCloseEvent.java @@ -0,0 +1,22 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQCloseEvent extends TQEvent { + protected TQCloseEvent(Class dummy){super((Class) null);} + public TQCloseEvent() { + super((Class) null); + newTQCloseEvent(); + } + private native void newTQCloseEvent(); + public native boolean isAccepted(); + public native void accept(); + public native void ignore(); + /** 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/qtjava/javalib/org/kde/qt/TQColor.java b/qtjava/javalib/org/kde/qt/TQColor.java new file mode 100644 index 00000000..bc91c67a --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQColor.java @@ -0,0 +1,84 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +public class TQColor implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQColor(Class dummy){} + + public static final int Dirt = 0x44495254; + public static final int Invalid = 0x49000000; + + public static final int Rgb = 0; + public static final int Hsv = 1; + + public TQColor() { + newTQColor(); + } + private native void newTQColor(); + public TQColor(int r, int g, int b) { + newTQColor(r,g,b); + } + private native void newTQColor(int r, int g, int b); + public TQColor(int x, int y, int z, int arg4) { + newTQColor(x,y,z,arg4); + } + private native void newTQColor(int x, int y, int z, int arg4); + public TQColor(int rgb, int pixel) { + newTQColor(rgb,pixel); + } + private native void newTQColor(int rgb, int pixel); + public TQColor(int rgb) { + newTQColor(rgb); + } + private native void newTQColor(int rgb); + public TQColor(String name) { + newTQColor(name); + } + private native void newTQColor(String name); + public TQColor(TQColor arg1) { + newTQColor(arg1); + } + private native void newTQColor(TQColor arg1); + public native boolean isValid(); + public native boolean isDirty(); + public native String name(); + public native void setNamedColor(String name); + public native int rgb(); + public native void setRgb(int r, int g, int b); + public native void setRgb(int rgb); + public native void getRgb(int[] r, int[] g, int[] b); + public native void rgb(int[] r, int[] g, int[] b); + public native int red(); + public native int green(); + public native int blue(); + public native void setHsv(int h, int s, int v); + public native void getHsv(int[] h, int[] s, int[] v); + public native void hsv(int[] h, int[] s, int[] v); + public native TQColor light(int f); + public native TQColor light(); + public native TQColor dark(int f); + public native TQColor dark(); + public native boolean op_equals(TQColor c); + public native boolean op_not_equals(TQColor c); + public native int alloc(); + public native int pixel(); + public static native int maxColors(); + public static native int numBitPlanes(); + public static native int enterAllocContext(); + public static native void leaveAllocContext(); + public static native int currentAllocContext(); + public static native void destroyAllocContext(int arg1); + public static native void initialize(); + public static native void cleanup(); + public static native ArrayList colorNames(); + /** 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/qtjava/javalib/org/kde/qt/TQColorDialog.java b/qtjava/javalib/org/kde/qt/TQColorDialog.java new file mode 100644 index 00000000..e18d4ac9 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQColorDialog.java @@ -0,0 +1,24 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQColorDialog extends TQDialog { + protected TQColorDialog(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native TQColor getColor(TQColor init, TQWidget parent, String name); + public static native TQColor getColor(TQColor init, TQWidget parent); + public static native TQColor getColor(TQColor init); + public static native TQColor getColor(); + public static native int getRgba(int arg1, boolean[] ok, TQWidget parent, String name); + public static native int getRgba(int arg1, boolean[] ok, TQWidget parent); + public static native int getRgba(int arg1, boolean[] ok); + public static native int getRgba(int arg1); + public static native int customCount(); + public static native int customColor(int arg1); + public static native void setCustomColor(int arg1, int arg2); + public static native void setStandardColor(int arg1, int arg2); +} diff --git a/qtjava/javalib/org/kde/qt/TQColorDrag.java b/qtjava/javalib/org/kde/qt/TQColorDrag.java new file mode 100644 index 00000000..2e59be2b --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQColorDrag.java @@ -0,0 +1,51 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQColorDrag extends TQStoredDrag { + protected TQColorDrag(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQColorDrag(TQColor col, TQWidget dragsource, String name) { + super((Class) null); + newTQColorDrag(col,dragsource,name); + } + private native void newTQColorDrag(TQColor col, TQWidget dragsource, String name); + public TQColorDrag(TQColor col, TQWidget dragsource) { + super((Class) null); + newTQColorDrag(col,dragsource); + } + private native void newTQColorDrag(TQColor col, TQWidget dragsource); + public TQColorDrag(TQColor col) { + super((Class) null); + newTQColorDrag(col); + } + private native void newTQColorDrag(TQColor col); + public TQColorDrag(TQWidget dragSource, String name) { + super((Class) null); + newTQColorDrag(dragSource,name); + } + private native void newTQColorDrag(TQWidget dragSource, String name); + public TQColorDrag(TQWidget dragSource) { + super((Class) null); + newTQColorDrag(dragSource); + } + private native void newTQColorDrag(TQWidget dragSource); + public TQColorDrag() { + super((Class) null); + newTQColorDrag(); + } + private native void newTQColorDrag(); + public native void setColor(TQColor col); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native boolean canDecode(TQMimeSourceInterface arg1); + public static native boolean decode(TQMimeSourceInterface arg1, 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/qtjava/javalib/org/kde/qt/TQColorGroup.java b/qtjava/javalib/org/kde/qt/TQColorGroup.java new file mode 100644 index 00000000..47257fc6 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQColorGroup.java @@ -0,0 +1,73 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQColorGroup implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQColorGroup(Class dummy){} + + public static final int Foreground = 0; + public static final int Button = 1; + public static final int Light = 2; + public static final int Midlight = 3; + public static final int Dark = 4; + public static final int Mid = 5; + public static final int Text = 6; + public static final int BrightText = 7; + public static final int ButtonText = 8; + public static final int Base = 9; + public static final int Background = 10; + public static final int Shadow = 11; + public static final int Highlight = 12; + public static final int HighlightedText = 13; + public static final int Link = 14; + public static final int LinkVisited = 15; + public static final int NColorRoles = 16; + + public TQColorGroup() { + newTQColorGroup(); + } + private native void newTQColorGroup(); + public TQColorGroup(TQColor foreground, TQColor button, TQColor light, TQColor dark, TQColor mid, TQColor text, TQColor base) { + newTQColorGroup(foreground,button,light,dark,mid,text,base); + } + private native void newTQColorGroup(TQColor foreground, TQColor button, TQColor light, TQColor dark, TQColor mid, TQColor text, TQColor base); + public TQColorGroup(TQBrush foreground, TQBrush button, TQBrush light, TQBrush dark, TQBrush mid, TQBrush text, TQBrush bright_text, TQBrush base, TQBrush background) { + newTQColorGroup(foreground,button,light,dark,mid,text,bright_text,base,background); + } + private native void newTQColorGroup(TQBrush foreground, TQBrush button, TQBrush light, TQBrush dark, TQBrush mid, TQBrush text, TQBrush bright_text, TQBrush base, TQBrush background); + public TQColorGroup(TQColorGroup arg1) { + newTQColorGroup(arg1); + } + private native void newTQColorGroup(TQColorGroup arg1); + public native TQColor color(int arg1); + public native TQBrush brush(int arg1); + public native void setColor(int arg1, TQColor arg2); + public native void setBrush(int arg1, TQBrush arg2); + public native TQColor foreground(); + public native TQColor button(); + public native TQColor light(); + public native TQColor dark(); + public native TQColor mid(); + public native TQColor text(); + public native TQColor base(); + public native TQColor background(); + public native TQColor midlight(); + public native TQColor brightText(); + public native TQColor buttonText(); + public native TQColor shadow(); + public native TQColor highlight(); + public native TQColor highlightedText(); + public native TQColor link(); + public native TQColor linkVisited(); + public native boolean op_equals(TQColorGroup g); + public native boolean op_not_equals(TQColorGroup g); + /** 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/qtjava/javalib/org/kde/qt/TQComboBox.java b/qtjava/javalib/org/kde/qt/TQComboBox.java new file mode 100644 index 00000000..8055993d --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQComboBox.java @@ -0,0 +1,123 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQComboBoxSignals} for signals emitted by TQComboBox +*/ +public class TQComboBox extends TQWidget { + protected TQComboBox(Class dummy){super((Class) null);} + public static final int NoInsertion = 0; + public static final int AtTop = 1; + public static final int AtCurrent = 2; + public static final int AtBottom = 3; + public static final int AfterCurrent = 4; + public static final int BeforeCurrent = 5; + + public native TQMetaObject metaObject(); + public native String className(); + public TQComboBox(TQWidget parent, String name) { + super((Class) null); + newTQComboBox(parent,name); + } + private native void newTQComboBox(TQWidget parent, String name); + public TQComboBox(TQWidget parent) { + super((Class) null); + newTQComboBox(parent); + } + private native void newTQComboBox(TQWidget parent); + public TQComboBox() { + super((Class) null); + newTQComboBox(); + } + private native void newTQComboBox(); + public TQComboBox(boolean rw, TQWidget parent, String name) { + super((Class) null); + newTQComboBox(rw,parent,name); + } + private native void newTQComboBox(boolean rw, TQWidget parent, String name); + public TQComboBox(boolean rw, TQWidget parent) { + super((Class) null); + newTQComboBox(rw,parent); + } + private native void newTQComboBox(boolean rw, TQWidget parent); + public TQComboBox(boolean rw) { + super((Class) null); + newTQComboBox(rw); + } + private native void newTQComboBox(boolean rw); + public native int count(); + public native void insertStringList(String[] arg1, int index); + public native void insertStringList(String[] arg1); + public native void insertStrList(String[] arg1, int index); + public native void insertStrList(String[] arg1); + public native void insertStrList(String[] arg1, int numStrings, int index); + public native void insertItem(String text, int index); + public native void insertItem(String text); + public native void insertItem(TQPixmap pixmap, int index); + public native void insertItem(TQPixmap pixmap); + public native void insertItem(TQPixmap pixmap, String text, int index); + public native void insertItem(TQPixmap pixmap, String text); + public native void removeItem(int index); + public native int currentItem(); + public native void setCurrentItem(int index); + public native String currentText(); + public native void setCurrentText(String arg1); + public native String text(int index); + public native TQPixmap pixmap(int index); + public native void changeItem(String text, int index); + public native void changeItem(TQPixmap pixmap, int index); + public native void changeItem(TQPixmap pixmap, String text, int index); + public native boolean autoResize(); + public native void setAutoResize(boolean arg1); + public native TQSize sizeHint(); + public native void setPalette(TQPalette arg1); + public native void setFont(TQFont arg1); + public native void setEnabled(boolean arg1); + public native void setSizeLimit(int arg1); + public native int sizeLimit(); + public native void setMaxCount(int arg1); + public native int maxCount(); + public native void setInsertionPolicy(int policy); + public native int insertionPolicy(); + public native void setValidator(TQValidator arg1); + public native TQValidator validator(); + public native void setListBox(TQListBox arg1); + public native TQListBox listBox(); + public native void setLineEdit(TQLineEdit edit); + public native TQLineEdit lineEdit(); + public native void setAutoCompletion(boolean arg1); + public native boolean autoCompletion(); + public native boolean eventFilter(TQObject object, TQEvent event); + public native void setDuplicatesEnabled(boolean enable); + public native boolean duplicatesEnabled(); + public native boolean editable(); + public native void setEditable(boolean arg1); + public native void popup(); + public native void hide(); + public native void clear(); + public native void clearValidator(); + public native void clearEdit(); + public native void setEditText(String arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void paintEvent(TQPaintEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void mousePressEvent(TQMouseEvent arg1); + protected native void mouseMoveEvent(TQMouseEvent arg1); + protected native void mouseReleaseEvent(TQMouseEvent arg1); + protected native void mouseDoubleClickEvent(TQMouseEvent arg1); + protected native void keyPressEvent(TQKeyEvent e); + protected native void focusInEvent(TQFocusEvent e); + protected native void focusOutEvent(TQFocusEvent e); + protected native void wheelEvent(TQWheelEvent e); + public native void styleChange(TQStyle arg1); + protected native void updateMask(); + /** 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/qtjava/javalib/org/kde/qt/TQComboBoxSignals.java b/qtjava/javalib/org/kde/qt/TQComboBoxSignals.java new file mode 100644 index 00000000..d0e8663f --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQComboBoxSignals.java @@ -0,0 +1,11 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQComboBoxSignals { + void activated(int index); + void highlighted(int index); + void activated(String arg1); + void highlighted(String arg1); + void textChanged(String arg1); +} diff --git a/qtjava/javalib/org/kde/qt/TQComboTableItem.java b/qtjava/javalib/org/kde/qt/TQComboTableItem.java new file mode 100644 index 00000000..393d4323 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQComboTableItem.java @@ -0,0 +1,38 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQComboTableItem extends TQTableItem { + protected TQComboTableItem(Class dummy){super((Class) null);} + public TQComboTableItem(TQTable table, String[] list, boolean editable) { + super((Class) null); + newTQComboTableItem(table,list,editable); + } + private native void newTQComboTableItem(TQTable table, String[] list, boolean editable); + public TQComboTableItem(TQTable table, String[] list) { + super((Class) null); + newTQComboTableItem(table,list); + } + private native void newTQComboTableItem(TQTable table, String[] list); + public native TQWidget createEditor(); + public native void setContentFromEditor(TQWidget w); + public native void paint(TQPainter p, TQColorGroup cg, TQRect cr, boolean selected); + public native void setCurrentItem(int i); + public native void setCurrentItem(String i); + public native int currentItem(); + public native String currentText(); + public native int count(); + public native String text(int i); + public native void setEditable(boolean b); + public native boolean isEditable(); + public native void setStringList(String[] l); + public native int rtti(); + public native TQSize sizeHint(); + /** 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/qtjava/javalib/org/kde/qt/TQContextMenuEvent.java b/qtjava/javalib/org/kde/qt/TQContextMenuEvent.java new file mode 100644 index 00000000..27dbce0f --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQContextMenuEvent.java @@ -0,0 +1,41 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQContextMenuEvent extends TQEvent { + protected TQContextMenuEvent(Class dummy){super((Class) null);} + public static final int Mouse = 0; + public static final int Keyboard = 1; + public static final int Other = 2; + + public TQContextMenuEvent(int reason, TQPoint pos, TQPoint globalPos, int state) { + super((Class) null); + newTQContextMenuEvent(reason,pos,globalPos,state); + } + private native void newTQContextMenuEvent(int reason, TQPoint pos, TQPoint globalPos, int state); + public TQContextMenuEvent(int reason, TQPoint pos, int state) { + super((Class) null); + newTQContextMenuEvent(reason,pos,state); + } + private native void newTQContextMenuEvent(int reason, TQPoint pos, int state); + public native int x(); + public native int y(); + public native int globalX(); + public native int globalY(); + public native TQPoint pos(); + public native TQPoint globalPos(); + public native int state(); + public native boolean isAccepted(); + public native boolean isConsumed(); + public native void consume(); + public native void accept(); + public native void ignore(); + public native int reason(); + /** 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/qtjava/javalib/org/kde/qt/TQCursor.java b/qtjava/javalib/org/kde/qt/TQCursor.java new file mode 100644 index 00000000..02575205 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQCursor.java @@ -0,0 +1,69 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQCursor extends Qt { + protected TQCursor(Class dummy){super((Class) null);} + public TQCursor() { + super((Class) null); + newTQCursor(); + } + private native void newTQCursor(); + public TQCursor(int shape) { + super((Class) null); + newTQCursor(shape); + } + private native void newTQCursor(int shape); + public TQCursor(TQBitmap bitmap, TQBitmap mask, int hotX, int hotY) { + super((Class) null); + newTQCursor(bitmap,mask,hotX,hotY); + } + private native void newTQCursor(TQBitmap bitmap, TQBitmap mask, int hotX, int hotY); + public TQCursor(TQBitmap bitmap, TQBitmap mask, int hotX) { + super((Class) null); + newTQCursor(bitmap,mask,hotX); + } + private native void newTQCursor(TQBitmap bitmap, TQBitmap mask, int hotX); + public TQCursor(TQBitmap bitmap, TQBitmap mask) { + super((Class) null); + newTQCursor(bitmap,mask); + } + private native void newTQCursor(TQBitmap bitmap, TQBitmap mask); + public TQCursor(TQPixmap pixmap, int hotX, int hotY) { + super((Class) null); + newTQCursor(pixmap,hotX,hotY); + } + private native void newTQCursor(TQPixmap pixmap, int hotX, int hotY); + public TQCursor(TQPixmap pixmap, int hotX) { + super((Class) null); + newTQCursor(pixmap,hotX); + } + private native void newTQCursor(TQPixmap pixmap, int hotX); + public TQCursor(TQPixmap pixmap) { + super((Class) null); + newTQCursor(pixmap); + } + private native void newTQCursor(TQPixmap pixmap); + public TQCursor(TQCursor arg1) { + super((Class) null); + newTQCursor(arg1); + } + private native void newTQCursor(TQCursor arg1); + public native int shape(); + public native void setShape(int arg1); + public native TQBitmap bitmap(); + public native TQBitmap mask(); + public native TQPoint hotSpot(); + public static native TQPoint pos(); + public static native void setPos(int x, int y); + public static native void setPos(TQPoint arg1); + public static native void initialize(); + public static native void cleanup(); + /** 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/qtjava/javalib/org/kde/qt/TQCustomEvent.java b/qtjava/javalib/org/kde/qt/TQCustomEvent.java new file mode 100644 index 00000000..76e8a743 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQCustomEvent.java @@ -0,0 +1,22 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQCustomEvent extends TQEvent { + protected TQCustomEvent(Class dummy){super((Class) null);} + public TQCustomEvent(int type) { + super((Class) null); + newTQCustomEvent(type); + } + private native void newTQCustomEvent(int type); + // TQCustomEvent* TQCustomEvent(TQEvent::Type arg1,void* arg2); >>>> NOT CONVERTED + // void* data(); >>>> NOT CONVERTED + // void setData(void* arg1); >>>> 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/qtjava/javalib/org/kde/qt/TQCustomMenuItem.java b/qtjava/javalib/org/kde/qt/TQCustomMenuItem.java new file mode 100644 index 00000000..4a792f1b --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQCustomMenuItem.java @@ -0,0 +1,13 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQCustomMenuItem extends Qt { + protected TQCustomMenuItem(Class dummy){super((Class) null);} + public native boolean fullSpan(); + public native boolean isSeparator(); + public native void setFont(TQFont font); + public native void paint(TQPainter p, TQColorGroup cg, boolean act, boolean enabled, int x, int y, int w, int h); + public native TQSize sizeHint(); +} diff --git a/qtjava/javalib/org/kde/qt/TQDataBrowser.java b/qtjava/javalib/org/kde/qt/TQDataBrowser.java new file mode 100644 index 00000000..2aac2525 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDataBrowser.java @@ -0,0 +1,97 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +/** + See {@link TQDataBrowserSignals} for signals emitted by TQDataBrowser +*/ +public class TQDataBrowser extends TQWidget { + protected TQDataBrowser(Class dummy){super((Class) null);} + public static final int Unknown = 0; + public static final int None = 1; + public static final int BeforeBeginning = 2; + public static final int Beginning = 3; + public static final int End = 4; + public static final int AfterEnd = 5; + + public native TQMetaObject metaObject(); + public native String className(); + public TQDataBrowser(TQWidget parent, String name, int fl) { + super((Class) null); + newTQDataBrowser(parent,name,fl); + } + private native void newTQDataBrowser(TQWidget parent, String name, int fl); + public TQDataBrowser(TQWidget parent, String name) { + super((Class) null); + newTQDataBrowser(parent,name); + } + private native void newTQDataBrowser(TQWidget parent, String name); + public TQDataBrowser(TQWidget parent) { + super((Class) null); + newTQDataBrowser(parent); + } + private native void newTQDataBrowser(TQWidget parent); + public TQDataBrowser() { + super((Class) null); + newTQDataBrowser(); + } + private native void newTQDataBrowser(); + public native int boundary(); + public native void setBoundaryChecking(boolean active); + public native boolean boundaryChecking(); + public native void setSort(TQSqlIndex sort); + public native void setSort(String[] sort); + public native ArrayList sort(); + public native void setFilter(String filter); + public native String filter(); + public native void setSqlCursor(TQSqlCursor cursor, boolean autoDelete); + public native void setSqlCursor(TQSqlCursor cursor); + public native TQSqlCursor sqlCursor(); + public native void setForm(TQSqlForm form); + public native TQSqlForm form(); + public native void setConfirmEdits(boolean confirm); + public native void setConfirmInsert(boolean confirm); + public native void setConfirmUpdate(boolean confirm); + public native void setConfirmDelete(boolean confirm); + public native void setConfirmCancels(boolean confirm); + public native boolean confirmEdits(); + public native boolean confirmInsert(); + public native boolean confirmUpdate(); + public native boolean confirmDelete(); + public native boolean confirmCancels(); + public native void setReadOnly(boolean active); + public native boolean isReadOnly(); + public native void setAutoEdit(boolean autoEdit); + public native boolean autoEdit(); + public native boolean seek(int i, boolean relative); + public native boolean seek(int i); + public native void refresh(); + public native void insert(); + public native void update(); + public native void del(); + public native void first(); + public native void last(); + public native void next(); + public native void prev(); + public native void readFields(); + public native void writeFields(); + public native void clearValues(); + public native void updateBoundary(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native boolean insertCurrent(); + protected native boolean updateCurrent(); + protected native boolean deleteCurrent(); + protected native boolean currentEdited(); + protected native int confirmEdit(int m); + protected native int confirmCancel(int m); + protected native void handleError(TQSqlError error); + /** 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/qtjava/javalib/org/kde/qt/TQDataBrowserSignals.java b/qtjava/javalib/org/kde/qt/TQDataBrowserSignals.java new file mode 100644 index 00000000..b22b6263 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDataBrowserSignals.java @@ -0,0 +1,19 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import java.util.ArrayList; + +public interface TQDataBrowserSignals { + void firstRecordAvailable(boolean available); + void lastRecordAvailable(boolean available); + void nextRecordAvailable(boolean available); + void prevRecordAvailable(boolean available); + void currentChanged(TQSqlRecord record); + void primeInsert(TQSqlRecord buf); + void primeUpdate(TQSqlRecord buf); + void primeDelete(TQSqlRecord buf); + void beforeInsert(TQSqlRecord buf); + void beforeUpdate(TQSqlRecord buf); + void beforeDelete(TQSqlRecord buf); + void cursorChanged(int mode); +} diff --git a/qtjava/javalib/org/kde/qt/TQDataPump.java b/qtjava/javalib/org/kde/qt/TQDataPump.java new file mode 100644 index 00000000..533a71b3 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDataPump.java @@ -0,0 +1,23 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQDataPump extends TQObject { + protected TQDataPump(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQDataPump(TQDataSource arg1, TQDataSink arg2) { + super((Class) null); + newTQDataPump(arg1,arg2); + } + private native void newTQDataPump(TQDataSource arg1, TQDataSink arg2); + public static native String tr(String arg1, String arg2); + public static native String tr(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/qtjava/javalib/org/kde/qt/TQDataSink.java b/qtjava/javalib/org/kde/qt/TQDataSink.java new file mode 100644 index 00000000..b98297b2 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDataSink.java @@ -0,0 +1,12 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQDataSink extends TQAsyncIO { + protected TQDataSink(Class dummy){super((Class) null);} + public native int readyToReceive(); + public native void receive(char[] arg1, int count); + public native void eof(); + public native void maybeReady(); +} diff --git a/qtjava/javalib/org/kde/qt/TQDataSource.java b/qtjava/javalib/org/kde/qt/TQDataSource.java new file mode 100644 index 00000000..02c74933 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDataSource.java @@ -0,0 +1,14 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQDataSource extends TQAsyncIO { + protected TQDataSource(Class dummy){super((Class) null);} + public native int readyToSend(); + public native void sendTo(TQDataSink arg1, int count); + public native void maybeReady(); + public native boolean rewindable(); + public native void enableRewind(boolean arg1); + public native void rewind(); +} diff --git a/qtjava/javalib/org/kde/qt/TQDataStream.java b/qtjava/javalib/org/kde/qt/TQDataStream.java new file mode 100644 index 00000000..e171c3e9 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDataStream.java @@ -0,0 +1,63 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQDataStream implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQDataStream(Class dummy){} + + public static final int BigEndian = 0; + public static final int LittleEndian = 1; + + public TQDataStream() { + newTQDataStream(); + } + private native void newTQDataStream(); + public TQDataStream(TQIODeviceInterface arg1) { + newTQDataStream(arg1); + } + private native void newTQDataStream(TQIODeviceInterface arg1); + public TQDataStream(byte[] arg1, int mode) { + newTQDataStream(arg1,mode); + } + private native void newTQDataStream(byte[] arg1, int mode); + public native TQIODeviceInterface device(); + public native void setDevice(TQIODeviceInterface arg1); + public native void unsetDevice(); + public native boolean atEnd(); + public native boolean eof(); + public native int byteOrder(); + public native void setByteOrder(int arg1); + public native boolean isPrintableData(); + public native void setPrintableData(boolean arg1); + public native int version(); + public native void setVersion(int arg1); + public native TQDataStream op_read(char i); + public native TQDataStream op_read(short i); + public native TQDataStream op_read(int i); + // TQDataStream& op_read(Q_INT64& arg1); >>>> NOT CONVERTED + // TQDataStream& op_read(Q_UINT64& arg1); >>>> NOT CONVERTED + public native TQDataStream op_read(long i); + public native TQDataStream op_read(float f); + public native TQDataStream op_read(double f); + public native TQDataStream op_read(String str); + public native TQDataStream op_write(char i); + public native TQDataStream op_write(short i); + public native TQDataStream op_write(int i); + public native TQDataStream op_write(long i); + public native TQDataStream op_write(float f); + public native TQDataStream op_write(double f); + public native TQDataStream op_write(String str); + public native TQDataStream readBytes(String arg1, int len); + public native TQDataStream readRawBytes(String arg1, int len); + public native TQDataStream writeBytes(String arg1, int len); + public native TQDataStream writeRawBytes(String arg1, int len); + /** 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/qtjava/javalib/org/kde/qt/TQDataTable.java b/qtjava/javalib/org/kde/qt/TQDataTable.java new file mode 100644 index 00000000..70e90726 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDataTable.java @@ -0,0 +1,159 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +/** + See {@link TQDataTableSignals} for signals emitted by TQDataTable +*/ +public class TQDataTable extends TQTable { + protected TQDataTable(Class dummy){super((Class) null);} + public static final int RefreshData = 1; + public static final int RefreshColumns = 2; + public static final int RefreshAll = 3; + + public native TQMetaObject metaObject(); + public native String className(); + public TQDataTable(TQWidget parent, String name) { + super((Class) null); + newTQDataTable(parent,name); + } + private native void newTQDataTable(TQWidget parent, String name); + public TQDataTable(TQWidget parent) { + super((Class) null); + newTQDataTable(parent); + } + private native void newTQDataTable(TQWidget parent); + public TQDataTable() { + super((Class) null); + newTQDataTable(); + } + private native void newTQDataTable(); + public TQDataTable(TQSqlCursor cursor, boolean autoPopulate, TQWidget parent, String name) { + super((Class) null); + newTQDataTable(cursor,autoPopulate,parent,name); + } + private native void newTQDataTable(TQSqlCursor cursor, boolean autoPopulate, TQWidget parent, String name); + public TQDataTable(TQSqlCursor cursor, boolean autoPopulate, TQWidget parent) { + super((Class) null); + newTQDataTable(cursor,autoPopulate,parent); + } + private native void newTQDataTable(TQSqlCursor cursor, boolean autoPopulate, TQWidget parent); + public TQDataTable(TQSqlCursor cursor, boolean autoPopulate) { + super((Class) null); + newTQDataTable(cursor,autoPopulate); + } + private native void newTQDataTable(TQSqlCursor cursor, boolean autoPopulate); + public TQDataTable(TQSqlCursor cursor) { + super((Class) null); + newTQDataTable(cursor); + } + private native void newTQDataTable(TQSqlCursor cursor); + public native void addColumn(String fieldName, String label, int width, TQIconSet iconset); + public native void addColumn(String fieldName, String label, int width); + public native void addColumn(String fieldName, String label); + public native void addColumn(String fieldName); + public native void removeColumn(int col); + public native void setColumn(int col, String fieldName, String label, int width, TQIconSet iconset); + public native void setColumn(int col, String fieldName, String label, int width); + public native void setColumn(int col, String fieldName, String label); + public native void setColumn(int col, String fieldName); + public native String nullText(); + public native String trueText(); + public native String falseText(); + public native int dateFormat(); + public native boolean confirmEdits(); + public native boolean confirmInsert(); + public native boolean confirmUpdate(); + public native boolean confirmDelete(); + public native boolean confirmCancels(); + public native boolean autoDelete(); + public native boolean autoEdit(); + public native String filter(); + public native ArrayList sort(); + public native void setSqlCursor(TQSqlCursor cursor, boolean autoPopulate, boolean autoDelete); + public native void setSqlCursor(TQSqlCursor cursor, boolean autoPopulate); + public native void setSqlCursor(TQSqlCursor cursor); + public native void setSqlCursor(); + public native TQSqlCursor sqlCursor(); + public native void setNullText(String nullText); + public native void setTrueText(String trueText); + public native void setFalseText(String falseText); + public native void setDateFormat(int f); + public native void setConfirmEdits(boolean confirm); + public native void setConfirmInsert(boolean confirm); + public native void setConfirmUpdate(boolean confirm); + public native void setConfirmDelete(boolean confirm); + public native void setConfirmCancels(boolean confirm); + public native void setAutoDelete(boolean enable); + public native void setAutoEdit(boolean autoEdit); + public native void setFilter(String filter); + public native void setSort(String[] sort); + public native void setSort(TQSqlIndex sort); + public native void refresh(int mode); + public native void sortColumn(int col, boolean ascending, boolean wholeRows); + public native void sortColumn(int col, boolean ascending); + public native void sortColumn(int col); + public native String text(int row, int col); + public native TQVariant value(int row, int col); + public native TQSqlRecord currentRecord(); + public native void installEditorFactory(TQSqlEditorFactory f); + public native void installPropertyMap(TQSqlPropertyMap m); + public native int numCols(); + public native int numRows(); + public native void setNumCols(int c); + public native void setNumRows(int r); + public native boolean findBuffer(TQSqlIndex idx, int atHint); + public native boolean findBuffer(TQSqlIndex idx); + public native void hideColumn(int col); + public native void showColumn(int col); + public native void find(String str, boolean caseSensitive, boolean backwards); + public native void sortAscending(int col); + public native void sortDescending(int col); + public native void refresh(); + public native void setColumnWidth(int col, int w); + public native void adjustColumn(int col); + public native void setColumnStretchable(int col, boolean stretch); + public native void swapColumns(int col1, int col2, boolean swapHeaders); + public native void swapColumns(int col1, int col2); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native boolean insertCurrent(); + protected native boolean updateCurrent(); + protected native boolean deleteCurrent(); + protected native int confirmEdit(int m); + protected native int confirmCancel(int m); + protected native void handleError(TQSqlError e); + protected native boolean beginInsert(); + protected native TQWidget beginUpdate(int row, int col, boolean replace); + public native boolean eventFilter(TQObject o, TQEvent e); + protected native void keyPressEvent(TQKeyEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void contentsMousePressEvent(TQMouseEvent e); + protected native void contentsContextMenuEvent(TQContextMenuEvent e); + protected native void endEdit(int row, int col, boolean accept, boolean replace); + protected native TQWidget createEditor(int row, int col, boolean initFromCell); + protected native void activateNextCell(); + protected native int indexOf(int i); + protected native void reset(); + protected native void setSize(TQSqlCursor sql); + protected native void repaintCell(int row, int col); + public native void paintCell(TQPainter p, int row, int col, TQRect cr, boolean selected, TQColorGroup cg); + protected native void paintField(TQPainter p, TQSqlField field, TQRect cr, boolean selected); + protected native void drawContents(TQPainter p, int cx, int cy, int cw, int ch); + protected native int fieldAlignment(TQSqlField field); + protected native void columnClicked(int col); + protected native void resizeData(int len); + public native TQTableItem item(int row, int col); + public native void setItem(int row, int col, TQTableItem item); + public native void clearCell(int row, int col); + public native void setPixmap(int row, int col, TQPixmap pix); + public native void takeItem(TQTableItem i); + /** 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/qtjava/javalib/org/kde/qt/TQDataTableSignals.java b/qtjava/javalib/org/kde/qt/TQDataTableSignals.java new file mode 100644 index 00000000..82747661 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDataTableSignals.java @@ -0,0 +1,15 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import java.util.ArrayList; + +public interface TQDataTableSignals { + void currentChanged(TQSqlRecord record); + void primeInsert(TQSqlRecord buf); + void primeUpdate(TQSqlRecord buf); + void primeDelete(TQSqlRecord buf); + void beforeInsert(TQSqlRecord buf); + void beforeUpdate(TQSqlRecord buf); + void beforeDelete(TQSqlRecord buf); + void cursorChanged(int mode); +} diff --git a/qtjava/javalib/org/kde/qt/TQDataView.java b/qtjava/javalib/org/kde/qt/TQDataView.java new file mode 100644 index 00000000..39b1e200 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDataView.java @@ -0,0 +1,46 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQDataView extends TQWidget { + protected TQDataView(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQDataView(TQWidget parent, String name, int fl) { + super((Class) null); + newTQDataView(parent,name,fl); + } + private native void newTQDataView(TQWidget parent, String name, int fl); + public TQDataView(TQWidget parent, String name) { + super((Class) null); + newTQDataView(parent,name); + } + private native void newTQDataView(TQWidget parent, String name); + public TQDataView(TQWidget parent) { + super((Class) null); + newTQDataView(parent); + } + private native void newTQDataView(TQWidget parent); + public TQDataView() { + super((Class) null); + newTQDataView(); + } + private native void newTQDataView(); + public native void setForm(TQSqlForm form); + public native TQSqlForm form(); + public native void setRecord(TQSqlRecord record); + public native TQSqlRecord record(); + public native void refresh(TQSqlRecord buf); + public native void readFields(); + public native void writeFields(); + public native void clearValues(); + public static native String tr(String arg1, String arg2); + public static native String tr(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/qtjava/javalib/org/kde/qt/TQDateEdit.java b/qtjava/javalib/org/kde/qt/TQDateEdit.java new file mode 100644 index 00000000..7847fdf6 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDateEdit.java @@ -0,0 +1,88 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.Calendar; + +/** + See {@link TQDateEditSignals} for signals emitted by TQDateEdit +*/ +public class TQDateEdit extends TQDateTimeEditBase { + protected TQDateEdit(Class dummy){super((Class) null);} + public static final int DMY = 0; + public static final int MDY = 1; + public static final int YMD = 2; + public static final int YDM = 3; + + public native TQMetaObject metaObject(); + public native String className(); + public TQDateEdit(TQWidget parent, String name) { + super((Class) null); + newTQDateEdit(parent,name); + } + private native void newTQDateEdit(TQWidget parent, String name); + public TQDateEdit(TQWidget parent) { + super((Class) null); + newTQDateEdit(parent); + } + private native void newTQDateEdit(TQWidget parent); + public TQDateEdit() { + super((Class) null); + newTQDateEdit(); + } + private native void newTQDateEdit(); + public TQDateEdit(Calendar date, TQWidget parent, String name) { + super((Class) null); + newTQDateEdit(date,parent,name); + } + private native void newTQDateEdit(Calendar date, TQWidget parent, String name); + public TQDateEdit(Calendar date, TQWidget parent) { + super((Class) null); + newTQDateEdit(date,parent); + } + private native void newTQDateEdit(Calendar date, TQWidget parent); + public TQDateEdit(Calendar date) { + super((Class) null); + newTQDateEdit(date); + } + private native void newTQDateEdit(Calendar date); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + public native Calendar date(); + public native void setOrder(int order); + public native int order(); + public native void setAutoAdvance(boolean advance); + public native boolean autoAdvance(); + public native void setMinValue(Calendar d); + public native Calendar minValue(); + public native void setMaxValue(Calendar d); + public native Calendar maxValue(); + public native void setRange(Calendar min, Calendar max); + public native String separator(); + public native void setSeparator(String s); + public native void removeFirstNumber(int sec); + public native void setDate(Calendar date); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public native boolean event(TQEvent e); + protected native void timerEvent(TQTimerEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); + public native void stepUp(); + public native void stepDown(); + public native String sectionFormattedText(int sec); + public native void addNumber(int sec, int num); + public native void removeLastNumber(int sec); + public native boolean setFocusSection(int s); + protected native void setYear(int year); + protected native void setMonth(int month); + protected native void setDay(int day); + protected native void fix(); + protected native boolean outOfRange(int y, int m, int d); + protected native void updateButtons(); + /** 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/qtjava/javalib/org/kde/qt/TQDateEditSignals.java b/qtjava/javalib/org/kde/qt/TQDateEditSignals.java new file mode 100644 index 00000000..aee437df --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDateEditSignals.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import java.util.Calendar; + +public interface TQDateEditSignals { + void valueChanged(Calendar date); +} diff --git a/qtjava/javalib/org/kde/qt/TQDateTimeEdit.java b/qtjava/javalib/org/kde/qt/TQDateTimeEdit.java new file mode 100644 index 00000000..01d88efe --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDateTimeEdit.java @@ -0,0 +1,65 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.Calendar; +import java.util.Date; + +/** + See {@link TQDateTimeEditSignals} for signals emitted by TQDateTimeEdit +*/ +public class TQDateTimeEdit extends TQWidget { + protected TQDateTimeEdit(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQDateTimeEdit(TQWidget parent, String name) { + super((Class) null); + newTQDateTimeEdit(parent,name); + } + private native void newTQDateTimeEdit(TQWidget parent, String name); + public TQDateTimeEdit(TQWidget parent) { + super((Class) null); + newTQDateTimeEdit(parent); + } + private native void newTQDateTimeEdit(TQWidget parent); + public TQDateTimeEdit() { + super((Class) null); + newTQDateTimeEdit(); + } + private native void newTQDateTimeEdit(); + public TQDateTimeEdit(Calendar datetime, TQWidget parent, String name) { + super((Class) null); + newTQDateTimeEdit(datetime,parent,name); + } + private native void newTQDateTimeEdit(Calendar datetime, TQWidget parent, String name); + public TQDateTimeEdit(Calendar datetime, TQWidget parent) { + super((Class) null); + newTQDateTimeEdit(datetime,parent); + } + private native void newTQDateTimeEdit(Calendar datetime, TQWidget parent); + public TQDateTimeEdit(Calendar datetime) { + super((Class) null); + newTQDateTimeEdit(datetime); + } + private native void newTQDateTimeEdit(Calendar datetime); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + public native Calendar dateTime(); + public native TQDateEdit dateEdit(); + public native TQTimeEdit timeEdit(); + public native void setAutoAdvance(boolean advance); + public native boolean autoAdvance(); + public native void setDateTime(Calendar dt); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void init(); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void newValue(Calendar d); + protected native void newValue(Date t); + /** 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/qtjava/javalib/org/kde/qt/TQDateTimeEditBase.java b/qtjava/javalib/org/kde/qt/TQDateTimeEditBase.java new file mode 100644 index 00000000..7b43775e --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDateTimeEditBase.java @@ -0,0 +1,18 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQDateTimeEditBase extends TQWidget { + protected TQDateTimeEditBase(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public native boolean setFocusSection(int sec); + public native String sectionFormattedText(int sec); + public native void addNumber(int sec, int num); + public native void removeLastNumber(int sec); + public native void stepUp(); + public native void stepDown(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); +} diff --git a/qtjava/javalib/org/kde/qt/TQDateTimeEditSignals.java b/qtjava/javalib/org/kde/qt/TQDateTimeEditSignals.java new file mode 100644 index 00000000..214856ec --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDateTimeEditSignals.java @@ -0,0 +1,9 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import java.util.Calendar; +import java.util.Date; + +public interface TQDateTimeEditSignals { + void valueChanged(Calendar datetime); +} diff --git a/qtjava/javalib/org/kde/qt/TQDesktopWidget.java b/qtjava/javalib/org/kde/qt/TQDesktopWidget.java new file mode 100644 index 00000000..a075b96d --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDesktopWidget.java @@ -0,0 +1,44 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQDesktopWidgetSignals} for signals emitted by TQDesktopWidget +*/ +public class TQDesktopWidget extends TQWidget { + protected TQDesktopWidget(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQDesktopWidget() { + super((Class) null); + newTQDesktopWidget(); + } + private native void newTQDesktopWidget(); + public native boolean isVirtualDesktop(); + public native int numScreens(); + public native int primaryScreen(); + public native int screenNumber(TQWidget widget); + public native int screenNumber(); + public native int screenNumber(TQPoint arg1); + public native TQWidget screen(int screen); + public native TQWidget screen(); + public native TQRect screenGeometry(int screen); + public native TQRect screenGeometry(); + public native TQRect screenGeometry(TQWidget widget); + public native TQRect screenGeometry(TQPoint point); + public native TQRect availableGeometry(int screen); + public native TQRect availableGeometry(); + public native TQRect availableGeometry(TQWidget widget); + public native TQRect availableGeometry(TQPoint point); + public native void insertChild(TQObject arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void resizeEvent(TQResizeEvent 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/qtjava/javalib/org/kde/qt/TQDesktopWidgetSignals.java b/qtjava/javalib/org/kde/qt/TQDesktopWidgetSignals.java new file mode 100644 index 00000000..76870509 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDesktopWidgetSignals.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQDesktopWidgetSignals { + void resized(int arg1); + void workAreaResized(int arg1); +} diff --git a/qtjava/javalib/org/kde/qt/TQDial.java b/qtjava/javalib/org/kde/qt/TQDial.java new file mode 100644 index 00000000..04695963 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDial.java @@ -0,0 +1,102 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQDialSignals} for signals emitted by TQDial +*/ +public class TQDial extends TQWidget implements TQRangeControlInterface { + protected TQDial(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQDial(TQWidget parent, String name, int f) { + super((Class) null); + newTQDial(parent,name,f); + } + private native void newTQDial(TQWidget parent, String name, int f); + public TQDial(TQWidget parent, String name) { + super((Class) null); + newTQDial(parent,name); + } + private native void newTQDial(TQWidget parent, String name); + public TQDial(TQWidget parent) { + super((Class) null); + newTQDial(parent); + } + private native void newTQDial(TQWidget parent); + public TQDial() { + super((Class) null); + newTQDial(); + } + private native void newTQDial(); + public TQDial(int minValue, int maxValue, int pageStep, int value, TQWidget parent, String name) { + super((Class) null); + newTQDial(minValue,maxValue,pageStep,value,parent,name); + } + private native void newTQDial(int minValue, int maxValue, int pageStep, int value, TQWidget parent, String name); + public TQDial(int minValue, int maxValue, int pageStep, int value, TQWidget parent) { + super((Class) null); + newTQDial(minValue,maxValue,pageStep,value,parent); + } + private native void newTQDial(int minValue, int maxValue, int pageStep, int value, TQWidget parent); + public TQDial(int minValue, int maxValue, int pageStep, int value) { + super((Class) null); + newTQDial(minValue,maxValue,pageStep,value); + } + private native void newTQDial(int minValue, int maxValue, int pageStep, int value); + public native boolean tracking(); + public native boolean wrapping(); + public native int notchSize(); + public native void setNotchTarget(double arg1); + public native double notchTarget(); + public native boolean notchesVisible(); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + public native int minValue(); + public native int maxValue(); + public native void setMinValue(int arg1); + public native void setMaxValue(int arg1); + public native int lineStep(); + public native int pageStep(); + public native void setLineStep(int arg1); + public native void setPageStep(int arg1); + public native int value(); + public native void setValue(int arg1); + public native void addLine(); + public native void subtractLine(); + public native void addPage(); + public native void subtractPage(); + public native void setNotchesVisible(boolean b); + public native void setWrapping(boolean on); + public native void setTracking(boolean enable); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void paintEvent(TQPaintEvent arg1); + protected native void keyPressEvent(TQKeyEvent arg1); + protected native void mousePressEvent(TQMouseEvent arg1); + protected native void mouseReleaseEvent(TQMouseEvent arg1); + protected native void mouseMoveEvent(TQMouseEvent arg1); + protected native void wheelEvent(TQWheelEvent arg1); + protected native void focusInEvent(TQFocusEvent arg1); + protected native void focusOutEvent(TQFocusEvent arg1); + protected native void valueChange(); + protected native void rangeChange(); + protected native void repaintScreen(TQRect cr); + protected native void repaintScreen(); + /** 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(); + public native void setRange(int minValue, int maxValue); + public native void setSteps(int line, int page); + public native int bound(int arg1); + protected native int positionFromValue(int val, int space); + protected native int valueFromPosition(int pos, int space); + protected native void directSetValue(int val); + protected native int prevValue(); + protected native void stepChange(); +} diff --git a/qtjava/javalib/org/kde/qt/TQDialSignals.java b/qtjava/javalib/org/kde/qt/TQDialSignals.java new file mode 100644 index 00000000..ef1a444b --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDialSignals.java @@ -0,0 +1,10 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQDialSignals { + void valueChanged(int value); + void dialPressed(); + void dialMoved(int value); + void dialReleased(); +} diff --git a/qtjava/javalib/org/kde/qt/TQDialog.java b/qtjava/javalib/org/kde/qt/TQDialog.java new file mode 100644 index 00000000..8c178929 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDialog.java @@ -0,0 +1,77 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQDialog extends TQWidget { + protected TQDialog(Class dummy){super((Class) null);} + public static final int Rejected = 0; + public static final int Accepted = 1; + + public native TQMetaObject metaObject(); + public native String className(); + public TQDialog(TQWidget parent, String name, boolean modal, int f) { + super((Class) null); + newTQDialog(parent,name,modal,f); + } + private native void newTQDialog(TQWidget parent, String name, boolean modal, int f); + public TQDialog(TQWidget parent, String name, boolean modal) { + super((Class) null); + newTQDialog(parent,name,modal); + } + private native void newTQDialog(TQWidget parent, String name, boolean modal); + public TQDialog(TQWidget parent, String name) { + super((Class) null); + newTQDialog(parent,name); + } + private native void newTQDialog(TQWidget parent, String name); + public TQDialog(TQWidget parent) { + super((Class) null); + newTQDialog(parent); + } + private native void newTQDialog(TQWidget parent); + public TQDialog() { + super((Class) null); + newTQDialog(); + } + private native void newTQDialog(); + public native int result(); + public native void show(); + public native void hide(); + public native void move(int x, int y); + public native void move(TQPoint p); + public native void resize(int w, int h); + public native void resize(TQSize arg1); + public native void setGeometry(int x, int y, int w, int h); + public native void setGeometry(TQRect arg1); + public native void setOrientation(int orientation); + public native int orientation(); + public native void setExtension(TQWidget extension); + public native TQWidget extension(); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + public native void setSizeGripEnabled(boolean arg1); + public native boolean isSizeGripEnabled(); + public native void setModal(boolean modal); + public native boolean isModal(); + public native int exec(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void setResult(int r); + protected native void keyPressEvent(TQKeyEvent arg1); + protected native void closeEvent(TQCloseEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void contextMenuEvent(TQContextMenuEvent arg1); + public native boolean eventFilter(TQObject arg1, TQEvent arg2); + protected native void adjustPosition(TQWidget arg1); + protected native void done(int arg1); + protected native void accept(); + protected native void reject(); + protected native void showExtension(boolean 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/qtjava/javalib/org/kde/qt/TQDir.java b/qtjava/javalib/org/kde/qt/TQDir.java new file mode 100644 index 00000000..120cc240 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDir.java @@ -0,0 +1,141 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +public class TQDir implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQDir(Class dummy){} + + public static final int Dirs = 0x001; + public static final int Files = 0x002; + public static final int Drives = 0x004; + public static final int NoSymLinks = 0x008; + public static final int All = 0x007; + public static final int TypeMask = 0x00F; + public static final int Readable = 0x010; + public static final int Writable = 0x020; + public static final int Executable = 0x040; + public static final int RWEMask = 0x070; + public static final int Modified = 0x080; + public static final int Hidden = 0x100; + public static final int System = 0x200; + public static final int AccessMask = 0x3F0; + public static final int DefaultFilter = -1; + + public static final int Name = 0x00; + public static final int Time = 0x01; + public static final int Size = 0x02; + public static final int Unsorted = 0x03; + public static final int SortByMask = 0x03; + public static final int DirsFirst = 0x04; + public static final int Reversed = 0x08; + public static final int IgnoreCase = 0x10; + public static final int LocaleAware = 0x20; + public static final int DefaultSort = -1; + + public TQDir() { + newTQDir(); + } + private native void newTQDir(); + public TQDir(String path, String nameFilter, int sortSpec, int filterSpec) { + newTQDir(path,nameFilter,sortSpec,filterSpec); + } + private native void newTQDir(String path, String nameFilter, int sortSpec, int filterSpec); + public TQDir(String path, String nameFilter, int sortSpec) { + newTQDir(path,nameFilter,sortSpec); + } + private native void newTQDir(String path, String nameFilter, int sortSpec); + public TQDir(String path, String nameFilter) { + newTQDir(path,nameFilter); + } + private native void newTQDir(String path, String nameFilter); + public TQDir(String path) { + newTQDir(path); + } + private native void newTQDir(String path); + public TQDir(TQDir arg1) { + newTQDir(arg1); + } + private native void newTQDir(TQDir arg1); + public native void setPath(String path); + public native String path(); + public native String absPath(); + public native String canonicalPath(); + public native String dirName(); + public native String filePath(String fileName, boolean acceptAbsPath); + public native String filePath(String fileName); + public native String absFilePath(String fileName, boolean acceptAbsPath); + public native String absFilePath(String fileName); + public native boolean cd(String dirName, boolean acceptAbsPath); + public native boolean cd(String dirName); + public native boolean cdUp(); + public native String nameFilter(); + public native void setNameFilter(String nameFilter); + public native int filter(); + public native void setFilter(int filterSpec); + public native int sorting(); + public native void setSorting(int sortSpec); + public native boolean matchAllDirs(); + public native void setMatchAllDirs(boolean arg1); + public native int count(); + public native String op_at(int arg1); + public native ArrayList encodedEntryList(int filterSpec, int sortSpec); + public native ArrayList encodedEntryList(int filterSpec); + public native ArrayList encodedEntryList(); + public native ArrayList encodedEntryList(String nameFilter, int filterSpec, int sortSpec); + public native ArrayList encodedEntryList(String nameFilter, int filterSpec); + public native ArrayList encodedEntryList(String nameFilter); + public native ArrayList entryList(int filterSpec, int sortSpec); + public native ArrayList entryList(int filterSpec); + public native ArrayList entryList(); + public native ArrayList entryList(String nameFilter, int filterSpec, int sortSpec); + public native ArrayList entryList(String nameFilter, int filterSpec); + public native ArrayList entryList(String nameFilter); + // const TQFileInfoList* entryInfoList(int arg1,int arg2); >>>> NOT CONVERTED + // const TQFileInfoList* entryInfoList(int arg1); >>>> NOT CONVERTED + // const TQFileInfoList* entryInfoList(); >>>> NOT CONVERTED + // const TQFileInfoList* entryInfoList(const TQString& arg1,int arg2,int arg3); >>>> NOT CONVERTED + // const TQFileInfoList* entryInfoList(const TQString& arg1,int arg2); >>>> NOT CONVERTED + // const TQFileInfoList* entryInfoList(const TQString& arg1); >>>> NOT CONVERTED + public native boolean mkdir(String dirName, boolean acceptAbsPath); + public native boolean mkdir(String dirName); + public native boolean rmdir(String dirName, boolean acceptAbsPath); + public native boolean rmdir(String dirName); + public native boolean isReadable(); + public native boolean exists(); + public native boolean isRoot(); + public native boolean isRelative(); + public native void convertToAbs(); + public native boolean op_equals(TQDir arg1); + public native boolean op_not_equals(TQDir arg1); + public native boolean remove(String fileName, boolean acceptAbsPath); + public native boolean remove(String fileName); + public native boolean rename(String name, String newName, boolean acceptAbsPaths); + public native boolean rename(String name, String newName); + public native boolean exists(String name, boolean acceptAbsPath); + public native boolean exists(String name); + public native void refresh(); + public static native String convertSeparators(String pathName); + // const TQFileInfoList* drives(); >>>> NOT CONVERTED + public static native char separator(); + public static native boolean setCurrent(String path); + public static native TQDir current(); + public static native TQDir home(); + public static native TQDir root(); + public static native String currentDirPath(); + public static native String homeDirPath(); + public static native String rootDirPath(); + public static native boolean match(String[] filters, String fileName); + public static native boolean match(String filter, String fileName); + public static native String cleanDirPath(String dirPath); + public static native boolean isRelativePath(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/qtjava/javalib/org/kde/qt/TQDockArea.java b/qtjava/javalib/org/kde/qt/TQDockArea.java new file mode 100644 index 00000000..92c80158 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDockArea.java @@ -0,0 +1,58 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQDockArea extends TQWidget { + protected TQDockArea(Class dummy){super((Class) null);} + public static final int Normal = 0; + public static final int Reverse = 1; + + public native TQMetaObject metaObject(); + public native String className(); + public TQDockArea(int o, int h, TQWidget parent, String name) { + super((Class) null); + newTQDockArea(o,h,parent,name); + } + private native void newTQDockArea(int o, int h, TQWidget parent, String name); + public TQDockArea(int o, int h, TQWidget parent) { + super((Class) null); + newTQDockArea(o,h,parent); + } + private native void newTQDockArea(int o, int h, TQWidget parent); + public TQDockArea(int o, int h) { + super((Class) null); + newTQDockArea(o,h); + } + private native void newTQDockArea(int o, int h); + public TQDockArea(int o) { + super((Class) null); + newTQDockArea(o); + } + private native void newTQDockArea(int o); + public native void moveDockWindow(TQDockWindow w, TQPoint globalPos, TQRect rect, boolean swap); + public native void removeDockWindow(TQDockWindow w, boolean makeFloating, boolean swap, boolean fixNewLines); + public native void removeDockWindow(TQDockWindow w, boolean makeFloating, boolean swap); + public native void moveDockWindow(TQDockWindow w, int index); + public native void moveDockWindow(TQDockWindow w); + public native boolean hasDockWindow(TQDockWindow w, int[] index); + public native boolean hasDockWindow(TQDockWindow w); + public native void invalidNextOffset(TQDockWindow dw); + public native int orientation(); + public native int handlePosition(); + public native boolean eventFilter(TQObject arg1, TQEvent arg2); + public native boolean isEmpty(); + public native int count(); + // TQPtrList dockWindowList(); >>>> NOT CONVERTED + public native boolean isDockWindowAccepted(TQDockWindow dw); + public native void setAcceptDockWindow(TQDockWindow dw, boolean accept); + public native void lineUp(boolean keepNewLines); + public static native String tr(String arg1, String arg2); + public static native String tr(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/qtjava/javalib/org/kde/qt/TQDockWindow.java b/qtjava/javalib/org/kde/qt/TQDockWindow.java new file mode 100644 index 00000000..ae876210 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDockWindow.java @@ -0,0 +1,116 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQDockWindowSignals} for signals emitted by TQDockWindow +*/ +public class TQDockWindow extends TQFrame { + protected TQDockWindow(Class dummy){super((Class) null);} + public static final int InDock = 0; + public static final int OutsideDock = 1; + + public static final int Never = 0; + public static final int Docked = 1; + public static final int Undocked = 2; + public static final int Always = Docked|Undocked; + + public native TQMetaObject metaObject(); + public native String className(); + public TQDockWindow(int p, TQWidget parent, String name, int f) { + super((Class) null); + newTQDockWindow(p,parent,name,f); + } + private native void newTQDockWindow(int p, TQWidget parent, String name, int f); + public TQDockWindow(int p, TQWidget parent, String name) { + super((Class) null); + newTQDockWindow(p,parent,name); + } + private native void newTQDockWindow(int p, TQWidget parent, String name); + public TQDockWindow(int p, TQWidget parent) { + super((Class) null); + newTQDockWindow(p,parent); + } + private native void newTQDockWindow(int p, TQWidget parent); + public TQDockWindow(int p) { + super((Class) null); + newTQDockWindow(p); + } + private native void newTQDockWindow(int p); + public TQDockWindow() { + super((Class) null); + newTQDockWindow(); + } + private native void newTQDockWindow(); + public TQDockWindow(TQWidget parent, String name, int f) { + super((Class) null); + newTQDockWindow(parent,name,f); + } + private native void newTQDockWindow(TQWidget parent, String name, int f); + public TQDockWindow(TQWidget parent, String name) { + super((Class) null); + newTQDockWindow(parent,name); + } + private native void newTQDockWindow(TQWidget parent, String name); + public TQDockWindow(TQWidget parent) { + super((Class) null); + newTQDockWindow(parent); + } + private native void newTQDockWindow(TQWidget parent); + public native void setWidget(TQWidget w); + public native TQWidget widget(); + public native int place(); + public native TQDockArea area(); + public native void setCloseMode(int m); + public native boolean isCloseEnabled(); + public native int closeMode(); + public native void setResizeEnabled(boolean b); + public native void setMovingEnabled(boolean b); + public native boolean isResizeEnabled(); + public native boolean isMovingEnabled(); + public native void setHorizontallyStretchable(boolean b); + public native void setVerticallyStretchable(boolean b); + public native boolean isHorizontallyStretchable(); + public native boolean isVerticallyStretchable(); + public native void setHorizontalStretchable(boolean b); + public native void setVerticalStretchable(boolean b); + public native boolean isHorizontalStretchable(); + public native boolean isVerticalStretchable(); + public native boolean isStretchable(); + public native void setOffset(int o); + public native int offset(); + public native void setFixedExtentWidth(int w); + public native void setFixedExtentHeight(int h); + public native TQSize fixedExtent(); + public native void setNewLine(boolean b); + public native boolean newLine(); + public native int orientation(); + public native TQSize sizeHint(); + public native TQSize minimumSize(); + public native TQSize minimumSizeHint(); + public native TQBoxLayout boxLayout(); + public native void setOpaqueMoving(boolean b); + public native boolean opaqueMoving(); + public native boolean eventFilter(TQObject o, TQEvent e); + public native void undock(TQWidget w); + public native void undock(); + public native void dock(); + public native void setOrientation(int o); + public native void setCaption(String s); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void resizeEvent(TQResizeEvent e); + public native void showEvent(TQShowEvent e); + protected native void hideEvent(TQHideEvent e); + protected native void contextMenuEvent(TQContextMenuEvent e); + protected native void drawFrame(TQPainter arg1); + protected native void drawContents(TQPainter arg1); + public native boolean event(TQEvent 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/qtjava/javalib/org/kde/qt/TQDockWindowSignals.java b/qtjava/javalib/org/kde/qt/TQDockWindowSignals.java new file mode 100644 index 00000000..f1cdc926 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDockWindowSignals.java @@ -0,0 +1,9 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQDockWindowSignals { + void orientationChanged(int o); + void placeChanged(int p); + void visibilityChanged(boolean arg1); +} diff --git a/qtjava/javalib/org/kde/qt/TQDomAttr.java b/qtjava/javalib/org/kde/qt/TQDomAttr.java new file mode 100644 index 00000000..0e0dab9e --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDomAttr.java @@ -0,0 +1,31 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQDomAttr extends TQDomNode { + protected TQDomAttr(Class dummy){super((Class) null);} + public TQDomAttr() { + super((Class) null); + newTQDomAttr(); + } + private native void newTQDomAttr(); + public TQDomAttr(TQDomAttr x) { + super((Class) null); + newTQDomAttr(x); + } + private native void newTQDomAttr(TQDomAttr x); + public native String name(); + public native boolean specified(); + public native TQDomElement ownerElement(); + public native String value(); + public native void setValue(String arg1); + public native int nodeType(); + public native boolean isAttr(); + /** 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/qtjava/javalib/org/kde/qt/TQDomCDATASection.java b/qtjava/javalib/org/kde/qt/TQDomCDATASection.java new file mode 100644 index 00000000..7402ceba --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDomCDATASection.java @@ -0,0 +1,26 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQDomCDATASection extends TQDomText { + protected TQDomCDATASection(Class dummy){super((Class) null);} + public TQDomCDATASection() { + super((Class) null); + newTQDomCDATASection(); + } + private native void newTQDomCDATASection(); + public TQDomCDATASection(TQDomCDATASection x) { + super((Class) null); + newTQDomCDATASection(x); + } + private native void newTQDomCDATASection(TQDomCDATASection x); + public native int nodeType(); + public native boolean isCDATASection(); + /** 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/qtjava/javalib/org/kde/qt/TQDomCharacterData.java b/qtjava/javalib/org/kde/qt/TQDomCharacterData.java new file mode 100644 index 00000000..289d5c76 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDomCharacterData.java @@ -0,0 +1,34 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQDomCharacterData extends TQDomNode { + protected TQDomCharacterData(Class dummy){super((Class) null);} + public TQDomCharacterData() { + super((Class) null); + newTQDomCharacterData(); + } + private native void newTQDomCharacterData(); + public TQDomCharacterData(TQDomCharacterData x) { + super((Class) null); + newTQDomCharacterData(x); + } + private native void newTQDomCharacterData(TQDomCharacterData x); + public native String substringData(long offset, long count); + public native void appendData(String arg); + public native void insertData(long offset, String arg); + public native void deleteData(long offset, long count); + public native void replaceData(long offset, long count, String arg); + public native int length(); + public native String data(); + public native void setData(String arg1); + public native int nodeType(); + public native boolean isCharacterData(); + /** 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/qtjava/javalib/org/kde/qt/TQDomComment.java b/qtjava/javalib/org/kde/qt/TQDomComment.java new file mode 100644 index 00000000..0822dee9 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDomComment.java @@ -0,0 +1,26 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQDomComment extends TQDomCharacterData { + protected TQDomComment(Class dummy){super((Class) null);} + public TQDomComment() { + super((Class) null); + newTQDomComment(); + } + private native void newTQDomComment(); + public TQDomComment(TQDomComment x) { + super((Class) null); + newTQDomComment(x); + } + private native void newTQDomComment(TQDomComment x); + public native int nodeType(); + public native boolean isComment(); + /** 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/qtjava/javalib/org/kde/qt/TQDomDocument.java b/qtjava/javalib/org/kde/qt/TQDomDocument.java new file mode 100644 index 00000000..c687f6eb --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDomDocument.java @@ -0,0 +1,86 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +public class TQDomDocument extends TQDomNode { + protected TQDomDocument(Class dummy){super((Class) null);} + public TQDomDocument() { + super((Class) null); + newTQDomDocument(); + } + private native void newTQDomDocument(); + public TQDomDocument(String name) { + super((Class) null); + newTQDomDocument(name); + } + private native void newTQDomDocument(String name); + public TQDomDocument(TQDomDocumentType doctype) { + super((Class) null); + newTQDomDocument(doctype); + } + private native void newTQDomDocument(TQDomDocumentType doctype); + public TQDomDocument(TQDomDocument x) { + super((Class) null); + newTQDomDocument(x); + } + private native void newTQDomDocument(TQDomDocument x); + public native TQDomElement createElement(String tagName); + public native TQDomDocumentFragment createDocumentFragment(); + public native TQDomText createTextNode(String data); + public native TQDomComment createComment(String data); + public native TQDomCDATASection createCDATASection(String data); + public native TQDomProcessingInstruction createProcessingInstruction(String target, String data); + public native TQDomAttr createAttribute(String name); + public native TQDomEntityReference createEntityReference(String name); + public native ArrayList elementsByTagName(String tagname); + public native TQDomNode importNode(TQDomNode importedNode, boolean deep); + public native TQDomElement createElementNS(String nsURI, String qName); + public native TQDomAttr createAttributeNS(String nsURI, String qName); + public native ArrayList elementsByTagNameNS(String nsURI, String localName); + public native TQDomElement elementById(String elementId); + public native TQDomDocumentType doctype(); + public native TQDomImplementation implementation(); + public native TQDomElement documentElement(); + public native boolean setContent(String text, boolean namespaceProcessing, StringBuffer errorMsg, int[] errorLine, int[] errorColumn); + public native boolean setContent(String text, boolean namespaceProcessing, StringBuffer errorMsg, int[] errorLine); + public native boolean setContent(String text, boolean namespaceProcessing, StringBuffer errorMsg); + public native boolean setContent(String text, boolean namespaceProcessing); + public native boolean setContent(byte[] text, boolean namespaceProcessing, StringBuffer errorMsg, int[] errorLine, int[] errorColumn); + public native boolean setContent(byte[] text, boolean namespaceProcessing, StringBuffer errorMsg, int[] errorLine); + public native boolean setContent(byte[] text, boolean namespaceProcessing, StringBuffer errorMsg); + public native boolean setContent(byte[] text, boolean namespaceProcessing); + public native boolean setContent(TQIODeviceInterface dev, boolean namespaceProcessing, StringBuffer errorMsg, int[] errorLine, int[] errorColumn); + public native boolean setContent(TQIODeviceInterface dev, boolean namespaceProcessing, StringBuffer errorMsg, int[] errorLine); + public native boolean setContent(TQIODeviceInterface dev, boolean namespaceProcessing, StringBuffer errorMsg); + public native boolean setContent(TQIODeviceInterface dev, boolean namespaceProcessing); + public native boolean setContent(String text, StringBuffer errorMsg, int[] errorLine, int[] errorColumn); + public native boolean setContent(String text, StringBuffer errorMsg, int[] errorLine); + public native boolean setContent(String text, StringBuffer errorMsg); + public native boolean setContent(String text); + public native boolean setContent(byte[] text, StringBuffer errorMsg, int[] errorLine, int[] errorColumn); + public native boolean setContent(byte[] text, StringBuffer errorMsg, int[] errorLine); + public native boolean setContent(byte[] text, StringBuffer errorMsg); + public native boolean setContent(byte[] text); + public native boolean setContent(TQIODeviceInterface dev, StringBuffer errorMsg, int[] errorLine, int[] errorColumn); + public native boolean setContent(TQIODeviceInterface dev, StringBuffer errorMsg, int[] errorLine); + public native boolean setContent(TQIODeviceInterface dev, StringBuffer errorMsg); + public native boolean setContent(TQIODeviceInterface dev); + public native boolean setContent(TQXmlInputSource source, TQXmlReader reader, StringBuffer errorMsg, int[] errorLine, int[] errorColumn); + public native boolean setContent(TQXmlInputSource source, TQXmlReader reader, StringBuffer errorMsg, int[] errorLine); + public native boolean setContent(TQXmlInputSource source, TQXmlReader reader, StringBuffer errorMsg); + public native boolean setContent(TQXmlInputSource source, TQXmlReader reader); + public native int nodeType(); + public native boolean isDocument(); + public native String toString(); + public native String toString(int arg1); + public native String toCString(); + public native String toCString(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/qtjava/javalib/org/kde/qt/TQDomDocumentFragment.java b/qtjava/javalib/org/kde/qt/TQDomDocumentFragment.java new file mode 100644 index 00000000..2b222195 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDomDocumentFragment.java @@ -0,0 +1,26 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQDomDocumentFragment extends TQDomNode { + protected TQDomDocumentFragment(Class dummy){super((Class) null);} + public TQDomDocumentFragment() { + super((Class) null); + newTQDomDocumentFragment(); + } + private native void newTQDomDocumentFragment(); + public TQDomDocumentFragment(TQDomDocumentFragment x) { + super((Class) null); + newTQDomDocumentFragment(x); + } + private native void newTQDomDocumentFragment(TQDomDocumentFragment x); + public native int nodeType(); + public native boolean isDocumentFragment(); + /** 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/qtjava/javalib/org/kde/qt/TQDomDocumentType.java b/qtjava/javalib/org/kde/qt/TQDomDocumentType.java new file mode 100644 index 00000000..d9161ade --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDomDocumentType.java @@ -0,0 +1,32 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQDomDocumentType extends TQDomNode { + protected TQDomDocumentType(Class dummy){super((Class) null);} + public TQDomDocumentType() { + super((Class) null); + newTQDomDocumentType(); + } + private native void newTQDomDocumentType(); + public TQDomDocumentType(TQDomDocumentType x) { + super((Class) null); + newTQDomDocumentType(x); + } + private native void newTQDomDocumentType(TQDomDocumentType x); + public native String name(); + public native TQDomNamedNodeMap entities(); + public native TQDomNamedNodeMap notations(); + public native String publicId(); + public native String systemId(); + public native String internalSubset(); + public native int nodeType(); + public native boolean isDocumentType(); + /** 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/qtjava/javalib/org/kde/qt/TQDomElement.java b/qtjava/javalib/org/kde/qt/TQDomElement.java new file mode 100644 index 00000000..60fa46e6 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDomElement.java @@ -0,0 +1,53 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +public class TQDomElement extends TQDomNode { + protected TQDomElement(Class dummy){super((Class) null);} + public TQDomElement() { + super((Class) null); + newTQDomElement(); + } + private native void newTQDomElement(); + public TQDomElement(TQDomElement x) { + super((Class) null); + newTQDomElement(x); + } + private native void newTQDomElement(TQDomElement x); + public native String attribute(String name, String defValue); + public native String attribute(String name); + public native void setAttribute(String name, String value); + public native void setAttribute(String name, int value); + public native void setAttribute(String name, long value); + public native void setAttribute(String name, double value); + public native void removeAttribute(String name); + public native TQDomAttr attributeNode(String name); + public native TQDomAttr setAttributeNode(TQDomAttr newAttr); + public native TQDomAttr removeAttributeNode(TQDomAttr oldAttr); + public native ArrayList elementsByTagName(String tagname); + public native boolean hasAttribute(String name); + public native String attributeNS(String nsURI, String localName, String defValue); + public native void setAttributeNS(String nsURI, String qName, String value); + public native void setAttributeNS(String nsURI, String qName, int value); + public native void setAttributeNS(String nsURI, String qName, long value); + public native void setAttributeNS(String nsURI, String qName, double value); + public native void removeAttributeNS(String nsURI, String localName); + public native TQDomAttr attributeNodeNS(String nsURI, String localName); + public native TQDomAttr setAttributeNodeNS(TQDomAttr newAttr); + public native ArrayList elementsByTagNameNS(String nsURI, String localName); + public native boolean hasAttributeNS(String nsURI, String localName); + public native String tagName(); + public native void setTagName(String name); + public native TQDomNamedNodeMap attributes(); + public native int nodeType(); + public native boolean isElement(); + public native 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/qtjava/javalib/org/kde/qt/TQDomEntity.java b/qtjava/javalib/org/kde/qt/TQDomEntity.java new file mode 100644 index 00000000..657400e8 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDomEntity.java @@ -0,0 +1,29 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQDomEntity extends TQDomNode { + protected TQDomEntity(Class dummy){super((Class) null);} + public TQDomEntity() { + super((Class) null); + newTQDomEntity(); + } + private native void newTQDomEntity(); + public TQDomEntity(TQDomEntity x) { + super((Class) null); + newTQDomEntity(x); + } + private native void newTQDomEntity(TQDomEntity x); + public native String publicId(); + public native String systemId(); + public native String notationName(); + public native int nodeType(); + public native boolean isEntity(); + /** 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/qtjava/javalib/org/kde/qt/TQDomEntityReference.java b/qtjava/javalib/org/kde/qt/TQDomEntityReference.java new file mode 100644 index 00000000..9b572231 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDomEntityReference.java @@ -0,0 +1,26 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQDomEntityReference extends TQDomNode { + protected TQDomEntityReference(Class dummy){super((Class) null);} + public TQDomEntityReference() { + super((Class) null); + newTQDomEntityReference(); + } + private native void newTQDomEntityReference(); + public TQDomEntityReference(TQDomEntityReference x) { + super((Class) null); + newTQDomEntityReference(x); + } + private native void newTQDomEntityReference(TQDomEntityReference x); + public native int nodeType(); + public native boolean isEntityReference(); + /** 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/qtjava/javalib/org/kde/qt/TQDomImplementation.java b/qtjava/javalib/org/kde/qt/TQDomImplementation.java new file mode 100644 index 00000000..d5d9a760 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDomImplementation.java @@ -0,0 +1,31 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQDomImplementation implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQDomImplementation(Class dummy){} + + public TQDomImplementation() { + newTQDomImplementation(); + } + private native void newTQDomImplementation(); + public TQDomImplementation(TQDomImplementation arg1) { + newTQDomImplementation(arg1); + } + private native void newTQDomImplementation(TQDomImplementation arg1); + public native boolean op_equals(TQDomImplementation arg1); + public native boolean op_not_equals(TQDomImplementation arg1); + public native boolean hasFeature(String feature, String version); + public native TQDomDocumentType createDocumentType(String qName, String publicId, String systemId); + public native TQDomDocument createDocument(String nsURI, String qName, TQDomDocumentType doctype); + public native boolean isNull(); + /** 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/qtjava/javalib/org/kde/qt/TQDomNamedNodeMap.java b/qtjava/javalib/org/kde/qt/TQDomNamedNodeMap.java new file mode 100644 index 00000000..25d1208e --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDomNamedNodeMap.java @@ -0,0 +1,37 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQDomNamedNodeMap implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQDomNamedNodeMap(Class dummy){} + + public TQDomNamedNodeMap() { + newTQDomNamedNodeMap(); + } + private native void newTQDomNamedNodeMap(); + public TQDomNamedNodeMap(TQDomNamedNodeMap arg1) { + newTQDomNamedNodeMap(arg1); + } + private native void newTQDomNamedNodeMap(TQDomNamedNodeMap arg1); + public native boolean op_equals(TQDomNamedNodeMap arg1); + public native boolean op_not_equals(TQDomNamedNodeMap arg1); + public native TQDomNode namedItem(String name); + public native TQDomNode setNamedItem(TQDomNode newNode); + public native TQDomNode removeNamedItem(String name); + public native TQDomNode item(int index); + public native TQDomNode namedItemNS(String nsURI, String localName); + public native TQDomNode setNamedItemNS(TQDomNode newNode); + public native TQDomNode removeNamedItemNS(String nsURI, String localName); + public native int length(); + public native int count(); + public native boolean contains(String name); + /** 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/qtjava/javalib/org/kde/qt/TQDomNode.java b/qtjava/javalib/org/kde/qt/TQDomNode.java new file mode 100644 index 00000000..a649d8f1 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDomNode.java @@ -0,0 +1,106 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +public class TQDomNode implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQDomNode(Class dummy){} + + public static final int ElementNode = 1; + public static final int AttributeNode = 2; + public static final int TextNode = 3; + public static final int CDATASectionNode = 4; + public static final int EntityReferenceNode = 5; + public static final int EntityNode = 6; + public static final int ProcessingInstructionNode = 7; + public static final int CommentNode = 8; + public static final int DocumentNode = 9; + public static final int DocumentTypeNode = 10; + public static final int DocumentFragmentNode = 11; + public static final int NotationNode = 12; + public static final int BaseNode = 21; + public static final int CharacterDataNode = 22; + + public TQDomNode() { + newTQDomNode(); + } + private native void newTQDomNode(); + public TQDomNode(TQDomNode arg1) { + newTQDomNode(arg1); + } + private native void newTQDomNode(TQDomNode arg1); + public native boolean op_equals(TQDomNode arg1); + public native boolean op_not_equals(TQDomNode arg1); + public native TQDomNode insertBefore(TQDomNode newChild, TQDomNode refChild); + public native TQDomNode insertAfter(TQDomNode newChild, TQDomNode refChild); + public native TQDomNode replaceChild(TQDomNode newChild, TQDomNode oldChild); + public native TQDomNode removeChild(TQDomNode oldChild); + public native TQDomNode appendChild(TQDomNode newChild); + public native boolean hasChildNodes(); + public native TQDomNode cloneNode(boolean deep); + public native TQDomNode cloneNode(); + public native void normalize(); + public native boolean isSupported(String feature, String version); + public native String nodeName(); + public native int nodeType(); + public native TQDomNode parentNode(); + public native ArrayList childNodes(); + public native TQDomNode firstChild(); + public native TQDomNode lastChild(); + public native TQDomNode previousSibling(); + public native TQDomNode nextSibling(); + public native TQDomNamedNodeMap attributes(); + public native TQDomDocument ownerDocument(); + public native String namespaceURI(); + public native String localName(); + public native boolean hasAttributes(); + public native String nodeValue(); + public native void setNodeValue(String arg1); + public native String prefix(); + public native void setPrefix(String pre); + public native boolean isAttr(); + public native boolean isCDATASection(); + public native boolean isDocumentFragment(); + public native boolean isDocument(); + public native boolean isDocumentType(); + public native boolean isElement(); + public native boolean isEntityReference(); + public native boolean isText(); + public native boolean isEntity(); + public native boolean isNotation(); + public native boolean isProcessingInstruction(); + public native boolean isCharacterData(); + public native boolean isComment(); + /** + Shortcut to avoid dealing with TQDomArrayList + all the time. + @short Shortcut to avoid dealing with TQDomNodeList all the time. + */ + public native TQDomNode namedItem(String name); + public native boolean isNull(); + public native void clear(); + public native TQDomAttr toAttr(); + public native TQDomCDATASection toCDATASection(); + public native TQDomDocumentFragment toDocumentFragment(); + public native TQDomDocument toDocument(); + public native TQDomDocumentType toDocumentType(); + public native TQDomElement toElement(); + public native TQDomEntityReference toEntityReference(); + public native TQDomText toText(); + public native TQDomEntity toEntity(); + public native TQDomNotation toNotation(); + public native TQDomProcessingInstruction toProcessingInstruction(); + public native TQDomCharacterData toCharacterData(); + public native TQDomComment toComment(); + public native void save(TQTextStream arg1, int arg2); + // TQDomNode* TQDomNode(TQDomNodePrivate* arg1); >>>> 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/qtjava/javalib/org/kde/qt/TQDomNotation.java b/qtjava/javalib/org/kde/qt/TQDomNotation.java new file mode 100644 index 00000000..8e31634f --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDomNotation.java @@ -0,0 +1,28 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQDomNotation extends TQDomNode { + protected TQDomNotation(Class dummy){super((Class) null);} + public TQDomNotation() { + super((Class) null); + newTQDomNotation(); + } + private native void newTQDomNotation(); + public TQDomNotation(TQDomNotation x) { + super((Class) null); + newTQDomNotation(x); + } + private native void newTQDomNotation(TQDomNotation x); + public native String publicId(); + public native String systemId(); + public native int nodeType(); + public native boolean isNotation(); + /** 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/qtjava/javalib/org/kde/qt/TQDomProcessingInstruction.java b/qtjava/javalib/org/kde/qt/TQDomProcessingInstruction.java new file mode 100644 index 00000000..7ddf07b5 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDomProcessingInstruction.java @@ -0,0 +1,29 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQDomProcessingInstruction extends TQDomNode { + protected TQDomProcessingInstruction(Class dummy){super((Class) null);} + public TQDomProcessingInstruction() { + super((Class) null); + newTQDomProcessingInstruction(); + } + private native void newTQDomProcessingInstruction(); + public TQDomProcessingInstruction(TQDomProcessingInstruction x) { + super((Class) null); + newTQDomProcessingInstruction(x); + } + private native void newTQDomProcessingInstruction(TQDomProcessingInstruction x); + public native String target(); + public native String data(); + public native void setData(String d); + public native int nodeType(); + public native boolean isProcessingInstruction(); + /** 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/qtjava/javalib/org/kde/qt/TQDomText.java b/qtjava/javalib/org/kde/qt/TQDomText.java new file mode 100644 index 00000000..894c3863 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDomText.java @@ -0,0 +1,27 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQDomText extends TQDomCharacterData { + protected TQDomText(Class dummy){super((Class) null);} + public TQDomText() { + super((Class) null); + newTQDomText(); + } + private native void newTQDomText(); + public TQDomText(TQDomText x) { + super((Class) null); + newTQDomText(x); + } + private native void newTQDomText(TQDomText x); + public native TQDomText splitText(int offset); + public native int nodeType(); + public native boolean isText(); + /** 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/qtjava/javalib/org/kde/qt/TQDoubleValidator.java b/qtjava/javalib/org/kde/qt/TQDoubleValidator.java new file mode 100644 index 00000000..a0d8e7b2 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDoubleValidator.java @@ -0,0 +1,47 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQDoubleValidator extends TQValidator { + protected TQDoubleValidator(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQDoubleValidator(TQObject parent, String name) { + super((Class) null); + newTQDoubleValidator(parent,name); + } + private native void newTQDoubleValidator(TQObject parent, String name); + public TQDoubleValidator(TQObject parent) { + super((Class) null); + newTQDoubleValidator(parent); + } + private native void newTQDoubleValidator(TQObject parent); + public TQDoubleValidator(double bottom, double top, int decimals, TQObject parent, String name) { + super((Class) null); + newTQDoubleValidator(bottom,top,decimals,parent,name); + } + private native void newTQDoubleValidator(double bottom, double top, int decimals, TQObject parent, String name); + public TQDoubleValidator(double bottom, double top, int decimals, TQObject parent) { + super((Class) null); + newTQDoubleValidator(bottom,top,decimals,parent); + } + private native void newTQDoubleValidator(double bottom, double top, int decimals, TQObject parent); + public native int validate(StringBuffer arg1, int[] arg2); + public native void setRange(double bottom, double top, int decimals); + public native void setRange(double bottom, double top); + public native void setBottom(double arg1); + public native void setTop(double arg1); + public native void setDecimals(int arg1); + public native double bottom(); + public native double top(); + public native int decimals(); + public static native String tr(String arg1, String arg2); + public static native String tr(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/qtjava/javalib/org/kde/qt/TQDragEnterEvent.java b/qtjava/javalib/org/kde/qt/TQDragEnterEvent.java new file mode 100644 index 00000000..1caa5da2 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDragEnterEvent.java @@ -0,0 +1,19 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQDragEnterEvent extends TQDragMoveEvent { + protected TQDragEnterEvent(Class dummy){super((Class) null);} + public TQDragEnterEvent(TQPoint pos) { + super((Class) null); + newTQDragEnterEvent(pos); + } + private native void newTQDragEnterEvent(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/qtjava/javalib/org/kde/qt/TQDragLeaveEvent.java b/qtjava/javalib/org/kde/qt/TQDragLeaveEvent.java new file mode 100644 index 00000000..9feceb39 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDragLeaveEvent.java @@ -0,0 +1,19 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQDragLeaveEvent extends TQEvent { + protected TQDragLeaveEvent(Class dummy){super((Class) null);} + public TQDragLeaveEvent() { + super((Class) null); + newTQDragLeaveEvent(); + } + private native void newTQDragLeaveEvent(); + /** 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/qtjava/javalib/org/kde/qt/TQDragManager.java b/qtjava/javalib/org/kde/qt/TQDragManager.java new file mode 100644 index 00000000..79ad5bef --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDragManager.java @@ -0,0 +1,12 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQDragManager extends TQObject { + protected TQDragManager(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); +} diff --git a/qtjava/javalib/org/kde/qt/TQDragMoveEvent.java b/qtjava/javalib/org/kde/qt/TQDragMoveEvent.java new file mode 100644 index 00000000..0a955b1e --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDragMoveEvent.java @@ -0,0 +1,30 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQDragMoveEvent extends TQDropEvent { + protected TQDragMoveEvent(Class dummy){super((Class) null);} + public TQDragMoveEvent(TQPoint pos, int typ) { + super((Class) null); + newTQDragMoveEvent(pos,typ); + } + private native void newTQDragMoveEvent(TQPoint pos, int typ); + public TQDragMoveEvent(TQPoint pos) { + super((Class) null); + newTQDragMoveEvent(pos); + } + private native void newTQDragMoveEvent(TQPoint pos); + public native TQRect answerRect(); + public native void accept(boolean y); + public native void accept(); + public native void accept(TQRect r); + public native void ignore(TQRect r); + public native void ignore(); + /** 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/qtjava/javalib/org/kde/qt/TQDragObject.java b/qtjava/javalib/org/kde/qt/TQDragObject.java new file mode 100644 index 00000000..17db8309 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDragObject.java @@ -0,0 +1,37 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQDragObject extends TQObject implements TQMimeSourceInterface { + protected TQDragObject(Class dummy){super((Class) null);} + public static final int DragDefault = 0; + public static final int DragCopy = 1; + public static final int DragMove = 2; + public static final int DragLink = 3; + public static final int DragCopyOrMove = 4; + + public native TQMetaObject metaObject(); + public native String className(); + public native boolean drag(); + public native boolean dragMove(); + public native void dragCopy(); + public native void dragLink(); + public native void setPixmap(TQPixmap arg1); + public native void setPixmap(TQPixmap arg1, TQPoint hotspot); + public native TQPixmap pixmap(); + public native TQPoint pixmapHotSpot(); + public native TQWidget source(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native TQWidget target(); + public static native void setTarget(TQWidget arg1); + public native String format(int n); + public native String format(); + public native boolean provides(String arg1); + public native byte[] encodedData(String arg1); + public native int serialNumber(); + /** Internal method */ + protected native long mimeSource(); + +} diff --git a/qtjava/javalib/org/kde/qt/TQDragResponseEvent.java b/qtjava/javalib/org/kde/qt/TQDragResponseEvent.java new file mode 100644 index 00000000..6b19daaa --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDragResponseEvent.java @@ -0,0 +1,20 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQDragResponseEvent extends TQEvent { + protected TQDragResponseEvent(Class dummy){super((Class) null);} + public TQDragResponseEvent(boolean accepted) { + super((Class) null); + newTQDragResponseEvent(accepted); + } + private native void newTQDragResponseEvent(boolean accepted); + public native boolean dragAccepted(); + /** 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/qtjava/javalib/org/kde/qt/TQDropEvent.java b/qtjava/javalib/org/kde/qt/TQDropEvent.java new file mode 100644 index 00000000..7e6f93cf --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDropEvent.java @@ -0,0 +1,51 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQDropEvent extends TQEvent implements TQMimeSourceInterface { + protected TQDropEvent(Class dummy){super((Class) null);} + public static final int Copy = 0; + public static final int Link = 1; + public static final int Move = 2; + public static final int Private = 3; + public static final int UserAction = 100; + + public TQDropEvent(TQPoint pos, int typ) { + super((Class) null); + newTQDropEvent(pos,typ); + } + private native void newTQDropEvent(TQPoint pos, int typ); + public TQDropEvent(TQPoint pos) { + super((Class) null); + newTQDropEvent(pos); + } + private native void newTQDropEvent(TQPoint pos); + public native TQPoint pos(); + public native boolean isAccepted(); + public native void accept(boolean y); + public native void accept(); + public native void ignore(); + public native boolean isActionAccepted(); + public native void acceptAction(boolean y); + public native void acceptAction(); + public native void setAction(int a); + public native int action(); + public native TQWidget source(); + public native String format(int n); + public native String format(); + public native byte[] encodedData(String arg1); + public native boolean provides(String arg1); + public native byte[] data(String f); + public native void setPoint(TQPoint np); + /** 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(); + public native int serialNumber(); + /** Internal method */ + protected native long mimeSource(); + +} diff --git a/qtjava/javalib/org/kde/qt/TQDropSite.java b/qtjava/javalib/org/kde/qt/TQDropSite.java new file mode 100644 index 00000000..78a4f9df --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQDropSite.java @@ -0,0 +1,21 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQDropSite implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQDropSite(Class dummy){} + + public TQDropSite(TQWidget parent) { + newTQDropSite(parent); + } + private native void newTQDropSite(TQWidget parent); + /** 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/qtjava/javalib/org/kde/qt/TQEditorFactory.java b/qtjava/javalib/org/kde/qt/TQEditorFactory.java new file mode 100644 index 00000000..6b560ee5 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQEditorFactory.java @@ -0,0 +1,32 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQEditorFactory extends TQObject { + protected TQEditorFactory(Class dummy){super((Class) null);} + public TQEditorFactory(TQObject parent, String name) { + super((Class) null); + newTQEditorFactory(parent,name); + } + private native void newTQEditorFactory(TQObject parent, String name); + public TQEditorFactory(TQObject parent) { + super((Class) null); + newTQEditorFactory(parent); + } + private native void newTQEditorFactory(TQObject parent); + public TQEditorFactory() { + super((Class) null); + newTQEditorFactory(); + } + private native void newTQEditorFactory(); + public native TQWidget createEditor(TQWidget parent, TQVariant v); + public static native TQEditorFactory defaultFactory(); + public static native void installDefaultFactory(TQEditorFactory factory); + /** 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/qtjava/javalib/org/kde/qt/TQErrorMessage.java b/qtjava/javalib/org/kde/qt/TQErrorMessage.java new file mode 100644 index 00000000..e06c8115 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQErrorMessage.java @@ -0,0 +1,31 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQErrorMessage extends TQDialog { + protected TQErrorMessage(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQErrorMessage(TQWidget parent, String name) { + super((Class) null); + newTQErrorMessage(parent,name); + } + private native void newTQErrorMessage(TQWidget parent, String name); + public TQErrorMessage(TQWidget parent) { + super((Class) null); + newTQErrorMessage(parent); + } + private native void newTQErrorMessage(TQWidget parent); + public native void message(String arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native TQErrorMessage qtHandler(); + protected native void done(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/qtjava/javalib/org/kde/qt/TQEucJpCodec.java b/qtjava/javalib/org/kde/qt/TQEucJpCodec.java new file mode 100644 index 00000000..6de2619f --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQEucJpCodec.java @@ -0,0 +1,27 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQEucJpCodec extends TQTextCodec { + protected TQEucJpCodec(Class dummy){super((Class) null);} + public native int mibEnum(); + public native String name(); + public native String mimeName(); + public native TQTextDecoder makeDecoder(); + public native String fromUnicode(String uc, int[] lenInOut); + public native String toUnicode(String chars, int len); + public native int heuristicContentMatch(String chars, int len); + public native int heuristicNameMatch(String hint); + public TQEucJpCodec() { + super((Class) null); + newTQEucJpCodec(); + } + private native void newTQEucJpCodec(); + /** 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/qtjava/javalib/org/kde/qt/TQEucKrCodec.java b/qtjava/javalib/org/kde/qt/TQEucKrCodec.java new file mode 100644 index 00000000..5272f11c --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQEucKrCodec.java @@ -0,0 +1,27 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQEucKrCodec extends TQTextCodec { + protected TQEucKrCodec(Class dummy){super((Class) null);} + public native int mibEnum(); + public native String name(); + public native String mimeName(); + public native TQTextDecoder makeDecoder(); + public native String fromUnicode(String uc, int[] lenInOut); + public native String toUnicode(String chars, int len); + public native int heuristicContentMatch(String chars, int len); + public native int heuristicNameMatch(String hint); + public TQEucKrCodec() { + super((Class) null); + newTQEucKrCodec(); + } + private native void newTQEucKrCodec(); + /** 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/qtjava/javalib/org/kde/qt/TQEvent.java b/qtjava/javalib/org/kde/qt/TQEvent.java new file mode 100644 index 00000000..8b88b199 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQEvent.java @@ -0,0 +1,98 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQEvent extends Qt { + protected TQEvent(Class dummy){super((Class) null);} + public static final int None = 0; + public static final int Timer = 1; + public static final int MouseButtonPress = 2; + public static final int MouseButtonRelease = 3; + public static final int MouseButtonDblClick = 4; + public static final int MouseMove = 5; + public static final int KeyPress = 6; + public static final int KeyRelease = 7; + public static final int FocusIn = 8; + public static final int FocusOut = 9; + public static final int Enter = 10; + public static final int Leave = 11; + public static final int Paint = 12; + public static final int Move = 13; + public static final int Resize = 14; + public static final int Create = 15; + public static final int Destroy = 16; + public static final int Show = 17; + public static final int Hide = 18; + public static final int Close = 19; + public static final int Quit = 20; + public static final int Reparent = 21; + public static final int ShowMinimized = 22; + public static final int ShowNormal = 23; + public static final int WindowActivate = 24; + public static final int WindowDeactivate = 25; + public static final int ShowToParent = 26; + public static final int HideToParent = 27; + public static final int ShowMaximized = 28; + public static final int ShowFullScreen = 29; + public static final int Accel = 30; + public static final int Wheel = 31; + public static final int AccelAvailable = 32; + public static final int CaptionChange = 33; + public static final int IconChange = 34; + public static final int ParentFontChange = 35; + public static final int ApplicationFontChange = 36; + public static final int ParentPaletteChange = 37; + public static final int ApplicationPaletteChange = 38; + public static final int PaletteChange = 39; + public static final int Clipboard = 40; + public static final int Speech = 42; + public static final int SockAct = 50; + public static final int AccelOverride = 51; + public static final int DeferredDelete = 52; + public static final int DragEnter = 60; + public static final int DragMove = 61; + public static final int DragLeave = 62; + public static final int Drop = 63; + public static final int DragResponse = 64; + public static final int ChildInserted = 70; + public static final int ChildRemoved = 71; + public static final int LayoutHint = 72; + public static final int ShowWindowRequest = 73; + public static final int WindowBlocked = 74; + public static final int WindowUnblocked = 75; + public static final int ActivateControl = 80; + public static final int DeactivateControl = 81; + public static final int ContextMenu = 82; + public static final int IMStart = 83; + public static final int IMCompose = 84; + public static final int IMEnd = 85; + public static final int Accessibility = 86; + public static final int TabletMove = 87; + public static final int LocaleChange = 88; + public static final int LanguageChange = 89; + public static final int LayoutDirectionChange = 90; + public static final int Style = 91; + public static final int TabletPress = 92; + public static final int TabletRelease = 93; + public static final int OkRequest = 94; + public static final int HelpRequest = 95; + public static final int WindowStateChange = 96; + public static final int IconDrag = 97; + public static final int User = 1000; + public static final int MaxUser = 65535; + + public TQEvent(int type) { + super((Class) null); + newTQEvent(type); + } + private native void newTQEvent(int type); + public native int type(); + public native boolean spontaneous(); + /** 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/qtjava/javalib/org/kde/qt/TQEventLoop.java b/qtjava/javalib/org/kde/qt/TQEventLoop.java new file mode 100644 index 00000000..956c4d38 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQEventLoop.java @@ -0,0 +1,57 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQEventLoopSignals} for signals emitted by TQEventLoop +*/ +public class TQEventLoop extends TQObject { + protected TQEventLoop(Class dummy){super((Class) null);} + public static final int AllEvents = 0x00; + public static final int ExcludeUserInput = 0x01; + public static final int ExcludeSocketNotifiers = 0x02; + public static final int WaitForMore = 0x04; + + public native TQMetaObject metaObject(); + public native String className(); + public TQEventLoop(TQObject parent, String name) { + super((Class) null); + newTQEventLoop(parent,name); + } + private native void newTQEventLoop(TQObject parent, String name); + public TQEventLoop(TQObject parent) { + super((Class) null); + newTQEventLoop(parent); + } + private native void newTQEventLoop(TQObject parent); + public TQEventLoop() { + super((Class) null); + newTQEventLoop(); + } + private native void newTQEventLoop(); + public native void processEvents(int flags, int maxtime); + public native boolean processEvents(int flags); + public native boolean hasPendingEvents(); + public native void registerSocketNotifier(TQSocketNotifier arg1); + public native void unregisterSocketNotifier(TQSocketNotifier arg1); + public native void setSocketNotifierPending(TQSocketNotifier arg1); + public native int activateSocketNotifiers(); + public native int activateTimers(); + public native int timeToWait(); + public native int exec(); + public native void exit(int retcode); + public native void exit(); + public native int enterLoop(); + public native void exitLoop(); + public native int loopLevel(); + public native void wakeUp(); + public static native String tr(String arg1, String arg2); + public static native String tr(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/qtjava/javalib/org/kde/qt/TQEventLoopSignals.java b/qtjava/javalib/org/kde/qt/TQEventLoopSignals.java new file mode 100644 index 00000000..a862a6d3 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQEventLoopSignals.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQEventLoopSignals { + void awake(); + void aboutToBlock(); +} diff --git a/qtjava/javalib/org/kde/qt/TQFile.java b/qtjava/javalib/org/kde/qt/TQFile.java new file mode 100644 index 00000000..0cf3e69d --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQFile.java @@ -0,0 +1,51 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQFile extends TQIODevice { + protected TQFile(Class dummy){super((Class) null);} + public TQFile() { + super((Class) null); + newTQFile(); + } + private native void newTQFile(); + public TQFile(String name) { + super((Class) null); + newTQFile(name); + } + private native void newTQFile(String name); + public native String name(); + public native void setName(String name); + public native boolean exists(); + public native boolean remove(); + public native boolean open(int arg1); + public native boolean open(int arg1, int arg2); + 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 long readBlock(StringBuffer data, long len); + public native long writeBlock(String data, long len); + public native long writeBlock(byte[] data); + public native long readLine(String data, long maxlen); + public native long readLine(StringBuffer arg1, long maxlen); + public native int getch(); + public native int putch(int arg1); + public native int ungetch(int arg1); + public native int handle(); + public native String errorString(); + public static native String encodeName(String fileName); + public static native String decodeName(String localFileName); + public static native boolean exists(String fileName); + public static native boolean remove(String fileName); + protected native void setErrorString(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/qtjava/javalib/org/kde/qt/TQFileDialog.java b/qtjava/javalib/org/kde/qt/TQFileDialog.java new file mode 100644 index 00000000..7986f82c --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQFileDialog.java @@ -0,0 +1,155 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +/** + See {@link TQFileDialogSignals} for signals emitted by TQFileDialog +*/ +public class TQFileDialog extends TQDialog { + protected TQFileDialog(Class dummy){super((Class) null);} + public static final int AnyFile = 0; + public static final int ExistingFile = 1; + public static final int Directory = 2; + public static final int ExistingFiles = 3; + public static final int DirectoryOnly = 4; + + public static final int Detail = 0; + public static final int List = 1; + + public static final int NoPreview = 0; + public static final int Contents = 1; + public static final int Info = 2; + + public native TQMetaObject metaObject(); + public native String className(); + public TQFileDialog(String dirName, String filter, TQWidget parent, String name, boolean modal) { + super((Class) null); + newTQFileDialog(dirName,filter,parent,name,modal); + } + private native void newTQFileDialog(String dirName, String filter, TQWidget parent, String name, boolean modal); + public TQFileDialog(String dirName, String filter, TQWidget parent, String name) { + super((Class) null); + newTQFileDialog(dirName,filter,parent,name); + } + private native void newTQFileDialog(String dirName, String filter, TQWidget parent, String name); + public TQFileDialog(String dirName, String filter, TQWidget parent) { + super((Class) null); + newTQFileDialog(dirName,filter,parent); + } + private native void newTQFileDialog(String dirName, String filter, TQWidget parent); + public TQFileDialog(String dirName, String filter) { + super((Class) null); + newTQFileDialog(dirName,filter); + } + private native void newTQFileDialog(String dirName, String filter); + public TQFileDialog(String dirName) { + super((Class) null); + newTQFileDialog(dirName); + } + private native void newTQFileDialog(String dirName); + public TQFileDialog(TQWidget parent, String name, boolean modal) { + super((Class) null); + newTQFileDialog(parent,name,modal); + } + private native void newTQFileDialog(TQWidget parent, String name, boolean modal); + public TQFileDialog(TQWidget parent, String name) { + super((Class) null); + newTQFileDialog(parent,name); + } + private native void newTQFileDialog(TQWidget parent, String name); + public TQFileDialog(TQWidget parent) { + super((Class) null); + newTQFileDialog(parent); + } + private native void newTQFileDialog(TQWidget parent); + public TQFileDialog() { + super((Class) null); + newTQFileDialog(); + } + private native void newTQFileDialog(); + public native String selectedFile(); + public native String selectedFilter(); + public native void setSelectedFilter(String arg1); + public native void setSelectedFilter(int arg1); + public native void setSelection(String arg1); + public native void selectAll(boolean b); + public native ArrayList selectedFiles(); + public native String dirPath(); + public native void setDir(TQDir arg1); + public native TQDir dir(); + public native void setShowHiddenFiles(boolean s); + public native boolean showHiddenFiles(); + public native void rereadDir(); + public native void resortDir(); + public native void setMode(int arg1); + public native int mode(); + public native void setViewMode(int m); + public native int viewMode(); + public native void setPreviewMode(int m); + public native int previewMode(); + public native boolean eventFilter(TQObject arg1, TQEvent arg2); + public native boolean isInfoPreviewEnabled(); + public native boolean isContentsPreviewEnabled(); + public native void setInfoPreviewEnabled(boolean arg1); + public native void setContentsPreviewEnabled(boolean arg1); + public native void setInfoPreview(TQWidget w, TQFilePreview preview); + public native void setContentsPreview(TQWidget w, TQFilePreview preview); + public native TQUrlInterface url(); + public native void addFilter(String filter); + public native void done(int arg1); + public native void setDir(String arg1); + public native void setUrl(TQUrlOperator url); + public native void setFilter(String arg1); + public native void setFilters(String arg1); + public native void setFilters(String[] arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native String getOpenFileName(String initially, String filter, TQWidget parent, String name, String caption, StringBuffer selectedFilter, boolean resolveSymlinks); + public static native String getOpenFileName(String initially, String filter, TQWidget parent, String name, String caption, StringBuffer selectedFilter); + public static native String getOpenFileName(String initially, String filter, TQWidget parent, String name, String caption); + public static native String getOpenFileName(String initially, String filter, TQWidget parent, String name); + public static native String getOpenFileName(String initially, String filter, TQWidget parent); + public static native String getOpenFileName(String initially, String filter); + public static native String getOpenFileName(String initially); + public static native String getOpenFileName(); + public static native String getSaveFileName(String initially, String filter, TQWidget parent, String name, String caption, StringBuffer selectedFilter, boolean resolveSymlinks); + public static native String getSaveFileName(String initially, String filter, TQWidget parent, String name, String caption, StringBuffer selectedFilter); + public static native String getSaveFileName(String initially, String filter, TQWidget parent, String name, String caption); + public static native String getSaveFileName(String initially, String filter, TQWidget parent, String name); + public static native String getSaveFileName(String initially, String filter, TQWidget parent); + public static native String getSaveFileName(String initially, String filter); + public static native String getSaveFileName(String initially); + public static native String getSaveFileName(); + public static native String getExistingDirectory(String dir, TQWidget parent, String name, String caption, boolean dirOnly, boolean resolveSymlinks); + public static native String getExistingDirectory(String dir, TQWidget parent, String name, String caption, boolean dirOnly); + public static native String getExistingDirectory(String dir, TQWidget parent, String name, String caption); + public static native String getExistingDirectory(String dir, TQWidget parent, String name); + public static native String getExistingDirectory(String dir, TQWidget parent); + public static native String getExistingDirectory(String dir); + public static native String getExistingDirectory(); + public static native ArrayList getOpenFileNames(String filter, String dir, TQWidget parent, String name, String caption, StringBuffer selectedFilter, boolean resolveSymlinks); + public static native ArrayList getOpenFileNames(String filter, String dir, TQWidget parent, String name, String caption, StringBuffer selectedFilter); + public static native ArrayList getOpenFileNames(String filter, String dir, TQWidget parent, String name, String caption); + public static native ArrayList getOpenFileNames(String filter, String dir, TQWidget parent, String name); + public static native ArrayList getOpenFileNames(String filter, String dir, TQWidget parent); + public static native ArrayList getOpenFileNames(String filter, String dir); + public static native ArrayList getOpenFileNames(String filter); + public static native ArrayList getOpenFileNames(); + public static native void setIconProvider(TQFileIconProvider arg1); + public static native TQFileIconProvider iconProvider(); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void keyPressEvent(TQKeyEvent arg1); + protected native void addWidgets(TQLabel arg1, TQWidget arg2, TQPushButton arg3); + protected native void addToolButton(TQButton b, boolean separator); + protected native void addToolButton(TQButton b); + protected native void addLeftWidget(TQWidget w); + protected native void addRightWidget(TQWidget w); + /** 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/qtjava/javalib/org/kde/qt/TQFileDialogSignals.java b/qtjava/javalib/org/kde/qt/TQFileDialogSignals.java new file mode 100644 index 00000000..d3cc06a0 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQFileDialogSignals.java @@ -0,0 +1,12 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import java.util.ArrayList; + +public interface TQFileDialogSignals { + void fileHighlighted(String arg1); + void fileSelected(String arg1); + void filesSelected(String[] arg1); + void dirEntered(String arg1); + void filterSelected(String arg1); +} diff --git a/qtjava/javalib/org/kde/qt/TQFileIconProvider.java b/qtjava/javalib/org/kde/qt/TQFileIconProvider.java new file mode 100644 index 00000000..1bea9b41 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQFileIconProvider.java @@ -0,0 +1,34 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQFileIconProvider extends TQObject { + protected TQFileIconProvider(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQFileIconProvider(TQObject parent, String name) { + super((Class) null); + newTQFileIconProvider(parent,name); + } + private native void newTQFileIconProvider(TQObject parent, String name); + public TQFileIconProvider(TQObject parent) { + super((Class) null); + newTQFileIconProvider(parent); + } + private native void newTQFileIconProvider(TQObject parent); + public TQFileIconProvider() { + super((Class) null); + newTQFileIconProvider(); + } + private native void newTQFileIconProvider(); + public native TQPixmap pixmap(TQFileInfo arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(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/qtjava/javalib/org/kde/qt/TQFileInfo.java b/qtjava/javalib/org/kde/qt/TQFileInfo.java new file mode 100644 index 00000000..5c342676 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQFileInfo.java @@ -0,0 +1,88 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.Calendar; + +public class TQFileInfo implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQFileInfo(Class dummy){} + + public static final int ReadOwner = 04000; + public static final int WriteOwner = 02000; + public static final int ExeOwner = 01000; + public static final int ReadUser = 00400; + public static final int WriteUser = 00200; + public static final int ExeUser = 00100; + public static final int ReadGroup = 00040; + public static final int WriteGroup = 00020; + public static final int ExeGroup = 00010; + public static final int ReadOther = 00004; + public static final int WriteOther = 00002; + public static final int ExeOther = 00001; + + public TQFileInfo() { + newTQFileInfo(); + } + private native void newTQFileInfo(); + public TQFileInfo(String file) { + newTQFileInfo(file); + } + private native void newTQFileInfo(String file); + public TQFileInfo(TQFile arg1) { + newTQFileInfo(arg1); + } + private native void newTQFileInfo(TQFile arg1); + public TQFileInfo(TQDir arg1, String fileName) { + newTQFileInfo(arg1,fileName); + } + private native void newTQFileInfo(TQDir arg1, String fileName); + public TQFileInfo(TQFileInfo arg1) { + newTQFileInfo(arg1); + } + private native void newTQFileInfo(TQFileInfo arg1); + public native void setFile(String file); + public native void setFile(TQFile arg1); + public native void setFile(TQDir arg1, String fileName); + public native boolean exists(); + public native void refresh(); + public native boolean caching(); + public native void setCaching(boolean arg1); + public native String filePath(); + public native String fileName(); + public native String absFilePath(); + public native String baseName(boolean complete); + public native String baseName(); + public native String extension(boolean complete); + public native String extension(); + public native String dirPath(boolean absPath); + public native String dirPath(); + public native TQDir dir(boolean absPath); + public native TQDir dir(); + public native boolean isReadable(); + public native boolean isWritable(); + public native boolean isExecutable(); + public native boolean isHidden(); + public native boolean isRelative(); + public native boolean convertToAbs(); + public native boolean isFile(); + public native boolean isDir(); + public native boolean isSymLink(); + public native String readLink(); + public native String owner(); + public native int ownerId(); + public native String group(); + public native int groupId(); + public native boolean permission(int permissionSpec); + public native long size(); + public native Calendar created(); + public native Calendar lastModified(); + public native Calendar lastRead(); + /** 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/qtjava/javalib/org/kde/qt/TQFilePreview.java b/qtjava/javalib/org/kde/qt/TQFilePreview.java new file mode 100644 index 00000000..709be1d9 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQFilePreview.java @@ -0,0 +1,12 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQFilePreview implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQFilePreview(Class dummy){} + + public native void previewUrl(TQUrlInterface url); +} diff --git a/qtjava/javalib/org/kde/qt/TQFocusData.java b/qtjava/javalib/org/kde/qt/TQFocusData.java new file mode 100644 index 00000000..077ede4e --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQFocusData.java @@ -0,0 +1,18 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQFocusData implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQFocusData(Class dummy){} + + public native TQWidget focusWidget(); + public native TQWidget home(); + public native TQWidget next(); + public native TQWidget prev(); + public native TQWidget first(); + public native TQWidget last(); + public native int count(); +} diff --git a/qtjava/javalib/org/kde/qt/TQFocusEvent.java b/qtjava/javalib/org/kde/qt/TQFocusEvent.java new file mode 100644 index 00000000..4975e017 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQFocusEvent.java @@ -0,0 +1,32 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQFocusEvent extends TQEvent { + protected TQFocusEvent(Class dummy){super((Class) null);} + public static final int Mouse = 0; + public static final int Tab = 1; + public static final int Backtab = 2; + public static final int ActiveWindow = 3; + public static final int Popup = 4; + public static final int Shortcut = 5; + public static final int Other = 6; + + public TQFocusEvent(int type) { + super((Class) null); + newTQFocusEvent(type); + } + private native void newTQFocusEvent(int type); + public native boolean gotFocus(); + public native boolean lostFocus(); + public static native int reason(); + public static native void setReason(int reason); + public static native void resetReason(); + /** 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/qtjava/javalib/org/kde/qt/TQFont.java b/qtjava/javalib/org/kde/qt/TQFont.java new file mode 100644 index 00000000..0f132129 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQFont.java @@ -0,0 +1,203 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +public class TQFont implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQFont(Class dummy){} + + public static final int Helvetica = 0; + public static final int SansSerif = Helvetica; + public static final int Times = 1; + public static final int Serif = Times; + public static final int Courier = 2; + public static final int TypeWriter = Courier; + public static final int OldEnglish = 3; + public static final int Decorative = OldEnglish; + public static final int System = 4; + public static final int AnyStyle = 5; + + public static final int PreferDefault = 0x0001; + public static final int PreferBitmap = 0x0002; + public static final int PreferDevice = 0x0004; + public static final int PreferOutline = 0x0008; + public static final int ForceOutline = 0x0010; + public static final int PreferMatch = 0x0020; + public static final int PreferQuality = 0x0040; + public static final int PreferAntialias = 0x0080; + public static final int NoAntialias = 0x0100; + public static final int OpenGLCompatible = 0x0200; + + public static final int Light = 25; + public static final int Normal = 50; + public static final int DemiBold = 63; + public static final int Bold = 75; + public static final int Black = 87; + + public static final int UltraCondensed = 50; + public static final int ExtraCondensed = 62; + public static final int Condensed = 75; + public static final int SemiCondensed = 87; + public static final int Unstretched = 100; + public static final int SemiExpanded = 112; + public static final int Expanded = 125; + public static final int ExtraExpanded = 150; + public static final int UltraExpanded = 200; + + public static final int Latin = 0; + public static final int Greek = 1; + public static final int Cyrillic = 2; + public static final int Armenian = 3; + public static final int Georgian = 4; + public static final int Runic = 5; + public static final int Ogham = 6; + public static final int SpacingModifiers = 7; + public static final int CombiningMarks = 8; + public static final int Hebrew = 9; + public static final int Arabic = 10; + public static final int Syriac = 11; + public static final int Thaana = 12; + public static final int Devanagari = 13; + public static final int Bengali = 14; + public static final int Gurmukhi = 15; + public static final int Gujarati = 16; + public static final int Oriya = 17; + public static final int Tamil = 18; + public static final int Telugu = 19; + public static final int Kannada = 20; + public static final int Malayalam = 21; + public static final int Sinhala = 22; + public static final int Thai = 23; + public static final int Lao = 24; + public static final int Tibetan = 25; + public static final int Myanmar = 26; + public static final int Khmer = 27; + public static final int Han = 28; + public static final int Hiragana = 29; + public static final int Katakana = 30; + public static final int Hangul = 31; + public static final int Bopomofo = 32; + public static final int Yi = 33; + public static final int Ethiopic = 34; + public static final int Cherokee = 35; + public static final int CanadianAboriginal = 36; + public static final int Mongolian = 37; + public static final int CurrencySymbols = 38; + public static final int LetterlikeSymbols = 39; + public static final int NumberForms = 40; + public static final int MathematicalOperators = 41; + public static final int TechnicalSymbols = 42; + public static final int GeometricSymbols = 43; + public static final int MiscellaneousSymbols = 44; + public static final int EnclosedAndSquare = 45; + public static final int Braille = 46; + public static final int Unicode = 47; + public static final int Tagalog = 48; + public static final int Hanunoo = 49; + public static final int Buhid = 50; + public static final int Tagbanwa = 51; + public static final int KatakanaHalfWidth = 52; + public static final int Limbu = 53; + public static final int TaiLe = 54; + public static final int NScripts = 55; + public static final int UnknownScript = NScripts; + public static final int NoScript = 56; + public static final int Han_Japanese = 57; + public static final int Han_SimplifiedChinese = 58; + public static final int Han_TraditionalChinese = 59; + public static final int Han_Korean = 60; + public static final int LastPrivateScript = 61; + + public TQFont() { + newTQFont(); + } + private native void newTQFont(); + public TQFont(String family, int pointSize, int weight, boolean italic) { + newTQFont(family,pointSize,weight,italic); + } + private native void newTQFont(String family, int pointSize, int weight, boolean italic); + public TQFont(String family, int pointSize, int weight) { + newTQFont(family,pointSize,weight); + } + private native void newTQFont(String family, int pointSize, int weight); + public TQFont(String family, int pointSize) { + newTQFont(family,pointSize); + } + private native void newTQFont(String family, int pointSize); + public TQFont(String family) { + newTQFont(family); + } + private native void newTQFont(String family); + public TQFont(TQFont arg1) { + newTQFont(arg1); + } + private native void newTQFont(TQFont arg1); + public native String family(); + public native void setFamily(String arg1); + public native int pointSize(); + public native float pointSizeFloat(); + public native void setPointSize(int arg1); + public native void setPointSizeFloat(float arg1); + public native int pixelSize(); + public native void setPixelSize(int arg1); + public native void setPixelSizeFloat(float arg1); + public native int weight(); + public native void setWeight(int arg1); + public native boolean bold(); + public native void setBold(boolean arg1); + public native boolean italic(); + public native void setItalic(boolean arg1); + public native boolean underline(); + public native void setUnderline(boolean arg1); + public native boolean overline(); + public native void setOverline(boolean arg1); + public native boolean strikeOut(); + public native void setStrikeOut(boolean arg1); + public native boolean fixedPitch(); + public native void setFixedPitch(boolean arg1); + public native int styleHint(); + public native int styleStrategy(); + public native void setStyleHint(int arg1, int arg2); + public native void setStyleHint(int arg1); + public native void setStyleStrategy(int s); + public native int stretch(); + public native void setStretch(int arg1); + public native boolean rawMode(); + public native void setRawMode(boolean arg1); + public native boolean exactMatch(); + public native boolean op_equals(TQFont arg1); + public native boolean op_not_equals(TQFont arg1); + public native boolean isCopyOf(TQFont arg1); + public native int handle(); + public native void setRawName(String arg1); + public native String rawName(); + public native String key(); + public native String toString(); + public native boolean fromString(String arg1); + public native String defaultFamily(); + public native String lastResortFamily(); + public native String lastResortFont(); + public native TQFont resolve(TQFont arg1); + public static native String substitute(String arg1); + public static native ArrayList substitutes(String arg1); + public static native ArrayList substitutions(); + public static native void insertSubstitution(String arg1, String arg2); + public static native void insertSubstitutions(String arg1, String[] arg2); + public static native void removeSubstitution(String arg1); + public static native void initialize(); + public static native void cleanup(); + public static native void cacheStatistics(); + public static native TQFont defaultFont(); + public static native void setDefaultFont(TQFont arg1); + protected native boolean dirty(); + protected native int deciPointSize(); + /** 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/qtjava/javalib/org/kde/qt/TQFontDatabase.java b/qtjava/javalib/org/kde/qt/TQFontDatabase.java new file mode 100644 index 00000000..ded9a857 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQFontDatabase.java @@ -0,0 +1,56 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +public class TQFontDatabase implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQFontDatabase(Class dummy){} + + public TQFontDatabase() { + newTQFontDatabase(); + } + private native void newTQFontDatabase(); + public native ArrayList families(); + public native ArrayList families(int arg1); + public native ArrayList styles(String arg1); + public native int[] pointSizes(String arg1, String arg2); + public native int[] pointSizes(String arg1); + public native int[] smoothSizes(String arg1, String arg2); + public native String styleString(TQFont arg1); + public native TQFont font(String arg1, String arg2, int arg3); + public native boolean isBitmapScalable(String arg1, String arg2); + public native boolean isBitmapScalable(String arg1); + public native boolean isSmoothlyScalable(String arg1, String arg2); + public native boolean isSmoothlyScalable(String arg1); + public native boolean isScalable(String arg1, String arg2); + public native boolean isScalable(String arg1); + public native boolean isFixedPitch(String arg1, String arg2); + public native boolean isFixedPitch(String arg1); + public native boolean italic(String arg1, String arg2); + public native boolean bold(String arg1, String arg2); + public native int weight(String arg1, String arg2); + public native ArrayList families(boolean arg1); + public native ArrayList styles(String arg1, String arg2); + public native int[] pointSizes(String arg1, String arg2, String arg3); + public native int[] smoothSizes(String arg1, String arg2, String arg3); + public native TQFont font(String arg1, String arg2, int arg3, String arg4); + public native boolean isBitmapScalable(String arg1, String arg2, String arg3); + public native boolean isSmoothlyScalable(String arg1, String arg2, String arg3); + public native boolean isScalable(String arg1, String arg2, String arg3); + public native boolean isFixedPitch(String arg1, String arg2, String arg3); + public native boolean italic(String arg1, String arg2, String arg3); + public native boolean bold(String arg1, String arg2, String arg3); + public native int weight(String arg1, String arg2, String arg3); + public static native int[] standardSizes(); + public static native String scriptName(int arg1); + public static native String scriptSample(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/qtjava/javalib/org/kde/qt/TQFontDialog.java b/qtjava/javalib/org/kde/qt/TQFontDialog.java new file mode 100644 index 00000000..bcedb8ad --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQFontDialog.java @@ -0,0 +1,18 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQFontDialog extends TQDialog { + protected TQFontDialog(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native TQFont getFont(boolean[] ok, TQFont def, TQWidget parent, String name); + public static native TQFont getFont(boolean[] ok, TQFont def, TQWidget parent); + public static native TQFont getFont(boolean[] ok, TQFont def); + public static native TQFont getFont(boolean[] ok, TQWidget parent, String name); + public static native TQFont getFont(boolean[] ok, TQWidget parent); + public static native TQFont getFont(boolean[] ok); +} diff --git a/qtjava/javalib/org/kde/qt/TQFontInfo.java b/qtjava/javalib/org/kde/qt/TQFontInfo.java new file mode 100644 index 00000000..0f57901b --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQFontInfo.java @@ -0,0 +1,42 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQFontInfo implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQFontInfo(Class dummy){} + + public TQFontInfo(TQFont arg1) { + newTQFontInfo(arg1); + } + private native void newTQFontInfo(TQFont arg1); + public TQFontInfo(TQFont arg1, int arg2) { + newTQFontInfo(arg1,arg2); + } + private native void newTQFontInfo(TQFont arg1, int arg2); + public TQFontInfo(TQFontInfo arg1) { + newTQFontInfo(arg1); + } + private native void newTQFontInfo(TQFontInfo arg1); + public native String family(); + public native int pixelSize(); + public native int pointSize(); + public native boolean italic(); + public native int weight(); + public native boolean bold(); + public native boolean underline(); + public native boolean overline(); + public native boolean strikeOut(); + public native boolean fixedPitch(); + public native int styleHint(); + public native boolean rawMode(); + public native boolean exactMatch(); + /** 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/qtjava/javalib/org/kde/qt/TQFontMetrics.java b/qtjava/javalib/org/kde/qt/TQFontMetrics.java new file mode 100644 index 00000000..6c1f61ea --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQFontMetrics.java @@ -0,0 +1,61 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQFontMetrics implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQFontMetrics(Class dummy){} + + public TQFontMetrics(TQFont arg1) { + newTQFontMetrics(arg1); + } + private native void newTQFontMetrics(TQFont arg1); + public TQFontMetrics(TQFont arg1, int arg2) { + newTQFontMetrics(arg1,arg2); + } + private native void newTQFontMetrics(TQFont arg1, int arg2); + public TQFontMetrics(TQFontMetrics arg1) { + newTQFontMetrics(arg1); + } + private native void newTQFontMetrics(TQFontMetrics arg1); + public native int ascent(); + public native int descent(); + public native int height(); + public native int leading(); + public native int lineSpacing(); + public native int minLeftBearing(); + public native int minRightBearing(); + public native int maxWidth(); + public native boolean inFont(char arg1); + public native int leftBearing(char arg1); + public native int rightBearing(char arg1); + public native int width(String arg1, int len); + public native int width(String arg1); + public native int width(char arg1); + public native int charWidth(String str, int pos); + public native TQRect boundingRect(String arg1, int len); + public native TQRect boundingRect(String arg1); + public native TQRect boundingRect(char arg1); + // TQRect boundingRect(int arg1,int arg2,int arg3,int arg4,int arg5,const TQString& arg6,int arg7,int arg8,int* arg9,TQTextParag** arg10); >>>> NOT CONVERTED + public native TQRect boundingRect(int x, int y, int w, int h, int flags, String str, int len, int tabstops, int[] tabarray); + public native TQRect boundingRect(int x, int y, int w, int h, int flags, String str, int len, int tabstops); + public native TQRect boundingRect(int x, int y, int w, int h, int flags, String str, int len); + public native TQRect boundingRect(int x, int y, int w, int h, int flags, String str); + // TQSize size(int arg1,const TQString& arg2,int arg3,int arg4,int* arg5,TQTextParag** arg6); >>>> NOT CONVERTED + public native TQSize size(int flags, String str, int len, int tabstops, int[] tabarray); + public native TQSize size(int flags, String str, int len, int tabstops); + public native TQSize size(int flags, String str, int len); + public native TQSize size(int flags, String str); + public native int underlinePos(); + public native int overlinePos(); + public native int strikeOutPos(); + public native int lineWidth(); + /** 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/qtjava/javalib/org/kde/qt/TQFrame.java b/qtjava/javalib/org/kde/qt/TQFrame.java new file mode 100644 index 00000000..81ccfe4f --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQFrame.java @@ -0,0 +1,82 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQFrame extends TQWidget { + protected TQFrame(Class dummy){super((Class) null);} + public static final int NoFrame = 0; + public static final int Box = 0x0001; + public static final int Panel = 0x0002; + public static final int WinPanel = 0x0003; + public static final int HLine = 0x0004; + public static final int VLine = 0x0005; + public static final int StyledPanel = 0x0006; + public static final int PopupPanel = 0x0007; + public static final int MenuBarPanel = 0x0008; + public static final int ToolBarPanel = 0x0009; + public static final int LineEditPanel = 0x000a; + public static final int TabWidgetPanel = 0x000b; + public static final int GroupBoxPanel = 0x000c; + public static final int MShape = 0x000f; + + public static final int Plain = 0x0010; + public static final int Raised = 0x0020; + public static final int Sunken = 0x0030; + public static final int MShadow = 0x00f0; + + public native TQMetaObject metaObject(); + public native String className(); + public TQFrame(TQWidget parent, String name, int f) { + super((Class) null); + newTQFrame(parent,name,f); + } + private native void newTQFrame(TQWidget parent, String name, int f); + public TQFrame(TQWidget parent, String name) { + super((Class) null); + newTQFrame(parent,name); + } + private native void newTQFrame(TQWidget parent, String name); + public TQFrame(TQWidget parent) { + super((Class) null); + newTQFrame(parent); + } + private native void newTQFrame(TQWidget parent); + public TQFrame() { + super((Class) null); + newTQFrame(); + } + private native void newTQFrame(); + public native int frameStyle(); + public native void setFrameStyle(int arg1); + public native int frameWidth(); + public native TQRect contentsRect(); + public native boolean lineShapesOk(); + public native TQSize sizeHint(); + public native int frameShape(); + public native void setFrameShape(int arg1); + public native int frameShadow(); + public native void setFrameShadow(int arg1); + public native int lineWidth(); + public native void setLineWidth(int arg1); + public native int margin(); + public native void setMargin(int arg1); + public native int midLineWidth(); + public native void setMidLineWidth(int arg1); + public native TQRect frameRect(); + public native void setFrameRect(TQRect arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void paintEvent(TQPaintEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void drawFrame(TQPainter arg1); + protected native void drawContents(TQPainter arg1); + protected native void frameChanged(); + public native void styleChange(TQStyle 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/qtjava/javalib/org/kde/qt/TQFtp.java b/qtjava/javalib/org/kde/qt/TQFtp.java new file mode 100644 index 00000000..b6d7d843 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQFtp.java @@ -0,0 +1,110 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQFtpSignals} for signals emitted by TQFtp +*/ +public class TQFtp extends TQNetworkProtocol { + protected TQFtp(Class dummy){super((Class) null);} + public static final int Unconnected = 0; + public static final int HostLookup = 1; + public static final int Connecting = 2; + public static final int Connected = 3; + public static final int LoggedIn = 4; + public static final int Closing = 5; + + public static final int NoError = 0; + public static final int UnknownError = 1; + public static final int HostNotFound = 2; + public static final int ConnectionRefused = 3; + public static final int NotConnected = 4; + + public static final int None = 0; + public static final int ConnectToHost = 1; + public static final int Login = 2; + public static final int Close = 3; + public static final int List = 4; + public static final int Cd = 5; + public static final int Get = 6; + public static final int Put = 7; + public static final int Remove = 8; + public static final int Mkdir = 9; + public static final int Rmdir = 10; + public static final int Rename = 11; + public static final int RawCommand = 12; + + public native TQMetaObject metaObject(); + public native String className(); + public TQFtp() { + super((Class) null); + newTQFtp(); + } + private native void newTQFtp(); + public TQFtp(TQObject parent, String name) { + super((Class) null); + newTQFtp(parent,name); + } + private native void newTQFtp(TQObject parent, String name); + public TQFtp(TQObject parent) { + super((Class) null); + newTQFtp(parent); + } + private native void newTQFtp(TQObject parent); + public native int supportedOperations(); + public native int connectToHost(String host, short port); + public native int connectToHost(String host); + public native int login(String user, String password); + public native int login(String user); + public native int login(); + public native int close(); + public native int list(String dir); + public native int list(); + public native int cd(String dir); + public native int get(String file, TQIODeviceInterface dev); + public native int get(String file); + public native int put(byte[] data, String file); + public native int put(TQIODeviceInterface dev, String file); + public native int remove(String file); + public native int mkdir(String dir); + public native int rmdir(String dir); + public native int rename(String oldname, String newname); + public native int rawCommand(String command); + public native long bytesAvailable(); + public native long readBlock(StringBuffer data, long maxlen); + public native byte[] readAll(); + public native int currentId(); + public native TQIODeviceInterface currentDevice(); + public native int currentCommand(); + public native boolean hasPendingCommands(); + public native void clearPendingCommands(); + public native int state(); + public native int error(); + public native String errorString(); + public native void abort(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void parseDir(String buffer, TQUrlInfo info); + protected native void operationListChildren(TQNetworkOperation op); + protected native void operationMkDir(TQNetworkOperation op); + protected native void operationRemove(TQNetworkOperation op); + protected native void operationRename(TQNetworkOperation op); + protected native void operationGet(TQNetworkOperation op); + protected native void operationPut(TQNetworkOperation op); + protected native void hostFound(); + protected native void connected(); + protected native void closed(); + protected native void dataHostFound(); + protected native void dataConnected(); + protected native void dataClosed(); + protected native void dataReadyRead(); + protected native void dataBytesWritten(int nbytes); + protected native void error(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/qtjava/javalib/org/kde/qt/TQFtpSignals.java b/qtjava/javalib/org/kde/qt/TQFtpSignals.java new file mode 100644 index 00000000..bba840f4 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQFtpSignals.java @@ -0,0 +1,14 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQFtpSignals { + void stateChanged(int arg1); + void listInfo(TQUrlInfo arg1); + void readyRead(); + void dataTransferProgress(int arg1, int arg2); + void rawCommandReply(int arg1, String arg2); + void commandStarted(int arg1); + void commandFinished(int arg1, boolean arg2); + void done(boolean arg1); +} diff --git a/qtjava/javalib/org/kde/qt/TQGL.java b/qtjava/javalib/org/kde/qt/TQGL.java new file mode 100644 index 00000000..4016591d --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQGL.java @@ -0,0 +1,40 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQGL implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQGL(Class dummy){} + + public static final int DoubleBuffer = 0x0001; + public static final int DepthBuffer = 0x0002; + public static final int Rgba = 0x0004; + public static final int AlphaChannel = 0x0008; + public static final int AccumBuffer = 0x0010; + public static final int StencilBuffer = 0x0020; + public static final int StereoBuffers = 0x0040; + public static final int DirectRendering = 0x0080; + public static final int HasOverlay = 0x0100; + public static final int SingleBuffer = DoubleBuffer<<16; + public static final int NoDepthBuffer = DepthBuffer<<16; + public static final int ColorIndex = Rgba<<16; + public static final int NoAlphaChannel = AlphaChannel<<16; + public static final int NoAccumBuffer = AccumBuffer<<16; + public static final int NoStencilBuffer = StencilBuffer<<16; + public static final int NoStereoBuffers = StereoBuffers<<16; + public static final int IndirectRendering = DirectRendering<<16; + public static final int NoOverlay = HasOverlay<<16; + + public TQGL() { + newTQGL(); + } + private native void newTQGL(); + /** 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/qtjava/javalib/org/kde/qt/TQGLColormap.java b/qtjava/javalib/org/kde/qt/TQGLColormap.java new file mode 100644 index 00000000..72018e14 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQGLColormap.java @@ -0,0 +1,36 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQGLColormap implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQGLColormap(Class dummy){} + + public TQGLColormap() { + newTQGLColormap(); + } + private native void newTQGLColormap(); + public TQGLColormap(TQGLColormap arg1) { + newTQGLColormap(arg1); + } + private native void newTQGLColormap(TQGLColormap arg1); + public native boolean isEmpty(); + public native int size(); + public native void detach(); + public native void setEntries(int count, int[] colors, int base); + public native void setEntries(int count, int[] colors); + public native void setEntry(int idx, int color); + public native void setEntry(int idx, TQColor color); + public native int entryRgb(int idx); + public native TQColor entryColor(int idx); + public native int find(int color); + public native int findNearest(int color); + /** 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/qtjava/javalib/org/kde/qt/TQGLContext.java b/qtjava/javalib/org/kde/qt/TQGLContext.java new file mode 100644 index 00000000..3a8c6058 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQGLContext.java @@ -0,0 +1,49 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQGLContext extends TQGL { + protected TQGLContext(Class dummy){super((Class) null);} + public TQGLContext(TQGLFormat format, TQPaintDeviceInterface device) { + super((Class) null); + newTQGLContext(format,device); + } + private native void newTQGLContext(TQGLFormat format, TQPaintDeviceInterface device); + public TQGLContext(TQGLFormat format) { + super((Class) null); + newTQGLContext(format); + } + private native void newTQGLContext(TQGLFormat format); + public native boolean create(TQGLContext shareContext); + public native boolean create(); + public native boolean isValid(); + public native boolean isSharing(); + public native void reset(); + public native TQGLFormat format(); + public native TQGLFormat requestedFormat(); + public native void setFormat(TQGLFormat format); + public native void makeCurrent(); + public native void swapBuffers(); + public native TQPaintDeviceInterface device(); + public native TQColor overlayTransparentColor(); + public static native TQGLContext currentContext(); + protected native boolean chooseContext(TQGLContext shareContext); + protected native boolean chooseContext(); + protected native void doneCurrent(); + protected native boolean deviceIsPixmap(); + protected native boolean windowCreated(); + protected native void setWindowCreated(boolean on); + protected native boolean initialized(); + protected native void setInitialized(boolean on); + protected native void generateFontDisplayLists(TQFont fnt, int listBase); + protected native int colorIndex(TQColor c); + protected native void setValid(boolean valid); + protected native void setDevice(TQPaintDeviceInterface pDev); + /** 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/qtjava/javalib/org/kde/qt/TQGLFormat.java b/qtjava/javalib/org/kde/qt/TQGLFormat.java new file mode 100644 index 00000000..b975d833 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQGLFormat.java @@ -0,0 +1,57 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQGLFormat extends TQGL { + protected TQGLFormat(Class dummy){super((Class) null);} + public TQGLFormat() { + super((Class) null); + newTQGLFormat(); + } + private native void newTQGLFormat(); + public TQGLFormat(int options, int plane) { + super((Class) null); + newTQGLFormat(options,plane); + } + private native void newTQGLFormat(int options, int plane); + public TQGLFormat(int options) { + super((Class) null); + newTQGLFormat(options); + } + private native void newTQGLFormat(int options); + public native boolean doubleBuffer(); + public native void setDoubleBuffer(boolean enable); + public native boolean depth(); + public native void setDepth(boolean enable); + public native boolean rgba(); + public native void setRgba(boolean enable); + public native boolean alpha(); + public native void setAlpha(boolean enable); + public native boolean accum(); + public native void setAccum(boolean enable); + public native boolean stencil(); + public native void setStencil(boolean enable); + public native boolean stereo(); + public native void setStereo(boolean enable); + public native boolean directRendering(); + public native void setDirectRendering(boolean enable); + public native boolean hasOverlay(); + public native void setOverlay(boolean enable); + public native int plane(); + public native void setPlane(int plane); + public native void setOption(int opt); + public native boolean testOption(int opt); + public static native TQGLFormat defaultFormat(); + public static native void setDefaultFormat(TQGLFormat f); + public static native TQGLFormat defaultOverlayFormat(); + public static native void setDefaultOverlayFormat(TQGLFormat f); + public static native boolean hasOpenGL(); + public static native boolean hasOpenGLOverlays(); + /** 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/qtjava/javalib/org/kde/qt/TQGLWidget.java b/qtjava/javalib/org/kde/qt/TQGLWidget.java new file mode 100644 index 00000000..a7d1fe51 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQGLWidget.java @@ -0,0 +1,136 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQGLWidget extends TQGL { + protected TQGLWidget(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQGLWidget(TQWidget parent, String name, TQGLWidget shareWidget, int f) { + super((Class) null); + newTQGLWidget(parent,name,shareWidget,f); + } + private native void newTQGLWidget(TQWidget parent, String name, TQGLWidget shareWidget, int f); + public TQGLWidget(TQWidget parent, String name, TQGLWidget shareWidget) { + super((Class) null); + newTQGLWidget(parent,name,shareWidget); + } + private native void newTQGLWidget(TQWidget parent, String name, TQGLWidget shareWidget); + public TQGLWidget(TQWidget parent, String name) { + super((Class) null); + newTQGLWidget(parent,name); + } + private native void newTQGLWidget(TQWidget parent, String name); + public TQGLWidget(TQWidget parent) { + super((Class) null); + newTQGLWidget(parent); + } + private native void newTQGLWidget(TQWidget parent); + public TQGLWidget() { + super((Class) null); + newTQGLWidget(); + } + private native void newTQGLWidget(); + public TQGLWidget(TQGLContext context, TQWidget parent, String name, TQGLWidget shareWidget, int f) { + super((Class) null); + newTQGLWidget(context,parent,name,shareWidget,f); + } + private native void newTQGLWidget(TQGLContext context, TQWidget parent, String name, TQGLWidget shareWidget, int f); + public TQGLWidget(TQGLContext context, TQWidget parent, String name, TQGLWidget shareWidget) { + super((Class) null); + newTQGLWidget(context,parent,name,shareWidget); + } + private native void newTQGLWidget(TQGLContext context, TQWidget parent, String name, TQGLWidget shareWidget); + public TQGLWidget(TQGLContext context, TQWidget parent, String name) { + super((Class) null); + newTQGLWidget(context,parent,name); + } + private native void newTQGLWidget(TQGLContext context, TQWidget parent, String name); + public TQGLWidget(TQGLContext context, TQWidget parent) { + super((Class) null); + newTQGLWidget(context,parent); + } + private native void newTQGLWidget(TQGLContext context, TQWidget parent); + public TQGLWidget(TQGLFormat format, TQWidget parent, String name, TQGLWidget shareWidget, int f) { + super((Class) null); + newTQGLWidget(format,parent,name,shareWidget,f); + } + private native void newTQGLWidget(TQGLFormat format, TQWidget parent, String name, TQGLWidget shareWidget, int f); + public TQGLWidget(TQGLFormat format, TQWidget parent, String name, TQGLWidget shareWidget) { + super((Class) null); + newTQGLWidget(format,parent,name,shareWidget); + } + private native void newTQGLWidget(TQGLFormat format, TQWidget parent, String name, TQGLWidget shareWidget); + public TQGLWidget(TQGLFormat format, TQWidget parent, String name) { + super((Class) null); + newTQGLWidget(format,parent,name); + } + private native void newTQGLWidget(TQGLFormat format, TQWidget parent, String name); + public TQGLWidget(TQGLFormat format, TQWidget parent) { + super((Class) null); + newTQGLWidget(format,parent); + } + private native void newTQGLWidget(TQGLFormat format, TQWidget parent); + public TQGLWidget(TQGLFormat format) { + super((Class) null); + newTQGLWidget(format); + } + private native void newTQGLWidget(TQGLFormat format); + public native void qglColor(TQColor c); + public native void qglClearColor(TQColor c); + public native boolean isValid(); + public native boolean isSharing(); + public native void makeCurrent(); + public native void doneCurrent(); + public native boolean doubleBuffer(); + public native void swapBuffers(); + public native TQGLFormat format(); + public native void setFormat(TQGLFormat format); + public native TQGLContext context(); + public native void setContext(TQGLContext context, TQGLContext shareContext, boolean deleteOldContext); + public native void setContext(TQGLContext context, TQGLContext shareContext); + public native void setContext(TQGLContext context); + public native TQPixmap renderPixmap(int w, int h, boolean useContext); + public native TQPixmap renderPixmap(int w, int h); + public native TQPixmap renderPixmap(int w); + public native TQPixmap renderPixmap(); + public native TQImage grabFrameBuffer(boolean withAlpha); + public native TQImage grabFrameBuffer(); + public native void makeOverlayCurrent(); + public native TQGLContext overlayContext(); + public native void setMouseTracking(boolean enable); + public native void reparent(TQWidget parent, int f, TQPoint p, boolean showIt); + public native void reparent(TQWidget parent, int f, TQPoint p); + public native TQGLColormap colormap(); + public native void setColormap(TQGLColormap map); + public native void renderText(int x, int y, String str, TQFont fnt, int listBase); + public native void renderText(int x, int y, String str, TQFont fnt); + public native void renderText(int x, int y, String str); + public native void renderText(double x, double y, double z, String str, TQFont fnt, int listBase); + public native void renderText(double x, double y, double z, String str, TQFont fnt); + public native void renderText(double x, double y, double z, String str); + public native void updateGL(); + public native void updateOverlayGL(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native TQImage convertToGLFormat(TQImage img); + protected native void initializeGL(); + protected native void resizeGL(int w, int h); + protected native void paintGL(); + protected native void initializeOverlayGL(); + protected native void resizeOverlayGL(int w, int h); + protected native void paintOverlayGL(); + protected native void setAutoBufferSwap(boolean on); + protected native boolean autoBufferSwap(); + protected native void paintEvent(TQPaintEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void glInit(); + protected native void glDraw(); + /** 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/qtjava/javalib/org/kde/qt/TQGb18030Codec.java b/qtjava/javalib/org/kde/qt/TQGb18030Codec.java new file mode 100644 index 00000000..b01f1fc7 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQGb18030Codec.java @@ -0,0 +1,26 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQGb18030Codec extends TQTextCodec { + protected TQGb18030Codec(Class dummy){super((Class) null);} + public TQGb18030Codec() { + super((Class) null); + newTQGb18030Codec(); + } + private native void newTQGb18030Codec(); + public native int mibEnum(); + public native String name(); + public native TQTextDecoder makeDecoder(); + public native String fromUnicode(String uc, int[] lenInOut); + public native String toUnicode(String chars, int len); + public native int heuristicContentMatch(String chars, int len); + public native int heuristicNameMatch(String hint); + /** 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/qtjava/javalib/org/kde/qt/TQGbkCodec.java b/qtjava/javalib/org/kde/qt/TQGbkCodec.java new file mode 100644 index 00000000..08def7a2 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQGbkCodec.java @@ -0,0 +1,26 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQGbkCodec extends TQGb18030Codec { + protected TQGbkCodec(Class dummy){super((Class) null);} + public TQGbkCodec() { + super((Class) null); + newTQGbkCodec(); + } + private native void newTQGbkCodec(); + public native int mibEnum(); + public native String name(); + public native TQTextDecoder makeDecoder(); + public native String fromUnicode(String uc, int[] lenInOut); + public native String toUnicode(String chars, int len); + public native int heuristicContentMatch(String chars, int len); + public native int heuristicNameMatch(String hint); + /** 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/qtjava/javalib/org/kde/qt/TQGrid.java b/qtjava/javalib/org/kde/qt/TQGrid.java new file mode 100644 index 00000000..93e1f322 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQGrid.java @@ -0,0 +1,61 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQGrid extends TQFrame { + protected TQGrid(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQGrid(int n, TQWidget parent, String name, int f) { + super((Class) null); + newTQGrid(n,parent,name,f); + } + private native void newTQGrid(int n, TQWidget parent, String name, int f); + public TQGrid(int n, TQWidget parent, String name) { + super((Class) null); + newTQGrid(n,parent,name); + } + private native void newTQGrid(int n, TQWidget parent, String name); + public TQGrid(int n, TQWidget parent) { + super((Class) null); + newTQGrid(n,parent); + } + private native void newTQGrid(int n, TQWidget parent); + public TQGrid(int n) { + super((Class) null); + newTQGrid(n); + } + private native void newTQGrid(int n); + public TQGrid(int n, int orient, TQWidget parent, String name, int f) { + super((Class) null); + newTQGrid(n,orient,parent,name,f); + } + private native void newTQGrid(int n, int orient, TQWidget parent, String name, int f); + public TQGrid(int n, int orient, TQWidget parent, String name) { + super((Class) null); + newTQGrid(n,orient,parent,name); + } + private native void newTQGrid(int n, int orient, TQWidget parent, String name); + public TQGrid(int n, int orient, TQWidget parent) { + super((Class) null); + newTQGrid(n,orient,parent); + } + private native void newTQGrid(int n, int orient, TQWidget parent); + public TQGrid(int n, int orient) { + super((Class) null); + newTQGrid(n,orient); + } + private native void newTQGrid(int n, int orient); + public native void setSpacing(int arg1); + public native TQSize sizeHint(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void frameChanged(); + /** 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/qtjava/javalib/org/kde/qt/TQGridLayout.java b/qtjava/javalib/org/kde/qt/TQGridLayout.java new file mode 100644 index 00000000..de127be3 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQGridLayout.java @@ -0,0 +1,142 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQGridLayout extends TQLayout { + protected TQGridLayout(Class dummy){super((Class) null);} + public static final int TopLeft = 0; + public static final int TopRight = 1; + public static final int BottomLeft = 2; + public static final int BottomRight = 3; + + public native TQMetaObject metaObject(); + public native String className(); + public TQGridLayout(TQWidget parent, int nRows, int nCols, int border, int spacing, String name) { + super((Class) null); + newTQGridLayout(parent,nRows,nCols,border,spacing,name); + } + private native void newTQGridLayout(TQWidget parent, int nRows, int nCols, int border, int spacing, String name); + public TQGridLayout(TQWidget parent, int nRows, int nCols, int border, int spacing) { + super((Class) null); + newTQGridLayout(parent,nRows,nCols,border,spacing); + } + private native void newTQGridLayout(TQWidget parent, int nRows, int nCols, int border, int spacing); + public TQGridLayout(TQWidget parent, int nRows, int nCols, int border) { + super((Class) null); + newTQGridLayout(parent,nRows,nCols,border); + } + private native void newTQGridLayout(TQWidget parent, int nRows, int nCols, int border); + public TQGridLayout(TQWidget parent, int nRows, int nCols) { + super((Class) null); + newTQGridLayout(parent,nRows,nCols); + } + private native void newTQGridLayout(TQWidget parent, int nRows, int nCols); + public TQGridLayout(TQWidget parent, int nRows) { + super((Class) null); + newTQGridLayout(parent,nRows); + } + private native void newTQGridLayout(TQWidget parent, int nRows); + public TQGridLayout(TQWidget parent) { + super((Class) null); + newTQGridLayout(parent); + } + private native void newTQGridLayout(TQWidget parent); + public TQGridLayout(int nRows, int nCols, int spacing, String name) { + super((Class) null); + newTQGridLayout(nRows,nCols,spacing,name); + } + private native void newTQGridLayout(int nRows, int nCols, int spacing, String name); + public TQGridLayout(int nRows, int nCols, int spacing) { + super((Class) null); + newTQGridLayout(nRows,nCols,spacing); + } + private native void newTQGridLayout(int nRows, int nCols, int spacing); + public TQGridLayout(int nRows, int nCols) { + super((Class) null); + newTQGridLayout(nRows,nCols); + } + private native void newTQGridLayout(int nRows, int nCols); + public TQGridLayout(int nRows) { + super((Class) null); + newTQGridLayout(nRows); + } + private native void newTQGridLayout(int nRows); + public TQGridLayout() { + super((Class) null); + newTQGridLayout(); + } + private native void newTQGridLayout(); + public TQGridLayout(TQLayout parentLayout, int nRows, int nCols, int spacing, String name) { + super((Class) null); + newTQGridLayout(parentLayout,nRows,nCols,spacing,name); + } + private native void newTQGridLayout(TQLayout parentLayout, int nRows, int nCols, int spacing, String name); + public TQGridLayout(TQLayout parentLayout, int nRows, int nCols, int spacing) { + super((Class) null); + newTQGridLayout(parentLayout,nRows,nCols,spacing); + } + private native void newTQGridLayout(TQLayout parentLayout, int nRows, int nCols, int spacing); + public TQGridLayout(TQLayout parentLayout, int nRows, int nCols) { + super((Class) null); + newTQGridLayout(parentLayout,nRows,nCols); + } + private native void newTQGridLayout(TQLayout parentLayout, int nRows, int nCols); + public TQGridLayout(TQLayout parentLayout, int nRows) { + super((Class) null); + newTQGridLayout(parentLayout,nRows); + } + private native void newTQGridLayout(TQLayout parentLayout, int nRows); + public TQGridLayout(TQLayout parentLayout) { + super((Class) null); + newTQGridLayout(parentLayout); + } + private native void newTQGridLayout(TQLayout parentLayout); + public native TQSize sizeHint(); + public native TQSize minimumSize(); + public native TQSize maximumSize(); + public native void setRowStretch(int row, int stretch); + public native void setColStretch(int col, int stretch); + public native int rowStretch(int row); + public native int colStretch(int col); + public native void setRowSpacing(int row, int minSize); + public native void setColSpacing(int col, int minSize); + public native int rowSpacing(int row); + public native int colSpacing(int col); + public native int numRows(); + public native int numCols(); + public native TQRect cellGeometry(int row, int col); + public native boolean hasHeightForWidth(); + public native int heightForWidth(int arg1); + public native int minimumHeightForWidth(int arg1); + public native int expanding(); + public native void invalidate(); + public native void addItem(TQLayoutItemInterface arg1); + public native void addItem(TQLayoutItemInterface item, int row, int col); + public native void addMultiCell(TQLayoutItemInterface arg1, int fromRow, int toRow, int fromCol, int toCol, int align); + public native void addMultiCell(TQLayoutItemInterface arg1, int fromRow, int toRow, int fromCol, int toCol); + public native void addWidget(TQWidget arg1, int row, int col, int align); + public native void addWidget(TQWidget arg1, int row, int col); + public native void addMultiCellWidget(TQWidget arg1, int fromRow, int toRow, int fromCol, int toCol, int align); + public native void addMultiCellWidget(TQWidget arg1, int fromRow, int toRow, int fromCol, int toCol); + public native void addLayout(TQLayout layout, int row, int col); + public native void addMultiCellLayout(TQLayout layout, int fromRow, int toRow, int fromCol, int toCol, int align); + public native void addMultiCellLayout(TQLayout layout, int fromRow, int toRow, int fromCol, int toCol); + public native void addRowSpacing(int row, int minsize); + public native void addColSpacing(int col, int minsize); + public native void expand(int rows, int cols); + public native void setOrigin(int arg1); + public native int origin(); + // TQLayoutIterator iterator(); >>>> NOT CONVERTED + public native void setGeometry(TQRect arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native boolean findWidget(TQWidget w, int[] r, int[] c); + protected native void add(TQLayoutItemInterface arg1, int row, int 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/qtjava/javalib/org/kde/qt/TQGridView.java b/qtjava/javalib/org/kde/qt/TQGridView.java new file mode 100644 index 00000000..933ab3c2 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQGridView.java @@ -0,0 +1,29 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQGridView extends TQScrollView { + protected TQGridView(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public native int numRows(); + public native void setNumRows(int arg1); + public native int numCols(); + public native void setNumCols(int arg1); + public native int cellWidth(); + public native void setCellWidth(int arg1); + public native int cellHeight(); + public native void setCellHeight(int arg1); + public native TQRect cellRect(); + public native TQRect cellGeometry(int row, int column); + public native TQSize gridSize(); + public native int rowAt(int y); + public native int columnAt(int x); + public native void repaintCell(int row, int column, boolean erase); + public native void repaintCell(int row, int column); + public native void updateCell(int row, int column); + public native void ensureCellVisible(int row, int column); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); +} diff --git a/qtjava/javalib/org/kde/qt/TQGroupBox.java b/qtjava/javalib/org/kde/qt/TQGroupBox.java new file mode 100644 index 00000000..1f64a1ab --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQGroupBox.java @@ -0,0 +1,109 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQGroupBoxSignals} for signals emitted by TQGroupBox +*/ +public class TQGroupBox extends TQFrame { + protected TQGroupBox(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQGroupBox(TQWidget parent, String name) { + super((Class) null); + newTQGroupBox(parent,name); + } + private native void newTQGroupBox(TQWidget parent, String name); + public TQGroupBox(TQWidget parent) { + super((Class) null); + newTQGroupBox(parent); + } + private native void newTQGroupBox(TQWidget parent); + public TQGroupBox() { + super((Class) null); + newTQGroupBox(); + } + private native void newTQGroupBox(); + public TQGroupBox(String title, TQWidget parent, String name) { + super((Class) null); + newTQGroupBox(title,parent,name); + } + private native void newTQGroupBox(String title, TQWidget parent, String name); + public TQGroupBox(String title, TQWidget parent) { + super((Class) null); + newTQGroupBox(title,parent); + } + private native void newTQGroupBox(String title, TQWidget parent); + public TQGroupBox(String title) { + super((Class) null); + newTQGroupBox(title); + } + private native void newTQGroupBox(String title); + public TQGroupBox(int strips, int o, TQWidget parent, String name) { + super((Class) null); + newTQGroupBox(strips,o,parent,name); + } + private native void newTQGroupBox(int strips, int o, TQWidget parent, String name); + public TQGroupBox(int strips, int o, TQWidget parent) { + super((Class) null); + newTQGroupBox(strips,o,parent); + } + private native void newTQGroupBox(int strips, int o, TQWidget parent); + public TQGroupBox(int strips, int o) { + super((Class) null); + newTQGroupBox(strips,o); + } + private native void newTQGroupBox(int strips, int o); + public TQGroupBox(int strips, int o, String title, TQWidget parent, String name) { + super((Class) null); + newTQGroupBox(strips,o,title,parent,name); + } + private native void newTQGroupBox(int strips, int o, String title, TQWidget parent, String name); + public TQGroupBox(int strips, int o, String title, TQWidget parent) { + super((Class) null); + newTQGroupBox(strips,o,title,parent); + } + private native void newTQGroupBox(int strips, int o, String title, TQWidget parent); + public TQGroupBox(int strips, int o, String title) { + super((Class) null); + newTQGroupBox(strips,o,title); + } + private native void newTQGroupBox(int strips, int o, String title); + public native void setColumnLayout(int strips, int o); + public native String title(); + public native void setTitle(String arg1); + public native int alignment(); + public native void setAlignment(int arg1); + public native int columns(); + public native void setColumns(int arg1); + public native int orientation(); + public native void setOrientation(int arg1); + public native int insideMargin(); + public native int insideSpacing(); + public native void setInsideMargin(int m); + public native void setInsideSpacing(int s); + public native void addSpace(int arg1); + public native TQSize sizeHint(); + public native boolean isFlat(); + public native void setFlat(boolean b); + public native boolean isCheckable(); + public native void setCheckable(boolean b); + public native boolean isChecked(); + public native void setEnabled(boolean on); + public native void setChecked(boolean b); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public native boolean event(TQEvent arg1); + protected native void childEvent(TQChildEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void paintEvent(TQPaintEvent arg1); + protected native void focusInEvent(TQFocusEvent arg1); + protected native void fontChange(TQFont 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/qtjava/javalib/org/kde/qt/TQGroupBoxSignals.java b/qtjava/javalib/org/kde/qt/TQGroupBoxSignals.java new file mode 100644 index 00000000..3670b48c --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQGroupBoxSignals.java @@ -0,0 +1,7 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQGroupBoxSignals { + void toggled(boolean arg1); +} diff --git a/qtjava/javalib/org/kde/qt/TQHBox.java b/qtjava/javalib/org/kde/qt/TQHBox.java new file mode 100644 index 00000000..585406f9 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQHBox.java @@ -0,0 +1,52 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQHBox extends TQFrame { + protected TQHBox(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQHBox(TQWidget parent, String name, int f) { + super((Class) null); + newTQHBox(parent,name,f); + } + private native void newTQHBox(TQWidget parent, String name, int f); + public TQHBox(TQWidget parent, String name) { + super((Class) null); + newTQHBox(parent,name); + } + private native void newTQHBox(TQWidget parent, String name); + public TQHBox(TQWidget parent) { + super((Class) null); + newTQHBox(parent); + } + private native void newTQHBox(TQWidget parent); + public TQHBox() { + super((Class) null); + newTQHBox(); + } + private native void newTQHBox(); + public native void setSpacing(int arg1); + public native boolean setStretchFactor(TQWidget arg1, int stretch); + public native TQSize sizeHint(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public TQHBox(boolean horizontal, TQWidget parent, String name, int f) { + super((Class) null); + newTQHBox(horizontal,parent,name,f); + } + private native void newTQHBox(boolean horizontal, TQWidget parent, String name, int f); + public TQHBox(boolean horizontal, TQWidget parent, String name) { + super((Class) null); + newTQHBox(horizontal,parent,name); + } + private native void newTQHBox(boolean horizontal, TQWidget parent, String name); + protected native void frameChanged(); + /** 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/qtjava/javalib/org/kde/qt/TQHBoxLayout.java b/qtjava/javalib/org/kde/qt/TQHBoxLayout.java new file mode 100644 index 00000000..89ed5fc1 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQHBoxLayout.java @@ -0,0 +1,68 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQHBoxLayout extends TQBoxLayout { + protected TQHBoxLayout(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQHBoxLayout(TQWidget parent, int border, int spacing, String name) { + super((Class) null); + newTQHBoxLayout(parent,border,spacing,name); + } + private native void newTQHBoxLayout(TQWidget parent, int border, int spacing, String name); + public TQHBoxLayout(TQWidget parent, int border, int spacing) { + super((Class) null); + newTQHBoxLayout(parent,border,spacing); + } + private native void newTQHBoxLayout(TQWidget parent, int border, int spacing); + public TQHBoxLayout(TQWidget parent, int border) { + super((Class) null); + newTQHBoxLayout(parent,border); + } + private native void newTQHBoxLayout(TQWidget parent, int border); + public TQHBoxLayout(TQWidget parent) { + super((Class) null); + newTQHBoxLayout(parent); + } + private native void newTQHBoxLayout(TQWidget parent); + public TQHBoxLayout(TQLayout parentLayout, int spacing, String name) { + super((Class) null); + newTQHBoxLayout(parentLayout,spacing,name); + } + private native void newTQHBoxLayout(TQLayout parentLayout, int spacing, String name); + public TQHBoxLayout(TQLayout parentLayout, int spacing) { + super((Class) null); + newTQHBoxLayout(parentLayout,spacing); + } + private native void newTQHBoxLayout(TQLayout parentLayout, int spacing); + public TQHBoxLayout(TQLayout parentLayout) { + super((Class) null); + newTQHBoxLayout(parentLayout); + } + private native void newTQHBoxLayout(TQLayout parentLayout); + public TQHBoxLayout(int spacing, String name) { + super((Class) null); + newTQHBoxLayout(spacing,name); + } + private native void newTQHBoxLayout(int spacing, String name); + public TQHBoxLayout(int spacing) { + super((Class) null); + newTQHBoxLayout(spacing); + } + private native void newTQHBoxLayout(int spacing); + public TQHBoxLayout() { + super((Class) null); + newTQHBoxLayout(); + } + private native void newTQHBoxLayout(); + public static native String tr(String arg1, String arg2); + public static native String tr(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/qtjava/javalib/org/kde/qt/TQHButtonGroup.java b/qtjava/javalib/org/kde/qt/TQHButtonGroup.java new file mode 100644 index 00000000..add098f5 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQHButtonGroup.java @@ -0,0 +1,48 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQHButtonGroup extends TQButtonGroup { + protected TQHButtonGroup(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQHButtonGroup(TQWidget parent, String name) { + super((Class) null); + newTQHButtonGroup(parent,name); + } + private native void newTQHButtonGroup(TQWidget parent, String name); + public TQHButtonGroup(TQWidget parent) { + super((Class) null); + newTQHButtonGroup(parent); + } + private native void newTQHButtonGroup(TQWidget parent); + public TQHButtonGroup() { + super((Class) null); + newTQHButtonGroup(); + } + private native void newTQHButtonGroup(); + public TQHButtonGroup(String title, TQWidget parent, String name) { + super((Class) null); + newTQHButtonGroup(title,parent,name); + } + private native void newTQHButtonGroup(String title, TQWidget parent, String name); + public TQHButtonGroup(String title, TQWidget parent) { + super((Class) null); + newTQHButtonGroup(title,parent); + } + private native void newTQHButtonGroup(String title, TQWidget parent); + public TQHButtonGroup(String title) { + super((Class) null); + newTQHButtonGroup(title); + } + private native void newTQHButtonGroup(String title); + public static native String tr(String arg1, String arg2); + public static native String tr(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/qtjava/javalib/org/kde/qt/TQHGroupBox.java b/qtjava/javalib/org/kde/qt/TQHGroupBox.java new file mode 100644 index 00000000..371d6dc0 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQHGroupBox.java @@ -0,0 +1,48 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQHGroupBox extends TQGroupBox { + protected TQHGroupBox(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQHGroupBox(TQWidget parent, String name) { + super((Class) null); + newTQHGroupBox(parent,name); + } + private native void newTQHGroupBox(TQWidget parent, String name); + public TQHGroupBox(TQWidget parent) { + super((Class) null); + newTQHGroupBox(parent); + } + private native void newTQHGroupBox(TQWidget parent); + public TQHGroupBox() { + super((Class) null); + newTQHGroupBox(); + } + private native void newTQHGroupBox(); + public TQHGroupBox(String title, TQWidget parent, String name) { + super((Class) null); + newTQHGroupBox(title,parent,name); + } + private native void newTQHGroupBox(String title, TQWidget parent, String name); + public TQHGroupBox(String title, TQWidget parent) { + super((Class) null); + newTQHGroupBox(title,parent); + } + private native void newTQHGroupBox(String title, TQWidget parent); + public TQHGroupBox(String title) { + super((Class) null); + newTQHGroupBox(title); + } + private native void newTQHGroupBox(String title); + public static native String tr(String arg1, String arg2); + public static native String tr(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/qtjava/javalib/org/kde/qt/TQHeader.java b/qtjava/javalib/org/kde/qt/TQHeader.java new file mode 100644 index 00000000..94655031 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQHeader.java @@ -0,0 +1,120 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQHeaderSignals} for signals emitted by TQHeader +*/ +public class TQHeader extends TQWidget { + protected TQHeader(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQHeader(TQWidget parent, String name) { + super((Class) null); + newTQHeader(parent,name); + } + private native void newTQHeader(TQWidget parent, String name); + public TQHeader(TQWidget parent) { + super((Class) null); + newTQHeader(parent); + } + private native void newTQHeader(TQWidget parent); + public TQHeader() { + super((Class) null); + newTQHeader(); + } + private native void newTQHeader(); + public TQHeader(int arg1, TQWidget parent, String name) { + super((Class) null); + newTQHeader(arg1,parent,name); + } + private native void newTQHeader(int arg1, TQWidget parent, String name); + public TQHeader(int arg1, TQWidget parent) { + super((Class) null); + newTQHeader(arg1,parent); + } + private native void newTQHeader(int arg1, TQWidget parent); + public TQHeader(int arg1) { + super((Class) null); + newTQHeader(arg1); + } + private native void newTQHeader(int arg1); + public native int addLabel(String arg1, int size); + public native int addLabel(String arg1); + public native int addLabel(TQIconSet arg1, String arg2, int size); + public native int addLabel(TQIconSet arg1, String arg2); + public native void removeLabel(int section); + public native void setLabel(int arg1, String arg2, int size); + public native void setLabel(int arg1, String arg2); + public native void setLabel(int arg1, TQIconSet arg2, String arg3, int size); + public native void setLabel(int arg1, TQIconSet arg2, String arg3); + public native String label(int section); + public native TQIconSet iconSet(int section); + public native void setOrientation(int arg1); + public native int orientation(); + public native void setTracking(boolean enable); + public native boolean tracking(); + public native void setClickEnabled(boolean arg1, int section); + public native void setClickEnabled(boolean arg1); + public native void setResizeEnabled(boolean arg1, int section); + public native void setResizeEnabled(boolean arg1); + public native void setMovingEnabled(boolean arg1); + public native void setStretchEnabled(boolean b, int section); + public native void setStretchEnabled(boolean b); + public native boolean isClickEnabled(int section); + public native boolean isClickEnabled(); + public native boolean isResizeEnabled(int section); + public native boolean isResizeEnabled(); + public native boolean isMovingEnabled(); + public native boolean isStretchEnabled(); + public native boolean isStretchEnabled(int section); + public native void resizeSection(int section, int s); + public native int sectionSize(int section); + public native int sectionPos(int section); + public native int sectionAt(int pos); + public native int count(); + public native int headerWidth(); + public native TQRect sectionRect(int section); + public native void setCellSize(int arg1, int arg2); + public native int cellSize(int i); + public native int cellPos(int arg1); + public native int cellAt(int pos); + public native int offset(); + public native TQSize sizeHint(); + public native int mapToSection(int index); + public native int mapToIndex(int section); + public native int mapToLogical(int arg1); + public native int mapToActual(int arg1); + public native void moveSection(int section, int toIndex); + public native void moveCell(int arg1, int arg2); + public native void setSortIndicator(int section, boolean ascending); + public native void setSortIndicator(int section); + public native void setSortIndicator(int section, int order); + public native int sortIndicatorSection(); + public native int sortIndicatorOrder(); + public native void adjustHeaderSize(); + public native void setUpdatesEnabled(boolean enable); + public native void setOffset(int pos); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void paintEvent(TQPaintEvent arg1); + public native void showEvent(TQShowEvent e); + protected native void resizeEvent(TQResizeEvent e); + protected native TQRect sRect(int index); + protected native void paintSection(TQPainter p, int index, TQRect fr); + protected native void paintSectionLabel(TQPainter p, int index, TQRect fr); + protected native void fontChange(TQFont arg1); + protected native void mousePressEvent(TQMouseEvent arg1); + protected native void mouseReleaseEvent(TQMouseEvent arg1); + protected native void mouseMoveEvent(TQMouseEvent arg1); + protected native void mouseDoubleClickEvent(TQMouseEvent arg1); + protected native void keyPressEvent(TQKeyEvent arg1); + protected native void keyReleaseEvent(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/qtjava/javalib/org/kde/qt/TQHeaderSignals.java b/qtjava/javalib/org/kde/qt/TQHeaderSignals.java new file mode 100644 index 00000000..011edeb3 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQHeaderSignals.java @@ -0,0 +1,14 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQHeaderSignals { + void clicked(int section); + void pressed(int section); + void released(int section); + void sizeChange(int section, int oldSize, int newSize); + void indexChange(int section, int fromIndex, int toIndex); + void sectionClicked(int arg1); + void moved(int arg1, int arg2); + void sectionHandleDoubleClicked(int section); +} diff --git a/qtjava/javalib/org/kde/qt/TQHebrewCodec.java b/qtjava/javalib/org/kde/qt/TQHebrewCodec.java new file mode 100644 index 00000000..e4514056 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQHebrewCodec.java @@ -0,0 +1,25 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQHebrewCodec extends TQTextCodec { + protected TQHebrewCodec(Class dummy){super((Class) null);} + public native int mibEnum(); + public native String name(); + public native String mimeName(); + public native String fromUnicode(String uc, int[] lenInOut); + public native String toUnicode(String chars, int len); + public native int heuristicContentMatch(String chars, int len); + public TQHebrewCodec() { + super((Class) null); + newTQHebrewCodec(); + } + private native void newTQHebrewCodec(); + /** 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/qtjava/javalib/org/kde/qt/TQHideEvent.java b/qtjava/javalib/org/kde/qt/TQHideEvent.java new file mode 100644 index 00000000..1bd256fa --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQHideEvent.java @@ -0,0 +1,19 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQHideEvent extends TQEvent { + protected TQHideEvent(Class dummy){super((Class) null);} + public TQHideEvent() { + super((Class) null); + newTQHideEvent(); + } + private native void newTQHideEvent(); + /** 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/qtjava/javalib/org/kde/qt/TQHostAddress.java b/qtjava/javalib/org/kde/qt/TQHostAddress.java new file mode 100644 index 00000000..edfe3adf --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQHostAddress.java @@ -0,0 +1,50 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQHostAddress implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQHostAddress(Class dummy){} + + public TQHostAddress() { + newTQHostAddress(); + } + private native void newTQHostAddress(); + public TQHostAddress(int ip4Addr) { + newTQHostAddress(ip4Addr); + } + private native void newTQHostAddress(int ip4Addr); + public TQHostAddress(short ip6Addr) { + newTQHostAddress(ip6Addr); + } + private native void newTQHostAddress(short ip6Addr); + // TQHostAddress* TQHostAddress(const Q_IPV6ADDR& arg1); >>>> NOT CONVERTED + public TQHostAddress(String address) { + newTQHostAddress(address); + } + private native void newTQHostAddress(String address); + public TQHostAddress(TQHostAddress arg1) { + newTQHostAddress(arg1); + } + private native void newTQHostAddress(TQHostAddress arg1); + public native void setAddress(int ip4Addr); + public native void setAddress(short ip6Addr); + public native boolean setAddress(String address); + public native boolean isIp4Addr(); + public native int ip4Addr(); + public native boolean isIPv4Address(); + public native int toIPv4Address(); + public native boolean isIPv6Address(); + // Q_IPV6ADDR toIPv6Address(); >>>> NOT CONVERTED + public native String toString(); + public native boolean op_equals(TQHostAddress arg1); + public native boolean isNull(); + /** 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/qtjava/javalib/org/kde/qt/TQHttp.java b/qtjava/javalib/org/kde/qt/TQHttp.java new file mode 100644 index 00000000..a74ea7fa --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQHttp.java @@ -0,0 +1,105 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQHttpSignals} for signals emitted by TQHttp +*/ +public class TQHttp extends TQNetworkProtocol { + protected TQHttp(Class dummy){super((Class) null);} + public static final int Unconnected = 0; + public static final int HostLookup = 1; + public static final int Connecting = 2; + public static final int Sending = 3; + public static final int Reading = 4; + public static final int Connected = 5; + public static final int Closing = 6; + + public static final int NoError = 0; + public static final int UnknownError = 1; + public static final int HostNotFound = 2; + public static final int ConnectionRefused = 3; + public static final int UnexpectedClose = 4; + public static final int InvalidResponseHeader = 5; + public static final int WrongContentLength = 6; + public static final int Aborted = 7; + + public native TQMetaObject metaObject(); + public native String className(); + public TQHttp() { + super((Class) null); + newTQHttp(); + } + private native void newTQHttp(); + public TQHttp(TQObject parent, String name) { + super((Class) null); + newTQHttp(parent,name); + } + private native void newTQHttp(TQObject parent, String name); + public TQHttp(TQObject parent) { + super((Class) null); + newTQHttp(parent); + } + private native void newTQHttp(TQObject parent); + public TQHttp(String hostname, short port, TQObject parent, String name) { + super((Class) null); + newTQHttp(hostname,port,parent,name); + } + private native void newTQHttp(String hostname, short port, TQObject parent, String name); + public TQHttp(String hostname, short port, TQObject parent) { + super((Class) null); + newTQHttp(hostname,port,parent); + } + private native void newTQHttp(String hostname, short port, TQObject parent); + public TQHttp(String hostname, short port) { + super((Class) null); + newTQHttp(hostname,port); + } + private native void newTQHttp(String hostname, short port); + public TQHttp(String hostname) { + super((Class) null); + newTQHttp(hostname); + } + private native void newTQHttp(String hostname); + public native int supportedOperations(); + public native int setHost(String hostname, short port); + public native int setHost(String hostname); + public native int get(String path, TQIODeviceInterface to); + public native int get(String path); + public native int post(String path, TQIODeviceInterface data, TQIODeviceInterface to); + public native int post(String path, TQIODeviceInterface data); + public native int post(String path, byte[] data, TQIODeviceInterface to); + public native int post(String path, byte[] data); + public native int head(String path); + public native int request(TQHttpRequestHeader header, TQIODeviceInterface device, TQIODeviceInterface to); + public native int request(TQHttpRequestHeader header, TQIODeviceInterface device); + public native int request(TQHttpRequestHeader header); + public native int request(TQHttpRequestHeader header, byte[] data, TQIODeviceInterface to); + public native int request(TQHttpRequestHeader header, byte[] data); + public native int closeConnection(); + public native long bytesAvailable(); + public native long readBlock(StringBuffer data, long maxlen); + public native byte[] readAll(); + public native int currentId(); + public native TQIODeviceInterface currentSourceDevice(); + public native TQIODeviceInterface currentDestinationDevice(); + public native TQHttpRequestHeader currentRequest(); + public native boolean hasPendingRequests(); + public native void clearPendingRequests(); + public native int state(); + public native int error(); + public native String errorString(); + public native void abort(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void operationGet(TQNetworkOperation op); + protected native void operationPut(TQNetworkOperation op); + protected native void timerEvent(TQTimerEvent 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/qtjava/javalib/org/kde/qt/TQHttpHeader.java b/qtjava/javalib/org/kde/qt/TQHttpHeader.java new file mode 100644 index 00000000..a1e95d74 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQHttpHeader.java @@ -0,0 +1,27 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +public class TQHttpHeader implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQHttpHeader(Class dummy){} + + public native String value(String key); + public native void setValue(String key, String value); + public native void removeValue(String key); + public native ArrayList keys(); + public native boolean hasKey(String key); + public native boolean hasContentLength(); + public native int contentLength(); + public native void setContentLength(int len); + public native boolean hasContentType(); + public native String contentType(); + public native void setContentType(String type); + public native String toString(); + public native boolean isValid(); + public native int majorVersion(); + public native int minorVersion(); +} diff --git a/qtjava/javalib/org/kde/qt/TQHttpRequestHeader.java b/qtjava/javalib/org/kde/qt/TQHttpRequestHeader.java new file mode 100644 index 00000000..c9757243 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQHttpRequestHeader.java @@ -0,0 +1,53 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQHttpRequestHeader extends TQHttpHeader { + protected TQHttpRequestHeader(Class dummy){super((Class) null);} + public TQHttpRequestHeader() { + super((Class) null); + newTQHttpRequestHeader(); + } + private native void newTQHttpRequestHeader(); + public TQHttpRequestHeader(String method, String path, int majorVer, int minorVer) { + super((Class) null); + newTQHttpRequestHeader(method,path,majorVer,minorVer); + } + private native void newTQHttpRequestHeader(String method, String path, int majorVer, int minorVer); + public TQHttpRequestHeader(String method, String path, int majorVer) { + super((Class) null); + newTQHttpRequestHeader(method,path,majorVer); + } + private native void newTQHttpRequestHeader(String method, String path, int majorVer); + public TQHttpRequestHeader(String method, String path) { + super((Class) null); + newTQHttpRequestHeader(method,path); + } + private native void newTQHttpRequestHeader(String method, String path); + public TQHttpRequestHeader(TQHttpRequestHeader header) { + super((Class) null); + newTQHttpRequestHeader(header); + } + private native void newTQHttpRequestHeader(TQHttpRequestHeader header); + public TQHttpRequestHeader(String str) { + super((Class) null); + newTQHttpRequestHeader(str); + } + private native void newTQHttpRequestHeader(String str); + public native void setRequest(String method, String path, int majorVer, int minorVer); + public native void setRequest(String method, String path, int majorVer); + public native void setRequest(String method, String path); + public native String method(); + public native String path(); + public native int majorVersion(); + public native int minorVersion(); + public native String toString(); + protected native boolean parseLine(String line, int number); + /** 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/qtjava/javalib/org/kde/qt/TQHttpResponseHeader.java b/qtjava/javalib/org/kde/qt/TQHttpResponseHeader.java new file mode 100644 index 00000000..2541e1a6 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQHttpResponseHeader.java @@ -0,0 +1,30 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQHttpResponseHeader extends TQHttpHeader { + protected TQHttpResponseHeader(Class dummy){super((Class) null);} + public TQHttpResponseHeader() { + super((Class) null); + newTQHttpResponseHeader(); + } + private native void newTQHttpResponseHeader(); + public TQHttpResponseHeader(TQHttpResponseHeader header) { + super((Class) null); + newTQHttpResponseHeader(header); + } + private native void newTQHttpResponseHeader(TQHttpResponseHeader header); + public native int statusCode(); + public native String reasonPhrase(); + public native int majorVersion(); + public native int minorVersion(); + public native String toString(); + protected native boolean parseLine(String line, int number); + /** 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/qtjava/javalib/org/kde/qt/TQHttpSignals.java b/qtjava/javalib/org/kde/qt/TQHttpSignals.java new file mode 100644 index 00000000..99662f5f --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQHttpSignals.java @@ -0,0 +1,14 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQHttpSignals { + void stateChanged(int arg1); + void responseHeaderReceived(TQHttpResponseHeader resp); + void readyRead(TQHttpResponseHeader resp); + void dataSendProgress(int arg1, int arg2); + void dataReadProgress(int arg1, int arg2); + void requestStarted(int arg1); + void requestFinished(int arg1, boolean arg2); + void done(boolean arg1); +} diff --git a/qtjava/javalib/org/kde/qt/TQIMEvent.java b/qtjava/javalib/org/kde/qt/TQIMEvent.java new file mode 100644 index 00000000..c40da265 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQIMEvent.java @@ -0,0 +1,25 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQIMEvent extends TQEvent { + protected TQIMEvent(Class dummy){super((Class) null);} + public TQIMEvent(int type, String text, int cursorPosition) { + super((Class) null); + newTQIMEvent(type,text,cursorPosition); + } + private native void newTQIMEvent(int type, String text, int cursorPosition); + public native String text(); + public native int cursorPos(); + public native boolean isAccepted(); + public native void accept(); + public native void ignore(); + public native int selectionLength(); + /** 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/qtjava/javalib/org/kde/qt/TQIODevice.java b/qtjava/javalib/org/kde/qt/TQIODevice.java new file mode 100644 index 00000000..bcb8fafb --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQIODevice.java @@ -0,0 +1,84 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQIODevice implements QtSupport, TQIODeviceInterface { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQIODevice(Class dummy){} + + 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); + public static final int IO_Direct = 0x0100; // direct access device + public static final int IO_Sequential = 0x0200; // sequential access device + public static final int IO_Combined = 0x0300; // combined direct/sequential + public static final int IO_TypeMask = 0x0f00; + +// IO handling modes + + public static final int IO_Raw = 0x0040; // raw access (not buffered) + public static final int IO_Async = 0x0080; // asynchronous mode + +// IO device open modes + + public static final int IO_ReadOnly = 0x0001; // readable device + public static final int IO_WriteOnly = 0x0002; // writable device + public static final int IO_ReadWrite = 0x0003; // read+write device + public static final int IO_Append = 0x0004; // append + public static final int IO_Truncate = 0x0008; // truncate device + public static final int IO_Translate = 0x0010; // translate CR+LF + public static final int IO_ModeMask = 0x00ff; + +// IO device state + + public static final int IO_Open = 0x1000; // device is open + public static final int IO_StateMask = 0xf000; + + +// IO device status + + public static final int IO_Ok = 0; + public static final int IO_ReadError = 1; // read error + public static final int IO_WriteError = 2; // write error + public static final int IO_FatalError = 3; // fatal unrecoverable error + public static final int IO_ResourceError = 4; // resource limitation + public static final int IO_OpenError = 5; // cannot open device + public static final int IO_ConnectError = 5; // cannot connect to device + public static final int IO_AbortError = 6; // abort error + public static final int IO_TimeOutError = 7; // time out + public static final int IO_UnspecifiedError = 8; // unspecified error + +} diff --git a/qtjava/javalib/org/kde/qt/TQIODeviceInterface.java b/qtjava/javalib/org/kde/qt/TQIODeviceInterface.java new file mode 100644 index 00000000..8e9e2aa6 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQIODeviceInterface.java @@ -0,0 +1,40 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQIODeviceInterface { + int flags(); + int mode(); + int state(); + boolean isDirectAccess(); + boolean isSequentialAccess(); + boolean isCombinedAccess(); + boolean isBuffered(); + boolean isRaw(); + boolean isSynchronous(); + boolean isAsynchronous(); + boolean isTranslated(); + boolean isReadable(); + boolean isWritable(); + boolean isReadWrite(); + boolean isInactive(); + boolean isOpen(); + int status(); + void resetStatus(); + boolean open(int mode); + void close(); + void flush(); + long size(); + long at(); + boolean at(long arg1); + boolean atEnd(); + boolean reset(); + long readBlock(StringBuffer data, long maxlen); + long writeBlock(String data, long len); + long readLine(String data, long maxlen); + long writeBlock(byte[] data); + byte[] readAll(); + int getch(); + int putch(int arg1); + int ungetch(int arg1); +} diff --git a/qtjava/javalib/org/kde/qt/TQIODeviceSource.java b/qtjava/javalib/org/kde/qt/TQIODeviceSource.java new file mode 100644 index 00000000..dc819a2f --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQIODeviceSource.java @@ -0,0 +1,29 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQIODeviceSource extends TQDataSource { + protected TQIODeviceSource(Class dummy){super((Class) null);} + public TQIODeviceSource(TQIODeviceInterface arg1, int bufsize) { + super((Class) null); + newTQIODeviceSource(arg1,bufsize); + } + private native void newTQIODeviceSource(TQIODeviceInterface arg1, int bufsize); + public TQIODeviceSource(TQIODeviceInterface arg1) { + super((Class) null); + newTQIODeviceSource(arg1); + } + private native void newTQIODeviceSource(TQIODeviceInterface arg1); + public native int readyToSend(); + public native void sendTo(TQDataSink sink, int n); + public native boolean rewindable(); + public native void enableRewind(boolean on); + public native void rewind(); + /** 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/qtjava/javalib/org/kde/qt/TQIconDrag.java b/qtjava/javalib/org/kde/qt/TQIconDrag.java new file mode 100644 index 00000000..e6c4aaaa --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQIconDrag.java @@ -0,0 +1,32 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQIconDrag extends TQDragObject { + protected TQIconDrag(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQIconDrag(TQWidget dragSource, String name) { + super((Class) null); + newTQIconDrag(dragSource,name); + } + private native void newTQIconDrag(TQWidget dragSource, String name); + public TQIconDrag(TQWidget dragSource) { + super((Class) null); + newTQIconDrag(dragSource); + } + private native void newTQIconDrag(TQWidget dragSource); + public native void append(TQIconDragItem item, TQRect pr, TQRect tr); + public native String format(int i); + public native byte[] encodedData(String mime); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native boolean canDecode(TQMimeSourceInterface 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/qtjava/javalib/org/kde/qt/TQIconDragItem.java b/qtjava/javalib/org/kde/qt/TQIconDragItem.java new file mode 100644 index 00000000..450e341d --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQIconDragItem.java @@ -0,0 +1,24 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQIconDragItem implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQIconDragItem(Class dummy){} + + public TQIconDragItem() { + newTQIconDragItem(); + } + private native void newTQIconDragItem(); + public native byte[] data(); + public native void setData(byte[] d); + public native boolean op_equals(TQIconDragItem 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/qtjava/javalib/org/kde/qt/TQIconSet.java b/qtjava/javalib/org/kde/qt/TQIconSet.java new file mode 100644 index 00000000..01d97baf --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQIconSet.java @@ -0,0 +1,68 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQIconSet implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQIconSet(Class dummy){} + + public static final int Automatic = 0; + public static final int Small = 1; + public static final int Large = 2; + + public static final int Normal = 0; + public static final int Disabled = 1; + public static final int Active = 2; + + public static final int On = 0; + public static final int Off = 1; + + public TQIconSet() { + newTQIconSet(); + } + private native void newTQIconSet(); + public TQIconSet(TQPixmap pixmap, int size) { + newTQIconSet(pixmap,size); + } + private native void newTQIconSet(TQPixmap pixmap, int size); + public TQIconSet(TQPixmap pixmap) { + newTQIconSet(pixmap); + } + private native void newTQIconSet(TQPixmap pixmap); + public TQIconSet(TQPixmap smallPix, TQPixmap largePix) { + newTQIconSet(smallPix,largePix); + } + private native void newTQIconSet(TQPixmap smallPix, TQPixmap largePix); + public TQIconSet(TQIconSet other) { + newTQIconSet(other); + } + private native void newTQIconSet(TQIconSet other); + public native void reset(TQPixmap pixmap, int size); + public native void setPixmap(TQPixmap pixmap, int size, int mode, int state); + public native void setPixmap(TQPixmap pixmap, int size, int mode); + public native void setPixmap(TQPixmap pixmap, int size); + public native void setPixmap(String fileName, int size, int mode, int state); + public native void setPixmap(String fileName, int size, int mode); + public native void setPixmap(String fileName, int size); + public native TQPixmap pixmap(int size, int mode, int state); + public native TQPixmap pixmap(int size, int mode); + public native TQPixmap pixmap(int size, boolean enabled, int state); + public native TQPixmap pixmap(int size, boolean enabled); + public native TQPixmap pixmap(); + public native boolean isGenerated(int size, int mode, int state); + public native boolean isGenerated(int size, int mode); + public native void clearGenerated(); + // void installIconFactory(TQIconFactory* arg1); >>>> NOT CONVERTED + public native boolean isNull(); + public native void detach(); + public static native void setIconSize(int which, TQSize size); + public static native TQSize iconSize(int which); + /** 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/qtjava/javalib/org/kde/qt/TQIconView.java b/qtjava/javalib/org/kde/qt/TQIconView.java new file mode 100644 index 00000000..5bf2ea6e --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQIconView.java @@ -0,0 +1,154 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQIconViewSignals} for signals emitted by TQIconView +*/ +public class TQIconView extends TQScrollView { + protected TQIconView(Class dummy){super((Class) null);} + public static final int Single = 0; + public static final int Multi = 1; + public static final int Extended = 2; + public static final int NoSelection = 3; + + public static final int LeftToRight = 0; + public static final int TopToBottom = 1; + + public static final int Fixed = 0; + public static final int Adjust = 1; + + public static final int Bottom = 0; + public static final int Right = 1; + + public native TQMetaObject metaObject(); + public native String className(); + public TQIconView(TQWidget parent, String name, int f) { + super((Class) null); + newTQIconView(parent,name,f); + } + private native void newTQIconView(TQWidget parent, String name, int f); + public TQIconView(TQWidget parent, String name) { + super((Class) null); + newTQIconView(parent,name); + } + private native void newTQIconView(TQWidget parent, String name); + public TQIconView(TQWidget parent) { + super((Class) null); + newTQIconView(parent); + } + private native void newTQIconView(TQWidget parent); + public TQIconView() { + super((Class) null); + newTQIconView(); + } + private native void newTQIconView(); + public native void insertItem(TQIconViewItem item, TQIconViewItem after); + public native void insertItem(TQIconViewItem item); + public native void takeItem(TQIconViewItem item); + public native int index(TQIconViewItem item); + public native TQIconViewItem firstItem(); + public native TQIconViewItem lastItem(); + public native TQIconViewItem currentItem(); + public native void setCurrentItem(TQIconViewItem item); + public native void setSelected(TQIconViewItem item, boolean s, boolean cb); + public native void setSelected(TQIconViewItem item, boolean s); + public native int count(); + public native void showEvent(TQShowEvent arg1); + public native void setSelectionMode(int m); + public native int selectionMode(); + public native TQIconViewItem findItem(TQPoint pos); + public native TQIconViewItem findItem(String text, int compare); + public native TQIconViewItem findItem(String text); + public native void selectAll(boolean select); + public native void clearSelection(); + public native void invertSelection(); + public native void repaintItem(TQIconViewItem item); + public native void repaintSelectedItems(); + public native void ensureItemVisible(TQIconViewItem item); + public native TQIconViewItem findFirstVisibleItem(TQRect r); + public native TQIconViewItem findLastVisibleItem(TQRect r); + public native void clear(); + public native void setGridX(int rx); + public native void setGridY(int ry); + public native int gridX(); + public native int gridY(); + public native void setSpacing(int sp); + public native int spacing(); + public native void setItemTextPos(int pos); + public native int itemTextPos(); + public native void setItemTextBackground(TQBrush b); + public native TQBrush itemTextBackground(); + public native void setArrangement(int am); + public native int arrangement(); + public native void setResizeMode(int am); + public native int resizeMode(); + public native void setMaxItemWidth(int w); + public native int maxItemWidth(); + public native void setMaxItemTextLength(int w); + public native int maxItemTextLength(); + public native void setAutoArrange(boolean b); + public native boolean autoArrange(); + public native void setShowToolTips(boolean b); + public native boolean showToolTips(); + public native void setSorting(boolean sort, boolean ascending); + public native void setSorting(boolean sort); + public native boolean sortOnInsert(); + public native boolean sortDirection(); + public native void setItemsMovable(boolean b); + public native boolean itemsMovable(); + public native void setWordWrapIconText(boolean b); + public native boolean wordWrapIconText(); + public native boolean eventFilter(TQObject o, TQEvent arg2); + public native TQSize minimumSizeHint(); + public native TQSize sizeHint(); + public native void sort(boolean ascending); + public native void sort(); + public native void setFont(TQFont arg1); + public native void setPalette(TQPalette arg1); + public native boolean isRenaming(); + public native void arrangeItemsInGrid(TQSize grid, boolean update); + public native void arrangeItemsInGrid(TQSize grid); + public native void arrangeItemsInGrid(boolean update); + public native void arrangeItemsInGrid(); + public native void setContentsPos(int x, int y); + public native void updateContents(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void drawContents(TQPainter p, int cx, int cy, int cw, int ch); + protected native void contentsMousePressEvent(TQMouseEvent e); + protected native void contentsMouseReleaseEvent(TQMouseEvent e); + protected native void contentsMouseMoveEvent(TQMouseEvent e); + protected native void contentsMouseDoubleClickEvent(TQMouseEvent e); + protected native void contentsContextMenuEvent(TQContextMenuEvent e); + protected native void contentsDragEnterEvent(TQDragEnterEvent e); + protected native void contentsDragMoveEvent(TQDragMoveEvent e); + protected native void contentsDragLeaveEvent(TQDragLeaveEvent e); + protected native void contentsDropEvent(TQDropEvent e); + protected native void resizeEvent(TQResizeEvent e); + protected native void keyPressEvent(TQKeyEvent e); + protected native void focusInEvent(TQFocusEvent e); + protected native void focusOutEvent(TQFocusEvent e); + protected native void enterEvent(TQEvent e); + protected native void drawRubber(TQPainter p); + protected native TQDragObject dragObject(); + protected native void startDrag(); + protected native void insertInGrid(TQIconViewItem item); + protected native void drawBackground(TQPainter p, TQRect r); + protected native void emitSelectionChanged(TQIconViewItem i); + protected native void emitSelectionChanged(); + protected native void emitRenamed(TQIconViewItem item); + protected native TQIconViewItem makeRowLayout(TQIconViewItem begin, int[] y, boolean changed); + public native void styleChange(TQStyle arg1); + protected native void windowActivationChange(boolean arg1); + protected native void doAutoScroll(); + protected native void adjustItems(); + protected native void slotUpdate(); + /** 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/qtjava/javalib/org/kde/qt/TQIconViewItem.java b/qtjava/javalib/org/kde/qt/TQIconViewItem.java new file mode 100644 index 00000000..fd90894f --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQIconViewItem.java @@ -0,0 +1,116 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQIconViewItem extends Qt { + protected TQIconViewItem(Class dummy){super((Class) null);} + public TQIconViewItem(TQIconView parent) { + super((Class) null); + newTQIconViewItem(parent); + } + private native void newTQIconViewItem(TQIconView parent); + public TQIconViewItem(TQIconView parent, TQIconViewItem after) { + super((Class) null); + newTQIconViewItem(parent,after); + } + private native void newTQIconViewItem(TQIconView parent, TQIconViewItem after); + public TQIconViewItem(TQIconView parent, String text) { + super((Class) null); + newTQIconViewItem(parent,text); + } + private native void newTQIconViewItem(TQIconView parent, String text); + public TQIconViewItem(TQIconView parent, TQIconViewItem after, String text) { + super((Class) null); + newTQIconViewItem(parent,after,text); + } + private native void newTQIconViewItem(TQIconView parent, TQIconViewItem after, String text); + public TQIconViewItem(TQIconView parent, String text, TQPixmap icon) { + super((Class) null); + newTQIconViewItem(parent,text,icon); + } + private native void newTQIconViewItem(TQIconView parent, String text, TQPixmap icon); + public TQIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPixmap icon) { + super((Class) null); + newTQIconViewItem(parent,after,text,icon); + } + private native void newTQIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPixmap icon); + public TQIconViewItem(TQIconView parent, String text, TQPicture picture) { + super((Class) null); + newTQIconViewItem(parent,text,picture); + } + private native void newTQIconViewItem(TQIconView parent, String text, TQPicture picture); + public TQIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPicture picture) { + super((Class) null); + newTQIconViewItem(parent,after,text,picture); + } + private native void newTQIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPicture picture); + public native void setRenameEnabled(boolean allow); + public native void setDragEnabled(boolean allow); + public native void setDropEnabled(boolean allow); + public native String text(); + public native TQPixmap pixmap(); + public native TQPicture picture(); + public native String key(); + public native boolean renameEnabled(); + public native boolean dragEnabled(); + public native boolean dropEnabled(); + public native TQIconView iconView(); + public native TQIconViewItem prevItem(); + public native TQIconViewItem nextItem(); + public native int index(); + public native void setSelected(boolean s, boolean cb); + public native void setSelected(boolean s); + public native void setSelectable(boolean s); + public native boolean isSelected(); + public native boolean isSelectable(); + public native void repaint(); + public native boolean move(int x, int y); + public native void moveBy(int dx, int dy); + public native boolean move(TQPoint pnt); + public native void moveBy(TQPoint pnt); + public native TQRect rect(); + public native int x(); + public native int y(); + public native int width(); + public native int height(); + public native TQSize size(); + public native TQPoint pos(); + public native TQRect textRect(boolean relative); + public native TQRect textRect(); + public native TQRect pixmapRect(boolean relative); + public native TQRect pixmapRect(); + public native boolean contains(TQPoint pnt); + public native boolean intersects(TQRect r); + public native boolean acceptDrop(TQMimeSourceInterface mime); + public native void rename(); + public native int compare(TQIconViewItem i); + public native void setText(String text); + public native void setPixmap(TQPixmap icon); + public native void setPicture(TQPicture icon); + public native void setText(String text, boolean recalc, boolean redraw); + public native void setText(String text, boolean recalc); + public native void setPixmap(TQPixmap icon, boolean recalc, boolean redraw); + public native void setPixmap(TQPixmap icon, boolean recalc); + public native void setKey(String k); + public native int rtti(); + protected native void removeRenameBox(); + protected native void calcRect(String text_); + protected native void calcRect(); + protected native void paintItem(TQPainter p, TQColorGroup cg); + protected native void paintFocus(TQPainter p, TQColorGroup cg); + // void dropped(TQDropEvent* arg1,const TQValueList& arg2); >>>> NOT CONVERTED + protected native void dragEntered(); + protected native void dragLeft(); + protected native void setItemRect(TQRect r); + protected native void setTextRect(TQRect r); + protected native void setPixmapRect(TQRect r); + protected native void calcTmpText(); + protected native String tempText(); + /** 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/qtjava/javalib/org/kde/qt/TQIconViewSignals.java b/qtjava/javalib/org/kde/qt/TQIconViewSignals.java new file mode 100644 index 00000000..f54e07b8 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQIconViewSignals.java @@ -0,0 +1,26 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQIconViewSignals { + void selectionChanged(); + void selectionChanged(TQIconViewItem item); + void currentChanged(TQIconViewItem item); + void clicked(TQIconViewItem arg1); + void clicked(TQIconViewItem arg1, TQPoint arg2); + void pressed(TQIconViewItem arg1); + void pressed(TQIconViewItem arg1, TQPoint arg2); + void doubleClicked(TQIconViewItem item); + void returnPressed(TQIconViewItem item); + void rightButtonClicked(TQIconViewItem item, TQPoint pos); + void rightButtonPressed(TQIconViewItem item, TQPoint pos); + void mouseButtonPressed(int button, TQIconViewItem item, TQPoint pos); + void mouseButtonClicked(int button, TQIconViewItem item, TQPoint pos); + void contextMenuRequested(TQIconViewItem item, TQPoint pos); + // void dropped(TQDropEvent* arg1,const TQValueList& arg2); >>>> NOT CONVERTED + void moved(); + void onItem(TQIconViewItem item); + void onViewport(); + void itemRenamed(TQIconViewItem item, String arg2); + void itemRenamed(TQIconViewItem item); +} diff --git a/qtjava/javalib/org/kde/qt/TQImage.java b/qtjava/javalib/org/kde/qt/TQImage.java new file mode 100644 index 00000000..f6821a5a --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQImage.java @@ -0,0 +1,171 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +public class TQImage implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQImage(Class dummy){} + + public static final int IgnoreEndian = 0; + public static final int BigEndian = 1; + public static final int LittleEndian = 2; + + public static final int ScaleFree = 0; + public static final int ScaleMin = 1; + public static final int ScaleMax = 2; + + public TQImage() { + newTQImage(); + } + private native void newTQImage(); + public TQImage(int width, int height, int depth, int numColors, int bitOrder) { + newTQImage(width,height,depth,numColors,bitOrder); + } + private native void newTQImage(int width, int height, int depth, int numColors, int bitOrder); + public TQImage(int width, int height, int depth, int numColors) { + newTQImage(width,height,depth,numColors); + } + private native void newTQImage(int width, int height, int depth, int numColors); + public TQImage(int width, int height, int depth) { + newTQImage(width,height,depth); + } + private native void newTQImage(int width, int height, int depth); + public TQImage(TQSize arg1, int depth, int numColors, int bitOrder) { + newTQImage(arg1,depth,numColors,bitOrder); + } + private native void newTQImage(TQSize arg1, int depth, int numColors, int bitOrder); + public TQImage(TQSize arg1, int depth, int numColors) { + newTQImage(arg1,depth,numColors); + } + private native void newTQImage(TQSize arg1, int depth, int numColors); + public TQImage(TQSize arg1, int depth) { + newTQImage(arg1,depth); + } + private native void newTQImage(TQSize arg1, int depth); + public TQImage(String fileName, String format) { + newTQImage(fileName,format); + } + private native void newTQImage(String fileName, String format); + public TQImage(String fileName) { + newTQImage(fileName); + } + private native void newTQImage(String fileName); + // TQImage* TQImage(const char** arg1); >>>> NOT CONVERTED + public TQImage(byte[] data) { + newTQImage(data); + } + private native void newTQImage(byte[] data); + public TQImage(char[] data, int w, int h, int depth, int[] colortable, int numColors, int bitOrder) { + newTQImage(data,w,h,depth,colortable,numColors,bitOrder); + } + private native void newTQImage(char[] data, int w, int h, int depth, int[] colortable, int numColors, int bitOrder); + public TQImage(TQImage arg1) { + newTQImage(arg1); + } + private native void newTQImage(TQImage arg1); + public native boolean op_equals(TQImage arg1); + public native boolean op_not_equals(TQImage arg1); + public native void detach(); + public native TQImage copy(); + public native TQImage copy(int x, int y, int w, int h, int conversion_flags); + public native TQImage copy(int x, int y, int w, int h); + public native TQImage copy(TQRect arg1); + public native boolean isNull(); + public native int width(); + public native int height(); + public native TQSize size(); + public native TQRect rect(); + public native int depth(); + public native int numColors(); + public native int bitOrder(); + public native int color(int i); + public native void setColor(int i, int c); + public native void setNumColors(int arg1); + public native boolean hasAlphaBuffer(); + public native void setAlphaBuffer(boolean arg1); + public native boolean allGray(); + public native boolean isGrayscale(); + public native byte[] bits(); + public native byte[] scanLine(int arg1); + public native ArrayList jumpTable(); + public native int[] colorTable(); + public native int numBytes(); + public native int bytesPerLine(); + public native boolean create(int width, int height, int depth, int numColors, int bitOrder); + public native boolean create(int width, int height, int depth, int numColors); + public native boolean create(int width, int height, int depth); + public native boolean create(TQSize arg1, int depth, int numColors, int bitOrder); + public native boolean create(TQSize arg1, int depth, int numColors); + public native boolean create(TQSize arg1, int depth); + public native void reset(); + public native void fill(int pixel); + public native void invertPixels(boolean invertAlpha); + public native void invertPixels(); + public native TQImage convertDepth(int arg1); + public native TQImage convertDepthWithPalette(int arg1, int[] p, int pc, int cf); + public native TQImage convertDepthWithPalette(int arg1, int[] p, int pc); + public native TQImage convertDepth(int arg1, int conversion_flags); + public native TQImage convertBitOrder(int arg1); + public native TQImage smoothScale(int w, int h, int mode); + public native TQImage smoothScale(int w, int h); + public native TQImage smoothScale(TQSize s, int mode); + public native TQImage smoothScale(TQSize s); + public native TQImage scale(int w, int h, int mode); + public native TQImage scale(int w, int h); + public native TQImage scale(TQSize s, int mode); + public native TQImage scale(TQSize s); + public native TQImage scaleWidth(int w); + public native TQImage scaleHeight(int h); + public native Object xForm(TQWMatrix matrix); + public native TQImage createAlphaMask(int conversion_flags); + public native TQImage createAlphaMask(); + public native TQImage createHeuristicMask(boolean clipTight); + public native TQImage createHeuristicMask(); + public native TQImage mirror(); + public native TQImage mirror(boolean horizontally, boolean vertically); + public native TQImage swapRGB(); + public native boolean load(String fileName, String format); + public native boolean load(String fileName); + public native boolean loadFromData(char[] buf, int len, String format); + public native boolean loadFromData(char[] buf, int len); + public native boolean loadFromData(byte[] data, String format); + public native boolean loadFromData(byte[] data); + public native boolean save(String fileName, String format, int quality); + public native boolean save(String fileName, String format); + public native boolean save(TQIODeviceInterface device, String format, int quality); + public native boolean save(TQIODeviceInterface device, String format); + public native boolean valid(int x, int y); + public native int pixelIndex(int x, int y); + public native int pixel(int x, int y); + public native void setPixel(int x, int y, int index_or_rgb); + public native int dotsPerMeterX(); + public native int dotsPerMeterY(); + public native void setDotsPerMeterX(int arg1); + public native void setDotsPerMeterY(int arg1); + public native TQPoint offset(); + public native void setOffset(TQPoint arg1); + // TQValueList textList(); >>>> NOT CONVERTED + public native ArrayList textLanguages(); + public native ArrayList textKeys(); + public native String text(String key, String lang); + public native String text(String key); + public native String text(TQImageTextKeyLang arg1); + public native void setText(String key, String lang, String arg3); + public static native TQImage fromMimeSource(String abs_name); + public static native int systemBitOrder(); + public static native int systemByteOrder(); + public static native String imageFormat(String fileName); + public static native ArrayList inputFormats(); + public static native ArrayList outputFormats(); + public static native ArrayList inputFormatList(); + public static native ArrayList outputFormatList(); + /** 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/qtjava/javalib/org/kde/qt/TQImageConsumer.java b/qtjava/javalib/org/kde/qt/TQImageConsumer.java new file mode 100644 index 00000000..86c85eb4 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQImageConsumer.java @@ -0,0 +1,18 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQImageConsumer implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQImageConsumer(Class dummy){} + + public native void end(); + public native void changed(TQRect arg1); + public native void frameDone(); + public native void frameDone(TQPoint arg1, TQRect arg2); + public native void setLooping(int arg1); + public native void setFramePeriod(int arg1); + public native void setSize(int arg1, int arg2); +} diff --git a/qtjava/javalib/org/kde/qt/TQImageDecoder.java b/qtjava/javalib/org/kde/qt/TQImageDecoder.java new file mode 100644 index 00000000..6eb34fec --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQImageDecoder.java @@ -0,0 +1,29 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +public class TQImageDecoder implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQImageDecoder(Class dummy){} + + public TQImageDecoder(TQImageConsumer c) { + newTQImageDecoder(c); + } + private native void newTQImageDecoder(TQImageConsumer c); + public native TQImage image(); + public native int decode(char[] buffer, int length); + public static native String formatName(char[] buffer, int length); + public static native TQImageFormatType format(String name); + public static native ArrayList inputFormats(); + public static native void registerDecoderFactory(TQImageFormatType arg1); + public static native void unregisterDecoderFactory(TQImageFormatType 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/qtjava/javalib/org/kde/qt/TQImageDrag.java b/qtjava/javalib/org/kde/qt/TQImageDrag.java new file mode 100644 index 00000000..71c39b4c --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQImageDrag.java @@ -0,0 +1,54 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQImageDrag extends TQDragObject { + protected TQImageDrag(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQImageDrag(TQImage image, TQWidget dragSource, String name) { + super((Class) null); + newTQImageDrag(image,dragSource,name); + } + private native void newTQImageDrag(TQImage image, TQWidget dragSource, String name); + public TQImageDrag(TQImage image, TQWidget dragSource) { + super((Class) null); + newTQImageDrag(image,dragSource); + } + private native void newTQImageDrag(TQImage image, TQWidget dragSource); + public TQImageDrag(TQImage image) { + super((Class) null); + newTQImageDrag(image); + } + private native void newTQImageDrag(TQImage image); + public TQImageDrag(TQWidget dragSource, String name) { + super((Class) null); + newTQImageDrag(dragSource,name); + } + private native void newTQImageDrag(TQWidget dragSource, String name); + public TQImageDrag(TQWidget dragSource) { + super((Class) null); + newTQImageDrag(dragSource); + } + private native void newTQImageDrag(TQWidget dragSource); + public TQImageDrag() { + super((Class) null); + newTQImageDrag(); + } + private native void newTQImageDrag(); + public native void setImage(TQImage image); + public native String format(int i); + public native byte[] encodedData(String arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native boolean canDecode(TQMimeSourceInterface e); + public static native boolean decode(TQMimeSourceInterface e, TQImage i); + public static native boolean decode(TQMimeSourceInterface e, TQPixmap i); + /** 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/qtjava/javalib/org/kde/qt/TQImageFormat.java b/qtjava/javalib/org/kde/qt/TQImageFormat.java new file mode 100644 index 00000000..3f3bfc08 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQImageFormat.java @@ -0,0 +1,12 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQImageFormat implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQImageFormat(Class dummy){} + + public native int decode(TQImage img, TQImageConsumer consumer, char[] buffer, int length); +} diff --git a/qtjava/javalib/org/kde/qt/TQImageFormatType.java b/qtjava/javalib/org/kde/qt/TQImageFormatType.java new file mode 100644 index 00000000..3044ed29 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQImageFormatType.java @@ -0,0 +1,13 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQImageFormatType implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQImageFormatType(Class dummy){} + + public native TQImageFormat decoderFor(char[] buffer, int length); + public native String formatName(); +} diff --git a/qtjava/javalib/org/kde/qt/TQImageIO.java b/qtjava/javalib/org/kde/qt/TQImageIO.java new file mode 100644 index 00000000..9fdd5499 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQImageIO.java @@ -0,0 +1,54 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +public class TQImageIO implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQImageIO(Class dummy){} + + public TQImageIO() { + newTQImageIO(); + } + private native void newTQImageIO(); + public TQImageIO(TQIODeviceInterface ioDevice, String format) { + newTQImageIO(ioDevice,format); + } + private native void newTQImageIO(TQIODeviceInterface ioDevice, String format); + public TQImageIO(String fileName, String format) { + newTQImageIO(fileName,format); + } + private native void newTQImageIO(String fileName, String format); + public native TQImage image(); + public native int status(); + public native String format(); + public native TQIODeviceInterface ioDevice(); + public native String fileName(); + public native int quality(); + public native String description(); + public native String parameters(); + public native float gamma(); + public native void setImage(TQImage arg1); + public native void setStatus(int arg1); + public native void setFormat(String arg1); + public native void setIODevice(TQIODeviceInterface arg1); + public native void setFileName(String arg1); + public native void setQuality(int arg1); + public native void setDescription(String arg1); + public native void setParameters(String arg1); + public native void setGamma(float arg1); + public native boolean read(); + public native boolean write(); + public static native String imageFormat(String fileName); + public static native String imageFormat(TQIODeviceInterface arg1); + public static native ArrayList inputFormats(); + public static native ArrayList outputFormats(); + /** 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/qtjava/javalib/org/kde/qt/TQImageTextKeyLang.java b/qtjava/javalib/org/kde/qt/TQImageTextKeyLang.java new file mode 100644 index 00000000..e89d1f1d --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQImageTextKeyLang.java @@ -0,0 +1,27 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQImageTextKeyLang implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQImageTextKeyLang(Class dummy){} + + public TQImageTextKeyLang(String k, String l) { + newTQImageTextKeyLang(k,l); + } + private native void newTQImageTextKeyLang(String k, String l); + public TQImageTextKeyLang() { + newTQImageTextKeyLang(); + } + private native void newTQImageTextKeyLang(); + public native boolean op_lt(TQImageTextKeyLang other); + public native boolean op_equals(TQImageTextKeyLang other); + /** 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/qtjava/javalib/org/kde/qt/TQInputDialog.java b/qtjava/javalib/org/kde/qt/TQInputDialog.java new file mode 100644 index 00000000..43e104e7 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQInputDialog.java @@ -0,0 +1,40 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQInputDialog extends TQDialog { + protected TQInputDialog(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native String getText(String caption, String label, int echo, String text, boolean[] ok, TQWidget parent, String name); + public static native String getText(String caption, String label, int echo, String text, boolean[] ok, TQWidget parent); + public static native String getText(String caption, String label, int echo, String text, boolean[] ok); + public static native String getText(String caption, String label, int echo, String text); + public static native String getText(String caption, String label, int echo); + public static native String getText(String caption, String label); + public static native int getInteger(String caption, String label, int value, int minValue, int maxValue, int step, boolean[] ok, TQWidget parent, String name); + public static native int getInteger(String caption, String label, int value, int minValue, int maxValue, int step, boolean[] ok, TQWidget parent); + public static native int getInteger(String caption, String label, int value, int minValue, int maxValue, int step, boolean[] ok); + public static native int getInteger(String caption, String label, int value, int minValue, int maxValue, int step); + public static native int getInteger(String caption, String label, int value, int minValue, int maxValue); + public static native int getInteger(String caption, String label, int value, int minValue); + public static native int getInteger(String caption, String label, int value); + public static native int getInteger(String caption, String label); + public static native double getDouble(String caption, String label, double value, double minValue, double maxValue, int decimals, boolean[] ok, TQWidget parent, String name); + public static native double getDouble(String caption, String label, double value, double minValue, double maxValue, int decimals, boolean[] ok, TQWidget parent); + public static native double getDouble(String caption, String label, double value, double minValue, double maxValue, int decimals, boolean[] ok); + public static native double getDouble(String caption, String label, double value, double minValue, double maxValue, int decimals); + public static native double getDouble(String caption, String label, double value, double minValue, double maxValue); + public static native double getDouble(String caption, String label, double value, double minValue); + public static native double getDouble(String caption, String label, double value); + public static native double getDouble(String caption, String label); + public static native String getItem(String caption, String label, String[] list, int current, boolean editable, boolean[] ok, TQWidget parent, String name); + public static native String getItem(String caption, String label, String[] list, int current, boolean editable, boolean[] ok, TQWidget parent); + public static native String getItem(String caption, String label, String[] list, int current, boolean editable, boolean[] ok); + public static native String getItem(String caption, String label, String[] list, int current, boolean editable); + public static native String getItem(String caption, String label, String[] list, int current); + public static native String getItem(String caption, String label, String[] list); +} diff --git a/qtjava/javalib/org/kde/qt/TQIntValidator.java b/qtjava/javalib/org/kde/qt/TQIntValidator.java new file mode 100644 index 00000000..73b03fce --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQIntValidator.java @@ -0,0 +1,44 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQIntValidator extends TQValidator { + protected TQIntValidator(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQIntValidator(TQObject parent, String name) { + super((Class) null); + newTQIntValidator(parent,name); + } + private native void newTQIntValidator(TQObject parent, String name); + public TQIntValidator(TQObject parent) { + super((Class) null); + newTQIntValidator(parent); + } + private native void newTQIntValidator(TQObject parent); + public TQIntValidator(int bottom, int top, TQObject parent, String name) { + super((Class) null); + newTQIntValidator(bottom,top,parent,name); + } + private native void newTQIntValidator(int bottom, int top, TQObject parent, String name); + public TQIntValidator(int bottom, int top, TQObject parent) { + super((Class) null); + newTQIntValidator(bottom,top,parent); + } + private native void newTQIntValidator(int bottom, int top, TQObject parent); + public native int validate(StringBuffer arg1, int[] arg2); + public native void setBottom(int arg1); + public native void setTop(int arg1); + public native void setRange(int bottom, int top); + public native int bottom(); + public native int top(); + public static native String tr(String arg1, String arg2); + public static native String tr(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/qtjava/javalib/org/kde/qt/TQJisCodec.java b/qtjava/javalib/org/kde/qt/TQJisCodec.java new file mode 100644 index 00000000..eb29d653 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQJisCodec.java @@ -0,0 +1,27 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQJisCodec extends TQTextCodec { + protected TQJisCodec(Class dummy){super((Class) null);} + public native int mibEnum(); + public native String name(); + public native String mimeName(); + public native TQTextDecoder makeDecoder(); + public native String fromUnicode(String uc, int[] lenInOut); + public native String toUnicode(String chars, int len); + public native int heuristicContentMatch(String chars, int len); + public native int heuristicNameMatch(String hint); + public TQJisCodec() { + super((Class) null); + newTQJisCodec(); + } + private native void newTQJisCodec(); + /** 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/qtjava/javalib/org/kde/qt/TQJpUnicodeConv.java b/qtjava/javalib/org/kde/qt/TQJpUnicodeConv.java new file mode 100644 index 00000000..62c990f8 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQJpUnicodeConv.java @@ -0,0 +1,62 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQJpUnicodeConv implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQJpUnicodeConv(Class dummy){} + + public static final int Default = 0x0000; + public static final int Unicode = 0x0001; + public static final int Unicode_JISX0201 = 0x0001; + public static final int Unicode_ASCII = 0x0002; + public static final int JISX0221_JISX0201 = 0x0003; + public static final int JISX0221_ASCII = 0x0004; + public static final int Sun_JDK117 = 0x0005; + public static final int Microsoft_CP932 = 0x0006; + public static final int NEC_VDC = 0x0100; + public static final int UDC = 0x0200; + public static final int IBM_VDC = 0x0400; + + public native int asciiToUnicode(int h, int l); + public native int jisx0201ToUnicode(int h, int l); + public native int jisx0201LatinToUnicode(int h, int l); + public native int jisx0201KanaToUnicode(int h, int l); + public native int jisx0208ToUnicode(int h, int l); + public native int jisx0212ToUnicode(int h, int l); + public native int asciiToUnicode(int ascii); + public native int jisx0201ToUnicode(int jis); + public native int jisx0201LatinToUnicode(int jis); + public native int jisx0201KanaToUnicode(int jis); + public native int jisx0208ToUnicode(int jis); + public native int jisx0212ToUnicode(int jis); + public native int unicodeToAscii(int h, int l); + public native int unicodeToJisx0201(int h, int l); + public native int unicodeToJisx0201Latin(int h, int l); + public native int unicodeToJisx0201Kana(int h, int l); + public native int unicodeToJisx0208(int h, int l); + public native int unicodeToJisx0212(int h, int l); + public native int unicodeToAscii(int unicode); + public native int unicodeToJisx0201(int unicode); + public native int unicodeToJisx0201Latin(int unicode); + public native int unicodeToJisx0201Kana(int unicode); + public native int unicodeToJisx0208(int unicode); + public native int unicodeToJisx0212(int unicode); + public native int sjisToUnicode(int h, int l); + public native int unicodeToSjis(int h, int l); + public native int sjisToUnicode(int sjis); + public native int unicodeToSjis(int unicode); + public static native TQJpUnicodeConv newConverter(int rule); + public TQJpUnicodeConv(int r) { + newTQJpUnicodeConv(r); + } + private native void newTQJpUnicodeConv(int r); + /** 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/qtjava/javalib/org/kde/qt/TQKeyEvent.java b/qtjava/javalib/org/kde/qt/TQKeyEvent.java new file mode 100644 index 00000000..50015bfc --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQKeyEvent.java @@ -0,0 +1,44 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQKeyEvent extends TQEvent { + protected TQKeyEvent(Class dummy){super((Class) null);} + public TQKeyEvent(int type, int key, int ascii, int state, String text, boolean autorep, short count) { + super((Class) null); + newTQKeyEvent(type,key,ascii,state,text,autorep,count); + } + private native void newTQKeyEvent(int type, int key, int ascii, int state, String text, boolean autorep, short count); + public TQKeyEvent(int type, int key, int ascii, int state, String text, boolean autorep) { + super((Class) null); + newTQKeyEvent(type,key,ascii,state,text,autorep); + } + private native void newTQKeyEvent(int type, int key, int ascii, int state, String text, boolean autorep); + public TQKeyEvent(int type, int key, int ascii, int state, String text) { + super((Class) null); + newTQKeyEvent(type,key,ascii,state,text); + } + private native void newTQKeyEvent(int type, int key, int ascii, int state, String text); + public TQKeyEvent(int type, int key, int ascii, int state) { + super((Class) null); + newTQKeyEvent(type,key,ascii,state); + } + private native void newTQKeyEvent(int type, int key, int ascii, int state); + public native int key(); + public native int ascii(); + public native int state(); + public native int stateAfter(); + public native boolean isAccepted(); + public native String text(); + public native boolean isAutoRepeat(); + public native int count(); + public native void accept(); + public native void ignore(); + /** 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/qtjava/javalib/org/kde/qt/TQKeySequence.java b/qtjava/javalib/org/kde/qt/TQKeySequence.java new file mode 100644 index 00000000..78b9da76 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQKeySequence.java @@ -0,0 +1,55 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQKeySequence extends Qt { + protected TQKeySequence(Class dummy){super((Class) null);} + public TQKeySequence() { + super((Class) null); + newTQKeySequence(); + } + private native void newTQKeySequence(); + public TQKeySequence(String key) { + super((Class) null); + newTQKeySequence(key); + } + private native void newTQKeySequence(String key); + public TQKeySequence(int key) { + super((Class) null); + newTQKeySequence(key); + } + private native void newTQKeySequence(int key); + public TQKeySequence(int k1, int k2, int k3, int k4) { + super((Class) null); + newTQKeySequence(k1,k2,k3,k4); + } + private native void newTQKeySequence(int k1, int k2, int k3, int k4); + public TQKeySequence(int k1, int k2, int k3) { + super((Class) null); + newTQKeySequence(k1,k2,k3); + } + private native void newTQKeySequence(int k1, int k2, int k3); + public TQKeySequence(int k1, int k2) { + super((Class) null); + newTQKeySequence(k1,k2); + } + private native void newTQKeySequence(int k1, int k2); + public TQKeySequence(TQKeySequence arg1) { + super((Class) null); + newTQKeySequence(arg1); + } + private native void newTQKeySequence(TQKeySequence arg1); + public native int count(); + public native boolean isEmpty(); + public native int matches(TQKeySequence arg1); + public native int op_at(int arg1); + public native boolean op_equals(TQKeySequence arg1); + public native boolean op_not_equals(TQKeySequence 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/qtjava/javalib/org/kde/qt/TQLCDNumber.java b/qtjava/javalib/org/kde/qt/TQLCDNumber.java new file mode 100644 index 00000000..ef3d31c5 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQLCDNumber.java @@ -0,0 +1,85 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQLCDNumberSignals} for signals emitted by TQLCDNumber +*/ +public class TQLCDNumber extends TQFrame { + protected TQLCDNumber(Class dummy){super((Class) null);} + public static final int Hex = 0; + public static final int Dec = 1; + public static final int Oct = 2; + public static final int Bin = 3; + public static final int HEX = Hex; + public static final int DEC = Dec; + public static final int OCT = Oct; + public static final int BIN = Bin; + + public static final int Outline = 0; + public static final int Filled = 1; + public static final int Flat = 2; + + public native TQMetaObject metaObject(); + public native String className(); + public TQLCDNumber(TQWidget parent, String name) { + super((Class) null); + newTQLCDNumber(parent,name); + } + private native void newTQLCDNumber(TQWidget parent, String name); + public TQLCDNumber(TQWidget parent) { + super((Class) null); + newTQLCDNumber(parent); + } + private native void newTQLCDNumber(TQWidget parent); + public TQLCDNumber() { + super((Class) null); + newTQLCDNumber(); + } + private native void newTQLCDNumber(); + public TQLCDNumber(int numDigits, TQWidget parent, String name) { + super((Class) null); + newTQLCDNumber(numDigits,parent,name); + } + private native void newTQLCDNumber(int numDigits, TQWidget parent, String name); + public TQLCDNumber(int numDigits, TQWidget parent) { + super((Class) null); + newTQLCDNumber(numDigits,parent); + } + private native void newTQLCDNumber(int numDigits, TQWidget parent); + public TQLCDNumber(int numDigits) { + super((Class) null); + newTQLCDNumber(numDigits); + } + private native void newTQLCDNumber(int numDigits); + public native boolean smallDecimalPoint(); + public native int numDigits(); + public native void setNumDigits(int nDigits); + public native boolean checkOverflow(double num); + public native boolean checkOverflow(int num); + public native int mode(); + public native void setMode(int arg1); + public native int segmentStyle(); + public native void setSegmentStyle(int arg1); + public native double value(); + public native int intValue(); + public native TQSize sizeHint(); + public native void display(String str); + public native void display(int num); + public native void display(double num); + public native void setHexMode(); + public native void setDecMode(); + public native void setOctMode(); + public native void setBinMode(); + public native void setSmallDecimalPoint(boolean arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void drawContents(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/qtjava/javalib/org/kde/qt/TQLCDNumberSignals.java b/qtjava/javalib/org/kde/qt/TQLCDNumberSignals.java new file mode 100644 index 00000000..0fecf72f --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQLCDNumberSignals.java @@ -0,0 +1,7 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQLCDNumberSignals { + void overflow(); +} diff --git a/qtjava/javalib/org/kde/qt/TQLabel.java b/qtjava/javalib/org/kde/qt/TQLabel.java new file mode 100644 index 00000000..8803ecac --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQLabel.java @@ -0,0 +1,93 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQLabel extends TQFrame { + protected TQLabel(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQLabel(TQWidget parent, String name, int f) { + super((Class) null); + newTQLabel(parent,name,f); + } + private native void newTQLabel(TQWidget parent, String name, int f); + public TQLabel(TQWidget parent, String name) { + super((Class) null); + newTQLabel(parent,name); + } + private native void newTQLabel(TQWidget parent, String name); + public TQLabel(TQWidget parent) { + super((Class) null); + newTQLabel(parent); + } + private native void newTQLabel(TQWidget parent); + public TQLabel(String text, TQWidget parent, String name, int f) { + super((Class) null); + newTQLabel(text,parent,name,f); + } + private native void newTQLabel(String text, TQWidget parent, String name, int f); + public TQLabel(String text, TQWidget parent, String name) { + super((Class) null); + newTQLabel(text,parent,name); + } + private native void newTQLabel(String text, TQWidget parent, String name); + public TQLabel(String text, TQWidget parent) { + super((Class) null); + newTQLabel(text,parent); + } + private native void newTQLabel(String text, TQWidget parent); + public TQLabel(TQWidget buddy, String arg2, TQWidget parent, String name, int f) { + super((Class) null); + newTQLabel(buddy,arg2,parent,name,f); + } + private native void newTQLabel(TQWidget buddy, String arg2, TQWidget parent, String name, int f); + public TQLabel(TQWidget buddy, String arg2, TQWidget parent, String name) { + super((Class) null); + newTQLabel(buddy,arg2,parent,name); + } + private native void newTQLabel(TQWidget buddy, String arg2, TQWidget parent, String name); + public TQLabel(TQWidget buddy, String arg2, TQWidget parent) { + super((Class) null); + newTQLabel(buddy,arg2,parent); + } + private native void newTQLabel(TQWidget buddy, String arg2, TQWidget parent); + public native String text(); + public native TQPixmap pixmap(); + public native TQPicture picture(); + public native TQMovie movie(); + public native int textFormat(); + public native void setTextFormat(int arg1); + public native int alignment(); + public native void setAlignment(int arg1); + public native int indent(); + public native void setIndent(int arg1); + public native boolean autoResize(); + public native void setAutoResize(boolean arg1); + public native boolean hasScaledContents(); + public native void setScaledContents(boolean arg1); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + public native void setBuddy(TQWidget arg1); + public native TQWidget buddy(); + public native int heightForWidth(int arg1); + public native void setFont(TQFont f); + public native void setText(String arg1); + public native void setPixmap(TQPixmap arg1); + public native void setPicture(TQPicture arg1); + public native void setMovie(TQMovie arg1); + public native void setNum(int arg1); + public native void setNum(double arg1); + public native void clear(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void drawContents(TQPainter arg1); + protected native void fontChange(TQFont arg1); + protected native void resizeEvent(TQResizeEvent 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/qtjava/javalib/org/kde/qt/TQLayout.java b/qtjava/javalib/org/kde/qt/TQLayout.java new file mode 100644 index 00000000..1260ac15 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQLayout.java @@ -0,0 +1,61 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQLayout extends TQObject implements TQLayoutItemInterface { + protected TQLayout(Class dummy){super((Class) null);} + public static final int FreeResize = 0; + public static final int Minimum = 1; + public static final int Fixed = 2; + public static final int Auto = 3; + + public native TQMetaObject metaObject(); + public native String className(); + public native int margin(); + public native int spacing(); + public native void setMargin(int arg1); + public native void setSpacing(int arg1); + public native int defaultBorder(); + public native void freeze(int w, int h); + public native void freeze(); + public native void setResizeMode(int arg1); + public native int resizeMode(); + public native void setMenuBar(TQMenuBar w); + public native TQMenuBar menuBar(); + public native TQWidget mainWidget(); + public native boolean isTopLevel(); + public native void setAutoAdd(boolean arg1); + public native boolean autoAdd(); + public native void invalidate(); + public native TQRect geometry(); + public native boolean activate(); + public native void add(TQWidget w); + public native void addItem(TQLayoutItemInterface arg1); + public native void remove(TQWidget w); + public native void removeItem(TQLayoutItemInterface arg1); + public native int expanding(); + public native TQSize minimumSize(); + public native TQSize maximumSize(); + public native void setGeometry(TQRect arg1); + // TQLayoutIterator iterator(); >>>> NOT CONVERTED + public native boolean isEmpty(); + public native int totalHeightForWidth(int w); + public native TQSize totalMinimumSize(); + public native TQSize totalMaximumSize(); + public native TQSize totalSizeHint(); + public native TQLayout layout(); + public native boolean supportsMargin(); + public native void setEnabled(boolean arg1); + public native boolean isEnabled(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public native TQSize sizeHint(); + public native boolean hasHeightForWidth(); + public native int heightForWidth(int arg1); + public native TQWidget widget(); + // TQLayoutIterator iterator(); >>>> NOT CONVERTED + public native TQSpacerItem spacerItem(); + public native int alignment(); + public native void setAlignment(int a); +} diff --git a/qtjava/javalib/org/kde/qt/TQLayoutItem.java b/qtjava/javalib/org/kde/qt/TQLayoutItem.java new file mode 100644 index 00000000..d5849b72 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQLayoutItem.java @@ -0,0 +1,27 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQLayoutItem implements QtSupport, TQLayoutItemInterface { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQLayoutItem(Class dummy){} + + public native TQSize sizeHint(); + public native TQSize minimumSize(); + public native TQSize maximumSize(); + public native int expanding(); + public native void setGeometry(TQRect arg1); + public native TQRect geometry(); + public native boolean isEmpty(); + public native boolean hasHeightForWidth(); + public native int heightForWidth(int arg1); + public native void invalidate(); + public native TQWidget widget(); + // TQLayoutIterator iterator(); >>>> NOT CONVERTED + public native TQLayout layout(); + public native TQSpacerItem spacerItem(); + public native int alignment(); + public native void setAlignment(int a); +} diff --git a/qtjava/javalib/org/kde/qt/TQLayoutItemInterface.java b/qtjava/javalib/org/kde/qt/TQLayoutItemInterface.java new file mode 100644 index 00000000..081eb64c --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQLayoutItemInterface.java @@ -0,0 +1,21 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQLayoutItemInterface { + TQSize sizeHint(); + TQSize minimumSize(); + TQSize maximumSize(); + int expanding(); + void setGeometry(TQRect arg1); + TQRect geometry(); + boolean isEmpty(); + boolean hasHeightForWidth(); + int heightForWidth(int arg1); + void invalidate(); + TQWidget widget(); + TQLayout layout(); + TQSpacerItem spacerItem(); + int alignment(); + void setAlignment(int a); +} diff --git a/qtjava/javalib/org/kde/qt/TQLibrary.java b/qtjava/javalib/org/kde/qt/TQLibrary.java new file mode 100644 index 00000000..4cd3924d --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQLibrary.java @@ -0,0 +1,29 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQLibrary implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQLibrary(Class dummy){} + + public TQLibrary(String filename) { + newTQLibrary(filename); + } + private native void newTQLibrary(String filename); + // void* resolve(const char* arg1); >>>> NOT CONVERTED + public native boolean load(); + public native boolean unload(); + public native boolean isLoaded(); + public native boolean autoUnload(); + public native void setAutoUnload(boolean enable); + public native String library(); + // void* resolve(const TQString& arg1,const char* arg2); >>>> 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/qtjava/javalib/org/kde/qt/TQLineEdit.java b/qtjava/javalib/org/kde/qt/TQLineEdit.java new file mode 100644 index 00000000..a3c555f3 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQLineEdit.java @@ -0,0 +1,141 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQLineEditSignals} for signals emitted by TQLineEdit +*/ +public class TQLineEdit extends TQFrame { + protected TQLineEdit(Class dummy){super((Class) null);} + public static final int Normal = 0; + public static final int NoEcho = 1; + public static final int Password = 2; + + public native TQMetaObject metaObject(); + public native String className(); + public TQLineEdit(TQWidget parent, String name) { + super((Class) null); + newTQLineEdit(parent,name); + } + private native void newTQLineEdit(TQWidget parent, String name); + public TQLineEdit(TQWidget parent) { + super((Class) null); + newTQLineEdit(parent); + } + private native void newTQLineEdit(TQWidget parent); + public TQLineEdit(String arg1, TQWidget parent, String name) { + super((Class) null); + newTQLineEdit(arg1,parent,name); + } + private native void newTQLineEdit(String arg1, TQWidget parent, String name); + public TQLineEdit(String arg1, TQWidget parent) { + super((Class) null); + newTQLineEdit(arg1,parent); + } + private native void newTQLineEdit(String arg1, TQWidget parent); + public TQLineEdit(String arg1, String arg2, TQWidget parent, String name) { + super((Class) null); + newTQLineEdit(arg1,arg2,parent,name); + } + private native void newTQLineEdit(String arg1, String arg2, TQWidget parent, String name); + public TQLineEdit(String arg1, String arg2, TQWidget parent) { + super((Class) null); + newTQLineEdit(arg1,arg2,parent); + } + private native void newTQLineEdit(String arg1, String arg2, TQWidget parent); + public native String text(); + public native String displayText(); + public native int maxLength(); + public native boolean frame(); + public native int echoMode(); + public native boolean isReadOnly(); + public native TQValidator validator(); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + public native int cursorPosition(); + public native boolean validateAndSet(String arg1, int arg2, int arg3, int arg4); + public native int alignment(); + public native void cursorLeft(boolean mark, int steps); + public native void cursorLeft(boolean mark); + public native void cursorRight(boolean mark, int steps); + public native void cursorRight(boolean mark); + public native void cursorForward(boolean mark, int steps); + public native void cursorForward(boolean mark); + public native void cursorBackward(boolean mark, int steps); + public native void cursorBackward(boolean mark); + public native void cursorWordForward(boolean mark); + public native void cursorWordBackward(boolean mark); + public native void backspace(); + public native void del(); + public native void home(boolean mark); + public native void end(boolean mark); + public native boolean isModified(); + public native void clearModified(); + public native boolean edited(); + public native void setEdited(boolean arg1); + public native boolean hasSelectedText(); + public native String selectedText(); + public native int selectionStart(); + public native boolean isUndoAvailable(); + public native boolean isRedoAvailable(); + public native boolean hasMarkedText(); + public native String markedText(); + public native boolean dragEnabled(); + public native String inputMask(); + public native void setInputMask(String inputMask); + public native boolean hasAcceptableInput(); + public native int characterAt(int arg1, char arg2); + public native boolean getSelection(int[] arg1, int[] arg2); + public native void setText(String arg1); + public native void selectAll(); + public native void deselect(); + public native void clearValidator(); + public native void insert(String arg1); + public native void clear(); + public native void undo(); + public native void redo(); + public native void setMaxLength(int arg1); + public native void setFrame(boolean arg1); + public native void setEchoMode(int arg1); + public native void setReadOnly(boolean arg1); + public native void setValidator(TQValidator arg1); + public native void setFont(TQFont arg1); + public native void setPalette(TQPalette arg1); + public native void setSelection(int arg1, int arg2); + public native void setCursorPosition(int arg1); + public native void setAlignment(int flag); + public native void cut(); + public native void copy(); + public native void paste(); + public native void setDragEnabled(boolean b); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public native boolean event(TQEvent arg1); + protected native void mousePressEvent(TQMouseEvent arg1); + protected native void mouseMoveEvent(TQMouseEvent arg1); + protected native void mouseReleaseEvent(TQMouseEvent arg1); + protected native void mouseDoubleClickEvent(TQMouseEvent arg1); + protected native void keyPressEvent(TQKeyEvent arg1); + protected native void imStartEvent(TQIMEvent arg1); + protected native void imComposeEvent(TQIMEvent arg1); + protected native void imEndEvent(TQIMEvent arg1); + protected native void focusInEvent(TQFocusEvent arg1); + protected native void focusOutEvent(TQFocusEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void drawContents(TQPainter arg1); + protected native void dragEnterEvent(TQDragEnterEvent arg1); + protected native void dragMoveEvent(TQDragMoveEvent e); + protected native void dragLeaveEvent(TQDragLeaveEvent e); + protected native void dropEvent(TQDropEvent arg1); + protected native void contextMenuEvent(TQContextMenuEvent arg1); + protected native TQPopupMenu createPopupMenu(); + protected native void windowActivationChange(boolean arg1); + protected native void repaintArea(int arg1, int 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/qtjava/javalib/org/kde/qt/TQLineEditSignals.java b/qtjava/javalib/org/kde/qt/TQLineEditSignals.java new file mode 100644 index 00000000..37b59980 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQLineEditSignals.java @@ -0,0 +1,10 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQLineEditSignals { + void textChanged(String arg1); + void returnPressed(); + void lostFocus(); + void selectionChanged(); +} diff --git a/qtjava/javalib/org/kde/qt/TQListBox.java b/qtjava/javalib/org/kde/qt/TQListBox.java new file mode 100644 index 00000000..c4cbc23e --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQListBox.java @@ -0,0 +1,174 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQListBoxSignals} for signals emitted by TQListBox +*/ +public class TQListBox extends TQScrollView { + protected TQListBox(Class dummy){super((Class) null);} + public static final int Single = 0; + public static final int Multi = 1; + public static final int Extended = 2; + public static final int NoSelection = 3; + + public static final int FixedNumber = 0; + public static final int FitToWidth = 1; + public static final int FitToHeight = FitToWidth; + public static final int Variable = 2; + + public native TQMetaObject metaObject(); + public native String className(); + public TQListBox(TQWidget parent, String name, int f) { + super((Class) null); + newTQListBox(parent,name,f); + } + private native void newTQListBox(TQWidget parent, String name, int f); + public TQListBox(TQWidget parent, String name) { + super((Class) null); + newTQListBox(parent,name); + } + private native void newTQListBox(TQWidget parent, String name); + public TQListBox(TQWidget parent) { + super((Class) null); + newTQListBox(parent); + } + private native void newTQListBox(TQWidget parent); + public TQListBox() { + super((Class) null); + newTQListBox(); + } + private native void newTQListBox(); + public native void setFont(TQFont arg1); + public native int count(); + public native void insertStringList(String[] arg1, int index); + public native void insertStringList(String[] arg1); + public native void insertStrList(String[] arg1, int index); + public native void insertStrList(String[] arg1); + public native void insertStrList(String[] arg1, int numStrings, int index); + public native void insertItem(TQListBoxItem arg1, int index); + public native void insertItem(TQListBoxItem arg1); + public native void insertItem(TQListBoxItem arg1, TQListBoxItem after); + public native void insertItem(String text, int index); + public native void insertItem(String text); + public native void insertItem(TQPixmap pixmap, int index); + public native void insertItem(TQPixmap pixmap); + public native void insertItem(TQPixmap pixmap, String text, int index); + public native void insertItem(TQPixmap pixmap, String text); + public native void removeItem(int index); + public native String text(int index); + public native TQPixmap pixmap(int index); + public native void changeItem(TQListBoxItem arg1, int index); + public native void changeItem(String text, int index); + public native void changeItem(TQPixmap pixmap, int index); + public native void changeItem(TQPixmap pixmap, String text, int index); + public native void takeItem(TQListBoxItem arg1); + public native int numItemsVisible(); + public native int currentItem(); + public native String currentText(); + public native void setCurrentItem(int index); + public native void setCurrentItem(TQListBoxItem arg1); + public native void centerCurrentItem(); + public native int topItem(); + public native void setTopItem(int index); + public native void setBottomItem(int index); + public native long maxItemWidth(); + public native void setSelectionMode(int arg1); + public native int selectionMode(); + public native void setMultiSelection(boolean multi); + public native boolean isMultiSelection(); + public native void setSelected(TQListBoxItem arg1, boolean arg2); + public native void setSelected(int arg1, boolean arg2); + public native boolean isSelected(int arg1); + public native boolean isSelected(TQListBoxItem arg1); + public native TQListBoxItem selectedItem(); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + public native TQListBoxItem item(int index); + public native int index(TQListBoxItem arg1); + public native TQListBoxItem findItem(String text, int compare); + public native TQListBoxItem findItem(String text); + public native void triggerUpdate(boolean doLayout); + public native boolean itemVisible(int index); + public native boolean itemVisible(TQListBoxItem arg1); + public native void setColumnMode(int arg1); + public native void setRowMode(int arg1); + public native int columnMode(); + public native int rowMode(); + public native int numColumns(); + public native int numRows(); + public native boolean variableWidth(); + public native void setVariableWidth(boolean arg1); + public native boolean variableHeight(); + public native void setVariableHeight(boolean arg1); + public native void viewportPaintEvent(TQPaintEvent arg1); + public native boolean dragSelect(); + public native void setDragSelect(boolean arg1); + public native boolean autoScroll(); + public native void setAutoScroll(boolean arg1); + public native boolean autoScrollBar(); + public native void setAutoScrollBar(boolean enable); + public native boolean scrollBar(); + public native void setScrollBar(boolean enable); + public native boolean autoBottomScrollBar(); + public native void setAutoBottomScrollBar(boolean enable); + public native boolean bottomScrollBar(); + public native void setBottomScrollBar(boolean enable); + public native boolean smoothScrolling(); + public native void setSmoothScrolling(boolean arg1); + public native boolean autoUpdate(); + public native void setAutoUpdate(boolean arg1); + public native void setFixedVisibleLines(int lines); + public native int inSort(TQListBoxItem arg1); + public native int inSort(String text); + public native int cellHeight(int i); + public native int cellHeight(); + public native int cellWidth(); + public native int cellWidth(int i); + public native int numCols(); + public native int itemHeight(int index); + public native int itemHeight(); + public native TQListBoxItem itemAt(TQPoint arg1); + public native TQRect itemRect(TQListBoxItem item); + public native TQListBoxItem firstItem(); + public native void sort(boolean ascending); + public native void sort(); + public native void clear(); + public native void ensureCurrentVisible(); + public native void clearSelection(); + public native void selectAll(boolean select); + public native void invertSelection(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void mousePressEvent(TQMouseEvent arg1); + protected native void mouseReleaseEvent(TQMouseEvent arg1); + protected native void mouseDoubleClickEvent(TQMouseEvent arg1); + protected native void mouseMoveEvent(TQMouseEvent arg1); + protected native void contentsContextMenuEvent(TQContextMenuEvent arg1); + protected native void keyPressEvent(TQKeyEvent e); + protected native void focusInEvent(TQFocusEvent e); + protected native void focusOutEvent(TQFocusEvent e); + protected native void resizeEvent(TQResizeEvent arg1); + public native void showEvent(TQShowEvent arg1); + public native boolean eventFilter(TQObject o, TQEvent e); + protected native void updateItem(int index); + protected native void updateItem(TQListBoxItem arg1); + protected native void updateCellWidth(); + protected native int totalWidth(); + protected native int totalHeight(); + public native void paintCell(TQPainter arg1, int row, int col); + protected native void toggleCurrentItem(); + protected native boolean isRubberSelecting(); + protected native void doLayout(); + protected native void windowActivationChange(boolean arg1); + protected native boolean itemYPos(int index, int[] yPos); + protected native int findItem(int yPos); + protected native void clearInputString(); + /** 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/qtjava/javalib/org/kde/qt/TQListBoxItem.java b/qtjava/javalib/org/kde/qt/TQListBoxItem.java new file mode 100644 index 00000000..6803a9fd --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQListBoxItem.java @@ -0,0 +1,25 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQListBoxItem implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQListBoxItem(Class dummy){} + + public native String text(); + public native TQPixmap pixmap(); + public native int height(TQListBox arg1); + public native int width(TQListBox arg1); + public native boolean isSelected(); + public native boolean isCurrent(); + public native boolean selected(); + public native boolean current(); + public native TQListBox listBox(); + public native void setSelectable(boolean b); + public native boolean isSelectable(); + public native TQListBoxItem next(); + public native TQListBoxItem prev(); + public native int rtti(); +} diff --git a/qtjava/javalib/org/kde/qt/TQListBoxPixmap.java b/qtjava/javalib/org/kde/qt/TQListBoxPixmap.java new file mode 100644 index 00000000..00b5d10e --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQListBoxPixmap.java @@ -0,0 +1,49 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQListBoxPixmap extends TQListBoxItem { + protected TQListBoxPixmap(Class dummy){super((Class) null);} + public TQListBoxPixmap(TQListBox listbox, TQPixmap arg2) { + super((Class) null); + newTQListBoxPixmap(listbox,arg2); + } + private native void newTQListBoxPixmap(TQListBox listbox, TQPixmap arg2); + public TQListBoxPixmap(TQPixmap arg1) { + super((Class) null); + newTQListBoxPixmap(arg1); + } + private native void newTQListBoxPixmap(TQPixmap arg1); + public TQListBoxPixmap(TQListBox listbox, TQPixmap pix, TQListBoxItem after) { + super((Class) null); + newTQListBoxPixmap(listbox,pix,after); + } + private native void newTQListBoxPixmap(TQListBox listbox, TQPixmap pix, TQListBoxItem after); + public TQListBoxPixmap(TQListBox listbox, TQPixmap arg2, String arg3) { + super((Class) null); + newTQListBoxPixmap(listbox,arg2,arg3); + } + private native void newTQListBoxPixmap(TQListBox listbox, TQPixmap arg2, String arg3); + public TQListBoxPixmap(TQPixmap arg1, String arg2) { + super((Class) null); + newTQListBoxPixmap(arg1,arg2); + } + private native void newTQListBoxPixmap(TQPixmap arg1, String arg2); + public TQListBoxPixmap(TQListBox listbox, TQPixmap pix, String arg3, TQListBoxItem after) { + super((Class) null); + newTQListBoxPixmap(listbox,pix,arg3,after); + } + private native void newTQListBoxPixmap(TQListBox listbox, TQPixmap pix, String arg3, TQListBoxItem after); + public native TQPixmap pixmap(); + public native int height(TQListBox arg1); + public native int width(TQListBox arg1); + public native int rtti(); + protected native void paint(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/qtjava/javalib/org/kde/qt/TQListBoxSignals.java b/qtjava/javalib/org/kde/qt/TQListBoxSignals.java new file mode 100644 index 00000000..d98ec9e6 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQListBoxSignals.java @@ -0,0 +1,28 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQListBoxSignals { + void highlighted(int index); + void selected(int index); + void highlighted(String arg1); + void selected(String arg1); + void highlighted(TQListBoxItem arg1); + void selected(TQListBoxItem arg1); + void selectionChanged(); + void selectionChanged(TQListBoxItem arg1); + void currentChanged(TQListBoxItem arg1); + void clicked(TQListBoxItem arg1); + void clicked(TQListBoxItem arg1, TQPoint arg2); + void pressed(TQListBoxItem arg1); + void pressed(TQListBoxItem arg1, TQPoint arg2); + void doubleClicked(TQListBoxItem arg1); + void returnPressed(TQListBoxItem arg1); + void rightButtonClicked(TQListBoxItem arg1, TQPoint arg2); + void rightButtonPressed(TQListBoxItem arg1, TQPoint arg2); + void mouseButtonPressed(int arg1, TQListBoxItem arg2, TQPoint arg3); + void mouseButtonClicked(int arg1, TQListBoxItem arg2, TQPoint arg3); + void contextMenuRequested(TQListBoxItem arg1, TQPoint arg2); + void onItem(TQListBoxItem item); + void onViewport(); +} diff --git a/qtjava/javalib/org/kde/qt/TQListBoxText.java b/qtjava/javalib/org/kde/qt/TQListBoxText.java new file mode 100644 index 00000000..6cf9d2fe --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQListBoxText.java @@ -0,0 +1,43 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQListBoxText extends TQListBoxItem { + protected TQListBoxText(Class dummy){super((Class) null);} + public TQListBoxText(TQListBox listbox, String text) { + super((Class) null); + newTQListBoxText(listbox,text); + } + private native void newTQListBoxText(TQListBox listbox, String text); + public TQListBoxText(TQListBox listbox) { + super((Class) null); + newTQListBoxText(listbox); + } + private native void newTQListBoxText(TQListBox listbox); + public TQListBoxText(String text) { + super((Class) null); + newTQListBoxText(text); + } + private native void newTQListBoxText(String text); + public TQListBoxText() { + super((Class) null); + newTQListBoxText(); + } + private native void newTQListBoxText(); + public TQListBoxText(TQListBox listbox, String text, TQListBoxItem after) { + super((Class) null); + newTQListBoxText(listbox,text,after); + } + private native void newTQListBoxText(TQListBox listbox, String text, TQListBoxItem after); + public native int height(TQListBox arg1); + public native int width(TQListBox arg1); + public native int rtti(); + protected native void paint(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/qtjava/javalib/org/kde/qt/TQListView.java b/qtjava/javalib/org/kde/qt/TQListView.java new file mode 100644 index 00000000..9ebb3d01 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQListView.java @@ -0,0 +1,161 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import java.util.ArrayList; +import org.kde.qt.Qt; + +/** + See {@link TQListViewSignals} for signals emitted by TQListView +*/ +public class TQListView extends TQScrollView { + protected TQListView(Class dummy){super((Class) null);} + public static final int Manual = 0; + public static final int Maximum = 1; + + public static final int Single = 0; + public static final int Multi = 1; + public static final int Extended = 2; + public static final int NoSelection = 3; + + public static final int NoColumn = 0; + public static final int AllColumns = 1; + public static final int LastColumn = 2; + + public static final int Accept = 0; + public static final int Reject = 1; + + public native TQMetaObject metaObject(); + public native String className(); + public TQListView(TQWidget parent, String name, int f) { + super((Class) null); + newTQListView(parent,name,f); + } + private native void newTQListView(TQWidget parent, String name, int f); + public TQListView(TQWidget parent, String name) { + super((Class) null); + newTQListView(parent,name); + } + private native void newTQListView(TQWidget parent, String name); + public TQListView(TQWidget parent) { + super((Class) null); + newTQListView(parent); + } + private native void newTQListView(TQWidget parent); + public TQListView() { + super((Class) null); + newTQListView(); + } + private native void newTQListView(); + public native int treeStepSize(); + public native void setTreeStepSize(int arg1); + public native void insertItem(TQListViewItem arg1); + public native void takeItem(TQListViewItem arg1); + public native void removeItem(TQListViewItem item); + public native TQHeader header(); + public native int addColumn(String label, int size); + public native int addColumn(String label); + public native int addColumn(TQIconSet iconset, String label, int size); + public native int addColumn(TQIconSet iconset, String label); + public native void removeColumn(int index); + public native void setColumnText(int column, String label); + public native void setColumnText(int column, TQIconSet iconset, String label); + public native String columnText(int column); + public native void setColumnWidth(int column, int width); + public native int columnWidth(int column); + public native void setColumnWidthMode(int column, int arg2); + public native int columnWidthMode(int column); + public native int columns(); + public native void setColumnAlignment(int arg1, int arg2); + public native int columnAlignment(int arg1); + public native void show(); + public native TQListViewItem itemAt(TQPoint screenPos); + public native TQRect itemRect(TQListViewItem arg1); + public native int itemPos(TQListViewItem arg1); + public native void ensureItemVisible(TQListViewItem arg1); + public native void repaintItem(TQListViewItem arg1); + public native void setMultiSelection(boolean enable); + public native boolean isMultiSelection(); + public native void setSelectionMode(int mode); + public native int selectionMode(); + public native void clearSelection(); + public native void setSelected(TQListViewItem arg1, boolean arg2); + public native void setSelectionAnchor(TQListViewItem arg1); + public native boolean isSelected(TQListViewItem arg1); + public native TQListViewItem selectedItem(); + public native void setOpen(TQListViewItem arg1, boolean arg2); + public native boolean isOpen(TQListViewItem arg1); + public native void setCurrentItem(TQListViewItem arg1); + public native TQListViewItem currentItem(); + public native TQListViewItem firstChild(); + public native TQListViewItem lastItem(); + public native int childCount(); + public native void setAllColumnsShowFocus(boolean arg1); + public native boolean allColumnsShowFocus(); + public native void setItemMargin(int arg1); + public native int itemMargin(); + public native void setRootIsDecorated(boolean arg1); + public native boolean rootIsDecorated(); + public native void setSorting(int column, boolean ascending); + public native void setSorting(int column); + public native int sortColumn(); + public native void setSortColumn(int column); + public native int sortOrder(); + public native void setSortOrder(int order); + public native void sort(); + public native void setFont(TQFont arg1); + public native void setPalette(TQPalette arg1); + public native boolean eventFilter(TQObject o, TQEvent arg2); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + public native void setShowSortIndicator(boolean show); + public native boolean showSortIndicator(); + public native void setShowToolTips(boolean b); + public native boolean showToolTips(); + public native void setResizeMode(int m); + public native int resizeMode(); + public native TQListViewItem findItem(String text, int column, int compare); + public native TQListViewItem findItem(String text, int column); + public native void setDefaultRenameAction(int a); + public native int defaultRenameAction(); + public native boolean isRenaming(); + public native void hideColumn(int column); + public native void clear(); + public native void invertSelection(); + public native void selectAll(boolean select); + public native void triggerUpdate(); + public native void setContentsPos(int x, int y); + public native void adjustColumn(int col); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void contentsMousePressEvent(TQMouseEvent e); + protected native void contentsMouseReleaseEvent(TQMouseEvent e); + protected native void contentsMouseMoveEvent(TQMouseEvent e); + protected native void contentsMouseDoubleClickEvent(TQMouseEvent e); + protected native void contentsContextMenuEvent(TQContextMenuEvent e); + protected native void contentsDragEnterEvent(TQDragEnterEvent e); + protected native void contentsDragMoveEvent(TQDragMoveEvent e); + protected native void contentsDragLeaveEvent(TQDragLeaveEvent e); + protected native void contentsDropEvent(TQDropEvent e); + protected native TQDragObject dragObject(); + protected native void startDrag(); + protected native void focusInEvent(TQFocusEvent e); + protected native void focusOutEvent(TQFocusEvent e); + protected native void keyPressEvent(TQKeyEvent e); + protected native void resizeEvent(TQResizeEvent e); + protected native void viewportResizeEvent(TQResizeEvent e); + public native void showEvent(TQShowEvent arg1); + protected native void drawContentsOffset(TQPainter arg1, int ox, int oy, int cx, int cy, int cw, int ch); + protected native void paintEmptyArea(TQPainter arg1, TQRect arg2); + public native void styleChange(TQStyle arg1); + protected native void windowActivationChange(boolean arg1); + public native void updateContents(); + protected native void doAutoScroll(); + /** 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(); + public native ArrayList itemList(); + +} diff --git a/qtjava/javalib/org/kde/qt/TQListViewItem.java b/qtjava/javalib/org/kde/qt/TQListViewItem.java new file mode 100644 index 00000000..1bd18ad0 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQListViewItem.java @@ -0,0 +1,262 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import java.util.ArrayList; +import org.kde.qt.Qt; + +public class TQListViewItem extends Qt { + protected TQListViewItem(Class dummy){super((Class) null);} + public TQListViewItem(TQListView parent) { + super((Class) null); + newTQListViewItem(parent); + } + private native void newTQListViewItem(TQListView parent); + public TQListViewItem(TQListViewItem parent) { + super((Class) null); + newTQListViewItem(parent); + } + private native void newTQListViewItem(TQListViewItem parent); + public TQListViewItem(TQListView parent, TQListViewItem after) { + super((Class) null); + newTQListViewItem(parent,after); + } + private native void newTQListViewItem(TQListView parent, TQListViewItem after); + public TQListViewItem(TQListViewItem parent, TQListViewItem after) { + super((Class) null); + newTQListViewItem(parent,after); + } + private native void newTQListViewItem(TQListViewItem parent, TQListViewItem after); + public TQListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) { + super((Class) null); + newTQListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9); + } + private native void newTQListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9); + public TQListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) { + super((Class) null); + newTQListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8); + } + private native void newTQListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8); + public TQListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7) { + super((Class) null); + newTQListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7); + } + private native void newTQListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7); + public TQListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6) { + super((Class) null); + newTQListViewItem(parent,arg2,arg3,arg4,arg5,arg6); + } + private native void newTQListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6); + public TQListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5) { + super((Class) null); + newTQListViewItem(parent,arg2,arg3,arg4,arg5); + } + private native void newTQListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5); + public TQListViewItem(TQListView parent, String arg2, String arg3, String arg4) { + super((Class) null); + newTQListViewItem(parent,arg2,arg3,arg4); + } + private native void newTQListViewItem(TQListView parent, String arg2, String arg3, String arg4); + public TQListViewItem(TQListView parent, String arg2, String arg3) { + super((Class) null); + newTQListViewItem(parent,arg2,arg3); + } + private native void newTQListViewItem(TQListView parent, String arg2, String arg3); + public TQListViewItem(TQListView parent, String arg2) { + super((Class) null); + newTQListViewItem(parent,arg2); + } + private native void newTQListViewItem(TQListView parent, String arg2); + public TQListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) { + super((Class) null); + newTQListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9); + } + private native void newTQListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9); + public TQListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) { + super((Class) null); + newTQListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8); + } + private native void newTQListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8); + public TQListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7) { + super((Class) null); + newTQListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7); + } + private native void newTQListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7); + public TQListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6) { + super((Class) null); + newTQListViewItem(parent,arg2,arg3,arg4,arg5,arg6); + } + private native void newTQListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6); + public TQListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5) { + super((Class) null); + newTQListViewItem(parent,arg2,arg3,arg4,arg5); + } + private native void newTQListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5); + public TQListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4) { + super((Class) null); + newTQListViewItem(parent,arg2,arg3,arg4); + } + private native void newTQListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4); + public TQListViewItem(TQListViewItem parent, String arg2, String arg3) { + super((Class) null); + newTQListViewItem(parent,arg2,arg3); + } + private native void newTQListViewItem(TQListViewItem parent, String arg2, String arg3); + public TQListViewItem(TQListViewItem parent, String arg2) { + super((Class) null); + newTQListViewItem(parent,arg2); + } + private native void newTQListViewItem(TQListViewItem parent, String arg2); + public TQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10) { + super((Class) null); + newTQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10); + } + private native void newTQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10); + public TQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) { + super((Class) null); + newTQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9); + } + private native void newTQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9); + public TQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) { + super((Class) null); + newTQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8); + } + private native void newTQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8); + public TQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7) { + super((Class) null); + newTQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7); + } + private native void newTQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7); + public TQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6) { + super((Class) null); + newTQListViewItem(parent,after,arg3,arg4,arg5,arg6); + } + private native void newTQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6); + public TQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5) { + super((Class) null); + newTQListViewItem(parent,after,arg3,arg4,arg5); + } + private native void newTQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5); + public TQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4) { + super((Class) null); + newTQListViewItem(parent,after,arg3,arg4); + } + private native void newTQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4); + public TQListViewItem(TQListView parent, TQListViewItem after, String arg3) { + super((Class) null); + newTQListViewItem(parent,after,arg3); + } + private native void newTQListViewItem(TQListView parent, TQListViewItem after, String arg3); + public TQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10) { + super((Class) null); + newTQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10); + } + private native void newTQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10); + public TQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) { + super((Class) null); + newTQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9); + } + private native void newTQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9); + public TQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) { + super((Class) null); + newTQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8); + } + private native void newTQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8); + public TQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7) { + super((Class) null); + newTQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7); + } + private native void newTQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7); + public TQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6) { + super((Class) null); + newTQListViewItem(parent,after,arg3,arg4,arg5,arg6); + } + private native void newTQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6); + public TQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5) { + super((Class) null); + newTQListViewItem(parent,after,arg3,arg4,arg5); + } + private native void newTQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5); + public TQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4) { + super((Class) null); + newTQListViewItem(parent,after,arg3,arg4); + } + private native void newTQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4); + public TQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3) { + super((Class) null); + newTQListViewItem(parent,after,arg3); + } + private native void newTQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3); + public native void insertItem(TQListViewItem arg1); + public native void takeItem(TQListViewItem arg1); + public native void removeItem(TQListViewItem item); + public native int height(); + public native void invalidateHeight(); + public native int totalHeight(); + public native int width(TQFontMetrics arg1, TQListView arg2, int column); + public native void widthChanged(int column); + public native void widthChanged(); + public native int depth(); + public native void setText(int arg1, String arg2); + public native String text(int arg1); + public native void setPixmap(int arg1, TQPixmap arg2); + public native TQPixmap pixmap(int arg1); + public native String key(int arg1, boolean arg2); + public native int compare(TQListViewItem i, int col, boolean arg3); + public native void sortChildItems(int arg1, boolean arg2); + public native int childCount(); + public native boolean isOpen(); + public native void setOpen(boolean arg1); + public native void setup(); + public native void setSelected(boolean arg1); + public native boolean isSelected(); + public native void paintCell(TQPainter arg1, TQColorGroup cg, int column, int width, int alignment); + public native void paintBranches(TQPainter p, TQColorGroup cg, int w, int y, int h); + public native void paintFocus(TQPainter arg1, TQColorGroup cg, TQRect r); + public native TQListViewItem firstChild(); + public native TQListViewItem nextSibling(); + public native TQListViewItem parent(); + public native TQListViewItem itemAbove(); + public native TQListViewItem itemBelow(); + public native int itemPos(); + public native TQListView listView(); + public native void setSelectable(boolean enable); + public native boolean isSelectable(); + public native void setExpandable(boolean arg1); + public native boolean isExpandable(); + public native void repaint(); + public native void sort(); + public native void moveItem(TQListViewItem after); + public native void setDragEnabled(boolean allow); + public native void setDropEnabled(boolean allow); + public native boolean dragEnabled(); + public native boolean dropEnabled(); + public native boolean acceptDrop(TQMimeSourceInterface mime); + public native void setVisible(boolean b); + public native boolean isVisible(); + public native void setRenameEnabled(int col, boolean b); + public native boolean renameEnabled(int col); + public native void startRename(int col); + public native void setEnabled(boolean b); + public native boolean isEnabled(); + public native int rtti(); + public native void setMultiLinesEnabled(boolean b); + public native boolean multiLinesEnabled(); + protected native void enforceSortOrder(); + protected native void setHeight(int arg1); + protected native void activate(); + protected native boolean activatedPos(TQPoint arg1); + protected native void dropped(TQDropEvent e); + protected native void dragEntered(); + protected native void dragLeft(); + protected native void okRename(int col); + protected native void cancelRename(int col); + protected native void ignoreDoubleClick(); + /** 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(); + public native ArrayList itemList(); + +} diff --git a/qtjava/javalib/org/kde/qt/TQListViewSignals.java b/qtjava/javalib/org/kde/qt/TQListViewSignals.java new file mode 100644 index 00000000..aa7186b4 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQListViewSignals.java @@ -0,0 +1,29 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQListViewSignals { + void selectionChanged(); + void selectionChanged(TQListViewItem arg1); + void currentChanged(TQListViewItem arg1); + void clicked(TQListViewItem arg1); + void clicked(TQListViewItem arg1, TQPoint arg2, int arg3); + void pressed(TQListViewItem arg1); + void pressed(TQListViewItem arg1, TQPoint arg2, int arg3); + void doubleClicked(TQListViewItem arg1); + void doubleClicked(TQListViewItem arg1, TQPoint arg2, int arg3); + void returnPressed(TQListViewItem arg1); + void spacePressed(TQListViewItem arg1); + void rightButtonClicked(TQListViewItem arg1, TQPoint arg2, int arg3); + void rightButtonPressed(TQListViewItem arg1, TQPoint arg2, int arg3); + void mouseButtonPressed(int arg1, TQListViewItem arg2, TQPoint arg3, int arg4); + void mouseButtonClicked(int arg1, TQListViewItem arg2, TQPoint arg3, int arg4); + void contextMenuRequested(TQListViewItem arg1, TQPoint arg2, int arg3); + void onItem(TQListViewItem item); + void onViewport(); + void expanded(TQListViewItem item); + void collapsed(TQListViewItem item); + void dropped(TQDropEvent e); + void itemRenamed(TQListViewItem item, int col, String arg3); + void itemRenamed(TQListViewItem item, int col); +} diff --git a/qtjava/javalib/org/kde/qt/TQLocalFs.java b/qtjava/javalib/org/kde/qt/TQLocalFs.java new file mode 100644 index 00000000..a211e275 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQLocalFs.java @@ -0,0 +1,30 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQLocalFs extends TQNetworkProtocol { + protected TQLocalFs(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQLocalFs() { + super((Class) null); + newTQLocalFs(); + } + private native void newTQLocalFs(); + public native int supportedOperations(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void operationListChildren(TQNetworkOperation op); + protected native void operationMkDir(TQNetworkOperation op); + protected native void operationRemove(TQNetworkOperation op); + protected native void operationRename(TQNetworkOperation op); + protected native void operationGet(TQNetworkOperation op); + protected native void operationPut(TQNetworkOperation op); + /** 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/qtjava/javalib/org/kde/qt/TQMainWindow.java b/qtjava/javalib/org/kde/qt/TQMainWindow.java new file mode 100644 index 00000000..1fcd636f --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQMainWindow.java @@ -0,0 +1,125 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQMainWindowSignals} for signals emitted by TQMainWindow +*/ +public class TQMainWindow extends TQWidget { + protected TQMainWindow(Class dummy){super((Class) null);} + public static final int OnlyToolBars = 0; + public static final int NoToolBars = 1; + public static final int AllDockWindows = 2; + + public native TQMetaObject metaObject(); + public native String className(); + public TQMainWindow(TQWidget parent, String name, int f) { + super((Class) null); + newTQMainWindow(parent,name,f); + } + private native void newTQMainWindow(TQWidget parent, String name, int f); + public TQMainWindow(TQWidget parent, String name) { + super((Class) null); + newTQMainWindow(parent,name); + } + private native void newTQMainWindow(TQWidget parent, String name); + public TQMainWindow(TQWidget parent) { + super((Class) null); + newTQMainWindow(parent); + } + private native void newTQMainWindow(TQWidget parent); + public TQMainWindow() { + super((Class) null); + newTQMainWindow(); + } + private native void newTQMainWindow(); + public native TQMenuBar menuBar(); + public native TQStatusBar statusBar(); + public native TQToolTipGroup toolTipGroup(); + public native void setCentralWidget(TQWidget arg1); + public native TQWidget centralWidget(); + public native void setDockEnabled(int dock, boolean enable); + public native boolean isDockEnabled(int dock); + public native boolean isDockEnabled(TQDockArea area); + public native void setDockEnabled(TQDockWindow tb, int dock, boolean enable); + public native boolean isDockEnabled(TQDockWindow tb, int dock); + public native boolean isDockEnabled(TQDockWindow tb, TQDockArea area); + public native void addDockWindow(TQDockWindow arg1, int arg2, boolean newLine); + public native void addDockWindow(TQDockWindow arg1, int arg2); + public native void addDockWindow(TQDockWindow arg1); + public native void addDockWindow(TQDockWindow arg1, String label, int arg3, boolean newLine); + public native void addDockWindow(TQDockWindow arg1, String label, int arg3); + public native void addDockWindow(TQDockWindow arg1, String label); + public native void moveDockWindow(TQDockWindow arg1, int arg2); + public native void moveDockWindow(TQDockWindow arg1); + public native void moveDockWindow(TQDockWindow arg1, int arg2, boolean nl, int index, int extraOffset); + public native void moveDockWindow(TQDockWindow arg1, int arg2, boolean nl, int index); + public native void removeDockWindow(TQDockWindow arg1); + public native void show(); + public native void hide(); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + public native boolean rightJustification(); + public native boolean usesBigPixmaps(); + public native boolean usesTextLabel(); + public native boolean dockWindowsMovable(); + public native boolean opaqueMoving(); + public native boolean eventFilter(TQObject arg1, TQEvent arg2); + public native boolean getLocation(TQDockWindow tb, int dock, int[] index, boolean nl, int[] extraOffset); + // TQPtrList dockWindows(TQt::Dock arg1); >>>> NOT CONVERTED + // TQPtrList dockWindows(); >>>> NOT CONVERTED + public native void lineUpDockWindows(boolean keepNewLines); + public native void lineUpDockWindows(); + public native boolean isDockMenuEnabled(); + public native boolean hasDockWindow(TQDockWindow dw); + public native void addToolBar(TQDockWindow arg1, int arg2, boolean newLine); + public native void addToolBar(TQDockWindow arg1, int arg2); + public native void addToolBar(TQDockWindow arg1); + public native void addToolBar(TQDockWindow arg1, String label, int arg3, boolean newLine); + public native void addToolBar(TQDockWindow arg1, String label, int arg3); + public native void addToolBar(TQDockWindow arg1, String label); + public native void moveToolBar(TQDockWindow arg1, int arg2); + public native void moveToolBar(TQDockWindow arg1); + public native void moveToolBar(TQDockWindow arg1, int arg2, boolean nl, int index, int extraOffset); + public native void moveToolBar(TQDockWindow arg1, int arg2, boolean nl, int index); + public native void removeToolBar(TQDockWindow arg1); + public native boolean toolBarsMovable(); + // TQPtrList toolBars(TQt::Dock arg1); >>>> NOT CONVERTED + public native void lineUpToolBars(boolean keepNewLines); + public native void lineUpToolBars(); + public native TQDockArea dockingArea(TQPoint p); + public native TQDockArea leftDock(); + public native TQDockArea rightDock(); + public native TQDockArea topDock(); + public native TQDockArea bottomDock(); + public native boolean isCustomizable(); + public native boolean appropriate(TQDockWindow dw); + public native TQPopupMenu createDockWindowMenu(int dockWindows); + public native TQPopupMenu createDockWindowMenu(); + public native void setRightJustification(boolean arg1); + public native void setUsesBigPixmaps(boolean arg1); + public native void setUsesTextLabel(boolean arg1); + public native void setDockWindowsMovable(boolean arg1); + public native void setOpaqueMoving(boolean arg1); + public native void setDockMenuEnabled(boolean arg1); + public native void whatsThis(); + public native void setAppropriate(TQDockWindow dw, boolean a); + public native void customize(); + public native void setToolBarsMovable(boolean arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void paintEvent(TQPaintEvent arg1); + protected native void childEvent(TQChildEvent arg1); + public native boolean event(TQEvent arg1); + public native void styleChange(TQStyle arg1); + protected native void setUpLayout(); + protected native boolean showDockMenu(TQPoint globalPos); + protected native void menuAboutToShow(); + /** 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/qtjava/javalib/org/kde/qt/TQMainWindowSignals.java b/qtjava/javalib/org/kde/qt/TQMainWindowSignals.java new file mode 100644 index 00000000..880b81a5 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQMainWindowSignals.java @@ -0,0 +1,10 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQMainWindowSignals { + void pixmapSizeChanged(boolean arg1); + void usesTextLabelChanged(boolean arg1); + void dockWindowPositionChanged(TQDockWindow arg1); + void toolBarPositionChanged(TQToolBar arg1); +} diff --git a/qtjava/javalib/org/kde/qt/TQMenuBar.java b/qtjava/javalib/org/kde/qt/TQMenuBar.java new file mode 100644 index 00000000..79348358 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQMenuBar.java @@ -0,0 +1,158 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQMenuBarSignals} for signals emitted by TQMenuBar +*/ +public class TQMenuBar extends TQFrame implements TQMenuDataInterface { + protected TQMenuBar(Class dummy){super((Class) null);} + public static final int Never = 0; + public static final int InWindowsStyle = 1; + + public native TQMetaObject metaObject(); + public native String className(); + public TQMenuBar(TQWidget parent, String name) { + super((Class) null); + newTQMenuBar(parent,name); + } + private native void newTQMenuBar(TQWidget parent, String name); + public TQMenuBar(TQWidget parent) { + super((Class) null); + newTQMenuBar(parent); + } + private native void newTQMenuBar(TQWidget parent); + public TQMenuBar() { + super((Class) null); + newTQMenuBar(); + } + private native void newTQMenuBar(); + public native void updateItem(int id); + public native void show(); + public native void hide(); + public native boolean eventFilter(TQObject arg1, TQEvent arg2); + public native int heightForWidth(int arg1); + public native int separator(); + public native void setSeparator(int when); + public native void setDefaultUp(boolean arg1); + public native boolean isDefaultUp(); + public native boolean customWhatsThis(); + public native TQSize sizeHint(); + public native TQSize minimumSize(); + public native TQSize minimumSizeHint(); + public native void activateItemAt(int index); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void drawContents(TQPainter arg1); + protected native void fontChange(TQFont arg1); + protected native void mousePressEvent(TQMouseEvent arg1); + protected native void mouseReleaseEvent(TQMouseEvent arg1); + protected native void mouseMoveEvent(TQMouseEvent arg1); + protected native void keyPressEvent(TQKeyEvent arg1); + protected native void focusInEvent(TQFocusEvent arg1); + protected native void focusOutEvent(TQFocusEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void leaveEvent(TQEvent arg1); + protected native void menuContentsChanged(); + protected native void menuStateChanged(); + public native void styleChange(TQStyle arg1); + protected native int itemAtPos(TQPoint arg1); + protected native void hidePopups(); + protected native TQRect itemRect(int item); + /** 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(); + public native int count(); + public native int insertItem(String text, TQObject receiver, String member, TQKeySequence accel, int id, int index); + public native int insertItem(String text, TQObject receiver, String member, TQKeySequence accel, int id); + public native int insertItem(String text, TQObject receiver, String member, TQKeySequence accel); + public native int insertItem(String text, TQObject receiver, String member); + public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel, int id, int index); + public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel, int id); + public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel); + public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member); + public native int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id, int index); + public native int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id); + public native int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel); + public native int insertItem(TQPixmap pixmap, TQObject receiver, String member); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id, int index); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member); + public native int insertItem(String text, int id, int index); + public native int insertItem(String text, int id); + public native int insertItem(String text); + public native int insertItem(TQIconSet icon, String text, int id, int index); + public native int insertItem(TQIconSet icon, String text, int id); + public native int insertItem(TQIconSet icon, String text); + public native int insertItem(String text, TQPopupMenu popup, int id, int index); + public native int insertItem(String text, TQPopupMenu popup, int id); + public native int insertItem(String text, TQPopupMenu popup); + public native int insertItem(TQIconSet icon, String text, TQPopupMenu popup, int id, int index); + public native int insertItem(TQIconSet icon, String text, TQPopupMenu popup, int id); + public native int insertItem(TQIconSet icon, String text, TQPopupMenu popup); + public native int insertItem(TQPixmap pixmap, int id, int index); + public native int insertItem(TQPixmap pixmap, int id); + public native int insertItem(TQPixmap pixmap); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, int id, int index); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, int id); + public native int insertItem(TQIconSet icon, TQPixmap pixmap); + public native int insertItem(TQPixmap pixmap, TQPopupMenu popup, int id, int index); + public native int insertItem(TQPixmap pixmap, TQPopupMenu popup, int id); + public native int insertItem(TQPixmap pixmap, TQPopupMenu popup); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup, int id, int index); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup, int id); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup); + public native int insertItem(TQWidget widget, int id, int index); + public native int insertItem(TQWidget widget, int id); + public native int insertItem(TQWidget widget); + public native int insertItem(TQIconSet icon, TQCustomMenuItem custom, int id, int index); + public native int insertItem(TQIconSet icon, TQCustomMenuItem custom, int id); + public native int insertItem(TQIconSet icon, TQCustomMenuItem custom); + public native int insertItem(TQCustomMenuItem custom, int id, int index); + public native int insertItem(TQCustomMenuItem custom, int id); + public native int insertItem(TQCustomMenuItem custom); + public native int insertSeparator(int index); + public native int insertSeparator(); + public native void removeItem(int id); + public native void removeItemAt(int index); + public native void clear(); + public native TQKeySequence accel(int id); + public native void setAccel(TQKeySequence key, int id); + public native TQIconSet iconSet(int id); + public native String text(int id); + public native TQPixmap pixmap(int id); + public native void setWhatsThis(int id, String arg2); + public native String whatsThis(int id); + public native void changeItem(int id, String text); + public native void changeItem(int id, TQPixmap pixmap); + public native void changeItem(int id, TQIconSet icon, String text); + public native void changeItem(int id, TQIconSet icon, TQPixmap pixmap); + public native void changeItem(String text, int id); + public native void changeItem(TQPixmap pixmap, int id); + public native void changeItem(TQIconSet icon, String text, int id); + public native boolean isItemActive(int id); + public native boolean isItemEnabled(int id); + public native void setItemEnabled(int id, boolean enable); + public native boolean isItemChecked(int id); + public native void setItemChecked(int id, boolean check); + public native boolean isItemVisible(int id); + public native void setItemVisible(int id, boolean visible); + public native int indexOf(int id); + public native int idAt(int index); + public native void setId(int index, int id); + public native boolean connectItem(int id, TQObject receiver, String member); + public native boolean disconnectItem(int id, TQObject receiver, String member); + public native boolean setItemParameter(int id, int param); + public native int itemParameter(int id); + public native TQMenuItem findItem(int id); + // TQMenuItem* findItem(int arg1,TQMenuData** arg2); >>>> NOT CONVERTED + public native TQMenuItem findPopup(TQPopupMenu arg1, int[] index); + public native TQMenuItem findPopup(TQPopupMenu arg1); + protected native void menuInsPopup(TQPopupMenu arg1); + protected native void menuDelPopup(TQPopupMenu arg1); +} diff --git a/qtjava/javalib/org/kde/qt/TQMenuBarSignals.java b/qtjava/javalib/org/kde/qt/TQMenuBarSignals.java new file mode 100644 index 00000000..61e82d32 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQMenuBarSignals.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQMenuBarSignals { + void activated(int itemId); + void highlighted(int itemId); +} diff --git a/qtjava/javalib/org/kde/qt/TQMenuData.java b/qtjava/javalib/org/kde/qt/TQMenuData.java new file mode 100644 index 00000000..694b6cce --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQMenuData.java @@ -0,0 +1,114 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQMenuData implements QtSupport, TQMenuDataInterface { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQMenuData(Class dummy){} + + public TQMenuData() { + newTQMenuData(); + } + private native void newTQMenuData(); + public native int count(); + public native int insertItem(String text, TQObject receiver, String member, TQKeySequence accel, int id, int index); + public native int insertItem(String text, TQObject receiver, String member, TQKeySequence accel, int id); + public native int insertItem(String text, TQObject receiver, String member, TQKeySequence accel); + public native int insertItem(String text, TQObject receiver, String member); + public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel, int id, int index); + public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel, int id); + public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel); + public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member); + public native int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id, int index); + public native int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id); + public native int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel); + public native int insertItem(TQPixmap pixmap, TQObject receiver, String member); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id, int index); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member); + public native int insertItem(String text, int id, int index); + public native int insertItem(String text, int id); + public native int insertItem(String text); + public native int insertItem(TQIconSet icon, String text, int id, int index); + public native int insertItem(TQIconSet icon, String text, int id); + public native int insertItem(TQIconSet icon, String text); + public native int insertItem(String text, TQPopupMenu popup, int id, int index); + public native int insertItem(String text, TQPopupMenu popup, int id); + public native int insertItem(String text, TQPopupMenu popup); + public native int insertItem(TQIconSet icon, String text, TQPopupMenu popup, int id, int index); + public native int insertItem(TQIconSet icon, String text, TQPopupMenu popup, int id); + public native int insertItem(TQIconSet icon, String text, TQPopupMenu popup); + public native int insertItem(TQPixmap pixmap, int id, int index); + public native int insertItem(TQPixmap pixmap, int id); + public native int insertItem(TQPixmap pixmap); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, int id, int index); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, int id); + public native int insertItem(TQIconSet icon, TQPixmap pixmap); + public native int insertItem(TQPixmap pixmap, TQPopupMenu popup, int id, int index); + public native int insertItem(TQPixmap pixmap, TQPopupMenu popup, int id); + public native int insertItem(TQPixmap pixmap, TQPopupMenu popup); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup, int id, int index); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup, int id); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup); + public native int insertItem(TQWidget widget, int id, int index); + public native int insertItem(TQWidget widget, int id); + public native int insertItem(TQWidget widget); + public native int insertItem(TQIconSet icon, TQCustomMenuItem custom, int id, int index); + public native int insertItem(TQIconSet icon, TQCustomMenuItem custom, int id); + public native int insertItem(TQIconSet icon, TQCustomMenuItem custom); + public native int insertItem(TQCustomMenuItem custom, int id, int index); + public native int insertItem(TQCustomMenuItem custom, int id); + public native int insertItem(TQCustomMenuItem custom); + public native int insertSeparator(int index); + public native int insertSeparator(); + public native void removeItem(int id); + public native void removeItemAt(int index); + public native void clear(); + public native TQKeySequence accel(int id); + public native void setAccel(TQKeySequence key, int id); + public native TQIconSet iconSet(int id); + public native String text(int id); + public native TQPixmap pixmap(int id); + public native void setWhatsThis(int id, String arg2); + public native String whatsThis(int id); + public native void changeItem(int id, String text); + public native void changeItem(int id, TQPixmap pixmap); + public native void changeItem(int id, TQIconSet icon, String text); + public native void changeItem(int id, TQIconSet icon, TQPixmap pixmap); + public native void changeItem(String text, int id); + public native void changeItem(TQPixmap pixmap, int id); + public native void changeItem(TQIconSet icon, String text, int id); + public native boolean isItemActive(int id); + public native boolean isItemEnabled(int id); + public native void setItemEnabled(int id, boolean enable); + public native boolean isItemChecked(int id); + public native void setItemChecked(int id, boolean check); + public native boolean isItemVisible(int id); + public native void setItemVisible(int id, boolean visible); + public native void updateItem(int id); + public native int indexOf(int id); + public native int idAt(int index); + public native void setId(int index, int id); + public native boolean connectItem(int id, TQObject receiver, String member); + public native boolean disconnectItem(int id, TQObject receiver, String member); + public native boolean setItemParameter(int id, int param); + public native int itemParameter(int id); + public native TQMenuItem findItem(int id); + // TQMenuItem* findItem(int arg1,TQMenuData** arg2); >>>> NOT CONVERTED + public native TQMenuItem findPopup(TQPopupMenu arg1, int[] index); + public native TQMenuItem findPopup(TQPopupMenu arg1); + public native void activateItemAt(int index); + protected native void menuContentsChanged(); + protected native void menuStateChanged(); + protected native void menuInsPopup(TQPopupMenu arg1); + protected native void menuDelPopup(TQPopupMenu 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/qtjava/javalib/org/kde/qt/TQMenuDataInterface.java b/qtjava/javalib/org/kde/qt/TQMenuDataInterface.java new file mode 100644 index 00000000..568dcbe3 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQMenuDataInterface.java @@ -0,0 +1,94 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQMenuDataInterface { + int count(); + int insertItem(String text, TQObject receiver, String member, TQKeySequence accel, int id, int index); + int insertItem(String text, TQObject receiver, String member, TQKeySequence accel, int id); + int insertItem(String text, TQObject receiver, String member, TQKeySequence accel); + int insertItem(String text, TQObject receiver, String member); + int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel, int id, int index); + int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel, int id); + int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel); + int insertItem(TQIconSet icon, String text, TQObject receiver, String member); + int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id, int index); + int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id); + int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel); + int insertItem(TQPixmap pixmap, TQObject receiver, String member); + int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id, int index); + int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id); + int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel); + int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member); + int insertItem(String text, int id, int index); + int insertItem(String text, int id); + int insertItem(String text); + int insertItem(TQIconSet icon, String text, int id, int index); + int insertItem(TQIconSet icon, String text, int id); + int insertItem(TQIconSet icon, String text); + int insertItem(String text, TQPopupMenu popup, int id, int index); + int insertItem(String text, TQPopupMenu popup, int id); + int insertItem(String text, TQPopupMenu popup); + int insertItem(TQIconSet icon, String text, TQPopupMenu popup, int id, int index); + int insertItem(TQIconSet icon, String text, TQPopupMenu popup, int id); + int insertItem(TQIconSet icon, String text, TQPopupMenu popup); + int insertItem(TQPixmap pixmap, int id, int index); + int insertItem(TQPixmap pixmap, int id); + int insertItem(TQPixmap pixmap); + int insertItem(TQIconSet icon, TQPixmap pixmap, int id, int index); + int insertItem(TQIconSet icon, TQPixmap pixmap, int id); + int insertItem(TQIconSet icon, TQPixmap pixmap); + int insertItem(TQPixmap pixmap, TQPopupMenu popup, int id, int index); + int insertItem(TQPixmap pixmap, TQPopupMenu popup, int id); + int insertItem(TQPixmap pixmap, TQPopupMenu popup); + int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup, int id, int index); + int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup, int id); + int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup); + int insertItem(TQWidget widget, int id, int index); + int insertItem(TQWidget widget, int id); + int insertItem(TQWidget widget); + int insertItem(TQIconSet icon, TQCustomMenuItem custom, int id, int index); + int insertItem(TQIconSet icon, TQCustomMenuItem custom, int id); + int insertItem(TQIconSet icon, TQCustomMenuItem custom); + int insertItem(TQCustomMenuItem custom, int id, int index); + int insertItem(TQCustomMenuItem custom, int id); + int insertItem(TQCustomMenuItem custom); + int insertSeparator(int index); + int insertSeparator(); + void removeItem(int id); + void removeItemAt(int index); + void clear(); + TQKeySequence accel(int id); + void setAccel(TQKeySequence key, int id); + TQIconSet iconSet(int id); + String text(int id); + TQPixmap pixmap(int id); + void setWhatsThis(int id, String arg2); + String whatsThis(int id); + void changeItem(int id, String text); + void changeItem(int id, TQPixmap pixmap); + void changeItem(int id, TQIconSet icon, String text); + void changeItem(int id, TQIconSet icon, TQPixmap pixmap); + void changeItem(String text, int id); + void changeItem(TQPixmap pixmap, int id); + void changeItem(TQIconSet icon, String text, int id); + boolean isItemActive(int id); + boolean isItemEnabled(int id); + void setItemEnabled(int id, boolean enable); + boolean isItemChecked(int id); + void setItemChecked(int id, boolean check); + boolean isItemVisible(int id); + void setItemVisible(int id, boolean visible); + void updateItem(int id); + int indexOf(int id); + int idAt(int index); + void setId(int index, int id); + boolean connectItem(int id, TQObject receiver, String member); + boolean disconnectItem(int id, TQObject receiver, String member); + boolean setItemParameter(int id, int param); + int itemParameter(int id); + TQMenuItem findItem(int id); + TQMenuItem findPopup(TQPopupMenu arg1, int[] index); + TQMenuItem findPopup(TQPopupMenu arg1); + void activateItemAt(int index); +} diff --git a/qtjava/javalib/org/kde/qt/TQMenuItem.java b/qtjava/javalib/org/kde/qt/TQMenuItem.java new file mode 100644 index 00000000..9969e7f9 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQMenuItem.java @@ -0,0 +1,41 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQMenuItem implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQMenuItem(Class dummy){} + + public TQMenuItem() { + newTQMenuItem(); + } + private native void newTQMenuItem(); + public native int id(); + public native TQIconSet iconSet(); + public native String text(); + public native String whatsThis(); + public native TQPixmap pixmap(); + public native TQPopupMenu popup(); + public native TQWidget widget(); + public native TQCustomMenuItem custom(); + public native TQKeySequence key(); + public native TQSignal signal(); + public native boolean isSeparator(); + public native boolean isEnabled(); + public native boolean isChecked(); + public native boolean isDirty(); + public native boolean isVisible(); + public native boolean isEnabledAndVisible(); + public native void setText(String text); + public native void setDirty(boolean dirty); + public native void setVisible(boolean visible); + public native void setWhatsThis(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/qtjava/javalib/org/kde/qt/TQMessageBox.java b/qtjava/javalib/org/kde/qt/TQMessageBox.java new file mode 100644 index 00000000..8129e5fe --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQMessageBox.java @@ -0,0 +1,144 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQMessageBox extends TQDialog { + protected TQMessageBox(Class dummy){super((Class) null);} + public static final int NoButton = 0; + public static final int Ok = 1; + public static final int Cancel = 2; + public static final int Yes = 3; + public static final int No = 4; + public static final int Abort = 5; + public static final int Retry = 6; + public static final int Ignore = 7; + public static final int YesAll = 8; + public static final int NoAll = 9; + public static final int ButtonMask = 0xff; + public static final int Default = 0x100; + public static final int Escape = 0x200; + public static final int FlagMask = 0x300; + + public static final int NoIcon = 0; + public static final int Information = 1; + public static final int Warning = 2; + public static final int Critical = 3; + public static final int Question = 4; + + public native TQMetaObject metaObject(); + public native String className(); + public TQMessageBox(TQWidget parent, String name) { + super((Class) null); + newTQMessageBox(parent,name); + } + private native void newTQMessageBox(TQWidget parent, String name); + public TQMessageBox(TQWidget parent) { + super((Class) null); + newTQMessageBox(parent); + } + private native void newTQMessageBox(TQWidget parent); + public TQMessageBox() { + super((Class) null); + newTQMessageBox(); + } + private native void newTQMessageBox(); + public TQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, TQWidget parent, String name, boolean modal, int f) { + super((Class) null); + newTQMessageBox(caption,text,icon,button0,button1,button2,parent,name,modal,f); + } + private native void newTQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, TQWidget parent, String name, boolean modal, int f); + public TQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, TQWidget parent, String name, boolean modal) { + super((Class) null); + newTQMessageBox(caption,text,icon,button0,button1,button2,parent,name,modal); + } + private native void newTQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, TQWidget parent, String name, boolean modal); + public TQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, TQWidget parent, String name) { + super((Class) null); + newTQMessageBox(caption,text,icon,button0,button1,button2,parent,name); + } + private native void newTQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, TQWidget parent, String name); + public TQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, TQWidget parent) { + super((Class) null); + newTQMessageBox(caption,text,icon,button0,button1,button2,parent); + } + private native void newTQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, TQWidget parent); + public TQMessageBox(String caption, String text, int icon, int button0, int button1, int button2) { + super((Class) null); + newTQMessageBox(caption,text,icon,button0,button1,button2); + } + private native void newTQMessageBox(String caption, String text, int icon, int button0, int button1, int button2); + public native String text(); + public native void setText(String arg1); + public native int iconId(); + public native void setIcon(int arg1); + public native void setIcon(TQPixmap arg1); + public native TQPixmap iconPixmap(); + public native void setIconPixmap(TQPixmap arg1); + public native String buttonText(int button); + public native void setButtonText(int button, String arg2); + public native void adjustSize(); + public native int textFormat(); + public native void setTextFormat(int arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native int information(TQWidget parent, String caption, String text, int button0, int button1, int button2); + public static native int information(TQWidget parent, String caption, String text, int button0, int button1); + public static native int information(TQWidget parent, String caption, String text, int button0); + public static native int information(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber, int escapeButtonNumber); + public static native int information(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber); + public static native int information(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text); + public static native int information(TQWidget parent, String caption, String text, String button0Text, String button1Text); + public static native int information(TQWidget parent, String caption, String text, String button0Text); + public static native int information(TQWidget parent, String caption, String text); + public static native int question(TQWidget parent, String caption, String text, int button0, int button1, int button2); + public static native int question(TQWidget parent, String caption, String text, int button0, int button1); + public static native int question(TQWidget parent, String caption, String text, int button0); + public static native int question(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber, int escapeButtonNumber); + public static native int question(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber); + public static native int question(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text); + public static native int question(TQWidget parent, String caption, String text, String button0Text, String button1Text); + public static native int question(TQWidget parent, String caption, String text, String button0Text); + public static native int question(TQWidget parent, String caption, String text); + public static native int warning(TQWidget parent, String caption, String text, int button0, int button1, int button2); + public static native int warning(TQWidget parent, String caption, String text, int button0, int button1); + public static native int warning(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber, int escapeButtonNumber); + public static native int warning(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber); + public static native int warning(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text); + public static native int warning(TQWidget parent, String caption, String text, String button0Text, String button1Text); + public static native int warning(TQWidget parent, String caption, String text, String button0Text); + public static native int warning(TQWidget parent, String caption, String text); + public static native int critical(TQWidget parent, String caption, String text, int button0, int button1, int button2); + public static native int critical(TQWidget parent, String caption, String text, int button0, int button1); + public static native int critical(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber, int escapeButtonNumber); + public static native int critical(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber); + public static native int critical(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text); + public static native int critical(TQWidget parent, String caption, String text, String button0Text, String button1Text); + public static native int critical(TQWidget parent, String caption, String text, String button0Text); + public static native int critical(TQWidget parent, String caption, String text); + public static native void about(TQWidget parent, String caption, String text); + public static native void aboutTQt(TQWidget parent, String caption); + public static native void aboutTQt(TQWidget parent); + public static native int message(String caption, String text, String buttonText, TQWidget parent, String arg5); + public static native int message(String caption, String text, String buttonText, TQWidget parent); + public static native int message(String caption, String text, String buttonText); + public static native int message(String caption, String text); + public static native boolean query(String caption, String text, String yesButtonText, String noButtonText, TQWidget parent, String arg6); + public static native boolean query(String caption, String text, String yesButtonText, String noButtonText, TQWidget parent); + public static native boolean query(String caption, String text, String yesButtonText, String noButtonText); + public static native boolean query(String caption, String text, String yesButtonText); + public static native boolean query(String caption, String text); + public static native TQPixmap standardIcon(int icon, int arg2); + public static native TQPixmap standardIcon(int icon); + protected native void resizeEvent(TQResizeEvent arg1); + public native void showEvent(TQShowEvent arg1); + protected native void closeEvent(TQCloseEvent arg1); + protected native void keyPressEvent(TQKeyEvent arg1); + protected native void styleChanged(TQStyle 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/qtjava/javalib/org/kde/qt/TQMetaData.java b/qtjava/javalib/org/kde/qt/TQMetaData.java new file mode 100644 index 00000000..c7a56d43 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQMetaData.java @@ -0,0 +1,25 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQMetaData implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQMetaData(Class dummy){} + + public static final int Private = 0; + public static final int Protected = 1; + public static final int Public = 2; + + public TQMetaData() { + newTQMetaData(); + } + private native void newTQMetaData(); + /** 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/qtjava/javalib/org/kde/qt/TQMetaEnum.java b/qtjava/javalib/org/kde/qt/TQMetaEnum.java new file mode 100644 index 00000000..239ea2ff --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQMetaEnum.java @@ -0,0 +1,21 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQMetaEnum implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQMetaEnum(Class dummy){} + + public TQMetaEnum() { + newTQMetaEnum(); + } + private native void newTQMetaEnum(); + /** 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/qtjava/javalib/org/kde/qt/TQMetaObject.java b/qtjava/javalib/org/kde/qt/TQMetaObject.java new file mode 100644 index 00000000..66323b15 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQMetaObject.java @@ -0,0 +1,64 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +public class TQMetaObject implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQMetaObject(Class dummy){} + + // TQMetaObject* TQMetaObject(const char* arg1,TQMetaObject* arg2,const TQMetaData* arg3,int arg4,const TQMetaData* arg5,int arg6,const TQMetaProperty* arg7,int arg8,const TQMetaEnum* arg9,int arg10,const TQClassInfo* arg11,int arg12); >>>> NOT CONVERTED + public native String className(); + public native String superClassName(); + public native TQMetaObject superClass(); + public native boolean inherits(String clname); + public native int numSlots(boolean arg1); + public native int numSlots(); + public native int numSignals(boolean arg1); + public native int numSignals(); + public native int findSlot(String arg1, boolean arg2); + public native int findSlot(String arg1); + public native int findSignal(String arg1, boolean arg2); + public native int findSignal(String arg1); + public native TQMetaData slot(int index, boolean arg2); + public native TQMetaData slot(int index); + public native TQMetaData signal(int index, boolean arg2); + public native TQMetaData signal(int index); + public native ArrayList slotNames(boolean arg1); + public native ArrayList slotNames(); + public native ArrayList signalNames(boolean arg1); + public native ArrayList signalNames(); + public native int slotOffset(); + public native int signalOffset(); + public native int propertyOffset(); + public native int numClassInfo(boolean arg1); + public native int numClassInfo(); + public native TQClassInfo classInfo(int index, boolean arg2); + public native TQClassInfo classInfo(int index); + public native String classInfo(String name, boolean arg2); + public native String classInfo(String name); + public native TQMetaProperty property(int index, boolean arg2); + public native TQMetaProperty property(int index); + public native int findProperty(String name, boolean arg2); + public native int findProperty(String name); + public native int indexOfProperty(TQMetaProperty arg1, boolean arg2); + public native int indexOfProperty(TQMetaProperty arg1); + public native TQMetaProperty resolveProperty(TQMetaProperty arg1); + public native int resolveProperty(int arg1); + public native ArrayList propertyNames(boolean arg1); + public native ArrayList propertyNames(); + public native int numProperties(boolean arg1); + public native int numProperties(); + public native ArrayList enumeratorNames(boolean arg1); + public native ArrayList enumeratorNames(); + public native int numEnumerators(boolean arg1); + public native int numEnumerators(); + public native TQMetaEnum enumerator(String name, boolean arg2); + public native TQMetaEnum enumerator(String name); + public native boolean qt_static_property(TQObject o, int id, int f, TQVariant v); + // TQMetaObject* new_metaobject(const char* arg1,TQMetaObject* arg2,const TQMetaData* arg3,int arg4,const TQMetaData* arg5,int arg6,const TQMetaProperty* arg7,int arg8,const TQMetaEnum* arg9,int arg10,const TQClassInfo* arg11,int arg12); >>>> NOT CONVERTED + public static native TQMetaObject metaObject(String class_name); + public static native boolean hasMetaObject(String class_name); +} diff --git a/qtjava/javalib/org/kde/qt/TQMetaProperty.java b/qtjava/javalib/org/kde/qt/TQMetaProperty.java new file mode 100644 index 00000000..8de85a19 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQMetaProperty.java @@ -0,0 +1,52 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +public class TQMetaProperty implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQMetaProperty(Class dummy){} + + public static final int Invalid = 0x00000000; + public static final int Readable = 0x00000001; + public static final int Writable = 0x00000002; + public static final int EnumOrSet = 0x00000004; + public static final int UnresolvedEnum = 0x00000008; + public static final int StdSet = 0x00000100; + public static final int Override = 0x00000200; + + public native String type(); + public native String name(); + public native boolean writable(); + public native boolean isValid(); + public native boolean isSetType(); + public native boolean isEnumType(); + public native ArrayList enumKeys(); + public native int keyToValue(String key); + public native String valueToKey(int value); + public native int keysToValue(String[] keys); + public native ArrayList valueToKeys(int value); + public native boolean designable(TQObject arg1); + public native boolean designable(); + public native boolean scriptable(TQObject arg1); + public native boolean scriptable(); + public native boolean stored(TQObject arg1); + public native boolean stored(); + public native boolean reset(TQObject arg1); + public native boolean testFlags(int f); + public native boolean stdSet(); + public native int id(); + public native void clear(); + public TQMetaProperty() { + newTQMetaProperty(); + } + private native void newTQMetaProperty(); + /** 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/qtjava/javalib/org/kde/qt/TQMimeSource.java b/qtjava/javalib/org/kde/qt/TQMimeSource.java new file mode 100644 index 00000000..be615f74 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQMimeSource.java @@ -0,0 +1,19 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQMimeSource implements QtSupport, TQMimeSourceInterface { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQMimeSource(Class dummy){} + + public native String format(int n); + public native String format(); + public native boolean provides(String arg1); + public native byte[] encodedData(String arg1); + public native int serialNumber(); + /** Internal method */ + protected native long mimeSource(); + +} diff --git a/qtjava/javalib/org/kde/qt/TQMimeSourceFactory.java b/qtjava/javalib/org/kde/qt/TQMimeSourceFactory.java new file mode 100644 index 00000000..e6f5c936 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQMimeSourceFactory.java @@ -0,0 +1,38 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +public class TQMimeSourceFactory implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQMimeSourceFactory(Class dummy){} + + public TQMimeSourceFactory() { + newTQMimeSourceFactory(); + } + private native void newTQMimeSourceFactory(); + public native TQMimeSourceInterface data(String abs_name); + public native String makeAbsolute(String abs_or_rel_name, String context); + public native TQMimeSourceInterface data(String abs_or_rel_name, String context); + public native void setText(String abs_name, String text); + public native void setImage(String abs_name, TQImage im); + public native void setPixmap(String abs_name, TQPixmap pm); + public native void setData(String abs_name, TQMimeSourceInterface data); + public native void setFilePath(String[] arg1); + public native ArrayList filePath(); + public native void addFilePath(String arg1); + public native void setExtensionType(String ext, String mimetype); + public static native TQMimeSourceFactory defaultFactory(); + public static native void setDefaultFactory(TQMimeSourceFactory arg1); + public static native TQMimeSourceFactory takeDefaultFactory(); + public static native void addFactory(TQMimeSourceFactory f); + public static native void removeFactory(TQMimeSourceFactory f); + /** 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/qtjava/javalib/org/kde/qt/TQMimeSourceInterface.java b/qtjava/javalib/org/kde/qt/TQMimeSourceInterface.java new file mode 100644 index 00000000..40846222 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQMimeSourceInterface.java @@ -0,0 +1,11 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQMimeSourceInterface { + String format(int n); + String format(); + boolean provides(String arg1); + byte[] encodedData(String arg1); + int serialNumber(); +} diff --git a/qtjava/javalib/org/kde/qt/TQMouseEvent.java b/qtjava/javalib/org/kde/qt/TQMouseEvent.java new file mode 100644 index 00000000..2e23e826 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQMouseEvent.java @@ -0,0 +1,36 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQMouseEvent extends TQEvent { + protected TQMouseEvent(Class dummy){super((Class) null);} + public TQMouseEvent(int type, TQPoint pos, int button, int state) { + super((Class) null); + newTQMouseEvent(type,pos,button,state); + } + private native void newTQMouseEvent(int type, TQPoint pos, int button, int state); + public TQMouseEvent(int type, TQPoint pos, TQPoint globalPos, int button, int state) { + super((Class) null); + newTQMouseEvent(type,pos,globalPos,button,state); + } + private native void newTQMouseEvent(int type, TQPoint pos, TQPoint globalPos, int button, int state); + public native TQPoint pos(); + public native TQPoint globalPos(); + public native int x(); + public native int y(); + public native int globalX(); + public native int globalY(); + public native int button(); + public native int state(); + public native int stateAfter(); + public native boolean isAccepted(); + public native void accept(); + public native void ignore(); + /** 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/qtjava/javalib/org/kde/qt/TQMoveEvent.java b/qtjava/javalib/org/kde/qt/TQMoveEvent.java new file mode 100644 index 00000000..e5f3f160 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQMoveEvent.java @@ -0,0 +1,21 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQMoveEvent extends TQEvent { + protected TQMoveEvent(Class dummy){super((Class) null);} + public TQMoveEvent(TQPoint pos, TQPoint oldPos) { + super((Class) null); + newTQMoveEvent(pos,oldPos); + } + private native void newTQMoveEvent(TQPoint pos, TQPoint oldPos); + public native TQPoint pos(); + public native TQPoint oldPos(); + /** 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/qtjava/javalib/org/kde/qt/TQMovie.java b/qtjava/javalib/org/kde/qt/TQMovie.java new file mode 100644 index 00000000..ad9344db --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQMovie.java @@ -0,0 +1,90 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQMovie implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQMovie(Class dummy){} + + public static final int SourceEmpty = -2; + public static final int UnrecognizedFormat = -1; + public static final int Paused = 1; + public static final int EndOfFrame = 2; + public static final int EndOfLoop = 3; + public static final int EndOfMovie = 4; + public static final int SpeedChanged = 5; + + public TQMovie() { + newTQMovie(); + } + private native void newTQMovie(); + public TQMovie(int bufsize) { + newTQMovie(bufsize); + } + private native void newTQMovie(int bufsize); + public TQMovie(TQDataSource arg1, int bufsize) { + newTQMovie(arg1,bufsize); + } + private native void newTQMovie(TQDataSource arg1, int bufsize); + public TQMovie(TQDataSource arg1) { + newTQMovie(arg1); + } + private native void newTQMovie(TQDataSource arg1); + public TQMovie(String fileName, int bufsize) { + newTQMovie(fileName,bufsize); + } + private native void newTQMovie(String fileName, int bufsize); + public TQMovie(String fileName) { + newTQMovie(fileName); + } + private native void newTQMovie(String fileName); + public TQMovie(byte[] data, int bufsize) { + newTQMovie(data,bufsize); + } + private native void newTQMovie(byte[] data, int bufsize); + public TQMovie(byte[] data) { + newTQMovie(data); + } + private native void newTQMovie(byte[] data); + public TQMovie(TQMovie arg1) { + newTQMovie(arg1); + } + private native void newTQMovie(TQMovie arg1); + public native int pushSpace(); + public native void pushData(char[] data, int length); + public native TQColor backgroundColor(); + public native void setBackgroundColor(TQColor arg1); + public native TQRect getValidRect(); + public native TQPixmap framePixmap(); + public native TQImage frameImage(); + public native boolean isNull(); + public native int frameNumber(); + public native int steps(); + public native boolean paused(); + public native boolean finished(); + public native boolean running(); + public native void unpause(); + public native void pause(); + public native void step(); + public native void step(int arg1); + public native void restart(); + public native int speed(); + public native void setSpeed(int arg1); + public native void connectResize(TQObject receiver, String member); + public native void disconnectResize(TQObject receiver, String member); + public native void disconnectResize(TQObject receiver); + public native void connectUpdate(TQObject receiver, String member); + public native void disconnectUpdate(TQObject receiver, String member); + public native void disconnectUpdate(TQObject receiver); + public native void connectStatus(TQObject receiver, String member); + public native void disconnectStatus(TQObject receiver, String member); + public native void disconnectStatus(TQObject receiver); + /** 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/qtjava/javalib/org/kde/qt/TQMultiLineEdit.java b/qtjava/javalib/org/kde/qt/TQMultiLineEdit.java new file mode 100644 index 00000000..da0d9114 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQMultiLineEdit.java @@ -0,0 +1,84 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQMultiLineEdit extends TQTextEdit { + protected TQMultiLineEdit(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQMultiLineEdit(TQWidget parent, String name) { + super((Class) null); + newTQMultiLineEdit(parent,name); + } + private native void newTQMultiLineEdit(TQWidget parent, String name); + public TQMultiLineEdit(TQWidget parent) { + super((Class) null); + newTQMultiLineEdit(parent); + } + private native void newTQMultiLineEdit(TQWidget parent); + public TQMultiLineEdit() { + super((Class) null); + newTQMultiLineEdit(); + } + private native void newTQMultiLineEdit(); + public native String textLine(int line); + public native int numLines(); + public native void insertLine(String s, int line); + public native void insertLine(String s); + public native void insertAt(String s, int line, int col); + public native void insertAt(String s, int line, int col, boolean mark); + public native void removeLine(int line); + public native void setCursorPosition(int line, int col); + public native void setCursorPosition(int line, int col, boolean mark); + public native boolean atBeginning(); + public native boolean atEnd(); + public native void setAlignment(int flags); + public native int alignment(); + public native void setEdited(boolean arg1); + public native boolean edited(); + public native boolean hasMarkedText(); + public native String markedText(); + public native void cursorWordForward(boolean mark); + public native void cursorWordBackward(boolean mark); + public native boolean autoUpdate(); + public native void setAutoUpdate(boolean arg1); + public native int totalWidth(); + public native int totalHeight(); + public native int maxLines(); + public native void setMaxLines(int arg1); + public native void deselect(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native TQPoint cursorPoint(); + protected native void insertAndMark(String arg1, boolean mark); + protected native void newLine(); + protected native void killLine(); + protected native void pageUp(boolean mark); + protected native void pageUp(); + protected native void pageDown(boolean mark); + protected native void pageDown(); + protected native void cursorLeft(boolean mark, boolean wrap); + protected native void cursorLeft(boolean mark); + protected native void cursorLeft(); + protected native void cursorRight(boolean mark, boolean wrap); + protected native void cursorRight(boolean mark); + protected native void cursorRight(); + protected native void cursorUp(boolean mark); + protected native void cursorUp(); + protected native void cursorDown(boolean mark); + protected native void cursorDown(); + protected native void backspace(); + protected native void home(boolean mark); + protected native void home(); + protected native void end(boolean mark); + protected native void end(); + protected native boolean getMarkedRegion(int[] line1, int[] col1, int[] line2, int[] col2); + protected native int lineLength(int row); + /** 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/qtjava/javalib/org/kde/qt/TQNetworkOperation.java b/qtjava/javalib/org/kde/qt/TQNetworkOperation.java new file mode 100644 index 00000000..bc6f9468 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQNetworkOperation.java @@ -0,0 +1,40 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQNetworkOperation extends TQObject { + protected TQNetworkOperation(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQNetworkOperation(int operation, String arg0, String arg1, String arg2) { + super((Class) null); + newTQNetworkOperation(operation,arg0,arg1,arg2); + } + private native void newTQNetworkOperation(int operation, String arg0, String arg1, String arg2); + public TQNetworkOperation(int operation, byte[] arg0, byte[] arg1, byte[] arg2) { + super((Class) null); + newTQNetworkOperation(operation,arg0,arg1,arg2); + } + private native void newTQNetworkOperation(int operation, byte[] arg0, byte[] arg1, byte[] arg2); + public native void setState(int state); + public native void setProtocolDetail(String detail); + public native void setErrorCode(int ec); + public native void setArg(int num, String arg); + public native void setRawArg(int num, byte[] arg); + public native int operation(); + public native int state(); + public native String arg(int num); + public native byte[] rawArg(int num); + public native String protocolDetail(); + public native int errorCode(); + public native void free(); + public static native String tr(String arg1, String arg2); + public static native String tr(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/qtjava/javalib/org/kde/qt/TQNetworkProtocol.java b/qtjava/javalib/org/kde/qt/TQNetworkProtocol.java new file mode 100644 index 00000000..7268211b --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQNetworkProtocol.java @@ -0,0 +1,84 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQNetworkProtocolSignals} for signals emitted by TQNetworkProtocol +*/ +public class TQNetworkProtocol extends TQObject { + protected TQNetworkProtocol(Class dummy){super((Class) null);} + public static final int StWaiting = 0; + public static final int StInProgress = 1; + public static final int StDone = 2; + public static final int StFailed = 3; + public static final int StStopped = 4; + + public static final int OpListChildren = 1; + public static final int OpMkDir = 2; + public static final int OpMkdir = OpMkDir; + public static final int OpRemove = 4; + public static final int OpRename = 8; + public static final int OpGet = 32; + public static final int OpPut = 64; + + public static final int ConHostFound = 0; + public static final int ConConnected = 1; + public static final int ConClosed = 2; + + public static final int NoError = 0; + public static final int ErrValid = 1; + public static final int ErrUnknownProtocol = 2; + public static final int ErrUnsupported = 3; + public static final int ErrParse = 4; + public static final int ErrLoginIncorrect = 5; + public static final int ErrHostNotFound = 6; + public static final int ErrListChildren = 7; + public static final int ErrListChlidren = ErrListChildren; + public static final int ErrMkDir = 8; + public static final int ErrMkdir = ErrMkDir; + public static final int ErrRemove = 9; + public static final int ErrRename = 10; + public static final int ErrGet = 11; + public static final int ErrPut = 12; + public static final int ErrFileNotExisting = 13; + public static final int ErrPermissionDenied = 14; + + public native TQMetaObject metaObject(); + public native String className(); + public TQNetworkProtocol() { + super((Class) null); + newTQNetworkProtocol(); + } + private native void newTQNetworkProtocol(); + public native void setUrl(TQUrlOperator u); + public native void setAutoDelete(boolean b, int i); + public native void setAutoDelete(boolean b); + public native boolean autoDelete(); + public native int supportedOperations(); + public native void addOperation(TQNetworkOperation op); + public native TQUrlOperator url(); + public native TQNetworkOperation operationInProgress(); + public native void clearOperationQueue(); + public native void stop(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + // void registerNetworkProtocol(const TQString& arg1,TQNetworkProtocolFactoryBase* arg2); >>>> NOT CONVERTED + public static native TQNetworkProtocol getNetworkProtocol(String protocol); + public static native boolean hasOnlyLocalFileSystem(); + protected native void processOperation(TQNetworkOperation op); + protected native void operationListChildren(TQNetworkOperation op); + protected native void operationMkDir(TQNetworkOperation op); + protected native void operationRemove(TQNetworkOperation op); + protected native void operationRename(TQNetworkOperation op); + protected native void operationGet(TQNetworkOperation op); + protected native void operationPut(TQNetworkOperation op); + protected native void operationPutChunk(TQNetworkOperation op); + protected native boolean checkConnection(TQNetworkOperation op); + /** 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/qtjava/javalib/org/kde/qt/TQNetworkProtocolSignals.java b/qtjava/javalib/org/kde/qt/TQNetworkProtocolSignals.java new file mode 100644 index 00000000..52a71c58 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQNetworkProtocolSignals.java @@ -0,0 +1,16 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQNetworkProtocolSignals { + void data(byte[] arg1, TQNetworkOperation res); + void connectionStateChanged(int state, String data); + void finished(TQNetworkOperation res); + void start(TQNetworkOperation res); + // void newChildren(const TQValueList& arg1,TQNetworkOperation* arg2); >>>> NOT CONVERTED + void newChild(TQUrlInfo arg1, TQNetworkOperation res); + void createdDirectory(TQUrlInfo arg1, TQNetworkOperation res); + void removed(TQNetworkOperation res); + void itemChanged(TQNetworkOperation res); + void dataTransferProgress(int bytesDone, int bytesTotal, TQNetworkOperation res); +} diff --git a/qtjava/javalib/org/kde/qt/TQObject.java b/qtjava/javalib/org/kde/qt/TQObject.java new file mode 100644 index 00000000..71d268b1 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQObject.java @@ -0,0 +1,272 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +/** + See {@link TQObjectSignals} for signals emitted by TQObject +*/ +public class TQObject extends Qt { + protected TQObject(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQObject(TQObject parent, String name) { + super((Class) null); + newTQObject(parent,name); + } + private native void newTQObject(TQObject parent, String name); + public TQObject(TQObject parent) { + super((Class) null); + newTQObject(parent); + } + private native void newTQObject(TQObject parent); + public TQObject() { + super((Class) null); + newTQObject(); + } + private native void newTQObject(); + public native boolean event(TQEvent arg1); + public native boolean eventFilter(TQObject arg1, TQEvent arg2); + public native boolean isA(String arg1); + public native boolean inherits(String arg1); + public native String name(); + public native String name(String defaultName); + public native void setName(String name); + public native boolean isWidgetType(); + public native boolean highPriority(); + public native boolean signalsBlocked(); + public native void blockSignals(boolean b); + public native int startTimer(int interval); + public native void killTimer(int id); + public native void killTimers(); + public native TQObject child(String objName, String inheritsClass, boolean recursiveSearch); + public native TQObject child(String objName, String inheritsClass); + public native TQObject child(String objName); + public native ArrayList children(); + public native ArrayList queryList(String inheritsClass, String objName, boolean regexpMatch, boolean recursiveSearch); + public native ArrayList queryList(String inheritsClass, String objName, boolean regexpMatch); + public native ArrayList queryList(String inheritsClass, String objName); + public native ArrayList queryList(String inheritsClass); + public native ArrayList queryList(); + public native void insertChild(TQObject arg1); + public native void removeChild(TQObject arg1); + public native void installEventFilter(TQObject arg1); + public native void removeEventFilter(TQObject arg1); + public native boolean connect(TQObject sender, String signal, String member); + public native boolean disconnect(String signal, TQObject receiver, String member); + public native boolean disconnect(String signal, TQObject receiver); + public native boolean disconnect(String signal); + public native boolean disconnect(); + public native boolean disconnect(TQObject receiver, String member); + public native boolean disconnect(TQObject receiver); + public native void dumpObjectTree(); + public native void dumpObjectInfo(); + public native boolean setProperty(String name, TQVariant value); + public native TQVariant property(String name); + // void setUserData(uint arg1,TQObjectUserData* arg2); >>>> NOT CONVERTED + // TQObjectUserData* userData(uint arg1); >>>> NOT CONVERTED + public native TQObject parent(); + public native void deleteLater(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native ArrayList objectTrees(); + public static native boolean connect(TQObject sender, String signal, TQObject receiver, String member); + public static native boolean disconnect(TQObject sender, String signal, TQObject receiver, String member); + public static native void connectInternal(TQObject sender, int signal_index, TQObject receiver, int membcode, int member_index); + public static native boolean disconnectInternal(TQObject sender, int signal_index, TQObject receiver, int membcode, int member_index); + public static native int registerUserData(); + protected native boolean activate_filters(TQEvent arg1); + // TQConnectionList* receivers(const char* arg1); >>>> NOT CONVERTED + // TQConnectionList* receivers(int arg1); >>>> NOT CONVERTED + protected native void activate_signal(int signal); + protected native void activate_signal(int signal, int arg2); + protected native void activate_signal(int signal, double arg2); + protected native void activate_signal(int signal, String arg2); + protected native void activate_signal_bool(int signal, boolean arg2); + // void activate_signal(TQConnectionList* arg1,TQUObject* arg2); >>>> NOT CONVERTED + protected native TQObject sender(); + protected native void timerEvent(TQTimerEvent arg1); + protected native void childEvent(TQChildEvent arg1); + protected native void customEvent(TQCustomEvent arg1); + protected native void connectNotify(String signal); + protected native void disconnectNotify(String signal); + protected native boolean checkConnectArgs(String signal, TQObject receiver, String member); + protected static native String normalizeSignalSlot(String signalSlot); + /** 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(); + /** i18n() is just a synonym of tr() for now */ + public static String i18n(String s) { + return tr(s); + } + + public native void emit(String signal, Object[] args); + + protected void emit(String signal) { + Object[] args = new Object[0]; + emit("2" + signal.trim() + "()", args); + } + + protected void emit(String signal, Object value) { + Object[] args = new Object[1]; + args[0] = value; + emit("2" + signal.trim() + "(" + value.getClass().getName() + ")", args); + } + + protected void emit(String signal, Object value1, Object value2) { + Object[] args = new Object[2]; + args[0] = value1; + args[1] = value2; + emit("2" + signal.trim() + "(" + value1.getClass().getName() + "," + + value2.getClass().getName() + + ")", args); + } + + protected void emit(String signal, Object value1, Object value2, Object value3) { + Object[] args = new Object[3]; + args[0] = value1; + args[1] = value2; + args[2] = value3; + emit("2" + signal.trim() + "(" + value1.getClass().getName() + "," + + value2.getClass().getName() + "," + + value3.getClass().getName() + + ")", args); + } + + protected void emit(String signal, Object value1, Object value2, Object value3, Object value4) { + Object[] args = new Object[4]; + args[0] = value1; + args[1] = value2; + args[2] = value3; + args[3] = value4; + emit("2" + signal.trim() + "(" + value1.getClass().getName() + "," + + value2.getClass().getName() + "," + + value3.getClass().getName() + "," + + value4.getClass().getName() + + ")", args); + } + + protected void emit(String signal, boolean value) { + Object[] args = new Object[1]; + args[0] = new Boolean(value); + emit("2" + signal.trim() + "(boolean)", args); + } + + protected void emit(String signal, char value) { + Object[] args = new Object[1]; + args[0] = new Character(value); + emit("2" + signal.trim() + "(char)", args); + } + + protected void emit(String signal, byte value) { + Object[] args = new Object[1]; + args[0] = new Byte(value); + emit("2" + signal.trim() + "(byte)", args); + } + + protected void emit(String signal, short value) { + Object[] args = new Object[1]; + args[0] = new Short(value); + emit("2" + signal.trim() + "(short)", args); + } + + protected void emit(String signal, int value) { + Object[] args = new Object[1]; + args[0] = new Integer(value); + emit("2" + signal.trim() + "(int)", args); + } + + protected void emit(String signal, int value1, int value2) { + Object[] args = new Object[2]; + args[0] = new Integer(value1); + args[1] = new Integer(value2); + emit("2" + signal.trim() + "(int,int)", args); + } + + protected void emit(String signal, Object value1, int value2) { + Object[] args = new Object[2]; + args[0] = value1; + args[1] = new Integer(value2); + emit("2" + signal.trim() + "(" + value1.getClass().getName() + "," + + "int" + + ")", args); + } + + protected void emit(String signal, int value1, int value2, int value3) { + Object[] args = new Object[3]; + args[0] = new Integer(value1); + args[1] = new Integer(value2); + args[2] = new Integer(value3); + emit("2" + signal.trim() + "(int,int,int)", args); + } + + protected void emit(String signal, int value1, int value2, int value3, Object value4) { + Object[] args = new Object[4]; + args[0] = new Integer(value1); + args[1] = new Integer(value2); + args[2] = new Integer(value3); + args[3] = value4; + emit("2" + signal.trim() + "(int,int,int," + value4.getClass().getName() + ")", args); + } + + protected void emit(String signal, int value1, Object value2, Object value3) { + Object[] args = new Object[3]; + args[0] = new Integer(value1); + args[1] = value2; + args[2] = value3; + emit("2" + signal.trim() + "(int," + + value2.getClass().getName() + "," + + value3.getClass().getName() + + ")", args); + } + + protected void emit(String signal, int value1, Object value2, Object value3, int value4) { + Object[] args = new Object[4]; + args[0] = new Integer(value1); + args[1] = value2; + args[2] = value3; + args[3] = new Integer(value4); + emit("2" + signal.trim() + "(int," + + value2.getClass().getName() + "," + + value3.getClass().getName() + + ",int)", args); + } + + protected void emit(String signal, int value1, boolean value2) { + Object[] args = new Object[2]; + args[0] = new Integer(value1); + args[1] = new Boolean(value2); + emit("2" + signal.trim() + "(int,boolean)", args); + } + + protected void emit(String signal, long value) { + Object[] args = new Object[1]; + args[0] = new Long(value); + emit("2" + signal.trim() + "(long)", args); + } + + protected void emit(String signal, float value) { + Object[] args = new Object[1]; + args[0] = new Float(value); + emit("2" + signal.trim() + "(float)", args); + } + + protected void emit(String signal, double value) { + Object[] args = new Object[1]; + args[0] = new Double(value); + emit("2" + signal.trim() + "(double)", args); + } + + protected void emit(String signal, Object value1, int value2, int value3) { + Object[] args = new Object[3]; + args[0] = value1; + args[1] = new Integer(value2); + args[2] = new Integer(value3); + emit("2" + signal.trim() + "(" + value1.getClass().getName() + ",int,int)", args); + } + +} diff --git a/qtjava/javalib/org/kde/qt/TQObjectCleanupHandler.java b/qtjava/javalib/org/kde/qt/TQObjectCleanupHandler.java new file mode 100644 index 00000000..f03fc315 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQObjectCleanupHandler.java @@ -0,0 +1,27 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQObjectCleanupHandler extends TQObject { + protected TQObjectCleanupHandler(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQObjectCleanupHandler() { + super((Class) null); + newTQObjectCleanupHandler(); + } + private native void newTQObjectCleanupHandler(); + public native TQObject add(TQObject object); + public native void remove(TQObject object); + public native boolean isEmpty(); + public native void clear(); + public static native String tr(String arg1, String arg2); + public static native String tr(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/qtjava/javalib/org/kde/qt/TQObjectSignals.java b/qtjava/javalib/org/kde/qt/TQObjectSignals.java new file mode 100644 index 00000000..26d2e58a --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQObjectSignals.java @@ -0,0 +1,9 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import java.util.ArrayList; + +public interface TQObjectSignals { + void destroyed(); + void destroyed(TQObject arg1); +} diff --git a/qtjava/javalib/org/kde/qt/TQPaintDevice.java b/qtjava/javalib/org/kde/qt/TQPaintDevice.java new file mode 100644 index 00000000..5e7f9915 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQPaintDevice.java @@ -0,0 +1,86 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQPaintDevice implements QtSupport, TQPaintDeviceInterface { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQPaintDevice(Class dummy){} + + public static final int PdcNOP = 0; + public static final int PdcDrawPoint = 1; + public static final int PdcDrawFirst = PdcDrawPoint; + public static final int PdcMoveTo = 2; + public static final int PdcLineTo = 3; + public static final int PdcDrawLine = 4; + public static final int PdcDrawRect = 5; + public static final int PdcDrawRoundRect = 6; + public static final int PdcDrawEllipse = 7; + public static final int PdcDrawArc = 8; + public static final int PdcDrawPie = 9; + public static final int PdcDrawChord = 10; + public static final int PdcDrawLineSegments = 11; + public static final int PdcDrawPolyline = 12; + public static final int PdcDrawPolygon = 13; + public static final int PdcDrawCubicBezier = 14; + public static final int PdcDrawText = 15; + public static final int PdcDrawTextFormatted = 16; + public static final int PdcDrawPixmap = 17; + public static final int PdcDrawImage = 18; + public static final int PdcDrawText2 = 19; + public static final int PdcDrawText2Formatted = 20; + public static final int PdcDrawTextItem = 21; + public static final int PdcDrawLast = PdcDrawTextItem; + public static final int PdcBegin = 30; + public static final int PdcEnd = 31; + public static final int PdcSave = 32; + public static final int PdcRestore = 33; + public static final int PdcSetdev = 34; + public static final int PdcSetBkColor = 40; + public static final int PdcSetBkMode = 41; + public static final int PdcSetROP = 42; + public static final int PdcSetBrushOrigin = 43; + public static final int PdcSetFont = 45; + public static final int PdcSetPen = 46; + public static final int PdcSetBrush = 47; + public static final int PdcSetTabStops = 48; + public static final int PdcSetTabArray = 49; + public static final int PdcSetUnit = 50; + public static final int PdcSetVXform = 51; + public static final int PdcSetWindow = 52; + public static final int PdcSetViewport = 53; + public static final int PdcSetWXform = 54; + public static final int PdcSetWMatrix = 55; + public static final int PdcSaveWMatrix = 56; + public static final int PdcRestoreWMatrix = 57; + public static final int PdcSetClip = 60; + public static final int PdcSetClipRegion = 61; + public static final int PdcReservedStart = 0; + public static final int PdcReservedStop = 199; + + public native int devType(); + public native boolean isExtDev(); + public native boolean paintingActive(); + public native void setResolution(int arg1); + public native int resolution(); + public TQPaintDevice(int devflags) { + newTQPaintDevice(devflags); + } + private native void newTQPaintDevice(int devflags); + // bool cmd(int arg1,TQPainter* arg2,TQPDevCmdParam* arg3); >>>> NOT CONVERTED + protected native int metric(int arg1); + protected native int fontMet(TQFont arg1, int arg2, String arg3, int arg4); + protected native int fontMet(TQFont arg1, int arg2, String arg3); + protected native int fontMet(TQFont arg1, int arg2); + protected native int fontInf(TQFont arg1, int 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(); + /** Internal method */ + protected native long paintDevice(); + +} diff --git a/qtjava/javalib/org/kde/qt/TQPaintDeviceInterface.java b/qtjava/javalib/org/kde/qt/TQPaintDeviceInterface.java new file mode 100644 index 00000000..b2b4f1a2 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQPaintDeviceInterface.java @@ -0,0 +1,11 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQPaintDeviceInterface { + int devType(); + boolean isExtDev(); + boolean paintingActive(); + void setResolution(int arg1); + int resolution(); +} diff --git a/qtjava/javalib/org/kde/qt/TQPaintDeviceMetrics.java b/qtjava/javalib/org/kde/qt/TQPaintDeviceMetrics.java new file mode 100644 index 00000000..76683290 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQPaintDeviceMetrics.java @@ -0,0 +1,42 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQPaintDeviceMetrics implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQPaintDeviceMetrics(Class dummy){} + + public static final int PdmWidth = 1; + public static final int PdmHeight = 2; + public static final int PdmWidthMM = 3; + public static final int PdmHeightMM = 4; + public static final int PdmNumColors = 5; + public static final int PdmDepth = 6; + public static final int PdmDpiX = 7; + public static final int PdmDpiY = 8; + public static final int PdmPhysicalDpiX = 9; + public static final int PdmPhysicalDpiY = 10; + + public TQPaintDeviceMetrics(TQPaintDeviceInterface arg1) { + newTQPaintDeviceMetrics(arg1); + } + private native void newTQPaintDeviceMetrics(TQPaintDeviceInterface arg1); + public native int width(); + public native int height(); + public native int widthMM(); + public native int heightMM(); + public native int logicalDpiX(); + public native int logicalDpiY(); + public native int physicalDpiX(); + public native int physicalDpiY(); + public native int numColors(); + public native int depth(); + /** 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/qtjava/javalib/org/kde/qt/TQPaintEvent.java b/qtjava/javalib/org/kde/qt/TQPaintEvent.java new file mode 100644 index 00000000..8b91516c --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQPaintEvent.java @@ -0,0 +1,47 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQPaintEvent extends TQEvent { + protected TQPaintEvent(Class dummy){super((Class) null);} + public TQPaintEvent(TQRegion paintRegion, boolean erased) { + super((Class) null); + newTQPaintEvent(paintRegion,erased); + } + private native void newTQPaintEvent(TQRegion paintRegion, boolean erased); + public TQPaintEvent(TQRegion paintRegion) { + super((Class) null); + newTQPaintEvent(paintRegion); + } + private native void newTQPaintEvent(TQRegion paintRegion); + public TQPaintEvent(TQRect paintRect, boolean erased) { + super((Class) null); + newTQPaintEvent(paintRect,erased); + } + private native void newTQPaintEvent(TQRect paintRect, boolean erased); + public TQPaintEvent(TQRect paintRect) { + super((Class) null); + newTQPaintEvent(paintRect); + } + private native void newTQPaintEvent(TQRect paintRect); + public TQPaintEvent(TQRegion paintRegion, TQRect paintRect, boolean erased) { + super((Class) null); + newTQPaintEvent(paintRegion,paintRect,erased); + } + private native void newTQPaintEvent(TQRegion paintRegion, TQRect paintRect, boolean erased); + public TQPaintEvent(TQRegion paintRegion, TQRect paintRect) { + super((Class) null); + newTQPaintEvent(paintRegion,paintRect); + } + private native void newTQPaintEvent(TQRegion paintRegion, TQRect paintRect); + public native TQRect rect(); + public native TQRegion region(); + public native boolean erased(); + /** 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/qtjava/javalib/org/kde/qt/TQPainter.java b/qtjava/javalib/org/kde/qt/TQPainter.java new file mode 100644 index 00000000..8db7725c --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQPainter.java @@ -0,0 +1,247 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQPainter extends Qt { + protected TQPainter(Class dummy){super((Class) null);} + public static final int IsActive = 0x01; + public static final int ExtDev = 0x02; + public static final int IsStartingUp = 0x04; + public static final int NoCache = 0x08; + public static final int VxF = 0x10; + public static final int WxF = 0x20; + public static final int ClipOn = 0x40; + public static final int SafePolygon = 0x80; + public static final int MonoDev = 0x100; + public static final int DirtyFont = 0x200; + public static final int DirtyPen = 0x400; + public static final int DirtyBrush = 0x800; + public static final int RGBColor = 0x1000; + public static final int FontMet = 0x2000; + public static final int FontInf = 0x4000; + public static final int CtorBegin = 0x8000; + public static final int UsePrivateCx = 0x10000; + public static final int VolatileDC = 0x20000; + public static final int Qt2Compat = 0x40000; + + public static final int CoordDevice = 0; + public static final int CoordPainter = 1; + + public static final int Auto = 0; + public static final int RTL = 1; + public static final int LTR = 2; + + public TQPainter() { + super((Class) null); + newTQPainter(); + } + private native void newTQPainter(); + public TQPainter(TQPaintDeviceInterface arg1, boolean unclipped) { + super((Class) null); + newTQPainter(arg1,unclipped); + } + private native void newTQPainter(TQPaintDeviceInterface arg1, boolean unclipped); + public TQPainter(TQPaintDeviceInterface arg1) { + super((Class) null); + newTQPainter(arg1); + } + private native void newTQPainter(TQPaintDeviceInterface arg1); + public TQPainter(TQPaintDeviceInterface arg1, TQWidget arg2, boolean unclipped) { + super((Class) null); + newTQPainter(arg1,arg2,unclipped); + } + private native void newTQPainter(TQPaintDeviceInterface arg1, TQWidget arg2, boolean unclipped); + public TQPainter(TQPaintDeviceInterface arg1, TQWidget arg2) { + super((Class) null); + newTQPainter(arg1,arg2); + } + private native void newTQPainter(TQPaintDeviceInterface arg1, TQWidget arg2); + public native boolean begin(TQPaintDeviceInterface arg1, boolean unclipped); + public native boolean begin(TQPaintDeviceInterface arg1); + public native boolean begin(TQPaintDeviceInterface arg1, TQWidget arg2, boolean unclipped); + public native boolean begin(TQPaintDeviceInterface arg1, TQWidget arg2); + public native boolean end(); + public native TQPaintDeviceInterface device(); + public native boolean isActive(); + public native void flush(TQRegion region, int cm); + public native void flush(TQRegion region); + public native void flush(); + public native void save(); + public native void restore(); + public native TQFontMetrics fontMetrics(); + public native TQFontInfo fontInfo(); + public native TQFont font(); + public native void setFont(TQFont arg1); + public native TQPen pen(); + public native void setPen(TQPen arg1); + public native void setPen(int arg1); + public native void setPen(TQColor arg1); + public native TQBrush brush(); + public native void setBrush(TQBrush arg1); + public native void setBrush(int arg1); + public native void setBrush(TQColor arg1); + public native TQPoint pos(); + public native TQColor backgroundColor(); + public native void setBackgroundColor(TQColor arg1); + public native int backgroundMode(); + public native void setBackgroundMode(int arg1); + public native int rasterOp(); + public native void setRasterOp(int arg1); + public native TQPoint brushOrigin(); + public native void setBrushOrigin(int x, int y); + public native void setBrushOrigin(TQPoint arg1); + public native boolean hasViewXForm(); + public native boolean hasWorldXForm(); + public native void setViewXForm(boolean arg1); + public native TQRect window(); + public native void setWindow(TQRect arg1); + public native void setWindow(int x, int y, int w, int h); + public native TQRect viewport(); + public native void setViewport(TQRect arg1); + public native void setViewport(int x, int y, int w, int h); + public native void setWorldXForm(boolean arg1); + public native TQWMatrix worldMatrix(); + public native void setWorldMatrix(TQWMatrix arg1, boolean combine); + public native void setWorldMatrix(TQWMatrix arg1); + public native void saveWorldMatrix(); + public native void restoreWorldMatrix(); + public native void scale(double sx, double sy); + public native void shear(double sh, double sv); + public native void rotate(double a); + public native void translate(double dx, double dy); + public native void resetXForm(); + public native double translationX(); + public native double translationY(); + public native Object xForm(TQPoint arg1); + public native Object xForm(TQRect arg1); + public native Object xForm(TQPointArray arg1); + public native Object xForm(TQPointArray arg1, int index, int npoints); + public native TQPoint xFormDev(TQPoint arg1); + public native TQRect xFormDev(TQRect arg1); + public native TQPointArray xFormDev(TQPointArray arg1); + public native TQPointArray xFormDev(TQPointArray arg1, int index, int npoints); + public native void setClipping(boolean arg1); + public native boolean hasClipping(); + public native TQRegion clipRegion(int arg1); + public native TQRegion clipRegion(); + public native void setClipRect(TQRect arg1, int arg2); + public native void setClipRect(TQRect arg1); + public native void setClipRect(int x, int y, int w, int h, int arg5); + public native void setClipRect(int x, int y, int w, int h); + public native void setClipRegion(TQRegion arg1, int arg2); + public native void setClipRegion(TQRegion arg1); + public native void drawPoint(int x, int y); + public native void drawPoint(TQPoint arg1); + public native void drawPoints(TQPointArray a, int index, int npoints); + public native void drawPoints(TQPointArray a, int index); + public native void drawPoints(TQPointArray a); + public native void moveTo(int x, int y); + public native void moveTo(TQPoint arg1); + public native void lineTo(int x, int y); + public native void lineTo(TQPoint arg1); + public native void drawLine(int x1, int y1, int x2, int y2); + public native void drawLine(TQPoint arg1, TQPoint arg2); + public native void drawRect(int x, int y, int w, int h); + public native void drawRect(TQRect arg1); + public native void drawWinFocusRect(int x, int y, int w, int h); + public native void drawWinFocusRect(int x, int y, int w, int h, TQColor bgColor); + public native void drawWinFocusRect(TQRect arg1); + public native void drawWinFocusRect(TQRect arg1, TQColor bgColor); + public native void drawRoundRect(int x, int y, int w, int h, int arg5, int arg6); + public native void drawRoundRect(int x, int y, int w, int h, int arg5); + public native void drawRoundRect(int x, int y, int w, int h); + public native void drawRoundRect(TQRect arg1, int arg2, int arg3); + public native void drawRoundRect(TQRect arg1, int arg2); + public native void drawRoundRect(TQRect arg1); + public native void drawEllipse(int x, int y, int w, int h); + public native void drawEllipse(TQRect arg1); + public native void drawArc(int x, int y, int w, int h, int a, int alen); + public native void drawArc(TQRect arg1, int a, int alen); + public native void drawPie(int x, int y, int w, int h, int a, int alen); + public native void drawPie(TQRect arg1, int a, int alen); + public native void drawChord(int x, int y, int w, int h, int a, int alen); + public native void drawChord(TQRect arg1, int a, int alen); + public native void drawLineSegments(TQPointArray arg1, int index, int nlines); + public native void drawLineSegments(TQPointArray arg1, int index); + public native void drawLineSegments(TQPointArray arg1); + public native void drawPolyline(TQPointArray arg1, int index, int npoints); + public native void drawPolyline(TQPointArray arg1, int index); + public native void drawPolyline(TQPointArray arg1); + public native void drawPolygon(TQPointArray arg1, boolean winding, int index, int npoints); + public native void drawPolygon(TQPointArray arg1, boolean winding, int index); + public native void drawPolygon(TQPointArray arg1, boolean winding); + public native void drawPolygon(TQPointArray arg1); + public native void drawConvexPolygon(TQPointArray arg1, int index, int npoints); + public native void drawConvexPolygon(TQPointArray arg1, int index); + public native void drawConvexPolygon(TQPointArray arg1); + public native void drawCubicBezier(TQPointArray arg1, int index); + public native void drawCubicBezier(TQPointArray arg1); + public native void drawPixmap(int x, int y, TQPixmap arg3, int sx, int sy, int sw, int sh); + public native void drawPixmap(int x, int y, TQPixmap arg3, int sx, int sy, int sw); + public native void drawPixmap(int x, int y, TQPixmap arg3, int sx, int sy); + public native void drawPixmap(int x, int y, TQPixmap arg3, int sx); + public native void drawPixmap(int x, int y, TQPixmap arg3); + public native void drawPixmap(TQPoint arg1, TQPixmap arg2, TQRect sr); + public native void drawPixmap(TQPoint arg1, TQPixmap arg2); + public native void drawPixmap(TQRect arg1, TQPixmap arg2); + public native void drawImage(int x, int y, TQImage arg3, int sx, int sy, int sw, int sh, int conversionFlags); + public native void drawImage(int x, int y, TQImage arg3, int sx, int sy, int sw, int sh); + public native void drawImage(int x, int y, TQImage arg3, int sx, int sy, int sw); + public native void drawImage(int x, int y, TQImage arg3, int sx, int sy); + public native void drawImage(int x, int y, TQImage arg3, int sx); + public native void drawImage(int x, int y, TQImage arg3); + public native void drawImage(TQPoint arg1, TQImage arg2, TQRect sr, int conversionFlags); + public native void drawImage(TQPoint arg1, TQImage arg2, TQRect sr); + public native void drawImage(TQPoint arg1, TQImage arg2, int conversion_flags); + public native void drawImage(TQPoint arg1, TQImage arg2); + public native void drawImage(TQRect arg1, TQImage arg2); + public native void drawTiledPixmap(int x, int y, int w, int h, TQPixmap arg5, int sx, int sy); + public native void drawTiledPixmap(int x, int y, int w, int h, TQPixmap arg5, int sx); + public native void drawTiledPixmap(int x, int y, int w, int h, TQPixmap arg5); + public native void drawTiledPixmap(TQRect arg1, TQPixmap arg2, TQPoint arg3); + public native void drawTiledPixmap(TQRect arg1, TQPixmap arg2); + public native void drawPicture(TQPicture arg1); + public native void drawPicture(int x, int y, TQPicture arg3); + public native void drawPicture(TQPoint arg1, TQPicture arg2); + public native void fillRect(int x, int y, int w, int h, TQBrush arg5); + public native void fillRect(TQRect arg1, TQBrush arg2); + public native void eraseRect(int x, int y, int w, int h); + public native void eraseRect(TQRect arg1); + public native void drawText(int x, int y, String arg3, int len, int dir); + public native void drawText(int x, int y, String arg3, int len); + public native void drawText(int x, int y, String arg3); + public native void drawText(TQPoint arg1, String arg2, int len, int dir); + public native void drawText(TQPoint arg1, String arg2, int len); + public native void drawText(TQPoint arg1, String arg2); + public native void drawText(int x, int y, String arg3, int pos, int len, int dir); + public native void drawText(TQPoint p, String arg2, int pos, int len, int dir); + // void drawText(int arg1,int arg2,int arg3,int arg4,int arg5,const TQString& arg6,int arg7,TQRect* arg8,TQTextParag** arg9); >>>> NOT CONVERTED + public native void drawText(int x, int y, int w, int h, int flags, String arg6, int len, TQRect br); + public native void drawText(int x, int y, int w, int h, int flags, String arg6, int len); + public native void drawText(int x, int y, int w, int h, int flags, String arg6); + // void drawText(const TQRect& arg1,int arg2,const TQString& arg3,int arg4,TQRect* arg5,TQTextParag** arg6); >>>> NOT CONVERTED + public native void drawText(TQRect arg1, int flags, String arg3, int len, TQRect br); + public native void drawText(TQRect arg1, int flags, String arg3, int len); + public native void drawText(TQRect arg1, int flags, String arg3); + // TQRect boundingRect(int arg1,int arg2,int arg3,int arg4,int arg5,const TQString& arg6,int arg7,TQTextParag** arg8); >>>> NOT CONVERTED + public native TQRect boundingRect(int x, int y, int w, int h, int flags, String arg6, int len); + public native TQRect boundingRect(int x, int y, int w, int h, int flags, String arg6); + // TQRect boundingRect(const TQRect& arg1,int arg2,const TQString& arg3,int arg4,TQTextParag** arg5); >>>> NOT CONVERTED + public native TQRect boundingRect(TQRect arg1, int flags, String arg3, int len); + public native TQRect boundingRect(TQRect arg1, int flags, String arg3); + public native int tabStops(); + public native void setTabStops(int arg1); + public native int[] tabArray(); + public native void setTabArray(int[] arg1); + public static native void redirect(TQPaintDeviceInterface pdev, TQPaintDeviceInterface replacement); + public static native TQPaintDeviceInterface redirect(TQPaintDeviceInterface pdev); + public static native void initialize(); + public static native void cleanup(); + /** 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/qtjava/javalib/org/kde/qt/TQPalette.java b/qtjava/javalib/org/kde/qt/TQPalette.java new file mode 100644 index 00000000..53b5160f --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQPalette.java @@ -0,0 +1,64 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQPalette implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQPalette(Class dummy){} + + public static final int Disabled = 0; + public static final int Active = 1; + public static final int Inactive = 2; + public static final int NColorGroups = 3; + public static final int Normal = Active; + + public TQPalette() { + newTQPalette(); + } + private native void newTQPalette(); + public TQPalette(TQColor button) { + newTQPalette(button); + } + private native void newTQPalette(TQColor button); + public TQPalette(TQColor button, TQColor background) { + newTQPalette(button,background); + } + private native void newTQPalette(TQColor button, TQColor background); + public TQPalette(TQColorGroup active, TQColorGroup disabled, TQColorGroup inactive) { + newTQPalette(active,disabled,inactive); + } + private native void newTQPalette(TQColorGroup active, TQColorGroup disabled, TQColorGroup inactive); + public TQPalette(TQPalette arg1) { + newTQPalette(arg1); + } + private native void newTQPalette(TQPalette arg1); + public native TQColor color(int arg1, int arg2); + public native TQBrush brush(int arg1, int arg2); + public native void setColor(int arg1, int arg2, TQColor arg3); + public native void setBrush(int arg1, int arg2, TQBrush arg3); + public native void setColor(int arg1, TQColor arg2); + public native void setBrush(int arg1, TQBrush arg2); + public native TQPalette copy(); + public native TQColorGroup active(); + public native TQColorGroup disabled(); + public native TQColorGroup inactive(); + public native TQColorGroup normal(); + public native void setActive(TQColorGroup arg1); + public native void setDisabled(TQColorGroup arg1); + public native void setInactive(TQColorGroup arg1); + public native void setNormal(TQColorGroup cg); + public native boolean op_equals(TQPalette p); + public native boolean op_not_equals(TQPalette p); + public native boolean isCopyOf(TQPalette arg1); + public native int serialNumber(); + public static native int foregroundRoleFromMode(int mode); + public static native int backgroundRoleFromMode(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/qtjava/javalib/org/kde/qt/TQPen.java b/qtjava/javalib/org/kde/qt/TQPen.java new file mode 100644 index 00000000..05f0bc86 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQPen.java @@ -0,0 +1,61 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQPen extends Qt { + protected TQPen(Class dummy){super((Class) null);} + public TQPen() { + super((Class) null); + newTQPen(); + } + private native void newTQPen(); + public TQPen(int arg1) { + super((Class) null); + newTQPen(arg1); + } + private native void newTQPen(int arg1); + public TQPen(TQColor color, int width, int style) { + super((Class) null); + newTQPen(color,width,style); + } + private native void newTQPen(TQColor color, int width, int style); + public TQPen(TQColor color, int width) { + super((Class) null); + newTQPen(color,width); + } + private native void newTQPen(TQColor color, int width); + public TQPen(TQColor color) { + super((Class) null); + newTQPen(color); + } + private native void newTQPen(TQColor color); + public TQPen(TQColor cl, int w, int s, int c, int j) { + super((Class) null); + newTQPen(cl,w,s,c,j); + } + private native void newTQPen(TQColor cl, int w, int s, int c, int j); + public TQPen(TQPen arg1) { + super((Class) null); + newTQPen(arg1); + } + private native void newTQPen(TQPen arg1); + public native int style(); + public native void setStyle(int arg1); + public native int width(); + public native void setWidth(int arg1); + public native TQColor color(); + public native void setColor(TQColor arg1); + public native int capStyle(); + public native void setCapStyle(int arg1); + public native int joinStyle(); + public native void setJoinStyle(int arg1); + public native boolean op_equals(TQPen p); + public native boolean op_not_equals(TQPen p); + /** 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/qtjava/javalib/org/kde/qt/TQPicture.java b/qtjava/javalib/org/kde/qt/TQPicture.java new file mode 100644 index 00000000..0d9e7d13 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQPicture.java @@ -0,0 +1,48 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQPicture extends TQPaintDevice { + protected TQPicture(Class dummy){super((Class) null);} + public TQPicture(int formatVersion) { + super((Class) null); + newTQPicture(formatVersion); + } + private native void newTQPicture(int formatVersion); + public TQPicture() { + super((Class) null); + newTQPicture(); + } + private native void newTQPicture(); + public TQPicture(TQPicture arg1) { + super((Class) null); + newTQPicture(arg1); + } + private native void newTQPicture(TQPicture arg1); + public native boolean isNull(); + public native int size(); + public native String data(); + public native void setData(String data, int size); + public native boolean play(TQPainter arg1); + public native boolean load(TQIODeviceInterface dev, String format); + public native boolean load(TQIODeviceInterface dev); + public native boolean load(String fileName, String format); + public native boolean load(String fileName); + public native boolean save(TQIODeviceInterface dev, String format); + public native boolean save(TQIODeviceInterface dev); + public native boolean save(String fileName, String format); + public native boolean save(String fileName); + public native TQRect boundingRect(); + public native void setBoundingRect(TQRect r); + // bool cmd(int arg1,TQPainter* arg2,TQPDevCmdParam* arg3); >>>> NOT CONVERTED + protected native int metric(int arg1); + public native void detach(); + public native TQPicture copy(); + /** 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/qtjava/javalib/org/kde/qt/TQPixmap.java b/qtjava/javalib/org/kde/qt/TQPixmap.java new file mode 100644 index 00000000..03c8e1a6 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQPixmap.java @@ -0,0 +1,172 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQPixmap extends Qt implements TQPaintDeviceInterface { + protected TQPixmap(Class dummy){super((Class) null);} + public static final int Auto = 0; + public static final int Color = 1; + public static final int Mono = 2; + + public static final int DefaultOptim = 0; + public static final int NoOptim = 1; + public static final int MemoryOptim = NoOptim; + public static final int NormalOptim = 2; + public static final int BestOptim = 3; + + public TQPixmap() { + super((Class) null); + newTQPixmap(); + } + private native void newTQPixmap(); + public TQPixmap(TQImage image) { + super((Class) null); + newTQPixmap(image); + } + private native void newTQPixmap(TQImage image); + public TQPixmap(int w, int h, int depth, int arg4) { + super((Class) null); + newTQPixmap(w,h,depth,arg4); + } + private native void newTQPixmap(int w, int h, int depth, int arg4); + public TQPixmap(int w, int h, int depth) { + super((Class) null); + newTQPixmap(w,h,depth); + } + private native void newTQPixmap(int w, int h, int depth); + public TQPixmap(int w, int h) { + super((Class) null); + newTQPixmap(w,h); + } + private native void newTQPixmap(int w, int h); + public TQPixmap(TQSize arg1, int depth, int arg3) { + super((Class) null); + newTQPixmap(arg1,depth,arg3); + } + private native void newTQPixmap(TQSize arg1, int depth, int arg3); + public TQPixmap(TQSize arg1, int depth) { + super((Class) null); + newTQPixmap(arg1,depth); + } + private native void newTQPixmap(TQSize arg1, int depth); + public TQPixmap(TQSize arg1) { + super((Class) null); + newTQPixmap(arg1); + } + private native void newTQPixmap(TQSize arg1); + public TQPixmap(String fileName, String format, int mode) { + super((Class) null); + newTQPixmap(fileName,format,mode); + } + private native void newTQPixmap(String fileName, String format, int mode); + public TQPixmap(String fileName, String format) { + super((Class) null); + newTQPixmap(fileName,format); + } + private native void newTQPixmap(String fileName, String format); + public TQPixmap(String fileName) { + super((Class) null); + newTQPixmap(fileName); + } + private native void newTQPixmap(String fileName); + public TQPixmap(String[] xpm) { + super((Class) null); + newTQPixmap(xpm); + } + private native void newTQPixmap(String[] xpm); + public TQPixmap(byte[] data) { + super((Class) null); + newTQPixmap(data); + } + private native void newTQPixmap(byte[] data); + public TQPixmap(TQPixmap arg1) { + super((Class) null); + newTQPixmap(arg1); + } + private native void newTQPixmap(TQPixmap arg1); + public native boolean isNull(); + public native int width(); + public native int height(); + public native TQSize size(); + public native TQRect rect(); + public native int depth(); + public native void fill(TQColor fillColor); + public native void fill(); + public native void fill(TQWidget arg1, int xofs, int yofs); + public native void fill(TQWidget arg1, TQPoint ofs); + public native void resize(int width, int height); + public native void resize(TQSize arg1); + public native TQBitmap mask(); + public native void setMask(TQBitmap arg1); + public native boolean selfMask(); + public native boolean hasAlpha(); + public native boolean hasAlphaChannel(); + public native TQBitmap createHeuristicMask(boolean clipTight); + public native TQBitmap createHeuristicMask(); + public native Object xForm(TQWMatrix arg1); + public native TQImage convertToImage(); + public native boolean convertFromImage(TQImage arg1, int mode); + public native boolean convertFromImage(TQImage arg1); + public native boolean load(String fileName, String format, int mode); + public native boolean load(String fileName, String format); + public native boolean load(String fileName); + public native boolean loadFromData(char[] buf, int len, String format, int mode); + public native boolean loadFromData(char[] buf, int len, String format); + public native boolean loadFromData(char[] buf, int len); + public native boolean loadFromData(byte[] data, String format, int conversion_flags); + public native boolean loadFromData(byte[] data, String format); + public native boolean loadFromData(byte[] data); + public native boolean save(String fileName, String format, int quality); + public native boolean save(String fileName, String format); + public native boolean save(TQIODeviceInterface device, String format, int quality); + public native boolean save(TQIODeviceInterface device, String format); + public native int serialNumber(); + public native int optimization(); + public native void setOptimization(int arg1); + public native void detach(); + public native boolean isTQBitmap(); + public static native int defaultDepth(); + public static native TQPixmap fromMimeSource(String abs_name); + public static native TQPixmap grabWindow(long arg1, int x, int y, int w, int h); + public static native TQPixmap grabWindow(long arg1, int x, int y, int w); + public static native TQPixmap grabWindow(long arg1, int x, int y); + public static native TQPixmap grabWindow(long arg1, int x); + public static native TQPixmap grabWindow(long arg1); + public static native TQPixmap grabWidget(TQWidget widget, int x, int y, int w, int h); + public static native TQPixmap grabWidget(TQWidget widget, int x, int y, int w); + public static native TQPixmap grabWidget(TQWidget widget, int x, int y); + public static native TQPixmap grabWidget(TQWidget widget, int x); + public static native TQPixmap grabWidget(TQWidget widget); + public static native TQWMatrix trueMatrix(TQWMatrix arg1, int w, int h); + public static native String imageFormat(String fileName); + public static native int defaultOptimization(); + public static native void setDefaultOptimization(int arg1); + public TQPixmap(int w, int h, char[] data, boolean isXbitmap) { + super((Class) null); + newTQPixmap(w,h,data,isXbitmap); + } + private native void newTQPixmap(int w, int h, char[] data, boolean isXbitmap); + protected native int metric(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(); + public native int devType(); + public native boolean isExtDev(); + public native boolean paintingActive(); + public native void setResolution(int arg1); + public native int resolution(); + // bool cmd(int arg1,TQPainter* arg2,TQPDevCmdParam* arg3); >>>> NOT CONVERTED + protected native int fontMet(TQFont arg1, int arg2, String arg3, int arg4); + protected native int fontMet(TQFont arg1, int arg2, String arg3); + protected native int fontMet(TQFont arg1, int arg2); + protected native int fontInf(TQFont arg1, int arg2); + public native boolean loadFromData(char[] data); + + /** Internal method */ + protected native long paintDevice(); + +} diff --git a/qtjava/javalib/org/kde/qt/TQPoint.java b/qtjava/javalib/org/kde/qt/TQPoint.java new file mode 100644 index 00000000..a6ddef55 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQPoint.java @@ -0,0 +1,39 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQPoint implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQPoint(Class dummy){} + + public TQPoint() { + newTQPoint(); + } + private native void newTQPoint(); + public TQPoint(int xpos, int ypos) { + newTQPoint(xpos,ypos); + } + private native void newTQPoint(int xpos, int ypos); + public native boolean isNull(); + public native int x(); + public native int y(); + public native void setX(int x); + public native void setY(int y); + public native int manhattanLength(); + public native short rx(); + public native short ry(); + public native TQPoint op_plus_assign(TQPoint p); + public native TQPoint op_minus_assign(TQPoint p); + public native TQPoint op_mult_assign(int c); + public native TQPoint op_mult_assign(double c); + public native TQPoint op_div_assign(int c); + public native TQPoint op_div_assign(double c); + /** 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/qtjava/javalib/org/kde/qt/TQPointArray.java b/qtjava/javalib/org/kde/qt/TQPointArray.java new file mode 100644 index 00000000..e54f2191 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQPointArray.java @@ -0,0 +1,68 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQPointArray implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQPointArray(Class dummy){} + + public TQPointArray() { + newTQPointArray(); + } + private native void newTQPointArray(); + public TQPointArray(int size) { + newTQPointArray(size); + } + private native void newTQPointArray(int size); + public TQPointArray(TQPointArray a) { + newTQPointArray(a); + } + private native void newTQPointArray(TQPointArray a); + public TQPointArray(TQRect r, boolean closed) { + newTQPointArray(r,closed); + } + private native void newTQPointArray(TQRect r, boolean closed); + public TQPointArray(TQRect r) { + newTQPointArray(r); + } + private native void newTQPointArray(TQRect r); + public TQPointArray(int nPoints, short[] points) { + newTQPointArray(nPoints,points); + } + private native void newTQPointArray(int nPoints, short[] points); + public native TQPointArray copy(); + public native void translate(int dx, int dy); + public native TQRect boundingRect(); + public native void point(int i, int[] x, int[] y); + public native TQPoint point(int i); + public native void setPoint(int i, int x, int y); + public native void setPoint(int i, TQPoint p); + public native boolean setPoints(int nPoints, short[] points); + public native boolean putPoints(int index, int nPoints, short[] points); + public native boolean putPoints(int index, int nPoints, TQPointArray from, int fromIndex); + public native boolean putPoints(int index, int nPoints, TQPointArray from); + public native void makeArc(int x, int y, int w, int h, int a1, int a2); + public native void makeEllipse(int x, int y, int w, int h); + public native void makeArc(int x, int y, int w, int h, int a1, int a2, TQWMatrix arg7); + public native TQPointArray cubicBezier(); + // void* shortPoints(int arg1,int arg2); >>>> NOT CONVERTED + // void* shortPoints(int arg1); >>>> NOT CONVERTED + // void* shortPoints(); >>>> NOT CONVERTED + public static native void cleanBuffers(); + /** 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(); + public native int size(); + public native int count(); + public native boolean isEmpty(); + public native boolean isNull(); + public native boolean resize( int size); + public native boolean truncate( int pos); + public native TQPoint at(int index); + +} diff --git a/qtjava/javalib/org/kde/qt/TQPolygonScanner.java b/qtjava/javalib/org/kde/qt/TQPolygonScanner.java new file mode 100644 index 00000000..26b047c6 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQPolygonScanner.java @@ -0,0 +1,22 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQPolygonScanner implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQPolygonScanner(Class dummy){} + + public static final int Left = 1; + public static final int Right = 2; + public static final int Top = 4; + public static final int Bottom = 8; + + public native void scan(TQPointArray pa, boolean winding, int index, int npoints); + public native void scan(TQPointArray pa, boolean winding, int index); + public native void scan(TQPointArray pa, boolean winding); + public native void scan(TQPointArray pa, boolean winding, int index, int npoints, boolean stitchable); + public native void scan(TQPointArray pa, boolean winding, int index, int npoints, int edges); + public native void processSpans(int n, TQPoint point, int[] width); +} diff --git a/qtjava/javalib/org/kde/qt/TQPopupMenu.java b/qtjava/javalib/org/kde/qt/TQPopupMenu.java new file mode 100644 index 00000000..36b9df45 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQPopupMenu.java @@ -0,0 +1,167 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQPopupMenuSignals} for signals emitted by TQPopupMenu +*/ +public class TQPopupMenu extends TQFrame implements TQMenuDataInterface { + protected TQPopupMenu(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQPopupMenu(TQWidget parent, String name) { + super((Class) null); + newTQPopupMenu(parent,name); + } + private native void newTQPopupMenu(TQWidget parent, String name); + public TQPopupMenu(TQWidget parent) { + super((Class) null); + newTQPopupMenu(parent); + } + private native void newTQPopupMenu(TQWidget parent); + public TQPopupMenu() { + super((Class) null); + newTQPopupMenu(); + } + private native void newTQPopupMenu(); + public native void popup(TQPoint pos, int indexAtPoint); + public native void popup(TQPoint pos); + public native void updateItem(int id); + public native void setCheckable(boolean arg1); + public native boolean isCheckable(); + public native void setFont(TQFont arg1); + public native void show(); + public native void hide(); + public native int exec(); + public native int exec(TQPoint pos, int indexAtPoint); + public native int exec(TQPoint pos); + public native void setActiveItem(int arg1); + public native TQSize sizeHint(); + public native int idAt(int index); + public native int idAt(TQPoint pos); + public native boolean customWhatsThis(); + public native int insertTearOffHandle(int id, int index); + public native int insertTearOffHandle(int id); + public native int insertTearOffHandle(); + public native void activateItemAt(int index); + public native TQRect itemGeometry(int index); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native int itemHeight(int arg1); + protected native int itemHeight(TQMenuItem mi); + protected native void drawItem(TQPainter p, int tab, TQMenuItem mi, boolean act, int x, int y, int w, int h); + protected native void drawContents(TQPainter arg1); + protected native void closeEvent(TQCloseEvent e); + 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 keyPressEvent(TQKeyEvent arg1); + protected native void focusInEvent(TQFocusEvent arg1); + protected native void focusOutEvent(TQFocusEvent arg1); + protected native void timerEvent(TQTimerEvent arg1); + protected native void leaveEvent(TQEvent arg1); + public native void styleChange(TQStyle arg1); + protected native void enabledChange(boolean arg1); + protected native int columns(); + protected native boolean focusNextPrevChild(boolean next); + protected native int itemAtPos(TQPoint arg1, boolean ignoreSeparator); + protected native int itemAtPos(TQPoint 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(); + public native int count(); + public native int insertItem(String text, TQObject receiver, String member, TQKeySequence accel, int id, int index); + public native int insertItem(String text, TQObject receiver, String member, TQKeySequence accel, int id); + public native int insertItem(String text, TQObject receiver, String member, TQKeySequence accel); + public native int insertItem(String text, TQObject receiver, String member); + public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel, int id, int index); + public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel, int id); + public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel); + public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member); + public native int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id, int index); + public native int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id); + public native int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel); + public native int insertItem(TQPixmap pixmap, TQObject receiver, String member); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id, int index); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member); + public native int insertItem(String text, int id, int index); + public native int insertItem(String text, int id); + public native int insertItem(String text); + public native int insertItem(TQIconSet icon, String text, int id, int index); + public native int insertItem(TQIconSet icon, String text, int id); + public native int insertItem(TQIconSet icon, String text); + public native int insertItem(String text, TQPopupMenu popup, int id, int index); + public native int insertItem(String text, TQPopupMenu popup, int id); + public native int insertItem(String text, TQPopupMenu popup); + public native int insertItem(TQIconSet icon, String text, TQPopupMenu popup, int id, int index); + public native int insertItem(TQIconSet icon, String text, TQPopupMenu popup, int id); + public native int insertItem(TQIconSet icon, String text, TQPopupMenu popup); + public native int insertItem(TQPixmap pixmap, int id, int index); + public native int insertItem(TQPixmap pixmap, int id); + public native int insertItem(TQPixmap pixmap); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, int id, int index); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, int id); + public native int insertItem(TQIconSet icon, TQPixmap pixmap); + public native int insertItem(TQPixmap pixmap, TQPopupMenu popup, int id, int index); + public native int insertItem(TQPixmap pixmap, TQPopupMenu popup, int id); + public native int insertItem(TQPixmap pixmap, TQPopupMenu popup); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup, int id, int index); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup, int id); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup); + public native int insertItem(TQWidget widget, int id, int index); + public native int insertItem(TQWidget widget, int id); + public native int insertItem(TQWidget widget); + public native int insertItem(TQIconSet icon, TQCustomMenuItem custom, int id, int index); + public native int insertItem(TQIconSet icon, TQCustomMenuItem custom, int id); + public native int insertItem(TQIconSet icon, TQCustomMenuItem custom); + public native int insertItem(TQCustomMenuItem custom, int id, int index); + public native int insertItem(TQCustomMenuItem custom, int id); + public native int insertItem(TQCustomMenuItem custom); + public native int insertSeparator(int index); + public native int insertSeparator(); + public native void removeItem(int id); + public native void removeItemAt(int index); + public native void clear(); + public native TQKeySequence accel(int id); + public native void setAccel(TQKeySequence key, int id); + public native TQIconSet iconSet(int id); + public native String text(int id); + public native TQPixmap pixmap(int id); + public native void setWhatsThis(int id, String arg2); + public native String whatsThis(int id); + public native void changeItem(int id, String text); + public native void changeItem(int id, TQPixmap pixmap); + public native void changeItem(int id, TQIconSet icon, String text); + public native void changeItem(int id, TQIconSet icon, TQPixmap pixmap); + public native void changeItem(String text, int id); + public native void changeItem(TQPixmap pixmap, int id); + public native void changeItem(TQIconSet icon, String text, int id); + public native boolean isItemActive(int id); + public native boolean isItemEnabled(int id); + public native void setItemEnabled(int id, boolean enable); + public native boolean isItemChecked(int id); + public native void setItemChecked(int id, boolean check); + public native boolean isItemVisible(int id); + public native void setItemVisible(int id, boolean visible); + public native int indexOf(int id); + public native void setId(int index, int id); + public native boolean connectItem(int id, TQObject receiver, String member); + public native boolean disconnectItem(int id, TQObject receiver, String member); + public native boolean setItemParameter(int id, int param); + public native int itemParameter(int id); + public native TQMenuItem findItem(int id); + // TQMenuItem* findItem(int arg1,TQMenuData** arg2); >>>> NOT CONVERTED + public native TQMenuItem findPopup(TQPopupMenu arg1, int[] index); + public native TQMenuItem findPopup(TQPopupMenu arg1); + protected native void menuContentsChanged(); + protected native void menuStateChanged(); + protected native void menuInsPopup(TQPopupMenu arg1); + protected native void menuDelPopup(TQPopupMenu arg1); +} diff --git a/qtjava/javalib/org/kde/qt/TQPopupMenuSignals.java b/qtjava/javalib/org/kde/qt/TQPopupMenuSignals.java new file mode 100644 index 00000000..51f691de --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQPopupMenuSignals.java @@ -0,0 +1,12 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQPopupMenuSignals { + void activated(int itemId); + void highlighted(int itemId); + void activatedRedirect(int itemId); + void highlightedRedirect(int itemId); + void aboutToShow(); + void aboutToHide(); +} diff --git a/qtjava/javalib/org/kde/qt/TQPrintDialog.java b/qtjava/javalib/org/kde/qt/TQPrintDialog.java new file mode 100644 index 00000000..3499791e --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQPrintDialog.java @@ -0,0 +1,40 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQPrintDialog extends TQDialog { + protected TQPrintDialog(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQPrintDialog(TQPrinter arg1, TQWidget parent, String name) { + super((Class) null); + newTQPrintDialog(arg1,parent,name); + } + private native void newTQPrintDialog(TQPrinter arg1, TQWidget parent, String name); + public TQPrintDialog(TQPrinter arg1, TQWidget parent) { + super((Class) null); + newTQPrintDialog(arg1,parent); + } + private native void newTQPrintDialog(TQPrinter arg1, TQWidget parent); + public TQPrintDialog(TQPrinter arg1) { + super((Class) null); + newTQPrintDialog(arg1); + } + private native void newTQPrintDialog(TQPrinter arg1); + public native void setPrinter(TQPrinter arg1, boolean arg2); + public native void setPrinter(TQPrinter arg1); + public native TQPrinter printer(); + public native void addButton(TQPushButton but); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native boolean getPrinterSetup(TQPrinter arg1, TQWidget arg2); + public static native boolean getPrinterSetup(TQPrinter arg1); + public static native void setGlobalPrintDialog(TQPrintDialog 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/qtjava/javalib/org/kde/qt/TQPrinter.java b/qtjava/javalib/org/kde/qt/TQPrinter.java new file mode 100644 index 00000000..369e9e12 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQPrinter.java @@ -0,0 +1,147 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQPrinter extends TQPaintDevice { + protected TQPrinter(Class dummy){super((Class) null);} + public static final int ScreenResolution = 0; + public static final int PrinterResolution = 1; + public static final int HighResolution = 2; + public static final int Compatible = 3; + + public static final int Portrait = 0; + public static final int Landscape = 1; + + public static final int A4 = 0; + public static final int B5 = 1; + public static final int Letter = 2; + public static final int Legal = 3; + public static final int Executive = 4; + public static final int A0 = 5; + public static final int A1 = 6; + public static final int A2 = 7; + public static final int A3 = 8; + public static final int A5 = 9; + public static final int A6 = 10; + public static final int A7 = 11; + public static final int A8 = 12; + public static final int A9 = 13; + public static final int B0 = 14; + public static final int B1 = 15; + public static final int B10 = 16; + public static final int B2 = 17; + public static final int B3 = 18; + public static final int B4 = 19; + public static final int B6 = 20; + public static final int B7 = 21; + public static final int B8 = 22; + public static final int B9 = 23; + public static final int C5E = 24; + public static final int Comm10E = 25; + public static final int DLE = 26; + public static final int Folio = 27; + public static final int Ledger = 28; + public static final int Tabloid = 29; + public static final int Custom = 30; + public static final int NPageSize = Custom; + + public static final int FirstPageFirst = 0; + public static final int LastPageFirst = 1; + + public static final int GrayScale = 0; + public static final int Color = 1; + + public static final int OnlyOne = 0; + public static final int Lower = 1; + public static final int Middle = 2; + public static final int Manual = 3; + public static final int Envelope = 4; + public static final int EnvelopeManual = 5; + public static final int Auto = 6; + public static final int Tractor = 7; + public static final int SmallFormat = 8; + public static final int LargeFormat = 9; + public static final int LargeCapacity = 10; + public static final int Cassette = 11; + public static final int FormSource = 12; + + public static final int AllPages = 0; + public static final int Selection = 1; + public static final int PageRange = 2; + + public static final int PrintToFile = 0; + public static final int PrintSelection = 1; + public static final int PrintPageRange = 2; + + public TQPrinter(int mode) { + super((Class) null); + newTQPrinter(mode); + } + private native void newTQPrinter(int mode); + public TQPrinter() { + super((Class) null); + newTQPrinter(); + } + private native void newTQPrinter(); + public native String printerName(); + public native void setPrinterName(String arg1); + public native boolean outputToFile(); + public native void setOutputToFile(boolean arg1); + public native String outputFileName(); + public native void setOutputFileName(String arg1); + public native String printProgram(); + public native void setPrintProgram(String arg1); + public native String printerSelectionOption(); + public native void setPrinterSelectionOption(String arg1); + public native String docName(); + public native void setDocName(String arg1); + public native String creator(); + public native void setCreator(String arg1); + public native int orientation(); + public native void setOrientation(int arg1); + public native int pageSize(); + public native void setPageSize(int arg1); + public native void setPageOrder(int arg1); + public native int pageOrder(); + public native void setResolution(int arg1); + public native int resolution(); + public native void setColorMode(int arg1); + public native int colorMode(); + public native void setFullPage(boolean arg1); + public native boolean fullPage(); + public native TQSize margins(); + public native void setMargins(int top, int left, int bottom, int right); + public native void margins(int[] top, int[] left, int[] bottom, int[] right); + public native int fromPage(); + public native int toPage(); + public native void setFromTo(int fromPage, int toPage); + public native int minPage(); + public native int maxPage(); + public native void setMinMax(int minPage, int maxPage); + public native int numCopies(); + public native void setNumCopies(int arg1); + public native boolean collateCopiesEnabled(); + public native void setCollateCopiesEnabled(boolean arg1); + public native boolean collateCopies(); + public native void setCollateCopies(boolean arg1); + public native int printRange(); + public native void setPrintRange(int range); + public native boolean newPage(); + public native boolean abort(); + public native boolean aborted(); + public native boolean setup(TQWidget parent); + public native boolean setup(); + public native int paperSource(); + public native void setPaperSource(int arg1); + public native void setOptionEnabled(int arg1, boolean enable); + public native boolean isOptionEnabled(int arg1); + // bool cmd(int arg1,TQPainter* arg2,TQPDevCmdParam* arg3); >>>> NOT CONVERTED + protected native int metric(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/qtjava/javalib/org/kde/qt/TQProcess.java b/qtjava/javalib/org/kde/qt/TQProcess.java new file mode 100644 index 00000000..733d8dca --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQProcess.java @@ -0,0 +1,104 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +/** + See {@link TQProcessSignals} for signals emitted by TQProcess +*/ +public class TQProcess extends TQObject { + protected TQProcess(Class dummy){super((Class) null);} + public static final int Stdin = 0x01; + public static final int Stdout = 0x02; + public static final int Stderr = 0x04; + public static final int DupStderr = 0x08; + + public native TQMetaObject metaObject(); + public native String className(); + public TQProcess(TQObject parent, String name) { + super((Class) null); + newTQProcess(parent,name); + } + private native void newTQProcess(TQObject parent, String name); + public TQProcess(TQObject parent) { + super((Class) null); + newTQProcess(parent); + } + private native void newTQProcess(TQObject parent); + public TQProcess() { + super((Class) null); + newTQProcess(); + } + private native void newTQProcess(); + public TQProcess(String arg0, TQObject parent, String name) { + super((Class) null); + newTQProcess(arg0,parent,name); + } + private native void newTQProcess(String arg0, TQObject parent, String name); + public TQProcess(String arg0, TQObject parent) { + super((Class) null); + newTQProcess(arg0,parent); + } + private native void newTQProcess(String arg0, TQObject parent); + public TQProcess(String arg0) { + super((Class) null); + newTQProcess(arg0); + } + private native void newTQProcess(String arg0); + public TQProcess(String[] args, TQObject parent, String name) { + super((Class) null); + newTQProcess(args,parent,name); + } + private native void newTQProcess(String[] args, TQObject parent, String name); + public TQProcess(String[] args, TQObject parent) { + super((Class) null); + newTQProcess(args,parent); + } + private native void newTQProcess(String[] args, TQObject parent); + public TQProcess(String[] args) { + super((Class) null); + newTQProcess(args); + } + private native void newTQProcess(String[] args); + public native ArrayList arguments(); + public native void clearArguments(); + public native void setArguments(String[] args); + public native void addArgument(String arg); + public native TQDir workingDirectory(); + public native void setWorkingDirectory(TQDir dir); + public native void setCommunication(int c); + public native int communication(); + public native boolean start(String[] arg1); + public native boolean start(); + public native boolean launch(String buf, String[] arg2); + public native boolean launch(String buf); + public native boolean launch(byte[] buf, String[] arg2); + public native boolean launch(byte[] buf); + public native boolean isRunning(); + public native boolean normalExit(); + public native int exitStatus(); + public native byte[] readStdout(); + public native byte[] readStderr(); + public native boolean canReadLineStdout(); + public native boolean canReadLineStderr(); + public native String readLineStdout(); + public native String readLineStderr(); + public native long processIdentifier(); + public native void flushStdin(); + public native void tryTerminate(); + public native void kill(); + public native void writeToStdin(byte[] buf); + public native void writeToStdin(String buf); + public native void closeStdin(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void connectNotify(String signal); + protected native void disconnectNotify(String signal); + /** 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/qtjava/javalib/org/kde/qt/TQProcessSignals.java b/qtjava/javalib/org/kde/qt/TQProcessSignals.java new file mode 100644 index 00000000..5116864d --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQProcessSignals.java @@ -0,0 +1,12 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import java.util.ArrayList; + +public interface TQProcessSignals { + void readyReadStdout(); + void readyReadStderr(); + void processExited(); + void wroteToStdin(); + void launchFinished(); +} diff --git a/qtjava/javalib/org/kde/qt/TQProgressBar.java b/qtjava/javalib/org/kde/qt/TQProgressBar.java new file mode 100644 index 00000000..82cc1325 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQProgressBar.java @@ -0,0 +1,77 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQProgressBar extends TQFrame { + protected TQProgressBar(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQProgressBar(TQWidget parent, String name, int f) { + super((Class) null); + newTQProgressBar(parent,name,f); + } + private native void newTQProgressBar(TQWidget parent, String name, int f); + public TQProgressBar(TQWidget parent, String name) { + super((Class) null); + newTQProgressBar(parent,name); + } + private native void newTQProgressBar(TQWidget parent, String name); + public TQProgressBar(TQWidget parent) { + super((Class) null); + newTQProgressBar(parent); + } + private native void newTQProgressBar(TQWidget parent); + public TQProgressBar() { + super((Class) null); + newTQProgressBar(); + } + private native void newTQProgressBar(); + public TQProgressBar(int totalSteps, TQWidget parent, String name, int f) { + super((Class) null); + newTQProgressBar(totalSteps,parent,name,f); + } + private native void newTQProgressBar(int totalSteps, TQWidget parent, String name, int f); + public TQProgressBar(int totalSteps, TQWidget parent, String name) { + super((Class) null); + newTQProgressBar(totalSteps,parent,name); + } + private native void newTQProgressBar(int totalSteps, TQWidget parent, String name); + public TQProgressBar(int totalSteps, TQWidget parent) { + super((Class) null); + newTQProgressBar(totalSteps,parent); + } + private native void newTQProgressBar(int totalSteps, TQWidget parent); + public TQProgressBar(int totalSteps) { + super((Class) null); + newTQProgressBar(totalSteps); + } + private native void newTQProgressBar(int totalSteps); + public native int totalSteps(); + public native int progress(); + public native String progressString(); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + public native void setCenterIndicator(boolean on); + public native boolean centerIndicator(); + public native void setIndicatorFollowsStyle(boolean arg1); + public native boolean indicatorFollowsStyle(); + public native boolean percentageVisible(); + public native void setPercentageVisible(boolean arg1); + public native void show(); + public native void reset(); + public native void setTotalSteps(int totalSteps); + public native void setProgress(int progress); + public native void setProgress(int progress, int totalSteps); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void drawContents(TQPainter arg1); + protected native boolean setIndicator(StringBuffer progress_str, int progress, int totalSteps); + public native void styleChange(TQStyle 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/qtjava/javalib/org/kde/qt/TQProgressDialog.java b/qtjava/javalib/org/kde/qt/TQProgressDialog.java new file mode 100644 index 00000000..7ed0ab0f --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQProgressDialog.java @@ -0,0 +1,98 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQProgressDialogSignals} for signals emitted by TQProgressDialog +*/ +public class TQProgressDialog extends TQDialog { + protected TQProgressDialog(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQProgressDialog(TQWidget parent, String name, boolean modal, int f) { + super((Class) null); + newTQProgressDialog(parent,name,modal,f); + } + private native void newTQProgressDialog(TQWidget parent, String name, boolean modal, int f); + public TQProgressDialog(TQWidget parent, String name, boolean modal) { + super((Class) null); + newTQProgressDialog(parent,name,modal); + } + private native void newTQProgressDialog(TQWidget parent, String name, boolean modal); + public TQProgressDialog(TQWidget parent, String name) { + super((Class) null); + newTQProgressDialog(parent,name); + } + private native void newTQProgressDialog(TQWidget parent, String name); + public TQProgressDialog(TQWidget parent) { + super((Class) null); + newTQProgressDialog(parent); + } + private native void newTQProgressDialog(TQWidget parent); + public TQProgressDialog() { + super((Class) null); + newTQProgressDialog(); + } + private native void newTQProgressDialog(); + public TQProgressDialog(String labelText, String cancelButtonText, int totalSteps, TQWidget parent, String name, boolean modal, int f) { + super((Class) null); + newTQProgressDialog(labelText,cancelButtonText,totalSteps,parent,name,modal,f); + } + private native void newTQProgressDialog(String labelText, String cancelButtonText, int totalSteps, TQWidget parent, String name, boolean modal, int f); + public TQProgressDialog(String labelText, String cancelButtonText, int totalSteps, TQWidget parent, String name, boolean modal) { + super((Class) null); + newTQProgressDialog(labelText,cancelButtonText,totalSteps,parent,name,modal); + } + private native void newTQProgressDialog(String labelText, String cancelButtonText, int totalSteps, TQWidget parent, String name, boolean modal); + public TQProgressDialog(String labelText, String cancelButtonText, int totalSteps, TQWidget parent, String name) { + super((Class) null); + newTQProgressDialog(labelText,cancelButtonText,totalSteps,parent,name); + } + private native void newTQProgressDialog(String labelText, String cancelButtonText, int totalSteps, TQWidget parent, String name); + public TQProgressDialog(String labelText, String cancelButtonText, int totalSteps, TQWidget parent) { + super((Class) null); + newTQProgressDialog(labelText,cancelButtonText,totalSteps,parent); + } + private native void newTQProgressDialog(String labelText, String cancelButtonText, int totalSteps, TQWidget parent); + public TQProgressDialog(String labelText, String cancelButtonText, int totalSteps) { + super((Class) null); + newTQProgressDialog(labelText,cancelButtonText,totalSteps); + } + private native void newTQProgressDialog(String labelText, String cancelButtonText, int totalSteps); + public native void setLabel(TQLabel arg1); + public native void setCancelButton(TQPushButton arg1); + public native void setBar(TQProgressBar arg1); + public native boolean wasCancelled(); + public native boolean wasCanceled(); + public native int totalSteps(); + public native int progress(); + public native TQSize sizeHint(); + public native String labelText(); + public native void setAutoReset(boolean b); + public native boolean autoReset(); + public native void setAutoClose(boolean b); + public native boolean autoClose(); + public native int minimumDuration(); + public native void cancel(); + public native void reset(); + public native void setTotalSteps(int totalSteps); + public native void setProgress(int progress); + public native void setProgress(int progress, int totalSteps); + public native void setLabelText(String arg1); + public native void setCancelButtonText(String arg1); + public native void setMinimumDuration(int ms); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void closeEvent(TQCloseEvent arg1); + public native void styleChange(TQStyle arg1); + public native void showEvent(TQShowEvent e); + protected native void forceShow(); + /** 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/qtjava/javalib/org/kde/qt/TQProgressDialogSignals.java b/qtjava/javalib/org/kde/qt/TQProgressDialogSignals.java new file mode 100644 index 00000000..848f3bcb --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQProgressDialogSignals.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQProgressDialogSignals { + void cancelled(); + void canceled(); +} diff --git a/qtjava/javalib/org/kde/qt/TQPushButton.java b/qtjava/javalib/org/kde/qt/TQPushButton.java new file mode 100644 index 00000000..a9844e7f --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQPushButton.java @@ -0,0 +1,75 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQPushButton extends TQButton { + protected TQPushButton(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQPushButton(TQWidget parent, String name) { + super((Class) null); + newTQPushButton(parent,name); + } + private native void newTQPushButton(TQWidget parent, String name); + public TQPushButton(TQWidget parent) { + super((Class) null); + newTQPushButton(parent); + } + private native void newTQPushButton(TQWidget parent); + public TQPushButton(String text, TQWidget parent, String name) { + super((Class) null); + newTQPushButton(text,parent,name); + } + private native void newTQPushButton(String text, TQWidget parent, String name); + public TQPushButton(String text, TQWidget parent) { + super((Class) null); + newTQPushButton(text,parent); + } + private native void newTQPushButton(String text, TQWidget parent); + public TQPushButton(TQIconSet icon, String text, TQWidget parent, String name) { + super((Class) null); + newTQPushButton(icon,text,parent,name); + } + private native void newTQPushButton(TQIconSet icon, String text, TQWidget parent, String name); + public TQPushButton(TQIconSet icon, String text, TQWidget parent) { + super((Class) null); + newTQPushButton(icon,text,parent); + } + private native void newTQPushButton(TQIconSet icon, String text, TQWidget parent); + public native TQSize sizeHint(); + public native void move(int x, int y); + public native void move(TQPoint p); + public native void resize(int w, int h); + public native void resize(TQSize arg1); + public native void setGeometry(int x, int y, int w, int h); + public native void setGeometry(TQRect arg1); + public native void setToggleButton(boolean arg1); + public native boolean autoDefault(); + public native void setAutoDefault(boolean autoDef); + public native boolean isDefault(); + public native void setDefault(boolean def); + public native void setIsMenuButton(boolean enable); + public native boolean isMenuButton(); + public native void setPopup(TQPopupMenu popup); + public native TQPopupMenu popup(); + public native void setIconSet(TQIconSet arg1); + public native TQIconSet iconSet(); + public native void setFlat(boolean arg1); + public native boolean isFlat(); + public native void setOn(boolean arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void drawButton(TQPainter arg1); + protected native void drawButtonLabel(TQPainter arg1); + protected native void focusInEvent(TQFocusEvent arg1); + protected native void focusOutEvent(TQFocusEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void updateMask(); + /** 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/qtjava/javalib/org/kde/qt/TQRadioButton.java b/qtjava/javalib/org/kde/qt/TQRadioButton.java new file mode 100644 index 00000000..62c2b03a --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQRadioButton.java @@ -0,0 +1,46 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQRadioButton extends TQButton { + protected TQRadioButton(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQRadioButton(TQWidget parent, String name) { + super((Class) null); + newTQRadioButton(parent,name); + } + private native void newTQRadioButton(TQWidget parent, String name); + public TQRadioButton(TQWidget parent) { + super((Class) null); + newTQRadioButton(parent); + } + private native void newTQRadioButton(TQWidget parent); + public TQRadioButton(String text, TQWidget parent, String name) { + super((Class) null); + newTQRadioButton(text,parent,name); + } + private native void newTQRadioButton(String text, TQWidget parent, String name); + public TQRadioButton(String text, TQWidget parent) { + super((Class) null); + newTQRadioButton(text,parent); + } + private native void newTQRadioButton(String text, TQWidget parent); + public native boolean isChecked(); + public native TQSize sizeHint(); + public native void setChecked(boolean check); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native boolean hitButton(TQPoint arg1); + protected native void drawButton(TQPainter arg1); + protected native void drawButtonLabel(TQPainter arg1); + protected native void updateMask(); + protected native void resizeEvent(TQResizeEvent 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/qtjava/javalib/org/kde/qt/TQRangeControl.java b/qtjava/javalib/org/kde/qt/TQRangeControl.java new file mode 100644 index 00000000..ea0429d0 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQRangeControl.java @@ -0,0 +1,47 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQRangeControl implements QtSupport, TQRangeControlInterface { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQRangeControl(Class dummy){} + + public TQRangeControl() { + newTQRangeControl(); + } + private native void newTQRangeControl(); + public TQRangeControl(int minValue, int maxValue, int lineStep, int pageStep, int value) { + newTQRangeControl(minValue,maxValue,lineStep,pageStep,value); + } + private native void newTQRangeControl(int minValue, int maxValue, int lineStep, int pageStep, int value); + public native int value(); + public native void setValue(int arg1); + public native void addPage(); + public native void subtractPage(); + public native void addLine(); + public native void subtractLine(); + public native int minValue(); + public native int maxValue(); + public native void setRange(int minValue, int maxValue); + public native void setMinValue(int minVal); + public native void setMaxValue(int minVal); + public native int lineStep(); + public native int pageStep(); + public native void setSteps(int line, int page); + public native int bound(int arg1); + protected native int positionFromValue(int val, int space); + protected native int valueFromPosition(int pos, int space); + protected native void directSetValue(int val); + protected native int prevValue(); + protected native void valueChange(); + protected native void rangeChange(); + protected native void stepChange(); + /** 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/qtjava/javalib/org/kde/qt/TQRangeControlInterface.java b/qtjava/javalib/org/kde/qt/TQRangeControlInterface.java new file mode 100644 index 00000000..134b61d7 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQRangeControlInterface.java @@ -0,0 +1,21 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQRangeControlInterface { + int value(); + void setValue(int arg1); + void addPage(); + void subtractPage(); + void addLine(); + void subtractLine(); + int minValue(); + int maxValue(); + void setRange(int minValue, int maxValue); + void setMinValue(int minVal); + void setMaxValue(int minVal); + int lineStep(); + int pageStep(); + void setSteps(int line, int page); + int bound(int arg1); +} diff --git a/qtjava/javalib/org/kde/qt/TQRect.java b/qtjava/javalib/org/kde/qt/TQRect.java new file mode 100644 index 00000000..1db02d29 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQRect.java @@ -0,0 +1,96 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQRect implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQRect(Class dummy){} + + public TQRect() { + newTQRect(); + } + private native void newTQRect(); + public TQRect(TQPoint topleft, TQPoint bottomright) { + newTQRect(topleft,bottomright); + } + private native void newTQRect(TQPoint topleft, TQPoint bottomright); + public TQRect(TQPoint topleft, TQSize size) { + newTQRect(topleft,size); + } + private native void newTQRect(TQPoint topleft, TQSize size); + public TQRect(int left, int top, int width, int height) { + newTQRect(left,top,width,height); + } + private native void newTQRect(int left, int top, int width, int height); + public native boolean isNull(); + public native boolean isEmpty(); + public native boolean isValid(); + public native TQRect normalize(); + public native int left(); + public native int top(); + public native int right(); + public native int bottom(); + public native short rLeft(); + public native short rTop(); + public native short rRight(); + public native short rBottom(); + public native int x(); + public native int y(); + public native void setLeft(int pos); + public native void setTop(int pos); + public native void setRight(int pos); + public native void setBottom(int pos); + public native void setX(int x); + public native void setY(int y); + public native void setTopLeft(TQPoint p); + public native void setBottomRight(TQPoint p); + public native void setTopRight(TQPoint p); + public native void setBottomLeft(TQPoint p); + public native TQPoint topLeft(); + public native TQPoint bottomRight(); + public native TQPoint topRight(); + public native TQPoint bottomLeft(); + public native TQPoint center(); + public native void rect(int[] x, int[] y, int[] w, int[] h); + public native void coords(int[] x1, int[] y1, int[] x2, int[] y2); + public native void moveLeft(int pos); + public native void moveTop(int pos); + public native void moveRight(int pos); + public native void moveBottom(int pos); + public native void moveTopLeft(TQPoint p); + public native void moveBottomRight(TQPoint p); + public native void moveTopRight(TQPoint p); + public native void moveBottomLeft(TQPoint p); + public native void moveCenter(TQPoint p); + public native void moveBy(int dx, int dy); + public native void setRect(int x, int y, int w, int h); + public native void setCoords(int x1, int y1, int x2, int y2); + public native void addCoords(int x1, int y1, int x2, int y2); + public native TQSize size(); + public native int width(); + public native int height(); + public native void setWidth(int w); + public native void setHeight(int h); + public native void setSize(TQSize s); + public native TQRect op_or(TQRect r); + public native TQRect op_and(TQRect r); + public native TQRect op_or_assign(TQRect r); + public native TQRect op_and_assign(TQRect r); + public native boolean contains(TQPoint p, boolean proper); + public native boolean contains(TQPoint p); + public native boolean contains(int x, int y); + public native boolean contains(int x, int y, boolean proper); + public native boolean contains(TQRect r, boolean proper); + public native boolean contains(TQRect r); + public native TQRect unite(TQRect r); + public native TQRect intersect(TQRect r); + public native boolean intersects(TQRect r); + /** 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/qtjava/javalib/org/kde/qt/TQRegExp.java b/qtjava/javalib/org/kde/qt/TQRegExp.java new file mode 100644 index 00000000..c12bc3d7 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQRegExp.java @@ -0,0 +1,74 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +public class TQRegExp implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQRegExp(Class dummy){} + + public static final int CaretAtZero = 0; + public static final int CaretAtOffset = 1; + public static final int CaretWontMatch = 2; + + public TQRegExp() { + newTQRegExp(); + } + private native void newTQRegExp(); + public TQRegExp(String pattern, boolean caseSensitive, boolean wildcard) { + newTQRegExp(pattern,caseSensitive,wildcard); + } + private native void newTQRegExp(String pattern, boolean caseSensitive, boolean wildcard); + public TQRegExp(String pattern, boolean caseSensitive) { + newTQRegExp(pattern,caseSensitive); + } + private native void newTQRegExp(String pattern, boolean caseSensitive); + public TQRegExp(String pattern) { + newTQRegExp(pattern); + } + private native void newTQRegExp(String pattern); + public TQRegExp(TQRegExp rx) { + newTQRegExp(rx); + } + private native void newTQRegExp(TQRegExp rx); + public native boolean op_equals(TQRegExp rx); + public native boolean op_not_equals(TQRegExp rx); + public native boolean isEmpty(); + public native boolean isValid(); + public native String pattern(); + public native void setPattern(String pattern); + public native boolean caseSensitive(); + public native void setCaseSensitive(boolean sensitive); + public native boolean wildcard(); + public native void setWildcard(boolean wildcard); + public native boolean minimal(); + public native void setMinimal(boolean minimal); + public native boolean exactMatch(String str); + public native int match(String str, int index, int[] len, boolean indexIsStart); + public native int match(String str, int index, int[] len); + public native int match(String str, int index); + public native int match(String str); + public native int search(String str, int offset, int caretMode); + public native int search(String str, int offset); + public native int search(String str); + public native int searchRev(String str, int offset, int caretMode); + public native int searchRev(String str, int offset); + public native int searchRev(String str); + public native int matchedLength(); + public native int numCaptures(); + public native ArrayList capturedTexts(); + public native String cap(int nth); + public native String cap(); + public native int pos(int nth); + public native int pos(); + public native String errorString(); + public static native String escape(String str); + /** 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/qtjava/javalib/org/kde/qt/TQRegExpValidator.java b/qtjava/javalib/org/kde/qt/TQRegExpValidator.java new file mode 100644 index 00000000..aebbd7b3 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQRegExpValidator.java @@ -0,0 +1,41 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQRegExpValidator extends TQValidator { + protected TQRegExpValidator(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQRegExpValidator(TQObject parent, String name) { + super((Class) null); + newTQRegExpValidator(parent,name); + } + private native void newTQRegExpValidator(TQObject parent, String name); + public TQRegExpValidator(TQObject parent) { + super((Class) null); + newTQRegExpValidator(parent); + } + private native void newTQRegExpValidator(TQObject parent); + public TQRegExpValidator(TQRegExp rx, TQObject parent, String name) { + super((Class) null); + newTQRegExpValidator(rx,parent,name); + } + private native void newTQRegExpValidator(TQRegExp rx, TQObject parent, String name); + public TQRegExpValidator(TQRegExp rx, TQObject parent) { + super((Class) null); + newTQRegExpValidator(rx,parent); + } + private native void newTQRegExpValidator(TQRegExp rx, TQObject parent); + public native int validate(StringBuffer input, int[] pos); + public native void setRegExp(TQRegExp rx); + public native TQRegExp regExp(); + public static native String tr(String arg1, String arg2); + public static native String tr(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/qtjava/javalib/org/kde/qt/TQRegion.java b/qtjava/javalib/org/kde/qt/TQRegion.java new file mode 100644 index 00000000..2e9acd5d --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQRegion.java @@ -0,0 +1,81 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +public class TQRegion implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQRegion(Class dummy){} + + public static final int Rectangle = 0; + public static final int Ellipse = 1; + + public TQRegion() { + newTQRegion(); + } + private native void newTQRegion(); + public TQRegion(int x, int y, int w, int h, int arg5) { + newTQRegion(x,y,w,h,arg5); + } + private native void newTQRegion(int x, int y, int w, int h, int arg5); + public TQRegion(int x, int y, int w, int h) { + newTQRegion(x,y,w,h); + } + private native void newTQRegion(int x, int y, int w, int h); + public TQRegion(TQRect arg1, int arg2) { + newTQRegion(arg1,arg2); + } + private native void newTQRegion(TQRect arg1, int arg2); + public TQRegion(TQRect arg1) { + newTQRegion(arg1); + } + private native void newTQRegion(TQRect arg1); + public TQRegion(TQPointArray arg1, boolean winding) { + newTQRegion(arg1,winding); + } + private native void newTQRegion(TQPointArray arg1, boolean winding); + public TQRegion(TQPointArray arg1) { + newTQRegion(arg1); + } + private native void newTQRegion(TQPointArray arg1); + public TQRegion(TQRegion arg1) { + newTQRegion(arg1); + } + private native void newTQRegion(TQRegion arg1); + public TQRegion(TQBitmap arg1) { + newTQRegion(arg1); + } + private native void newTQRegion(TQBitmap arg1); + public native boolean isNull(); + public native boolean isEmpty(); + public native boolean contains(TQPoint p); + public native boolean contains(TQRect r); + public native void translate(int dx, int dy); + public native TQRegion unite(TQRegion arg1); + public native TQRegion intersect(TQRegion arg1); + public native TQRegion subtract(TQRegion arg1); + public native TQRegion eor(TQRegion arg1); + public native TQRect boundingRect(); + public native ArrayList rects(); + public native void setRects(TQRect arg1, int arg2); + public native TQRegion op_or(TQRegion arg1); + public native TQRegion op_plus(TQRegion arg1); + public native TQRegion op_and(TQRegion arg1); + public native TQRegion op_minus(TQRegion arg1); + public native TQRegion op_xor(TQRegion arg1); + public native TQRegion op_or_assign(TQRegion arg1); + public native TQRegion op_plus_assign(TQRegion arg1); + public native TQRegion op_and_assign(TQRegion arg1); + public native TQRegion op_minus_assign(TQRegion arg1); + public native TQRegion op_xor_assign(TQRegion arg1); + public native boolean op_equals(TQRegion arg1); + public native boolean op_not_equals(TQRegion r); + /** 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/qtjava/javalib/org/kde/qt/TQResizeEvent.java b/qtjava/javalib/org/kde/qt/TQResizeEvent.java new file mode 100644 index 00000000..ea0d68d8 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQResizeEvent.java @@ -0,0 +1,21 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQResizeEvent extends TQEvent { + protected TQResizeEvent(Class dummy){super((Class) null);} + public TQResizeEvent(TQSize size, TQSize oldSize) { + super((Class) null); + newTQResizeEvent(size,oldSize); + } + private native void newTQResizeEvent(TQSize size, TQSize oldSize); + public native TQSize size(); + public native TQSize oldSize(); + /** 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/qtjava/javalib/org/kde/qt/TQScrollBar.java b/qtjava/javalib/org/kde/qt/TQScrollBar.java new file mode 100644 index 00000000..b9d57162 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQScrollBar.java @@ -0,0 +1,97 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQScrollBarSignals} for signals emitted by TQScrollBar +*/ +public class TQScrollBar extends TQWidget implements TQRangeControlInterface { + protected TQScrollBar(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQScrollBar(TQWidget parent, String name) { + super((Class) null); + newTQScrollBar(parent,name); + } + private native void newTQScrollBar(TQWidget parent, String name); + public TQScrollBar(TQWidget parent) { + super((Class) null); + newTQScrollBar(parent); + } + private native void newTQScrollBar(TQWidget parent); + public TQScrollBar(int arg1, TQWidget parent, String name) { + super((Class) null); + newTQScrollBar(arg1,parent,name); + } + private native void newTQScrollBar(int arg1, TQWidget parent, String name); + public TQScrollBar(int arg1, TQWidget parent) { + super((Class) null); + newTQScrollBar(arg1,parent); + } + private native void newTQScrollBar(int arg1, TQWidget parent); + public TQScrollBar(int minValue, int maxValue, int lineStep, int pageStep, int value, int arg6, TQWidget parent, String name) { + super((Class) null); + newTQScrollBar(minValue,maxValue,lineStep,pageStep,value,arg6,parent,name); + } + private native void newTQScrollBar(int minValue, int maxValue, int lineStep, int pageStep, int value, int arg6, TQWidget parent, String name); + public TQScrollBar(int minValue, int maxValue, int lineStep, int pageStep, int value, int arg6, TQWidget parent) { + super((Class) null); + newTQScrollBar(minValue,maxValue,lineStep,pageStep,value,arg6,parent); + } + private native void newTQScrollBar(int minValue, int maxValue, int lineStep, int pageStep, int value, int arg6, TQWidget parent); + public native void setOrientation(int arg1); + public native int orientation(); + public native void setTracking(boolean enable); + public native boolean tracking(); + public native boolean draggingSlider(); + public native void setPalette(TQPalette arg1); + public native TQSize sizeHint(); + public native void setSizePolicy(TQSizePolicy sp); + public native void setSizePolicy(int hor, int ver, boolean hfw); + public native void setSizePolicy(int hor, int ver); + public native int minValue(); + public native int maxValue(); + public native void setMinValue(int arg1); + public native void setMaxValue(int arg1); + public native int lineStep(); + public native int pageStep(); + public native void setLineStep(int arg1); + public native void setPageStep(int arg1); + public native int value(); + public native int sliderStart(); + public native TQRect sliderRect(); + public native void setValue(int arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void wheelEvent(TQWheelEvent arg1); + protected native void keyPressEvent(TQKeyEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); + 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 contextMenuEvent(TQContextMenuEvent arg1); + protected native void hideEvent(TQHideEvent arg1); + protected native void valueChange(); + protected native void stepChange(); + protected native void rangeChange(); + public native void styleChange(TQStyle 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(); + public native void addPage(); + public native void subtractPage(); + public native void addLine(); + public native void subtractLine(); + public native void setRange(int minValue, int maxValue); + public native void setSteps(int line, int page); + public native int bound(int arg1); + protected native int positionFromValue(int val, int space); + protected native int valueFromPosition(int pos, int space); + protected native void directSetValue(int val); + protected native int prevValue(); +} diff --git a/qtjava/javalib/org/kde/qt/TQScrollBarSignals.java b/qtjava/javalib/org/kde/qt/TQScrollBarSignals.java new file mode 100644 index 00000000..9c0590e9 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQScrollBarSignals.java @@ -0,0 +1,14 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQScrollBarSignals { + void valueChanged(int value); + void sliderPressed(); + void sliderMoved(int value); + void sliderReleased(); + void nextLine(); + void prevLine(); + void nextPage(); + void prevPage(); +} diff --git a/qtjava/javalib/org/kde/qt/TQScrollView.java b/qtjava/javalib/org/kde/qt/TQScrollView.java new file mode 100644 index 00000000..6df025a3 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQScrollView.java @@ -0,0 +1,160 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQScrollViewSignals} for signals emitted by TQScrollView +*/ +public class TQScrollView extends TQFrame { + protected TQScrollView(Class dummy){super((Class) null);} + public static final int Default = 0; + public static final int Manual = 1; + public static final int AutoOne = 2; + public static final int AutoOneFit = 3; + + public static final int Auto = 0; + public static final int AlwaysOff = 1; + public static final int AlwaysOn = 2; + + public native TQMetaObject metaObject(); + public native String className(); + public TQScrollView(TQWidget parent, String name, int f) { + super((Class) null); + newTQScrollView(parent,name,f); + } + private native void newTQScrollView(TQWidget parent, String name, int f); + public TQScrollView(TQWidget parent, String name) { + super((Class) null); + newTQScrollView(parent,name); + } + private native void newTQScrollView(TQWidget parent, String name); + public TQScrollView(TQWidget parent) { + super((Class) null); + newTQScrollView(parent); + } + private native void newTQScrollView(TQWidget parent); + public TQScrollView() { + super((Class) null); + newTQScrollView(); + } + private native void newTQScrollView(); + public native void setResizePolicy(int arg1); + public native int resizePolicy(); + public native void styleChange(TQStyle arg1); + public native void removeChild(TQWidget child); + public native void addChild(TQWidget child, int x, int y); + public native void addChild(TQWidget child, int x); + public native void addChild(TQWidget child); + public native void moveChild(TQWidget child, int x, int y); + public native int childX(TQWidget child); + public native int childY(TQWidget child); + public native boolean childIsVisible(TQWidget child); + public native void showChild(TQWidget child, boolean yes); + public native void showChild(TQWidget child); + public native int vScrollBarMode(); + public native void setVScrollBarMode(int arg1); + public native int hScrollBarMode(); + public native void setHScrollBarMode(int arg1); + public native TQWidget cornerWidget(); + public native void setCornerWidget(TQWidget arg1); + public native TQScrollBar horizontalScrollBar(); + public native TQScrollBar verticalScrollBar(); + public native TQWidget viewport(); + public native TQWidget clipper(); + public native int visibleWidth(); + public native int visibleHeight(); + public native int contentsWidth(); + public native int contentsHeight(); + public native int contentsX(); + public native int contentsY(); + public native void resize(int w, int h); + public native void resize(TQSize arg1); + public native void show(); + public native void updateContents(int x, int y, int w, int h); + public native void updateContents(TQRect r); + public native void updateContents(); + public native void repaintContents(int x, int y, int w, int h, boolean erase); + public native void repaintContents(int x, int y, int w, int h); + public native void repaintContents(TQRect r, boolean erase); + public native void repaintContents(TQRect r); + public native void repaintContents(boolean erase); + public native void repaintContents(); + public native void contentsToViewport(int x, int y, int[] vx, int[] vy); + public native void viewportToContents(int vx, int vy, int[] x, int[] y); + public native TQPoint contentsToViewport(TQPoint arg1); + public native TQPoint viewportToContents(TQPoint arg1); + public native void enableClipper(boolean y); + public native void setStaticBackground(boolean y); + public native boolean hasStaticBackground(); + public native TQSize viewportSize(int arg1, int arg2); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + public native void removeChild(TQObject child); + public native boolean isHorizontalSliderPressed(); + public native boolean isVerticalSliderPressed(); + public native void setDragAutoScroll(boolean b); + public native boolean dragAutoScroll(); + public native void disableSizeHintCaching(); + public native void resizeContents(int w, int h); + public native void scrollBy(int dx, int dy); + public native void setContentsPos(int x, int y); + public native void ensureVisible(int x, int y); + public native void ensureVisible(int x, int y, int xmargin, int ymargin); + public native void center(int x, int y); + public native void center(int x, int y, float xmargin, float ymargin); + public native void updateScrollBars(); + public native void setEnabled(boolean enable); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void drawContents(TQPainter arg1, int cx, int cy, int cw, int ch); + protected native void drawContentsOffset(TQPainter arg1, int ox, int oy, int cx, int cy, int cw, int ch); + protected native void contentsMousePressEvent(TQMouseEvent arg1); + protected native void contentsMouseReleaseEvent(TQMouseEvent arg1); + protected native void contentsMouseDoubleClickEvent(TQMouseEvent arg1); + protected native void contentsMouseMoveEvent(TQMouseEvent arg1); + protected native void contentsDragEnterEvent(TQDragEnterEvent arg1); + protected native void contentsDragMoveEvent(TQDragMoveEvent arg1); + protected native void contentsDragLeaveEvent(TQDragLeaveEvent arg1); + protected native void contentsDropEvent(TQDropEvent arg1); + protected native void contentsWheelEvent(TQWheelEvent arg1); + protected native void contentsContextMenuEvent(TQContextMenuEvent arg1); + protected native void viewportPaintEvent(TQPaintEvent arg1); + protected native void viewportResizeEvent(TQResizeEvent arg1); + protected native void viewportMousePressEvent(TQMouseEvent arg1); + protected native void viewportMouseReleaseEvent(TQMouseEvent arg1); + protected native void viewportMouseDoubleClickEvent(TQMouseEvent arg1); + protected native void viewportMouseMoveEvent(TQMouseEvent arg1); + protected native void viewportDragEnterEvent(TQDragEnterEvent arg1); + protected native void viewportDragMoveEvent(TQDragMoveEvent arg1); + protected native void viewportDragLeaveEvent(TQDragLeaveEvent arg1); + protected native void viewportDropEvent(TQDropEvent arg1); + protected native void viewportWheelEvent(TQWheelEvent arg1); + protected native void viewportContextMenuEvent(TQContextMenuEvent arg1); + protected native void frameChanged(); + protected native void setMargins(int left, int top, int right, int bottom); + protected native int leftMargin(); + protected native int topMargin(); + protected native int rightMargin(); + protected native int bottomMargin(); + protected native boolean focusNextPrevChild(boolean next); + protected native void setHBarGeometry(TQScrollBar hbar, int x, int y, int w, int h); + protected native void setVBarGeometry(TQScrollBar vbar, int x, int y, int w, int h); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void mousePressEvent(TQMouseEvent arg1); + protected native void mouseReleaseEvent(TQMouseEvent arg1); + protected native void mouseDoubleClickEvent(TQMouseEvent arg1); + protected native void mouseMoveEvent(TQMouseEvent arg1); + protected native void wheelEvent(TQWheelEvent arg1); + protected native void contextMenuEvent(TQContextMenuEvent arg1); + public native boolean eventFilter(TQObject arg1, TQEvent e); + protected native void setCachedSizeHint(TQSize sh); + protected native TQSize cachedSizeHint(); + protected native void fontChange(TQFont 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/qtjava/javalib/org/kde/qt/TQScrollViewSignals.java b/qtjava/javalib/org/kde/qt/TQScrollViewSignals.java new file mode 100644 index 00000000..b2d47400 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQScrollViewSignals.java @@ -0,0 +1,11 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQScrollViewSignals { + void contentsMoving(int x, int y); + void horizontalSliderPressed(); + void horizontalSliderReleased(); + void verticalSliderPressed(); + void verticalSliderReleased(); +} diff --git a/qtjava/javalib/org/kde/qt/TQSemiModal.java b/qtjava/javalib/org/kde/qt/TQSemiModal.java new file mode 100644 index 00000000..c915f851 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQSemiModal.java @@ -0,0 +1,43 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQSemiModal extends TQDialog { + protected TQSemiModal(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQSemiModal(TQWidget parent, String name, boolean modal, int f) { + super((Class) null); + newTQSemiModal(parent,name,modal,f); + } + private native void newTQSemiModal(TQWidget parent, String name, boolean modal, int f); + public TQSemiModal(TQWidget parent, String name, boolean modal) { + super((Class) null); + newTQSemiModal(parent,name,modal); + } + private native void newTQSemiModal(TQWidget parent, String name, boolean modal); + public TQSemiModal(TQWidget parent, String name) { + super((Class) null); + newTQSemiModal(parent,name); + } + private native void newTQSemiModal(TQWidget parent, String name); + public TQSemiModal(TQWidget parent) { + super((Class) null); + newTQSemiModal(parent); + } + private native void newTQSemiModal(TQWidget parent); + public TQSemiModal() { + super((Class) null); + newTQSemiModal(); + } + private native void newTQSemiModal(); + public static native String tr(String arg1, String arg2); + public static native String tr(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/qtjava/javalib/org/kde/qt/TQServerSocket.java b/qtjava/javalib/org/kde/qt/TQServerSocket.java new file mode 100644 index 00000000..6e8c961f --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQServerSocket.java @@ -0,0 +1,18 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQServerSocket extends TQObject { + protected TQServerSocket(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public native boolean ok(); + public native short port(); + public native int socket(); + public native void setSocket(int socket); + public native TQHostAddress address(); + public native void newConnection(int socket); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); +} diff --git a/qtjava/javalib/org/kde/qt/TQSessionManager.java b/qtjava/javalib/org/kde/qt/TQSessionManager.java new file mode 100644 index 00000000..e25d6a7f --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQSessionManager.java @@ -0,0 +1,34 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +public class TQSessionManager extends TQObject { + protected TQSessionManager(Class dummy){super((Class) null);} + public static final int RestartIfRunning = 0; + public static final int RestartAnyway = 1; + public static final int RestartImmediately = 2; + public static final int RestartNever = 3; + + public native TQMetaObject metaObject(); + public native String className(); + public native String sessionId(); + public native String sessionKey(); + public native boolean allowsInteraction(); + public native boolean allowsErrorInteraction(); + public native void release(); + public native void cancel(); + public native void setRestartHint(int arg1); + public native int restartHint(); + public native void setRestartCommand(String[] arg1); + public native ArrayList restartCommand(); + public native void setDiscardCommand(String[] arg1); + public native ArrayList discardCommand(); + public native void setManagerProperty(String name, String value); + public native void setManagerProperty(String name, String[] value); + public native boolean isPhase2(); + public native void requestPhase2(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); +} diff --git a/qtjava/javalib/org/kde/qt/TQSettings.java b/qtjava/javalib/org/kde/qt/TQSettings.java new file mode 100644 index 00000000..68570c3c --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQSettings.java @@ -0,0 +1,70 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +public class TQSettings implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQSettings(Class dummy){} + + public static final int Native = 0; + public static final int Ini = 1; + + public static final int Unix = 0; + public static final int Windows = 1; + public static final int Mac = 2; + + public static final int User = 0; + public static final int Global = 1; + + public TQSettings() { + newTQSettings(); + } + private native void newTQSettings(); + public TQSettings(int format) { + newTQSettings(format); + } + private native void newTQSettings(int format); + public native boolean writeEntry(String arg1, boolean arg2); + public native boolean writeEntry(String arg1, double arg2); + public native boolean writeEntry(String arg1, int arg2); + public native boolean writeEntry(String arg1, String arg2); + public native boolean writeEntry(String arg1, String[] arg2); + public native boolean writeEntry(String arg1, String[] arg2, char sep); + public native ArrayList entryList(String arg1); + public native ArrayList subkeyList(String arg1); + public native ArrayList readListEntry(String arg1, boolean[] arg2); + public native ArrayList readListEntry(String arg1); + public native ArrayList readListEntry(String arg1, char sep, boolean[] arg3); + public native ArrayList readListEntry(String arg1, char sep); + public native String readEntry(String arg1, String def, boolean[] arg3); + public native String readEntry(String arg1, String def); + public native String readEntry(String arg1); + public native int readNumEntry(String arg1, int def, boolean[] arg3); + public native int readNumEntry(String arg1, int def); + public native int readNumEntry(String arg1); + public native double readDoubleEntry(String arg1, double def, boolean[] arg3); + public native double readDoubleEntry(String arg1, double def); + public native double readDoubleEntry(String arg1); + public native boolean readBoolEntry(String arg1, boolean def, boolean[] arg3); + public native boolean readBoolEntry(String arg1, boolean def); + public native boolean readBoolEntry(String arg1); + public native boolean removeEntry(String arg1); + public native void insertSearchPath(int arg1, String arg2); + public native void removeSearchPath(int arg1, String arg2); + public native void setPath(String domain, String product, int arg3); + public native void setPath(String domain, String product); + public native void beginGroup(String group); + public native void endGroup(); + public native void resetGroup(); + public native String group(); + public native boolean sync(); + /** 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/qtjava/javalib/org/kde/qt/TQShowEvent.java b/qtjava/javalib/org/kde/qt/TQShowEvent.java new file mode 100644 index 00000000..6c991ed3 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQShowEvent.java @@ -0,0 +1,19 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQShowEvent extends TQEvent { + protected TQShowEvent(Class dummy){super((Class) null);} + public TQShowEvent() { + super((Class) null); + newTQShowEvent(); + } + private native void newTQShowEvent(); + /** 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/qtjava/javalib/org/kde/qt/TQSignal.java b/qtjava/javalib/org/kde/qt/TQSignal.java new file mode 100644 index 00000000..add257f0 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQSignal.java @@ -0,0 +1,83 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** +************************************************* + $Id$ + +* Definition of TQSignal class + +* Created : 941201 + +* Copyright (C) 1992-2005 Trolltech AS. All rights reserved. + +* This file is part of the kernel module of the Qt GUI Toolkit. + +* This file may be distributed under the terms of the Q Public License + as defined by Trolltech AS of Norway and appearing in the file + LICENSE.TQPL included in the packaging of this file. + +* This file may be distributed and/or modified under the terms of the + GNU General Public License version 2 as published by the Free Software + Foundation and appearing in the file LICENSE.GPL included in the + packaging of this file. + +* Licensees holding valid Qt Enterprise Edition or Qt Professional Edition + licenses may use this file in accordance with the Qt Commercial License + Agreement provided with the Software. + +* This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE + WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + +* See http://www.trolltech.com/pricing.html or email sales@trolltech.com for + information about Qt Commercial License Agreements. + See http://www.trolltech.com/qpl/ for TQPL licensing information. + See http://www.trolltech.com/gpl/ for GPL licensing information. + +* Contact info@trolltech.com if any conditions of this licensing are + not clear to you. + +********************************************** See {@link TQSignalSignals} for signals emitted by TQSignal + @short $Id: qt/qsignal. + +*/ +public class TQSignal extends TQObject { + protected TQSignal(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQSignal(TQObject parent, String name) { + super((Class) null); + newTQSignal(parent,name); + } + private native void newTQSignal(TQObject parent, String name); + public TQSignal(TQObject parent) { + super((Class) null); + newTQSignal(parent); + } + private native void newTQSignal(TQObject parent); + public TQSignal() { + super((Class) null); + newTQSignal(); + } + private native void newTQSignal(); + public native boolean connect(TQObject receiver, String member); + public native boolean disconnect(TQObject receiver, String member); + public native boolean disconnect(TQObject receiver); + public native void activate(); + public native boolean isBlocked(); + public native void block(boolean b); + public native void setParameter(int value); + public native int parameter(); + public native void setValue(TQVariant value); + public native TQVariant value(); + public static native String tr(String arg1, String arg2); + public static native String tr(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/qtjava/javalib/org/kde/qt/TQSignalMapper.java b/qtjava/javalib/org/kde/qt/TQSignalMapper.java new file mode 100644 index 00000000..ab792151 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQSignalMapper.java @@ -0,0 +1,35 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQSignalMapperSignals} for signals emitted by TQSignalMapper +*/ +public class TQSignalMapper extends TQObject { + protected TQSignalMapper(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQSignalMapper(TQObject parent, String name) { + super((Class) null); + newTQSignalMapper(parent,name); + } + private native void newTQSignalMapper(TQObject parent, String name); + public TQSignalMapper(TQObject parent) { + super((Class) null); + newTQSignalMapper(parent); + } + private native void newTQSignalMapper(TQObject parent); + public native void setMapping(TQObject sender, int identifier); + public native void setMapping(TQObject sender, String identifier); + public native void removeMappings(TQObject sender); + public native void map(); + public static native String tr(String arg1, String arg2); + public static native String tr(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/qtjava/javalib/org/kde/qt/TQSignalMapperSignals.java b/qtjava/javalib/org/kde/qt/TQSignalMapperSignals.java new file mode 100644 index 00000000..c30666c3 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQSignalMapperSignals.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQSignalMapperSignals { + void mapped(int arg1); + void mapped(String arg1); +} diff --git a/qtjava/javalib/org/kde/qt/TQSignalSignals.java b/qtjava/javalib/org/kde/qt/TQSignalSignals.java new file mode 100644 index 00000000..57bc51ac --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQSignalSignals.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQSignalSignals { + void signal(TQVariant arg1); + void intSignal(int arg1); +} diff --git a/qtjava/javalib/org/kde/qt/TQSimpleRichText.java b/qtjava/javalib/org/kde/qt/TQSimpleRichText.java new file mode 100644 index 00000000..51fad3c8 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQSimpleRichText.java @@ -0,0 +1,59 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQSimpleRichText implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQSimpleRichText(Class dummy){} + + public TQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet) { + newTQSimpleRichText(text,fnt,context,sheet); + } + private native void newTQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet); + public TQSimpleRichText(String text, TQFont fnt, String context) { + newTQSimpleRichText(text,fnt,context); + } + private native void newTQSimpleRichText(String text, TQFont fnt, String context); + public TQSimpleRichText(String text, TQFont fnt) { + newTQSimpleRichText(text,fnt); + } + private native void newTQSimpleRichText(String text, TQFont fnt); + public TQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory, int pageBreak, TQColor linkColor, boolean linkUnderline) { + newTQSimpleRichText(text,fnt,context,sheet,factory,pageBreak,linkColor,linkUnderline); + } + private native void newTQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory, int pageBreak, TQColor linkColor, boolean linkUnderline); + public TQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory, int pageBreak, TQColor linkColor) { + newTQSimpleRichText(text,fnt,context,sheet,factory,pageBreak,linkColor); + } + private native void newTQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory, int pageBreak, TQColor linkColor); + public TQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory, int pageBreak) { + newTQSimpleRichText(text,fnt,context,sheet,factory,pageBreak); + } + private native void newTQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory, int pageBreak); + public TQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory) { + newTQSimpleRichText(text,fnt,context,sheet,factory); + } + private native void newTQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory); + public native void setWidth(int arg1); + public native void setWidth(TQPainter arg1, int arg2); + public native void setDefaultFont(TQFont f); + public native int width(); + public native int widthUsed(); + public native int height(); + public native void adjustSize(); + public native void draw(TQPainter p, int x, int y, TQRect clipRect, TQColorGroup cg, TQBrush paper); + public native void draw(TQPainter p, int x, int y, TQRect clipRect, TQColorGroup cg); + public native void draw(TQPainter p, int x, int y, TQRegion clipRegion, TQColorGroup cg, TQBrush paper); + public native void draw(TQPainter p, int x, int y, TQRegion clipRegion, TQColorGroup cg); + public native String context(); + public native String anchorAt(TQPoint pos); + public native boolean inText(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/qtjava/javalib/org/kde/qt/TQSize.java b/qtjava/javalib/org/kde/qt/TQSize.java new file mode 100644 index 00000000..37440a50 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQSize.java @@ -0,0 +1,49 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQSize implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQSize(Class dummy){} + + public static final int ScaleFree = 0; + public static final int ScaleMin = 1; + public static final int ScaleMax = 2; + + public TQSize() { + newTQSize(); + } + private native void newTQSize(); + public TQSize(int w, int h) { + newTQSize(w,h); + } + private native void newTQSize(int w, int h); + public native boolean isNull(); + public native boolean isEmpty(); + public native boolean isValid(); + public native int width(); + public native int height(); + public native void setWidth(int w); + public native void setHeight(int h); + public native void transpose(); + public native void scale(int w, int h, int mode); + public native void scale(TQSize s, int mode); + public native TQSize expandedTo(TQSize arg1); + public native TQSize boundedTo(TQSize arg1); + public native short rwidth(); + public native short rheight(); + public native TQSize op_plus_assign(TQSize arg1); + public native TQSize op_minus_assign(TQSize arg1); + public native TQSize op_mult_assign(int c); + public native TQSize op_mult_assign(double c); + public native TQSize op_div_assign(int c); + public native TQSize op_div_assign(double c); + /** 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/qtjava/javalib/org/kde/qt/TQSizeGrip.java b/qtjava/javalib/org/kde/qt/TQSizeGrip.java new file mode 100644 index 00000000..52d444de --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQSizeGrip.java @@ -0,0 +1,33 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQSizeGrip extends TQWidget { + protected TQSizeGrip(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQSizeGrip(TQWidget parent, String name) { + super((Class) null); + newTQSizeGrip(parent,name); + } + private native void newTQSizeGrip(TQWidget parent, String name); + public TQSizeGrip(TQWidget parent) { + super((Class) null); + newTQSizeGrip(parent); + } + private native void newTQSizeGrip(TQWidget parent); + public native TQSize sizeHint(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void paintEvent(TQPaintEvent arg1); + protected native void mousePressEvent(TQMouseEvent arg1); + protected native void mouseMoveEvent(TQMouseEvent arg1); + public native boolean eventFilter(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/qtjava/javalib/org/kde/qt/TQSizePolicy.java b/qtjava/javalib/org/kde/qt/TQSizePolicy.java new file mode 100644 index 00000000..082eb5eb --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQSizePolicy.java @@ -0,0 +1,77 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQSizePolicy implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQSizePolicy(Class dummy){} + + public static final int HSize = 6; + public static final int HMask = 0x3f; + public static final int VMask = HMask< boundValues(); >>>> NOT CONVERTED + public native String executedQuery(); + protected native void beforeSeek(); +} diff --git a/qtjava/javalib/org/kde/qt/TQSqlDatabase.java b/qtjava/javalib/org/kde/qt/TQSqlDatabase.java new file mode 100644 index 00000000..d046a32d --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQSqlDatabase.java @@ -0,0 +1,96 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +public class TQSqlDatabase extends TQObject { + protected TQSqlDatabase(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public native boolean open(); + public native boolean open(String user, String password); + public native void close(); + public native boolean isOpen(); + public native boolean isOpenError(); + public native ArrayList tables(); + public native ArrayList tables(int type); + public native TQSqlIndex primaryIndex(String tablename); + public native TQSqlRecord record(String tablename); + public native TQSqlRecord record(TQSqlQueryInterface query); + public native TQSqlRecordInfo recordInfo(String tablename); + public native TQSqlRecordInfo recordInfo(TQSqlQueryInterface query); + public native TQSqlQueryInterface exec(String query); + public native TQSqlQueryInterface exec(); + public native TQSqlError lastError(); + public native boolean transaction(); + public native boolean commit(); + public native boolean rollback(); + public native void setDatabaseName(String name); + public native void setUserName(String name); + public native void setPassword(String password); + public native void setHostName(String host); + public native void setPort(int p); + public native void setConnectOptions(String options); + public native void setConnectOptions(); + public native String databaseName(); + public native String userName(); + public native String password(); + public native String hostName(); + public native String driverName(); + public native int port(); + public native String connectOptions(); + public native TQSqlDriver driver(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native TQSqlDatabase addDatabase(String type, String connectionName); + public static native TQSqlDatabase addDatabase(String type); + public static native TQSqlDatabase addDatabase(TQSqlDriver driver, String connectionName); + public static native TQSqlDatabase addDatabase(TQSqlDriver driver); + public static native TQSqlDatabase database(String connectionName, boolean open); + public static native TQSqlDatabase database(String connectionName); + public static native TQSqlDatabase database(); + public static native void removeDatabase(String connectionName); + public static native void removeDatabase(TQSqlDatabase db); + public static native boolean contains(String connectionName); + public static native boolean contains(); + public static native ArrayList drivers(); + // void registerSqlDriver(const TQString& arg1,const TQSqlDriverCreatorBase* arg2); >>>> NOT CONVERTED + public static native boolean isDriverAvailable(String name); + public TQSqlDatabase(String type, String name, TQObject parent, String objname) { + super((Class) null); + newTQSqlDatabase(type,name,parent,objname); + } + private native void newTQSqlDatabase(String type, String name, TQObject parent, String objname); + public TQSqlDatabase(String type, String name, TQObject parent) { + super((Class) null); + newTQSqlDatabase(type,name,parent); + } + private native void newTQSqlDatabase(String type, String name, TQObject parent); + public TQSqlDatabase(String type, String name) { + super((Class) null); + newTQSqlDatabase(type,name); + } + private native void newTQSqlDatabase(String type, String name); + public TQSqlDatabase(TQSqlDriver driver, TQObject parent, String objname) { + super((Class) null); + newTQSqlDatabase(driver,parent,objname); + } + private native void newTQSqlDatabase(TQSqlDriver driver, TQObject parent, String objname); + public TQSqlDatabase(TQSqlDriver driver, TQObject parent) { + super((Class) null); + newTQSqlDatabase(driver,parent); + } + private native void newTQSqlDatabase(TQSqlDriver driver, TQObject parent); + public TQSqlDatabase(TQSqlDriver driver) { + super((Class) null); + newTQSqlDatabase(driver); + } + private native void newTQSqlDatabase(TQSqlDriver driver); + /** 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/qtjava/javalib/org/kde/qt/TQSqlDriver.java b/qtjava/javalib/org/kde/qt/TQSqlDriver.java new file mode 100644 index 00000000..c67cdcb2 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQSqlDriver.java @@ -0,0 +1,45 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +public class TQSqlDriver extends TQObject { + protected TQSqlDriver(Class dummy){super((Class) null);} + public static final int Transactions = 0; + public static final int QuerySize = 1; + public static final int BLOB = 2; + public static final int Unicode = 3; + public static final int PreparedQueries = 4; + public static final int NamedPlaceholders = 5; + public static final int PositionalPlaceholders = 6; + + public native TQMetaObject metaObject(); + public native String className(); + public native boolean isOpen(); + public native boolean isOpenError(); + public native boolean beginTransaction(); + public native boolean commitTransaction(); + public native boolean rollbackTransaction(); + public native ArrayList tables(String tableType); + public native TQSqlIndex primaryIndex(String tableName); + public native TQSqlRecord record(String tableName); + public native TQSqlRecord record(TQSqlQueryInterface query); + public native TQSqlRecordInfo recordInfo(String tablename); + public native TQSqlRecordInfo recordInfo(TQSqlQueryInterface query); + public native String nullText(); + public native String formatValue(TQSqlField field, boolean trimStrings); + public native String formatValue(TQSqlField field); + public native TQSqlError lastError(); + public native boolean hasFeature(int f); + public native boolean open(String db, String user, String password, String host, int port); + public native boolean open(String db, String user, String password, String host); + public native boolean open(String db, String user, String password); + public native boolean open(String db, String user); + public native boolean open(String db); + public native void close(); + public native TQSqlQueryInterface createQuery(); + public native boolean open(String db, String user, String password, String host, int port, String connOpts); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); +} diff --git a/qtjava/javalib/org/kde/qt/TQSqlEditorFactory.java b/qtjava/javalib/org/kde/qt/TQSqlEditorFactory.java new file mode 100644 index 00000000..bc051a60 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQSqlEditorFactory.java @@ -0,0 +1,33 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQSqlEditorFactory extends TQEditorFactory { + protected TQSqlEditorFactory(Class dummy){super((Class) null);} + public TQSqlEditorFactory(TQObject parent, String name) { + super((Class) null); + newTQSqlEditorFactory(parent,name); + } + private native void newTQSqlEditorFactory(TQObject parent, String name); + public TQSqlEditorFactory(TQObject parent) { + super((Class) null); + newTQSqlEditorFactory(parent); + } + private native void newTQSqlEditorFactory(TQObject parent); + public TQSqlEditorFactory() { + super((Class) null); + newTQSqlEditorFactory(); + } + private native void newTQSqlEditorFactory(); + public native TQWidget createEditor(TQWidget parent, TQVariant variant); + public native TQWidget createEditor(TQWidget parent, TQSqlField field); + public static native TQEditorFactory defaultFactory(); + public static native void installDefaultFactory(TQSqlEditorFactory factory); + /** 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/qtjava/javalib/org/kde/qt/TQSqlError.java b/qtjava/javalib/org/kde/qt/TQSqlError.java new file mode 100644 index 00000000..79c5bf24 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQSqlError.java @@ -0,0 +1,58 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQSqlError implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQSqlError(Class dummy){} + + public static final int None = 0; + public static final int Connection = 1; + public static final int Statement = 2; + public static final int Transaction = 3; + public static final int Unknown = 4; + + public TQSqlError(String driverText, String databaseText, int type, int number) { + newTQSqlError(driverText,databaseText,type,number); + } + private native void newTQSqlError(String driverText, String databaseText, int type, int number); + public TQSqlError(String driverText, String databaseText, int type) { + newTQSqlError(driverText,databaseText,type); + } + private native void newTQSqlError(String driverText, String databaseText, int type); + public TQSqlError(String driverText, String databaseText) { + newTQSqlError(driverText,databaseText); + } + private native void newTQSqlError(String driverText, String databaseText); + public TQSqlError(String driverText) { + newTQSqlError(driverText); + } + private native void newTQSqlError(String driverText); + public TQSqlError() { + newTQSqlError(); + } + private native void newTQSqlError(); + public TQSqlError(TQSqlError other) { + newTQSqlError(other); + } + private native void newTQSqlError(TQSqlError other); + public native String driverText(); + public native void setDriverText(String driverText); + public native String databaseText(); + public native void setDatabaseText(String databaseText); + public native int type(); + public native void setType(int type); + public native int number(); + public native void setNumber(int number); + public native String text(); + public native void showMessage(String msg); + public native void showMessage(); + /** 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/qtjava/javalib/org/kde/qt/TQSqlField.java b/qtjava/javalib/org/kde/qt/TQSqlField.java new file mode 100644 index 00000000..942494cc --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQSqlField.java @@ -0,0 +1,45 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQSqlField implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQSqlField(Class dummy){} + + public TQSqlField(String fieldName, int type) { + newTQSqlField(fieldName,type); + } + private native void newTQSqlField(String fieldName, int type); + public TQSqlField(String fieldName) { + newTQSqlField(fieldName); + } + private native void newTQSqlField(String fieldName); + public TQSqlField() { + newTQSqlField(); + } + private native void newTQSqlField(); + public TQSqlField(TQSqlField other) { + newTQSqlField(other); + } + private native void newTQSqlField(TQSqlField other); + public native boolean op_equals(TQSqlField other); + public native void setValue(TQVariant value); + public native TQVariant value(); + public native void setName(String name); + public native String name(); + public native void setNull(); + public native boolean isNull(); + public native void setReadOnly(boolean readOnly); + public native boolean isReadOnly(); + public native void clear(boolean nullify); + public native void clear(); + public native int type(); + /** 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/qtjava/javalib/org/kde/qt/TQSqlFieldInfo.java b/qtjava/javalib/org/kde/qt/TQSqlFieldInfo.java new file mode 100644 index 00000000..98e4cd47 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQSqlFieldInfo.java @@ -0,0 +1,88 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQSqlFieldInfo implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQSqlFieldInfo(Class dummy){} + + public TQSqlFieldInfo(String name, int typ, int retquired, int len, int prec, TQVariant defValue, int sqlType, boolean generated, boolean trim, boolean calculated) { + newTQSqlFieldInfo(name,typ,retquired,len,prec,defValue,sqlType,generated,trim,calculated); + } + private native void newTQSqlFieldInfo(String name, int typ, int retquired, int len, int prec, TQVariant defValue, int sqlType, boolean generated, boolean trim, boolean calculated); + public TQSqlFieldInfo(String name, int typ, int retquired, int len, int prec, TQVariant defValue, int sqlType, boolean generated, boolean trim) { + newTQSqlFieldInfo(name,typ,retquired,len,prec,defValue,sqlType,generated,trim); + } + private native void newTQSqlFieldInfo(String name, int typ, int retquired, int len, int prec, TQVariant defValue, int sqlType, boolean generated, boolean trim); + public TQSqlFieldInfo(String name, int typ, int retquired, int len, int prec, TQVariant defValue, int sqlType, boolean generated) { + newTQSqlFieldInfo(name,typ,retquired,len,prec,defValue,sqlType,generated); + } + private native void newTQSqlFieldInfo(String name, int typ, int retquired, int len, int prec, TQVariant defValue, int sqlType, boolean generated); + public TQSqlFieldInfo(String name, int typ, int retquired, int len, int prec, TQVariant defValue, int sqlType) { + newTQSqlFieldInfo(name,typ,retquired,len,prec,defValue,sqlType); + } + private native void newTQSqlFieldInfo(String name, int typ, int retquired, int len, int prec, TQVariant defValue, int sqlType); + public TQSqlFieldInfo(String name, int typ, int retquired, int len, int prec, TQVariant defValue) { + newTQSqlFieldInfo(name,typ,retquired,len,prec,defValue); + } + private native void newTQSqlFieldInfo(String name, int typ, int retquired, int len, int prec, TQVariant defValue); + public TQSqlFieldInfo(String name, int typ, int retquired, int len, int prec) { + newTQSqlFieldInfo(name,typ,retquired,len,prec); + } + private native void newTQSqlFieldInfo(String name, int typ, int retquired, int len, int prec); + public TQSqlFieldInfo(String name, int typ, int retquired, int len) { + newTQSqlFieldInfo(name,typ,retquired,len); + } + private native void newTQSqlFieldInfo(String name, int typ, int retquired, int len); + public TQSqlFieldInfo(String name, int typ, int retquired) { + newTQSqlFieldInfo(name,typ,retquired); + } + private native void newTQSqlFieldInfo(String name, int typ, int retquired); + public TQSqlFieldInfo(String name, int typ) { + newTQSqlFieldInfo(name,typ); + } + private native void newTQSqlFieldInfo(String name, int typ); + public TQSqlFieldInfo(String name) { + newTQSqlFieldInfo(name); + } + private native void newTQSqlFieldInfo(String name); + public TQSqlFieldInfo() { + newTQSqlFieldInfo(); + } + private native void newTQSqlFieldInfo(); + public TQSqlFieldInfo(TQSqlFieldInfo other) { + newTQSqlFieldInfo(other); + } + private native void newTQSqlFieldInfo(TQSqlFieldInfo other); + public TQSqlFieldInfo(TQSqlField other, boolean generated) { + newTQSqlFieldInfo(other,generated); + } + private native void newTQSqlFieldInfo(TQSqlField other, boolean generated); + public TQSqlFieldInfo(TQSqlField other) { + newTQSqlFieldInfo(other); + } + private native void newTQSqlFieldInfo(TQSqlField other); + public native boolean op_equals(TQSqlFieldInfo f); + public native TQSqlField toField(); + public native int isRequired(); + public native int type(); + public native int length(); + public native int precision(); + public native TQVariant defaultValue(); + public native String name(); + public native int typeID(); + public native boolean isGenerated(); + public native boolean isTrim(); + public native boolean isCalculated(); + public native void setTrim(boolean trim); + public native void setGenerated(boolean gen); + public native void setCalculated(boolean calc); + /** 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/qtjava/javalib/org/kde/qt/TQSqlForm.java b/qtjava/javalib/org/kde/qt/TQSqlForm.java new file mode 100644 index 00000000..2584e8bc --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQSqlForm.java @@ -0,0 +1,51 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQSqlForm extends TQObject { + protected TQSqlForm(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQSqlForm(TQObject parent, String name) { + super((Class) null); + newTQSqlForm(parent,name); + } + private native void newTQSqlForm(TQObject parent, String name); + public TQSqlForm(TQObject parent) { + super((Class) null); + newTQSqlForm(parent); + } + private native void newTQSqlForm(TQObject parent); + public TQSqlForm() { + super((Class) null); + newTQSqlForm(); + } + private native void newTQSqlForm(); + public native void insert(TQWidget widget, String field); + public native void remove(String field); + public native int count(); + public native TQWidget widget(int i); + public native TQSqlField widgetToField(TQWidget widget); + public native TQWidget fieldToWidget(TQSqlField field); + public native void installPropertyMap(TQSqlPropertyMap map); + public native void setRecord(TQSqlRecord buf); + public native void readField(TQWidget widget); + public native void writeField(TQWidget widget); + public native void readFields(); + public native void writeFields(); + public native void clear(); + public native void clearValues(boolean nullify); + public native void clearValues(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void insert(TQWidget widget, TQSqlField field); + protected native void remove(TQWidget widget); + protected native void clearMap(); + /** 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/qtjava/javalib/org/kde/qt/TQSqlIndex.java b/qtjava/javalib/org/kde/qt/TQSqlIndex.java new file mode 100644 index 00000000..e93aa3f8 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQSqlIndex.java @@ -0,0 +1,51 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +public class TQSqlIndex extends TQSqlRecord { + protected TQSqlIndex(Class dummy){super((Class) null);} + public TQSqlIndex(String cursorName, String name) { + super((Class) null); + newTQSqlIndex(cursorName,name); + } + private native void newTQSqlIndex(String cursorName, String name); + public TQSqlIndex(String cursorName) { + super((Class) null); + newTQSqlIndex(cursorName); + } + private native void newTQSqlIndex(String cursorName); + public TQSqlIndex() { + super((Class) null); + newTQSqlIndex(); + } + private native void newTQSqlIndex(); + public TQSqlIndex(TQSqlIndex other) { + super((Class) null); + newTQSqlIndex(other); + } + private native void newTQSqlIndex(TQSqlIndex other); + public native void setCursorName(String cursorName); + public native String cursorName(); + public native void setName(String name); + public native String name(); + public native void append(TQSqlField field); + public native void append(TQSqlField field, boolean desc); + public native boolean isDescending(int i); + public native void setDescending(int i, boolean desc); + public native String toString(String prefix, String sep, boolean verbose); + public native String toString(String prefix, String sep); + public native String toString(String prefix); + public native String toString(); + public native ArrayList toStringList(String prefix, boolean verbose); + public native ArrayList toStringList(String prefix); + public native ArrayList toStringList(); + public static native TQSqlIndex fromStringList(String[] l, TQSqlCursor cursor); + /** 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/qtjava/javalib/org/kde/qt/TQSqlPropertyMap.java b/qtjava/javalib/org/kde/qt/TQSqlPropertyMap.java new file mode 100644 index 00000000..c087c009 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQSqlPropertyMap.java @@ -0,0 +1,27 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQSqlPropertyMap implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQSqlPropertyMap(Class dummy){} + + public TQSqlPropertyMap() { + newTQSqlPropertyMap(); + } + private native void newTQSqlPropertyMap(); + public native TQVariant property(TQWidget widget); + public native void setProperty(TQWidget widget, TQVariant value); + public native void insert(String classname, String property); + public native void remove(String classname); + public static native TQSqlPropertyMap defaultMap(); + public static native void installDefaultMap(TQSqlPropertyMap map); + /** 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/qtjava/javalib/org/kde/qt/TQSqlQuery.java b/qtjava/javalib/org/kde/qt/TQSqlQuery.java new file mode 100644 index 00000000..2587b1e7 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQSqlQuery.java @@ -0,0 +1,76 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQSqlQuery implements QtSupport, TQSqlQueryInterface { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQSqlQuery(Class dummy){} + + public TQSqlQuery(TQSqlResult r) { + newTQSqlQuery(r); + } + private native void newTQSqlQuery(TQSqlResult r); + public TQSqlQuery(String query, TQSqlDatabase db) { + newTQSqlQuery(query,db); + } + private native void newTQSqlQuery(String query, TQSqlDatabase db); + public TQSqlQuery(String query) { + newTQSqlQuery(query); + } + private native void newTQSqlQuery(String query); + public TQSqlQuery() { + newTQSqlQuery(); + } + private native void newTQSqlQuery(); + public TQSqlQuery(TQSqlDatabase db) { + newTQSqlQuery(db); + } + private native void newTQSqlQuery(TQSqlDatabase db); + public TQSqlQuery(TQSqlQueryInterface other) { + newTQSqlQuery(other); + } + private native void newTQSqlQuery(TQSqlQueryInterface other); + public native boolean isValid(); + public native boolean isActive(); + public native boolean isNull(int field); + public native int at(); + public native String lastQuery(); + public native int numRowsAffected(); + public native TQSqlError lastError(); + public native boolean isSelect(); + public native int size(); + public native TQSqlDriver driver(); + public native TQSqlResult result(); + public native boolean isForwardOnly(); + public native void setForwardOnly(boolean forward); + public native boolean exec(String query); + public native TQVariant value(int i); + public native boolean seek(int i, boolean relative); + public native boolean seek(int i); + public native boolean next(); + public native boolean prev(); + public native boolean first(); + public native boolean last(); + public native boolean exec(); + public native boolean prepare(String query); + public native void bindValue(String placeholder, TQVariant val); + public native void bindValue(int pos, TQVariant val); + public native void addBindValue(TQVariant val); + public native void bindValue(String placeholder, TQVariant val, int type); + public native void bindValue(int pos, TQVariant val, int type); + public native void addBindValue(TQVariant val, int type); + public native TQVariant boundValue(String placeholder); + public native TQVariant boundValue(int pos); + // TQMap boundValues(); >>>> NOT CONVERTED + public native String executedQuery(); + protected native void beforeSeek(); + protected native void afterSeek(); + /** 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/qtjava/javalib/org/kde/qt/TQSqlQueryInterface.java b/qtjava/javalib/org/kde/qt/TQSqlQueryInterface.java new file mode 100644 index 00000000..26e566b9 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQSqlQueryInterface.java @@ -0,0 +1,38 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQSqlQueryInterface { + boolean isValid(); + boolean isActive(); + boolean isNull(int field); + int at(); + String lastQuery(); + int numRowsAffected(); + TQSqlError lastError(); + boolean isSelect(); + int size(); + TQSqlDriver driver(); + TQSqlResult result(); + boolean isForwardOnly(); + void setForwardOnly(boolean forward); + boolean exec(String query); + TQVariant value(int i); + boolean seek(int i, boolean relative); + boolean seek(int i); + boolean next(); + boolean prev(); + boolean first(); + boolean last(); + boolean exec(); + boolean prepare(String query); + void bindValue(String placeholder, TQVariant val); + void bindValue(int pos, TQVariant val); + void addBindValue(TQVariant val); + void bindValue(String placeholder, TQVariant val, int type); + void bindValue(int pos, TQVariant val, int type); + void addBindValue(TQVariant val, int type); + TQVariant boundValue(String placeholder); + TQVariant boundValue(int pos); + String executedQuery(); +} diff --git a/qtjava/javalib/org/kde/qt/TQSqlRecord.java b/qtjava/javalib/org/kde/qt/TQSqlRecord.java new file mode 100644 index 00000000..4685ec18 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQSqlRecord.java @@ -0,0 +1,56 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +public class TQSqlRecord implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQSqlRecord(Class dummy){} + + public TQSqlRecord() { + newTQSqlRecord(); + } + private native void newTQSqlRecord(); + public TQSqlRecord(TQSqlRecord other) { + newTQSqlRecord(other); + } + private native void newTQSqlRecord(TQSqlRecord other); + public native TQVariant value(int i); + public native TQVariant value(String name); + public native void setValue(int i, TQVariant val); + public native void setValue(String name, TQVariant val); + public native boolean isGenerated(int i); + public native boolean isGenerated(String name); + public native void setGenerated(String name, boolean generated); + public native void setGenerated(int i, boolean generated); + public native void setNull(int i); + public native void setNull(String name); + public native boolean isNull(int i); + public native boolean isNull(String name); + public native int position(String name); + public native String fieldName(int i); + public native TQSqlField field(int i); + public native TQSqlField field(String name); + public native void append(TQSqlField field); + public native void insert(int pos, TQSqlField field); + public native void remove(int pos); + public native boolean isEmpty(); + public native boolean contains(String name); + public native void clear(); + public native void clearValues(boolean nullify); + public native void clearValues(); + public native int count(); + public native String toString(String prefix, String sep); + public native String toString(String prefix); + public native String toString(); + public native ArrayList toStringList(String prefix); + public native ArrayList toStringList(); + /** 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/qtjava/javalib/org/kde/qt/TQSqlRecordInfo.java b/qtjava/javalib/org/kde/qt/TQSqlRecordInfo.java new file mode 100644 index 00000000..25ad8924 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQSqlRecordInfo.java @@ -0,0 +1,29 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQSqlRecordInfo implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQSqlRecordInfo(Class dummy){} + + public TQSqlRecordInfo() { + newTQSqlRecordInfo(); + } + private native void newTQSqlRecordInfo(); + // TQSqlRecordInfo* TQSqlRecordInfo(const TQSqlFieldInfoList& arg1); >>>> NOT CONVERTED + public TQSqlRecordInfo(TQSqlRecord other) { + newTQSqlRecordInfo(other); + } + private native void newTQSqlRecordInfo(TQSqlRecord other); + public native int contains(String fieldName); + public native TQSqlFieldInfo find(String fieldName); + public native TQSqlRecord toRecord(); + /** 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/qtjava/javalib/org/kde/qt/TQSqlResult.java b/qtjava/javalib/org/kde/qt/TQSqlResult.java new file mode 100644 index 00000000..1b332a08 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQSqlResult.java @@ -0,0 +1,13 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQSqlResult implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQSqlResult(Class dummy){} + + // void setExtension(TQSqlExtension* arg1); >>>> NOT CONVERTED + // TQSqlExtension* extension(); >>>> NOT CONVERTED +} diff --git a/qtjava/javalib/org/kde/qt/TQStatusBar.java b/qtjava/javalib/org/kde/qt/TQStatusBar.java new file mode 100644 index 00000000..29180475 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQStatusBar.java @@ -0,0 +1,50 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQStatusBarSignals} for signals emitted by TQStatusBar +*/ +public class TQStatusBar extends TQWidget { + protected TQStatusBar(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQStatusBar(TQWidget parent, String name) { + super((Class) null); + newTQStatusBar(parent,name); + } + private native void newTQStatusBar(TQWidget parent, String name); + public TQStatusBar(TQWidget parent) { + super((Class) null); + newTQStatusBar(parent); + } + private native void newTQStatusBar(TQWidget parent); + public TQStatusBar() { + super((Class) null); + newTQStatusBar(); + } + private native void newTQStatusBar(); + public native void addWidget(TQWidget arg1, int stretch, boolean arg3); + public native void addWidget(TQWidget arg1, int stretch); + public native void addWidget(TQWidget arg1); + public native void removeWidget(TQWidget arg1); + public native void setSizeGripEnabled(boolean arg1); + public native boolean isSizeGripEnabled(); + public native void message(String arg1); + public native void message(String arg1, int arg2); + public native void clear(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void paintEvent(TQPaintEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void reformat(); + protected native void hideOrShow(); + public native boolean event(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/qtjava/javalib/org/kde/qt/TQStatusBarSignals.java b/qtjava/javalib/org/kde/qt/TQStatusBarSignals.java new file mode 100644 index 00000000..2566f225 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQStatusBarSignals.java @@ -0,0 +1,7 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQStatusBarSignals { + void messageChanged(String text); +} diff --git a/qtjava/javalib/org/kde/qt/TQStoredDrag.java b/qtjava/javalib/org/kde/qt/TQStoredDrag.java new file mode 100644 index 00000000..b0b6acdd --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQStoredDrag.java @@ -0,0 +1,36 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQStoredDrag extends TQDragObject { + protected TQStoredDrag(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQStoredDrag(String mimeType, TQWidget dragSource, String name) { + super((Class) null); + newTQStoredDrag(mimeType,dragSource,name); + } + private native void newTQStoredDrag(String mimeType, TQWidget dragSource, String name); + public TQStoredDrag(String mimeType, TQWidget dragSource) { + super((Class) null); + newTQStoredDrag(mimeType,dragSource); + } + private native void newTQStoredDrag(String mimeType, TQWidget dragSource); + public TQStoredDrag(String mimeType) { + super((Class) null); + newTQStoredDrag(mimeType); + } + private native void newTQStoredDrag(String mimeType); + public native void setEncodedData(byte[] arg1); + public native String format(int i); + public native byte[] encodedData(String arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(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/qtjava/javalib/org/kde/qt/TQStyle.java b/qtjava/javalib/org/kde/qt/TQStyle.java new file mode 100644 index 00000000..f91e9796 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQStyle.java @@ -0,0 +1,356 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQStyle extends TQObject { + protected TQStyle(Class dummy){super((Class) null);} + public static final int PE_ButtonCommand = 0; + public static final int PE_ButtonDefault = 1; + public static final int PE_ButtonBevel = 2; + public static final int PE_ButtonTool = 3; + public static final int PE_ButtonDropDown = 4; + public static final int PE_FocusRect = 5; + public static final int PE_ArrowUp = 6; + public static final int PE_ArrowDown = 7; + public static final int PE_ArrowRight = 8; + public static final int PE_ArrowLeft = 9; + public static final int PE_SpinWidgetUp = 10; + public static final int PE_SpinWidgetDown = 11; + public static final int PE_SpinWidgetPlus = 12; + public static final int PE_SpinWidgetMinus = 13; + public static final int PE_Indicator = 14; + public static final int PE_IndicatorMask = 15; + public static final int PE_ExclusiveIndicator = 16; + public static final int PE_ExclusiveIndicatorMask = 17; + public static final int PE_DockWindowHandle = 18; + public static final int PE_DockWindowSeparator = 19; + public static final int PE_DockWindowResizeHandle = 20; + public static final int PE_Splitter = 21; + public static final int PE_Panel = 22; + public static final int PE_PanelPopup = 23; + public static final int PE_PanelMenuBar = 24; + public static final int PE_PanelDockWindow = 25; + public static final int PE_TabBarBase = 26; + public static final int PE_HeaderSection = 27; + public static final int PE_HeaderArrow = 28; + public static final int PE_StatusBarSection = 29; + public static final int PE_GroupBoxFrame = 30; + public static final int PE_Separator = 31; + public static final int PE_SizeGrip = 32; + public static final int PE_CheckMark = 33; + public static final int PE_ScrollBarAddLine = 34; + public static final int PE_ScrollBarSubLine = 35; + public static final int PE_ScrollBarAddPage = 36; + public static final int PE_ScrollBarSubPage = 37; + public static final int PE_ScrollBarSlider = 38; + public static final int PE_ScrollBarFirst = 39; + public static final int PE_ScrollBarLast = 40; + public static final int PE_ProgressBarChunk = 41; + public static final int PE_PanelLineEdit = 42; + public static final int PE_PanelTabWidget = 43; + public static final int PE_WindowFrame = 44; + public static final int PE_CheckListController = 45; + public static final int PE_CheckListIndicator = 46; + public static final int PE_CheckListExclusiveIndicator = 47; + public static final int PE_PanelGroupBox = 48; + public static final int PE_RubberBand = 49; + public static final int PE_CustomBase = 0xf000000; + + public static final int Style_Default = 0x00000000; + public static final int Style_Enabled = 0x00000001; + public static final int Style_Raised = 0x00000002; + public static final int Style_Sunken = 0x00000004; + public static final int Style_Off = 0x00000008; + public static final int Style_NoChange = 0x00000010; + public static final int Style_On = 0x00000020; + public static final int Style_Down = 0x00000040; + public static final int Style_Horizontal = 0x00000080; + public static final int Style_HasFocus = 0x00000100; + public static final int Style_Top = 0x00000200; + public static final int Style_Bottom = 0x00000400; + public static final int Style_FocusAtBorder = 0x00000800; + public static final int Style_AutoRaise = 0x00001000; + public static final int Style_MouseOver = 0x00002000; + public static final int Style_Up = 0x00004000; + public static final int Style_Selected = 0x00008000; + public static final int Style_Active = 0x00010000; + public static final int Style_ButtonDefault = 0x00020000; + + public static final int CE_PushButton = 0; + public static final int CE_PushButtonLabel = 1; + public static final int CE_CheckBox = 2; + public static final int CE_CheckBoxLabel = 3; + public static final int CE_RadioButton = 4; + public static final int CE_RadioButtonLabel = 5; + public static final int CE_TabBarTab = 6; + public static final int CE_TabBarLabel = 7; + public static final int CE_ProgressBarGroove = 8; + public static final int CE_ProgressBarContents = 9; + public static final int CE_ProgressBarLabel = 10; + public static final int CE_PopupMenuItem = 11; + public static final int CE_MenuBarItem = 12; + public static final int CE_ToolButtonLabel = 13; + public static final int CE_MenuBarEmptyArea = 14; + public static final int CE_PopupMenuScroller = 15; + public static final int CE_DockWindowEmptyArea = 16; + public static final int CE_PopupMenuVerticalExtra = 17; + public static final int CE_PopupMenuHorizontalExtra = 18; + public static final int CE_ToolBoxTab = 19; + public static final int CE_HeaderLabel = 20; + public static final int CE_CustomBase = 0xf0000000; + + public static final int SR_PushButtonContents = 0; + public static final int SR_PushButtonFocusRect = 1; + public static final int SR_CheckBoxIndicator = 2; + public static final int SR_CheckBoxContents = 3; + public static final int SR_CheckBoxFocusRect = 4; + public static final int SR_RadioButtonIndicator = 5; + public static final int SR_RadioButtonContents = 6; + public static final int SR_RadioButtonFocusRect = 7; + public static final int SR_ComboBoxFocusRect = 8; + public static final int SR_SliderFocusRect = 9; + public static final int SR_DockWindowHandleRect = 10; + public static final int SR_ProgressBarGroove = 11; + public static final int SR_ProgressBarContents = 12; + public static final int SR_ProgressBarLabel = 13; + public static final int SR_ToolButtonContents = 14; + public static final int SR_DialogButtonAccept = 15; + public static final int SR_DialogButtonReject = 16; + public static final int SR_DialogButtonApply = 17; + public static final int SR_DialogButtonHelp = 18; + public static final int SR_DialogButtonAll = 19; + public static final int SR_DialogButtonAbort = 20; + public static final int SR_DialogButtonIgnore = 21; + public static final int SR_DialogButtonRetry = 22; + public static final int SR_DialogButtonCustom = 23; + public static final int SR_ToolBoxTabContents = 24; + public static final int SR_CustomBase = 0xf0000000; + + public static final int CC_SpinWidget = 0; + public static final int CC_ComboBox = 1; + public static final int CC_ScrollBar = 2; + public static final int CC_Slider = 3; + public static final int CC_ToolButton = 4; + public static final int CC_TitleBar = 5; + public static final int CC_ListView = 6; + public static final int CC_CustomBase = 0xf0000000; + + public static final int SC_None = 0x00000000; + public static final int SC_ScrollBarAddLine = 0x00000001; + public static final int SC_ScrollBarSubLine = 0x00000002; + public static final int SC_ScrollBarAddPage = 0x00000004; + public static final int SC_ScrollBarSubPage = 0x00000008; + public static final int SC_ScrollBarFirst = 0x00000010; + public static final int SC_ScrollBarLast = 0x00000020; + public static final int SC_ScrollBarSlider = 0x00000040; + public static final int SC_ScrollBarGroove = 0x00000080; + public static final int SC_SpinWidgetUp = 0x00000001; + public static final int SC_SpinWidgetDown = 0x00000002; + public static final int SC_SpinWidgetFrame = 0x00000004; + public static final int SC_SpinWidgetEditField = 0x00000008; + public static final int SC_SpinWidgetButtonField = 0x00000010; + public static final int SC_ComboBoxFrame = 0x00000001; + public static final int SC_ComboBoxEditField = 0x00000002; + public static final int SC_ComboBoxArrow = 0x00000004; + public static final int SC_ComboBoxListBoxPopup = 0x00000008; + public static final int SC_SliderGroove = 0x00000001; + public static final int SC_SliderHandle = 0x00000002; + public static final int SC_SliderTickmarks = 0x00000004; + public static final int SC_ToolButton = 0x00000001; + public static final int SC_ToolButtonMenu = 0x00000002; + public static final int SC_TitleBarLabel = 0x00000001; + public static final int SC_TitleBarSysMenu = 0x00000002; + public static final int SC_TitleBarMinButton = 0x00000004; + public static final int SC_TitleBarMaxButton = 0x00000008; + public static final int SC_TitleBarCloseButton = 0x00000010; + public static final int SC_TitleBarNormalButton = 0x00000020; + public static final int SC_TitleBarShadeButton = 0x00000040; + public static final int SC_TitleBarUnshadeButton = 0x00000080; + public static final int SC_ListView = 0x00000001; + public static final int SC_ListViewBranch = 0x00000002; + public static final int SC_ListViewExpand = 0x00000004; + public static final int SC_All = 0xffffffff; + + public static final int PM_ButtonMargin = 0; + public static final int PM_ButtonDefaultIndicator = 1; + public static final int PM_MenuButtonIndicator = 2; + public static final int PM_ButtonShiftHorizontal = 3; + public static final int PM_ButtonShiftVertical = 4; + public static final int PM_DefaultFrameWidth = 5; + public static final int PM_SpinBoxFrameWidth = 6; + public static final int PM_MaximumDragDistance = 7; + public static final int PM_ScrollBarExtent = 8; + public static final int PM_ScrollBarSliderMin = 9; + public static final int PM_SliderThickness = 10; + public static final int PM_SliderControlThickness = 11; + public static final int PM_SliderLength = 12; + public static final int PM_SliderTickmarkOffset = 13; + public static final int PM_SliderSpaceAvailable = 14; + public static final int PM_DockWindowSeparatorExtent = 15; + public static final int PM_DockWindowHandleExtent = 16; + public static final int PM_DockWindowFrameWidth = 17; + public static final int PM_MenuBarFrameWidth = 18; + public static final int PM_TabBarTabOverlap = 19; + public static final int PM_TabBarTabHSpace = 20; + public static final int PM_TabBarTabVSpace = 21; + public static final int PM_TabBarBaseHeight = 22; + public static final int PM_TabBarBaseOverlap = 23; + public static final int PM_ProgressBarChunkWidth = 24; + public static final int PM_SplitterWidth = 25; + public static final int PM_TitleBarHeight = 26; + public static final int PM_IndicatorWidth = 27; + public static final int PM_IndicatorHeight = 28; + public static final int PM_ExclusiveIndicatorWidth = 29; + public static final int PM_ExclusiveIndicatorHeight = 30; + public static final int PM_PopupMenuScrollerHeight = 31; + public static final int PM_CheckListButtonSize = 32; + public static final int PM_CheckListControllerSize = 33; + public static final int PM_PopupMenuFrameHorizontalExtra = 34; + public static final int PM_PopupMenuFrameVerticalExtra = 35; + public static final int PM_DialogButtonsSeparator = 36; + public static final int PM_DialogButtonsButtonWidth = 37; + public static final int PM_DialogButtonsButtonHeight = 38; + public static final int PM_MDIFrameWidth = 39; + public static final int PM_MDIMinimizedWidth = 40; + public static final int PM_HeaderMargin = 41; + public static final int PM_HeaderMarkSize = 42; + public static final int PM_HeaderGripMargin = 43; + public static final int PM_TabBarTabShiftHorizontal = 44; + public static final int PM_TabBarTabShiftVertical = 45; + public static final int PM_TabBarScrollButtonWidth = 46; + public static final int PM_MenuBarItemSpacing = 47; + public static final int PM_ToolBarItemSpacing = 48; + public static final int PM_CustomBase = 0xf0000000; + + public static final int CT_PushButton = 0; + public static final int CT_CheckBox = 1; + public static final int CT_RadioButton = 2; + public static final int CT_ToolButton = 3; + public static final int CT_ComboBox = 4; + public static final int CT_Splitter = 5; + public static final int CT_DockWindow = 6; + public static final int CT_ProgressBar = 7; + public static final int CT_PopupMenuItem = 8; + public static final int CT_TabBarTab = 9; + public static final int CT_Slider = 10; + public static final int CT_Header = 11; + public static final int CT_LineEdit = 12; + public static final int CT_MenuBar = 13; + public static final int CT_SpinBox = 14; + public static final int CT_SizeGrip = 15; + public static final int CT_TabWidget = 16; + public static final int CT_DialogButtons = 17; + public static final int CT_CustomBase = 0xf0000000; + + public static final int SH_EtchDisabledText = 0; + public static final int SH_GUIStyle = 1; + public static final int SH_ScrollBar_BackgroundMode = 2; + public static final int SH_ScrollBar_MiddleClickAbsolutePosition = 3; + public static final int SH_ScrollBar_ScrollWhenPointerLeavesControl = 4; + public static final int SH_TabBar_SelectMouseType = 5; + public static final int SH_TabBar_Alignment = 6; + public static final int SH_Header_ArrowAlignment = 7; + public static final int SH_Slider_SnapToValue = 8; + public static final int SH_Slider_SloppyKeyEvents = 9; + public static final int SH_ProgressDialog_CenterCancelButton = 10; + public static final int SH_ProgressDialog_TextLabelAlignment = 11; + public static final int SH_PrintDialog_RightAlignButtons = 12; + public static final int SH_MainWindow_SpaceBelowMenuBar = 13; + public static final int SH_FontDialog_SelectAssociatedText = 14; + public static final int SH_PopupMenu_AllowActiveAndDisabled = 15; + public static final int SH_PopupMenu_SpaceActivatesItem = 16; + public static final int SH_PopupMenu_SubMenuPopupDelay = 17; + public static final int SH_ScrollView_FrameOnlyAroundContents = 18; + public static final int SH_MenuBar_AltKeyNavigation = 19; + public static final int SH_ComboBox_ListMouseTracking = 20; + public static final int SH_PopupMenu_MouseTracking = 21; + public static final int SH_MenuBar_MouseTracking = 22; + public static final int SH_ItemView_ChangeHighlightOnFocus = 23; + public static final int SH_Widget_ShareActivation = 24; + public static final int SH_Workspace_FillSpaceOnMaximize = 25; + public static final int SH_ComboBox_Popup = 26; + public static final int SH_TitleBar_NoBorder = 27; + public static final int SH_ScrollBar_StopMouseOverSlider = 28; + public static final int SH_BlinkCursorWhenTextSelected = 29; + public static final int SH_RichText_FullWidthSelection = 30; + public static final int SH_PopupMenu_Scrollable = 31; + public static final int SH_GroupBox_TextLabelVerticalAlignment = 32; + public static final int SH_GroupBox_TextLabelColor = 33; + public static final int SH_PopupMenu_SloppySubMenus = 34; + public static final int SH_Table_GridLineColor = 35; + public static final int SH_LineEdit_PasswordCharacter = 36; + public static final int SH_DialogButtons_DefaultButton = 37; + public static final int SH_ToolBox_SelectedPageTitleBold = 38; + public static final int SH_TabBar_PreferNoArrows = 39; + public static final int SH_ScrollBar_LeftClickAbsolutePosition = 40; + public static final int SH_ListViewExpand_SelectMouseType = 41; + public static final int SH_UnderlineAccelerator = 42; + public static final int SH_ToolButton_Uses3D = 43; + public static final int SH_CustomBase = 0xf0000000; + + public static final int SP_TitleBarMinButton = 0; + public static final int SP_TitleBarMaxButton = 1; + public static final int SP_TitleBarCloseButton = 2; + public static final int SP_TitleBarNormalButton = 3; + public static final int SP_TitleBarShadeButton = 4; + public static final int SP_TitleBarUnshadeButton = 5; + public static final int SP_DockWindowCloseButton = 6; + public static final int SP_MessageBoxInformation = 7; + public static final int SP_MessageBoxWarning = 8; + public static final int SP_MessageBoxCritical = 9; + public static final int SP_MessageBoxQuestion = 10; + public static final int SP_CustomBase = 0xf0000000; + + public native TQMetaObject metaObject(); + public native String className(); + public native void polish(TQWidget arg1); + public native void unPolish(TQWidget arg1); + public native void polish(TQApplication arg1); + public native void unPolish(TQApplication arg1); + public native void polish(TQPalette arg1); + public native void polishPopupMenu(TQPopupMenu arg1); + public native TQRect itemRect(TQPainter p, TQRect r, int flags, boolean enabled, TQPixmap pixmap, String text, int len); + public native TQRect itemRect(TQPainter p, TQRect r, int flags, boolean enabled, TQPixmap pixmap, String text); + public native void drawItem(TQPainter p, TQRect r, int flags, TQColorGroup g, boolean enabled, TQPixmap pixmap, String text, int len, TQColor penColor); + public native void drawItem(TQPainter p, TQRect r, int flags, TQColorGroup g, boolean enabled, TQPixmap pixmap, String text, int len); + public native void drawItem(TQPainter p, TQRect r, int flags, TQColorGroup g, boolean enabled, TQPixmap pixmap, String text); + public native void drawPrimitive(int pe, TQPainter p, TQRect r, TQColorGroup cg, int flags, TQStyleOption arg6); + public native void drawPrimitive(int pe, TQPainter p, TQRect r, TQColorGroup cg, int flags); + public native void drawPrimitive(int pe, TQPainter p, TQRect r, TQColorGroup cg); + public native void drawControl(int element, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, int how, TQStyleOption arg7); + public native void drawControl(int element, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, int how); + public native void drawControl(int element, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg); + public native void drawControlMask(int element, TQPainter p, TQWidget widget, TQRect r, TQStyleOption arg5); + public native void drawControlMask(int element, TQPainter p, TQWidget widget, TQRect r); + public native TQRect subRect(int r, TQWidget widget); + public native void drawComplexControl(int control, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, int how, int sub, int subActive, TQStyleOption arg9); + public native void drawComplexControl(int control, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, int how, int sub, int subActive); + public native void drawComplexControl(int control, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, int how, int sub); + public native void drawComplexControl(int control, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, int how); + public native void drawComplexControl(int control, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg); + public native void drawComplexControlMask(int control, TQPainter p, TQWidget widget, TQRect r, TQStyleOption arg5); + public native void drawComplexControlMask(int control, TQPainter p, TQWidget widget, TQRect r); + public native TQRect querySubControlMetrics(int control, TQWidget widget, int sc, TQStyleOption arg4); + public native TQRect querySubControlMetrics(int control, TQWidget widget, int sc); + public native int querySubControl(int control, TQWidget widget, TQPoint pos, TQStyleOption arg4); + public native int querySubControl(int control, TQWidget widget, TQPoint pos); + public native int pixelMetric(int metric, TQWidget widget); + public native int pixelMetric(int metric); + public native TQSize sizeFromContents(int contents, TQWidget widget, TQSize contentsSize, TQStyleOption arg4); + public native TQSize sizeFromContents(int contents, TQWidget widget, TQSize contentsSize); + // int styleHint(TQStyle::StyleHint arg1,const TQWidget* arg2,const TQStyleOption& arg3,TQStyleHintReturn* arg4); >>>> NOT CONVERTED + public native int styleHint(int stylehint, TQWidget widget, TQStyleOption arg3); + public native int styleHint(int stylehint, TQWidget widget); + public native int styleHint(int stylehint); + public native TQPixmap stylePixmap(int stylepixmap, TQWidget widget, TQStyleOption arg3); + public native TQPixmap stylePixmap(int stylepixmap, TQWidget widget); + public native TQPixmap stylePixmap(int stylepixmap); + public native int defaultFrameWidth(); + public native void tabbarMetrics(TQWidget t, int[] hf, int[] vf, int[] ov); + public native TQSize scrollBarExtent(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native TQRect visualRect(TQRect logical, TQWidget w); + public static native TQRect visualRect(TQRect logical, TQRect bounding); +} diff --git a/qtjava/javalib/org/kde/qt/TQStyleFactory.java b/qtjava/javalib/org/kde/qt/TQStyleFactory.java new file mode 100644 index 00000000..f0970703 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQStyleFactory.java @@ -0,0 +1,24 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +public class TQStyleFactory implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQStyleFactory(Class dummy){} + + public TQStyleFactory() { + newTQStyleFactory(); + } + private native void newTQStyleFactory(); + public static native ArrayList keys(); + public static native TQStyle create(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/qtjava/javalib/org/kde/qt/TQStyleOption.java b/qtjava/javalib/org/kde/qt/TQStyleOption.java new file mode 100644 index 00000000..0c37792c --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQStyleOption.java @@ -0,0 +1,88 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQStyleOption implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQStyleOption(Class dummy){} + + public static final int Default = 0; + + public TQStyleOption(int arg1) { + newTQStyleOption(arg1); + } + private native void newTQStyleOption(int arg1); + public TQStyleOption() { + newTQStyleOption(); + } + private native void newTQStyleOption(); + public TQStyleOption(int in1, int in2) { + newTQStyleOption(in1,in2); + } + private native void newTQStyleOption(int in1, int in2); + public TQStyleOption(int in1, int in2, int in3, int in4) { + newTQStyleOption(in1,in2,in3,in4); + } + private native void newTQStyleOption(int in1, int in2, int in3, int in4); + public TQStyleOption(TQMenuItem m) { + newTQStyleOption(m); + } + private native void newTQStyleOption(TQMenuItem m); + public TQStyleOption(TQMenuItem m, int in1) { + newTQStyleOption(m,in1); + } + private native void newTQStyleOption(TQMenuItem m, int in1); + public TQStyleOption(TQMenuItem m, int in1, int in2) { + newTQStyleOption(m,in1,in2); + } + private native void newTQStyleOption(TQMenuItem m, int in1, int in2); + public TQStyleOption(TQColor c) { + newTQStyleOption(c); + } + private native void newTQStyleOption(TQColor c); + public TQStyleOption(TQTab t) { + newTQStyleOption(t); + } + private native void newTQStyleOption(TQTab t); + public TQStyleOption(TQListViewItem i) { + newTQStyleOption(i); + } + private native void newTQStyleOption(TQListViewItem i); + public TQStyleOption(TQCheckListItem i) { + newTQStyleOption(i); + } + private native void newTQStyleOption(TQCheckListItem i); + public TQStyleOption(TQRect r) { + newTQStyleOption(r); + } + private native void newTQStyleOption(TQRect r); + public TQStyleOption(TQWidget w) { + newTQStyleOption(w); + } + private native void newTQStyleOption(TQWidget w); + public native boolean isDefault(); + public native int day(); + public native int lineWidth(); + public native int midLineWidth(); + public native int frameShape(); + public native int frameShadow(); + public native int headerSection(); + public native TQMenuItem menuItem(); + public native int maxIconWidth(); + public native int tabWidth(); + public native TQColor color(); + public native TQTab tab(); + public native TQCheckListItem checkListItem(); + public native TQListViewItem listViewItem(); + public native int arrowType(); + public native TQRect rect(); + public native TQWidget widget(); + /** 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/qtjava/javalib/org/kde/qt/TQStyleSheet.java b/qtjava/javalib/org/kde/qt/TQStyleSheet.java new file mode 100644 index 00000000..cecc9190 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQStyleSheet.java @@ -0,0 +1,44 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQStyleSheet extends TQObject { + protected TQStyleSheet(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQStyleSheet(TQObject parent, String name) { + super((Class) null); + newTQStyleSheet(parent,name); + } + private native void newTQStyleSheet(TQObject parent, String name); + public TQStyleSheet(TQObject parent) { + super((Class) null); + newTQStyleSheet(parent); + } + private native void newTQStyleSheet(TQObject parent); + public TQStyleSheet() { + super((Class) null); + newTQStyleSheet(); + } + private native void newTQStyleSheet(); + public native TQStyleSheetItem item(String name); + public native void insert(TQStyleSheetItem item); + // TQTextCustomItem* tag(const TQString& arg1,const TQMap& arg2,const TQString& arg3,const TQMimeSourceFactory& arg4,bool arg5,TQTextDocument* arg6); >>>> NOT CONVERTED + public native void scaleFont(TQFont font, int logicalSize); + public native void error(String arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native TQStyleSheet defaultSheet(); + public static native void setDefaultSheet(TQStyleSheet arg1); + public static native String escape(String arg1); + public static native String convertFromPlainText(String arg1, int mode); + public static native String convertFromPlainText(String arg1); + public static native boolean mightBeRichText(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/qtjava/javalib/org/kde/qt/TQStyleSheetItem.java b/qtjava/javalib/org/kde/qt/TQStyleSheetItem.java new file mode 100644 index 00000000..ec966e51 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQStyleSheetItem.java @@ -0,0 +1,105 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQStyleSheetItem extends Qt { + protected TQStyleSheetItem(Class dummy){super((Class) null);} + public static final int Undefined = -1; + + public static final int DisplayBlock = 0; + public static final int DisplayInline = 1; + public static final int DisplayListItem = 2; + public static final int DisplayNone = 3; + public static final int DisplayModeUndefined = -1; + + public static final int VAlignBaseline = 0; + public static final int VAlignSub = 1; + public static final int VAlignSuper = 2; + + public static final int WhiteSpaceNormal = 0; + public static final int WhiteSpacePre = 1; + public static final int WhiteSpaceNoWrap = 2; + public static final int WhiteSpaceModeUndefined = -1; + + public static final int MarginLeft = 0; + public static final int MarginRight = 1; + public static final int MarginTop = 2; + public static final int MarginBottom = 3; + public static final int MarginFirstLine = 4; + public static final int MarginAll = 5; + public static final int MarginVertical = 6; + public static final int MarginHorizontal = 7; + public static final int MarginUndefined = -1; + + public static final int ListDisc = 0; + public static final int ListCircle = 1; + public static final int ListSquare = 2; + public static final int ListDecimal = 3; + public static final int ListLowerAlpha = 4; + public static final int ListUpperAlpha = 5; + public static final int ListStyleUndefined = -1; + + public TQStyleSheetItem(TQStyleSheet parent, String name) { + super((Class) null); + newTQStyleSheetItem(parent,name); + } + private native void newTQStyleSheetItem(TQStyleSheet parent, String name); + public TQStyleSheetItem(TQStyleSheetItem arg1) { + super((Class) null); + newTQStyleSheetItem(arg1); + } + private native void newTQStyleSheetItem(TQStyleSheetItem arg1); + public native String name(); + public native TQStyleSheet styleSheet(); + public native int displayMode(); + public native void setDisplayMode(int m); + public native int alignment(); + public native void setAlignment(int f); + public native int verticalAlignment(); + public native void setVerticalAlignment(int valign); + public native int fontWeight(); + public native void setFontWeight(int w); + public native int logicalFontSize(); + public native void setLogicalFontSize(int s); + public native int logicalFontSizeStep(); + public native void setLogicalFontSizeStep(int s); + public native int fontSize(); + public native void setFontSize(int s); + public native String fontFamily(); + public native void setFontFamily(String arg1); + public native int numberOfColumns(); + public native void setNumberOfColumns(int ncols); + public native TQColor color(); + public native void setColor(TQColor arg1); + public native boolean fontItalic(); + public native void setFontItalic(boolean arg1); + public native boolean definesFontItalic(); + public native boolean fontUnderline(); + public native void setFontUnderline(boolean arg1); + public native boolean definesFontUnderline(); + public native boolean fontStrikeOut(); + public native void setFontStrikeOut(boolean arg1); + public native boolean definesFontStrikeOut(); + public native boolean isAnchor(); + public native void setAnchor(boolean anc); + public native int whiteSpaceMode(); + public native void setWhiteSpaceMode(int m); + public native int margin(int m); + public native void setMargin(int arg1, int arg2); + public native int listStyle(); + public native void setListStyle(int arg1); + public native String contexts(); + public native void setContexts(String arg1); + public native boolean allowedInContext(TQStyleSheetItem arg1); + public native boolean selfNesting(); + public native void setSelfNesting(boolean arg1); + public native void setLineSpacing(int ls); + public native int lineSpacing(); + /** 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/qtjava/javalib/org/kde/qt/TQSyntaxHighlighter.java b/qtjava/javalib/org/kde/qt/TQSyntaxHighlighter.java new file mode 100644 index 00000000..ea0089a7 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQSyntaxHighlighter.java @@ -0,0 +1,15 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQSyntaxHighlighter extends Qt { + protected TQSyntaxHighlighter(Class dummy){super((Class) null);} + public native int highlightParagraph(String text, int endStateOfLastPara); + public native void setFormat(int start, int count, TQFont font, TQColor color); + public native void setFormat(int start, int count, TQColor color); + public native void setFormat(int start, int count, TQFont font); + public native TQTextEdit textEdit(); + public native void rehighlight(); + public native int currentParagraph(); +} diff --git a/qtjava/javalib/org/kde/qt/TQTab.java b/qtjava/javalib/org/kde/qt/TQTab.java new file mode 100644 index 00000000..28c2fd88 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQTab.java @@ -0,0 +1,44 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQTab extends Qt { + protected TQTab(Class dummy){super((Class) null);} + public TQTab() { + super((Class) null); + newTQTab(); + } + private native void newTQTab(); + public TQTab(String text) { + super((Class) null); + newTQTab(text); + } + private native void newTQTab(String text); + public TQTab(TQIconSet icon, String text) { + super((Class) null); + newTQTab(icon,text); + } + private native void newTQTab(TQIconSet icon, String text); + public TQTab(TQIconSet icon) { + super((Class) null); + newTQTab(icon); + } + private native void newTQTab(TQIconSet icon); + public native void setText(String text); + public native String text(); + public native void setIconSet(TQIconSet icon); + public native TQIconSet iconSet(); + public native void setRect(TQRect rect); + public native TQRect rect(); + public native void setEnabled(boolean enable); + public native boolean isEnabled(); + public native void setIdentifier(int i); + public native int identifier(); + /** 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/qtjava/javalib/org/kde/qt/TQTabBar.java b/qtjava/javalib/org/kde/qt/TQTabBar.java new file mode 100644 index 00000000..b4b283d1 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQTabBar.java @@ -0,0 +1,79 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQTabBarSignals} for signals emitted by TQTabBar +*/ +public class TQTabBar extends TQWidget { + protected TQTabBar(Class dummy){super((Class) null);} + public static final int RoundedAbove = 0; + public static final int RoundedBelow = 1; + public static final int TriangularAbove = 2; + public static final int TriangularBelow = 3; + + public native TQMetaObject metaObject(); + public native String className(); + public TQTabBar(TQWidget parent, String name) { + super((Class) null); + newTQTabBar(parent,name); + } + private native void newTQTabBar(TQWidget parent, String name); + public TQTabBar(TQWidget parent) { + super((Class) null); + newTQTabBar(parent); + } + private native void newTQTabBar(TQWidget parent); + public TQTabBar() { + super((Class) null); + newTQTabBar(); + } + private native void newTQTabBar(); + public native int shape(); + public native void setShape(int arg1); + public native void show(); + public native int addTab(TQTab arg1); + public native int insertTab(TQTab arg1, int index); + public native int insertTab(TQTab arg1); + public native void removeTab(TQTab arg1); + public native void setTabEnabled(int arg1, boolean arg2); + public native boolean isTabEnabled(int arg1); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + public native int currentTab(); + public native int keyboardFocusTab(); + public native TQTab tab(int arg1); + public native TQTab tabAt(int arg1); + public native int indexOf(int arg1); + public native int count(); + public native void layoutTabs(); + public native TQTab selectTab(TQPoint p); + public native void removeToolTip(int index); + public native void setToolTip(int index, String tip); + public native String toolTip(int index); + public native void setCurrentTab(int arg1); + public native void setCurrentTab(TQTab arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void paint(TQPainter arg1, TQTab arg2, boolean arg3); + protected native void paintLabel(TQPainter arg1, TQRect arg2, TQTab arg3, boolean arg4); + protected native void focusInEvent(TQFocusEvent e); + protected native void focusOutEvent(TQFocusEvent e); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void paintEvent(TQPaintEvent arg1); + protected native void mousePressEvent(TQMouseEvent arg1); + protected native void mouseMoveEvent(TQMouseEvent arg1); + protected native void mouseReleaseEvent(TQMouseEvent arg1); + protected native void keyPressEvent(TQKeyEvent arg1); + public native void styleChange(TQStyle arg1); + protected native void fontChange(TQFont arg1); + public native boolean event(TQEvent e); + // TQPtrList* tabList(); >>>> 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/qtjava/javalib/org/kde/qt/TQTabBarSignals.java b/qtjava/javalib/org/kde/qt/TQTabBarSignals.java new file mode 100644 index 00000000..4f3a5e44 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQTabBarSignals.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQTabBarSignals { + void selected(int arg1); + void layoutChanged(); +} diff --git a/qtjava/javalib/org/kde/qt/TQTabDialog.java b/qtjava/javalib/org/kde/qt/TQTabDialog.java new file mode 100644 index 00000000..f8c0008d --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQTabDialog.java @@ -0,0 +1,89 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQTabDialogSignals} for signals emitted by TQTabDialog +*/ +public class TQTabDialog extends TQDialog { + protected TQTabDialog(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQTabDialog(TQWidget parent, String name, boolean modal, int f) { + super((Class) null); + newTQTabDialog(parent,name,modal,f); + } + private native void newTQTabDialog(TQWidget parent, String name, boolean modal, int f); + public TQTabDialog(TQWidget parent, String name, boolean modal) { + super((Class) null); + newTQTabDialog(parent,name,modal); + } + private native void newTQTabDialog(TQWidget parent, String name, boolean modal); + public TQTabDialog(TQWidget parent, String name) { + super((Class) null); + newTQTabDialog(parent,name); + } + private native void newTQTabDialog(TQWidget parent, String name); + public TQTabDialog(TQWidget parent) { + super((Class) null); + newTQTabDialog(parent); + } + private native void newTQTabDialog(TQWidget parent); + public TQTabDialog() { + super((Class) null); + newTQTabDialog(); + } + private native void newTQTabDialog(); + public native void show(); + public native void setFont(TQFont font); + public native void addTab(TQWidget arg1, String arg2); + public native void addTab(TQWidget child, TQIconSet iconset, String label); + public native void addTab(TQWidget arg1, TQTab arg2); + public native void insertTab(TQWidget arg1, String arg2, int index); + public native void insertTab(TQWidget arg1, String arg2); + public native void insertTab(TQWidget child, TQIconSet iconset, String label, int index); + public native void insertTab(TQWidget child, TQIconSet iconset, String label); + public native void insertTab(TQWidget arg1, TQTab arg2, int index); + public native void insertTab(TQWidget arg1, TQTab arg2); + public native void changeTab(TQWidget arg1, String arg2); + public native void changeTab(TQWidget child, TQIconSet iconset, String label); + public native boolean isTabEnabled(TQWidget arg1); + public native void setTabEnabled(TQWidget arg1, boolean arg2); + public native boolean isTabEnabled(String arg1); + public native void setTabEnabled(String arg1, boolean arg2); + public native void showPage(TQWidget arg1); + public native void removePage(TQWidget arg1); + public native String tabLabel(TQWidget arg1); + public native TQWidget currentPage(); + public native void setDefaultButton(String text); + public native void setDefaultButton(); + public native boolean hasDefaultButton(); + public native void setHelpButton(String text); + public native void setHelpButton(); + public native boolean hasHelpButton(); + public native void setCancelButton(String text); + public native void setCancelButton(); + public native boolean hasCancelButton(); + public native void setApplyButton(String text); + public native void setApplyButton(); + public native boolean hasApplyButton(); + public native void setOKButton(String text); + public native void setOKButton(); + public native void setOkButton(String text); + public native void setOkButton(); + public native boolean hasOkButton(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void paintEvent(TQPaintEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); + public native void styleChange(TQStyle arg1); + protected native void setTabBar(TQTabBar arg1); + protected native TQTabBar tabBar(); + /** 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/qtjava/javalib/org/kde/qt/TQTabDialogSignals.java b/qtjava/javalib/org/kde/qt/TQTabDialogSignals.java new file mode 100644 index 00000000..9e709fc9 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQTabDialogSignals.java @@ -0,0 +1,13 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQTabDialogSignals { + void aboutToShow(); + void applyButtonPressed(); + void cancelButtonPressed(); + void defaultButtonPressed(); + void helpButtonPressed(); + void currentChanged(TQWidget arg1); + void selected(String arg1); +} diff --git a/qtjava/javalib/org/kde/qt/TQTabWidget.java b/qtjava/javalib/org/kde/qt/TQTabWidget.java new file mode 100644 index 00000000..92cd59ff --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQTabWidget.java @@ -0,0 +1,95 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQTabWidgetSignals} for signals emitted by TQTabWidget +*/ +public class TQTabWidget extends TQWidget { + protected TQTabWidget(Class dummy){super((Class) null);} + public static final int Top = 0; + public static final int Bottom = 1; + + public static final int Rounded = 0; + public static final int Triangular = 1; + + public native TQMetaObject metaObject(); + public native String className(); + public TQTabWidget(TQWidget parent, String name, int f) { + super((Class) null); + newTQTabWidget(parent,name,f); + } + private native void newTQTabWidget(TQWidget parent, String name, int f); + public TQTabWidget(TQWidget parent, String name) { + super((Class) null); + newTQTabWidget(parent,name); + } + private native void newTQTabWidget(TQWidget parent, String name); + public TQTabWidget(TQWidget parent) { + super((Class) null); + newTQTabWidget(parent); + } + private native void newTQTabWidget(TQWidget parent); + public TQTabWidget() { + super((Class) null); + newTQTabWidget(); + } + private native void newTQTabWidget(); + public native void addTab(TQWidget arg1, String arg2); + public native void addTab(TQWidget child, TQIconSet iconset, String label); + public native void addTab(TQWidget arg1, TQTab arg2); + public native void insertTab(TQWidget arg1, String arg2, int index); + public native void insertTab(TQWidget arg1, String arg2); + public native void insertTab(TQWidget child, TQIconSet iconset, String label, int index); + public native void insertTab(TQWidget child, TQIconSet iconset, String label); + public native void insertTab(TQWidget arg1, TQTab arg2, int index); + public native void insertTab(TQWidget arg1, TQTab arg2); + public native void changeTab(TQWidget arg1, String arg2); + public native void changeTab(TQWidget child, TQIconSet iconset, String label); + public native boolean isTabEnabled(TQWidget arg1); + public native void setTabEnabled(TQWidget arg1, boolean arg2); + public native void setCornerWidget(TQWidget w, int corner); + public native void setCornerWidget(TQWidget w); + public native TQWidget cornerWidget(int corner); + public native TQWidget cornerWidget(); + public native String tabLabel(TQWidget arg1); + public native void setTabLabel(TQWidget p, String l); + public native TQIconSet tabIconSet(TQWidget w); + public native void setTabIconSet(TQWidget w, TQIconSet iconset); + public native void removeTabToolTip(TQWidget w); + public native void setTabToolTip(TQWidget w, String tip); + public native String tabToolTip(TQWidget w); + public native TQWidget currentPage(); + public native TQWidget page(int arg1); + public native String label(int arg1); + public native int currentPageIndex(); + public native int indexOf(TQWidget arg1); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + public native int tabPosition(); + public native void setTabPosition(int arg1); + public native int tabShape(); + public native void setTabShape(int s); + public native int margin(); + public native void setMargin(int arg1); + public native int count(); + public native void setCurrentPage(int arg1); + public native void showPage(TQWidget arg1); + public native void removePage(TQWidget arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public native void showEvent(TQShowEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void setTabBar(TQTabBar arg1); + protected native TQTabBar tabBar(); + public native void styleChange(TQStyle arg1); + protected native void updateMask(); + public native boolean eventFilter(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/qtjava/javalib/org/kde/qt/TQTabWidgetSignals.java b/qtjava/javalib/org/kde/qt/TQTabWidgetSignals.java new file mode 100644 index 00000000..106f6d78 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQTabWidgetSignals.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQTabWidgetSignals { + void currentChanged(TQWidget arg1); + void selected(String arg1); +} diff --git a/qtjava/javalib/org/kde/qt/TQTable.java b/qtjava/javalib/org/kde/qt/TQTable.java new file mode 100644 index 00000000..622e9391 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQTable.java @@ -0,0 +1,212 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQTableSignals} for signals emitted by TQTable +*/ +public class TQTable extends TQScrollView { + protected TQTable(Class dummy){super((Class) null);} + public static final int Single = 0; + public static final int Multi = 1; + public static final int SingleRow = 2; + public static final int MultiRow = 3; + public static final int NoSelection = 4; + + public static final int FollowStyle = 0; + public static final int SpreadSheet = 1; + + public static final int NotEditing = 0; + public static final int Editing = 1; + public static final int Replacing = 2; + + public native TQMetaObject metaObject(); + public native String className(); + public TQTable(TQWidget parent, String name) { + super((Class) null); + newTQTable(parent,name); + } + private native void newTQTable(TQWidget parent, String name); + public TQTable(TQWidget parent) { + super((Class) null); + newTQTable(parent); + } + private native void newTQTable(TQWidget parent); + public TQTable() { + super((Class) null); + newTQTable(); + } + private native void newTQTable(); + public TQTable(int numRows, int numCols, TQWidget parent, String name) { + super((Class) null); + newTQTable(numRows,numCols,parent,name); + } + private native void newTQTable(int numRows, int numCols, TQWidget parent, String name); + public TQTable(int numRows, int numCols, TQWidget parent) { + super((Class) null); + newTQTable(numRows,numCols,parent); + } + private native void newTQTable(int numRows, int numCols, TQWidget parent); + public TQTable(int numRows, int numCols) { + super((Class) null); + newTQTable(numRows,numCols); + } + private native void newTQTable(int numRows, int numCols); + public native TQHeader horizontalHeader(); + public native TQHeader verticalHeader(); + public native void setSelectionMode(int mode); + public native int selectionMode(); + public native void setItem(int row, int col, TQTableItem item); + public native void setText(int row, int col, String text); + public native void setPixmap(int row, int col, TQPixmap pix); + public native TQTableItem item(int row, int col); + public native String text(int row, int col); + public native TQPixmap pixmap(int row, int col); + public native void clearCell(int row, int col); + public native TQRect cellGeometry(int row, int col); + public native int columnWidth(int col); + public native int rowHeight(int row); + public native int columnPos(int col); + public native int rowPos(int row); + public native int columnAt(int x); + public native int rowAt(int y); + public native int numRows(); + public native int numCols(); + public native void updateCell(int row, int col); + public native boolean eventFilter(TQObject o, TQEvent arg2); + public native int currentRow(); + public native int currentColumn(); + public native void ensureCellVisible(int row, int col); + public native boolean isSelected(int row, int col); + public native boolean isRowSelected(int row, boolean full); + public native boolean isRowSelected(int row); + public native boolean isColumnSelected(int col, boolean full); + public native boolean isColumnSelected(int col); + public native int numSelections(); + public native TQTableSelection selection(int num); + public native int addSelection(TQTableSelection s); + public native void removeSelection(TQTableSelection s); + public native void removeSelection(int num); + public native int currentSelection(); + public native void selectCells(int start_row, int start_col, int end_row, int end_col); + public native void selectRow(int row); + public native void selectColumn(int col); + public native boolean showGrid(); + public native boolean columnMovingEnabled(); + public native boolean rowMovingEnabled(); + public native void sortColumn(int col, boolean ascending, boolean wholeRows); + public native void sortColumn(int col, boolean ascending); + public native void sortColumn(int col); + public native boolean sortOnInsert(); + public native void takeItem(TQTableItem i); + public native void setCellWidget(int row, int col, TQWidget e); + public native TQWidget cellWidget(int row, int col); + public native void clearCellWidget(int row, int col); + public native TQRect cellRect(int row, int col); + public native void paintCell(TQPainter p, int row, int col, TQRect cr, boolean selected); + public native void paintCell(TQPainter p, int row, int col, TQRect cr, boolean selected, TQColorGroup cg); + public native void paintFocus(TQPainter p, TQRect r); + public native TQSize sizeHint(); + public native boolean isReadOnly(); + public native boolean isRowReadOnly(int row); + public native boolean isColumnReadOnly(int col); + public native void setEnabled(boolean b); + public native void repaintSelections(); + public native void setFocusStyle(int fs); + public native int focusStyle(); + public native void updateHeaderStates(); + public native void setNumRows(int r); + public native void setNumCols(int r); + public native void setShowGrid(boolean b); + public native void hideRow(int row); + public native void hideColumn(int col); + public native void showRow(int row); + public native void showColumn(int col); + public native boolean isRowHidden(int row); + public native boolean isColumnHidden(int col); + public native void setColumnWidth(int col, int w); + public native void setRowHeight(int row, int h); + public native void adjustColumn(int col); + public native void adjustRow(int row); + public native void setColumnStretchable(int col, boolean stretch); + public native void setRowStretchable(int row, boolean stretch); + public native boolean isColumnStretchable(int col); + public native boolean isRowStretchable(int row); + public native void setSorting(boolean b); + public native void swapRows(int row1, int row2, boolean swapHeader); + public native void swapRows(int row1, int row2); + public native void swapColumns(int col1, int col2, boolean swapHeader); + public native void swapColumns(int col1, int col2); + public native void swapCells(int row1, int col1, int row2, int col2); + public native void setLeftMargin(int m); + public native void setTopMargin(int m); + public native void setCurrentCell(int row, int col); + public native void clearSelection(boolean repaint); + public native void clearSelection(); + public native void setColumnMovingEnabled(boolean b); + public native void setRowMovingEnabled(boolean b); + public native void setReadOnly(boolean b); + public native void setRowReadOnly(int row, boolean ro); + public native void setColumnReadOnly(int col, boolean ro); + public native void setDragEnabled(boolean b); + public native boolean dragEnabled(); + public native void insertRows(int row, int count); + public native void insertRows(int row); + public native void insertColumns(int col, int count); + public native void insertColumns(int col); + public native void removeRow(int row); + // void removeRows(const TQMemArray& arg1); >>>> NOT CONVERTED + public native void removeColumn(int col); + // void removeColumns(const TQMemArray& arg1); >>>> NOT CONVERTED + public native void editCell(int row, int col, boolean replace); + public native void editCell(int row, int col); + public native void setRowLabels(String[] labels); + public native void setColumnLabels(String[] labels); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void drawContents(TQPainter p, int cx, int cy, int cw, int ch); + protected native void contentsMousePressEvent(TQMouseEvent arg1); + protected native void contentsMouseMoveEvent(TQMouseEvent arg1); + protected native void contentsMouseDoubleClickEvent(TQMouseEvent arg1); + protected native void contentsMouseReleaseEvent(TQMouseEvent arg1); + protected native void contentsContextMenuEvent(TQContextMenuEvent e); + protected native void keyPressEvent(TQKeyEvent arg1); + protected native void focusInEvent(TQFocusEvent arg1); + protected native void focusOutEvent(TQFocusEvent arg1); + protected native void viewportResizeEvent(TQResizeEvent arg1); + public native void showEvent(TQShowEvent e); + protected native void paintEvent(TQPaintEvent e); + // void setEditMode(TQTable::EditMode arg1,int arg2,int arg3); >>>> NOT CONVERTED + protected native void contentsDragEnterEvent(TQDragEnterEvent e); + protected native void contentsDragMoveEvent(TQDragMoveEvent e); + protected native void contentsDragLeaveEvent(TQDragLeaveEvent e); + protected native void contentsDropEvent(TQDropEvent e); + protected native TQDragObject dragObject(); + protected native void startDrag(); + protected native void paintEmptyArea(TQPainter p, int cx, int cy, int cw, int ch); + protected native void activateNextCell(); + protected native TQWidget createEditor(int row, int col, boolean initFromCell); + protected native void setCellContentFromEditor(int row, int col); + protected native TQWidget beginEdit(int row, int col, boolean replace); + protected native void endEdit(int row, int col, boolean accept, boolean replace); + protected native void resizeData(int len); + protected native void insertWidget(int row, int col, TQWidget w); + protected native int indexOf(int row, int col); + protected native void windowActivationChange(boolean arg1); + protected native boolean isEditing(); + // TQTable::EditMode editMode(); >>>> NOT CONVERTED + protected native int currEditRow(); + protected native int currEditCol(); + protected native void columnWidthChanged(int col); + protected native void rowHeightChanged(int row); + protected native void columnIndexChanged(int section, int fromIndex, int toIndex); + protected native void rowIndexChanged(int section, int fromIndex, int toIndex); + protected native void columnClicked(int 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/qtjava/javalib/org/kde/qt/TQTableItem.java b/qtjava/javalib/org/kde/qt/TQTableItem.java new file mode 100644 index 00000000..fde82a7f --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQTableItem.java @@ -0,0 +1,61 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQTableItem extends Qt { + protected TQTableItem(Class dummy){super((Class) null);} + public static final int Never = 0; + public static final int OnTyping = 1; + public static final int WhenCurrent = 2; + public static final int Always = 3; + + public TQTableItem(TQTable table, int et) { + super((Class) null); + newTQTableItem(table,et); + } + private native void newTQTableItem(TQTable table, int et); + public TQTableItem(TQTable table, int et, String text) { + super((Class) null); + newTQTableItem(table,et,text); + } + private native void newTQTableItem(TQTable table, int et, String text); + public TQTableItem(TQTable table, int et, String text, TQPixmap p) { + super((Class) null); + newTQTableItem(table,et,text,p); + } + private native void newTQTableItem(TQTable table, int et, String text, TQPixmap p); + public native TQPixmap pixmap(); + public native String text(); + public native void setPixmap(TQPixmap p); + public native void setText(String t); + public native TQTable table(); + public native int alignment(); + public native void setWordWrap(boolean b); + public native boolean wordWrap(); + public native int editType(); + public native TQWidget createEditor(); + public native void setContentFromEditor(TQWidget w); + public native void setReplaceable(boolean arg1); + public native boolean isReplaceable(); + public native String key(); + public native TQSize sizeHint(); + public native void setSpan(int rs, int cs); + public native int rowSpan(); + public native int colSpan(); + public native void setRow(int r); + public native void setCol(int c); + public native int row(); + public native int col(); + public native void paint(TQPainter p, TQColorGroup cg, TQRect cr, boolean selected); + public native void updateEditor(int oldRow, int oldCol); + public native void setEnabled(boolean b); + public native boolean isEnabled(); + public native int rtti(); + /** 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/qtjava/javalib/org/kde/qt/TQTableSelection.java b/qtjava/javalib/org/kde/qt/TQTableSelection.java new file mode 100644 index 00000000..3d075216 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQTableSelection.java @@ -0,0 +1,39 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQTableSelection implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQTableSelection(Class dummy){} + + public TQTableSelection() { + newTQTableSelection(); + } + private native void newTQTableSelection(); + public TQTableSelection(int start_row, int start_col, int end_row, int end_col) { + newTQTableSelection(start_row,start_col,end_row,end_col); + } + private native void newTQTableSelection(int start_row, int start_col, int end_row, int end_col); + public native void init(int row, int col); + public native void expandTo(int row, int col); + public native boolean op_equals(TQTableSelection s); + public native boolean op_not_equals(TQTableSelection s); + public native int topRow(); + public native int bottomRow(); + public native int leftCol(); + public native int rightCol(); + public native int anchorRow(); + public native int anchorCol(); + public native int numRows(); + public native int numCols(); + public native boolean isActive(); + public native boolean isEmpty(); + /** 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/qtjava/javalib/org/kde/qt/TQTableSignals.java b/qtjava/javalib/org/kde/qt/TQTableSignals.java new file mode 100644 index 00000000..864d2c8e --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQTableSignals.java @@ -0,0 +1,14 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQTableSignals { + void currentChanged(int row, int col); + void clicked(int row, int col, int button, TQPoint mousePos); + void doubleClicked(int row, int col, int button, TQPoint mousePos); + void pressed(int row, int col, int button, TQPoint mousePos); + void selectionChanged(); + void valueChanged(int row, int col); + void contextMenuRequested(int row, int col, TQPoint pos); + void dropped(TQDropEvent e); +} diff --git a/qtjava/javalib/org/kde/qt/TQTabletEvent.java b/qtjava/javalib/org/kde/qt/TQTabletEvent.java new file mode 100644 index 00000000..8e01aa6b --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQTabletEvent.java @@ -0,0 +1,35 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQTabletEvent extends TQEvent { + protected TQTabletEvent(Class dummy){super((Class) null);} + public static final int NoDevice = -1; + public static final int Puck = 0; + public static final int Stylus = 1; + public static final int Eraser = 2; + + // TQTabletEvent* TQTabletEvent(TQEvent::Type arg1,const TQPoint& arg2,const TQPoint& arg3,int arg4,int arg5,int arg6,int arg7,const TQPair& arg8); >>>> NOT CONVERTED + // TQTabletEvent* TQTabletEvent(const TQPoint& arg1,const TQPoint& arg2,int arg3,int arg4,int arg5,int arg6,const TQPair& arg7); >>>> NOT CONVERTED + public native int pressure(); + public native int xTilt(); + public native int yTilt(); + public native TQPoint pos(); + public native TQPoint globalPos(); + public native int x(); + public native int y(); + public native int globalX(); + public native int globalY(); + public native int device(); + public native int isAccepted(); + public native void accept(); + public native void ignore(); + // TQPair uniqueId(); >>>> 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/qtjava/javalib/org/kde/qt/TQTextBrowser.java b/qtjava/javalib/org/kde/qt/TQTextBrowser.java new file mode 100644 index 00000000..03181e5e --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQTextBrowser.java @@ -0,0 +1,45 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQTextBrowserSignals} for signals emitted by TQTextBrowser +*/ +public class TQTextBrowser extends TQTextEdit { + protected TQTextBrowser(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQTextBrowser(TQWidget parent, String name) { + super((Class) null); + newTQTextBrowser(parent,name); + } + private native void newTQTextBrowser(TQWidget parent, String name); + public TQTextBrowser(TQWidget parent) { + super((Class) null); + newTQTextBrowser(parent); + } + private native void newTQTextBrowser(TQWidget parent); + public TQTextBrowser() { + super((Class) null); + newTQTextBrowser(); + } + private native void newTQTextBrowser(); + public native String source(); + public native void setSource(String name); + public native void backward(); + public native void forward(); + public native void home(); + public native void reload(); + public native void setText(String txt); + public native void setText(String txt, String context); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + 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/qtjava/javalib/org/kde/qt/TQTextBrowserSignals.java b/qtjava/javalib/org/kde/qt/TQTextBrowserSignals.java new file mode 100644 index 00000000..0040f2cb --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQTextBrowserSignals.java @@ -0,0 +1,12 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQTextBrowserSignals { + void backwardAvailable(boolean arg1); + void forwardAvailable(boolean arg1); + void sourceChanged(String arg1); + void highlighted(String arg1); + void linkClicked(String arg1); + void anchorClicked(String arg1, String arg2); +} diff --git a/qtjava/javalib/org/kde/qt/TQTextCodec.java b/qtjava/javalib/org/kde/qt/TQTextCodec.java new file mode 100644 index 00000000..34a54bee --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQTextCodec.java @@ -0,0 +1,43 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQTextCodec implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQTextCodec(Class dummy){} + + public native String name(); + public native String mimeName(); + public native int mibEnum(); + public native TQTextDecoder makeDecoder(); + public native TQTextEncoder makeEncoder(); + public native String toUnicode(String chars, int len); + public native String fromUnicode(String uc, int[] lenInOut); + public native String fromUnicode(String uc); + public native String toUnicode(byte[] arg1, int len); + public native String toUnicode(byte[] arg1); + public native String toUnicode(String arg1); + public native boolean canEncode(char arg1); + public native boolean canEncode(String arg1); + public native int heuristicContentMatch(String chars, int len); + public native int heuristicNameMatch(String hint); + public native byte[] fromUnicode(String uc, int from, int len); + public native short characterFromUnicode(String str, int pos); + public static native TQTextCodec loadCharmap(TQIODeviceInterface arg1); + public static native TQTextCodec loadCharmapFile(String filename); + public static native TQTextCodec codecForMib(int mib); + public static native TQTextCodec codecForName(String hint, int accuracy); + public static native TQTextCodec codecForName(String hint); + public static native TQTextCodec codecForContent(String chars, int len); + public static native TQTextCodec codecForIndex(int i); + public static native TQTextCodec codecForLocale(); + public static native void setCodecForLocale(TQTextCodec c); + public static native TQTextCodec codecForTr(); + public static native void setCodecForTr(TQTextCodec c); + public static native TQTextCodec codecForCStrings(); + public static native void setCodecForCStrings(TQTextCodec c); + public static native void deleteAllCodecs(); + public static native String locale(); +} diff --git a/qtjava/javalib/org/kde/qt/TQTextDecoder.java b/qtjava/javalib/org/kde/qt/TQTextDecoder.java new file mode 100644 index 00000000..fac57933 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQTextDecoder.java @@ -0,0 +1,12 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQTextDecoder implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQTextDecoder(Class dummy){} + + public native String toUnicode(String chars, int len); +} diff --git a/qtjava/javalib/org/kde/qt/TQTextDrag.java b/qtjava/javalib/org/kde/qt/TQTextDrag.java new file mode 100644 index 00000000..e62586e1 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQTextDrag.java @@ -0,0 +1,55 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQTextDrag extends TQDragObject { + protected TQTextDrag(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQTextDrag(String arg1, TQWidget dragSource, String name) { + super((Class) null); + newTQTextDrag(arg1,dragSource,name); + } + private native void newTQTextDrag(String arg1, TQWidget dragSource, String name); + public TQTextDrag(String arg1, TQWidget dragSource) { + super((Class) null); + newTQTextDrag(arg1,dragSource); + } + private native void newTQTextDrag(String arg1, TQWidget dragSource); + public TQTextDrag(String arg1) { + super((Class) null); + newTQTextDrag(arg1); + } + private native void newTQTextDrag(String arg1); + public TQTextDrag(TQWidget dragSource, String name) { + super((Class) null); + newTQTextDrag(dragSource,name); + } + private native void newTQTextDrag(TQWidget dragSource, String name); + public TQTextDrag(TQWidget dragSource) { + super((Class) null); + newTQTextDrag(dragSource); + } + private native void newTQTextDrag(TQWidget dragSource); + public TQTextDrag() { + super((Class) null); + newTQTextDrag(); + } + private native void newTQTextDrag(); + public native void setText(String arg1); + public native void setSubtype(String arg1); + public native String format(int i); + public native byte[] encodedData(String arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native boolean canDecode(TQMimeSourceInterface e); + public static native boolean decode(TQMimeSourceInterface e, StringBuffer s); + public static native boolean decode(TQMimeSourceInterface e, StringBuffer s, StringBuffer subtype); + /** 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/qtjava/javalib/org/kde/qt/TQTextEdit.java b/qtjava/javalib/org/kde/qt/TQTextEdit.java new file mode 100644 index 00000000..84780ea3 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQTextEdit.java @@ -0,0 +1,262 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQTextEditSignals} for signals emitted by TQTextEdit +*/ +public class TQTextEdit extends TQScrollView { + protected TQTextEdit(Class dummy){super((Class) null);} + public static final int NoWrap = 0; + public static final int WidgetWidth = 1; + public static final int FixedPixelWidth = 2; + public static final int FixedColumnWidth = 3; + + public static final int AtWordBoundary = 0; + public static final int AtWhiteSpace = AtWordBoundary; + public static final int Anywhere = 1; + public static final int AtWordOrDocumentBoundary = 2; + + public static final int AutoNone = 0; + public static final int AutoBulletList = 0x00000001; + public static final int AutoAll = 0xffffffff; + + public static final int ActionBackspace = 0; + public static final int ActionDelete = 1; + public static final int ActionReturn = 2; + public static final int ActionKill = 3; + public static final int ActionWordBackspace = 4; + public static final int ActionWordDelete = 5; + + public static final int MoveBackward = 0; + public static final int MoveForward = 1; + public static final int MoveWordBackward = 2; + public static final int MoveWordForward = 3; + public static final int MoveUp = 4; + public static final int MoveDown = 5; + public static final int MoveLineStart = 6; + public static final int MoveLineEnd = 7; + public static final int MoveHome = 8; + public static final int MoveEnd = 9; + public static final int MovePgUp = 10; + public static final int MovePgDown = 11; + + public static final int AlignNormal = 0; + public static final int AlignSuperScript = 1; + public static final int AlignSubScript = 2; + + public static final int RedoIndentation = 0x0001; + public static final int CheckNewLines = 0x0002; + public static final int RemoveSelected = 0x0004; + + public native TQMetaObject metaObject(); + public native String className(); + public TQTextEdit(String text, String context, TQWidget parent, String name) { + super((Class) null); + newTQTextEdit(text,context,parent,name); + } + private native void newTQTextEdit(String text, String context, TQWidget parent, String name); + public TQTextEdit(String text, String context, TQWidget parent) { + super((Class) null); + newTQTextEdit(text,context,parent); + } + private native void newTQTextEdit(String text, String context, TQWidget parent); + public TQTextEdit(String text, String context) { + super((Class) null); + newTQTextEdit(text,context); + } + private native void newTQTextEdit(String text, String context); + public TQTextEdit(String text) { + super((Class) null); + newTQTextEdit(text); + } + private native void newTQTextEdit(String text); + public TQTextEdit(TQWidget parent, String name) { + super((Class) null); + newTQTextEdit(parent,name); + } + private native void newTQTextEdit(TQWidget parent, String name); + public TQTextEdit(TQWidget parent) { + super((Class) null); + newTQTextEdit(parent); + } + private native void newTQTextEdit(TQWidget parent); + public TQTextEdit() { + super((Class) null); + newTQTextEdit(); + } + private native void newTQTextEdit(); + public native void setPalette(TQPalette arg1); + public native String text(); + public native String text(int para); + public native int textFormat(); + public native String context(); + public native String documentTitle(); + public native void getSelection(int[] paraFrom, int[] indexFrom, int[] paraTo, int[] indexTo, int selNum); + public native void getSelection(int[] paraFrom, int[] indexFrom, int[] paraTo, int[] indexTo); + public native boolean find(String expr, boolean cs, boolean wo, boolean forward, int[] para, int[] index); + public native boolean find(String expr, boolean cs, boolean wo, boolean forward, int[] para); + public native boolean find(String expr, boolean cs, boolean wo, boolean forward); + public native boolean find(String expr, boolean cs, boolean wo); + public native int paragraphs(); + public native int lines(); + public native int linesOfParagraph(int para); + public native int lineOfChar(int para, int chr); + public native int length(); + public native TQRect paragraphRect(int para); + public native int paragraphAt(TQPoint pos); + public native int charAt(TQPoint pos, int[] para); + public native int paragraphLength(int para); + public native TQStyleSheet styleSheet(); + public native TQMimeSourceFactory mimeSourceFactory(); + public native TQBrush paper(); + public native boolean linkUnderline(); + public native int heightForWidth(int w); + public native boolean hasSelectedText(); + public native String selectedText(); + public native boolean isUndoAvailable(); + public native boolean isRedoAvailable(); + public native int wordWrap(); + public native int wrapColumnOrWidth(); + public native int wrapPolicy(); + public native int tabStopWidth(); + public native String anchorAt(TQPoint pos); + public native String anchorAt(TQPoint pos, int a); + public native TQSize sizeHint(); + public native boolean isReadOnly(); + public native void getCursorPosition(int[] parag, int[] index); + public native boolean isModified(); + public native boolean italic(); + public native boolean bold(); + public native boolean underline(); + public native String family(); + public native int pointSize(); + public native TQColor color(); + public native TQFont font(); + public native TQFont currentFont(); + public native int alignment(); + public native int undoDepth(); + public native boolean getFormat(int para, int index, TQFont font, TQColor color, int verticalAlignment); + public native boolean getParagraphFormat(int para, TQFont font, TQColor color, int verticalAlignment, int[] alignment, int displayMode, int listStyle, int[] listDepth); + public native boolean isOverwriteMode(); + public native TQColor paragraphBackgroundColor(int para); + public native boolean isUndoRedoEnabled(); + public native boolean eventFilter(TQObject o, TQEvent e); + public native boolean tabChangesFocus(); + public native void setAutoFormatting(int features); + public native int autoFormatting(); + public native TQSyntaxHighlighter syntaxHighlighter(); + public native void setEnabled(boolean arg1); + public native void setMimeSourceFactory(TQMimeSourceFactory factory); + public native void setStyleSheet(TQStyleSheet styleSheet); + public native void scrollToAnchor(String name); + public native void setPaper(TQBrush pap); + public native void setLinkUnderline(boolean arg1); + public native void setWordWrap(int mode); + public native void setWrapColumnOrWidth(int arg1); + public native void setWrapPolicy(int policy); + public native void copy(); + public native void append(String text); + public native void setText(String txt); + public native void setText(String txt, String context); + public native void setTextFormat(int f); + public native void selectAll(boolean select); + public native void selectAll(); + public native void setTabStopWidth(int ts); + public native void zoomIn(int range); + public native void zoomIn(); + public native void zoomOut(int range); + public native void zoomOut(); + public native void zoomTo(int size); + public native void sync(); + public native void setReadOnly(boolean b); + public native void undo(); + public native void redo(); + public native void cut(); + public native void paste(); + public native void pasteSubType(String subtype); + public native void clear(); + public native void del(); + public native void indent(); + public native void setItalic(boolean b); + public native void setBold(boolean b); + public native void setUnderline(boolean b); + public native void setFamily(String f); + public native void setPointSize(int s); + public native void setColor(TQColor c); + public native void setFont(TQFont f); + public native void setVerticalAlignment(int a); + public native void setAlignment(int a); + public native void setParagType(int dm, int listStyle); + public native void setCursorPosition(int parag, int index); + public native void setSelection(int parag_from, int index_from, int parag_to, int index_to, int selNum); + public native void setSelection(int parag_from, int index_from, int parag_to, int index_to); + public native void setSelectionAttributes(int selNum, TQColor back, boolean invertText); + public native void setModified(boolean m); + public native void resetFormat(); + public native void setUndoDepth(int d); + // void setFormat(TQTextFormat* arg1,int arg2); >>>> NOT CONVERTED + public native void ensureCursorVisible(); + // void placeCursor(const TQPoint& arg1,TQTextCursor* arg2); >>>> NOT CONVERTED + public native void placeCursor(TQPoint pos); + public native void moveCursor(int action, boolean select); + public native void doKeyboardAction(int action); + public native void removeSelectedText(int selNum); + public native void removeSelectedText(); + public native void removeSelection(int selNum); + public native void removeSelection(); + public native void setCurrentFont(TQFont f); + public native void setOverwriteMode(boolean b); + public native void scrollToBottom(); + public native void insert(String text, int insertionFlags); + public native void insert(String text); + public native void insert(String text, boolean arg2, boolean arg3, boolean arg4); + public native void insert(String text, boolean arg2, boolean arg3); + public native void insert(String text, boolean arg2); + public native void insertAt(String text, int para, int index); + public native void removeParagraph(int para); + public native void insertParagraph(String text, int para); + public native void setParagraphBackgroundColor(int para, TQColor bg); + public native void clearParagraphBackground(int para); + public native void setUndoRedoEnabled(boolean b); + public native void setTabChangesFocus(boolean b); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void repaintChanged(); + protected native void updateStyles(); + protected native void drawContents(TQPainter p, int cx, int cy, int cw, int ch); + public native boolean event(TQEvent e); + protected native void keyPressEvent(TQKeyEvent e); + protected native void resizeEvent(TQResizeEvent e); + protected native void viewportResizeEvent(TQResizeEvent arg1); + protected native void contentsMousePressEvent(TQMouseEvent e); + protected native void contentsMouseMoveEvent(TQMouseEvent e); + protected native void contentsMouseReleaseEvent(TQMouseEvent e); + protected native void contentsMouseDoubleClickEvent(TQMouseEvent e); + protected native void contentsWheelEvent(TQWheelEvent e); + protected native void imStartEvent(TQIMEvent arg1); + protected native void imComposeEvent(TQIMEvent arg1); + protected native void imEndEvent(TQIMEvent arg1); + protected native void contentsDragEnterEvent(TQDragEnterEvent e); + protected native void contentsDragMoveEvent(TQDragMoveEvent e); + protected native void contentsDragLeaveEvent(TQDragLeaveEvent e); + protected native void contentsDropEvent(TQDropEvent e); + protected native void contentsContextMenuEvent(TQContextMenuEvent e); + protected native boolean focusNextPrevChild(boolean next); + // TQTextDocument* document(); >>>> NOT CONVERTED + // TQTextCursor* textCursor(); >>>> NOT CONVERTED + // void setDocument(TQTextDocument* arg1); >>>> NOT CONVERTED + protected native TQPopupMenu createPopupMenu(TQPoint pos); + protected native TQPopupMenu createPopupMenu(); + protected native void drawCursor(boolean visible); + protected native void windowActivationChange(boolean arg1); + protected native void doChangeInterval(); + protected native void sliderReleased(); + /** 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/qtjava/javalib/org/kde/qt/TQTextEditSignals.java b/qtjava/javalib/org/kde/qt/TQTextEditSignals.java new file mode 100644 index 00000000..e8c13649 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQTextEditSignals.java @@ -0,0 +1,21 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQTextEditSignals { + void textChanged(); + void selectionChanged(); + void copyAvailable(boolean arg1); + void undoAvailable(boolean yes); + void redoAvailable(boolean yes); + void currentFontChanged(TQFont f); + void currentColorChanged(TQColor c); + void currentAlignmentChanged(int a); + void currentVerticalAlignmentChanged(int a); + // void cursorPositionChanged(TQTextCursor* arg1); >>>> NOT CONVERTED + void cursorPositionChanged(int para, int pos); + void returnPressed(); + void modificationChanged(boolean m); + void clicked(int parag, int index); + void doubleClicked(int parag, int index); +} diff --git a/qtjava/javalib/org/kde/qt/TQTextEncoder.java b/qtjava/javalib/org/kde/qt/TQTextEncoder.java new file mode 100644 index 00000000..3f2d68d0 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQTextEncoder.java @@ -0,0 +1,12 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQTextEncoder implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQTextEncoder(Class dummy){} + + public native String fromUnicode(String uc, int[] lenInOut); +} diff --git a/qtjava/javalib/org/kde/qt/TQTextIStream.java b/qtjava/javalib/org/kde/qt/TQTextIStream.java new file mode 100644 index 00000000..66a132cd --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQTextIStream.java @@ -0,0 +1,24 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQTextIStream extends TQTextStream { + protected TQTextIStream(Class dummy){super((Class) null);} + public TQTextIStream(String s) { + super((Class) null); + newTQTextIStream(s); + } + private native void newTQTextIStream(String s); + public TQTextIStream(byte[] ba) { + super((Class) null); + newTQTextIStream(ba); + } + private native void newTQTextIStream(byte[] ba); + /** 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/qtjava/javalib/org/kde/qt/TQTextOStream.java b/qtjava/javalib/org/kde/qt/TQTextOStream.java new file mode 100644 index 00000000..c9a54673 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQTextOStream.java @@ -0,0 +1,24 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQTextOStream extends TQTextStream { + protected TQTextOStream(Class dummy){super((Class) null);} + public TQTextOStream(StringBuffer s) { + super((Class) null); + newTQTextOStream(s); + } + private native void newTQTextOStream(StringBuffer s); + public TQTextOStream(byte[] ba) { + super((Class) null); + newTQTextOStream(ba); + } + private native void newTQTextOStream(byte[] ba); + /** 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/qtjava/javalib/org/kde/qt/TQTextStream.java b/qtjava/javalib/org/kde/qt/TQTextStream.java new file mode 100644 index 00000000..42bb5ae2 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQTextStream.java @@ -0,0 +1,101 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQTextStream implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQTextStream(Class dummy){} + + public static final int skipws = 0x0001; + public static final int left = 0x0002; + public static final int right = 0x0004; + public static final int internal = 0x0008; + public static final int bin = 0x0010; + public static final int oct = 0x0020; + public static final int dec = 0x0040; + public static final int hex = 0x0080; + public static final int showbase = 0x0100; + public static final int showpoint = 0x0200; + public static final int uppercase = 0x0400; + public static final int showpos = 0x0800; + public static final int scientific = 0x1000; + public static final int fixed = 0x2000; + + public static final int Locale = 0; + public static final int Latin1 = 1; + public static final int Unicode = 2; + public static final int UnicodeNetworkOrder = 3; + public static final int UnicodeReverse = 4; + public static final int RawUnicode = 5; + public static final int UnicodeUTF8 = 6; + + public native void setEncoding(int arg1); + public native void setCodec(TQTextCodec arg1); + public native TQTextCodec codec(); + public TQTextStream() { + newTQTextStream(); + } + private native void newTQTextStream(); + public TQTextStream(TQIODeviceInterface arg1) { + newTQTextStream(arg1); + } + private native void newTQTextStream(TQIODeviceInterface arg1); + public TQTextStream(StringBuffer arg1, int mode) { + newTQTextStream(arg1,mode); + } + private native void newTQTextStream(StringBuffer arg1, int mode); + public TQTextStream(byte[] arg1, int mode) { + newTQTextStream(arg1,mode); + } + private native void newTQTextStream(byte[] arg1, int mode); + public native TQIODeviceInterface device(); + public native void setDevice(TQIODeviceInterface arg1); + public native void unsetDevice(); + public native boolean atEnd(); + public native boolean eof(); + public native TQTextStream op_read(char arg1); + // TQTextStream& op_read(signed short& arg1); >>>> NOT CONVERTED + public native TQTextStream op_read(short arg1); + // TQTextStream& op_read(signed int& arg1); >>>> NOT CONVERTED + public native TQTextStream op_read(int arg1); + // TQTextStream& op_read(signed long& arg1); >>>> NOT CONVERTED + public native TQTextStream op_read(long arg1); + public native TQTextStream op_read(float arg1); + public native TQTextStream op_read(double arg1); + public native TQTextStream op_read(String arg1); + public native TQTextStream op_read(StringBuffer arg1); + public native TQTextStream op_write(char arg1); + public native TQTextStream op_write(short arg1); + // TQTextStream& op_write(signed arg1); >>>> NOT CONVERTED + public native TQTextStream op_write(int arg1); + public native TQTextStream op_write(long arg1); + public native TQTextStream op_write(float arg1); + public native TQTextStream op_write(double arg1); + public native TQTextStream op_write(String arg1); + // TQTextStream& op_write(void* arg1); >>>> NOT CONVERTED + public native TQTextStream readRawBytes(String arg1, int len); + public native TQTextStream writeRawBytes(String arg1, int len); + public native String readLine(); + public native String read(); + public native void skipWhiteSpace(); + public native int flags(); + public native int flags(int f); + public native int setf(int bits); + public native int setf(int bits, int mask); + public native int unsetf(int bits); + public native void reset(); + public native int width(); + public native int width(int arg1); + public native int fill(); + public native int fill(int arg1); + public native int precision(); + public native int precision(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/qtjava/javalib/org/kde/qt/TQTextView.java b/qtjava/javalib/org/kde/qt/TQTextView.java new file mode 100644 index 00000000..419f498b --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQTextView.java @@ -0,0 +1,53 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQTextView extends TQTextEdit { + protected TQTextView(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQTextView(String text, String context, TQWidget parent, String name) { + super((Class) null); + newTQTextView(text,context,parent,name); + } + private native void newTQTextView(String text, String context, TQWidget parent, String name); + public TQTextView(String text, String context, TQWidget parent) { + super((Class) null); + newTQTextView(text,context,parent); + } + private native void newTQTextView(String text, String context, TQWidget parent); + public TQTextView(String text, String context) { + super((Class) null); + newTQTextView(text,context); + } + private native void newTQTextView(String text, String context); + public TQTextView(String text) { + super((Class) null); + newTQTextView(text); + } + private native void newTQTextView(String text); + public TQTextView(TQWidget parent, String name) { + super((Class) null); + newTQTextView(parent,name); + } + private native void newTQTextView(TQWidget parent, String name); + public TQTextView(TQWidget parent) { + super((Class) null); + newTQTextView(parent); + } + private native void newTQTextView(TQWidget parent); + public TQTextView() { + super((Class) null); + newTQTextView(); + } + private native void newTQTextView(); + public static native String tr(String arg1, String arg2); + public static native String tr(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/qtjava/javalib/org/kde/qt/TQTimeEdit.java b/qtjava/javalib/org/kde/qt/TQTimeEdit.java new file mode 100644 index 00000000..0d7e8534 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQTimeEdit.java @@ -0,0 +1,87 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.Date; + +/** + See {@link TQTimeEditSignals} for signals emitted by TQTimeEdit +*/ +public class TQTimeEdit extends TQDateTimeEditBase { + protected TQTimeEdit(Class dummy){super((Class) null);} + public static final int Hours = 0x01; + public static final int Minutes = 0x02; + public static final int Seconds = 0x04; + public static final int AMPM = 0x10; + + public native TQMetaObject metaObject(); + public native String className(); + public TQTimeEdit(TQWidget parent, String name) { + super((Class) null); + newTQTimeEdit(parent,name); + } + private native void newTQTimeEdit(TQWidget parent, String name); + public TQTimeEdit(TQWidget parent) { + super((Class) null); + newTQTimeEdit(parent); + } + private native void newTQTimeEdit(TQWidget parent); + public TQTimeEdit() { + super((Class) null); + newTQTimeEdit(); + } + private native void newTQTimeEdit(); + public TQTimeEdit(Date time, TQWidget parent, String name) { + super((Class) null); + newTQTimeEdit(time,parent,name); + } + private native void newTQTimeEdit(Date time, TQWidget parent, String name); + public TQTimeEdit(Date time, TQWidget parent) { + super((Class) null); + newTQTimeEdit(time,parent); + } + private native void newTQTimeEdit(Date time, TQWidget parent); + public TQTimeEdit(Date time) { + super((Class) null); + newTQTimeEdit(time); + } + private native void newTQTimeEdit(Date time); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + public native Date time(); + public native void setAutoAdvance(boolean advance); + public native boolean autoAdvance(); + public native void setMinValue(Date d); + public native Date minValue(); + public native void setMaxValue(Date d); + public native Date maxValue(); + public native void setRange(Date min, Date max); + public native String separator(); + public native void setSeparator(String s); + public native int display(); + public native void setDisplay(int disp); + public native void removeFirstNumber(int sec); + public native void setTime(Date time); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public native boolean event(TQEvent e); + protected native void timerEvent(TQTimerEvent e); + protected native void resizeEvent(TQResizeEvent arg1); + public native void stepUp(); + public native void stepDown(); + public native String sectionFormattedText(int sec); + public native void addNumber(int sec, int num); + public native void removeLastNumber(int sec); + public native boolean setFocusSection(int s); + protected native boolean outOfRange(int h, int m, int s); + protected native void setHour(int h); + protected native void setMinute(int m); + protected native void setSecond(int s); + protected native void updateButtons(); + /** 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/qtjava/javalib/org/kde/qt/TQTimeEditSignals.java b/qtjava/javalib/org/kde/qt/TQTimeEditSignals.java new file mode 100644 index 00000000..99d7a665 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQTimeEditSignals.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import java.util.Date; + +public interface TQTimeEditSignals { + void valueChanged(Date time); +} diff --git a/qtjava/javalib/org/kde/qt/TQTimer.java b/qtjava/javalib/org/kde/qt/TQTimer.java new file mode 100644 index 00000000..e07b50ca --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQTimer.java @@ -0,0 +1,81 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** +************************************************* + $Id$ + +* Definition of TQTimer class + +* Created : 931111 + +* Copyright (C) 1992-2005 Trolltech AS. All rights reserved. + +* This file is part of the kernel module of the Qt GUI Toolkit. + +* This file may be distributed under the terms of the Q Public License + as defined by Trolltech AS of Norway and appearing in the file + LICENSE.TQPL included in the packaging of this file. + +* This file may be distributed and/or modified under the terms of the + GNU General Public License version 2 as published by the Free Software + Foundation and appearing in the file LICENSE.GPL included in the + packaging of this file. + +* Licensees holding valid Qt Enterprise Edition or Qt Professional Edition + licenses may use this file in accordance with the Qt Commercial License + Agreement provided with the Software. + +* This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE + WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + +* See http://www.trolltech.com/pricing.html or email sales@trolltech.com for + information about Qt Commercial License Agreements. + See http://www.trolltech.com/qpl/ for TQPL licensing information. + See http://www.trolltech.com/gpl/ for GPL licensing information. + +* Contact info@trolltech.com if any conditions of this licensing are + not clear to you. + +********************************************** See {@link TQTimerSignals} for signals emitted by TQTimer + @short $Id: qt/qtimer. + +*/ +public class TQTimer extends TQObject { + protected TQTimer(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQTimer(TQObject parent, String name) { + super((Class) null); + newTQTimer(parent,name); + } + private native void newTQTimer(TQObject parent, String name); + public TQTimer(TQObject parent) { + super((Class) null); + newTQTimer(parent); + } + private native void newTQTimer(TQObject parent); + public TQTimer() { + super((Class) null); + newTQTimer(); + } + private native void newTQTimer(); + public native boolean isActive(); + public native int start(int msec, boolean sshot); + public native int start(int msec); + public native void changeInterval(int msec); + public native void stop(); + public native int timerId(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native void singleShot(int msec, TQObject receiver, String member); + public native boolean event(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/qtjava/javalib/org/kde/qt/TQTimerEvent.java b/qtjava/javalib/org/kde/qt/TQTimerEvent.java new file mode 100644 index 00000000..e0e0a4cd --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQTimerEvent.java @@ -0,0 +1,20 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQTimerEvent extends TQEvent { + protected TQTimerEvent(Class dummy){super((Class) null);} + public TQTimerEvent(int timerId) { + super((Class) null); + newTQTimerEvent(timerId); + } + private native void newTQTimerEvent(int timerId); + public native int timerId(); + /** 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/qtjava/javalib/org/kde/qt/TQTimerSignals.java b/qtjava/javalib/org/kde/qt/TQTimerSignals.java new file mode 100644 index 00000000..9300eb1a --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQTimerSignals.java @@ -0,0 +1,7 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQTimerSignals { + void timeout(); +} diff --git a/qtjava/javalib/org/kde/qt/TQToolBar.java b/qtjava/javalib/org/kde/qt/TQToolBar.java new file mode 100644 index 00000000..bb839456 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQToolBar.java @@ -0,0 +1,88 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQToolBar extends TQDockWindow { + protected TQToolBar(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQToolBar(String label, TQMainWindow arg2, int arg3, boolean newLine, String name) { + super((Class) null); + newTQToolBar(label,arg2,arg3,newLine,name); + } + private native void newTQToolBar(String label, TQMainWindow arg2, int arg3, boolean newLine, String name); + public TQToolBar(String label, TQMainWindow arg2, int arg3, boolean newLine) { + super((Class) null); + newTQToolBar(label,arg2,arg3,newLine); + } + private native void newTQToolBar(String label, TQMainWindow arg2, int arg3, boolean newLine); + public TQToolBar(String label, TQMainWindow arg2, int arg3) { + super((Class) null); + newTQToolBar(label,arg2,arg3); + } + private native void newTQToolBar(String label, TQMainWindow arg2, int arg3); + public TQToolBar(String label, TQMainWindow arg2) { + super((Class) null); + newTQToolBar(label,arg2); + } + private native void newTQToolBar(String label, TQMainWindow arg2); + public TQToolBar(String label, TQMainWindow arg2, TQWidget arg3, boolean newLine, String name, int f) { + super((Class) null); + newTQToolBar(label,arg2,arg3,newLine,name,f); + } + private native void newTQToolBar(String label, TQMainWindow arg2, TQWidget arg3, boolean newLine, String name, int f); + public TQToolBar(String label, TQMainWindow arg2, TQWidget arg3, boolean newLine, String name) { + super((Class) null); + newTQToolBar(label,arg2,arg3,newLine,name); + } + private native void newTQToolBar(String label, TQMainWindow arg2, TQWidget arg3, boolean newLine, String name); + public TQToolBar(String label, TQMainWindow arg2, TQWidget arg3, boolean newLine) { + super((Class) null); + newTQToolBar(label,arg2,arg3,newLine); + } + private native void newTQToolBar(String label, TQMainWindow arg2, TQWidget arg3, boolean newLine); + public TQToolBar(String label, TQMainWindow arg2, TQWidget arg3) { + super((Class) null); + newTQToolBar(label,arg2,arg3); + } + private native void newTQToolBar(String label, TQMainWindow arg2, TQWidget arg3); + public TQToolBar(TQMainWindow parent, String name) { + super((Class) null); + newTQToolBar(parent,name); + } + private native void newTQToolBar(TQMainWindow parent, String name); + public TQToolBar(TQMainWindow parent) { + super((Class) null); + newTQToolBar(parent); + } + private native void newTQToolBar(TQMainWindow parent); + public TQToolBar() { + super((Class) null); + newTQToolBar(); + } + private native void newTQToolBar(); + public native void addSeparator(); + public native void show(); + public native void hide(); + public native TQMainWindow mainWindow(); + public native void setStretchableWidget(TQWidget arg1); + public native boolean event(TQEvent e); + public native void setLabel(String arg1); + public native String label(); + public native void clear(); + public native TQSize minimumSize(); + public native TQSize minimumSizeHint(); + public native void setOrientation(int o); + public native void setMinimumSize(int minw, int minh); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void resizeEvent(TQResizeEvent e); + public native void styleChange(TQStyle 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/qtjava/javalib/org/kde/qt/TQToolBox.java b/qtjava/javalib/org/kde/qt/TQToolBox.java new file mode 100644 index 00000000..135873c0 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQToolBox.java @@ -0,0 +1,66 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQToolBoxSignals} for signals emitted by TQToolBox +*/ +public class TQToolBox extends TQFrame { + protected TQToolBox(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQToolBox(TQWidget parent, String name, int f) { + super((Class) null); + newTQToolBox(parent,name,f); + } + private native void newTQToolBox(TQWidget parent, String name, int f); + public TQToolBox(TQWidget parent, String name) { + super((Class) null); + newTQToolBox(parent,name); + } + private native void newTQToolBox(TQWidget parent, String name); + public TQToolBox(TQWidget parent) { + super((Class) null); + newTQToolBox(parent); + } + private native void newTQToolBox(TQWidget parent); + public TQToolBox() { + super((Class) null); + newTQToolBox(); + } + private native void newTQToolBox(); + public native int addItem(TQWidget item, String label); + public native int addItem(TQWidget item, TQIconSet iconSet, String label); + public native int insertItem(int index, TQWidget item, String label); + public native int insertItem(int index, TQWidget item, TQIconSet iconSet, String label); + public native int removeItem(TQWidget item); + public native void setItemEnabled(int index, boolean enabled); + public native boolean isItemEnabled(int index); + public native void setItemLabel(int index, String label); + public native String itemLabel(int index); + public native void setItemIconSet(int index, TQIconSet iconSet); + public native TQIconSet itemIconSet(int index); + public native void setItemToolTip(int index, String toolTip); + public native String itemToolTip(int index); + public native TQWidget currentItem(); + public native void setCurrentItem(TQWidget item); + public native int currentIndex(); + public native TQWidget item(int index); + public native int indexOf(TQWidget item); + public native int count(); + public native void setCurrentIndex(int index); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void itemInserted(int index); + protected native void itemRemoved(int index); + public native void showEvent(TQShowEvent e); + protected native void frameChanged(); + public native void styleChange(TQStyle 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/qtjava/javalib/org/kde/qt/TQToolBoxSignals.java b/qtjava/javalib/org/kde/qt/TQToolBoxSignals.java new file mode 100644 index 00000000..316ac9e9 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQToolBoxSignals.java @@ -0,0 +1,7 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQToolBoxSignals { + void currentChanged(int index); +} diff --git a/qtjava/javalib/org/kde/qt/TQToolButton.java b/qtjava/javalib/org/kde/qt/TQToolButton.java new file mode 100644 index 00000000..8ffdfc67 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQToolButton.java @@ -0,0 +1,92 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQToolButton extends TQButton { + protected TQToolButton(Class dummy){super((Class) null);} + public static final int BesideIcon = 0; + public static final int BelowIcon = 1; + public static final int Right = BesideIcon; + public static final int Under = BelowIcon; + + public native TQMetaObject metaObject(); + public native String className(); + public TQToolButton(TQWidget parent, String name) { + super((Class) null); + newTQToolButton(parent,name); + } + private native void newTQToolButton(TQWidget parent, String name); + public TQToolButton(TQWidget parent) { + super((Class) null); + newTQToolButton(parent); + } + private native void newTQToolButton(TQWidget parent); + public TQToolButton(TQIconSet s, String textLabel, String grouptext, TQObject receiver, String slot, TQToolBar parent, String name) { + super((Class) null); + newTQToolButton(s,textLabel,grouptext,receiver,slot,parent,name); + } + private native void newTQToolButton(TQIconSet s, String textLabel, String grouptext, TQObject receiver, String slot, TQToolBar parent, String name); + public TQToolButton(TQIconSet s, String textLabel, String grouptext, TQObject receiver, String slot, TQToolBar parent) { + super((Class) null); + newTQToolButton(s,textLabel,grouptext,receiver,slot,parent); + } + private native void newTQToolButton(TQIconSet s, String textLabel, String grouptext, TQObject receiver, String slot, TQToolBar parent); + public TQToolButton(int type, TQWidget parent, String name) { + super((Class) null); + newTQToolButton(type,parent,name); + } + private native void newTQToolButton(int type, TQWidget parent, String name); + public TQToolButton(int type, TQWidget parent) { + super((Class) null); + newTQToolButton(type,parent); + } + private native void newTQToolButton(int type, TQWidget parent); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + public native void setOnIconSet(TQIconSet arg1); + public native void setOffIconSet(TQIconSet arg1); + public native void setIconSet(TQIconSet arg1, boolean on); + public native TQIconSet onIconSet(); + public native TQIconSet offIconSet(); + public native TQIconSet iconSet(boolean on); + public native void setIconSet(TQIconSet arg1); + public native TQIconSet iconSet(); + public native boolean usesBigPixmap(); + public native boolean usesTextLabel(); + public native String textLabel(); + public native void setPopup(TQPopupMenu popup); + public native TQPopupMenu popup(); + public native void setPopupDelay(int delay); + public native int popupDelay(); + public native void openPopup(); + public native void setAutoRaise(boolean enable); + public native boolean autoRaise(); + public native int textPosition(); + public native void setText(String txt); + public native void setUsesBigPixmap(boolean enable); + public native void setUsesTextLabel(boolean enable); + public native void setTextLabel(String arg1, boolean arg2); + public native void setToggleButton(boolean enable); + public native void setOn(boolean enable); + public native void toggle(); + public native void setTextLabel(String arg1); + public native void setTextPosition(int pos); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void mousePressEvent(TQMouseEvent arg1); + protected native void drawButton(TQPainter arg1); + protected native void drawButtonLabel(TQPainter arg1); + protected native void enterEvent(TQEvent arg1); + protected native void leaveEvent(TQEvent arg1); + protected native void moveEvent(TQMoveEvent arg1); + protected native boolean uses3D(); + public native boolean eventFilter(TQObject o, TQEvent e); + protected native void paletteChange(TQPalette 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/qtjava/javalib/org/kde/qt/TQToolTip.java b/qtjava/javalib/org/kde/qt/TQToolTip.java new file mode 100644 index 00000000..aadc2908 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQToolTip.java @@ -0,0 +1,28 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQToolTip extends Qt { + protected TQToolTip(Class dummy){super((Class) null);} + public native TQWidget parentWidget(); + public native TQToolTipGroup group(); + public static native void add(TQWidget arg1, String arg2); + public static native void add(TQWidget arg1, String arg2, TQToolTipGroup arg3, String arg4); + public static native void remove(TQWidget arg1); + public static native void add(TQWidget arg1, TQRect arg2, String arg3); + public static native void add(TQWidget arg1, TQRect arg2, String arg3, TQToolTipGroup arg4, String arg5); + public static native void remove(TQWidget arg1, TQRect arg2); + public static native String textFor(TQWidget arg1, TQPoint pos); + public static native String textFor(TQWidget arg1); + public static native void hide(); + public static native TQFont font(); + public static native void setFont(TQFont arg1); + public static native TQPalette palette(); + public static native void setPalette(TQPalette arg1); + public static native void setEnabled(boolean enable); + public static native boolean enabled(); + public static native void setGloballyEnabled(boolean arg1); + public static native boolean isGloballyEnabled(); + public static native void setWakeUpDelay(int arg1); +} diff --git a/qtjava/javalib/org/kde/qt/TQToolTipGroup.java b/qtjava/javalib/org/kde/qt/TQToolTipGroup.java new file mode 100644 index 00000000..acef6c0b --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQToolTipGroup.java @@ -0,0 +1,35 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQToolTipGroupSignals} for signals emitted by TQToolTipGroup +*/ +public class TQToolTipGroup extends TQObject { + protected TQToolTipGroup(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQToolTipGroup(TQObject parent, String name) { + super((Class) null); + newTQToolTipGroup(parent,name); + } + private native void newTQToolTipGroup(TQObject parent, String name); + public TQToolTipGroup(TQObject parent) { + super((Class) null); + newTQToolTipGroup(parent); + } + private native void newTQToolTipGroup(TQObject parent); + public native boolean delay(); + public native boolean enabled(); + public native void setDelay(boolean arg1); + public native void setEnabled(boolean arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(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/qtjava/javalib/org/kde/qt/TQToolTipGroupSignals.java b/qtjava/javalib/org/kde/qt/TQToolTipGroupSignals.java new file mode 100644 index 00000000..084a881a --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQToolTipGroupSignals.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQToolTipGroupSignals { + void showTip(String arg1); + void removeTip(); +} diff --git a/qtjava/javalib/org/kde/qt/TQTranslator.java b/qtjava/javalib/org/kde/qt/TQTranslator.java new file mode 100644 index 00000000..d27bdeec --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQTranslator.java @@ -0,0 +1,59 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQTranslator extends TQObject { + protected TQTranslator(Class dummy){super((Class) null);} + public static final int Everything = 0; + public static final int Stripped = 1; + + public native TQMetaObject metaObject(); + public native String className(); + public TQTranslator(TQObject parent, String name) { + super((Class) null); + newTQTranslator(parent,name); + } + private native void newTQTranslator(TQObject parent, String name); + public TQTranslator(TQObject parent) { + super((Class) null); + newTQTranslator(parent); + } + private native void newTQTranslator(TQObject parent); + public TQTranslator() { + super((Class) null); + newTQTranslator(); + } + private native void newTQTranslator(); + public native String find(String context, String sourceText, String comment); + public native String find(String context, String sourceText); + public native TQTranslatorMessage findMessage(String arg1, String arg2, String arg3); + public native TQTranslatorMessage findMessage(String arg1, String arg2); + public native boolean load(String filename, String directory, String search_delimiters, String suffix); + public native boolean load(String filename, String directory, String search_delimiters); + public native boolean load(String filename, String directory); + public native boolean load(String filename); + public native boolean load(char[] data, int len); + public native void clear(); + public native boolean save(String filename, int mode); + public native boolean save(String filename); + public native void insert(TQTranslatorMessage arg1); + public native void insert(String context, String sourceText, String translation); + public native void remove(TQTranslatorMessage arg1); + public native void remove(String context, String sourceText); + public native boolean contains(String arg1, String arg2, String comment); + public native boolean contains(String arg1, String arg2); + public native void squeeze(int arg1); + public native void squeeze(); + public native void unsqueeze(); + // TQValueList messages(); >>>> NOT CONVERTED + public native boolean isEmpty(); + public static native String tr(String arg1, String arg2); + public static native String tr(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/qtjava/javalib/org/kde/qt/TQTranslatorMessage.java b/qtjava/javalib/org/kde/qt/TQTranslatorMessage.java new file mode 100644 index 00000000..3f54940b --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQTranslatorMessage.java @@ -0,0 +1,59 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQTranslatorMessage implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQTranslatorMessage(Class dummy){} + + public static final int NoPrefix = 0; + public static final int Hash = 1; + public static final int HashContext = 2; + public static final int HashContextSourceText = 3; + public static final int HashContextSourceTextComment = 4; + + public TQTranslatorMessage() { + newTQTranslatorMessage(); + } + private native void newTQTranslatorMessage(); + public TQTranslatorMessage(String context, String sourceText, String comment, String translation) { + newTQTranslatorMessage(context,sourceText,comment,translation); + } + private native void newTQTranslatorMessage(String context, String sourceText, String comment, String translation); + public TQTranslatorMessage(String context, String sourceText, String comment) { + newTQTranslatorMessage(context,sourceText,comment); + } + private native void newTQTranslatorMessage(String context, String sourceText, String comment); + public TQTranslatorMessage(TQDataStream arg1) { + newTQTranslatorMessage(arg1); + } + private native void newTQTranslatorMessage(TQDataStream arg1); + public TQTranslatorMessage(TQTranslatorMessage m) { + newTQTranslatorMessage(m); + } + private native void newTQTranslatorMessage(TQTranslatorMessage m); + public native int hash(); + public native String context(); + public native String sourceText(); + public native String comment(); + public native void setTranslation(String translation); + public native String translation(); + public native void write(TQDataStream s, boolean strip, int prefix); + public native void write(TQDataStream s, boolean strip); + public native void write(TQDataStream s); + public native int commonPrefix(TQTranslatorMessage arg1); + public native boolean op_equals(TQTranslatorMessage m); + public native boolean op_not_equals(TQTranslatorMessage m); + public native boolean op_lt(TQTranslatorMessage m); + public native boolean op_lte(TQTranslatorMessage m); + public native boolean op_gt(TQTranslatorMessage m); + public native boolean op_gte(TQTranslatorMessage m); + /** 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/qtjava/javalib/org/kde/qt/TQTsciiCodec.java b/qtjava/javalib/org/kde/qt/TQTsciiCodec.java new file mode 100644 index 00000000..1ad4ffb0 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQTsciiCodec.java @@ -0,0 +1,25 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQTsciiCodec extends TQTextCodec { + protected TQTsciiCodec(Class dummy){super((Class) null);} + public native int mibEnum(); + public native String name(); + public native String fromUnicode(String uc, int[] lenInOut); + public native String toUnicode(String chars, int len); + public native int heuristicContentMatch(String chars, int len); + public native int heuristicNameMatch(String hint); + public TQTsciiCodec() { + super((Class) null); + newTQTsciiCodec(); + } + private native void newTQTsciiCodec(); + /** 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/qtjava/javalib/org/kde/qt/TQUriDrag.java b/qtjava/javalib/org/kde/qt/TQUriDrag.java new file mode 100644 index 00000000..e95700bf --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQUriDrag.java @@ -0,0 +1,65 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import java.util.ArrayList; +import org.kde.qt.Qt; + +public class TQUriDrag extends TQStoredDrag { + protected TQUriDrag(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQUriDrag(String[] uris, TQWidget dragSource, String name) { + super((Class) null); + newTQUriDrag(uris,dragSource,name); + } + private native void newTQUriDrag(String[] uris, TQWidget dragSource, String name); + public TQUriDrag(String[] uris, TQWidget dragSource) { + super((Class) null); + newTQUriDrag(uris,dragSource); + } + private native void newTQUriDrag(String[] uris, TQWidget dragSource); + public TQUriDrag(String[] uris) { + super((Class) null); + newTQUriDrag(uris); + } + private native void newTQUriDrag(String[] uris); + public TQUriDrag(TQWidget dragSource, String name) { + super((Class) null); + newTQUriDrag(dragSource,name); + } + private native void newTQUriDrag(TQWidget dragSource, String name); + public TQUriDrag(TQWidget dragSource) { + super((Class) null); + newTQUriDrag(dragSource); + } + private native void newTQUriDrag(TQWidget dragSource); + public TQUriDrag() { + super((Class) null); + newTQUriDrag(); + } + private native void newTQUriDrag(); + public native void setFilenames(String[] fnames); + public native void setFileNames(String[] fnames); + public native void setUnicodeUris(String[] uuris); + public native void setUris(String[] uris); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native String uriToLocalFile(String arg1); + public static native String localFileToUri(String arg1); + public static native String uriToUnicodeUri(String arg1); + public static native String unicodeUriToUri(String arg1); + public static native boolean canDecode(TQMimeSourceInterface e); + public static native boolean decode(TQMimeSourceInterface e, String[] i); + public static native boolean decodeToUnicodeUris(TQMimeSourceInterface e, String[] i); + public static native boolean decodeLocalFiles(TQMimeSourceInterface e, String[] i); + /** 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(); + public static native boolean decode(TQMimeSourceInterface e, ArrayList i); + public static native boolean decodeToUnicodeUris(TQMimeSourceInterface e, ArrayList i); + public static native boolean decodeLocalFiles(TQMimeSourceInterface e, ArrayList i); + +} diff --git a/qtjava/javalib/org/kde/qt/TQUrl.java b/qtjava/javalib/org/kde/qt/TQUrl.java new file mode 100644 index 00000000..9cd6a1ee --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQUrl.java @@ -0,0 +1,79 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQUrl implements QtSupport, TQUrlInterface { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQUrl(Class dummy){} + + public TQUrl() { + newTQUrl(); + } + private native void newTQUrl(); + public TQUrl(String url) { + newTQUrl(url); + } + private native void newTQUrl(String url); + public TQUrl(TQUrlInterface url) { + newTQUrl(url); + } + private native void newTQUrl(TQUrlInterface url); + public TQUrl(TQUrlInterface url, String relUrl, boolean checkSlash) { + newTQUrl(url,relUrl,checkSlash); + } + private native void newTQUrl(TQUrlInterface url, String relUrl, boolean checkSlash); + public TQUrl(TQUrlInterface url, String relUrl) { + newTQUrl(url,relUrl); + } + private native void newTQUrl(TQUrlInterface url, String relUrl); + public native String protocol(); + public native void setProtocol(String protocol); + public native String user(); + public native void setUser(String user); + public native boolean hasUser(); + public native String password(); + public native void setPassword(String pass); + public native boolean hasPassword(); + public native String host(); + public native void setHost(String user); + public native boolean hasHost(); + public native int port(); + public native void setPort(int port); + public native boolean hasPort(); + public native String path(boolean correct); + public native String path(); + public native void setPath(String path); + public native boolean hasPath(); + public native void setEncodedPathAndQuery(String enc); + public native String encodedPathAndQuery(); + public native void setQuery(String txt); + public native String query(); + public native String ref(); + public native void setRef(String txt); + public native boolean hasRef(); + public native boolean isValid(); + public native boolean isLocalFile(); + public native void addPath(String path); + public native void setFileName(String txt); + public native String fileName(); + public native String dirPath(); + public native boolean op_equals(TQUrlInterface url); + public native boolean op_equals(String url); + public native String toString(boolean encodedPath, boolean forcePrependProtocol); + public native String toString(boolean encodedPath); + public native String toString(); + public native boolean cdUp(); + public static native void decode(StringBuffer url); + public static native void encode(StringBuffer url); + public static native boolean isRelativeUrl(String url); + protected native void reset(); + protected native boolean parse(String url); + /** 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/qtjava/javalib/org/kde/qt/TQUrlInfo.java b/qtjava/javalib/org/kde/qt/TQUrlInfo.java new file mode 100644 index 00000000..bc33f522 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQUrlInfo.java @@ -0,0 +1,77 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.Calendar; + +public class TQUrlInfo implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQUrlInfo(Class dummy){} + + public static final int ReadOwner = 00400; + public static final int WriteOwner = 00200; + public static final int ExeOwner = 00100; + public static final int ReadGroup = 00040; + public static final int WriteGroup = 00020; + public static final int ExeGroup = 00010; + public static final int ReadOther = 00004; + public static final int WriteOther = 00002; + public static final int ExeOther = 00001; + + public TQUrlInfo() { + newTQUrlInfo(); + } + private native void newTQUrlInfo(); + public TQUrlInfo(TQUrlOperator path, String file) { + newTQUrlInfo(path,file); + } + private native void newTQUrlInfo(TQUrlOperator path, String file); + public TQUrlInfo(TQUrlInfo ui) { + newTQUrlInfo(ui); + } + private native void newTQUrlInfo(TQUrlInfo ui); + public TQUrlInfo(String name, int permissions, String owner, String group, long size, Calendar lastModified, Calendar lastRead, boolean isDir, boolean isFile, boolean isSymLink, boolean isWritable, boolean isReadable, boolean isExecutable) { + newTQUrlInfo(name,permissions,owner,group,size,lastModified,lastRead,isDir,isFile,isSymLink,isWritable,isReadable,isExecutable); + } + private native void newTQUrlInfo(String name, int permissions, String owner, String group, long size, Calendar lastModified, Calendar lastRead, boolean isDir, boolean isFile, boolean isSymLink, boolean isWritable, boolean isReadable, boolean isExecutable); + public TQUrlInfo(TQUrlInterface url, int permissions, String owner, String group, long size, Calendar lastModified, Calendar lastRead, boolean isDir, boolean isFile, boolean isSymLink, boolean isWritable, boolean isReadable, boolean isExecutable) { + newTQUrlInfo(url,permissions,owner,group,size,lastModified,lastRead,isDir,isFile,isSymLink,isWritable,isReadable,isExecutable); + } + private native void newTQUrlInfo(TQUrlInterface url, int permissions, String owner, String group, long size, Calendar lastModified, Calendar lastRead, boolean isDir, boolean isFile, boolean isSymLink, boolean isWritable, boolean isReadable, boolean isExecutable); + public native void setName(String name); + public native void setDir(boolean b); + public native void setFile(boolean b); + public native void setSymLink(boolean b); + public native void setOwner(String s); + public native void setGroup(String s); + public native void setSize(long size); + public native void setWritable(boolean b); + public native void setReadable(boolean b); + public native void setPermissions(int p); + public native void setLastModified(Calendar dt); + public native boolean isValid(); + public native String name(); + public native int permissions(); + public native String owner(); + public native String group(); + public native long size(); + public native Calendar lastModified(); + public native Calendar lastRead(); + public native boolean isDir(); + public native boolean isFile(); + public native boolean isSymLink(); + public native boolean isWritable(); + public native boolean isReadable(); + public native boolean isExecutable(); + public native boolean op_equals(TQUrlInfo i); + public static native boolean greaterThan(TQUrlInfo i1, TQUrlInfo i2, int sortBy); + public static native boolean lessThan(TQUrlInfo i1, TQUrlInfo i2, int sortBy); + public static native boolean equal(TQUrlInfo i1, TQUrlInfo i2, int sortBy); + /** 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/qtjava/javalib/org/kde/qt/TQUrlInterface.java b/qtjava/javalib/org/kde/qt/TQUrlInterface.java new file mode 100644 index 00000000..d33f8796 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQUrlInterface.java @@ -0,0 +1,43 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQUrlInterface { + String protocol(); + void setProtocol(String protocol); + String user(); + void setUser(String user); + boolean hasUser(); + String password(); + void setPassword(String pass); + boolean hasPassword(); + String host(); + void setHost(String user); + boolean hasHost(); + int port(); + void setPort(int port); + boolean hasPort(); + String path(boolean correct); + String path(); + void setPath(String path); + boolean hasPath(); + void setEncodedPathAndQuery(String enc); + String encodedPathAndQuery(); + void setQuery(String txt); + String query(); + String ref(); + void setRef(String txt); + boolean hasRef(); + boolean isValid(); + boolean isLocalFile(); + void addPath(String path); + void setFileName(String txt); + String fileName(); + String dirPath(); + boolean op_equals(TQUrlInterface url); + boolean op_equals(String url); + String toString(boolean encodedPath, boolean forcePrependProtocol); + String toString(boolean encodedPath); + String toString(); + boolean cdUp(); +} diff --git a/qtjava/javalib/org/kde/qt/TQUrlOperator.java b/qtjava/javalib/org/kde/qt/TQUrlOperator.java new file mode 100644 index 00000000..6ba21026 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQUrlOperator.java @@ -0,0 +1,111 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQUrlOperatorSignals} for signals emitted by TQUrlOperator +*/ +public class TQUrlOperator extends TQObject implements TQUrlInterface { + protected TQUrlOperator(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQUrlOperator() { + super((Class) null); + newTQUrlOperator(); + } + private native void newTQUrlOperator(); + public TQUrlOperator(String urL) { + super((Class) null); + newTQUrlOperator(urL); + } + private native void newTQUrlOperator(String urL); + public TQUrlOperator(TQUrlOperator url) { + super((Class) null); + newTQUrlOperator(url); + } + private native void newTQUrlOperator(TQUrlOperator url); + public TQUrlOperator(TQUrlOperator url, String relUrl, boolean checkSlash) { + super((Class) null); + newTQUrlOperator(url,relUrl,checkSlash); + } + private native void newTQUrlOperator(TQUrlOperator url, String relUrl, boolean checkSlash); + public TQUrlOperator(TQUrlOperator url, String relUrl) { + super((Class) null); + newTQUrlOperator(url,relUrl); + } + private native void newTQUrlOperator(TQUrlOperator url, String relUrl); + public native void setPath(String path); + public native boolean cdUp(); + public native TQNetworkOperation listChildren(); + public native TQNetworkOperation mkdir(String dirname); + public native TQNetworkOperation remove(String filename); + public native TQNetworkOperation rename(String oldname, String newname); + public native TQNetworkOperation get(String location); + public native TQNetworkOperation get(); + public native TQNetworkOperation put(byte[] data, String location); + public native TQNetworkOperation put(byte[] data); + // TQPtrList copy(const TQString& arg1,const TQString& arg2,bool arg3,bool arg4); >>>> NOT CONVERTED + // TQPtrList copy(const TQString& arg1,const TQString& arg2,bool arg3); >>>> NOT CONVERTED + // TQPtrList copy(const TQString& arg1,const TQString& arg2); >>>> NOT CONVERTED + public native void copy(String[] files, String dest, boolean move); + public native void copy(String[] files, String dest); + public native boolean isDir(boolean[] ok); + public native boolean isDir(); + public native void setNameFilter(String nameFilter); + public native String nameFilter(); + public native TQUrlInfo info(String entry); + public native void stop(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void reset(); + protected native boolean parse(String url); + protected native boolean checkValid(); + protected native void clearEntries(); + protected native void getNetworkProtocol(); + protected native void deleteNetworkProtocol(); + /** 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(); + public native String protocol(); + public native void setProtocol(String protocol); + public native String user(); + public native void setUser(String user); + public native boolean hasUser(); + public native String password(); + public native void setPassword(String pass); + public native boolean hasPassword(); + public native String host(); + public native void setHost(String user); + public native boolean hasHost(); + public native int port(); + public native void setPort(int port); + public native boolean hasPort(); + public native String path(boolean correct); + public native String path(); + public native boolean hasPath(); + public native void setEncodedPathAndQuery(String enc); + public native String encodedPathAndQuery(); + public native void setQuery(String txt); + public native String query(); + public native String ref(); + public native void setRef(String txt); + public native boolean hasRef(); + public native boolean isValid(); + public native boolean isLocalFile(); + public native void addPath(String path); + public native void setFileName(String txt); + public native String fileName(); + public native String dirPath(); + public native boolean op_equals(TQUrlInterface url); + public native boolean op_equals(String url); + public native String toString(boolean encodedPath, boolean forcePrependProtocol); + public native String toString(boolean encodedPath); + public native String toString(); + public static native void decode(StringBuffer url); + public static native void encode(StringBuffer url); + public static native boolean isRelativeUrl(String url); +} diff --git a/qtjava/javalib/org/kde/qt/TQUrlOperatorSignals.java b/qtjava/javalib/org/kde/qt/TQUrlOperatorSignals.java new file mode 100644 index 00000000..d6f21b0f --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQUrlOperatorSignals.java @@ -0,0 +1,16 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQUrlOperatorSignals { + // void newChildren(const TQValueList& arg1,TQNetworkOperation* arg2); >>>> NOT CONVERTED + void finished(TQNetworkOperation res); + void start(TQNetworkOperation res); + void createdDirectory(TQUrlInfo arg1, TQNetworkOperation res); + void removed(TQNetworkOperation res); + void itemChanged(TQNetworkOperation res); + void data(byte[] arg1, TQNetworkOperation res); + void dataTransferProgress(int bytesDone, int bytesTotal, TQNetworkOperation res); + // void startedNextCopy(const TQPtrList& arg1); >>>> NOT CONVERTED + void connectionStateChanged(int state, String data); +} diff --git a/qtjava/javalib/org/kde/qt/TQUtf16Codec.java b/qtjava/javalib/org/kde/qt/TQUtf16Codec.java new file mode 100644 index 00000000..8e566c94 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQUtf16Codec.java @@ -0,0 +1,24 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQUtf16Codec extends TQTextCodec { + protected TQUtf16Codec(Class dummy){super((Class) null);} + public native int mibEnum(); + public native String name(); + public native TQTextDecoder makeDecoder(); + public native TQTextEncoder makeEncoder(); + public native int heuristicContentMatch(String chars, int len); + public TQUtf16Codec() { + super((Class) null); + newTQUtf16Codec(); + } + private native void newTQUtf16Codec(); + /** 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/qtjava/javalib/org/kde/qt/TQUtf8Codec.java b/qtjava/javalib/org/kde/qt/TQUtf8Codec.java new file mode 100644 index 00000000..4fe7308a --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQUtf8Codec.java @@ -0,0 +1,25 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQUtf8Codec extends TQTextCodec { + protected TQUtf8Codec(Class dummy){super((Class) null);} + public native int mibEnum(); + public native String name(); + public native TQTextDecoder makeDecoder(); + public native String fromUnicode(String uc, int[] lenInOut); + public native String toUnicode(String chars, int len); + public native int heuristicContentMatch(String chars, int len); + public TQUtf8Codec() { + super((Class) null); + newTQUtf8Codec(); + } + private native void newTQUtf8Codec(); + /** 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/qtjava/javalib/org/kde/qt/TQUuid.java b/qtjava/javalib/org/kde/qt/TQUuid.java new file mode 100644 index 00000000..47fd806e --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQUuid.java @@ -0,0 +1,54 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQUuid implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQUuid(Class dummy){} + + public static final int VarUnknown = -1; + public static final int NCS = 0; + public static final int DCE = 2; + public static final int Microsoft = 6; + public static final int Reserved = 7; + + public static final int VerUnknown = -1; + public static final int Time = 1; + public static final int EmbeddedPOSIX = 2; + public static final int Name = 3; + public static final int Random = 4; + + public TQUuid() { + newTQUuid(); + } + private native void newTQUuid(); + public TQUuid(int l, short w1, short w2, short b1, short b2, short b3, short b4, short b5, short b6, short b7, short b8) { + newTQUuid(l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8); + } + private native void newTQUuid(int l, short w1, short w2, short b1, short b2, short b3, short b4, short b5, short b6, short b7, short b8); + public TQUuid(TQUuid uuid) { + newTQUuid(uuid); + } + private native void newTQUuid(TQUuid uuid); + public TQUuid(String arg1) { + newTQUuid(arg1); + } + private native void newTQUuid(String arg1); + public native String toString(); + public native boolean isNull(); + public native boolean op_equals(TQUuid orig); + public native boolean op_not_equals(TQUuid orig); + public native boolean op_lt(TQUuid other); + public native boolean op_gt(TQUuid other); + public native int variant(); + public native int version(); + public static native TQUuid createUuid(); + /** 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/qtjava/javalib/org/kde/qt/TQVBox.java b/qtjava/javalib/org/kde/qt/TQVBox.java new file mode 100644 index 00000000..10aa69dd --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQVBox.java @@ -0,0 +1,38 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQVBox extends TQHBox { + protected TQVBox(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQVBox(TQWidget parent, String name, int f) { + super((Class) null); + newTQVBox(parent,name,f); + } + private native void newTQVBox(TQWidget parent, String name, int f); + public TQVBox(TQWidget parent, String name) { + super((Class) null); + newTQVBox(parent,name); + } + private native void newTQVBox(TQWidget parent, String name); + public TQVBox(TQWidget parent) { + super((Class) null); + newTQVBox(parent); + } + private native void newTQVBox(TQWidget parent); + public TQVBox() { + super((Class) null); + newTQVBox(); + } + private native void newTQVBox(); + public static native String tr(String arg1, String arg2); + public static native String tr(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/qtjava/javalib/org/kde/qt/TQVBoxLayout.java b/qtjava/javalib/org/kde/qt/TQVBoxLayout.java new file mode 100644 index 00000000..5beb1e39 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQVBoxLayout.java @@ -0,0 +1,68 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQVBoxLayout extends TQBoxLayout { + protected TQVBoxLayout(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQVBoxLayout(TQWidget parent, int border, int spacing, String name) { + super((Class) null); + newTQVBoxLayout(parent,border,spacing,name); + } + private native void newTQVBoxLayout(TQWidget parent, int border, int spacing, String name); + public TQVBoxLayout(TQWidget parent, int border, int spacing) { + super((Class) null); + newTQVBoxLayout(parent,border,spacing); + } + private native void newTQVBoxLayout(TQWidget parent, int border, int spacing); + public TQVBoxLayout(TQWidget parent, int border) { + super((Class) null); + newTQVBoxLayout(parent,border); + } + private native void newTQVBoxLayout(TQWidget parent, int border); + public TQVBoxLayout(TQWidget parent) { + super((Class) null); + newTQVBoxLayout(parent); + } + private native void newTQVBoxLayout(TQWidget parent); + public TQVBoxLayout(TQLayout parentLayout, int spacing, String name) { + super((Class) null); + newTQVBoxLayout(parentLayout,spacing,name); + } + private native void newTQVBoxLayout(TQLayout parentLayout, int spacing, String name); + public TQVBoxLayout(TQLayout parentLayout, int spacing) { + super((Class) null); + newTQVBoxLayout(parentLayout,spacing); + } + private native void newTQVBoxLayout(TQLayout parentLayout, int spacing); + public TQVBoxLayout(TQLayout parentLayout) { + super((Class) null); + newTQVBoxLayout(parentLayout); + } + private native void newTQVBoxLayout(TQLayout parentLayout); + public TQVBoxLayout(int spacing, String name) { + super((Class) null); + newTQVBoxLayout(spacing,name); + } + private native void newTQVBoxLayout(int spacing, String name); + public TQVBoxLayout(int spacing) { + super((Class) null); + newTQVBoxLayout(spacing); + } + private native void newTQVBoxLayout(int spacing); + public TQVBoxLayout() { + super((Class) null); + newTQVBoxLayout(); + } + private native void newTQVBoxLayout(); + public static native String tr(String arg1, String arg2); + public static native String tr(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/qtjava/javalib/org/kde/qt/TQVButtonGroup.java b/qtjava/javalib/org/kde/qt/TQVButtonGroup.java new file mode 100644 index 00000000..af8ab7cf --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQVButtonGroup.java @@ -0,0 +1,48 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQVButtonGroup extends TQButtonGroup { + protected TQVButtonGroup(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQVButtonGroup(TQWidget parent, String name) { + super((Class) null); + newTQVButtonGroup(parent,name); + } + private native void newTQVButtonGroup(TQWidget parent, String name); + public TQVButtonGroup(TQWidget parent) { + super((Class) null); + newTQVButtonGroup(parent); + } + private native void newTQVButtonGroup(TQWidget parent); + public TQVButtonGroup() { + super((Class) null); + newTQVButtonGroup(); + } + private native void newTQVButtonGroup(); + public TQVButtonGroup(String title, TQWidget parent, String name) { + super((Class) null); + newTQVButtonGroup(title,parent,name); + } + private native void newTQVButtonGroup(String title, TQWidget parent, String name); + public TQVButtonGroup(String title, TQWidget parent) { + super((Class) null); + newTQVButtonGroup(title,parent); + } + private native void newTQVButtonGroup(String title, TQWidget parent); + public TQVButtonGroup(String title) { + super((Class) null); + newTQVButtonGroup(title); + } + private native void newTQVButtonGroup(String title); + public static native String tr(String arg1, String arg2); + public static native String tr(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/qtjava/javalib/org/kde/qt/TQVGroupBox.java b/qtjava/javalib/org/kde/qt/TQVGroupBox.java new file mode 100644 index 00000000..6767a211 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQVGroupBox.java @@ -0,0 +1,48 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQVGroupBox extends TQGroupBox { + protected TQVGroupBox(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQVGroupBox(TQWidget parent, String name) { + super((Class) null); + newTQVGroupBox(parent,name); + } + private native void newTQVGroupBox(TQWidget parent, String name); + public TQVGroupBox(TQWidget parent) { + super((Class) null); + newTQVGroupBox(parent); + } + private native void newTQVGroupBox(TQWidget parent); + public TQVGroupBox() { + super((Class) null); + newTQVGroupBox(); + } + private native void newTQVGroupBox(); + public TQVGroupBox(String title, TQWidget parent, String name) { + super((Class) null); + newTQVGroupBox(title,parent,name); + } + private native void newTQVGroupBox(String title, TQWidget parent, String name); + public TQVGroupBox(String title, TQWidget parent) { + super((Class) null); + newTQVGroupBox(title,parent); + } + private native void newTQVGroupBox(String title, TQWidget parent); + public TQVGroupBox(String title) { + super((Class) null); + newTQVGroupBox(title); + } + private native void newTQVGroupBox(String title); + public static native String tr(String arg1, String arg2); + public static native String tr(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/qtjava/javalib/org/kde/qt/TQValidator.java b/qtjava/javalib/org/kde/qt/TQValidator.java new file mode 100644 index 00000000..d9e6e721 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQValidator.java @@ -0,0 +1,35 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQValidator extends TQObject { + protected TQValidator(Class dummy){super((Class) null);} + public static final int Invalid = 0; + public static final int Intermediate = 1; + public static final int Valid = Intermediate; + public static final int Acceptable = 2; + + public native TQMetaObject metaObject(); + public native String className(); + public TQValidator(TQObject parent, String name) { + super((Class) null); + newTQValidator(parent,name); + } + private native void newTQValidator(TQObject parent, String name); + public TQValidator(TQObject parent) { + super((Class) null); + newTQValidator(parent); + } + private native void newTQValidator(TQObject parent); + public native int validate(StringBuffer arg1, int[] arg2); + public native void fixup(StringBuffer arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(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/qtjava/javalib/org/kde/qt/TQVariant.java b/qtjava/javalib/org/kde/qt/TQVariant.java new file mode 100644 index 00000000..41a8ce67 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQVariant.java @@ -0,0 +1,276 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; +import java.util.Calendar; +import java.util.Date; + +public class TQVariant implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQVariant(Class dummy){} + + public static final int Invalid = 0; + public static final int Map = 1; + public static final int List = 2; + public static final int String = 3; + public static final int StringList = 4; + public static final int Font = 5; + public static final int Pixmap = 6; + public static final int Brush = 7; + public static final int Rect = 8; + public static final int Size = 9; + public static final int Color = 10; + public static final int Palette = 11; + public static final int ColorGroup = 12; + public static final int IconSet = 13; + public static final int Point = 14; + public static final int Image = 15; + public static final int Int = 16; + public static final int UInt = 17; + public static final int Bool = 18; + public static final int Double = 19; + public static final int CString = 20; + public static final int PointArray = 21; + public static final int Region = 22; + public static final int Bitmap = 23; + public static final int Cursor = 24; + public static final int SizePolicy = 25; + public static final int Date = 26; + public static final int Time = 27; + public static final int DateTime = 28; + public static final int ByteArray = 29; + public static final int BitArray = 30; + public static final int KeySequence = 31; + public static final int Pen = 32; + public static final int LongLong = 33; + public static final int ULongLong = 34; + + public TQVariant() { + newTQVariant(); + } + private native void newTQVariant(); + public TQVariant(TQVariant arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQVariant arg1); + public TQVariant(TQDataStream s) { + newTQVariant(s); + } + private native void newTQVariant(TQDataStream s); + public TQVariant(String arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(String arg1); + public TQVariant(String[] arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(String[] arg1); + public TQVariant(TQFont arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQFont arg1); + public TQVariant(TQPixmap arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQPixmap arg1); + public TQVariant(TQImage arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQImage arg1); + public TQVariant(TQBrush arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQBrush arg1); + public TQVariant(TQPoint arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQPoint arg1); + public TQVariant(TQRect arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQRect arg1); + public TQVariant(TQSize arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQSize arg1); + public TQVariant(TQColor arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQColor arg1); + public TQVariant(TQPalette arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQPalette arg1); + public TQVariant(TQColorGroup arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQColorGroup arg1); + public TQVariant(TQIconSet arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQIconSet arg1); + public TQVariant(TQPointArray arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQPointArray arg1); + public TQVariant(TQRegion arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQRegion arg1); + public TQVariant(TQBitmap arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQBitmap arg1); + public TQVariant(TQCursor arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQCursor arg1); + public TQVariant(Calendar arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(Calendar arg1); + public TQVariant(Date arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(Date arg1); + public TQVariant(byte[] arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(byte[] arg1); + // TQVariant* TQVariant(const TQBitArray& arg1); >>>> NOT CONVERTED + public TQVariant(TQKeySequence arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQKeySequence arg1); + public TQVariant(TQPen arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQPen arg1); + // TQVariant* TQVariant(const TQValueList& arg1); >>>> NOT CONVERTED + // TQVariant* TQVariant(const TQMap& arg1); >>>> NOT CONVERTED + public TQVariant(int arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(int arg1); + public TQVariant(long arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(long arg1); + public TQVariant(boolean arg1, int arg2) { + newTQVariant(arg1,arg2); + } + private native void newTQVariant(boolean arg1, int arg2); + public TQVariant(double arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(double arg1); + public TQVariant(TQSizePolicy arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQSizePolicy arg1); + public native boolean op_equals(TQVariant arg1); + public native boolean op_not_equals(TQVariant arg1); + public native int type(); + public native String typeName(); + public native boolean canCast(int arg1); + public native boolean cast(int arg1); + public native boolean isValid(); + public native boolean isNull(); + public native void clear(); + public native String toString(); + public native String toCString(); + public native ArrayList toStringList(); + public native TQFont toFont(); + public native TQPixmap toPixmap(); + public native TQImage toImage(); + public native TQBrush toBrush(); + public native TQPoint toPoint(); + public native TQRect toRect(); + public native TQSize toSize(); + public native TQColor toColor(); + public native TQPalette toPalette(); + public native TQColorGroup toColorGroup(); + public native TQIconSet toIconSet(); + public native TQPointArray toPointArray(); + public native TQBitmap toBitmap(); + public native TQRegion toRegion(); + public native TQCursor toCursor(); + public native Calendar toDate(); + public native Date toTime(); + public native Calendar toDateTime(); + public native byte[] toByteArray(); + // const TQBitArray toBitArray(); >>>> NOT CONVERTED + public native TQKeySequence toKeySequence(); + public native TQPen toPen(); + public native int toInt(boolean[] ok); + public native int toInt(); + public native int toUInt(boolean[] ok); + public native int toUInt(); + public native long toLongLong(boolean[] ok); + public native long toLongLong(); + public native long toULongLong(boolean[] ok); + public native long toULongLong(); + public native boolean toBool(); + public native double toDouble(boolean[] ok); + public native double toDouble(); + // const TQValueList toList(); >>>> NOT CONVERTED + // const TQMap toMap(); >>>> NOT CONVERTED + public native TQSizePolicy toSizePolicy(); + // TQValueListConstIterator stringListBegin(); >>>> NOT CONVERTED + // TQValueListConstIterator stringListEnd(); >>>> NOT CONVERTED + // TQValueListConstIterator listBegin(); >>>> NOT CONVERTED + // TQValueListConstIterator listEnd(); >>>> NOT CONVERTED + // TQMapConstIterator mapBegin(); >>>> NOT CONVERTED + // TQMapConstIterator mapEnd(); >>>> NOT CONVERTED + // TQMapConstIterator mapFind(const TQString& arg1); >>>> NOT CONVERTED + public native String asString(); + public native String asCString(); + public native ArrayList asStringList(); + public native TQFont asFont(); + public native TQPixmap asPixmap(); + public native TQImage asImage(); + public native TQBrush asBrush(); + public native TQPoint asPoint(); + public native TQRect asRect(); + public native TQSize asSize(); + public native TQColor asColor(); + public native TQPalette asPalette(); + public native TQColorGroup asColorGroup(); + public native TQIconSet asIconSet(); + public native TQPointArray asPointArray(); + public native TQBitmap asBitmap(); + public native TQRegion asRegion(); + public native TQCursor asCursor(); + public native Calendar asDate(); + public native Date asTime(); + public native Calendar asDateTime(); + public native byte[] asByteArray(); + // TQBitArray& asBitArray(); >>>> NOT CONVERTED + public native TQKeySequence asKeySequence(); + public native TQPen asPen(); + public native int asInt(); + public native int asUInt(); + // Q_LLONG& asLongLong(); >>>> NOT CONVERTED + // Q_ULLONG& asULongLong(); >>>> NOT CONVERTED + public native boolean asBool(); + public native double asDouble(); + // TQValueList& asList(); >>>> NOT CONVERTED + // TQMap& asMap(); >>>> NOT CONVERTED + public native TQSizePolicy asSizePolicy(); + public native void load(TQDataStream arg1); + public native void save(TQDataStream arg1); + // void* rawAccess(void* arg1,TQVariant::Type arg2,bool arg3); >>>> NOT CONVERTED + // void* rawAccess(void* arg1,TQVariant::Type arg2); >>>> NOT CONVERTED + // void* rawAccess(void* arg1); >>>> NOT CONVERTED + // void* rawAccess(); >>>> NOT CONVERTED + public static native String typeToName(int typ); + public static native int nameToType(String name); + /** 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/qtjava/javalib/org/kde/qt/TQWMatrix.java b/qtjava/javalib/org/kde/qt/TQWMatrix.java new file mode 100644 index 00000000..5eaf6a61 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQWMatrix.java @@ -0,0 +1,63 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQWMatrix implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQWMatrix(Class dummy){} + + public static final int Points = 0; + public static final int Areas = 1; + + public TQWMatrix() { + newTQWMatrix(); + } + private native void newTQWMatrix(); + public TQWMatrix(double m11, double m12, double m21, double m22, double dx, double dy) { + newTQWMatrix(m11,m12,m21,m22,dx,dy); + } + private native void newTQWMatrix(double m11, double m12, double m21, double m22, double dx, double dy); + public native void setMatrix(double m11, double m12, double m21, double m22, double dx, double dy); + public native double m11(); + public native double m12(); + public native double m21(); + public native double m22(); + public native double dx(); + public native double dy(); + public native void map(int x, int y, int[] tx, int[] ty); + public native void map(double x, double y, double[] tx, double[] ty); + public native TQRect mapRect(TQRect arg1); + public native TQPoint map(TQPoint p); + public native TQRect map(TQRect r); + public native TQPointArray map(TQPointArray a); + public native TQRegion map(TQRegion r); + public native TQRegion mapToRegion(TQRect r); + public native TQPointArray mapToPolygon(TQRect r); + public native void reset(); + public native boolean isIdentity(); + public native TQWMatrix translate(double dx, double dy); + public native TQWMatrix scale(double sx, double sy); + public native TQWMatrix shear(double sh, double sv); + public native TQWMatrix rotate(double a); + public native boolean isInvertible(); + public native double det(); + public native TQWMatrix invert(boolean[] arg1); + public native TQWMatrix invert(); + public native boolean op_equals(TQWMatrix arg1); + public native boolean op_not_equals(TQWMatrix arg1); + public native TQWMatrix op_mult_assign(TQWMatrix arg1); + public native TQPoint op_mult(TQPoint arg1); + public native TQRegion op_mult(TQRect arg1); + public native TQRegion op_mult(TQRegion arg1); + public native TQPointArray op_mult(TQPointArray a); + public static native void setTransformationMode(int m); + public static native int transformationMode(); + /** 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/qtjava/javalib/org/kde/qt/TQWhatsThis.java b/qtjava/javalib/org/kde/qt/TQWhatsThis.java new file mode 100644 index 00000000..c24d8528 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQWhatsThis.java @@ -0,0 +1,37 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQWhatsThis extends Qt { + protected TQWhatsThis(Class dummy){super((Class) null);} + public TQWhatsThis(TQWidget arg1) { + super((Class) null); + newTQWhatsThis(arg1); + } + private native void newTQWhatsThis(TQWidget arg1); + public native String text(TQPoint arg1); + public native boolean clicked(String href); + public static native void setFont(TQFont font); + public static native void add(TQWidget arg1, String arg2); + public static native void remove(TQWidget arg1); + public static native String textFor(TQWidget arg1, TQPoint pos, boolean includeParents); + public static native String textFor(TQWidget arg1, TQPoint pos); + public static native String textFor(TQWidget arg1); + public static native TQToolButton whatsThisButton(TQWidget parent); + public static native void enterWhatsThisMode(); + public static native boolean inWhatsThisMode(); + public static native void leaveWhatsThisMode(String arg1, TQPoint pos, TQWidget w); + public static native void leaveWhatsThisMode(String arg1, TQPoint pos); + public static native void leaveWhatsThisMode(String arg1); + public static native void leaveWhatsThisMode(); + public static native void display(String text, TQPoint pos, TQWidget w); + public static native void display(String text, TQPoint pos); + public static native void display(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/qtjava/javalib/org/kde/qt/TQWheelEvent.java b/qtjava/javalib/org/kde/qt/TQWheelEvent.java new file mode 100644 index 00000000..ca14cf2c --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQWheelEvent.java @@ -0,0 +1,46 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQWheelEvent extends TQEvent { + protected TQWheelEvent(Class dummy){super((Class) null);} + public TQWheelEvent(TQPoint pos, int delta, int state, int orient) { + super((Class) null); + newTQWheelEvent(pos,delta,state,orient); + } + private native void newTQWheelEvent(TQPoint pos, int delta, int state, int orient); + public TQWheelEvent(TQPoint pos, int delta, int state) { + super((Class) null); + newTQWheelEvent(pos,delta,state); + } + private native void newTQWheelEvent(TQPoint pos, int delta, int state); + public TQWheelEvent(TQPoint pos, TQPoint globalPos, int delta, int state, int orient) { + super((Class) null); + newTQWheelEvent(pos,globalPos,delta,state,orient); + } + private native void newTQWheelEvent(TQPoint pos, TQPoint globalPos, int delta, int state, int orient); + public TQWheelEvent(TQPoint pos, TQPoint globalPos, int delta, int state) { + super((Class) null); + newTQWheelEvent(pos,globalPos,delta,state); + } + private native void newTQWheelEvent(TQPoint pos, TQPoint globalPos, int delta, int state); + public native int delta(); + public native TQPoint pos(); + public native TQPoint globalPos(); + public native int x(); + public native int y(); + public native int globalX(); + public native int globalY(); + public native int state(); + public native int orientation(); + public native boolean isAccepted(); + public native void accept(); + public native void ignore(); + /** 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/qtjava/javalib/org/kde/qt/TQWidget.java b/qtjava/javalib/org/kde/qt/TQWidget.java new file mode 100644 index 00000000..5fdd541a --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQWidget.java @@ -0,0 +1,337 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQWidget extends TQObject implements TQPaintDeviceInterface { + protected TQWidget(Class dummy){super((Class) null);} + public static final int NoFocus = 0; + public static final int TabFocus = 0x1; + public static final int ClickFocus = 0x2; + public static final int StrongFocus = TabFocus|ClickFocus|0x8; + public static final int WheelFocus = StrongFocus|0x4; + + public static final int WidgetOrigin = 0; + public static final int ParentOrigin = 1; + public static final int WindowOrigin = 2; + public static final int AncestorOrigin = 3; + + public native TQMetaObject metaObject(); + public native String className(); + public TQWidget(TQWidget parent, String name, int f) { + super((Class) null); + newTQWidget(parent,name,f); + } + private native void newTQWidget(TQWidget parent, String name, int f); + public TQWidget(TQWidget parent, String name) { + super((Class) null); + newTQWidget(parent,name); + } + private native void newTQWidget(TQWidget parent, String name); + public TQWidget(TQWidget parent) { + super((Class) null); + newTQWidget(parent); + } + private native void newTQWidget(TQWidget parent); + public TQWidget() { + super((Class) null); + newTQWidget(); + } + private native void newTQWidget(); + public native long winId(); + public native void setName(String name); + public native TQStyle style(); + public native void setStyle(TQStyle arg1); + public native TQStyle setStyle(String arg1); + public native boolean isTopLevel(); + public native boolean isDialog(); + public native boolean isPopup(); + public native boolean isDesktop(); + public native boolean isModal(); + public native boolean isEnabled(); + public native boolean isEnabledTo(TQWidget arg1); + public native boolean isEnabledToTLW(); + public native TQRect frameGeometry(); + public native TQRect geometry(); + public native int x(); + public native int y(); + public native TQPoint pos(); + public native TQSize frameSize(); + public native TQSize size(); + public native int width(); + public native int height(); + public native TQRect rect(); + public native TQRect childrenRect(); + public native TQRegion childrenRegion(); + public native TQSize minimumSize(); + public native TQSize maximumSize(); + public native int minimumWidth(); + public native int minimumHeight(); + public native int maximumWidth(); + public native int maximumHeight(); + public native void setMinimumSize(TQSize arg1); + public native void setMinimumSize(int minw, int minh); + public native void setMaximumSize(TQSize arg1); + public native void setMaximumSize(int maxw, int maxh); + public native void setMinimumWidth(int minw); + public native void setMinimumHeight(int minh); + public native void setMaximumWidth(int maxw); + public native void setMaximumHeight(int maxh); + public native TQSize sizeIncrement(); + public native void setSizeIncrement(TQSize arg1); + public native void setSizeIncrement(int w, int h); + public native TQSize baseSize(); + public native void setBaseSize(TQSize arg1); + public native void setBaseSize(int basew, int baseh); + public native void setFixedSize(TQSize arg1); + public native void setFixedSize(int w, int h); + public native void setFixedWidth(int w); + public native void setFixedHeight(int h); + public native TQPoint mapToGlobal(TQPoint arg1); + public native TQPoint mapFromGlobal(TQPoint arg1); + public native TQPoint mapToParent(TQPoint arg1); + public native TQPoint mapFromParent(TQPoint arg1); + public native TQPoint mapTo(TQWidget arg1, TQPoint arg2); + public native TQPoint mapFrom(TQWidget arg1, TQPoint arg2); + public native TQWidget topLevelWidget(); + public native int backgroundMode(); + public native void setBackgroundMode(int arg1); + public native void setBackgroundMode(int arg1, int arg2); + public native TQColor foregroundColor(); + public native TQColor eraseColor(); + public native void setEraseColor(TQColor arg1); + public native TQPixmap erasePixmap(); + public native void setErasePixmap(TQPixmap arg1); + public native TQColorGroup colorGroup(); + public native TQPalette palette(); + public native boolean ownPalette(); + public native void setPalette(TQPalette arg1); + public native void unsetPalette(); + public native TQColor paletteForegroundColor(); + public native void setPaletteForegroundColor(TQColor arg1); + public native TQColor paletteBackgroundColor(); + public native void setPaletteBackgroundColor(TQColor arg1); + public native TQPixmap paletteBackgroundPixmap(); + public native void setPaletteBackgroundPixmap(TQPixmap arg1); + public native TQBrush backgroundBrush(); + public native TQFont font(); + public native boolean ownFont(); + public native void setFont(TQFont arg1); + public native void unsetFont(); + public native TQFontMetrics fontMetrics(); + public native TQFontInfo fontInfo(); + public native TQCursor cursor(); + public native boolean ownCursor(); + public native void setCursor(TQCursor arg1); + public native void unsetCursor(); + public native String caption(); + public native TQPixmap icon(); + public native String iconText(); + public native boolean hasMouseTracking(); + public native boolean hasMouse(); + public native void setMask(TQBitmap arg1); + public native void setMask(TQRegion arg1); + public native void clearMask(); + public native TQColor backgroundColor(); + public native void setBackgroundColor(TQColor arg1); + public native TQPixmap backgroundPixmap(); + public native void setBackgroundPixmap(TQPixmap arg1); + public native boolean isActiveWindow(); + public native void setActiveWindow(); + public native boolean isFocusEnabled(); + public native int focusPolicy(); + public native void setFocusPolicy(int arg1); + public native boolean hasFocus(); + public native void setFocusProxy(TQWidget arg1); + public native TQWidget focusProxy(); + public native void setInputMethodEnabled(boolean b); + public native boolean isInputMethodEnabled(); + public native void grabMouse(); + public native void grabMouse(TQCursor arg1); + public native void releaseMouse(); + public native void grabKeyboard(); + public native void releaseKeyboard(); + public native boolean isUpdatesEnabled(); + public native boolean close(boolean alsoDelete); + public native boolean isVisible(); + public native boolean isVisibleTo(TQWidget arg1); + public native boolean isVisibleToTLW(); + public native TQRect visibleRect(); + public native boolean isHidden(); + public native boolean isShown(); + public native boolean isMinimized(); + public native boolean isMaximized(); + public native boolean isFullScreen(); + public native int windowState(); + public native void setWindowState(int windowState); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + public native TQSizePolicy sizePolicy(); + public native void setSizePolicy(TQSizePolicy arg1); + public native void setSizePolicy(int hor, int ver, boolean hfw); + public native void setSizePolicy(int hor, int ver); + public native int heightForWidth(int arg1); + public native TQRegion clipRegion(); + public native TQLayout layout(); + public native void updateGeometry(); + public native void reparent(TQWidget parent, int arg2, TQPoint arg3, boolean showIt); + public native void reparent(TQWidget parent, int arg2, TQPoint arg3); + public native void reparent(TQWidget parent, TQPoint arg2, boolean showIt); + public native void reparent(TQWidget parent, TQPoint arg2); + public native void recreate(TQWidget parent, int f, TQPoint p, boolean showIt); + public native void recreate(TQWidget parent, int f, TQPoint p); + public native void erase(); + public native void erase(int x, int y, int w, int h); + public native void erase(TQRect arg1); + public native void erase(TQRegion arg1); + public native void scroll(int dx, int dy); + public native void scroll(int dx, int dy, TQRect arg3); + public native void drawText(int x, int y, String arg3); + public native void drawText(TQPoint arg1, String arg2); + public native TQWidget focusWidget(); + public native TQRect microFocusHint(); + public native boolean acceptDrops(); + public native void setAcceptDrops(boolean on); + public native void setAutoMask(boolean arg1); + public native boolean autoMask(); + public native void setBackgroundOrigin(int arg1); + public native int backgroundOrigin(); + public native TQPoint backgroundOffset(); + public native boolean customWhatsThis(); + public native TQWidget parentWidget(boolean sameWindow); + public native TQWidget parentWidget(); + public native int testWState(int s); + public native int testWFlags(int f); + public native TQWidget childAt(int x, int y, boolean includeThis); + public native TQWidget childAt(int x, int y); + public native TQWidget childAt(TQPoint arg1, boolean includeThis); + public native TQWidget childAt(TQPoint arg1); + public native void setWindowOpacity(double level); + public native double windowOpacity(); + public native void setPalette(TQPalette p, boolean arg2); + public native void setFont(TQFont f, boolean arg2); + public native void setEnabled(boolean arg1); + public native void setDisabled(boolean arg1); + public native void setCaption(String arg1); + public native void setIcon(TQPixmap arg1); + public native void setIconText(String arg1); + public native void setMouseTracking(boolean enable); + public native void setFocus(); + public native void clearFocus(); + public native void setUpdatesEnabled(boolean enable); + public native void update(); + public native void update(int x, int y, int w, int h); + public native void update(TQRect arg1); + public native void repaint(); + public native void repaint(boolean erase); + public native void repaint(int x, int y, int w, int h, boolean erase); + public native void repaint(int x, int y, int w, int h); + public native void repaint(TQRect arg1, boolean erase); + public native void repaint(TQRect arg1); + public native void repaint(TQRegion arg1, boolean erase); + public native void repaint(TQRegion arg1); + public native void show(); + public native void hide(); + public native void setShown(boolean show); + public native void setHidden(boolean hide); + public native void iconify(); + public native void showMinimized(); + public native void showMaximized(); + public native void showFullScreen(); + public native void showNormal(); + public native void polish(); + public native void constPolish(); + public native boolean close(); + public native void raise(); + public native void lower(); + public native void stackUnder(TQWidget arg1); + public native void move(int x, int y); + public native void move(TQPoint arg1); + public native void resize(int w, int h); + public native void resize(TQSize arg1); + public native void setGeometry(int x, int y, int w, int h); + public native void setGeometry(TQRect arg1); + public native void adjustSize(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native void setTabOrder(TQWidget arg1, TQWidget arg2); + public static native TQWidget mouseGrabber(); + public static native TQWidget keyboardGrabber(); + public static native TQWidget find(long arg1); + // TQWidgetMapper* wmapper(); >>>> NOT CONVERTED + public native boolean event(TQEvent arg1); + protected native void mousePressEvent(TQMouseEvent arg1); + protected native void mouseReleaseEvent(TQMouseEvent arg1); + protected native void mouseDoubleClickEvent(TQMouseEvent arg1); + protected native void mouseMoveEvent(TQMouseEvent arg1); + protected native void wheelEvent(TQWheelEvent arg1); + protected native void keyPressEvent(TQKeyEvent arg1); + protected native void keyReleaseEvent(TQKeyEvent arg1); + protected native void focusInEvent(TQFocusEvent arg1); + protected native void focusOutEvent(TQFocusEvent arg1); + protected native void enterEvent(TQEvent arg1); + protected native void leaveEvent(TQEvent arg1); + protected native void paintEvent(TQPaintEvent arg1); + protected native void moveEvent(TQMoveEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void closeEvent(TQCloseEvent arg1); + protected native void contextMenuEvent(TQContextMenuEvent arg1); + protected native void imStartEvent(TQIMEvent arg1); + protected native void imComposeEvent(TQIMEvent arg1); + protected native void imEndEvent(TQIMEvent arg1); + protected native void tabletEvent(TQTabletEvent arg1); + protected native void dragEnterEvent(TQDragEnterEvent arg1); + protected native void dragMoveEvent(TQDragMoveEvent arg1); + protected native void dragLeaveEvent(TQDragLeaveEvent arg1); + protected native void dropEvent(TQDropEvent arg1); + public native void showEvent(TQShowEvent arg1); + protected native void hideEvent(TQHideEvent arg1); + protected native void updateMask(); + public native void styleChange(TQStyle arg1); + protected native void enabledChange(boolean oldEnabled); + protected native void paletteChange(TQPalette arg1); + protected native void fontChange(TQFont arg1); + protected native void windowActivationChange(boolean oldActive); + protected native int metric(int arg1); + protected native void resetInputContext(); + 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 destroy(boolean destroyWindow, boolean destroySubWindows); + protected native void destroy(boolean destroyWindow); + protected native void destroy(); + protected native int getWState(); + protected native void setWState(int arg1); + protected native void clearWState(int n); + protected native int getWFlags(); + protected native void setWFlags(int arg1); + protected native void clearWFlags(int n); + protected native boolean focusNextPrevChild(boolean next); + // TQWExtra* extraData(); >>>> NOT CONVERTED + // TQTLWExtra* topData(); >>>> NOT CONVERTED + protected native TQFocusData focusData(); + protected native void setKeyCompression(boolean arg1); + protected native void setMicroFocusHint(int x, int y, int w, int h, boolean text, TQFont f); + protected native void setMicroFocusHint(int x, int y, int w, int h, boolean text); + protected native void setMicroFocusHint(int x, int y, int w, int h); + /** 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(); + public native int devType(); + public native boolean isExtDev(); + public native boolean paintingActive(); + public native void setResolution(int arg1); + public native int resolution(); + // bool cmd(int arg1,TQPainter* arg2,TQPDevCmdParam* arg3); >>>> NOT CONVERTED + protected native int fontMet(TQFont arg1, int arg2, String arg3, int arg4); + protected native int fontMet(TQFont arg1, int arg2, String arg3); + protected native int fontMet(TQFont arg1, int arg2); + protected native int fontInf(TQFont arg1, int arg2); + /** Internal method */ + protected native long paintDevice(); + +} diff --git a/qtjava/javalib/org/kde/qt/TQWidgetItem.java b/qtjava/javalib/org/kde/qt/TQWidgetItem.java new file mode 100644 index 00000000..8a7e447d --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQWidgetItem.java @@ -0,0 +1,29 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQWidgetItem extends TQLayoutItem { + protected TQWidgetItem(Class dummy){super((Class) null);} + public TQWidgetItem(TQWidget w) { + super((Class) null); + newTQWidgetItem(w); + } + private native void newTQWidgetItem(TQWidget w); + public native TQSize sizeHint(); + public native TQSize minimumSize(); + public native TQSize maximumSize(); + public native int expanding(); + public native boolean isEmpty(); + public native void setGeometry(TQRect arg1); + public native TQRect geometry(); + public native TQWidget widget(); + public native boolean hasHeightForWidth(); + public native int heightForWidth(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/qtjava/javalib/org/kde/qt/TQWidgetStack.java b/qtjava/javalib/org/kde/qt/TQWidgetStack.java new file mode 100644 index 00000000..a0366a86 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQWidgetStack.java @@ -0,0 +1,57 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQWidgetStackSignals} for signals emitted by TQWidgetStack +*/ +public class TQWidgetStack extends TQFrame { + protected TQWidgetStack(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQWidgetStack(TQWidget parent, String name) { + super((Class) null); + newTQWidgetStack(parent,name); + } + private native void newTQWidgetStack(TQWidget parent, String name); + public TQWidgetStack(TQWidget parent) { + super((Class) null); + newTQWidgetStack(parent); + } + private native void newTQWidgetStack(TQWidget parent); + public TQWidgetStack() { + super((Class) null); + newTQWidgetStack(); + } + private native void newTQWidgetStack(); + public TQWidgetStack(TQWidget parent, String name, int f) { + super((Class) null); + newTQWidgetStack(parent,name,f); + } + private native void newTQWidgetStack(TQWidget parent, String name, int f); + public native int addWidget(TQWidget arg1, int arg2); + public native int addWidget(TQWidget arg1); + public native void removeWidget(TQWidget arg1); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + public native void show(); + public native TQWidget widget(int arg1); + public native int id(TQWidget arg1); + public native TQWidget visibleWidget(); + public native void setFrameRect(TQRect arg1); + public native void raiseWidget(int arg1); + public native void raiseWidget(TQWidget arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void frameChanged(); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void setChildGeometries(); + protected native void childEvent(TQChildEvent 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/qtjava/javalib/org/kde/qt/TQWidgetStackSignals.java b/qtjava/javalib/org/kde/qt/TQWidgetStackSignals.java new file mode 100644 index 00000000..acc7ca7c --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQWidgetStackSignals.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQWidgetStackSignals { + void aboutToShow(int arg1); + void aboutToShow(TQWidget arg1); +} diff --git a/qtjava/javalib/org/kde/qt/TQWizard.java b/qtjava/javalib/org/kde/qt/TQWizard.java new file mode 100644 index 00000000..ab105d1f --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQWizard.java @@ -0,0 +1,78 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link TQWizardSignals} for signals emitted by TQWizard +*/ +public class TQWizard extends TQDialog { + protected TQWizard(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQWizard(TQWidget parent, String name, boolean modal, int f) { + super((Class) null); + newTQWizard(parent,name,modal,f); + } + private native void newTQWizard(TQWidget parent, String name, boolean modal, int f); + public TQWizard(TQWidget parent, String name, boolean modal) { + super((Class) null); + newTQWizard(parent,name,modal); + } + private native void newTQWizard(TQWidget parent, String name, boolean modal); + public TQWizard(TQWidget parent, String name) { + super((Class) null); + newTQWizard(parent,name); + } + private native void newTQWizard(TQWidget parent, String name); + public TQWizard(TQWidget parent) { + super((Class) null); + newTQWizard(parent); + } + private native void newTQWizard(TQWidget parent); + public TQWizard() { + super((Class) null); + newTQWizard(); + } + private native void newTQWizard(); + public native void show(); + public native void setFont(TQFont font); + public native void addPage(TQWidget arg1, String arg2); + public native void insertPage(TQWidget arg1, String arg2, int arg3); + public native void removePage(TQWidget arg1); + public native String title(TQWidget arg1); + public native void setTitle(TQWidget arg1, String arg2); + public native TQFont titleFont(); + public native void setTitleFont(TQFont arg1); + public native void showPage(TQWidget arg1); + public native TQWidget currentPage(); + public native TQWidget page(int arg1); + public native int pageCount(); + public native int indexOf(TQWidget arg1); + public native boolean appropriate(TQWidget arg1); + public native void setAppropriate(TQWidget arg1, boolean arg2); + public native TQPushButton backButton(); + public native TQPushButton nextButton(); + public native TQPushButton finishButton(); + public native TQPushButton cancelButton(); + public native TQPushButton helpButton(); + public native boolean eventFilter(TQObject arg1, TQEvent arg2); + public native void setBackEnabled(TQWidget arg1, boolean arg2); + public native void setNextEnabled(TQWidget arg1, boolean arg2); + public native void setFinishEnabled(TQWidget arg1, boolean arg2); + public native void setHelpEnabled(TQWidget arg1, boolean arg2); + public native void setFinish(TQWidget arg1, boolean arg2); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void layOutButtonRow(TQHBoxLayout arg1); + protected native void layOutTitleRow(TQHBoxLayout arg1, String arg2); + protected native void back(); + protected native void next(); + protected native void help(); + /** 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/qtjava/javalib/org/kde/qt/TQWizardSignals.java b/qtjava/javalib/org/kde/qt/TQWizardSignals.java new file mode 100644 index 00000000..c73f2915 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQWizardSignals.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQWizardSignals { + void helpClicked(); + void selected(String arg1); +} diff --git a/qtjava/javalib/org/kde/qt/TQWorkspace.java b/qtjava/javalib/org/kde/qt/TQWorkspace.java new file mode 100644 index 00000000..96762dd8 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQWorkspace.java @@ -0,0 +1,61 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +/** + See {@link TQWorkspaceSignals} for signals emitted by TQWorkspace +*/ +public class TQWorkspace extends TQWidget { + protected TQWorkspace(Class dummy){super((Class) null);} + public static final int CreationOrder = 0; + public static final int StackingOrder = 1; + + public native TQMetaObject metaObject(); + public native String className(); + public TQWorkspace(TQWidget parent, String name) { + super((Class) null); + newTQWorkspace(parent,name); + } + private native void newTQWorkspace(TQWidget parent, String name); + public TQWorkspace(TQWidget parent) { + super((Class) null); + newTQWorkspace(parent); + } + private native void newTQWorkspace(TQWidget parent); + public TQWorkspace() { + super((Class) null); + newTQWorkspace(); + } + private native void newTQWorkspace(); + public native TQWidget activeWindow(); + public native ArrayList windowList(); + public native ArrayList windowList(int order); + public native TQSize sizeHint(); + public native boolean scrollBarsEnabled(); + public native void setScrollBarsEnabled(boolean enable); + public native void setPaletteBackgroundColor(TQColor arg1); + public native void setPaletteBackgroundPixmap(TQPixmap arg1); + public native void cascade(); + public native void tile(); + public native void closeActiveWindow(); + public native void closeAllWindows(); + public native void activateNextWindow(); + public native void activatePrevWindow(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public native void styleChange(TQStyle arg1); + protected native void childEvent(TQChildEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); + public native boolean eventFilter(TQObject arg1, TQEvent arg2); + public native void showEvent(TQShowEvent e); + protected native void hideEvent(TQHideEvent e); + protected native void wheelEvent(TQWheelEvent 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/qtjava/javalib/org/kde/qt/TQWorkspaceSignals.java b/qtjava/javalib/org/kde/qt/TQWorkspaceSignals.java new file mode 100644 index 00000000..fcb9768f --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQWorkspaceSignals.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import java.util.ArrayList; + +public interface TQWorkspaceSignals { + void windowActivated(TQWidget w); +} diff --git a/qtjava/javalib/org/kde/qt/TQXmlAttributes.java b/qtjava/javalib/org/kde/qt/TQXmlAttributes.java new file mode 100644 index 00000000..ccd1013d --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQXmlAttributes.java @@ -0,0 +1,36 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQXmlAttributes implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQXmlAttributes(Class dummy){} + + public TQXmlAttributes() { + newTQXmlAttributes(); + } + private native void newTQXmlAttributes(); + public native int index(String qName); + public native int index(String uri, String localPart); + public native int length(); + public native int count(); + public native String localName(int index); + public native String qName(int index); + public native String uri(int index); + public native String type(int index); + public native String type(String qName); + public native String type(String uri, String localName); + public native String value(int index); + public native String value(String qName); + public native String value(String uri, String localName); + public native void clear(); + public native void append(String qName, String uri, String localPart, String value); + /** 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/qtjava/javalib/org/kde/qt/TQXmlContentHandler.java b/qtjava/javalib/org/kde/qt/TQXmlContentHandler.java new file mode 100644 index 00000000..13ff56ae --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQXmlContentHandler.java @@ -0,0 +1,23 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQXmlContentHandler implements QtSupport, TQXmlContentHandlerInterface { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQXmlContentHandler(Class dummy){} + + public native void setDocumentLocator(TQXmlLocator locator); + public native boolean startDocument(); + public native boolean endDocument(); + public native boolean startPrefixMapping(String prefix, String uri); + public native boolean endPrefixMapping(String prefix); + public native boolean startElement(String namespaceURI, String localName, String qName, TQXmlAttributes atts); + public native boolean endElement(String namespaceURI, String localName, String qName); + public native boolean characters(String ch); + public native boolean ignorableWhitespace(String ch); + public native boolean processingInstruction(String target, String data); + public native boolean skippedEntity(String name); + public native String errorString(); +} diff --git a/qtjava/javalib/org/kde/qt/TQXmlContentHandlerInterface.java b/qtjava/javalib/org/kde/qt/TQXmlContentHandlerInterface.java new file mode 100644 index 00000000..412b60f9 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQXmlContentHandlerInterface.java @@ -0,0 +1,18 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQXmlContentHandlerInterface { + void setDocumentLocator(TQXmlLocator locator); + boolean startDocument(); + boolean endDocument(); + boolean startPrefixMapping(String prefix, String uri); + boolean endPrefixMapping(String prefix); + boolean startElement(String namespaceURI, String localName, String qName, TQXmlAttributes atts); + boolean endElement(String namespaceURI, String localName, String qName); + boolean characters(String ch); + boolean ignorableWhitespace(String ch); + boolean processingInstruction(String target, String data); + boolean skippedEntity(String name); + String errorString(); +} diff --git a/qtjava/javalib/org/kde/qt/TQXmlDTDHandler.java b/qtjava/javalib/org/kde/qt/TQXmlDTDHandler.java new file mode 100644 index 00000000..2351b82e --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQXmlDTDHandler.java @@ -0,0 +1,14 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQXmlDTDHandler implements QtSupport, TQXmlDTDHandlerInterface { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQXmlDTDHandler(Class dummy){} + + public native boolean notationDecl(String name, String publicId, String systemId); + public native boolean unparsedEntityDecl(String name, String publicId, String systemId, String notationName); + public native String errorString(); +} diff --git a/qtjava/javalib/org/kde/qt/TQXmlDTDHandlerInterface.java b/qtjava/javalib/org/kde/qt/TQXmlDTDHandlerInterface.java new file mode 100644 index 00000000..15afd57b --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQXmlDTDHandlerInterface.java @@ -0,0 +1,9 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQXmlDTDHandlerInterface { + boolean notationDecl(String name, String publicId, String systemId); + boolean unparsedEntityDecl(String name, String publicId, String systemId, String notationName); + String errorString(); +} diff --git a/qtjava/javalib/org/kde/qt/TQXmlDeclHandler.java b/qtjava/javalib/org/kde/qt/TQXmlDeclHandler.java new file mode 100644 index 00000000..0ce9a04b --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQXmlDeclHandler.java @@ -0,0 +1,15 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQXmlDeclHandler implements QtSupport, TQXmlDeclHandlerInterface { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQXmlDeclHandler(Class dummy){} + + public native boolean attributeDecl(String eName, String aName, String type, String valueDefault, String value); + public native boolean internalEntityDecl(String name, String value); + public native boolean externalEntityDecl(String name, String publicId, String systemId); + public native String errorString(); +} diff --git a/qtjava/javalib/org/kde/qt/TQXmlDeclHandlerInterface.java b/qtjava/javalib/org/kde/qt/TQXmlDeclHandlerInterface.java new file mode 100644 index 00000000..02d389ce --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQXmlDeclHandlerInterface.java @@ -0,0 +1,10 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQXmlDeclHandlerInterface { + boolean attributeDecl(String eName, String aName, String type, String valueDefault, String value); + boolean internalEntityDecl(String name, String value); + boolean externalEntityDecl(String name, String publicId, String systemId); + String errorString(); +} diff --git a/qtjava/javalib/org/kde/qt/TQXmlDefaultHandler.java b/qtjava/javalib/org/kde/qt/TQXmlDefaultHandler.java new file mode 100644 index 00000000..eba6da8e --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQXmlDefaultHandler.java @@ -0,0 +1,47 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQXmlDefaultHandler extends TQXmlLexicalHandler implements TQXmlContentHandlerInterface, TQXmlDTDHandlerInterface, TQXmlDeclHandlerInterface, TQXmlEntityResolverInterface, TQXmlErrorHandlerInterface, TQXmlLexicalHandlerInterface { + protected TQXmlDefaultHandler(Class dummy){super((Class) null);} + public TQXmlDefaultHandler() { + super((Class) null); + newTQXmlDefaultHandler(); + } + private native void newTQXmlDefaultHandler(); + public native void setDocumentLocator(TQXmlLocator locator); + public native boolean startDocument(); + public native boolean endDocument(); + public native boolean startPrefixMapping(String prefix, String uri); + public native boolean endPrefixMapping(String prefix); + public native boolean startElement(String namespaceURI, String localName, String qName, TQXmlAttributes atts); + public native boolean endElement(String namespaceURI, String localName, String qName); + public native boolean characters(String ch); + public native boolean ignorableWhitespace(String ch); + public native boolean processingInstruction(String target, String data); + public native boolean skippedEntity(String name); + public native boolean warning(TQXmlParseException exception); + public native boolean error(TQXmlParseException exception); + public native boolean fatalError(TQXmlParseException exception); + public native boolean notationDecl(String name, String publicId, String systemId); + public native boolean unparsedEntityDecl(String name, String publicId, String systemId, String notationName); + public native boolean resolveEntity(String publicId, String systemId, TQXmlInputSource ret); + public native boolean startDTD(String name, String publicId, String systemId); + public native boolean endDTD(); + public native boolean startEntity(String name); + public native boolean endEntity(String name); + public native boolean startCDATA(); + public native boolean endCDATA(); + public native boolean comment(String ch); + public native boolean attributeDecl(String eName, String aName, String type, String valueDefault, String value); + public native boolean internalEntityDecl(String name, String value); + public native boolean externalEntityDecl(String name, String publicId, String systemId); + public native String errorString(); + /** 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/qtjava/javalib/org/kde/qt/TQXmlEntityResolver.java b/qtjava/javalib/org/kde/qt/TQXmlEntityResolver.java new file mode 100644 index 00000000..4c4702ef --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQXmlEntityResolver.java @@ -0,0 +1,13 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQXmlEntityResolver implements QtSupport, TQXmlEntityResolverInterface { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQXmlEntityResolver(Class dummy){} + + public native boolean resolveEntity(String publicId, String systemId, TQXmlInputSource ret); + public native String errorString(); +} diff --git a/qtjava/javalib/org/kde/qt/TQXmlEntityResolverInterface.java b/qtjava/javalib/org/kde/qt/TQXmlEntityResolverInterface.java new file mode 100644 index 00000000..d18812ba --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQXmlEntityResolverInterface.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQXmlEntityResolverInterface { + boolean resolveEntity(String publicId, String systemId, TQXmlInputSource ret); + String errorString(); +} diff --git a/qtjava/javalib/org/kde/qt/TQXmlErrorHandler.java b/qtjava/javalib/org/kde/qt/TQXmlErrorHandler.java new file mode 100644 index 00000000..c3defac4 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQXmlErrorHandler.java @@ -0,0 +1,15 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQXmlErrorHandler implements QtSupport, TQXmlErrorHandlerInterface { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQXmlErrorHandler(Class dummy){} + + public native boolean warning(TQXmlParseException exception); + public native boolean error(TQXmlParseException exception); + public native boolean fatalError(TQXmlParseException exception); + public native String errorString(); +} diff --git a/qtjava/javalib/org/kde/qt/TQXmlErrorHandlerInterface.java b/qtjava/javalib/org/kde/qt/TQXmlErrorHandlerInterface.java new file mode 100644 index 00000000..6fefc304 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQXmlErrorHandlerInterface.java @@ -0,0 +1,10 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQXmlErrorHandlerInterface { + boolean warning(TQXmlParseException exception); + boolean error(TQXmlParseException exception); + boolean fatalError(TQXmlParseException exception); + String errorString(); +} diff --git a/qtjava/javalib/org/kde/qt/TQXmlInputSource.java b/qtjava/javalib/org/kde/qt/TQXmlInputSource.java new file mode 100644 index 00000000..9e8648be --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQXmlInputSource.java @@ -0,0 +1,41 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQXmlInputSource implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQXmlInputSource(Class dummy){} + + public TQXmlInputSource() { + newTQXmlInputSource(); + } + private native void newTQXmlInputSource(); + public TQXmlInputSource(TQIODeviceInterface dev) { + newTQXmlInputSource(dev); + } + private native void newTQXmlInputSource(TQIODeviceInterface dev); + public TQXmlInputSource(TQFile file) { + newTQXmlInputSource(file); + } + private native void newTQXmlInputSource(TQFile file); + public TQXmlInputSource(TQTextStream stream) { + newTQXmlInputSource(stream); + } + private native void newTQXmlInputSource(TQTextStream stream); + public native void setData(String dat); + public native void setData(byte[] dat); + public native void fetchData(); + public native String data(); + public native char next(); + public native void reset(); + protected native String fromRawData(byte[] data, boolean beginning); + protected native String fromRawData(byte[] data); + /** 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/qtjava/javalib/org/kde/qt/TQXmlLexicalHandler.java b/qtjava/javalib/org/kde/qt/TQXmlLexicalHandler.java new file mode 100644 index 00000000..fcc6afe9 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQXmlLexicalHandler.java @@ -0,0 +1,19 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQXmlLexicalHandler implements QtSupport, TQXmlLexicalHandlerInterface { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQXmlLexicalHandler(Class dummy){} + + public native boolean startDTD(String name, String publicId, String systemId); + public native boolean endDTD(); + public native boolean startEntity(String name); + public native boolean endEntity(String name); + public native boolean startCDATA(); + public native boolean endCDATA(); + public native boolean comment(String ch); + public native String errorString(); +} diff --git a/qtjava/javalib/org/kde/qt/TQXmlLexicalHandlerInterface.java b/qtjava/javalib/org/kde/qt/TQXmlLexicalHandlerInterface.java new file mode 100644 index 00000000..2623395c --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQXmlLexicalHandlerInterface.java @@ -0,0 +1,14 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + + +public interface TQXmlLexicalHandlerInterface { + boolean startDTD(String name, String publicId, String systemId); + boolean endDTD(); + boolean startEntity(String name); + boolean endEntity(String name); + boolean startCDATA(); + boolean endCDATA(); + boolean comment(String ch); + String errorString(); +} diff --git a/qtjava/javalib/org/kde/qt/TQXmlLocator.java b/qtjava/javalib/org/kde/qt/TQXmlLocator.java new file mode 100644 index 00000000..a36602e9 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQXmlLocator.java @@ -0,0 +1,13 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQXmlLocator implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQXmlLocator(Class dummy){} + + public native int columnNumber(); + public native int lineNumber(); +} diff --git a/qtjava/javalib/org/kde/qt/TQXmlNamespaceSupport.java b/qtjava/javalib/org/kde/qt/TQXmlNamespaceSupport.java new file mode 100644 index 00000000..233f3834 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQXmlNamespaceSupport.java @@ -0,0 +1,32 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +public class TQXmlNamespaceSupport implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQXmlNamespaceSupport(Class dummy){} + + public TQXmlNamespaceSupport() { + newTQXmlNamespaceSupport(); + } + private native void newTQXmlNamespaceSupport(); + public native void setPrefix(String arg1, String arg2); + public native String prefix(String arg1); + public native String uri(String arg1); + public native void splitName(String arg1, StringBuffer arg2, StringBuffer arg3); + public native void processName(String arg1, boolean arg2, StringBuffer arg3, StringBuffer arg4); + public native ArrayList prefixes(); + public native ArrayList prefixes(String arg1); + public native void pushContext(); + public native void popContext(); + public native void reset(); + /** 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/qtjava/javalib/org/kde/qt/TQXmlParseException.java b/qtjava/javalib/org/kde/qt/TQXmlParseException.java new file mode 100644 index 00000000..23cafe52 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQXmlParseException.java @@ -0,0 +1,46 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQXmlParseException implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQXmlParseException(Class dummy){} + + public TQXmlParseException(String name, int c, int l, String p, String s) { + newTQXmlParseException(name,c,l,p,s); + } + private native void newTQXmlParseException(String name, int c, int l, String p, String s); + public TQXmlParseException(String name, int c, int l, String p) { + newTQXmlParseException(name,c,l,p); + } + private native void newTQXmlParseException(String name, int c, int l, String p); + public TQXmlParseException(String name, int c, int l) { + newTQXmlParseException(name,c,l); + } + private native void newTQXmlParseException(String name, int c, int l); + public TQXmlParseException(String name, int c) { + newTQXmlParseException(name,c); + } + private native void newTQXmlParseException(String name, int c); + public TQXmlParseException(String name) { + newTQXmlParseException(name); + } + private native void newTQXmlParseException(String name); + public TQXmlParseException() { + newTQXmlParseException(); + } + private native void newTQXmlParseException(); + public native int columnNumber(); + public native int lineNumber(); + public native String publicId(); + public native String systemId(); + public native String message(); + /** 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/qtjava/javalib/org/kde/qt/TQXmlReader.java b/qtjava/javalib/org/kde/qt/TQXmlReader.java new file mode 100644 index 00000000..611ef863 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQXmlReader.java @@ -0,0 +1,32 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQXmlReader implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQXmlReader(Class dummy){} + + public native boolean feature(String name, boolean[] ok); + public native boolean feature(String name); + public native void setFeature(String name, boolean value); + public native boolean hasFeature(String name); + // void* property(const TQString& arg1,bool* arg2); >>>> NOT CONVERTED + // void* property(const TQString& arg1); >>>> NOT CONVERTED + // void setProperty(const TQString& arg1,void* arg2); >>>> NOT CONVERTED + public native boolean hasProperty(String name); + public native void setEntityResolver(TQXmlEntityResolverInterface handler); + public native TQXmlEntityResolverInterface entityResolver(); + public native void setDTDHandler(TQXmlDTDHandlerInterface handler); + public native TQXmlDTDHandlerInterface DTDHandler(); + public native void setContentHandler(TQXmlContentHandlerInterface handler); + public native TQXmlContentHandlerInterface contentHandler(); + public native void setErrorHandler(TQXmlErrorHandlerInterface handler); + public native TQXmlErrorHandlerInterface errorHandler(); + public native void setLexicalHandler(TQXmlLexicalHandlerInterface handler); + public native TQXmlLexicalHandlerInterface lexicalHandler(); + public native void setDeclHandler(TQXmlDeclHandlerInterface handler); + public native TQXmlDeclHandlerInterface declHandler(); + public native boolean parse(TQXmlInputSource input); +} diff --git a/qtjava/javalib/org/kde/qt/TQXmlSimpleReader.java b/qtjava/javalib/org/kde/qt/TQXmlSimpleReader.java new file mode 100644 index 00000000..6254f207 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQXmlSimpleReader.java @@ -0,0 +1,42 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQXmlSimpleReader extends TQXmlReader { + protected TQXmlSimpleReader(Class dummy){super((Class) null);} + public TQXmlSimpleReader() { + super((Class) null); + newTQXmlSimpleReader(); + } + private native void newTQXmlSimpleReader(); + public native boolean feature(String name, boolean[] ok); + public native boolean feature(String name); + public native void setFeature(String name, boolean value); + public native boolean hasFeature(String name); + // void* property(const TQString& arg1,bool* arg2); >>>> NOT CONVERTED + // void* property(const TQString& arg1); >>>> NOT CONVERTED + // void setProperty(const TQString& arg1,void* arg2); >>>> NOT CONVERTED + public native boolean hasProperty(String name); + public native void setEntityResolver(TQXmlEntityResolverInterface handler); + public native TQXmlEntityResolverInterface entityResolver(); + public native void setDTDHandler(TQXmlDTDHandlerInterface handler); + public native TQXmlDTDHandlerInterface DTDHandler(); + public native void setContentHandler(TQXmlContentHandlerInterface handler); + public native TQXmlContentHandlerInterface contentHandler(); + public native void setErrorHandler(TQXmlErrorHandlerInterface handler); + public native TQXmlErrorHandlerInterface errorHandler(); + public native void setLexicalHandler(TQXmlLexicalHandlerInterface handler); + public native TQXmlLexicalHandlerInterface lexicalHandler(); + public native void setDeclHandler(TQXmlDeclHandlerInterface handler); + public native TQXmlDeclHandlerInterface declHandler(); + public native boolean parse(TQXmlInputSource input); + public native boolean parse(TQXmlInputSource input, boolean incremental); + public native boolean parseContinue(); + /** 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/qtjava/javalib/qtjava/Makefile.am b/qtjava/javalib/qtjava/Makefile.am index 34aaaf27..fa62f0c7 100644 --- a/qtjava/javalib/qtjava/Makefile.am +++ b/qtjava/javalib/qtjava/Makefile.am @@ -9,16 +9,16 @@ jnilocdir = $(libdir)/jni AM_LDFLAGS = -libqtjava_la_SOURCES = QSyntaxHighlighter.cpp QToolBox.cpp QSplashScreen.cpp QSpinWidget.cpp QHttpResponseHeader.cpp QHttpRequestHeader.cpp QHttpHeader.cpp QEventLoop.cpp QGLWidget.cpp QGLFormat.cpp QGLContext.cpp QGL.cpp QGb18030Codec.cpp QXmlSimpleReader.cpp QXmlReader.cpp QXmlParseException.cpp QXmlNamespaceSupport.cpp QXmlLocator.cpp QXmlLexicalHandler.cpp QXmlInputSource.cpp QXmlErrorHandler.cpp QXmlEntityResolver.cpp QXmlDTDHandler.cpp QXmlDefaultHandler.cpp QXmlDeclHandler.cpp QXmlContentHandler.cpp QXmlAttributes.cpp QWorkspace.cpp QWMatrix.cpp QWizard.cpp QWidgetStack.cpp QWidgetItem.cpp QWidget.cpp QWheelEvent.cpp QWhatsThis.cpp QVGroupBox.cpp QVButtonGroup.cpp QVBoxLayout.cpp QVBox.cpp QVariant.cpp QValidator.cpp QUuid.cpp QUtf8Codec.cpp QUtf16Codec.cpp QUrlOperator.cpp QUrlInfo.cpp QUrl.cpp QUriDrag.cpp QTsciiCodec.cpp QTranslatorMessage.cpp QTranslator.cpp QToolTipGroup.cpp QToolTip.cpp QToolButton.cpp QToolBar.cpp qtjava.cpp QTimerEvent.cpp QTimer.cpp QTimeEdit.cpp QTextView.cpp QTextStream.cpp QTextOStream.cpp QTextIStream.cpp QTextEncoder.cpp QTextEdit.cpp QTextDrag.cpp QTextDecoder.cpp QTextCodec.cpp QTextBrowser.cpp QTabWidget.cpp QTabletEvent.cpp QTableSelection.cpp QTableItem.cpp QTable.cpp QTabDialog.cpp QTabBar.cpp QTab.cpp Qt.cpp QStyleOption.cpp QStyleSheetItem.cpp QStyleSheet.cpp QStyleFactory.cpp QStyle.cpp QStoredDrag.cpp QStatusBar.cpp QSqlResult.cpp QSqlRecord.cpp QSqlQuery.cpp QSqlPropertyMap.cpp QSqlIndex.cpp QSqlForm.cpp QSqlFieldInfo.cpp QSqlField.cpp QSqlError.cpp QSqlEditorFactory.cpp QSqlDriver.cpp QSqlDatabase.cpp QSqlCursor.cpp QSql.cpp QSplitter.cpp QSpinBox.cpp QSpacerItem.cpp QSound.cpp QSocketNotifier.cpp QSocketDevice.cpp QSocket.cpp QSlider.cpp QSjisCodec.cpp QSizePolicy.cpp QSizeGrip.cpp QSize.cpp QSimpleRichText.cpp QSignalMapper.cpp QSignal.cpp QShowEvent.cpp QSettings.cpp QSessionManager.cpp QServerSocket.cpp QSemiModal.cpp QScrollView.cpp QScrollBar.cpp QResizeEvent.cpp QRegion.cpp QRegExpValidator.cpp QRegExp.cpp QRect.cpp QRangeControl.cpp QRadioButton.cpp QPushButton.cpp QProgressDialog.cpp QProgressBar.cpp QProcess.cpp QPrinter.cpp QPrintDialog.cpp QPopupMenu.cpp QPolygonScanner.cpp QPointArray.cpp QPoint.cpp QPixmap.cpp QPicture.cpp QPen.cpp QPalette.cpp QPaintEvent.cpp QPainter.cpp QPaintDeviceMetrics.cpp QPaintDevice.cpp QObjectCleanupHandler.cpp QObject.cpp QNetworkProtocol.cpp QNetworkOperation.cpp QMultiLineEdit.cpp QMovie.cpp QMoveEvent.cpp QMouseEvent.cpp QMimeSourceFactory.cpp QMimeSource.cpp QMetaProperty.cpp QMetaObject.cpp QMetaEnum.cpp QMetaData.cpp QMessageBox.cpp QMenuItem.cpp QMenuData.cpp QMenuBar.cpp QMainWindow.cpp QLocalFs.cpp QListViewItem.cpp QListView.cpp QListBoxText.cpp QListBoxPixmap.cpp QListBoxItem.cpp QListBox.cpp QLineEdit.cpp QLibrary.cpp QLCDNumber.cpp QLayoutItem.cpp QLayout.cpp QLabel.cpp QKeySequence.cpp QKeyEvent.cpp QJpUnicodeConv.cpp QJisCodec.cpp QIODeviceSource.cpp QIODevice.cpp QIntValidator.cpp QInputDialog.cpp QIMEvent.cpp QImageIO.cpp QImageFormatType.cpp QImageFormat.cpp QImageDrag.cpp QImageDecoder.cpp QImageConsumer.cpp QImage.cpp QIconViewItem.cpp QIconView.cpp QIconSet.cpp QIconDragItem.cpp QIconDrag.cpp QHttp.cpp QHostAddress.cpp QHideEvent.cpp QHGroupBox.cpp QHebrewCodec.cpp QHeader.cpp QHButtonGroup.cpp QHBoxLayout.cpp QHBox.cpp QGroupBox.cpp QGridView.cpp QGridLayout.cpp QGrid.cpp QFtp.cpp QFrame.cpp QFontMetrics.cpp QFontInfo.cpp QFontDialog.cpp QFontDatabase.cpp QFont.cpp QFocusEvent.cpp QFocusData.cpp QFilePreview.cpp QFileInfo.cpp QFileIconProvider.cpp QFileDialog.cpp QFile.cpp QEvent.cpp QEucKrCodec.cpp QEucJpCodec.cpp QErrorMessage.cpp QEditorFactory.cpp QDropSite.cpp QDropEvent.cpp QDragResponseEvent.cpp QDragObject.cpp QDragMoveEvent.cpp QDragManager.cpp QDragLeaveEvent.cpp QDragEnterEvent.cpp QDoubleValidator.cpp QDomText.cpp QDomProcessingInstruction.cpp QDomNotation.cpp QDomNode.cpp QDomNamedNodeMap.cpp QDomImplementation.cpp QDomEntityReference.cpp QDomEntity.cpp QDomElement.cpp QDomDocumentType.cpp QDomDocumentFragment.cpp QDomDocument.cpp QDomComment.cpp QDomCharacterData.cpp QDomCDATASection.cpp QDomAttr.cpp QDockWindow.cpp QDockArea.cpp QDir.cpp QDialog.cpp QDial.cpp QDesktopWidget.cpp QDateTimeEditBase.cpp QDateTimeEdit.cpp QDateEdit.cpp QDataView.cpp QDataTable.cpp QDataStream.cpp QDataSource.cpp QDataSink.cpp QDataPump.cpp QDataBrowser.cpp QCustomMenuItem.cpp QCustomEvent.cpp QCursor.cpp QContextMenuEvent.cpp QComboTableItem.cpp QComboBox.cpp QColorGroup.cpp QColorDrag.cpp QColorDialog.cpp QColor.cpp QCloseEvent.cpp QClipboard.cpp QClassInfo.cpp QChildEvent.cpp QCheckTableItem.cpp QCheckListItem.cpp QCheckBox.cpp QCanvasView.cpp QCanvasText.cpp QCanvasSprite.cpp QCanvasSpline.cpp QCanvasRectangle.cpp QCanvasPolygonalItem.cpp QCanvasPolygon.cpp QCanvasPixmapArray.cpp QCanvasPixmap.cpp QCanvasLine.cpp QCanvasItem.cpp QCanvasEllipse.cpp QCanvas.cpp QButtonGroup.cpp QButton.cpp QBuffer.cpp QBrush.cpp QBoxLayout.cpp QBitmap.cpp QAuServer.cpp QAsyncIO.cpp QApplication.cpp QActionGroup.cpp QAction.cpp QAccel.cpp +libqtjava_la_SOURCES = TQSyntaxHighlighter.cpp TQToolBox.cpp TQSplashScreen.cpp TQSpinWidget.cpp TQHttpResponseHeader.cpp TQHttpRequestHeader.cpp TQHttpHeader.cpp TQEventLoop.cpp TQGLWidget.cpp TQGLFormat.cpp TQGLContext.cpp TQGL.cpp TQGb18030Codec.cpp TQXmlSimpleReader.cpp TQXmlReader.cpp TQXmlParseException.cpp TQXmlNamespaceSupport.cpp TQXmlLocator.cpp TQXmlLexicalHandler.cpp TQXmlInputSource.cpp TQXmlErrorHandler.cpp TQXmlEntityResolver.cpp TQXmlDTDHandler.cpp TQXmlDefaultHandler.cpp TQXmlDeclHandler.cpp TQXmlContentHandler.cpp TQXmlAttributes.cpp TQWorkspace.cpp TQWMatrix.cpp TQWizard.cpp TQWidgetStack.cpp TQWidgetItem.cpp TQWidget.cpp TQWheelEvent.cpp TQWhatsThis.cpp TQVGroupBox.cpp TQVButtonGroup.cpp TQVBoxLayout.cpp TQVBox.cpp TQVariant.cpp TQValidator.cpp TQUuid.cpp TQUtf8Codec.cpp TQUtf16Codec.cpp TQUrlOperator.cpp TQUrlInfo.cpp TQUrl.cpp TQUriDrag.cpp TQTsciiCodec.cpp TQTranslatorMessage.cpp TQTranslator.cpp TQToolTipGroup.cpp TQToolTip.cpp TQToolButton.cpp TQToolBar.cpp qtjava.cpp TQTimerEvent.cpp TQTimer.cpp TQTimeEdit.cpp TQTextView.cpp TQTextStream.cpp TQTextOStream.cpp TQTextIStream.cpp TQTextEncoder.cpp TQTextEdit.cpp TQTextDrag.cpp TQTextDecoder.cpp TQTextCodec.cpp TQTextBrowser.cpp TQTabWidget.cpp TQTabletEvent.cpp TQTableSelection.cpp TQTableItem.cpp TQTable.cpp TQTabDialog.cpp TQTabBar.cpp TQTab.cpp Qt.cpp TQStyleOption.cpp TQStyleSheetItem.cpp TQStyleSheet.cpp TQStyleFactory.cpp TQStyle.cpp TQStoredDrag.cpp TQStatusBar.cpp TQSqlResult.cpp TQSqlRecord.cpp TQSqlQuery.cpp TQSqlPropertyMap.cpp TQSqlIndex.cpp TQSqlForm.cpp TQSqlFieldInfo.cpp TQSqlField.cpp TQSqlError.cpp TQSqlEditorFactory.cpp TQSqlDriver.cpp TQSqlDatabase.cpp TQSqlCursor.cpp TQSql.cpp TQSplitter.cpp TQSpinBox.cpp TQSpacerItem.cpp TQSound.cpp TQSocketNotifier.cpp TQSocketDevice.cpp TQSocket.cpp TQSlider.cpp TQSjisCodec.cpp TQSizePolicy.cpp TQSizeGrip.cpp TQSize.cpp TQSimpleRichText.cpp TQSignalMapper.cpp TQSignal.cpp TQShowEvent.cpp TQSettings.cpp TQSessionManager.cpp TQServerSocket.cpp TQSemiModal.cpp TQScrollView.cpp TQScrollBar.cpp TQResizeEvent.cpp TQRegion.cpp TQRegExpValidator.cpp TQRegExp.cpp TQRect.cpp TQRangeControl.cpp TQRadioButton.cpp TQPushButton.cpp TQProgressDialog.cpp TQProgressBar.cpp TQProcess.cpp TQPrinter.cpp TQPrintDialog.cpp TQPopupMenu.cpp TQPolygonScanner.cpp TQPointArray.cpp TQPoint.cpp TQPixmap.cpp TQPicture.cpp TQPen.cpp TQPalette.cpp TQPaintEvent.cpp TQPainter.cpp TQPaintDeviceMetrics.cpp TQPaintDevice.cpp TQObjectCleanupHandler.cpp TQObject.cpp TQNetworkProtocol.cpp TQNetworkOperation.cpp TQMultiLineEdit.cpp TQMovie.cpp TQMoveEvent.cpp TQMouseEvent.cpp TQMimeSourceFactory.cpp TQMimeSource.cpp TQMetaProperty.cpp TQMetaObject.cpp TQMetaEnum.cpp TQMetaData.cpp TQMessageBox.cpp TQMenuItem.cpp TQMenuData.cpp TQMenuBar.cpp TQMainWindow.cpp TQLocalFs.cpp TQListViewItem.cpp TQListView.cpp TQListBoxText.cpp TQListBoxPixmap.cpp TQListBoxItem.cpp TQListBox.cpp TQLineEdit.cpp TQLibrary.cpp TQLCDNumber.cpp TQLayoutItem.cpp TQLayout.cpp TQLabel.cpp TQKeySequence.cpp TQKeyEvent.cpp TQJpUnicodeConv.cpp TQJisCodec.cpp TQIODeviceSource.cpp TQIODevice.cpp TQIntValidator.cpp TQInputDialog.cpp TQIMEvent.cpp TQImageIO.cpp TQImageFormatType.cpp TQImageFormat.cpp TQImageDrag.cpp TQImageDecoder.cpp TQImageConsumer.cpp TQImage.cpp TQIconViewItem.cpp TQIconView.cpp TQIconSet.cpp TQIconDragItem.cpp TQIconDrag.cpp TQHttp.cpp TQHostAddress.cpp TQHideEvent.cpp TQHGroupBox.cpp TQHebrewCodec.cpp TQHeader.cpp TQHButtonGroup.cpp TQHBoxLayout.cpp TQHBox.cpp TQGroupBox.cpp TQGridView.cpp TQGridLayout.cpp TQGrid.cpp TQFtp.cpp TQFrame.cpp TQFontMetrics.cpp TQFontInfo.cpp TQFontDialog.cpp TQFontDatabase.cpp TQFont.cpp TQFocusEvent.cpp TQFocusData.cpp TQFilePreview.cpp TQFileInfo.cpp TQFileIconProvider.cpp TQFileDialog.cpp TQFile.cpp TQEvent.cpp TQEucKrCodec.cpp TQEucJpCodec.cpp TQErrorMessage.cpp TQEditorFactory.cpp TQDropSite.cpp TQDropEvent.cpp TQDragResponseEvent.cpp TQDragObject.cpp TQDragMoveEvent.cpp TQDragManager.cpp TQDragLeaveEvent.cpp TQDragEnterEvent.cpp TQDoubleValidator.cpp TQDomText.cpp TQDomProcessingInstruction.cpp TQDomNotation.cpp TQDomNode.cpp TQDomNamedNodeMap.cpp TQDomImplementation.cpp TQDomEntityReference.cpp TQDomEntity.cpp TQDomElement.cpp TQDomDocumentType.cpp TQDomDocumentFragment.cpp TQDomDocument.cpp TQDomComment.cpp TQDomCharacterData.cpp TQDomCDATASection.cpp TQDomAttr.cpp TQDockWindow.cpp TQDockArea.cpp TQDir.cpp TQDialog.cpp TQDial.cpp TQDesktopWidget.cpp TQDateTimeEditBase.cpp TQDateTimeEdit.cpp TQDateEdit.cpp TQDataView.cpp TQDataTable.cpp TQDataStream.cpp TQDataSource.cpp TQDataSink.cpp TQDataPump.cpp TQDataBrowser.cpp TQCustomMenuItem.cpp TQCustomEvent.cpp TQCursor.cpp TQContextMenuEvent.cpp TQComboTableItem.cpp TQComboBox.cpp TQColorGroup.cpp TQColorDrag.cpp TQColorDialog.cpp TQColor.cpp TQCloseEvent.cpp TQClipboard.cpp TQClassInfo.cpp TQChildEvent.cpp TQCheckTableItem.cpp TQCheckListItem.cpp TQCheckBox.cpp TQCanvasView.cpp TQCanvasText.cpp TQCanvasSprite.cpp TQCanvasSpline.cpp TQCanvasRectangle.cpp TQCanvasPolygonalItem.cpp TQCanvasPolygon.cpp TQCanvasPixmapArray.cpp TQCanvasPixmap.cpp TQCanvasLine.cpp TQCanvasItem.cpp TQCanvasEllipse.cpp TQCanvas.cpp TQButtonGroup.cpp TQButton.cpp TQBuffer.cpp TQBrush.cpp TQBoxLayout.cpp TQBitmap.cpp TQAuServer.cpp TQAsyncIO.cpp TQApplication.cpp TQActionGroup.cpp TQAction.cpp TQAccel.cpp KDE_OPTIONS = qtonly -EXTRA_DIST = JavaSlot.cpp JavaSlot.h QAccel.cpp QAccel.h QAction.cpp QAction.h QActionGroup.cpp QActionGroup.h QApplication.cpp QApplication.h QAsyncIO.cpp QAsyncIO.h QAuServer.cpp QAuServer.h QBitmap.cpp QBitmap.h QBoxLayout.cpp QBoxLayout.h QBrush.cpp QBrush.h QBuffer.cpp QBuffer.h QButton.cpp QButton.h QButtonGroup.cpp QButtonGroup.h QCanvas.cpp QCanvas.h QCanvasEllipse.cpp QCanvasEllipse.h QCanvasItem.cpp QCanvasItem.h QCanvasLine.cpp QCanvasLine.h QCanvasPixmap.cpp QCanvasPixmap.h QCanvasPixmapArray.cpp QCanvasPixmapArray.h QCanvasPolygon.cpp QCanvasPolygon.h QCanvasPolygonalItem.cpp QCanvasPolygonalItem.h QCanvasRectangle.cpp QCanvasRectangle.h QCanvasSpline.cpp QCanvasSpline.h QCanvasSprite.cpp QCanvasSprite.h QCanvasText.cpp QCanvasText.h QCanvasView.cpp QCanvasView.h QCheckBox.cpp QCheckBox.h QCheckListItem.cpp QCheckListItem.h QCheckTableItem.cpp QCheckTableItem.h QChildEvent.cpp QChildEvent.h QClassInfo.cpp QClassInfo.h QClipboard.cpp QClipboard.h QCloseEvent.cpp QCloseEvent.h QColor.cpp QColor.h QColorDialog.cpp QColorDialog.h QColorDrag.cpp QColorDrag.h QColorGroup.cpp QColorGroup.h QComboBox.cpp QComboBox.h QComboTableItem.cpp QComboTableItem.h QContextMenuEvent.cpp QContextMenuEvent.h QCursor.cpp QCursor.h QCustomEvent.cpp QCustomEvent.h QCustomMenuItem.cpp QCustomMenuItem.h QDataBrowser.cpp QDataBrowser.h QDataPump.cpp QDataPump.h QDataSink.cpp QDataSink.h QDataSource.cpp QDataSource.h QDataStream.cpp QDataStream.h QDataTable.cpp QDataTable.h QDataView.cpp QDataView.h QDateEdit.cpp QDateEdit.h QDateTimeEdit.cpp QDateTimeEdit.h QDateTimeEditBase.cpp QDateTimeEditBase.h QDesktopWidget.cpp QDesktopWidget.h QDial.cpp QDial.h QDialog.cpp QDialog.h QDir.cpp QDir.h QDockArea.cpp QDockArea.h QDockWindow.cpp QDockWindow.h QDomAttr.cpp QDomAttr.h QDomCDATASection.cpp QDomCDATASection.h QDomCharacterData.cpp QDomCharacterData.h QDomComment.cpp QDomComment.h QDomDocument.cpp QDomDocument.h QDomDocumentFragment.cpp QDomDocumentFragment.h QDomDocumentType.cpp QDomDocumentType.h QDomElement.cpp QDomElement.h QDomEntity.cpp QDomEntity.h QDomEntityReference.cpp QDomEntityReference.h QDomImplementation.cpp QDomImplementation.h QDomNamedNodeMap.cpp QDomNamedNodeMap.h QDomNode.cpp QDomNode.h QDomNotation.cpp QDomNotation.h QDomProcessingInstruction.cpp QDomProcessingInstruction.h QDomText.cpp QDomText.h QDoubleValidator.cpp QDoubleValidator.h QDragEnterEvent.cpp QDragEnterEvent.h QDragLeaveEvent.cpp QDragLeaveEvent.h QDragManager.cpp QDragManager.h QDragMoveEvent.cpp QDragMoveEvent.h QDragObject.cpp QDragObject.h QDragResponseEvent.cpp QDragResponseEvent.h QDropEvent.cpp QDropEvent.h QDropSite.cpp QDropSite.h QEditorFactory.cpp QEditorFactory.h QErrorMessage.cpp QErrorMessage.h QEucJpCodec.cpp QEucJpCodec.h QEucKrCodec.cpp QEucKrCodec.h QEvent.cpp QEvent.h QFile.cpp QFile.h QFileDialog.cpp QFileDialog.h QFileIconProvider.cpp QFileIconProvider.h QFileInfo.cpp QFileInfo.h QFilePreview.cpp QFilePreview.h QFocusData.cpp QFocusData.h QFocusEvent.cpp QFocusEvent.h QFont.cpp QFont.h QFontDatabase.cpp QFontDatabase.h QFontDialog.cpp QFontDialog.h QFontInfo.cpp QFontInfo.h QFontMetrics.cpp QFontMetrics.h QFrame.cpp QFrame.h QFtp.cpp QFtp.h QGrid.cpp QGrid.h QGridLayout.cpp QGridLayout.h QGridView.cpp QGridView.h QGroupBox.cpp QGroupBox.h QHBox.cpp QHBox.h QHBoxLayout.cpp QHBoxLayout.h QHButtonGroup.cpp QHButtonGroup.h QHeader.cpp QHeader.h QHebrewCodec.cpp QHebrewCodec.h QHGroupBox.cpp QHGroupBox.h QHideEvent.cpp QHideEvent.h QHostAddress.cpp QHostAddress.h QHttp.cpp QHttp.h QIconDrag.cpp QIconDrag.h QIconDragItem.cpp QIconDragItem.h QIconSet.cpp QIconSet.h QIconView.cpp QIconView.h QIconViewItem.cpp QIconViewItem.h QImage.cpp QImage.h QImageConsumer.cpp QImageConsumer.h QImageDecoder.cpp QImageDecoder.h QImageDrag.cpp QImageDrag.h QImageFormat.cpp QImageFormat.h QImageFormatType.cpp QImageFormatType.h QImageIO.cpp QImageIO.h QIMEvent.cpp QIMEvent.h QInputDialog.cpp QInputDialog.h QIntValidator.cpp QIntValidator.h QIODevice.cpp QIODevice.h QIODeviceSource.cpp QIODeviceSource.h QJisCodec.cpp QJisCodec.h QJpUnicodeConv.cpp QJpUnicodeConv.h QKeyEvent.cpp QKeyEvent.h QKeySequence.cpp QKeySequence.h QLabel.cpp QLabel.h QLayout.cpp QLayout.h QLayoutItem.cpp QLayoutItem.h QLCDNumber.cpp QLCDNumber.h QLibrary.cpp QLibrary.h QLineEdit.cpp QLineEdit.h QListBox.cpp QListBox.h QListBoxItem.cpp QListBoxItem.h QListBoxPixmap.cpp QListBoxPixmap.h QListBoxText.cpp QListBoxText.h QListView.cpp QListView.h QListViewItem.cpp QListViewItem.h QLocalFs.cpp QLocalFs.h QMainWindow.cpp QMainWindow.h QMenuBar.cpp QMenuBar.h QMenuData.cpp QMenuData.h QMenuItem.cpp QMenuItem.h QMessageBox.cpp QMessageBox.h QMetaData.cpp QMetaData.h QMetaEnum.cpp QMetaEnum.h QMetaObject.cpp QMetaObject.h QMetaProperty.cpp QMetaProperty.h QMimeSource.cpp QMimeSource.h QMimeSourceFactory.cpp QMimeSourceFactory.h QMouseEvent.cpp QMouseEvent.h QMoveEvent.cpp QMoveEvent.h QMovie.cpp QMovie.h QMultiLineEdit.cpp QMultiLineEdit.h QNetworkOperation.cpp QNetworkOperation.h QNetworkProtocol.cpp QNetworkProtocol.h QObject.cpp QObject.h QObjectCleanupHandler.cpp QObjectCleanupHandler.h QPaintDevice.cpp QPaintDevice.h QPaintDeviceMetrics.cpp QPaintDeviceMetrics.h QPainter.cpp QPainter.h QPaintEvent.cpp QPaintEvent.h QPalette.cpp QPalette.h QPen.cpp QPen.h QPicture.cpp QPicture.h QPixmap.cpp QPixmap.h QPoint.cpp QPoint.h QPointArray.cpp QPointArray.h QPolygonScanner.cpp QPolygonScanner.h QPopupMenu.cpp QPopupMenu.h QPrintDialog.cpp QPrintDialog.h QPrinter.cpp QPrinter.h QProcess.cpp QProcess.h QProgressBar.cpp QProgressBar.h QProgressDialog.cpp QProgressDialog.h QPushButton.cpp QPushButton.h QRadioButton.cpp QRadioButton.h QRangeControl.cpp QRangeControl.h QRect.cpp QRect.h QRegExp.cpp QRegExp.h QRegExpValidator.cpp QRegExpValidator.h QRegion.cpp QRegion.h QResizeEvent.cpp QResizeEvent.h QScrollBar.cpp QScrollBar.h QScrollView.cpp QScrollView.h QSemiModal.cpp QSemiModal.h QServerSocket.cpp QServerSocket.h QSessionManager.cpp QSessionManager.h QSettings.cpp QSettings.h QShowEvent.cpp QShowEvent.h QSignal.cpp QSignal.h QSignalMapper.cpp QSignalMapper.h QSimpleRichText.cpp QSimpleRichText.h QSize.cpp QSize.h QSizeGrip.cpp QSizeGrip.h QSizePolicy.cpp QSizePolicy.h QSjisCodec.cpp QSjisCodec.h QSlider.cpp QSlider.h QSocket.cpp QSocket.h QSocketDevice.cpp QSocketDevice.h QSocketNotifier.cpp QSocketNotifier.h QSound.cpp QSound.h QSpacerItem.cpp QSpacerItem.h QSpinBox.cpp QSpinBox.h QSplitter.cpp QSplitter.h QSql.cpp QSql.h QSqlCursor.cpp QSqlCursor.h QSqlDatabase.cpp QSqlDatabase.h QSqlDriver.cpp QSqlDriver.h QSqlEditorFactory.cpp QSqlEditorFactory.h QSqlError.cpp QSqlError.h QSqlFieldInfo.cpp QSqlFieldInfo.h QSqlField.cpp QSqlField.h QSqlForm.cpp QSqlForm.h QSqlIndex.cpp QSqlIndex.h QSqlPropertyMap.cpp QSqlPropertyMap.h QSqlQuery.cpp QSqlQuery.h QSqlRecord.cpp QSqlRecord.h QSqlResult.cpp QSqlResult.h QStatusBar.cpp QStatusBar.h QStoredDrag.cpp QStoredDrag.h QStyle.cpp QStyle.h QStyleOption.cpp QStyleOption.h QStyleFactory.cpp QStyleFactory.h QStyleSheet.cpp QStyleSheet.h QStyleSheetItem.cpp QStyleSheetItem.h Qt.cpp Qt.h QTab.cpp QTab.h QTabBar.cpp QTabBar.h QTabDialog.cpp QTabDialog.h QTable.cpp QTable.h QTableItem.cpp QTableItem.h QTableSelection.cpp QTableSelection.h QTabletEvent.cpp QTabletEvent.h QTabWidget.cpp QTabWidget.h QTextBrowser.cpp QTextBrowser.h QTextCodec.cpp QTextCodec.h QTextDecoder.cpp QTextDecoder.h QTextDrag.cpp QTextDrag.h QTextEdit.cpp QTextEdit.h QTextEncoder.cpp QTextEncoder.h QTextIStream.cpp QTextIStream.h QTextOStream.cpp QTextOStream.h QTextStream.cpp QTextStream.h QTextView.cpp QTextView.h QTimeEdit.cpp QTimeEdit.h QTimer.cpp QTimer.h QTimerEvent.cpp QTimerEvent.h qtjava.cpp qtjava.h QToolBar.cpp QToolBar.h QToolButton.cpp QToolButton.h QToolTip.cpp QToolTip.h QToolTipGroup.cpp QToolTipGroup.h QTranslator.cpp QTranslator.h QTranslatorMessage.cpp QTranslatorMessage.h QTsciiCodec.cpp QTsciiCodec.h QtSupport.cpp QUriDrag.cpp QUriDrag.h QUrl.cpp QUrl.h QUrlInfo.cpp QUrlInfo.h QUrlOperator.cpp QUrlOperator.h QUtf16Codec.cpp QUtf16Codec.h QUtf8Codec.cpp QUtf8Codec.h QUuid.cpp QUuid.h QValidator.cpp QValidator.h QVariant.cpp QVariant.h QVBox.cpp QVBox.h QVBoxLayout.cpp QVBoxLayout.h QVButtonGroup.cpp QVButtonGroup.h QVGroupBox.cpp QVGroupBox.h QWhatsThis.cpp QWhatsThis.h QWheelEvent.cpp QWheelEvent.h QWidget.cpp QWidget.h QWidgetItem.cpp QWidgetItem.h QWidgetStack.cpp QWidgetStack.h QWizard.cpp QWizard.h QWMatrix.cpp QWMatrix.h QWorkspace.cpp QWorkspace.h QXmlAttributes.cpp QXmlAttributes.h QXmlContentHandler.cpp QXmlContentHandler.h QXmlDeclHandler.cpp QXmlDeclHandler.h QXmlDefaultHandler.cpp QXmlDefaultHandler.h QXmlDTDHandler.cpp QXmlDTDHandler.h QXmlEntityResolver.cpp QXmlEntityResolver.h QXmlErrorHandler.cpp QXmlErrorHandler.h QXmlInputSource.cpp QXmlInputSource.h QXmlLexicalHandler.cpp QXmlLexicalHandler.h QXmlLocator.cpp QXmlLocator.h QXmlNamespaceSupport.cpp QXmlNamespaceSupport.h QXmlParseException.cpp QXmlParseException.h QXmlReader.cpp QXmlReader.h QXmlSimpleReader.cpp QXmlSimpleReader.h QGb18030Codec.cpp QGb18030Codec.h QGLWidget.cpp QGLFormat.cpp QGLContext.cpp QGL.cpp QGLWidget.h QGLFormat.h QGLContext.h QGL.h QEventLoop.cpp QHttpHeader.cpp QHttpRequestHeader.cpp QHttpResponseHeader.cpp QSpinWidget.cpp QSplashScreen.cpp QToolBox.cpp QEventLoop.h QHttpHeader.h QHttpRequestHeader.h QSpinWidget.h QSplashScreen.h QToolBox.h QHttpResponseHeader.h QtSupport.h QSyntaxHighlighter.cpp QSyntaxHighlighter.h +EXTRA_DIST = JavaSlot.cpp JavaSlot.h TQAccel.cpp TQAccel.h TQAction.cpp TQAction.h TQActionGroup.cpp TQActionGroup.h TQApplication.cpp TQApplication.h TQAsyncIO.cpp TQAsyncIO.h TQAuServer.cpp TQAuServer.h TQBitmap.cpp TQBitmap.h TQBoxLayout.cpp TQBoxLayout.h TQBrush.cpp TQBrush.h TQBuffer.cpp TQBuffer.h TQButton.cpp TQButton.h TQButtonGroup.cpp TQButtonGroup.h TQCanvas.cpp TQCanvas.h TQCanvasEllipse.cpp TQCanvasEllipse.h TQCanvasItem.cpp TQCanvasItem.h TQCanvasLine.cpp TQCanvasLine.h TQCanvasPixmap.cpp TQCanvasPixmap.h TQCanvasPixmapArray.cpp TQCanvasPixmapArray.h TQCanvasPolygon.cpp TQCanvasPolygon.h TQCanvasPolygonalItem.cpp TQCanvasPolygonalItem.h TQCanvasRectangle.cpp TQCanvasRectangle.h TQCanvasSpline.cpp TQCanvasSpline.h TQCanvasSprite.cpp TQCanvasSprite.h TQCanvasText.cpp TQCanvasText.h TQCanvasView.cpp TQCanvasView.h TQCheckBox.cpp TQCheckBox.h TQCheckListItem.cpp TQCheckListItem.h TQCheckTableItem.cpp TQCheckTableItem.h TQChildEvent.cpp TQChildEvent.h TQClassInfo.cpp TQClassInfo.h TQClipboard.cpp TQClipboard.h TQCloseEvent.cpp TQCloseEvent.h TQColor.cpp TQColor.h TQColorDialog.cpp TQColorDialog.h TQColorDrag.cpp TQColorDrag.h TQColorGroup.cpp TQColorGroup.h TQComboBox.cpp TQComboBox.h TQComboTableItem.cpp TQComboTableItem.h TQContextMenuEvent.cpp TQContextMenuEvent.h TQCursor.cpp TQCursor.h TQCustomEvent.cpp TQCustomEvent.h TQCustomMenuItem.cpp TQCustomMenuItem.h TQDataBrowser.cpp TQDataBrowser.h TQDataPump.cpp TQDataPump.h TQDataSink.cpp TQDataSink.h TQDataSource.cpp TQDataSource.h TQDataStream.cpp TQDataStream.h TQDataTable.cpp TQDataTable.h TQDataView.cpp TQDataView.h TQDateEdit.cpp TQDateEdit.h TQDateTimeEdit.cpp TQDateTimeEdit.h TQDateTimeEditBase.cpp TQDateTimeEditBase.h TQDesktopWidget.cpp TQDesktopWidget.h TQDial.cpp TQDial.h TQDialog.cpp TQDialog.h TQDir.cpp TQDir.h TQDockArea.cpp TQDockArea.h TQDockWindow.cpp TQDockWindow.h TQDomAttr.cpp TQDomAttr.h TQDomCDATASection.cpp TQDomCDATASection.h TQDomCharacterData.cpp TQDomCharacterData.h TQDomComment.cpp TQDomComment.h TQDomDocument.cpp TQDomDocument.h TQDomDocumentFragment.cpp TQDomDocumentFragment.h TQDomDocumentType.cpp TQDomDocumentType.h TQDomElement.cpp TQDomElement.h TQDomEntity.cpp TQDomEntity.h TQDomEntityReference.cpp TQDomEntityReference.h TQDomImplementation.cpp TQDomImplementation.h TQDomNamedNodeMap.cpp TQDomNamedNodeMap.h TQDomNode.cpp TQDomNode.h TQDomNotation.cpp TQDomNotation.h TQDomProcessingInstruction.cpp TQDomProcessingInstruction.h TQDomText.cpp TQDomText.h TQDoubleValidator.cpp TQDoubleValidator.h TQDragEnterEvent.cpp TQDragEnterEvent.h TQDragLeaveEvent.cpp TQDragLeaveEvent.h TQDragManager.cpp TQDragManager.h TQDragMoveEvent.cpp TQDragMoveEvent.h TQDragObject.cpp TQDragObject.h TQDragResponseEvent.cpp TQDragResponseEvent.h TQDropEvent.cpp TQDropEvent.h TQDropSite.cpp TQDropSite.h TQEditorFactory.cpp TQEditorFactory.h TQErrorMessage.cpp TQErrorMessage.h TQEucJpCodec.cpp TQEucJpCodec.h TQEucKrCodec.cpp TQEucKrCodec.h TQEvent.cpp TQEvent.h TQFile.cpp TQFile.h TQFileDialog.cpp TQFileDialog.h TQFileIconProvider.cpp TQFileIconProvider.h TQFileInfo.cpp TQFileInfo.h TQFilePreview.cpp TQFilePreview.h TQFocusData.cpp TQFocusData.h TQFocusEvent.cpp TQFocusEvent.h TQFont.cpp TQFont.h TQFontDatabase.cpp TQFontDatabase.h TQFontDialog.cpp TQFontDialog.h TQFontInfo.cpp TQFontInfo.h TQFontMetrics.cpp TQFontMetrics.h TQFrame.cpp TQFrame.h TQFtp.cpp TQFtp.h TQGrid.cpp TQGrid.h TQGridLayout.cpp TQGridLayout.h TQGridView.cpp TQGridView.h TQGroupBox.cpp TQGroupBox.h TQHBox.cpp TQHBox.h TQHBoxLayout.cpp TQHBoxLayout.h TQHButtonGroup.cpp TQHButtonGroup.h TQHeader.cpp TQHeader.h TQHebrewCodec.cpp TQHebrewCodec.h TQHGroupBox.cpp TQHGroupBox.h TQHideEvent.cpp TQHideEvent.h TQHostAddress.cpp TQHostAddress.h TQHttp.cpp TQHttp.h TQIconDrag.cpp TQIconDrag.h TQIconDragItem.cpp TQIconDragItem.h TQIconSet.cpp TQIconSet.h TQIconView.cpp TQIconView.h TQIconViewItem.cpp TQIconViewItem.h TQImage.cpp TQImage.h TQImageConsumer.cpp TQImageConsumer.h TQImageDecoder.cpp TQImageDecoder.h TQImageDrag.cpp TQImageDrag.h TQImageFormat.cpp TQImageFormat.h TQImageFormatType.cpp TQImageFormatType.h TQImageIO.cpp TQImageIO.h TQIMEvent.cpp TQIMEvent.h TQInputDialog.cpp TQInputDialog.h TQIntValidator.cpp TQIntValidator.h TQIODevice.cpp TQIODevice.h TQIODeviceSource.cpp TQIODeviceSource.h TQJisCodec.cpp TQJisCodec.h TQJpUnicodeConv.cpp TQJpUnicodeConv.h TQKeyEvent.cpp TQKeyEvent.h TQKeySequence.cpp TQKeySequence.h TQLabel.cpp TQLabel.h TQLayout.cpp TQLayout.h TQLayoutItem.cpp TQLayoutItem.h TQLCDNumber.cpp TQLCDNumber.h TQLibrary.cpp TQLibrary.h TQLineEdit.cpp TQLineEdit.h TQListBox.cpp TQListBox.h TQListBoxItem.cpp TQListBoxItem.h TQListBoxPixmap.cpp TQListBoxPixmap.h TQListBoxText.cpp TQListBoxText.h TQListView.cpp TQListView.h TQListViewItem.cpp TQListViewItem.h TQLocalFs.cpp TQLocalFs.h TQMainWindow.cpp TQMainWindow.h TQMenuBar.cpp TQMenuBar.h TQMenuData.cpp TQMenuData.h TQMenuItem.cpp TQMenuItem.h TQMessageBox.cpp TQMessageBox.h TQMetaData.cpp TQMetaData.h TQMetaEnum.cpp TQMetaEnum.h TQMetaObject.cpp TQMetaObject.h TQMetaProperty.cpp TQMetaProperty.h TQMimeSource.cpp TQMimeSource.h TQMimeSourceFactory.cpp TQMimeSourceFactory.h TQMouseEvent.cpp TQMouseEvent.h TQMoveEvent.cpp TQMoveEvent.h TQMovie.cpp TQMovie.h TQMultiLineEdit.cpp TQMultiLineEdit.h TQNetworkOperation.cpp TQNetworkOperation.h TQNetworkProtocol.cpp TQNetworkProtocol.h TQObject.cpp TQObject.h TQObjectCleanupHandler.cpp TQObjectCleanupHandler.h TQPaintDevice.cpp TQPaintDevice.h TQPaintDeviceMetrics.cpp TQPaintDeviceMetrics.h TQPainter.cpp TQPainter.h TQPaintEvent.cpp TQPaintEvent.h TQPalette.cpp TQPalette.h TQPen.cpp TQPen.h TQPicture.cpp TQPicture.h TQPixmap.cpp TQPixmap.h TQPoint.cpp TQPoint.h TQPointArray.cpp TQPointArray.h TQPolygonScanner.cpp TQPolygonScanner.h TQPopupMenu.cpp TQPopupMenu.h TQPrintDialog.cpp TQPrintDialog.h TQPrinter.cpp TQPrinter.h TQProcess.cpp TQProcess.h TQProgressBar.cpp TQProgressBar.h TQProgressDialog.cpp TQProgressDialog.h TQPushButton.cpp TQPushButton.h TQRadioButton.cpp TQRadioButton.h TQRangeControl.cpp TQRangeControl.h TQRect.cpp TQRect.h TQRegExp.cpp TQRegExp.h TQRegExpValidator.cpp TQRegExpValidator.h TQRegion.cpp TQRegion.h TQResizeEvent.cpp TQResizeEvent.h TQScrollBar.cpp TQScrollBar.h TQScrollView.cpp TQScrollView.h TQSemiModal.cpp TQSemiModal.h TQServerSocket.cpp TQServerSocket.h TQSessionManager.cpp TQSessionManager.h TQSettings.cpp TQSettings.h TQShowEvent.cpp TQShowEvent.h TQSignal.cpp TQSignal.h TQSignalMapper.cpp TQSignalMapper.h TQSimpleRichText.cpp TQSimpleRichText.h TQSize.cpp TQSize.h TQSizeGrip.cpp TQSizeGrip.h TQSizePolicy.cpp TQSizePolicy.h TQSjisCodec.cpp TQSjisCodec.h TQSlider.cpp TQSlider.h TQSocket.cpp TQSocket.h TQSocketDevice.cpp TQSocketDevice.h TQSocketNotifier.cpp TQSocketNotifier.h TQSound.cpp TQSound.h TQSpacerItem.cpp TQSpacerItem.h TQSpinBox.cpp TQSpinBox.h TQSplitter.cpp TQSplitter.h TQSql.cpp TQSql.h TQSqlCursor.cpp TQSqlCursor.h TQSqlDatabase.cpp TQSqlDatabase.h TQSqlDriver.cpp TQSqlDriver.h TQSqlEditorFactory.cpp TQSqlEditorFactory.h TQSqlError.cpp TQSqlError.h TQSqlFieldInfo.cpp TQSqlFieldInfo.h TQSqlField.cpp TQSqlField.h TQSqlForm.cpp TQSqlForm.h TQSqlIndex.cpp TQSqlIndex.h TQSqlPropertyMap.cpp TQSqlPropertyMap.h TQSqlQuery.cpp TQSqlQuery.h TQSqlRecord.cpp TQSqlRecord.h TQSqlResult.cpp TQSqlResult.h TQStatusBar.cpp TQStatusBar.h TQStoredDrag.cpp TQStoredDrag.h TQStyle.cpp TQStyle.h TQStyleOption.cpp TQStyleOption.h TQStyleFactory.cpp TQStyleFactory.h TQStyleSheet.cpp TQStyleSheet.h TQStyleSheetItem.cpp TQStyleSheetItem.h Qt.cpp Qt.h TQTab.cpp TQTab.h TQTabBar.cpp TQTabBar.h TQTabDialog.cpp TQTabDialog.h TQTable.cpp TQTable.h TQTableItem.cpp TQTableItem.h TQTableSelection.cpp TQTableSelection.h TQTabletEvent.cpp TQTabletEvent.h TQTabWidget.cpp TQTabWidget.h TQTextBrowser.cpp TQTextBrowser.h TQTextCodec.cpp TQTextCodec.h TQTextDecoder.cpp TQTextDecoder.h TQTextDrag.cpp TQTextDrag.h TQTextEdit.cpp TQTextEdit.h TQTextEncoder.cpp TQTextEncoder.h TQTextIStream.cpp TQTextIStream.h TQTextOStream.cpp TQTextOStream.h TQTextStream.cpp TQTextStream.h TQTextView.cpp TQTextView.h TQTimeEdit.cpp TQTimeEdit.h TQTimer.cpp TQTimer.h TQTimerEvent.cpp TQTimerEvent.h qtjava.cpp qtjava.h TQToolBar.cpp TQToolBar.h TQToolButton.cpp TQToolButton.h TQToolTip.cpp TQToolTip.h TQToolTipGroup.cpp TQToolTipGroup.h TQTranslator.cpp TQTranslator.h TQTranslatorMessage.cpp TQTranslatorMessage.h TQTsciiCodec.cpp TQTsciiCodec.h QtSupport.cpp TQUriDrag.cpp TQUriDrag.h TQUrl.cpp TQUrl.h TQUrlInfo.cpp TQUrlInfo.h TQUrlOperator.cpp TQUrlOperator.h TQUtf16Codec.cpp TQUtf16Codec.h TQUtf8Codec.cpp TQUtf8Codec.h TQUuid.cpp TQUuid.h TQValidator.cpp TQValidator.h TQVariant.cpp TQVariant.h TQVBox.cpp TQVBox.h TQVBoxLayout.cpp TQVBoxLayout.h TQVButtonGroup.cpp TQVButtonGroup.h TQVGroupBox.cpp TQVGroupBox.h TQWhatsThis.cpp TQWhatsThis.h TQWheelEvent.cpp TQWheelEvent.h TQWidget.cpp TQWidget.h TQWidgetItem.cpp TQWidgetItem.h TQWidgetStack.cpp TQWidgetStack.h TQWizard.cpp TQWizard.h TQWMatrix.cpp TQWMatrix.h TQWorkspace.cpp TQWorkspace.h TQXmlAttributes.cpp TQXmlAttributes.h TQXmlContentHandler.cpp TQXmlContentHandler.h TQXmlDeclHandler.cpp TQXmlDeclHandler.h TQXmlDefaultHandler.cpp TQXmlDefaultHandler.h TQXmlDTDHandler.cpp TQXmlDTDHandler.h TQXmlEntityResolver.cpp TQXmlEntityResolver.h TQXmlErrorHandler.cpp TQXmlErrorHandler.h TQXmlInputSource.cpp TQXmlInputSource.h TQXmlLexicalHandler.cpp TQXmlLexicalHandler.h TQXmlLocator.cpp TQXmlLocator.h TQXmlNamespaceSupport.cpp TQXmlNamespaceSupport.h TQXmlParseException.cpp TQXmlParseException.h TQXmlReader.cpp TQXmlReader.h TQXmlSimpleReader.cpp TQXmlSimpleReader.h TQGb18030Codec.cpp TQGb18030Codec.h TQGLWidget.cpp TQGLFormat.cpp TQGLContext.cpp TQGL.cpp TQGLWidget.h TQGLFormat.h TQGLContext.h TQGL.h TQEventLoop.cpp TQHttpHeader.cpp TQHttpRequestHeader.cpp TQHttpResponseHeader.cpp TQSpinWidget.cpp TQSplashScreen.cpp TQToolBox.cpp TQEventLoop.h TQHttpHeader.h TQHttpRequestHeader.h TQSpinWidget.h TQSplashScreen.h TQToolBox.h TQHttpResponseHeader.h QtSupport.h TQSyntaxHighlighter.cpp TQSyntaxHighlighter.h ####### tdevelop will overwrite this part!!! (end)############ # We don't use these, since they depend on Qt having GL support. -# GL_SOURCES = QGLWidget.cpp QGLFormat.cpp QGLContext.cpp QGL.cpp +# GL_SOURCES = TQGLWidget.cpp TQGLFormat.cpp TQGLContext.cpp TQGL.cpp INCLUDES = -I$(srcdir)/.. $(jni_includes) $(all_includes) diff --git a/qtjava/javalib/qtjava/QAccel.cpp b/qtjava/javalib/qtjava/QAccel.cpp deleted file mode 100644 index 5e53be03..00000000 --- a/qtjava/javalib/qtjava/QAccel.cpp +++ /dev/null @@ -1,314 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQAccelJBridge : public TQAccel -{ -public: - TQAccelJBridge(TQWidget* arg1,const char* arg2) : TQAccel(arg1,arg2) {}; - TQAccelJBridge(TQWidget* arg1) : TQAccel(arg1) {}; - TQAccelJBridge(TQWidget* arg1,TQObject* arg2,const char* arg3) : TQAccel(arg1,arg2,arg3) {}; - TQAccelJBridge(TQWidget* arg1,TQObject* arg2) : TQAccel(arg1,arg2) {}; - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) TQAccel::eventFilter(arg1,arg2); - } - ~TQAccelJBridge() {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; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QAccel_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQAccel*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAccel_clear(JNIEnv* env, jobject obj) -{ - ((TQAccel*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QAccel_connectItem(JNIEnv* env, jobject obj, jint id, jobject receiver, jstring member) -{ - jboolean xret = (jboolean) ((TQAccel*) QtSupport::getQt(env, obj))->connectItem((int) id, (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QAccel_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQAccel*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QAccel_disconnectItem(JNIEnv* env, jobject obj, jint id, jobject receiver, jstring member) -{ - jboolean xret = (jboolean) ((TQAccel*) QtSupport::getQt(env, obj))->disconnectItem((int) id, (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAccel_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QAccel_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QAccel_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - jboolean xret = (jboolean) ((TQAccelJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAccel_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQAccel*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQAccel*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QAccel_findKey(JNIEnv* env, jobject obj, jobject key) -{ - jint xret = (jint) ((TQAccel*) QtSupport::getQt(env, obj))->findKey((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, key)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QAccel_ignoreWhatsThis(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQAccel*) QtSupport::getQt(env, obj))->ignoreWhatsThis(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QAccel_insertItem__Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject key) -{ - jint xret = (jint) ((TQAccel*) QtSupport::getQt(env, obj))->insertItem((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, key)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QAccel_insertItem__Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jobject key, jint id) -{ - jint xret = (jint) ((TQAccel*) QtSupport::getQt(env, obj))->insertItem((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, key), (int) id); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QAccel_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QAccel_isEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQAccel*) QtSupport::getQt(env, obj))->isEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QAccel_isItemEnabled(JNIEnv* env, jobject obj, jint id) -{ - jboolean xret = (jboolean) ((TQAccel*) QtSupport::getQt(env, obj))->isItemEnabled((int) id); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QAccel_keyToString(JNIEnv* env, jclass cls, jobject k) -{ - TQString _qstring; - (void) cls; - _qstring = TQAccelJBridge::keyToString((TQKeySequence)*(TQKeySequence*) QtSupport::getQt(env, k)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QAccel_key(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQKeySequence(((TQAccel*) QtSupport::getQt(env, obj))->key((int) id)), "org.kde.qt.TQKeySequence", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QAccel_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQAccel*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAccel_newTQAccel__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQAccelJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAccel_newTQAccel__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 TQAccelJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAccel_newTQAccel__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 TQAccelJBridge((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_qt_QAccel_newTQAccel__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 TQAccelJBridge((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_qt_QAccel_removeItem(JNIEnv* env, jobject obj, jint id) -{ - ((TQAccel*) QtSupport::getQt(env, obj))->removeItem((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAccel_repairEventFilter(JNIEnv* env, jobject obj) -{ - ((TQAccel*) QtSupport::getQt(env, obj))->repairEventFilter(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAccel_setEnabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQAccel*) QtSupport::getQt(env, obj))->setEnabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAccel_setIgnoreWhatsThis(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQAccel*) QtSupport::getQt(env, obj))->setIgnoreWhatsThis((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAccel_setItemEnabled(JNIEnv* env, jobject obj, jint id, jboolean enable) -{ - ((TQAccel*) QtSupport::getQt(env, obj))->setItemEnabled((int) id, (bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAccel_setWhatsThis(JNIEnv* env, jobject obj, jint id, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - ((TQAccel*) QtSupport::getQt(env, obj))->setWhatsThis((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QAccel_shortcutKey(JNIEnv* env, jclass cls, jstring arg1) -{ - (void) cls; -static TQString* _qstring_arg1 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQKeySequence(TQAccelJBridge::shortcutKey((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1))), "org.kde.qt.TQKeySequence", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QAccel_stringToKey(JNIEnv* env, jclass cls, jstring arg1) -{ - (void) cls; -static TQString* _qstring_arg1 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQKeySequence(TQAccelJBridge::stringToKey((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1))), "org.kde.qt.TQKeySequence", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QAccel_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQAccelJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QAccel_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQAccelJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QAccel_whatsThis(JNIEnv* env, jobject obj, jint id) -{ - TQString _qstring; - _qstring = ((TQAccel*) QtSupport::getQt(env, obj))->whatsThis((int) id); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QAccel.h b/qtjava/javalib/qtjava/QAccel.h deleted file mode 100644 index 3d27f3ac..00000000 --- a/qtjava/javalib/qtjava/QAccel.h +++ /dev/null @@ -1,51 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QAccel__ -#define __org_kde_qt_QAccel__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QAccel_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QAccel_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAccel_newTQAccel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAccel_newTQAccel__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAccel_newTQAccel__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_qt_QAccel_newTQAccel__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QAccel_isEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAccel_setEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QAccel_count (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QAccel_insertItem__Lorg_kde_qt_QKeySequence_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QAccel_insertItem__Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAccel_removeItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAccel_clear (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QAccel_key (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QAccel_findKey (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QAccel_isItemEnabled (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAccel_setItemEnabled (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QAccel_connectItem (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QAccel_disconnectItem (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAccel_repairEventFilter (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAccel_setWhatsThis (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QAccel_whatsThis (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAccel_setIgnoreWhatsThis (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QAccel_ignoreWhatsThis (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QAccel_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QAccel_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QAccel_shortcutKey (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QAccel_keyToString (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QAccel_stringToKey (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QAccel_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAccel_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAccel_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QAccel_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QAccel__ */ diff --git a/qtjava/javalib/qtjava/QAction.cpp b/qtjava/javalib/qtjava/QAction.cpp deleted file mode 100644 index b13c96ec..00000000 --- a/qtjava/javalib/qtjava/QAction.cpp +++ /dev/null @@ -1,511 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -class TQActionJBridge : public TQAction -{ -public: - TQActionJBridge(TQObject* arg1,const char* arg2) : TQAction(arg1,arg2) {}; - TQActionJBridge(TQObject* arg1) : TQAction(arg1) {}; - TQActionJBridge(const TQString& arg1,TQKeySequence arg2,TQObject* arg3,const char* arg4) : TQAction(arg1,arg2,arg3,arg4) {}; - TQActionJBridge(const TQString& arg1,TQKeySequence arg2,TQObject* arg3) : TQAction(arg1,arg2,arg3) {}; - TQActionJBridge(const TQIconSet& arg1,const TQString& arg2,TQKeySequence arg3,TQObject* arg4,const char* arg5) : TQAction(arg1,arg2,arg3,arg4,arg5) {}; - TQActionJBridge(const TQIconSet& arg1,const TQString& arg2,TQKeySequence arg3,TQObject* arg4) : TQAction(arg1,arg2,arg3,arg4) {}; - TQActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TQString& arg3,TQKeySequence arg4,TQObject* arg5,const char* arg6,bool arg7) : TQAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TQActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TQString& arg3,TQKeySequence arg4,TQObject* arg5,const char* arg6) : TQAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TQActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TQString& arg3,TQKeySequence arg4,TQObject* arg5) : TQAction(arg1,arg2,arg3,arg4,arg5) {}; - TQActionJBridge(const TQString& arg1,const TQString& arg2,TQKeySequence arg3,TQObject* arg4,const char* arg5,bool arg6) : TQAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TQActionJBridge(const TQString& arg1,const TQString& arg2,TQKeySequence arg3,TQObject* arg4,const char* arg5) : TQAction(arg1,arg2,arg3,arg4,arg5) {}; - TQActionJBridge(const TQString& arg1,const TQString& arg2,TQKeySequence arg3,TQObject* arg4) : TQAction(arg1,arg2,arg3,arg4) {}; - TQActionJBridge(TQObject* arg1,const char* arg2,bool arg3) : TQAction(arg1,arg2,arg3) {}; - void protected_addedTo(TQWidget* arg1,TQWidget* arg2) { - TQAction::addedTo(arg1,arg2); - return; - } - void protected_addedTo(int arg1,TQPopupMenu* arg2) { - TQAction::addedTo(arg1,arg2); - return; - } - ~TQActionJBridge() {QtSupport::qtKeyDeleted(this);} - 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")) { - TQAction::setIconSet(arg1); - } - return; - } - void setAccel(const TQKeySequence& arg1) { - if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TQKeySequence")) { - TQAction::setAccel(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.qt.TQAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QAction_accel(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQKeySequence(((TQAction*) QtSupport::getQt(env, obj))->accel()), "org.kde.qt.TQKeySequence", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAction_activate(JNIEnv* env, jobject obj) -{ - ((TQAction*) QtSupport::getQt(env, obj))->activate(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QAction_addTo(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQAction*) QtSupport::getQt(env, obj))->addTo((TQWidget*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAction_addedTo__ILorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jint index, jobject menu) -{ - ((TQActionJBridge*) QtSupport::getQt(env, obj))->protected_addedTo((int) index, (TQPopupMenu*) QtSupport::getQt(env, menu)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAction_addedTo__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject actionWidget, jobject container) -{ - ((TQActionJBridge*) QtSupport::getQt(env, obj))->protected_addedTo((TQWidget*) QtSupport::getQt(env, actionWidget), (TQWidget*) QtSupport::getQt(env, container)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QAction_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QAction_iconSet(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TQAction*) QtSupport::getQt(env, obj))->iconSet()), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QAction_isEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQAction*) QtSupport::getQt(env, obj))->isEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QAction_isOn(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQAction*) QtSupport::getQt(env, obj))->isOn(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QAction_isToggleAction(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQAction*) QtSupport::getQt(env, obj))->isToggleAction(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QAction_isVisible(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQAction*) QtSupport::getQt(env, obj))->isVisible(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QAction_menuText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQAction*) QtSupport::getQt(env, obj))->menuText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAction_newTQAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring menuText, jobject accel, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_menuText = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, menuText, &_qstring_menuText), (TQKeySequence)*(TQKeySequence*) QtSupport::getQt(env, accel), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAction_newTQAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring menuText, jobject accel, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_menuText = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, menuText, &_qstring_menuText), (TQKeySequence)*(TQKeySequence*) QtSupport::getQt(env, accel), (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_qt_QAction_newTQAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring text, jstring menuText, jobject accel, jobject parent, jstring name, jboolean toggle) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_menuText = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, menuText, &_qstring_menuText), (TQKeySequence)*(TQKeySequence*) QtSupport::getQt(env, accel), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) toggle)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAction_newTQAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject icon, jstring menuText, jobject accel, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_menuText = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, menuText, &_qstring_menuText), (TQKeySequence)*(TQKeySequence*) QtSupport::getQt(env, accel), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAction_newTQAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject icon, jstring menuText, jobject accel, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_menuText = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, menuText, &_qstring_menuText), (TQKeySequence)*(TQKeySequence*) QtSupport::getQt(env, accel), (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_qt_QAction_newTQAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring text, jobject icon, jstring menuText, jobject accel, jobject parent, jstring name, jboolean toggle) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_menuText = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, menuText, &_qstring_menuText), (TQKeySequence)*(TQKeySequence*) QtSupport::getQt(env, accel), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) toggle)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAction_newTQAction__Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring menuText, jobject accel, jobject parent) -{ -static TQString* _qstring_menuText = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, menuText, &_qstring_menuText), (TQKeySequence)*(TQKeySequence*) QtSupport::getQt(env, accel), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAction_newTQAction__Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring menuText, jobject accel, jobject parent, jstring name) -{ -static TQString* _qstring_menuText = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, menuText, &_qstring_menuText), (TQKeySequence)*(TQKeySequence*) QtSupport::getQt(env, accel), (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_qt_QAction_newTQAction__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject icon, jstring menuText, jobject accel, jobject parent) -{ -static TQString* _qstring_menuText = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQActionJBridge((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, menuText, &_qstring_menuText), (TQKeySequence)*(TQKeySequence*) QtSupport::getQt(env, accel), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAction_newTQAction__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject icon, jstring menuText, jobject accel, jobject parent, jstring name) -{ -static TQString* _qstring_menuText = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQActionJBridge((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, menuText, &_qstring_menuText), (TQKeySequence)*(TQKeySequence*) QtSupport::getQt(env, accel), (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_qt_QAction_newTQAction__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQActionJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAction_newTQAction__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 TQActionJBridge((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_qt_QAction_newTQAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean toggle) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQActionJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) toggle)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QAction_removeFrom(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQAction*) QtSupport::getQt(env, obj))->removeFrom((TQWidget*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAction_setAccel(JNIEnv* env, jobject obj, jobject key) -{ - ((TQAction*) QtSupport::getQt(env, obj))->setAccel((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, key)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAction_setDisabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQAction*) QtSupport::getQt(env, obj))->setDisabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAction_setEnabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQAction*) QtSupport::getQt(env, obj))->setEnabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAction_setIconSet(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQAction*) QtSupport::getQt(env, obj))->setIconSet((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAction_setMenuText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQAction*) QtSupport::getQt(env, obj))->setMenuText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAction_setOn(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQAction*) QtSupport::getQt(env, obj))->setOn((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAction_setStatusTip(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQAction*) QtSupport::getQt(env, obj))->setStatusTip((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAction_setText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQAction*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAction_setToggleAction(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQAction*) QtSupport::getQt(env, obj))->setToggleAction((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAction_setToolTip(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQAction*) QtSupport::getQt(env, obj))->setToolTip((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAction_setVisible(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQAction*) QtSupport::getQt(env, obj))->setVisible((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAction_setWhatsThis(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQAction*) QtSupport::getQt(env, obj))->setWhatsThis((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QAction_statusTip(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQAction*) QtSupport::getQt(env, obj))->statusTip(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QAction_text(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQAction*) QtSupport::getQt(env, obj))->text(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAction_toggle(JNIEnv* env, jobject obj) -{ - ((TQAction*) QtSupport::getQt(env, obj))->toggle(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QAction_toolTip(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQAction*) QtSupport::getQt(env, obj))->toolTip(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QAction_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQActionJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QAction_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQActionJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QAction_whatsThis(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQAction*) QtSupport::getQt(env, obj))->whatsThis(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QAction.h b/qtjava/javalib/qtjava/QAction.h deleted file mode 100644 index 2980b90b..00000000 --- a/qtjava/javalib/qtjava/QAction.h +++ /dev/null @@ -1,67 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QAction__ -#define __org_kde_qt_QAction__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_newTQAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_newTQAction__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_newTQAction__Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_newTQAction__Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_newTQAction__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_newTQAction__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_newTQAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jobject, jstring, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_newTQAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_newTQAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_newTQAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_newTQAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_newTQAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_newTQAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_setIconSet (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QAction_iconSet (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QAction_text (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_setMenuText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QAction_menuText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_setToolTip (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QAction_toolTip (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_setStatusTip (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QAction_statusTip (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_setWhatsThis (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QAction_whatsThis (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_setAccel (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QAction_accel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_setToggleAction (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QAction_isToggleAction (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QAction_isOn (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QAction_isEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QAction_isVisible (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QAction_addTo (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QAction_removeFrom (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_activate (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_toggle (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_setOn (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_setEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_setDisabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_setVisible (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QAction_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QAction_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_addedTo__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_addedTo__ILorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QAction__ */ diff --git a/qtjava/javalib/qtjava/QActionGroup.cpp b/qtjava/javalib/qtjava/QActionGroup.cpp deleted file mode 100644 index 0aada7c7..00000000 --- a/qtjava/javalib/qtjava/QActionGroup.cpp +++ /dev/null @@ -1,329 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQActionGroupJBridge : public TQActionGroup -{ -public: - TQActionGroupJBridge(TQObject* arg1,const char* arg2) : TQActionGroup(arg1,arg2) {}; - TQActionGroupJBridge(TQObject* arg1) : TQActionGroup(arg1) {}; - TQActionGroupJBridge(TQObject* arg1,const char* arg2,bool arg3) : TQActionGroup(arg1,arg2,arg3) {}; - void protected_childEvent(TQChildEvent* arg1) { - TQActionGroup::childEvent(arg1); - return; - } - void protected_addedTo(TQWidget* arg1,TQWidget* arg2,TQAction* arg3) { - TQActionGroup::addedTo(arg1,arg2,arg3); - return; - } - void protected_addedTo(int arg1,TQPopupMenu* arg2,TQAction* arg3) { - TQActionGroup::addedTo(arg1,arg2,arg3); - return; - } - void protected_addedTo(TQWidget* arg1,TQWidget* arg2) { - TQActionGroup::addedTo(arg1,arg2); - return; - } - void protected_addedTo(int arg1,TQPopupMenu* arg2) { - TQActionGroup::addedTo(arg1,arg2); - return; - } - ~TQActionGroupJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void setAccel(const TQKeySequence& arg1) { - if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TQKeySequence")) { - TQAction::setAccel(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")) { - TQActionGroup::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.qt.TQActionGroup",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QActionGroup_addSeparator(JNIEnv* env, jobject obj) -{ - ((TQActionGroup*) QtSupport::getQt(env, obj))->addSeparator(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QActionGroup_addTo(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQActionGroup*) QtSupport::getQt(env, obj))->addTo((TQWidget*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QActionGroup_add(JNIEnv* env, jobject obj, jobject a) -{ - ((TQActionGroup*) QtSupport::getQt(env, obj))->add((TQAction*) QtSupport::getQt(env, a)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QActionGroup_addedTo__ILorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jint index, jobject menu) -{ - ((TQActionGroupJBridge*) QtSupport::getQt(env, obj))->protected_addedTo((int) index, (TQPopupMenu*) QtSupport::getQt(env, menu)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QActionGroup_addedTo__ILorg_kde_qt_QPopupMenu_2Lorg_kde_qt_QAction_2(JNIEnv* env, jobject obj, jint index, jobject menu, jobject a) -{ - ((TQActionGroupJBridge*) QtSupport::getQt(env, obj))->protected_addedTo((int) index, (TQPopupMenu*) QtSupport::getQt(env, menu), (TQAction*) QtSupport::getQt(env, a)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QActionGroup_addedTo__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject actionWidget, jobject container) -{ - ((TQActionGroupJBridge*) QtSupport::getQt(env, obj))->protected_addedTo((TQWidget*) QtSupport::getQt(env, actionWidget), (TQWidget*) QtSupport::getQt(env, container)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QActionGroup_addedTo__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QAction_2(JNIEnv* env, jobject obj, jobject actionWidget, jobject container, jobject a) -{ - ((TQActionGroupJBridge*) QtSupport::getQt(env, obj))->protected_addedTo((TQWidget*) QtSupport::getQt(env, actionWidget), (TQWidget*) QtSupport::getQt(env, container), (TQAction*) QtSupport::getQt(env, a)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QActionGroup_childEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQActionGroupJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TQChildEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QActionGroup_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQActionGroup*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QActionGroup_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QActionGroup_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QActionGroup_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQActionGroup*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQActionGroup*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QActionGroup_insert(JNIEnv* env, jobject obj, jobject a) -{ - ((TQActionGroup*) QtSupport::getQt(env, obj))->insert((TQAction*) QtSupport::getQt(env, a)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QActionGroup_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QActionGroup_isExclusive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQActionGroup*) QtSupport::getQt(env, obj))->isExclusive(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QActionGroup_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQActionGroup*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QActionGroup_newTQActionGroup__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQActionGroupJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QActionGroup_newTQActionGroup__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 TQActionGroupJBridge((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_qt_QActionGroup_newTQActionGroup__Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean exclusive) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQActionGroupJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) exclusive)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QActionGroup_removeFrom(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQActionGroup*) QtSupport::getQt(env, obj))->removeFrom((TQWidget*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QActionGroup_setEnabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQActionGroup*) QtSupport::getQt(env, obj))->setEnabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QActionGroup_setExclusive(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQActionGroup*) QtSupport::getQt(env, obj))->setExclusive((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QActionGroup_setIconSet(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQActionGroup*) QtSupport::getQt(env, obj))->setIconSet((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QActionGroup_setMenuText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQActionGroup*) QtSupport::getQt(env, obj))->setMenuText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QActionGroup_setOn(JNIEnv* env, jobject obj, jboolean on) -{ - ((TQActionGroup*) QtSupport::getQt(env, obj))->setOn((bool) on); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QActionGroup_setText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQActionGroup*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QActionGroup_setToggleAction(JNIEnv* env, jobject obj, jboolean toggle) -{ - ((TQActionGroup*) QtSupport::getQt(env, obj))->setToggleAction((bool) toggle); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QActionGroup_setToolTip(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQActionGroup*) QtSupport::getQt(env, obj))->setToolTip((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QActionGroup_setUsesDropDown(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQActionGroup*) QtSupport::getQt(env, obj))->setUsesDropDown((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QActionGroup_setWhatsThis(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQActionGroup*) QtSupport::getQt(env, obj))->setWhatsThis((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QActionGroup_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQActionGroupJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QActionGroup_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQActionGroupJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QActionGroup_usesDropDown(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQActionGroup*) QtSupport::getQt(env, obj))->usesDropDown(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QActionGroup.h b/qtjava/javalib/qtjava/QActionGroup.h deleted file mode 100644 index 3f9a122a..00000000 --- a/qtjava/javalib/qtjava/QActionGroup.h +++ /dev/null @@ -1,50 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QActionGroup__ -#define __org_kde_qt_QActionGroup__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QActionGroup_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QActionGroup_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_newTQActionGroup__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_newTQActionGroup__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_newTQActionGroup__Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_setExclusive (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QActionGroup_isExclusive (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_add (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_addSeparator (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QActionGroup_addTo (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QActionGroup_removeFrom (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_setEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_setToggleAction (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_setOn (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_setUsesDropDown (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QActionGroup_usesDropDown (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_setIconSet (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_setMenuText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_setToolTip (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_setWhatsThis (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_insert (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QActionGroup_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QActionGroup_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_childEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_addedTo__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QAction_2 (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_addedTo__ILorg_kde_qt_QPopupMenu_2Lorg_kde_qt_QAction_2 (JNIEnv *env, jobject, jint, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_addedTo__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_addedTo__ILorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QActionGroup_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QActionGroup__ */ diff --git a/qtjava/javalib/qtjava/QApplication.cpp b/qtjava/javalib/qtjava/QApplication.cpp deleted file mode 100644 index 8c374ebd..00000000 --- a/qtjava/javalib/qtjava/QApplication.cpp +++ /dev/null @@ -1,1090 +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 TQApplicationJBridge : public TQApplication -{ -public: - TQApplicationJBridge(int& arg1,char** arg2) : TQApplication(arg1,arg2) {}; - TQApplicationJBridge(int& arg1,char** arg2,bool arg3) : TQApplication(arg1,arg2,arg3) {}; - TQApplicationJBridge(int& arg1,char** arg2,TQApplication::Type arg3) : TQApplication(arg1,arg2,arg3) {}; - bool protected_event(TQEvent* arg1) { - return (bool) TQApplication::event(arg1); - } - ~TQApplicationJBridge() {QtSupport::qtKeyDeleted(this);} - void commitData(TQSessionManager& arg1) { - if (!QtSupport::eventDelegate(this,"commitData",(void*)&arg1,"org.kde.qt.TQSessionManager")) { - TQApplication::commitData(arg1); - } - return; - } - void processOneEvent() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQApplication","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 saveState(TQSessionManager& arg1) { - if (!QtSupport::eventDelegate(this,"saveState",(void*)&arg1,"org.kde.qt.TQSessionManager")) { - TQApplication::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.qt.TQApplication",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_aboutTQt(JNIEnv* env, jobject obj) -{ - ((TQApplication*) QtSupport::getQt(env, obj))->aboutTQt(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QApplication_activeModalWidget(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQApplicationJBridge::activeModalWidget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QApplication_activePopupWidget(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQApplicationJBridge::activePopupWidget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QApplication_activeWindow(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQApplication*) QtSupport::getQt(env, obj))->activeWindow(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_addLibraryPath(JNIEnv* env, jclass cls, jstring arg1) -{ - (void) cls; -static TQString* _qstring_arg1 = 0; - TQApplicationJBridge::addLibraryPath((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QApplication_allWidgets(JNIEnv* env, jclass cls) -{ - TQWidgetList* _qlist; - (void) cls; - _qlist = TQApplicationJBridge::allWidgets(); - return (jobject) QtSupport::arrayWithTQWidgetList(env, (TQWidgetList*) _qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QApplication_applicationDirPath(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQApplication*) QtSupport::getQt(env, obj))->applicationDirPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QApplication_applicationFilePath(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQApplication*) QtSupport::getQt(env, obj))->applicationFilePath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_beep(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TQApplicationJBridge::beep(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QApplication_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQApplication*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QApplication_clipboard(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQApplicationJBridge::clipboard(), "org.kde.qt.TQClipboard"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_closeAllWindows(JNIEnv* env, jobject obj) -{ - ((TQApplication*) QtSupport::getQt(env, obj))->closeAllWindows(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QApplication_closingDown(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TQApplicationJBridge::closingDown(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QApplication_colorMode(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TQApplicationJBridge::colorMode(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QApplication_colorSpec(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TQApplicationJBridge::colorSpec(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_commitData(JNIEnv* env, jobject obj, jobject sm) -{ - ((TQApplication*) QtSupport::getQt(env, obj))->commitData((TQSessionManager&)*(TQSessionManager*) QtSupport::getQt(env, sm)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QApplication_cursorFlashTime(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TQApplicationJBridge::cursorFlashTime(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QApplication_defaultCodec(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQApplication*) QtSupport::getQt(env, obj))->defaultCodec(), "org.kde.qt.TQTextCodec"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QApplication_desktopSettingsAware(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TQApplicationJBridge::desktopSettingsAware(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QApplication_desktop(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQApplicationJBridge::desktop(), "org.kde.qt.TQDesktopWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QApplication_finalize(env, obj); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QApplication_doubleClickInterval(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TQApplicationJBridge::doubleClickInterval(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QApplication_enter_1loop(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQApplication*) QtSupport::getQt(env, obj))->enter_loop(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QApplication_eventLoop(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQApplicationJBridge::eventLoop(), "org.kde.qt.TQEventLoop"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QApplication_event(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQApplicationJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QApplication_exec(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQApplication*) QtSupport::getQt(env, obj))->exec(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_exit_1loop(JNIEnv* env, jobject obj) -{ - ((TQApplication*) QtSupport::getQt(env, obj))->exit_loop(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_exit__(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TQApplicationJBridge::exit(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_exit__I(JNIEnv* env, jclass cls, jint retcode) -{ - (void) cls; - (void) env; - TQApplicationJBridge::exit((int) retcode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQApplication*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQApplication*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_flushX(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TQApplicationJBridge::flushX(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_flush(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TQApplicationJBridge::flush(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QApplication_focusWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQApplication*) QtSupport::getQt(env, obj))->focusWidget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QApplication_fontMetrics(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFontMetrics(TQApplicationJBridge::fontMetrics()), "org.kde.qt.TQFontMetrics", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QApplication_font__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TQApplicationJBridge::font()), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QApplication_font__Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TQApplicationJBridge::font((const TQWidget*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QApplication_globalStrut(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(TQApplicationJBridge::globalStrut()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QApplication_hasGlobalMouseTracking(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TQApplicationJBridge::hasGlobalMouseTracking(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QApplication_hasPendingEvents(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQApplication*) QtSupport::getQt(env, obj))->hasPendingEvents(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QApplication_horizontalAlignment(JNIEnv* env, jclass cls, jint align) -{ - (void) cls; - (void) env; - jint xret = (jint) TQApplicationJBridge::horizontalAlignment((int) align); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_installTranslator(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQApplication*) QtSupport::getQt(env, obj))->installTranslator((TQTranslator*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QApplication_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QApplication_isEffectEnabled(JNIEnv* env, jclass cls, jint arg1) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TQApplicationJBridge::isEffectEnabled((TQt::UIEffect) arg1); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QApplication_isSessionRestored(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQApplication*) QtSupport::getQt(env, obj))->isSessionRestored(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QApplication_libraryPaths(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = TQApplicationJBridge::libraryPaths(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QApplication_loopLevel(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQApplication*) QtSupport::getQt(env, obj))->loopLevel(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QApplication_mainWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQApplication*) QtSupport::getQt(env, obj))->mainWidget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QApplication_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQApplication*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QApplication_notify(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - jboolean xret = (jboolean) ((TQApplication*) QtSupport::getQt(env, obj))->notify((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QApplication_overrideCursor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQApplicationJBridge::overrideCursor(), "org.kde.qt.TQCursor"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QApplication_palette__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPalette(TQApplicationJBridge::palette()), "org.kde.qt.TQPalette", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QApplication_palette__Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPalette(TQApplicationJBridge::palette((const TQWidget*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQPalette", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_polish(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQApplication*) QtSupport::getQt(env, obj))->polish((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_postEvent(JNIEnv* env, jclass cls, jobject receiver, jobject event) -{ - (void) cls; - TQApplicationJBridge::postEvent((TQObject*) QtSupport::getQt(env, receiver), (TQEvent*) QtSupport::getQt(env, event)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_processEvents__(JNIEnv* env, jobject obj) -{ - ((TQApplication*) QtSupport::getQt(env, obj))->processEvents(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_processEvents__I(JNIEnv* env, jobject obj, jint maxtime) -{ - ((TQApplication*) QtSupport::getQt(env, obj))->processEvents((int) maxtime); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_processOneEvent(JNIEnv* env, jobject obj) -{ - ((TQApplication*) QtSupport::getQt(env, obj))->processOneEvent(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_quit(JNIEnv* env, jobject obj) -{ - ((TQApplication*) QtSupport::getQt(env, obj))->quit(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_removeLibraryPath(JNIEnv* env, jclass cls, jstring arg1) -{ - (void) cls; -static TQString* _qstring_arg1 = 0; - TQApplicationJBridge::removeLibraryPath((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_removePostedEvents(JNIEnv* env, jclass cls, jobject receiver) -{ - (void) cls; - TQApplicationJBridge::removePostedEvents((TQObject*) QtSupport::getQt(env, receiver)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_removeTranslator(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQApplication*) QtSupport::getQt(env, obj))->removeTranslator((TQTranslator*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_restoreOverrideCursor(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TQApplicationJBridge::restoreOverrideCursor(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QApplication_reverseLayout(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TQApplicationJBridge::reverseLayout(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_saveState(JNIEnv* env, jobject obj, jobject sm) -{ - ((TQApplication*) QtSupport::getQt(env, obj))->saveState((TQSessionManager&)*(TQSessionManager*) QtSupport::getQt(env, sm)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QApplication_sendEvent(JNIEnv* env, jclass cls, jobject receiver, jobject event) -{ - (void) cls; - jboolean xret = (jboolean) TQApplicationJBridge::sendEvent((TQObject*) QtSupport::getQt(env, receiver), (TQEvent*) QtSupport::getQt(env, event)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_sendPostedEvents__(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TQApplicationJBridge::sendPostedEvents(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_sendPostedEvents__Lorg_kde_qt_QObject_2I(JNIEnv* env, jclass cls, jobject receiver, jint event_type) -{ - (void) cls; - TQApplicationJBridge::sendPostedEvents((TQObject*) QtSupport::getQt(env, receiver), (int) event_type); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QApplication_sessionId(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQApplication*) QtSupport::getQt(env, obj))->sessionId(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QApplication_sessionKey(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQApplication*) QtSupport::getQt(env, obj))->sessionKey(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_setColorMode(JNIEnv* env, jclass cls, jint arg1) -{ - (void) cls; - (void) env; - TQApplicationJBridge::setColorMode((TQApplication::ColorMode) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_setColorSpec(JNIEnv* env, jclass cls, jint arg1) -{ - (void) cls; - (void) env; - TQApplicationJBridge::setColorSpec((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_setCursorFlashTime(JNIEnv* env, jclass cls, jint arg1) -{ - (void) cls; - (void) env; - TQApplicationJBridge::setCursorFlashTime((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_setDefaultCodec(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQApplication*) QtSupport::getQt(env, obj))->setDefaultCodec((TQTextCodec*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_setDesktopSettingsAware(JNIEnv* env, jclass cls, jboolean arg1) -{ - (void) cls; - (void) env; - TQApplicationJBridge::setDesktopSettingsAware((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_setDoubleClickInterval(JNIEnv* env, jclass cls, jint arg1) -{ - (void) cls; - (void) env; - TQApplicationJBridge::setDoubleClickInterval((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_setEffectEnabled__I(JNIEnv* env, jclass cls, jint arg1) -{ - (void) cls; - (void) env; - TQApplicationJBridge::setEffectEnabled((TQt::UIEffect) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_setEffectEnabled__IZ(JNIEnv* env, jclass cls, jint arg1, jboolean enable) -{ - (void) cls; - (void) env; - TQApplicationJBridge::setEffectEnabled((TQt::UIEffect) arg1, (bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_setFont__Lorg_kde_qt_QFont_2(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - TQApplicationJBridge::setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_setFont__Lorg_kde_qt_QFont_2Z(JNIEnv* env, jclass cls, jobject arg1, jboolean informWidgets) -{ - (void) cls; - TQApplicationJBridge::setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1), (bool) informWidgets); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_setFont__Lorg_kde_qt_QFont_2ZLjava_lang_String_2(JNIEnv* env, jclass cls, jobject arg1, jboolean informWidgets, jstring className) -{ - (void) cls; -static TQCString* _qstring_className = 0; - TQApplicationJBridge::setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1), (bool) informWidgets, (const char*) QtSupport::toCharString(env, className, &_qstring_className)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_setGlobalMouseTracking(JNIEnv* env, jclass cls, jboolean enable) -{ - (void) cls; - (void) env; - TQApplicationJBridge::setGlobalMouseTracking((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_setGlobalStrut(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - TQApplicationJBridge::setGlobalStrut((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_setLibraryPaths(JNIEnv* env, jclass cls, jobjectArray arg1) -{ - (void) cls; -static TQStringList* _qlist_arg1 = 0; - TQApplicationJBridge::setLibraryPaths((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, arg1, &_qlist_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_setMainWidget(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQApplication*) QtSupport::getQt(env, obj))->setMainWidget((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_setOverrideCursor__Lorg_kde_qt_QCursor_2(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - TQApplicationJBridge::setOverrideCursor((const TQCursor&)*(const TQCursor*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_setOverrideCursor__Lorg_kde_qt_QCursor_2Z(JNIEnv* env, jclass cls, jobject arg1, jboolean replace) -{ - (void) cls; - TQApplicationJBridge::setOverrideCursor((const TQCursor&)*(const TQCursor*) QtSupport::getQt(env, arg1), (bool) replace); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_setPalette__Lorg_kde_qt_QPalette_2(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - TQApplicationJBridge::setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_setPalette__Lorg_kde_qt_QPalette_2Z(JNIEnv* env, jclass cls, jobject arg1, jboolean informWidgets) -{ - (void) cls; - TQApplicationJBridge::setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1), (bool) informWidgets); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_setPalette__Lorg_kde_qt_QPalette_2ZLjava_lang_String_2(JNIEnv* env, jclass cls, jobject arg1, jboolean informWidgets, jstring className) -{ - (void) cls; -static TQCString* _qstring_className = 0; - TQApplicationJBridge::setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1), (bool) informWidgets, (const char*) QtSupport::toCharString(env, className, &_qstring_className)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_setReverseLayout(JNIEnv* env, jclass cls, jboolean b) -{ - (void) cls; - (void) env; - TQApplicationJBridge::setReverseLayout((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_setStartDragDistance(JNIEnv* env, jclass cls, jint l) -{ - (void) cls; - (void) env; - TQApplicationJBridge::setStartDragDistance((int) l); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_setStartDragTime(JNIEnv* env, jclass cls, jint ms) -{ - (void) cls; - (void) env; - TQApplicationJBridge::setStartDragTime((int) ms); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QApplication_setStyle__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - (void) cls; -static TQString* _qstring_arg1 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQApplicationJBridge::setStyle((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)), "org.kde.qt.TQStyle"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_setStyle__Lorg_kde_qt_QStyle_2(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - TQApplicationJBridge::setStyle((TQStyle*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_setWheelScrollLines(JNIEnv* env, jclass cls, jint arg1) -{ - (void) cls; - (void) env; - TQApplicationJBridge::setWheelScrollLines((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_setWinStyleHighlightColor(JNIEnv* env, jclass cls, jobject c) -{ - (void) cls; - TQApplicationJBridge::setWinStyleHighlightColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QApplication_startDragDistance(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TQApplicationJBridge::startDragDistance(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QApplication_startDragTime(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TQApplicationJBridge::startDragTime(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QApplication_startingUp(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TQApplicationJBridge::startingUp(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QApplication_style(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQStyle *) &TQApplicationJBridge::style(), "org.kde.qt.TQStyle"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_syncX(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TQApplicationJBridge::syncX(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QApplication_topLevelWidgets(JNIEnv* env, jclass cls) -{ - TQWidgetList* _qlist; - (void) cls; - _qlist = TQApplicationJBridge::topLevelWidgets(); - return (jobject) QtSupport::arrayWithTQWidgetList(env, (TQWidgetList*) _qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QApplication_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQApplicationJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QApplication_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQApplicationJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QApplication_translate__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring context, jstring key) -{ - TQString _qstring; -static TQCString* _qstring_context = 0; -static TQCString* _qstring_key = 0; - _qstring = ((TQApplication*) QtSupport::getQt(env, obj))->translate((const char*) QtSupport::toCharString(env, context, &_qstring_context), (const char*) QtSupport::toCharString(env, key, &_qstring_key)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QApplication_translate__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring context, jstring key, jstring comment) -{ - TQString _qstring; -static TQCString* _qstring_context = 0; -static TQCString* _qstring_key = 0; -static TQCString* _qstring_comment = 0; - _qstring = ((TQApplication*) QtSupport::getQt(env, obj))->translate((const char*) QtSupport::toCharString(env, context, &_qstring_context), (const char*) QtSupport::toCharString(env, key, &_qstring_key), (const char*) QtSupport::toCharString(env, comment, &_qstring_comment)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QApplication_translate__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring context, jstring key, jstring comment, jint encoding) -{ - TQString _qstring; -static TQCString* _qstring_context = 0; -static TQCString* _qstring_key = 0; -static TQCString* _qstring_comment = 0; - _qstring = ((TQApplication*) QtSupport::getQt(env, obj))->translate((const char*) QtSupport::toCharString(env, context, &_qstring_context), (const char*) QtSupport::toCharString(env, key, &_qstring_key), (const char*) QtSupport::toCharString(env, comment, &_qstring_comment), (TQApplication::Encoding) encoding); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QApplication_type(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQApplication*) QtSupport::getQt(env, obj))->type(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_wakeUpGuiThread(JNIEnv* env, jobject obj) -{ - ((TQApplication*) QtSupport::getQt(env, obj))->wakeUpGuiThread(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QApplication_wheelScrollLines(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TQApplicationJBridge::wheelScrollLines(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QApplication_widgetAt__II(JNIEnv* env, jclass cls, jint x, jint y) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQApplicationJBridge::widgetAt((int) x, (int) y), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QApplication_widgetAt__IIZ(JNIEnv* env, jclass cls, jint x, jint y, jboolean child) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQApplicationJBridge::widgetAt((int) x, (int) y, (bool) child), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QApplication_widgetAt__Lorg_kde_qt_QPoint_2(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQApplicationJBridge::widgetAt((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QApplication_widgetAt__Lorg_kde_qt_QPoint_2Z(JNIEnv* env, jclass cls, jobject arg1, jboolean child) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQApplicationJBridge::widgetAt((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (bool) child), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QApplication_winStyleHighlightColor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &TQApplicationJBridge::winStyleHighlightColor(), "org.kde.qt.TQColor"); - return xret; -} - -static jobjectArray _args = 0; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_newTQApplication___3Ljava_lang_String_2(JNIEnv *env, jobject obj, jobjectArray args) -{ - int argc = (int) env->GetArrayLength(args) + 1; - _args = (jobjectArray) env->NewGlobalRef(args); - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQApplicationJBridge(argc, QtSupport::toArgv(env, args))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_newTQApplication___3Ljava_lang_String_2Z(JNIEnv *env, jobject obj, jobjectArray args, jboolean GUIenabled) -{ - int argc = (int) env->GetArrayLength(args) + 1; - _args = (jobjectArray) env->NewGlobalRef(args); - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQApplicationJBridge(argc, QtSupport::toArgv(env, args), (bool) GUIenabled)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_newTQApplication___3Ljava_lang_String_2I(JNIEnv *env, jobject obj, jobjectArray args, jint arg1) -{ - int argc = (int) env->GetArrayLength(args) + 1; - _args = (jobjectArray) env->NewGlobalRef(args); - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQApplicationJBridge(argc, QtSupport::toArgv(env, args), (TQApplication::Type) arg1)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobjectArray JNICALL -Java_org_kde_qt_QApplication_args(JNIEnv *env, jobject obj) -{ - (void) env; - (void) obj; - return _args; -} - diff --git a/qtjava/javalib/qtjava/QApplication.h b/qtjava/javalib/qtjava/QApplication.h deleted file mode 100644 index 3b659e8f..00000000 --- a/qtjava/javalib/qtjava/QApplication.h +++ /dev/null @@ -1,137 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QApplication__ -#define __org_kde_qt_QApplication__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QApplication_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_newTQApplication___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_newTQApplication___3Ljava_lang_String_2Z (JNIEnv *env, jobject, jobjectArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_newTQApplication___3Ljava_lang_String_2I (JNIEnv *env, jobject, jobjectArray, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QApplication_type (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_mainWidget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setMainWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_polish (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_focusWidget (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_activeWindow (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QApplication_exec (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_processEvents__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_processEvents__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_processOneEvent (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QApplication_hasPendingEvents (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QApplication_enter_1loop (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_exit_1loop (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QApplication_loopLevel (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QApplication_notify (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setDefaultCodec (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_defaultCodec (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_installTranslator (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_removeTranslator (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QApplication_translate__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QApplication_translate__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QApplication_translate__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QApplication_applicationDirPath (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QApplication_applicationFilePath (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QApplication_isSessionRestored (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QApplication_sessionId (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QApplication_sessionKey (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_commitData (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_saveState (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_wakeUpGuiThread (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_quit (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_closeAllWindows (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_aboutTQt (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QApplication_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QApplication_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_style (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setStyle__Lorg_kde_qt_QStyle_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_setStyle__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QApplication_colorMode (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setColorMode (JNIEnv *env, jclass, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QApplication_colorSpec (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setColorSpec (JNIEnv *env, jclass, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_overrideCursor (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setOverrideCursor__Lorg_kde_qt_QCursor_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setOverrideCursor__Lorg_kde_qt_QCursor_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_restoreOverrideCursor (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QApplication_hasGlobalMouseTracking (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setGlobalMouseTracking (JNIEnv *env, jclass, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_palette__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_palette__ (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setPalette__Lorg_kde_qt_QPalette_2ZLjava_lang_String_2 (JNIEnv *env, jclass, jobject, jboolean, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setPalette__Lorg_kde_qt_QPalette_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setPalette__Lorg_kde_qt_QPalette_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_font__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_font__ (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setFont__Lorg_kde_qt_QFont_2ZLjava_lang_String_2 (JNIEnv *env, jclass, jobject, jboolean, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setFont__Lorg_kde_qt_QFont_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setFont__Lorg_kde_qt_QFont_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_fontMetrics (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_allWidgets (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_topLevelWidgets (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_desktop (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_activePopupWidget (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_activeModalWidget (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_clipboard (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_widgetAt__IIZ (JNIEnv *env, jclass, jint, jint, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_widgetAt__II (JNIEnv *env, jclass, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_widgetAt__Lorg_kde_qt_QPoint_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_widgetAt__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_eventLoop (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_exit__I (JNIEnv *env, jclass, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_exit__ (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QApplication_sendEvent (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_postEvent (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_sendPostedEvents__Lorg_kde_qt_QObject_2I (JNIEnv *env, jclass, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_sendPostedEvents__ (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_removePostedEvents (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QApplication_startingUp (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QApplication_closingDown (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_flushX (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_flush (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_syncX (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_beep (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setWinStyleHighlightColor (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_winStyleHighlightColor (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setDesktopSettingsAware (JNIEnv *env, jclass, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QApplication_desktopSettingsAware (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setCursorFlashTime (JNIEnv *env, jclass, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QApplication_cursorFlashTime (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setDoubleClickInterval (JNIEnv *env, jclass, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QApplication_doubleClickInterval (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setWheelScrollLines (JNIEnv *env, jclass, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QApplication_wheelScrollLines (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setGlobalStrut (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_globalStrut (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setLibraryPaths (JNIEnv *env, jclass, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_libraryPaths (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_addLibraryPath (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_removeLibraryPath (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setStartDragTime (JNIEnv *env, jclass, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QApplication_startDragTime (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setStartDragDistance (JNIEnv *env, jclass, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QApplication_startDragDistance (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setReverseLayout (JNIEnv *env, jclass, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QApplication_reverseLayout (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QApplication_horizontalAlignment (JNIEnv *env, jclass, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QApplication_isEffectEnabled (JNIEnv *env, jclass, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setEffectEnabled__IZ (JNIEnv *env, jclass, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setEffectEnabled__I (JNIEnv *env, jclass, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QApplication_event (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QApplication_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT jobjectArray JNICALL Java_org_kde_qt_QApplication_args (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QApplication__ */ diff --git a/qtjava/javalib/qtjava/QAsyncIO.cpp b/qtjava/javalib/qtjava/QAsyncIO.cpp deleted file mode 100644 index ed439ccc..00000000 --- a/qtjava/javalib/qtjava/QAsyncIO.cpp +++ /dev/null @@ -1,65 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - -class TQAsyncIOJBridge : public TQAsyncIO -{ -public: - TQAsyncIOJBridge() : TQAsyncIO() {}; - void protected_ready() { - TQAsyncIO::ready(); - return; - } - ~TQAsyncIOJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAsyncIO_connect(JNIEnv* env, jobject obj, jobject arg1, jstring member) -{ -static TQCString* _qstring_member = 0; - ((TQAsyncIO*) QtSupport::getQt(env, obj))->connect((TQObject*) QtSupport::getQt(env, arg1), (const char*) QtSupport::toCharString(env, member, &_qstring_member)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAsyncIO_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QAsyncIO_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAsyncIO_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQAsyncIO*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QAsyncIO_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAsyncIO_newTQAsyncIO(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQAsyncIOJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAsyncIO_ready(JNIEnv* env, jobject obj) -{ - ((TQAsyncIOJBridge*) QtSupport::getQt(env, obj))->protected_ready(); - return; -} - diff --git a/qtjava/javalib/qtjava/QAsyncIO.h b/qtjava/javalib/qtjava/QAsyncIO.h deleted file mode 100644 index bce6ce27..00000000 --- a/qtjava/javalib/qtjava/QAsyncIO.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QAsyncIO__ -#define __org_kde_qt_QAsyncIO__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAsyncIO_connect (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAsyncIO_newTQAsyncIO (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAsyncIO_ready (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAsyncIO_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAsyncIO_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QAsyncIO_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QAsyncIO__ */ diff --git a/qtjava/javalib/qtjava/QAuServer.cpp b/qtjava/javalib/qtjava/QAuServer.cpp deleted file mode 100644 index 851f2a27..00000000 --- a/qtjava/javalib/qtjava/QAuServer.cpp +++ /dev/null @@ -1,79 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QAuServer_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQAuServer*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAuServer_init(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQAuServer*) QtSupport::getQt(env, obj))->init((TQSound*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QAuServer_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQAuServer*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QAuServer_okay(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQAuServer*) QtSupport::getQt(env, obj))->okay(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAuServer_play__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename) -{ -static TQString* _qstring_filename = 0; - ((TQAuServer*) QtSupport::getQt(env, obj))->play((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAuServer_play__Lorg_kde_qt_QSound_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQAuServer*) QtSupport::getQt(env, obj))->play((TQSound*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QAuServer_stop(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQAuServer*) QtSupport::getQt(env, obj))->stop((TQSound*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QAuServer_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQAuServer::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QAuServer_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQAuServer::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QAuServer.h b/qtjava/javalib/qtjava/QAuServer.h deleted file mode 100644 index 164b0262..00000000 --- a/qtjava/javalib/qtjava/QAuServer.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QAuServer__ -#define __org_kde_qt_QAuServer__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QAuServer_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QAuServer_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAuServer_init (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAuServer_play__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAuServer_play__Lorg_kde_qt_QSound_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAuServer_stop (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QAuServer_okay (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QAuServer_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QAuServer_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QAuServer__ */ diff --git a/qtjava/javalib/qtjava/QBig5Codec.cpp b/qtjava/javalib/qtjava/QBig5Codec.cpp deleted file mode 100644 index 1b92acf2..00000000 --- a/qtjava/javalib/qtjava/QBig5Codec.cpp +++ /dev/null @@ -1,106 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQBig5CodecJBridge : public TQBig5Codec -{ -public: - TQBig5CodecJBridge() : TQBig5Codec() {}; - ~TQBig5CodecJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBig5Codec_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QBig5Codec_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBig5Codec_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQBig5Codec*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QBig5Codec_fromUnicode(JNIEnv* env, jobject obj, jstring uc, jintArray lenInOut) -{ - TQCString _qstring; -static TQString* _qstring_uc = 0; - int* _int_lenInOut = QtSupport::toIntPtr(env, lenInOut); - _qstring = ((TQBig5Codec*) QtSupport::getQt(env, obj))->fromUnicode((const TQString&)*(TQString*) QtSupport::toTQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); - env->SetIntArrayRegion(lenInOut, 0, 1, (jint *) _int_lenInOut); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QBig5Codec_heuristicContentMatch(JNIEnv* env, jobject obj, jstring chars, jint len) -{ -static TQCString* _qstring_chars = 0; - jint xret = (jint) ((TQBig5Codec*) QtSupport::getQt(env, obj))->heuristicContentMatch((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QBig5Codec_heuristicNameMatch(JNIEnv* env, jobject obj, jstring hint) -{ -static TQCString* _qstring_hint = 0; - jint xret = (jint) ((TQBig5Codec*) QtSupport::getQt(env, obj))->heuristicNameMatch((const char*) QtSupport::toCharString(env, hint, &_qstring_hint)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QBig5Codec_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QBig5Codec_makeDecoder(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQBig5Codec*) QtSupport::getQt(env, obj))->makeDecoder(), "org.kde.qt.TQTextDecoder"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QBig5Codec_mibEnum(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQBig5Codec*) QtSupport::getQt(env, obj))->mibEnum(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QBig5Codec_name(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQBig5Codec*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBig5Codec_newTQBig5Codec(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQBig5CodecJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QBig5Codec_toUnicode(JNIEnv* env, jobject obj, jstring chars, jint len) -{ - TQString _qstring; -static TQCString* _qstring_chars = 0; - _qstring = ((TQBig5Codec*) QtSupport::getQt(env, obj))->toUnicode((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QBig5Codec.h b/qtjava/javalib/qtjava/QBig5Codec.h deleted file mode 100644 index 4b912a1c..00000000 --- a/qtjava/javalib/qtjava/QBig5Codec.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QBig5Codec__ -#define __org_kde_qt_QBig5Codec__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QBig5Codec_mibEnum (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QBig5Codec_name (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QBig5Codec_makeDecoder (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QBig5Codec_fromUnicode (JNIEnv *env, jobject, jstring, jintArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QBig5Codec_toUnicode (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QBig5Codec_heuristicContentMatch (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QBig5Codec_heuristicNameMatch (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBig5Codec_newTQBig5Codec (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBig5Codec_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBig5Codec_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QBig5Codec_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QBig5Codec__ */ diff --git a/qtjava/javalib/qtjava/QBitmap.cpp b/qtjava/javalib/qtjava/QBitmap.cpp deleted file mode 100644 index 70288fa0..00000000 --- a/qtjava/javalib/qtjava/QBitmap.cpp +++ /dev/null @@ -1,231 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include - -class TQBitmapJBridge : public TQBitmap -{ -public: - TQBitmapJBridge() : TQBitmap() {}; - TQBitmapJBridge(int arg1,int arg2,bool arg3,TQPixmap::Optimization arg4) : TQBitmap(arg1,arg2,arg3,arg4) {}; - TQBitmapJBridge(int arg1,int arg2,bool arg3) : TQBitmap(arg1,arg2,arg3) {}; - TQBitmapJBridge(int arg1,int arg2) : TQBitmap(arg1,arg2) {}; - TQBitmapJBridge(const TQSize& arg1,bool arg2,TQPixmap::Optimization arg3) : TQBitmap(arg1,arg2,arg3) {}; - TQBitmapJBridge(const TQSize& arg1,bool arg2) : TQBitmap(arg1,arg2) {}; - TQBitmapJBridge(const TQSize& arg1) : TQBitmap(arg1) {}; - TQBitmapJBridge(int arg1,int arg2,const uchar* arg3,bool arg4) : TQBitmap(arg1,arg2,arg3,arg4) {}; - TQBitmapJBridge(int arg1,int arg2,const uchar* arg3) : TQBitmap(arg1,arg2,arg3) {}; - TQBitmapJBridge(const TQSize& arg1,const uchar* arg2,bool arg3) : TQBitmap(arg1,arg2,arg3) {}; - TQBitmapJBridge(const TQSize& arg1,const uchar* arg2) : TQBitmap(arg1,arg2) {}; - TQBitmapJBridge(const TQBitmap& arg1) : TQBitmap(arg1) {}; - TQBitmapJBridge(const TQString& arg1,const char* arg2) : TQBitmap(arg1,arg2) {}; - TQBitmapJBridge(const TQString& arg1) : TQBitmap(arg1) {}; - ~TQBitmapJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBitmap_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QBitmap_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBitmap_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQBitmap*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QBitmap_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBitmap_newTQBitmap__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQBitmapJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBitmap_newTQBitmap__II(JNIEnv* env, jobject obj, jint w, jint h) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQBitmapJBridge((int) w, (int) h)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBitmap_newTQBitmap__IIZ(JNIEnv* env, jobject obj, jint w, jint h, jboolean clear) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQBitmapJBridge((int) w, (int) h, (bool) clear)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBitmap_newTQBitmap__IIZI(JNIEnv* env, jobject obj, jint w, jint h, jboolean clear, jint arg4) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQBitmapJBridge((int) w, (int) h, (bool) clear, (TQPixmap::Optimization) arg4)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBitmap_newTQBitmap__II_3C(JNIEnv* env, jobject obj, jint w, jint h, jcharArray bits) -{ -static TQByteArray* _qbytearray_bits = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQBitmapJBridge((int) w, (int) h, (const uchar*) QtSupport::toUcharArray(env, bits, &_qbytearray_bits))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBitmap_newTQBitmap__II_3CZ(JNIEnv* env, jobject obj, jint w, jint h, jcharArray bits, jboolean isXbitmap) -{ -static TQByteArray* _qbytearray_bits = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQBitmapJBridge((int) w, (int) h, (const uchar*) QtSupport::toUcharArray(env, bits, &_qbytearray_bits), (bool) isXbitmap)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBitmap_newTQBitmap__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 TQBitmapJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBitmap_newTQBitmap__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; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQBitmapJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBitmap_newTQBitmap__Lorg_kde_qt_QBitmap_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQBitmapJBridge((const TQBitmap&)*(const TQBitmap*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBitmap_newTQBitmap__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQBitmapJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBitmap_newTQBitmap__Lorg_kde_qt_QSize_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean clear) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQBitmapJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (bool) clear)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBitmap_newTQBitmap__Lorg_kde_qt_QSize_2ZI(JNIEnv* env, jobject obj, jobject arg1, jboolean clear, jint arg3) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQBitmapJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (bool) clear, (TQPixmap::Optimization) arg3)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBitmap_newTQBitmap__Lorg_kde_qt_QSize_2_3C(JNIEnv* env, jobject obj, jobject arg1, jcharArray bits) -{ -static TQByteArray* _qbytearray_bits = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQBitmapJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (const uchar*) QtSupport::toUcharArray(env, bits, &_qbytearray_bits))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBitmap_newTQBitmap__Lorg_kde_qt_QSize_2_3CZ(JNIEnv* env, jobject obj, jobject arg1, jcharArray bits, jboolean isXbitmap) -{ -static TQByteArray* _qbytearray_bits = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQBitmapJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (const uchar*) QtSupport::toUcharArray(env, bits, &_qbytearray_bits), (bool) isXbitmap)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QBitmap_xForm(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQBitmap(((TQBitmap*) QtSupport::getQt(env, obj))->xForm((const TQWMatrix&)*(const TQWMatrix*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQBitmap", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBitmap_newTQBitmap__Lorg_kde_qt_QPixmap_2(JNIEnv *env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - TQBitmap temp; - temp = (TQPixmap&) *(TQPixmap *) QtSupport::getQt(env, arg1); - QtSupport::setQt(env, obj, new TQBitmapJBridge(temp)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBitmap_newTQBitmap__Lorg_kde_qt_QImage_2(JNIEnv *env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - TQBitmap temp; - temp = (TQImage&) *(TQImage *) QtSupport::getQt(env, arg1); - QtSupport::setQt(env, obj, new TQBitmapJBridge(temp)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/qtjava/javalib/qtjava/QBitmap.h b/qtjava/javalib/qtjava/QBitmap.h deleted file mode 100644 index e20bba15..00000000 --- a/qtjava/javalib/qtjava/QBitmap.h +++ /dev/null @@ -1,38 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QBitmap__ -#define __org_kde_qt_QBitmap__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newTQBitmap__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newTQBitmap__IIZI (JNIEnv *env, jobject, jint, jint, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newTQBitmap__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newTQBitmap__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newTQBitmap__Lorg_kde_qt_QSize_2ZI (JNIEnv *env, jobject, jobject, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newTQBitmap__Lorg_kde_qt_QSize_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newTQBitmap__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newTQBitmap__II_3CZ (JNIEnv *env, jobject, jint, jint, jcharArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newTQBitmap__II_3C (JNIEnv *env, jobject, jint, jint, jcharArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newTQBitmap__Lorg_kde_qt_QSize_2_3CZ (JNIEnv *env, jobject, jobject, jcharArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newTQBitmap__Lorg_kde_qt_QSize_2_3C (JNIEnv *env, jobject, jobject, jcharArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newTQBitmap__Lorg_kde_qt_QBitmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newTQBitmap__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newTQBitmap__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QBitmap_xForm (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QBitmap_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newTQBitmap__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newTQBitmap__Lorg_kde_qt_QImage_2 (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QBitmap__ */ diff --git a/qtjava/javalib/qtjava/QBoxLayout.cpp b/qtjava/javalib/qtjava/QBoxLayout.cpp deleted file mode 100644 index 64f38b3e..00000000 --- a/qtjava/javalib/qtjava/QBoxLayout.cpp +++ /dev/null @@ -1,459 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include - -class TQBoxLayoutJBridge : public TQBoxLayout -{ -public: - TQBoxLayoutJBridge(TQWidget* arg1,TQBoxLayout::Direction arg2,int arg3,int arg4,const char* arg5) : TQBoxLayout(arg1,arg2,arg3,arg4,arg5) {}; - TQBoxLayoutJBridge(TQWidget* arg1,TQBoxLayout::Direction arg2,int arg3,int arg4) : TQBoxLayout(arg1,arg2,arg3,arg4) {}; - TQBoxLayoutJBridge(TQWidget* arg1,TQBoxLayout::Direction arg2,int arg3) : TQBoxLayout(arg1,arg2,arg3) {}; - TQBoxLayoutJBridge(TQWidget* arg1,TQBoxLayout::Direction arg2) : TQBoxLayout(arg1,arg2) {}; - TQBoxLayoutJBridge(TQLayout* arg1,TQBoxLayout::Direction arg2,int arg3,const char* arg4) : TQBoxLayout(arg1,arg2,arg3,arg4) {}; - TQBoxLayoutJBridge(TQLayout* arg1,TQBoxLayout::Direction arg2,int arg3) : TQBoxLayout(arg1,arg2,arg3) {}; - TQBoxLayoutJBridge(TQLayout* arg1,TQBoxLayout::Direction arg2) : TQBoxLayout(arg1,arg2) {}; - TQBoxLayoutJBridge(TQBoxLayout::Direction arg1,int arg2,const char* arg3) : TQBoxLayout(arg1,arg2,arg3) {}; - TQBoxLayoutJBridge(TQBoxLayout::Direction arg1,int arg2) : TQBoxLayout(arg1,arg2) {}; - TQBoxLayoutJBridge(TQBoxLayout::Direction arg1) : TQBoxLayout(arg1) {}; - void protected_insertItem(int arg1,TQLayoutItem* arg2) { - TQBoxLayout::insertItem(arg1,arg2); - return; - } - ~TQBoxLayoutJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void setMenuBar(TQMenuBar* arg1) { - if (!QtSupport::eventDelegate(this,"setMenuBar",(void*)arg1,"org.kde.qt.TQMenuBar")) { - TQLayout::setMenuBar(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")) { - TQLayout::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_addItem(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQBoxLayout*) QtSupport::getQt(env, obj))->addItem((TQLayoutItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_addLayout__Lorg_kde_qt_QLayout_2(JNIEnv* env, jobject obj, jobject layout) -{ - ((TQBoxLayout*) QtSupport::getQt(env, obj))->addLayout((TQLayout*) QtSupport::getQt(env, layout)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_addLayout__Lorg_kde_qt_QLayout_2I(JNIEnv* env, jobject obj, jobject layout, jint stretch) -{ - ((TQBoxLayout*) QtSupport::getQt(env, obj))->addLayout((TQLayout*) QtSupport::getQt(env, layout), (int) stretch); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_addSpacing(JNIEnv* env, jobject obj, jint size) -{ - ((TQBoxLayout*) QtSupport::getQt(env, obj))->addSpacing((int) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_addStretch__(JNIEnv* env, jobject obj) -{ - ((TQBoxLayout*) QtSupport::getQt(env, obj))->addStretch(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_addStretch__I(JNIEnv* env, jobject obj, jint stretch) -{ - ((TQBoxLayout*) QtSupport::getQt(env, obj))->addStretch((int) stretch); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_addStrut(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQBoxLayout*) QtSupport::getQt(env, obj))->addStrut((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_addWidget__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQBoxLayout*) QtSupport::getQt(env, obj))->addWidget((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_addWidget__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject arg1, jint stretch) -{ - ((TQBoxLayout*) QtSupport::getQt(env, obj))->addWidget((TQWidget*) QtSupport::getQt(env, arg1), (int) stretch); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_addWidget__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject arg1, jint stretch, jint alignment) -{ - ((TQBoxLayout*) QtSupport::getQt(env, obj))->addWidget((TQWidget*) QtSupport::getQt(env, arg1), (int) stretch, (int) alignment); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QBoxLayout_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQBoxLayout*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QBoxLayout_direction(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQBoxLayout*) QtSupport::getQt(env, obj))->direction(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QBoxLayout_finalize(env, obj); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QBoxLayout_expanding(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQBoxLayout*) QtSupport::getQt(env, obj))->expanding(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQLayoutItem*)(TQBoxLayout*)QtSupport::getQt(env, obj))->layout() == 0 && ((TQLayoutItem*)(TQBoxLayout*)QtSupport::getQt(env, obj))->widget() == 0 && ((TQLayoutItem*)(TQBoxLayout*)QtSupport::getQt(env, obj))->spacerItem() == 0) { - delete (TQBoxLayout*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QBoxLayout_findWidget(JNIEnv* env, jobject obj, jobject w) -{ - jint xret = (jint) ((TQBoxLayout*) QtSupport::getQt(env, obj))->findWidget((TQWidget*) QtSupport::getQt(env, w)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QBoxLayout_hasHeightForWidth(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQBoxLayout*) QtSupport::getQt(env, obj))->hasHeightForWidth(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QBoxLayout_heightForWidth(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQBoxLayout*) QtSupport::getQt(env, obj))->heightForWidth((int) arg1); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_insertItem(JNIEnv* env, jobject obj, jint index, jobject arg2) -{ - ((TQBoxLayoutJBridge*) QtSupport::getQt(env, obj))->protected_insertItem((int) index, (TQLayoutItem*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_insertLayout__ILorg_kde_qt_QLayout_2(JNIEnv* env, jobject obj, jint index, jobject layout) -{ - ((TQBoxLayout*) QtSupport::getQt(env, obj))->insertLayout((int) index, (TQLayout*) QtSupport::getQt(env, layout)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_insertLayout__ILorg_kde_qt_QLayout_2I(JNIEnv* env, jobject obj, jint index, jobject layout, jint stretch) -{ - ((TQBoxLayout*) QtSupport::getQt(env, obj))->insertLayout((int) index, (TQLayout*) QtSupport::getQt(env, layout), (int) stretch); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_insertSpacing(JNIEnv* env, jobject obj, jint index, jint size) -{ - ((TQBoxLayout*) QtSupport::getQt(env, obj))->insertSpacing((int) index, (int) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_insertStretch__I(JNIEnv* env, jobject obj, jint index) -{ - ((TQBoxLayout*) QtSupport::getQt(env, obj))->insertStretch((int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_insertStretch__II(JNIEnv* env, jobject obj, jint index, jint stretch) -{ - ((TQBoxLayout*) QtSupport::getQt(env, obj))->insertStretch((int) index, (int) stretch); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_insertWidget__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint index, jobject widget) -{ - ((TQBoxLayout*) QtSupport::getQt(env, obj))->insertWidget((int) index, (TQWidget*) QtSupport::getQt(env, widget)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_insertWidget__ILorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jint index, jobject widget, jint stretch) -{ - ((TQBoxLayout*) QtSupport::getQt(env, obj))->insertWidget((int) index, (TQWidget*) QtSupport::getQt(env, widget), (int) stretch); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_insertWidget__ILorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jint index, jobject widget, jint stretch, jint alignment) -{ - ((TQBoxLayout*) QtSupport::getQt(env, obj))->insertWidget((int) index, (TQWidget*) QtSupport::getQt(env, widget), (int) stretch, (int) alignment); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_invalidate(JNIEnv* env, jobject obj) -{ - ((TQBoxLayout*) QtSupport::getQt(env, obj))->invalidate(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QBoxLayout_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QBoxLayout_maximumSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQBoxLayout*) QtSupport::getQt(env, obj))->maximumSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QBoxLayout_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQBoxLayout*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QBoxLayout_minimumHeightForWidth(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQBoxLayout*) QtSupport::getQt(env, obj))->minimumHeightForWidth((int) arg1); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QBoxLayout_minimumSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQBoxLayout*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_newTQBoxLayout__I(JNIEnv* env, jobject obj, jint arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQBoxLayoutJBridge((TQBoxLayout::Direction) arg1)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_newTQBoxLayout__II(JNIEnv* env, jobject obj, jint arg1, jint spacing) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQBoxLayoutJBridge((TQBoxLayout::Direction) arg1, (int) spacing)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_newTQBoxLayout__IILjava_lang_String_2(JNIEnv* env, jobject obj, jint arg1, jint spacing, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQBoxLayoutJBridge((TQBoxLayout::Direction) arg1, (int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_newTQBoxLayout__Lorg_kde_qt_QLayout_2I(JNIEnv* env, jobject obj, jobject parentLayout, jint arg2) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQBoxLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout), (TQBoxLayout::Direction) arg2)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_newTQBoxLayout__Lorg_kde_qt_QLayout_2II(JNIEnv* env, jobject obj, jobject parentLayout, jint arg2, jint spacing) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQBoxLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout), (TQBoxLayout::Direction) arg2, (int) spacing)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_newTQBoxLayout__Lorg_kde_qt_QLayout_2IILjava_lang_String_2(JNIEnv* env, jobject obj, jobject parentLayout, jint arg2, jint spacing, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQBoxLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout), (TQBoxLayout::Direction) arg2, (int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_newTQBoxLayout__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject parent, jint arg2) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQBoxLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (TQBoxLayout::Direction) arg2)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_newTQBoxLayout__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject parent, jint arg2, jint border) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQBoxLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (TQBoxLayout::Direction) arg2, (int) border)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_newTQBoxLayout__Lorg_kde_qt_QWidget_2III(JNIEnv* env, jobject obj, jobject parent, jint arg2, jint border, jint spacing) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQBoxLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (TQBoxLayout::Direction) arg2, (int) border, (int) spacing)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_newTQBoxLayout__Lorg_kde_qt_QWidget_2IIILjava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jint arg2, jint border, jint spacing, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQBoxLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (TQBoxLayout::Direction) arg2, (int) border, (int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_setDirection(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQBoxLayout*) QtSupport::getQt(env, obj))->setDirection((TQBoxLayout::Direction) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_setGeometry(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQBoxLayout*) QtSupport::getQt(env, obj))->setGeometry((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QBoxLayout_setStretchFactor__Lorg_kde_qt_QLayout_2I(JNIEnv* env, jobject obj, jobject l, jint stretch) -{ - jboolean xret = (jboolean) ((TQBoxLayout*) QtSupport::getQt(env, obj))->setStretchFactor((TQLayout*) QtSupport::getQt(env, l), (int) stretch); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QBoxLayout_setStretchFactor__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject arg1, jint stretch) -{ - jboolean xret = (jboolean) ((TQBoxLayout*) QtSupport::getQt(env, obj))->setStretchFactor((TQWidget*) QtSupport::getQt(env, arg1), (int) stretch); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QBoxLayout_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQBoxLayout*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QBoxLayout_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQBoxLayoutJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QBoxLayout_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQBoxLayoutJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QBoxLayout.h b/qtjava/javalib/qtjava/QBoxLayout.h deleted file mode 100644 index b29d6b7e..00000000 --- a/qtjava/javalib/qtjava/QBoxLayout.h +++ /dev/null @@ -1,68 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QBoxLayout__ -#define __org_kde_qt_QBoxLayout__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QBoxLayout_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QBoxLayout_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_newTQBoxLayout__Lorg_kde_qt_QWidget_2IIILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jint, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_newTQBoxLayout__Lorg_kde_qt_QWidget_2III (JNIEnv *env, jobject, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_newTQBoxLayout__Lorg_kde_qt_QWidget_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_newTQBoxLayout__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_newTQBoxLayout__Lorg_kde_qt_QLayout_2IILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_newTQBoxLayout__Lorg_kde_qt_QLayout_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_newTQBoxLayout__Lorg_kde_qt_QLayout_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_newTQBoxLayout__IILjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_newTQBoxLayout__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_newTQBoxLayout__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_addItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QBoxLayout_direction (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_setDirection (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_addSpacing (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_addStretch__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_addStretch__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_addWidget__Lorg_kde_qt_QWidget_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_addWidget__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_addWidget__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_addLayout__Lorg_kde_qt_QLayout_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_addLayout__Lorg_kde_qt_QLayout_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_addStrut (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_insertSpacing (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_insertStretch__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_insertStretch__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_insertWidget__ILorg_kde_qt_QWidget_2II (JNIEnv *env, jobject, jint, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_insertWidget__ILorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jint, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_insertWidget__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_insertLayout__ILorg_kde_qt_QLayout_2I (JNIEnv *env, jobject, jint, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_insertLayout__ILorg_kde_qt_QLayout_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QBoxLayout_setStretchFactor__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QBoxLayout_setStretchFactor__Lorg_kde_qt_QLayout_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QBoxLayout_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QBoxLayout_minimumSize (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QBoxLayout_maximumSize (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QBoxLayout_hasHeightForWidth (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QBoxLayout_heightForWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QBoxLayout_minimumHeightForWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QBoxLayout_expanding (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_invalidate (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_setGeometry (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QBoxLayout_findWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QBoxLayout_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QBoxLayout_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_insertItem (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QBoxLayout_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QBoxLayout__ */ diff --git a/qtjava/javalib/qtjava/QBrush.cpp b/qtjava/javalib/qtjava/QBrush.cpp deleted file mode 100644 index a0efe85b..00000000 --- a/qtjava/javalib/qtjava/QBrush.cpp +++ /dev/null @@ -1,160 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -class TQBrushJBridge : public TQBrush -{ -public: - TQBrushJBridge() : TQBrush() {}; - TQBrushJBridge(TQt::BrushStyle arg1) : TQBrush(arg1) {}; - TQBrushJBridge(const TQColor& arg1,TQt::BrushStyle arg2) : TQBrush(arg1,arg2) {}; - TQBrushJBridge(const TQColor& arg1) : TQBrush(arg1) {}; - TQBrushJBridge(const TQColor& arg1,const TQPixmap& arg2) : TQBrush(arg1,arg2) {}; - TQBrushJBridge(const TQBrush& arg1) : TQBrush(arg1) {}; - ~TQBrushJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QBrush_color(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQBrush*) QtSupport::getQt(env, obj))->color(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBrush_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QBrush_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBrush_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQBrush*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QBrush_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBrush_newTQBrush__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQBrushJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBrush_newTQBrush__I(JNIEnv* env, jobject obj, jint arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQBrushJBridge((TQt::BrushStyle) arg1)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBrush_newTQBrush__Lorg_kde_qt_QBrush_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQBrushJBridge((const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBrush_newTQBrush__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQBrushJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBrush_newTQBrush__Lorg_kde_qt_QColor_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQBrushJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1), (TQt::BrushStyle) arg2)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBrush_newTQBrush__Lorg_kde_qt_QColor_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQBrushJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg2))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QBrush_op_1equals(JNIEnv* env, jobject obj, jobject p) -{ - jboolean xret = (jboolean) ((TQBrush*) QtSupport::getQt(env, obj))->operator==((const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, p)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QBrush_op_1not_1equals(JNIEnv* env, jobject obj, jobject b) -{ - jboolean xret = (jboolean) ((TQBrush*) QtSupport::getQt(env, obj))->operator!=((const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, b)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QBrush_pixmap(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQBrush*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBrush_setColor(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQBrush*) QtSupport::getQt(env, obj))->setColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBrush_setPixmap(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQBrush*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBrush_setStyle(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQBrush*) QtSupport::getQt(env, obj))->setStyle((TQt::BrushStyle) arg1); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QBrush_style(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQBrush*) QtSupport::getQt(env, obj))->style(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QBrush.h b/qtjava/javalib/qtjava/QBrush.h deleted file mode 100644 index ad802b80..00000000 --- a/qtjava/javalib/qtjava/QBrush.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QBrush__ -#define __org_kde_qt_QBrush__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBrush_newTQBrush__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBrush_newTQBrush__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBrush_newTQBrush__Lorg_kde_qt_QColor_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBrush_newTQBrush__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBrush_newTQBrush__Lorg_kde_qt_QColor_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBrush_newTQBrush__Lorg_kde_qt_QBrush_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QBrush_style (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBrush_setStyle (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QBrush_color (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBrush_setColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QBrush_pixmap (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBrush_setPixmap (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QBrush_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QBrush_op_1not_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBrush_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBrush_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QBrush_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QBrush__ */ diff --git a/qtjava/javalib/qtjava/QBuffer.cpp b/qtjava/javalib/qtjava/QBuffer.cpp deleted file mode 100644 index 980fc279..00000000 --- a/qtjava/javalib/qtjava/QBuffer.cpp +++ /dev/null @@ -1,175 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -class TQBufferJBridge : public TQBuffer -{ -public: - TQBufferJBridge() : TQBuffer() {}; - TQBufferJBridge(TQByteArray arg1) : TQBuffer(arg1) {}; - ~TQBufferJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QBuffer_at__(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((TQBuffer*) QtSupport::getQt(env, obj))->at(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QBuffer_at__J(JNIEnv* env, jobject obj, jlong arg1) -{ - jboolean xret = (jboolean) ((TQBuffer*) QtSupport::getQt(env, obj))->at((TQIODevice::Offset) arg1); - return xret; -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_qt_QBuffer_buffer(JNIEnv* env, jobject obj) -{ - TQByteArray _qbyteArray; - _qbyteArray = ((TQBuffer*) QtSupport::getQt(env, obj))->buffer(); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBuffer_close(JNIEnv* env, jobject obj) -{ - ((TQBuffer*) QtSupport::getQt(env, obj))->close(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBuffer_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QBuffer_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBuffer_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQBuffer*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBuffer_flush(JNIEnv* env, jobject obj) -{ - ((TQBuffer*) QtSupport::getQt(env, obj))->flush(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QBuffer_getch(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQBuffer*) QtSupport::getQt(env, obj))->getch(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QBuffer_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBuffer_newTQBuffer__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQBufferJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QBuffer_newTQBuffer___3B(JNIEnv* env, jobject obj, jbyteArray arg1) -{ -static TQByteArray* _qbyteArray_arg1 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQBufferJBridge((TQByteArray)*(TQByteArray*) QtSupport::toTQByteArray(env, arg1, &_qbyteArray_arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QBuffer_open(JNIEnv* env, jobject obj, jint arg1) -{ - jboolean xret = (jboolean) ((TQBuffer*) QtSupport::getQt(env, obj))->open((int) arg1); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QBuffer_putch(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQBuffer*) QtSupport::getQt(env, obj))->putch((int) arg1); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QBuffer_readBlock(JNIEnv* env, jobject obj, jobject p, jlong arg2) -{ -static TQCString* _qstring_p = 0; - if (_qstring_p == 0) { _qstring_p = new TQCString(); } - _qstring_p->resize((uint) arg2); - jlong xret = (jlong) ((TQBuffer*) QtSupport::getQt(env, obj))->readBlock((char*) _qstring_p->data(), (Q_ULONG) arg2); - QtSupport::fromTQCStringToStringBuffer(env, _qstring_p, p); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QBuffer_readLine(JNIEnv* env, jobject obj, jstring p, jlong arg2) -{ -static TQCString* _qstring_p = 0; - jlong xret = (jlong) ((TQBuffer*) QtSupport::getQt(env, obj))->readLine((char*) QtSupport::toCharString(env, p, &_qstring_p), (Q_ULONG) arg2); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QBuffer_setBuffer(JNIEnv* env, jobject obj, jbyteArray arg1) -{ -static TQByteArray* _qbyteArray_arg1 = 0; - jboolean xret = (jboolean) ((TQBuffer*) QtSupport::getQt(env, obj))->setBuffer((TQByteArray)*(TQByteArray*) QtSupport::toTQByteArray(env, arg1, &_qbyteArray_arg1)); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QBuffer_size(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((TQBuffer*) QtSupport::getQt(env, obj))->size(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QBuffer_ungetch(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQBuffer*) QtSupport::getQt(env, obj))->ungetch((int) arg1); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QBuffer_writeBlock__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring p, jlong arg2) -{ -static TQCString* _qstring_p = 0; - jlong xret = (jlong) ((TQBuffer*) QtSupport::getQt(env, obj))->writeBlock((const char*) QtSupport::toCharString(env, p, &_qstring_p), (Q_ULONG) arg2); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QBuffer_writeBlock___3B(JNIEnv* env, jobject obj, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - jlong xret = (jlong) ((TQBuffer*) QtSupport::getQt(env, obj))->writeBlock((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QBuffer.h b/qtjava/javalib/qtjava/QBuffer.h deleted file mode 100644 index 8b4ee52f..00000000 --- a/qtjava/javalib/qtjava/QBuffer.h +++ /dev/null @@ -1,38 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QBuffer__ -#define __org_kde_qt_QBuffer__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBuffer_newTQBuffer__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBuffer_newTQBuffer___3B (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QBuffer_buffer (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QBuffer_setBuffer (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QBuffer_open (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBuffer_close (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBuffer_flush (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QBuffer_size (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QBuffer_at__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QBuffer_at__J (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QBuffer_readBlock (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QBuffer_writeBlock__Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QBuffer_writeBlock___3B (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QBuffer_readLine (JNIEnv *env, jobject, jstring, jlong); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QBuffer_getch (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QBuffer_putch (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QBuffer_ungetch (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBuffer_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBuffer_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QBuffer_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QBuffer__ */ diff --git a/qtjava/javalib/qtjava/QButton.cpp b/qtjava/javalib/qtjava/QButton.cpp deleted file mode 100644 index 863d57c9..00000000 --- a/qtjava/javalib/qtjava/QButton.cpp +++ /dev/null @@ -1,809 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQButtonJBridge : public TQButton -{ -public: - TQButtonJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQButton(arg1,arg2,arg3) {}; - TQButtonJBridge(TQWidget* arg1,const char* arg2) : TQButton(arg1,arg2) {}; - TQButtonJBridge(TQWidget* arg1) : TQButton(arg1) {}; - TQButtonJBridge() : TQButton() {}; - void protected_setToggleButton(bool arg1) { - TQButton::setToggleButton(arg1); - return; - } - void protected_setToggleType(TQButton::ToggleType arg1) { - TQButton::setToggleType(arg1); - return; - } - void protected_setOn(bool arg1) { - TQButton::setOn(arg1); - return; - } - void protected_setState(TQButton::ToggleState arg1) { - TQButton::setState(arg1); - return; - } - bool protected_hitButton(const TQPoint& arg1) { - return (bool) TQButton::hitButton(arg1); - } - void protected_drawButton(TQPainter* arg1) { - TQButton::drawButton(arg1); - return; - } - void protected_drawButtonLabel(TQPainter* arg1) { - TQButton::drawButtonLabel(arg1); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQButton::keyPressEvent(arg1); - return; - } - void protected_keyReleaseEvent(TQKeyEvent* arg1) { - TQButton::keyReleaseEvent(arg1); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TQButton::mousePressEvent(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - TQButton::mouseReleaseEvent(arg1); - return; - } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - TQButton::mouseMoveEvent(arg1); - return; - } - void protected_paintEvent(TQPaintEvent* arg1) { - TQButton::paintEvent(arg1); - return; - } - void protected_focusInEvent(TQFocusEvent* arg1) { - TQButton::focusInEvent(arg1); - return; - } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TQButton::focusOutEvent(arg1); - return; - } - void protected_enabledChange(bool arg1) { - TQButton::enabledChange(arg1); - return; - } - ~TQButtonJBridge() {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.qt.TQButton","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.qt.TQButton","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.qt.TQButton","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.qt.TQButton","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.qt.TQButton","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.qt.TQButton","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQButton","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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQButton","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQButton","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")) { - TQButton::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")) { - TQButton::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.qt.TQButton","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; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQButton",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.qt.TQButton","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QButton_accel(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQKeySequence(((TQButton*) QtSupport::getQt(env, obj))->accel()), "org.kde.qt.TQKeySequence", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButton_animateClick(JNIEnv* env, jobject obj) -{ - ((TQButton*) QtSupport::getQt(env, obj))->animateClick(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QButton_autoRepeat(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQButton*) QtSupport::getQt(env, obj))->autoRepeat(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QButton_autoResize(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQButton*) QtSupport::getQt(env, obj))->autoResize(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QButton_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQButton*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButton_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QButton_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButton_drawButtonLabel(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButtonLabel((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButton_drawButton(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButton((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButton_enabledChange(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_enabledChange((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButton_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQButton*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButton_focusInEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButton_focusOutEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QButton_group(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQButton*) QtSupport::getQt(env, obj))->group(), "org.kde.qt.TQButtonGroup"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QButton_hitButton(JNIEnv* env, jobject obj, jobject pos) -{ - jboolean xret = (jboolean) ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_hitButton((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QButton_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QButton_isDown(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQButton*) QtSupport::getQt(env, obj))->isDown(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QButton_isExclusiveToggle(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQButton*) QtSupport::getQt(env, obj))->isExclusiveToggle(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QButton_isOn(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQButton*) QtSupport::getQt(env, obj))->isOn(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QButton_isToggleButton(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQButton*) QtSupport::getQt(env, obj))->isToggleButton(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButton_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButton_keyReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_keyReleaseEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QButton_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButton_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButton_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButton_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButton_newTQButton__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQButtonJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButton_newTQButton__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQButtonJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButton_newTQButton__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 TQButtonJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButton_newTQButton__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 TQButtonJBridge((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_qt_QButton_paintEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QButton_pixmap(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQButton*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButton_setAccel(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQButton*) QtSupport::getQt(env, obj))->setAccel((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButton_setAutoRepeat(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQButton*) QtSupport::getQt(env, obj))->setAutoRepeat((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButton_setAutoResize(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQButton*) QtSupport::getQt(env, obj))->setAutoResize((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButton_setDown(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQButton*) QtSupport::getQt(env, obj))->setDown((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButton_setOn(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_setOn((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButton_setPixmap(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQButton*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButton_setState(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_setState((TQButton::ToggleState) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButton_setText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQButton*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButton_setToggleButton(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_setToggleButton((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButton_setToggleType(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_setToggleType((TQButton::ToggleType) arg1); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QButton_state(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQButton*) QtSupport::getQt(env, obj))->state(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QButton_text(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQButton*) QtSupport::getQt(env, obj))->text(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QButton_toggleType(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQButton*) QtSupport::getQt(env, obj))->toggleType(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButton_toggle(JNIEnv* env, jobject obj) -{ - ((TQButton*) QtSupport::getQt(env, obj))->toggle(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QButton_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQButtonJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QButton_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQButtonJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QButton.h b/qtjava/javalib/qtjava/QButton.h deleted file mode 100644 index 1cf59815..00000000 --- a/qtjava/javalib/qtjava/QButton.h +++ /dev/null @@ -1,65 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QButton__ -#define __org_kde_qt_QButton__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QButton_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QButton_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_newTQButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_newTQButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_newTQButton__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_newTQButton__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QButton_text (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QButton_pixmap (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_setPixmap (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QButton_accel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_setAccel (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QButton_isToggleButton (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QButton_toggleType (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_setDown (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QButton_isDown (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QButton_isOn (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QButton_state (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QButton_autoResize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_setAutoResize (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QButton_autoRepeat (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_setAutoRepeat (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QButton_isExclusiveToggle (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QButton_group (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_animateClick (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_toggle (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QButton_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QButton_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_setToggleButton (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_setToggleType (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_setOn (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_setState (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QButton_hitButton (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_drawButton (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_drawButtonLabel (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_keyReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_mouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_focusInEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_focusOutEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_enabledChange (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QButton_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QButton__ */ diff --git a/qtjava/javalib/qtjava/QButtonGroup.cpp b/qtjava/javalib/qtjava/QButtonGroup.cpp deleted file mode 100644 index e405c1fd..00000000 --- a/qtjava/javalib/qtjava/QButtonGroup.cpp +++ /dev/null @@ -1,725 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQButtonGroupJBridge : public TQButtonGroup -{ -public: - TQButtonGroupJBridge(TQWidget* arg1,const char* arg2) : TQButtonGroup(arg1,arg2) {}; - TQButtonGroupJBridge(TQWidget* arg1) : TQButtonGroup(arg1) {}; - TQButtonGroupJBridge() : TQButtonGroup() {}; - TQButtonGroupJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQButtonGroup(arg1,arg2,arg3) {}; - TQButtonGroupJBridge(const TQString& arg1,TQWidget* arg2) : TQButtonGroup(arg1,arg2) {}; - TQButtonGroupJBridge(const TQString& arg1) : TQButtonGroup(arg1) {}; - TQButtonGroupJBridge(int arg1,TQt::Orientation arg2,TQWidget* arg3,const char* arg4) : TQButtonGroup(arg1,arg2,arg3,arg4) {}; - TQButtonGroupJBridge(int arg1,TQt::Orientation arg2,TQWidget* arg3) : TQButtonGroup(arg1,arg2,arg3) {}; - TQButtonGroupJBridge(int arg1,TQt::Orientation arg2) : TQButtonGroup(arg1,arg2) {}; - TQButtonGroupJBridge(int arg1,TQt::Orientation arg2,const TQString& arg3,TQWidget* arg4,const char* arg5) : TQButtonGroup(arg1,arg2,arg3,arg4,arg5) {}; - TQButtonGroupJBridge(int arg1,TQt::Orientation arg2,const TQString& arg3,TQWidget* arg4) : TQButtonGroup(arg1,arg2,arg3,arg4) {}; - TQButtonGroupJBridge(int arg1,TQt::Orientation arg2,const TQString& arg3) : TQButtonGroup(arg1,arg2,arg3) {}; - bool protected_event(TQEvent* arg1) { - return (bool) TQButtonGroup::event(arg1); - } - void protected_buttonPressed() { - TQButtonGroup::buttonPressed(); - return; - } - void protected_buttonReleased() { - TQButtonGroup::buttonReleased(); - return; - } - void protected_buttonClicked() { - TQButtonGroup::buttonClicked(); - return; - } - void protected_buttonToggled(bool arg1) { - TQButtonGroup::buttonToggled(arg1); - return; - } - ~TQButtonGroupJBridge() {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.qt.TQButtonGroup","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.qt.TQButtonGroup","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.qt.TQButtonGroup","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.qt.TQButtonGroup","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.qt.TQButtonGroup","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.qt.TQButtonGroup","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQButtonGroup","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.qt.TQButtonGroup","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQButtonGroup","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.qt.TQButtonGroup","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.qt.TQButtonGroup",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.qt.TQButtonGroup","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQButtonGroup","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButtonGroup_buttonClicked(JNIEnv* env, jobject obj) -{ - ((TQButtonGroupJBridge*) QtSupport::getQt(env, obj))->protected_buttonClicked(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButtonGroup_buttonPressed(JNIEnv* env, jobject obj) -{ - ((TQButtonGroupJBridge*) QtSupport::getQt(env, obj))->protected_buttonPressed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButtonGroup_buttonReleased(JNIEnv* env, jobject obj) -{ - ((TQButtonGroupJBridge*) QtSupport::getQt(env, obj))->protected_buttonReleased(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButtonGroup_buttonToggled(JNIEnv* env, jobject obj, jboolean on) -{ - ((TQButtonGroupJBridge*) QtSupport::getQt(env, obj))->protected_buttonToggled((bool) on); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QButtonGroup_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQButtonGroup*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QButtonGroup_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQButtonGroup*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButtonGroup_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QButtonGroup_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QButtonGroup_event(JNIEnv* env, jobject obj, jobject e) -{ - jboolean xret = (jboolean) ((TQButtonGroupJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButtonGroup_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQButtonGroup*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQButtonGroup*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QButtonGroup_findButton(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQButtonGroup*) QtSupport::getQt(env, obj))->find((int) id), "org.kde.qt.TQButton"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QButtonGroup_id(JNIEnv* env, jobject obj, jobject arg1) -{ - jint xret = (jint) ((TQButtonGroup*) QtSupport::getQt(env, obj))->id((TQButton*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QButtonGroup_insert__Lorg_kde_qt_QButton_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jint xret = (jint) ((TQButtonGroup*) QtSupport::getQt(env, obj))->insert((TQButton*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QButtonGroup_insert__Lorg_kde_qt_QButton_2I(JNIEnv* env, jobject obj, jobject arg1, jint id) -{ - jint xret = (jint) ((TQButtonGroup*) QtSupport::getQt(env, obj))->insert((TQButton*) QtSupport::getQt(env, arg1), (int) id); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QButtonGroup_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QButtonGroup_isExclusive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQButtonGroup*) QtSupport::getQt(env, obj))->isExclusive(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QButtonGroup_isRadioButtonExclusive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQButtonGroup*) QtSupport::getQt(env, obj))->isRadioButtonExclusive(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QButtonGroup_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQButtonGroup*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButtonGroup_moveFocus(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQButtonGroup*) QtSupport::getQt(env, obj))->moveFocus((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButtonGroup_newTQButtonGroup__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQButtonGroupJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButtonGroup_newTQButtonGroup__II(JNIEnv* env, jobject obj, jint columns, jint o) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQButtonGroupJBridge((int) columns, (TQt::Orientation) o)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButtonGroup_newTQButtonGroup__IILjava_lang_String_2(JNIEnv* env, jobject obj, jint columns, jint o, jstring title) -{ -static TQString* _qstring_title = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQButtonGroupJBridge((int) columns, (TQt::Orientation) o, (const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButtonGroup_newTQButtonGroup__IILjava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint columns, jint o, jstring title, jobject parent) -{ -static TQString* _qstring_title = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQButtonGroupJBridge((int) columns, (TQt::Orientation) o, (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_qt_QButtonGroup_newTQButtonGroup__IILjava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint columns, jint o, 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 TQButtonGroupJBridge((int) columns, (TQt::Orientation) o, (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_qt_QButtonGroup_newTQButtonGroup__IILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint columns, jint o, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQButtonGroupJBridge((int) columns, (TQt::Orientation) o, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButtonGroup_newTQButtonGroup__IILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint columns, jint o, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQButtonGroupJBridge((int) columns, (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_qt_QButtonGroup_newTQButtonGroup__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 TQButtonGroupJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButtonGroup_newTQButtonGroup__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 TQButtonGroupJBridge((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_qt_QButtonGroup_newTQButtonGroup__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 TQButtonGroupJBridge((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_qt_QButtonGroup_newTQButtonGroup__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQButtonGroupJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButtonGroup_newTQButtonGroup__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 TQButtonGroupJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButtonGroup_remove(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQButtonGroup*) QtSupport::getQt(env, obj))->remove((TQButton*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QButtonGroup_selectedId(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQButtonGroup*) QtSupport::getQt(env, obj))->selectedId(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QButtonGroup_selected(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQButtonGroup*) QtSupport::getQt(env, obj))->selected(), "org.kde.qt.TQButton"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButtonGroup_setButton(JNIEnv* env, jobject obj, jint id) -{ - ((TQButtonGroup*) QtSupport::getQt(env, obj))->setButton((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButtonGroup_setExclusive(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQButtonGroup*) QtSupport::getQt(env, obj))->setExclusive((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QButtonGroup_setRadioButtonExclusive(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQButtonGroup*) QtSupport::getQt(env, obj))->setRadioButtonExclusive((bool) arg1); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QButtonGroup_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQButtonGroupJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QButtonGroup_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQButtonGroupJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QButtonGroup.h b/qtjava/javalib/qtjava/QButtonGroup.h deleted file mode 100644 index 6871226a..00000000 --- a/qtjava/javalib/qtjava/QButtonGroup.h +++ /dev/null @@ -1,56 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QButtonGroup__ -#define __org_kde_qt_QButtonGroup__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QButtonGroup_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QButtonGroup_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_newTQButtonGroup__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_newTQButtonGroup__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_newTQButtonGroup__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_newTQButtonGroup__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_newTQButtonGroup__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_newTQButtonGroup__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_newTQButtonGroup__IILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_newTQButtonGroup__IILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_newTQButtonGroup__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_newTQButtonGroup__IILjava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_newTQButtonGroup__IILjava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_newTQButtonGroup__IILjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QButtonGroup_isExclusive (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QButtonGroup_isRadioButtonExclusive (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_setExclusive (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_setRadioButtonExclusive (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QButtonGroup_insert__Lorg_kde_qt_QButton_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QButtonGroup_insert__Lorg_kde_qt_QButton_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_remove (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QButtonGroup_findButton (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QButtonGroup_id (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QButtonGroup_count (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_setButton (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_moveFocus (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QButtonGroup_selected (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QButtonGroup_selectedId (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QButtonGroup_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QButtonGroup_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QButtonGroup_event (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_buttonPressed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_buttonReleased (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_buttonClicked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_buttonToggled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QButtonGroup_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QButtonGroup__ */ diff --git a/qtjava/javalib/qtjava/QCanvas.cpp b/qtjava/javalib/qtjava/QCanvas.cpp deleted file mode 100644 index b1d2ae36..00000000 --- a/qtjava/javalib/qtjava/QCanvas.cpp +++ /dev/null @@ -1,666 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQCanvasJBridge : public TQCanvas -{ -public: - TQCanvasJBridge(TQObject* arg1,const char* arg2) : TQCanvas(arg1,arg2) {}; - TQCanvasJBridge(TQObject* arg1) : TQCanvas(arg1) {}; - TQCanvasJBridge() : TQCanvas() {}; - TQCanvasJBridge(int arg1,int arg2) : TQCanvas(arg1,arg2) {}; - TQCanvasJBridge(TQPixmap arg1,int arg2,int arg3,int arg4,int arg5) : TQCanvas(arg1,arg2,arg3,arg4,arg5) {}; - void public_setAllChanged() { - TQCanvas::setAllChanged(); - return; - } - void public_advance() { - TQCanvas::advance(); - return; - } - void public_update() { - TQCanvas::update(); - return; - } - void protected_drawBackground(TQPainter& arg1,const TQRect& arg2) { - TQCanvas::drawBackground(arg1,arg2); - return; - } - void protected_drawForeground(TQPainter& arg1,const TQRect& arg2) { - TQCanvas::drawForeground(arg1,arg2); - return; - } - ~TQCanvasJBridge() {QtSupport::qtKeyDeleted(this);} - void removeItem(TQCanvasItem* arg1) { - if (!QtSupport::eventDelegate(this,"removeItem",(void*)arg1,"org.kde.qt.TQCanvasItem")) { - TQCanvas::removeItem(arg1); - } - return; - } - void addItem(TQCanvasItem* arg1) { - if (!QtSupport::eventDelegate(this,"addItem",(void*)arg1,"org.kde.qt.TQCanvasItem")) { - TQCanvas::addItem(arg1); - } - return; - } - void removeAnimation(TQCanvasItem* arg1) { - if (!QtSupport::eventDelegate(this,"removeAnimation",(void*)arg1,"org.kde.qt.TQCanvasItem")) { - TQCanvas::removeAnimation(arg1); - } - return; - } - void update() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQCanvas","update")) { - TQCanvas::update(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void removeView(TQCanvasView* arg1) { - if (!QtSupport::eventDelegate(this,"removeView",(void*)arg1,"org.kde.qt.TQCanvasView")) { - TQCanvas::removeView(arg1); - } - return; - } - void setAllChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQCanvas","setAllChanged")) { - TQCanvas::setAllChanged(); - } - return; - } - void setChanged(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setChanged",(void*)&arg1,"org.kde.qt.TQRect")) { - TQCanvas::setChanged(arg1); - } - return; - } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQCanvas::setBackgroundPixmap(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void addAnimation(TQCanvasItem* arg1) { - if (!QtSupport::eventDelegate(this,"addAnimation",(void*)arg1,"org.kde.qt.TQCanvasItem")) { - TQCanvas::addAnimation(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 setUnchanged(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setUnchanged",(void*)&arg1,"org.kde.qt.TQRect")) { - TQCanvas::setUnchanged(arg1); - } - return; - } - void addView(TQCanvasView* arg1) { - if (!QtSupport::eventDelegate(this,"addView",(void*)arg1,"org.kde.qt.TQCanvasView")) { - TQCanvas::addView(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQCanvas::setBackgroundColor(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.qt.TQCanvas",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void advance() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQCanvas","advance")) { - TQCanvas::advance(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_addAnimation(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQCanvas*) QtSupport::getQt(env, obj))->addAnimation((TQCanvasItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_addItemToChunkContaining(JNIEnv* env, jobject obj, jobject arg1, jint x, jint y) -{ - ((TQCanvas*) QtSupport::getQt(env, obj))->addItemToChunkContaining((TQCanvasItem*) QtSupport::getQt(env, arg1), (int) x, (int) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_addItemToChunk(JNIEnv* env, jobject obj, jobject arg1, jint i, jint j) -{ - ((TQCanvas*) QtSupport::getQt(env, obj))->addItemToChunk((TQCanvasItem*) QtSupport::getQt(env, arg1), (int) i, (int) j); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_addItem(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQCanvas*) QtSupport::getQt(env, obj))->addItem((TQCanvasItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_addView(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQCanvas*) QtSupport::getQt(env, obj))->addView((TQCanvasView*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_advance(JNIEnv* env, jobject obj) -{ - ((TQCanvasJBridge*) QtSupport::getQt(env, obj))->public_advance(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvas_allItems(JNIEnv* env, jobject obj) -{ - TQCanvasItemList _qlist; - _qlist = ((TQCanvas*) QtSupport::getQt(env, obj))->allItems(); - return (jobject) QtSupport::arrayWithTQCanvasItemList(env, (TQCanvasItemList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvas_backgroundColor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TQCanvas*) QtSupport::getQt(env, obj))->backgroundColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvas_backgroundPixmap(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQCanvas*) QtSupport::getQt(env, obj))->backgroundPixmap()), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvas_chunkSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCanvas*) QtSupport::getQt(env, obj))->chunkSize(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QCanvas_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQCanvas*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvas_collisions__Lorg_kde_qt_QPointArray_2Lorg_kde_qt_QCanvasItem_2Z(JNIEnv* env, jobject obj, jobject pa, jobject item, jboolean exact) -{ - TQCanvasItemList _qlist; - _qlist = ((TQCanvas*) QtSupport::getQt(env, obj))->collisions((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, pa), (const TQCanvasItem*) QtSupport::getQt(env, item), (bool) exact); - return (jobject) QtSupport::arrayWithTQCanvasItemList(env, (TQCanvasItemList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvas_collisions__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1) -{ - TQCanvasItemList _qlist; - _qlist = ((TQCanvas*) QtSupport::getQt(env, obj))->collisions((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)); - return (jobject) QtSupport::arrayWithTQCanvasItemList(env, (TQCanvasItemList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvas_collisions__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) -{ - TQCanvasItemList _qlist; - _qlist = ((TQCanvas*) QtSupport::getQt(env, obj))->collisions((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); - return (jobject) QtSupport::arrayWithTQCanvasItemList(env, (TQCanvasItemList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QCanvas_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_drawArea__Lorg_kde_qt_QRect_2Lorg_kde_qt_QPainter_2(JNIEnv* env, jobject obj, jobject arg1, jobject p) -{ - ((TQCanvas*) QtSupport::getQt(env, obj))->drawArea((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (TQPainter*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_drawArea__Lorg_kde_qt_QRect_2Lorg_kde_qt_QPainter_2Z(JNIEnv* env, jobject obj, jobject arg1, jobject p, jboolean double_buffer) -{ - ((TQCanvas*) QtSupport::getQt(env, obj))->drawArea((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (TQPainter*) QtSupport::getQt(env, p), (bool) double_buffer); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_drawBackground(JNIEnv* env, jobject obj, jobject arg1, jobject area) -{ - ((TQCanvasJBridge*) QtSupport::getQt(env, obj))->protected_drawBackground((TQPainter&)*(TQPainter*) QtSupport::getQt(env, arg1), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, area)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_drawCanvasArea__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQCanvas*) QtSupport::getQt(env, obj))->drawCanvasArea((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_drawCanvasArea__Lorg_kde_qt_QRect_2Lorg_kde_qt_QPainter_2(JNIEnv* env, jobject obj, jobject arg1, jobject p) -{ - ((TQCanvas*) QtSupport::getQt(env, obj))->drawCanvasArea((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (TQPainter*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_drawCanvasArea__Lorg_kde_qt_QRect_2Lorg_kde_qt_QPainter_2Z(JNIEnv* env, jobject obj, jobject arg1, jobject p, jboolean double_buffer) -{ - ((TQCanvas*) QtSupport::getQt(env, obj))->drawCanvasArea((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (TQPainter*) QtSupport::getQt(env, p), (bool) double_buffer); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_drawForeground(JNIEnv* env, jobject obj, jobject arg1, jobject area) -{ - ((TQCanvasJBridge*) QtSupport::getQt(env, obj))->protected_drawForeground((TQPainter&)*(TQPainter*) QtSupport::getQt(env, arg1), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, area)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_drawViewArea(JNIEnv* env, jobject obj, jobject view, jobject p, jobject r, jboolean dbuf) -{ - ((TQCanvas*) QtSupport::getQt(env, obj))->drawViewArea((TQCanvasView*) QtSupport::getQt(env, view), (TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (bool) dbuf); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQCanvas*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQCanvas*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvas_height(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCanvas*) QtSupport::getQt(env, obj))->height(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvas_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvas_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQCanvas*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_newTQCanvas__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCanvasJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_newTQCanvas__II(JNIEnv* env, jobject obj, jint w, jint h) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCanvasJBridge((int) w, (int) h)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_newTQCanvas__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCanvasJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_newTQCanvas__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 TQCanvasJBridge((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_qt_QCanvas_newTQCanvas__Lorg_kde_qt_QPixmap_2IIII(JNIEnv* env, jobject obj, jobject p, jint h, jint v, jint tilewidth, jint tileheight) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCanvasJBridge((TQPixmap)*(TQPixmap*) QtSupport::getQt(env, p), (int) h, (int) v, (int) tilewidth, (int) tileheight)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvas_onCanvas__II(JNIEnv* env, jobject obj, jint x, jint y) -{ - jboolean xret = (jboolean) ((TQCanvas*) QtSupport::getQt(env, obj))->onCanvas((int) x, (int) y); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvas_onCanvas__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject p) -{ - jboolean xret = (jboolean) ((TQCanvas*) QtSupport::getQt(env, obj))->onCanvas((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvas_rect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQCanvas*) QtSupport::getQt(env, obj))->rect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_removeAnimation(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQCanvas*) QtSupport::getQt(env, obj))->removeAnimation((TQCanvasItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_removeItemFromChunkContaining(JNIEnv* env, jobject obj, jobject arg1, jint x, jint y) -{ - ((TQCanvas*) QtSupport::getQt(env, obj))->removeItemFromChunkContaining((TQCanvasItem*) QtSupport::getQt(env, arg1), (int) x, (int) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_removeItemFromChunk(JNIEnv* env, jobject obj, jobject arg1, jint i, jint j) -{ - ((TQCanvas*) QtSupport::getQt(env, obj))->removeItemFromChunk((TQCanvasItem*) QtSupport::getQt(env, arg1), (int) i, (int) j); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_removeItem(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQCanvas*) QtSupport::getQt(env, obj))->removeItem((TQCanvasItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_removeView(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQCanvas*) QtSupport::getQt(env, obj))->removeView((TQCanvasView*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_resize(JNIEnv* env, jobject obj, jint width, jint height) -{ - ((TQCanvas*) QtSupport::getQt(env, obj))->resize((int) width, (int) height); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_retune__I(JNIEnv* env, jobject obj, jint chunksize) -{ - ((TQCanvas*) QtSupport::getQt(env, obj))->retune((int) chunksize); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_retune__II(JNIEnv* env, jobject obj, jint chunksize, jint maxclusters) -{ - ((TQCanvas*) QtSupport::getQt(env, obj))->retune((int) chunksize, (int) maxclusters); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvas_sameChunk(JNIEnv* env, jobject obj, jint x1, jint y1, jint x2, jint y2) -{ - jboolean xret = (jboolean) ((TQCanvas*) QtSupport::getQt(env, obj))->sameChunk((int) x1, (int) y1, (int) x2, (int) y2); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_setAdvancePeriod(JNIEnv* env, jobject obj, jint ms) -{ - ((TQCanvas*) QtSupport::getQt(env, obj))->setAdvancePeriod((int) ms); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_setAllChanged(JNIEnv* env, jobject obj) -{ - ((TQCanvasJBridge*) QtSupport::getQt(env, obj))->public_setAllChanged(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_setBackgroundColor(JNIEnv* env, jobject obj, jobject c) -{ - ((TQCanvas*) QtSupport::getQt(env, obj))->setBackgroundColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_setBackgroundPixmap(JNIEnv* env, jobject obj, jobject p) -{ - ((TQCanvas*) QtSupport::getQt(env, obj))->setBackgroundPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_setChangedChunkContaining(JNIEnv* env, jobject obj, jint x, jint y) -{ - ((TQCanvas*) QtSupport::getQt(env, obj))->setChangedChunkContaining((int) x, (int) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_setChangedChunk(JNIEnv* env, jobject obj, jint i, jint j) -{ - ((TQCanvas*) QtSupport::getQt(env, obj))->setChangedChunk((int) i, (int) j); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_setChanged(JNIEnv* env, jobject obj, jobject area) -{ - ((TQCanvas*) QtSupport::getQt(env, obj))->setChanged((const TQRect&)*(const TQRect*) QtSupport::getQt(env, area)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_setDoubleBuffering(JNIEnv* env, jobject obj, jboolean y) -{ - ((TQCanvas*) QtSupport::getQt(env, obj))->setDoubleBuffering((bool) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_setTile(JNIEnv* env, jobject obj, jint x, jint y, jint tilenum) -{ - ((TQCanvas*) QtSupport::getQt(env, obj))->setTile((int) x, (int) y, (int) tilenum); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_setTiles(JNIEnv* env, jobject obj, jobject tiles, jint h, jint v, jint tilewidth, jint tileheight) -{ - ((TQCanvas*) QtSupport::getQt(env, obj))->setTiles((TQPixmap)*(TQPixmap*) QtSupport::getQt(env, tiles), (int) h, (int) v, (int) tilewidth, (int) tileheight); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_setUnchanged(JNIEnv* env, jobject obj, jobject area) -{ - ((TQCanvas*) QtSupport::getQt(env, obj))->setUnchanged((const TQRect&)*(const TQRect*) QtSupport::getQt(env, area)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_setUpdatePeriod(JNIEnv* env, jobject obj, jint ms) -{ - ((TQCanvas*) QtSupport::getQt(env, obj))->setUpdatePeriod((int) ms); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvas_size(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQCanvas*) QtSupport::getQt(env, obj))->size()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvas_tileHeight(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCanvas*) QtSupport::getQt(env, obj))->tileHeight(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvas_tileWidth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCanvas*) QtSupport::getQt(env, obj))->tileWidth(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvas_tile(JNIEnv* env, jobject obj, jint x, jint y) -{ - jint xret = (jint) ((TQCanvas*) QtSupport::getQt(env, obj))->tile((int) x, (int) y); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvas_tilesHorizontally(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCanvas*) QtSupport::getQt(env, obj))->tilesHorizontally(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvas_tilesVertically(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCanvas*) QtSupport::getQt(env, obj))->tilesVertically(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QCanvas_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQCanvasJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QCanvas_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQCanvasJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_update(JNIEnv* env, jobject obj) -{ - ((TQCanvasJBridge*) QtSupport::getQt(env, obj))->public_update(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvas_validChunk__II(JNIEnv* env, jobject obj, jint x, jint y) -{ - jboolean xret = (jboolean) ((TQCanvas*) QtSupport::getQt(env, obj))->validChunk((int) x, (int) y); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvas_validChunk__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject p) -{ - jboolean xret = (jboolean) ((TQCanvas*) QtSupport::getQt(env, obj))->validChunk((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvas_width(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCanvas*) QtSupport::getQt(env, obj))->width(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QCanvas.h b/qtjava/javalib/qtjava/QCanvas.h deleted file mode 100644 index c8fd79fd..00000000 --- a/qtjava/javalib/qtjava/QCanvas.h +++ /dev/null @@ -1,86 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QCanvas__ -#define __org_kde_qt_QCanvas__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvas_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QCanvas_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_newTQCanvas__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_newTQCanvas__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_newTQCanvas__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_newTQCanvas__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_newTQCanvas__Lorg_kde_qt_QPixmap_2IIII (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_setTiles (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_setBackgroundPixmap (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvas_backgroundPixmap (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_setBackgroundColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvas_backgroundColor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_setTile (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvas_tile (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvas_tilesHorizontally (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvas_tilesVertically (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvas_tileWidth (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvas_tileHeight (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_resize (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvas_width (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvas_height (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvas_size (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvas_rect (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvas_onCanvas__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvas_onCanvas__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvas_validChunk__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvas_validChunk__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvas_chunkSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_retune__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_retune__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvas_sameChunk (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_setChangedChunk (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_setChangedChunkContaining (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_setAllChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_setChanged (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_setUnchanged (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_addItemToChunk (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_removeItemFromChunk (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_addItemToChunkContaining (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_removeItemFromChunkContaining (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvas_allItems (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvas_collisions__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvas_collisions__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvas_collisions__Lorg_kde_qt_QPointArray_2Lorg_kde_qt_QCanvasItem_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_drawArea__Lorg_kde_qt_QRect_2Lorg_kde_qt_QPainter_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_drawArea__Lorg_kde_qt_QRect_2Lorg_kde_qt_QPainter_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_addView (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_removeView (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_drawCanvasArea__Lorg_kde_qt_QRect_2Lorg_kde_qt_QPainter_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_drawCanvasArea__Lorg_kde_qt_QRect_2Lorg_kde_qt_QPainter_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_drawCanvasArea__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_drawViewArea (JNIEnv *env, jobject, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_addItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_addAnimation (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_removeItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_removeAnimation (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_setAdvancePeriod (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_setUpdatePeriod (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_setDoubleBuffering (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_advance (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_update (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QCanvas_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QCanvas_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_drawBackground (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_drawForeground (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvas_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QCanvas__ */ diff --git a/qtjava/javalib/qtjava/QCanvasEllipse.cpp b/qtjava/javalib/qtjava/QCanvasEllipse.cpp deleted file mode 100644 index 2e695fef..00000000 --- a/qtjava/javalib/qtjava/QCanvasEllipse.cpp +++ /dev/null @@ -1,144 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQCanvasEllipseJBridge : public TQCanvasEllipse -{ -public: - TQCanvasEllipseJBridge(TQCanvas* arg1) : TQCanvasEllipse(arg1) {}; - TQCanvasEllipseJBridge(int arg1,int arg2,TQCanvas* arg3) : TQCanvasEllipse(arg1,arg2,arg3) {}; - TQCanvasEllipseJBridge(int arg1,int arg2,int arg3,int arg4,TQCanvas* arg5) : TQCanvasEllipse(arg1,arg2,arg3,arg4,arg5) {}; - void protected_drawShape(TQPainter& arg1) { - TQCanvasEllipse::drawShape(arg1); - return; - } - ~TQCanvasEllipseJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvasEllipse_angleLength(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCanvasEllipse*) QtSupport::getQt(env, obj))->angleLength(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvasEllipse_angleStart(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCanvasEllipse*) QtSupport::getQt(env, obj))->angleStart(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvasEllipse_areaPoints(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQCanvasEllipse*) QtSupport::getQt(env, obj))->areaPoints()), "org.kde.qt.TQPointArray", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvasEllipse_collidesWith(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQCanvasEllipse*) QtSupport::getQt(env, obj))->collidesWith((const TQCanvasItem*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasEllipse_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QCanvasEllipse_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasEllipse_drawShape(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQCanvasEllipseJBridge*) QtSupport::getQt(env, obj))->protected_drawShape((TQPainter&)*(TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasEllipse_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQCanvasEllipse*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvasEllipse_height(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCanvasEllipse*) QtSupport::getQt(env, obj))->height(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvasEllipse_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasEllipse_newTQCanvasEllipse__IIIILorg_kde_qt_QCanvas_2(JNIEnv* env, jobject obj, jint width, jint height, jint startangle, jint angle, jobject canvas) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCanvasEllipseJBridge((int) width, (int) height, (int) startangle, (int) angle, (TQCanvas*) QtSupport::getQt(env, canvas))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasEllipse_newTQCanvasEllipse__IILorg_kde_qt_QCanvas_2(JNIEnv* env, jobject obj, jint width, jint height, jobject canvas) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCanvasEllipseJBridge((int) width, (int) height, (TQCanvas*) QtSupport::getQt(env, canvas))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasEllipse_newTQCanvasEllipse__Lorg_kde_qt_QCanvas_2(JNIEnv* env, jobject obj, jobject canvas) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCanvasEllipseJBridge((TQCanvas*) QtSupport::getQt(env, canvas))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvasEllipse_rtti(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCanvasEllipse*) QtSupport::getQt(env, obj))->rtti(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasEllipse_setAngles(JNIEnv* env, jobject obj, jint start, jint length) -{ - ((TQCanvasEllipse*) QtSupport::getQt(env, obj))->setAngles((int) start, (int) length); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasEllipse_setSize(JNIEnv* env, jobject obj, jint w, jint h) -{ - ((TQCanvasEllipse*) QtSupport::getQt(env, obj))->setSize((int) w, (int) h); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvasEllipse_width(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCanvasEllipse*) QtSupport::getQt(env, obj))->width(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QCanvasEllipse.h b/qtjava/javalib/qtjava/QCanvasEllipse.h deleted file mode 100644 index d8f6f5ac..00000000 --- a/qtjava/javalib/qtjava/QCanvasEllipse.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QCanvasEllipse__ -#define __org_kde_qt_QCanvasEllipse__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasEllipse_newTQCanvasEllipse__Lorg_kde_qt_QCanvas_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasEllipse_newTQCanvasEllipse__IILorg_kde_qt_QCanvas_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasEllipse_newTQCanvasEllipse__IIIILorg_kde_qt_QCanvas_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasEllipse_width (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasEllipse_height (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasEllipse_setSize (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasEllipse_setAngles (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasEllipse_angleStart (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasEllipse_angleLength (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasEllipse_areaPoints (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasEllipse_collidesWith (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasEllipse_rtti (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasEllipse_drawShape (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasEllipse_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasEllipse_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasEllipse_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QCanvasEllipse__ */ diff --git a/qtjava/javalib/qtjava/QCanvasItem.cpp b/qtjava/javalib/qtjava/QCanvasItem.cpp deleted file mode 100644 index 6fb22d6a..00000000 --- a/qtjava/javalib/qtjava/QCanvasItem.cpp +++ /dev/null @@ -1,275 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvasItem_active(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQCanvasItem*) QtSupport::getQt(env, obj))->active(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasItem_advance(JNIEnv* env, jobject obj, jint stage) -{ - ((TQCanvasItem*) QtSupport::getQt(env, obj))->advance((int) stage); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvasItem_animated(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQCanvasItem*) QtSupport::getQt(env, obj))->animated(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvasItem_boundingRectAdvanced(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQCanvasItem*) QtSupport::getQt(env, obj))->boundingRectAdvanced()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvasItem_boundingRect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQCanvasItem*) QtSupport::getQt(env, obj))->boundingRect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvasItem_canvas(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQCanvasItem*) QtSupport::getQt(env, obj))->canvas(), "org.kde.qt.TQCanvas"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvasItem_collidesWith(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQCanvasItem*) QtSupport::getQt(env, obj))->collidesWith((const TQCanvasItem*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvasItem_collisions(JNIEnv* env, jobject obj, jboolean exact) -{ - TQCanvasItemList _qlist; - _qlist = ((TQCanvasItem*) QtSupport::getQt(env, obj))->collisions((bool) exact); - return (jobject) QtSupport::arrayWithTQCanvasItemList(env, (TQCanvasItemList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasItem_draw(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQCanvasItem*) QtSupport::getQt(env, obj))->draw((TQPainter&)*(TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvasItem_enabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQCanvasItem*) QtSupport::getQt(env, obj))->enabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasItem_hide(JNIEnv* env, jobject obj) -{ - ((TQCanvasItem*) QtSupport::getQt(env, obj))->hide(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvasItem_isActive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQCanvasItem*) QtSupport::getQt(env, obj))->isActive(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvasItem_isEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQCanvasItem*) QtSupport::getQt(env, obj))->isEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvasItem_isSelected(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQCanvasItem*) QtSupport::getQt(env, obj))->isSelected(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvasItem_isVisible(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQCanvasItem*) QtSupport::getQt(env, obj))->isVisible(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasItem_moveBy(JNIEnv* env, jobject obj, jdouble dx, jdouble dy) -{ - ((TQCanvasItem*) QtSupport::getQt(env, obj))->moveBy((double) dx, (double) dy); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasItem_move(JNIEnv* env, jobject obj, jdouble x, jdouble y) -{ - ((TQCanvasItem*) QtSupport::getQt(env, obj))->move((double) x, (double) y); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvasItem_rtti(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCanvasItem*) QtSupport::getQt(env, obj))->rtti(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvasItem_selected(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQCanvasItem*) QtSupport::getQt(env, obj))->selected(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasItem_setActive(JNIEnv* env, jobject obj, jboolean yes) -{ - ((TQCanvasItem*) QtSupport::getQt(env, obj))->setActive((bool) yes); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasItem_setAnimated(JNIEnv* env, jobject obj, jboolean y) -{ - ((TQCanvasItem*) QtSupport::getQt(env, obj))->setAnimated((bool) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasItem_setCanvas(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQCanvasItem*) QtSupport::getQt(env, obj))->setCanvas((TQCanvas*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasItem_setEnabled(JNIEnv* env, jobject obj, jboolean yes) -{ - ((TQCanvasItem*) QtSupport::getQt(env, obj))->setEnabled((bool) yes); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasItem_setSelected(JNIEnv* env, jobject obj, jboolean yes) -{ - ((TQCanvasItem*) QtSupport::getQt(env, obj))->setSelected((bool) yes); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasItem_setVelocity(JNIEnv* env, jobject obj, jdouble vx, jdouble vy) -{ - ((TQCanvasItem*) QtSupport::getQt(env, obj))->setVelocity((double) vx, (double) vy); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasItem_setVisible(JNIEnv* env, jobject obj, jboolean yes) -{ - ((TQCanvasItem*) QtSupport::getQt(env, obj))->setVisible((bool) yes); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasItem_setXVelocity(JNIEnv* env, jobject obj, jdouble vx) -{ - ((TQCanvasItem*) QtSupport::getQt(env, obj))->setXVelocity((double) vx); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasItem_setX(JNIEnv* env, jobject obj, jdouble a) -{ - ((TQCanvasItem*) QtSupport::getQt(env, obj))->setX((double) a); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasItem_setYVelocity(JNIEnv* env, jobject obj, jdouble vy) -{ - ((TQCanvasItem*) QtSupport::getQt(env, obj))->setYVelocity((double) vy); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasItem_setY(JNIEnv* env, jobject obj, jdouble a) -{ - ((TQCanvasItem*) QtSupport::getQt(env, obj))->setY((double) a); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasItem_setZ(JNIEnv* env, jobject obj, jdouble a) -{ - ((TQCanvasItem*) QtSupport::getQt(env, obj))->setZ((double) a); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasItem_show(JNIEnv* env, jobject obj) -{ - ((TQCanvasItem*) QtSupport::getQt(env, obj))->show(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvasItem_visible(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQCanvasItem*) QtSupport::getQt(env, obj))->visible(); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_qt_QCanvasItem_xVelocity(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((TQCanvasItem*) QtSupport::getQt(env, obj))->xVelocity(); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_qt_QCanvasItem_x(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((TQCanvasItem*) QtSupport::getQt(env, obj))->x(); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_qt_QCanvasItem_yVelocity(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((TQCanvasItem*) QtSupport::getQt(env, obj))->yVelocity(); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_qt_QCanvasItem_y(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((TQCanvasItem*) QtSupport::getQt(env, obj))->y(); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_qt_QCanvasItem_z(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((TQCanvasItem*) QtSupport::getQt(env, obj))->z(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QCanvasItem.h b/qtjava/javalib/qtjava/QCanvasItem.h deleted file mode 100644 index 65642bed..00000000 --- a/qtjava/javalib/qtjava/QCanvasItem.h +++ /dev/null @@ -1,56 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QCanvasItem__ -#define __org_kde_qt_QCanvasItem__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QCanvasItem_x (JNIEnv *env, jobject); -extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QCanvasItem_y (JNIEnv *env, jobject); -extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QCanvasItem_z (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasItem_moveBy (JNIEnv *env, jobject, jdouble, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasItem_move (JNIEnv *env, jobject, jdouble, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasItem_setX (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasItem_setY (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasItem_setZ (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasItem_animated (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasItem_setAnimated (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasItem_setVelocity (JNIEnv *env, jobject, jdouble, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasItem_setXVelocity (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasItem_setYVelocity (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QCanvasItem_xVelocity (JNIEnv *env, jobject); -extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QCanvasItem_yVelocity (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasItem_advance (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasItem_collidesWith (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasItem_collisions (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasItem_setCanvas (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasItem_draw (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasItem_show (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasItem_hide (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasItem_setVisible (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasItem_isVisible (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasItem_setSelected (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasItem_isSelected (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasItem_setEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasItem_isEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasItem_setActive (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasItem_isActive (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasItem_visible (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasItem_selected (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasItem_enabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasItem_active (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasItem_rtti (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasItem_boundingRect (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasItem_boundingRectAdvanced (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasItem_canvas (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QCanvasItem__ */ diff --git a/qtjava/javalib/qtjava/QCanvasLine.cpp b/qtjava/javalib/qtjava/QCanvasLine.cpp deleted file mode 100644 index ed91d6bb..00000000 --- a/qtjava/javalib/qtjava/QCanvasLine.cpp +++ /dev/null @@ -1,113 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include - -class TQCanvasLineJBridge : public TQCanvasLine -{ -public: - TQCanvasLineJBridge(TQCanvas* arg1) : TQCanvasLine(arg1) {}; - void protected_drawShape(TQPainter& arg1) { - TQCanvasLine::drawShape(arg1); - return; - } - TQPointArray protected_areaPoints() { - return (TQPointArray) TQCanvasLine::areaPoints(); - } - ~TQCanvasLineJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvasLine_areaPoints(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQCanvasLineJBridge*) QtSupport::getQt(env, obj))->protected_areaPoints()), "org.kde.qt.TQPointArray", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasLine_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QCanvasLine_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasLine_drawShape(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQCanvasLineJBridge*) QtSupport::getQt(env, obj))->protected_drawShape((TQPainter&)*(TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvasLine_endPoint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQCanvasLine*) QtSupport::getQt(env, obj))->endPoint()), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasLine_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQCanvasLine*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvasLine_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasLine_moveBy(JNIEnv* env, jobject obj, jdouble dx, jdouble dy) -{ - ((TQCanvasLine*) QtSupport::getQt(env, obj))->moveBy((double) dx, (double) dy); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasLine_newTQCanvasLine(JNIEnv* env, jobject obj, jobject canvas) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCanvasLineJBridge((TQCanvas*) QtSupport::getQt(env, canvas))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvasLine_rtti(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCanvasLine*) QtSupport::getQt(env, obj))->rtti(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasLine_setPen(JNIEnv* env, jobject obj, jobject p) -{ - ((TQCanvasLine*) QtSupport::getQt(env, obj))->setPen((TQPen)*(TQPen*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasLine_setPoints(JNIEnv* env, jobject obj, jint x1, jint y1, jint x2, jint y2) -{ - ((TQCanvasLine*) QtSupport::getQt(env, obj))->setPoints((int) x1, (int) y1, (int) x2, (int) y2); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvasLine_startPoint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQCanvasLine*) QtSupport::getQt(env, obj))->startPoint()), "org.kde.qt.TQPoint", TRUE); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QCanvasLine.h b/qtjava/javalib/qtjava/QCanvasLine.h deleted file mode 100644 index c3401b02..00000000 --- a/qtjava/javalib/qtjava/QCanvasLine.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QCanvasLine__ -#define __org_kde_qt_QCanvasLine__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasLine_newTQCanvasLine (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasLine_setPoints (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasLine_startPoint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasLine_endPoint (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasLine_rtti (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasLine_setPen (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasLine_moveBy (JNIEnv *env, jobject, jdouble, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasLine_drawShape (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasLine_areaPoints (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasLine_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasLine_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasLine_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QCanvasLine__ */ diff --git a/qtjava/javalib/qtjava/QCanvasPixmap.cpp b/qtjava/javalib/qtjava/QCanvasPixmap.cpp deleted file mode 100644 index 786aa416..00000000 --- a/qtjava/javalib/qtjava/QCanvasPixmap.cpp +++ /dev/null @@ -1,94 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include - -class TQCanvasPixmapJBridge : public TQCanvasPixmap -{ -public: - TQCanvasPixmapJBridge(const TQString& arg1) : TQCanvasPixmap(arg1) {}; - TQCanvasPixmapJBridge(const TQImage& arg1) : TQCanvasPixmap(arg1) {}; - TQCanvasPixmapJBridge(const TQPixmap& arg1,const TQPoint& arg2) : TQCanvasPixmap(arg1,arg2) {}; - ~TQCanvasPixmapJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasPixmap_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QCanvasPixmap_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasPixmap_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQCanvasPixmap*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvasPixmap_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasPixmap_newTQCanvasPixmap__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring datafilename) -{ -static TQString* _qstring_datafilename = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCanvasPixmapJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, datafilename, &_qstring_datafilename))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasPixmap_newTQCanvasPixmap__Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject image) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCanvasPixmapJBridge((const TQImage&)*(const TQImage*) QtSupport::getQt(env, image))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasPixmap_newTQCanvasPixmap__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1, jobject hotspot) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCanvasPixmapJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, hotspot))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvasPixmap_offsetX(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCanvasPixmap*) QtSupport::getQt(env, obj))->offsetX(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvasPixmap_offsetY(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCanvasPixmap*) QtSupport::getQt(env, obj))->offsetY(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasPixmap_setOffset(JNIEnv* env, jobject obj, jint x, jint y) -{ - ((TQCanvasPixmap*) QtSupport::getQt(env, obj))->setOffset((int) x, (int) y); - return; -} - diff --git a/qtjava/javalib/qtjava/QCanvasPixmap.h b/qtjava/javalib/qtjava/QCanvasPixmap.h deleted file mode 100644 index 87196204..00000000 --- a/qtjava/javalib/qtjava/QCanvasPixmap.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QCanvasPixmap__ -#define __org_kde_qt_QCanvasPixmap__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPixmap_newTQCanvasPixmap__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPixmap_newTQCanvasPixmap__Lorg_kde_qt_QImage_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPixmap_newTQCanvasPixmap__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasPixmap_offsetX (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasPixmap_offsetY (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPixmap_setOffset (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPixmap_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPixmap_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasPixmap_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QCanvasPixmap__ */ diff --git a/qtjava/javalib/qtjava/QCanvasPixmapArray.cpp b/qtjava/javalib/qtjava/QCanvasPixmapArray.cpp deleted file mode 100644 index 35d11541..00000000 --- a/qtjava/javalib/qtjava/QCanvasPixmapArray.cpp +++ /dev/null @@ -1,131 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQCanvasPixmapArrayJBridge : public TQCanvasPixmapArray -{ -public: - TQCanvasPixmapArrayJBridge() : TQCanvasPixmapArray() {}; - TQCanvasPixmapArrayJBridge(const TQString& arg1,int arg2) : TQCanvasPixmapArray(arg1,arg2) {}; - TQCanvasPixmapArrayJBridge(const TQString& arg1) : TQCanvasPixmapArray(arg1) {}; - ~TQCanvasPixmapArrayJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvasPixmapArray_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCanvasPixmapArray*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasPixmapArray_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QCanvasPixmapArray_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasPixmapArray_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQCanvasPixmapArray*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvasPixmapArray_image(JNIEnv* env, jobject obj, jint i) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQCanvasPixmapArray*) QtSupport::getQt(env, obj))->image((int) i), "org.kde.qt.TQCanvasPixmap"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvasPixmapArray_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvasPixmapArray_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQCanvasPixmapArray*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasPixmapArray_newTQCanvasPixmapArray__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCanvasPixmapArrayJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasPixmapArray_newTQCanvasPixmapArray__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring datafilenamepattern) -{ -static TQString* _qstring_datafilenamepattern = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCanvasPixmapArrayJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, datafilenamepattern, &_qstring_datafilenamepattern))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasPixmapArray_newTQCanvasPixmapArray__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring datafilenamepattern, jint framecount) -{ -static TQString* _qstring_datafilenamepattern = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCanvasPixmapArrayJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, datafilenamepattern, &_qstring_datafilenamepattern), (int) framecount)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvasPixmapArray_op_1not(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQCanvasPixmapArray*) QtSupport::getQt(env, obj))->operator!(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvasPixmapArray_readCollisionMasks(JNIEnv* env, jobject obj, jstring filenamepattern) -{ -static TQString* _qstring_filenamepattern = 0; - jboolean xret = (jboolean) ((TQCanvasPixmapArray*) QtSupport::getQt(env, obj))->readCollisionMasks((const TQString&)*(TQString*) QtSupport::toTQString(env, filenamepattern, &_qstring_filenamepattern)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvasPixmapArray_readPixmaps__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring datafilenamepattern) -{ -static TQString* _qstring_datafilenamepattern = 0; - jboolean xret = (jboolean) ((TQCanvasPixmapArray*) QtSupport::getQt(env, obj))->readPixmaps((const TQString&)*(TQString*) QtSupport::toTQString(env, datafilenamepattern, &_qstring_datafilenamepattern)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvasPixmapArray_readPixmaps__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring datafilenamepattern, jint framecount) -{ -static TQString* _qstring_datafilenamepattern = 0; - jboolean xret = (jboolean) ((TQCanvasPixmapArray*) QtSupport::getQt(env, obj))->readPixmaps((const TQString&)*(TQString*) QtSupport::toTQString(env, datafilenamepattern, &_qstring_datafilenamepattern), (int) framecount); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasPixmapArray_setImage(JNIEnv* env, jobject obj, jint i, jobject p) -{ - ((TQCanvasPixmapArray*) QtSupport::getQt(env, obj))->setImage((int) i, (TQCanvasPixmap*) QtSupport::getQt(env, p)); - return; -} - diff --git a/qtjava/javalib/qtjava/QCanvasPixmapArray.h b/qtjava/javalib/qtjava/QCanvasPixmapArray.h deleted file mode 100644 index 2ec6be3e..00000000 --- a/qtjava/javalib/qtjava/QCanvasPixmapArray.h +++ /dev/null @@ -1,32 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QCanvasPixmapArray__ -#define __org_kde_qt_QCanvasPixmapArray__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPixmapArray_newTQCanvasPixmapArray__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPixmapArray_newTQCanvasPixmapArray__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPixmapArray_newTQCanvasPixmapArray__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasPixmapArray_readPixmaps__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasPixmapArray_readPixmaps__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasPixmapArray_readCollisionMasks (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasPixmapArray_op_1not (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasPixmapArray_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasPixmapArray_image (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPixmapArray_setImage (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasPixmapArray_count (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPixmapArray_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPixmapArray_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasPixmapArray_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QCanvasPixmapArray__ */ diff --git a/qtjava/javalib/qtjava/QCanvasPolygon.cpp b/qtjava/javalib/qtjava/QCanvasPolygon.cpp deleted file mode 100644 index 445d9916..00000000 --- a/qtjava/javalib/qtjava/QCanvasPolygon.cpp +++ /dev/null @@ -1,94 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQCanvasPolygonJBridge : public TQCanvasPolygon -{ -public: - TQCanvasPolygonJBridge(TQCanvas* arg1) : TQCanvasPolygon(arg1) {}; - void protected_drawShape(TQPainter& arg1) { - TQCanvasPolygon::drawShape(arg1); - return; - } - ~TQCanvasPolygonJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvasPolygon_areaPoints(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQCanvasPolygon*) QtSupport::getQt(env, obj))->areaPoints()), "org.kde.qt.TQPointArray", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasPolygon_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QCanvasPolygon_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasPolygon_drawShape(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQCanvasPolygonJBridge*) QtSupport::getQt(env, obj))->protected_drawShape((TQPainter&)*(TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasPolygon_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQCanvasPolygon*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvasPolygon_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasPolygon_moveBy(JNIEnv* env, jobject obj, jdouble dx, jdouble dy) -{ - ((TQCanvasPolygon*) QtSupport::getQt(env, obj))->moveBy((double) dx, (double) dy); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasPolygon_newTQCanvasPolygon(JNIEnv* env, jobject obj, jobject canvas) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCanvasPolygonJBridge((TQCanvas*) QtSupport::getQt(env, canvas))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvasPolygon_points(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQCanvasPolygon*) QtSupport::getQt(env, obj))->points()), "org.kde.qt.TQPointArray", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvasPolygon_rtti(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCanvasPolygon*) QtSupport::getQt(env, obj))->rtti(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasPolygon_setPoints(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQCanvasPolygon*) QtSupport::getQt(env, obj))->setPoints((TQPointArray)*(TQPointArray*) QtSupport::getQt(env, arg1)); - return; -} - diff --git a/qtjava/javalib/qtjava/QCanvasPolygon.h b/qtjava/javalib/qtjava/QCanvasPolygon.h deleted file mode 100644 index 01acb3e7..00000000 --- a/qtjava/javalib/qtjava/QCanvasPolygon.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QCanvasPolygon__ -#define __org_kde_qt_QCanvasPolygon__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPolygon_newTQCanvasPolygon (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPolygon_setPoints (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasPolygon_points (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPolygon_moveBy (JNIEnv *env, jobject, jdouble, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasPolygon_areaPoints (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasPolygon_rtti (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPolygon_drawShape (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPolygon_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPolygon_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasPolygon_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QCanvasPolygon__ */ diff --git a/qtjava/javalib/qtjava/QCanvasPolygonalItem.cpp b/qtjava/javalib/qtjava/QCanvasPolygonalItem.cpp deleted file mode 100644 index 97718db2..00000000 --- a/qtjava/javalib/qtjava/QCanvasPolygonalItem.cpp +++ /dev/null @@ -1,73 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvasPolygonalItem_areaPointsAdvanced(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQCanvasPolygonalItem*) QtSupport::getQt(env, obj))->areaPointsAdvanced()), "org.kde.qt.TQPointArray", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvasPolygonalItem_areaPoints(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQCanvasPolygonalItem*) QtSupport::getQt(env, obj))->areaPoints()), "org.kde.qt.TQPointArray", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvasPolygonalItem_boundingRect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQCanvasPolygonalItem*) QtSupport::getQt(env, obj))->boundingRect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvasPolygonalItem_brush(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQBrush(((TQCanvasPolygonalItem*) QtSupport::getQt(env, obj))->brush()), "org.kde.qt.TQBrush", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvasPolygonalItem_collidesWith(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQCanvasPolygonalItem*) QtSupport::getQt(env, obj))->collidesWith((const TQCanvasItem*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvasPolygonalItem_pen(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPen(((TQCanvasPolygonalItem*) QtSupport::getQt(env, obj))->pen()), "org.kde.qt.TQPen", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvasPolygonalItem_rtti(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCanvasPolygonalItem*) QtSupport::getQt(env, obj))->rtti(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasPolygonalItem_setBrush(JNIEnv* env, jobject obj, jobject b) -{ - ((TQCanvasPolygonalItem*) QtSupport::getQt(env, obj))->setBrush((TQBrush)*(TQBrush*) QtSupport::getQt(env, b)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasPolygonalItem_setPen(JNIEnv* env, jobject obj, jobject p) -{ - ((TQCanvasPolygonalItem*) QtSupport::getQt(env, obj))->setPen((TQPen)*(TQPen*) QtSupport::getQt(env, p)); - return; -} - diff --git a/qtjava/javalib/qtjava/QCanvasPolygonalItem.h b/qtjava/javalib/qtjava/QCanvasPolygonalItem.h deleted file mode 100644 index 2c71ca0e..00000000 --- a/qtjava/javalib/qtjava/QCanvasPolygonalItem.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QCanvasPolygonalItem__ -#define __org_kde_qt_QCanvasPolygonalItem__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasPolygonalItem_collidesWith (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPolygonalItem_setPen (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPolygonalItem_setBrush (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasPolygonalItem_pen (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasPolygonalItem_brush (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasPolygonalItem_areaPoints (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasPolygonalItem_areaPointsAdvanced (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasPolygonalItem_boundingRect (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasPolygonalItem_rtti (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QCanvasPolygonalItem__ */ diff --git a/qtjava/javalib/qtjava/QCanvasRectangle.cpp b/qtjava/javalib/qtjava/QCanvasRectangle.cpp deleted file mode 100644 index 8a2abbbe..00000000 --- a/qtjava/javalib/qtjava/QCanvasRectangle.cpp +++ /dev/null @@ -1,149 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include - -class TQCanvasRectangleJBridge : public TQCanvasRectangle -{ -public: - TQCanvasRectangleJBridge(TQCanvas* arg1) : TQCanvasRectangle(arg1) {}; - TQCanvasRectangleJBridge(const TQRect& arg1,TQCanvas* arg2) : TQCanvasRectangle(arg1,arg2) {}; - TQCanvasRectangleJBridge(int arg1,int arg2,int arg3,int arg4,TQCanvas* arg5) : TQCanvasRectangle(arg1,arg2,arg3,arg4,arg5) {}; - void protected_drawShape(TQPainter& arg1) { - TQCanvasRectangle::drawShape(arg1); - return; - } - TQPointArray protected_chunks() { - return (TQPointArray) TQCanvasRectangle::chunks(); - } - ~TQCanvasRectangleJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvasRectangle_areaPoints(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQCanvasRectangle*) QtSupport::getQt(env, obj))->areaPoints()), "org.kde.qt.TQPointArray", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvasRectangle_chunks(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQCanvasRectangleJBridge*) QtSupport::getQt(env, obj))->protected_chunks()), "org.kde.qt.TQPointArray", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvasRectangle_collidesWith(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQCanvasRectangle*) QtSupport::getQt(env, obj))->collidesWith((const TQCanvasItem*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasRectangle_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QCanvasRectangle_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasRectangle_drawShape(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQCanvasRectangleJBridge*) QtSupport::getQt(env, obj))->protected_drawShape((TQPainter&)*(TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasRectangle_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQCanvasRectangle*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvasRectangle_height(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCanvasRectangle*) QtSupport::getQt(env, obj))->height(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvasRectangle_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasRectangle_newTQCanvasRectangle__IIIILorg_kde_qt_QCanvas_2(JNIEnv* env, jobject obj, jint x, jint y, jint width, jint height, jobject canvas) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCanvasRectangleJBridge((int) x, (int) y, (int) width, (int) height, (TQCanvas*) QtSupport::getQt(env, canvas))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasRectangle_newTQCanvasRectangle__Lorg_kde_qt_QCanvas_2(JNIEnv* env, jobject obj, jobject canvas) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCanvasRectangleJBridge((TQCanvas*) QtSupport::getQt(env, canvas))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasRectangle_newTQCanvasRectangle__Lorg_kde_qt_QRect_2Lorg_kde_qt_QCanvas_2(JNIEnv* env, jobject obj, jobject arg1, jobject canvas) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCanvasRectangleJBridge((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (TQCanvas*) QtSupport::getQt(env, canvas))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvasRectangle_rect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQCanvasRectangle*) QtSupport::getQt(env, obj))->rect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvasRectangle_rtti(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCanvasRectangle*) QtSupport::getQt(env, obj))->rtti(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasRectangle_setSize(JNIEnv* env, jobject obj, jint w, jint h) -{ - ((TQCanvasRectangle*) QtSupport::getQt(env, obj))->setSize((int) w, (int) h); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvasRectangle_size(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQCanvasRectangle*) QtSupport::getQt(env, obj))->size()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvasRectangle_width(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCanvasRectangle*) QtSupport::getQt(env, obj))->width(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QCanvasRectangle.h b/qtjava/javalib/qtjava/QCanvasRectangle.h deleted file mode 100644 index d59cff4f..00000000 --- a/qtjava/javalib/qtjava/QCanvasRectangle.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QCanvasRectangle__ -#define __org_kde_qt_QCanvasRectangle__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasRectangle_newTQCanvasRectangle__Lorg_kde_qt_QCanvas_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasRectangle_newTQCanvasRectangle__Lorg_kde_qt_QRect_2Lorg_kde_qt_QCanvas_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasRectangle_newTQCanvasRectangle__IIIILorg_kde_qt_QCanvas_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasRectangle_width (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasRectangle_height (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasRectangle_setSize (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasRectangle_size (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasRectangle_areaPoints (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasRectangle_rect (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasRectangle_collidesWith (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasRectangle_rtti (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasRectangle_drawShape (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasRectangle_chunks (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasRectangle_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasRectangle_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasRectangle_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QCanvasRectangle__ */ diff --git a/qtjava/javalib/qtjava/QCanvasSpline.cpp b/qtjava/javalib/qtjava/QCanvasSpline.cpp deleted file mode 100644 index 917c7022..00000000 --- a/qtjava/javalib/qtjava/QCanvasSpline.cpp +++ /dev/null @@ -1,82 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQCanvasSplineJBridge : public TQCanvasSpline -{ -public: - TQCanvasSplineJBridge(TQCanvas* arg1) : TQCanvasSpline(arg1) {}; - ~TQCanvasSplineJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvasSpline_closed(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQCanvasSpline*) QtSupport::getQt(env, obj))->closed(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvasSpline_controlPoints(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQCanvasSpline*) QtSupport::getQt(env, obj))->controlPoints()), "org.kde.qt.TQPointArray", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasSpline_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QCanvasSpline_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasSpline_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQCanvasSpline*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvasSpline_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasSpline_newTQCanvasSpline(JNIEnv* env, jobject obj, jobject canvas) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCanvasSplineJBridge((TQCanvas*) QtSupport::getQt(env, canvas))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvasSpline_rtti(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCanvasSpline*) QtSupport::getQt(env, obj))->rtti(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasSpline_setControlPoints__Lorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQCanvasSpline*) QtSupport::getQt(env, obj))->setControlPoints((TQPointArray)*(TQPointArray*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasSpline_setControlPoints__Lorg_kde_qt_QPointArray_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean closed) -{ - ((TQCanvasSpline*) QtSupport::getQt(env, obj))->setControlPoints((TQPointArray)*(TQPointArray*) QtSupport::getQt(env, arg1), (bool) closed); - return; -} - diff --git a/qtjava/javalib/qtjava/QCanvasSpline.h b/qtjava/javalib/qtjava/QCanvasSpline.h deleted file mode 100644 index 244e03b9..00000000 --- a/qtjava/javalib/qtjava/QCanvasSpline.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QCanvasSpline__ -#define __org_kde_qt_QCanvasSpline__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSpline_newTQCanvasSpline (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSpline_setControlPoints__Lorg_kde_qt_QPointArray_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSpline_setControlPoints__Lorg_kde_qt_QPointArray_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasSpline_controlPoints (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasSpline_closed (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasSpline_rtti (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSpline_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSpline_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasSpline_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QCanvasSpline__ */ diff --git a/qtjava/javalib/qtjava/QCanvasSprite.cpp b/qtjava/javalib/qtjava/QCanvasSprite.cpp deleted file mode 100644 index 621c538f..00000000 --- a/qtjava/javalib/qtjava/QCanvasSprite.cpp +++ /dev/null @@ -1,248 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQCanvasSpriteJBridge : public TQCanvasSprite -{ -public: - TQCanvasSpriteJBridge(TQCanvasPixmapArray* arg1,TQCanvas* arg2) : TQCanvasSprite(arg1,arg2) {}; - void public_setFrameAnimation() { - TQCanvasSprite::setFrameAnimation(); - return; - } - ~TQCanvasSpriteJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasSprite_advance(JNIEnv* env, jobject obj, jint stage) -{ - ((TQCanvasSprite*) QtSupport::getQt(env, obj))->advance((int) stage); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvasSprite_bottomEdge__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCanvasSprite*) QtSupport::getQt(env, obj))->bottomEdge(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvasSprite_bottomEdge__I(JNIEnv* env, jobject obj, jint ny) -{ - jint xret = (jint) ((TQCanvasSprite*) QtSupport::getQt(env, obj))->bottomEdge((int) ny); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvasSprite_boundingRect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQCanvasSprite*) QtSupport::getQt(env, obj))->boundingRect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvasSprite_collidesWith(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQCanvasSprite*) QtSupport::getQt(env, obj))->collidesWith((const TQCanvasItem*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasSprite_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QCanvasSprite_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasSprite_draw(JNIEnv* env, jobject obj, jobject painter) -{ - ((TQCanvasSprite*) QtSupport::getQt(env, obj))->draw((TQPainter&)*(TQPainter*) QtSupport::getQt(env, painter)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasSprite_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQCanvasSprite*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvasSprite_frameCount(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCanvasSprite*) QtSupport::getQt(env, obj))->frameCount(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvasSprite_frame(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCanvasSprite*) QtSupport::getQt(env, obj))->frame(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvasSprite_height(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCanvasSprite*) QtSupport::getQt(env, obj))->height(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvasSprite_imageAdvanced(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQCanvasSprite*) QtSupport::getQt(env, obj))->imageAdvanced(), "org.kde.qt.TQCanvasPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvasSprite_image__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQCanvasSprite*) QtSupport::getQt(env, obj))->image(), "org.kde.qt.TQCanvasPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvasSprite_image__I(JNIEnv* env, jobject obj, jint f) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQCanvasSprite*) QtSupport::getQt(env, obj))->image((int) f), "org.kde.qt.TQCanvasPixmap"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvasSprite_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvasSprite_leftEdge__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCanvasSprite*) QtSupport::getQt(env, obj))->leftEdge(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvasSprite_leftEdge__I(JNIEnv* env, jobject obj, jint nx) -{ - jint xret = (jint) ((TQCanvasSprite*) QtSupport::getQt(env, obj))->leftEdge((int) nx); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasSprite_move__DD(JNIEnv* env, jobject obj, jdouble x, jdouble y) -{ - ((TQCanvasSprite*) QtSupport::getQt(env, obj))->move((double) x, (double) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasSprite_move__DDI(JNIEnv* env, jobject obj, jdouble x, jdouble y, jint frame) -{ - ((TQCanvasSprite*) QtSupport::getQt(env, obj))->move((double) x, (double) y, (int) frame); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasSprite_newTQCanvasSprite(JNIEnv* env, jobject obj, jobject array, jobject canvas) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCanvasSpriteJBridge((TQCanvasPixmapArray*) QtSupport::getQt(env, array), (TQCanvas*) QtSupport::getQt(env, canvas))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvasSprite_rightEdge__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCanvasSprite*) QtSupport::getQt(env, obj))->rightEdge(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvasSprite_rightEdge__I(JNIEnv* env, jobject obj, jint nx) -{ - jint xret = (jint) ((TQCanvasSprite*) QtSupport::getQt(env, obj))->rightEdge((int) nx); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvasSprite_rtti(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCanvasSprite*) QtSupport::getQt(env, obj))->rtti(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasSprite_setFrameAnimation__(JNIEnv* env, jobject obj) -{ - ((TQCanvasSpriteJBridge*) QtSupport::getQt(env, obj))->public_setFrameAnimation(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasSprite_setFrameAnimation__I(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQCanvasSprite*) QtSupport::getQt(env, obj))->setFrameAnimation((TQCanvasSprite::FrameAnimationType) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasSprite_setFrameAnimation__II(JNIEnv* env, jobject obj, jint arg1, jint step) -{ - ((TQCanvasSprite*) QtSupport::getQt(env, obj))->setFrameAnimation((TQCanvasSprite::FrameAnimationType) arg1, (int) step); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasSprite_setFrameAnimation__III(JNIEnv* env, jobject obj, jint arg1, jint step, jint state) -{ - ((TQCanvasSprite*) QtSupport::getQt(env, obj))->setFrameAnimation((TQCanvasSprite::FrameAnimationType) arg1, (int) step, (int) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasSprite_setFrame(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQCanvasSprite*) QtSupport::getQt(env, obj))->setFrame((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasSprite_setSequence(JNIEnv* env, jobject obj, jobject seq) -{ - ((TQCanvasSprite*) QtSupport::getQt(env, obj))->setSequence((TQCanvasPixmapArray*) QtSupport::getQt(env, seq)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvasSprite_topEdge__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCanvasSprite*) QtSupport::getQt(env, obj))->topEdge(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvasSprite_topEdge__I(JNIEnv* env, jobject obj, jint ny) -{ - jint xret = (jint) ((TQCanvasSprite*) QtSupport::getQt(env, obj))->topEdge((int) ny); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvasSprite_width(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCanvasSprite*) QtSupport::getQt(env, obj))->width(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QCanvasSprite.h b/qtjava/javalib/qtjava/QCanvasSprite.h deleted file mode 100644 index 53aeb2f8..00000000 --- a/qtjava/javalib/qtjava/QCanvasSprite.h +++ /dev/null @@ -1,50 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QCanvasSprite__ -#define __org_kde_qt_QCanvasSprite__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSprite_newTQCanvasSprite (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSprite_setSequence (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSprite_move__DD (JNIEnv *env, jobject, jdouble, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSprite_move__DDI (JNIEnv *env, jobject, jdouble, jdouble, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSprite_setFrame (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSprite_setFrameAnimation__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSprite_setFrameAnimation__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSprite_setFrameAnimation__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSprite_setFrameAnimation__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasSprite_frame (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasSprite_frameCount (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasSprite_rtti (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasSprite_collidesWith (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasSprite_boundingRect (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasSprite_width (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasSprite_height (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasSprite_leftEdge__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasSprite_topEdge__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasSprite_rightEdge__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasSprite_bottomEdge__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasSprite_leftEdge__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasSprite_topEdge__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasSprite_rightEdge__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasSprite_bottomEdge__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasSprite_image__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasSprite_imageAdvanced (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasSprite_image__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSprite_advance (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSprite_draw (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSprite_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSprite_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasSprite_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QCanvasSprite__ */ diff --git a/qtjava/javalib/qtjava/QCanvasText.cpp b/qtjava/javalib/qtjava/QCanvasText.cpp deleted file mode 100644 index a48c2854..00000000 --- a/qtjava/javalib/qtjava/QCanvasText.cpp +++ /dev/null @@ -1,172 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQCanvasTextJBridge : public TQCanvasText -{ -public: - TQCanvasTextJBridge(TQCanvas* arg1) : TQCanvasText(arg1) {}; - TQCanvasTextJBridge(const TQString& arg1,TQCanvas* arg2) : TQCanvasText(arg1,arg2) {}; - TQCanvasTextJBridge(const TQString& arg1,TQFont arg2,TQCanvas* arg3) : TQCanvasText(arg1,arg2,arg3) {}; - void protected_draw(TQPainter& arg1) { - TQCanvasText::draw(arg1); - return; - } - ~TQCanvasTextJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvasText_boundingRect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQCanvasText*) QtSupport::getQt(env, obj))->boundingRect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvasText_collidesWith(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQCanvasText*) QtSupport::getQt(env, obj))->collidesWith((const TQCanvasItem*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvasText_color(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TQCanvasText*) QtSupport::getQt(env, obj))->color()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasText_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QCanvasText_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasText_draw(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQCanvasTextJBridge*) QtSupport::getQt(env, obj))->protected_draw((TQPainter&)*(TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasText_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQCanvasText*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvasText_font(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((TQCanvasText*) QtSupport::getQt(env, obj))->font()), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvasText_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasText_moveBy(JNIEnv* env, jobject obj, jdouble dx, jdouble dy) -{ - ((TQCanvasText*) QtSupport::getQt(env, obj))->moveBy((double) dx, (double) dy); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasText_newTQCanvasText__Ljava_lang_String_2Lorg_kde_qt_QCanvas_2(JNIEnv* env, jobject obj, jstring arg1, jobject canvas) -{ -static TQString* _qstring_arg1 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCanvasTextJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (TQCanvas*) QtSupport::getQt(env, canvas))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasText_newTQCanvasText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Lorg_kde_qt_QCanvas_2(JNIEnv* env, jobject obj, jstring arg1, jobject arg2, jobject canvas) -{ -static TQString* _qstring_arg1 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCanvasTextJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (TQFont)*(TQFont*) QtSupport::getQt(env, arg2), (TQCanvas*) QtSupport::getQt(env, canvas))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasText_newTQCanvasText__Lorg_kde_qt_QCanvas_2(JNIEnv* env, jobject obj, jobject canvas) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCanvasTextJBridge((TQCanvas*) QtSupport::getQt(env, canvas))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvasText_rtti(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCanvasText*) QtSupport::getQt(env, obj))->rtti(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasText_setColor(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQCanvasText*) QtSupport::getQt(env, obj))->setColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasText_setFont(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQCanvasText*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasText_setTextFlags(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQCanvasText*) QtSupport::getQt(env, obj))->setTextFlags((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasText_setText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQCanvasText*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCanvasText_textFlags(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCanvasText*) QtSupport::getQt(env, obj))->textFlags(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QCanvasText_text(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQCanvasText*) QtSupport::getQt(env, obj))->text(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QCanvasText.h b/qtjava/javalib/qtjava/QCanvasText.h deleted file mode 100644 index e37e542c..00000000 --- a/qtjava/javalib/qtjava/QCanvasText.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QCanvasText__ -#define __org_kde_qt_QCanvasText__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasText_newTQCanvasText__Lorg_kde_qt_QCanvas_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasText_newTQCanvasText__Ljava_lang_String_2Lorg_kde_qt_QCanvas_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasText_newTQCanvasText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Lorg_kde_qt_QCanvas_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasText_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasText_setFont (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasText_setColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QCanvasText_text (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasText_font (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasText_color (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasText_moveBy (JNIEnv *env, jobject, jdouble, jdouble); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasText_textFlags (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasText_setTextFlags (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasText_boundingRect (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasText_collidesWith (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasText_rtti (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasText_draw (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasText_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasText_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasText_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QCanvasText__ */ diff --git a/qtjava/javalib/qtjava/QCanvasView.cpp b/qtjava/javalib/qtjava/QCanvasView.cpp deleted file mode 100644 index 005dfa9f..00000000 --- a/qtjava/javalib/qtjava/QCanvasView.cpp +++ /dev/null @@ -1,688 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include - -class TQCanvasViewJBridge : public TQCanvasView -{ -public: - TQCanvasViewJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQCanvasView(arg1,arg2,arg3) {}; - TQCanvasViewJBridge(TQWidget* arg1,const char* arg2) : TQCanvasView(arg1,arg2) {}; - TQCanvasViewJBridge(TQWidget* arg1) : TQCanvasView(arg1) {}; - TQCanvasViewJBridge() : TQCanvasView() {}; - TQCanvasViewJBridge(TQCanvas* arg1,TQWidget* arg2,const char* arg3,TQt::WFlags arg4) : TQCanvasView(arg1,arg2,arg3,arg4) {}; - TQCanvasViewJBridge(TQCanvas* arg1,TQWidget* arg2,const char* arg3) : TQCanvasView(arg1,arg2,arg3) {}; - TQCanvasViewJBridge(TQCanvas* arg1,TQWidget* arg2) : TQCanvasView(arg1,arg2) {}; - TQCanvasViewJBridge(TQCanvas* arg1) : TQCanvasView(arg1) {}; - void protected_drawContents(TQPainter* arg1,int arg2,int arg3,int arg4,int arg5) { - TQCanvasView::drawContents(arg1,arg2,arg3,arg4,arg5); - return; - } - TQSize protected_sizeHint() { - return (TQSize) TQCanvasView::sizeHint(); - } - ~TQCanvasViewJBridge() {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.qt.TQCanvasView","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.qt.TQCanvasView","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.qt.TQCanvasView","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.qt.TQCanvasView","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.qt.TQCanvasView","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQCanvasView","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.qt.TQCanvasView","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQCanvasView","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.qt.TQCanvasView","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.qt.TQCanvasView","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvasView_canvas(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQCanvasView*) QtSupport::getQt(env, obj))->canvas(), "org.kde.qt.TQCanvas"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QCanvasView_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQCanvasView*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasView_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QCanvasView_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasView_drawContents(JNIEnv* env, jobject obj, jobject arg1, jint cx, jint cy, jint cw, jint ch) -{ - ((TQCanvasViewJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1), (int) cx, (int) cy, (int) cw, (int) ch); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasView_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQCanvasView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQCanvasView*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvasView_inverseWorldMatrix(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQWMatrix *) &((TQCanvasView*) QtSupport::getQt(env, obj))->inverseWorldMatrix(), "org.kde.qt.TQWMatrix"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvasView_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvasView_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQCanvasView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasView_newTQCanvasView__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCanvasViewJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasView_newTQCanvasView__Lorg_kde_qt_QCanvas_2(JNIEnv* env, jobject obj, jobject viewing) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCanvasViewJBridge((TQCanvas*) QtSupport::getQt(env, viewing))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasView_newTQCanvasView__Lorg_kde_qt_QCanvas_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject viewing, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCanvasViewJBridge((TQCanvas*) QtSupport::getQt(env, viewing), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasView_newTQCanvasView__Lorg_kde_qt_QCanvas_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject viewing, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCanvasViewJBridge((TQCanvas*) QtSupport::getQt(env, viewing), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasView_newTQCanvasView__Lorg_kde_qt_QCanvas_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject viewing, jobject parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCanvasViewJBridge((TQCanvas*) QtSupport::getQt(env, viewing), (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_qt_QCanvasView_newTQCanvasView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCanvasViewJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasView_newTQCanvasView__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 TQCanvasViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasView_newTQCanvasView__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 TQCanvasViewJBridge((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_qt_QCanvasView_setCanvas(JNIEnv* env, jobject obj, jobject v) -{ - ((TQCanvasView*) QtSupport::getQt(env, obj))->setCanvas((TQCanvas*) QtSupport::getQt(env, v)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCanvasView_setWorldMatrix(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQCanvasView*) QtSupport::getQt(env, obj))->setWorldMatrix((const TQWMatrix&)*(const TQWMatrix*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvasView_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQCanvasViewJBridge*) QtSupport::getQt(env, obj))->protected_sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QCanvasView_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQCanvasViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QCanvasView_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQCanvasViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCanvasView_worldMatrix(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQWMatrix *) &((TQCanvasView*) QtSupport::getQt(env, obj))->worldMatrix(), "org.kde.qt.TQWMatrix"); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QCanvasView.h b/qtjava/javalib/qtjava/QCanvasView.h deleted file mode 100644 index cd509a9f..00000000 --- a/qtjava/javalib/qtjava/QCanvasView.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QCanvasView__ -#define __org_kde_qt_QCanvasView__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasView_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QCanvasView_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasView_newTQCanvasView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasView_newTQCanvasView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasView_newTQCanvasView__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasView_newTQCanvasView__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasView_newTQCanvasView__Lorg_kde_qt_QCanvas_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasView_newTQCanvasView__Lorg_kde_qt_QCanvas_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasView_newTQCanvasView__Lorg_kde_qt_QCanvas_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasView_newTQCanvasView__Lorg_kde_qt_QCanvas_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasView_canvas (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasView_setCanvas (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasView_worldMatrix (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasView_inverseWorldMatrix (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasView_setWorldMatrix (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QCanvasView_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QCanvasView_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasView_drawContents (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasView_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasView_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasView_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasView_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QCanvasView__ */ diff --git a/qtjava/javalib/qtjava/QCheckBox.cpp b/qtjava/javalib/qtjava/QCheckBox.cpp deleted file mode 100644 index 9948d3c0..00000000 --- a/qtjava/javalib/qtjava/QCheckBox.cpp +++ /dev/null @@ -1,577 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -class TQCheckBoxJBridge : public TQCheckBox -{ -public: - TQCheckBoxJBridge(TQWidget* arg1,const char* arg2) : TQCheckBox(arg1,arg2) {}; - TQCheckBoxJBridge(TQWidget* arg1) : TQCheckBox(arg1) {}; - TQCheckBoxJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQCheckBox(arg1,arg2,arg3) {}; - TQCheckBoxJBridge(const TQString& arg1,TQWidget* arg2) : TQCheckBox(arg1,arg2) {}; - void protected_resizeEvent(TQResizeEvent* arg1) { - TQCheckBox::resizeEvent(arg1); - return; - } - void protected_drawButton(TQPainter* arg1) { - TQCheckBox::drawButton(arg1); - return; - } - void protected_drawButtonLabel(TQPainter* arg1) { - TQCheckBox::drawButtonLabel(arg1); - return; - } - void protected_updateMask() { - TQCheckBox::updateMask(); - return; - } - bool protected_hitButton(const TQPoint& arg1) { - return (bool) TQCheckBox::hitButton(arg1); - } - ~TQCheckBoxJBridge() {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")) { - TQCheckBox::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.qt.TQCheckBox","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.qt.TQCheckBox","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.qt.TQCheckBox","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.qt.TQCheckBox","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.qt.TQCheckBox","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.qt.TQCheckBox","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQCheckBox","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.qt.TQCheckBox","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.qt.TQCheckBox","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; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQCheckBox",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.qt.TQCheckBox","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QCheckBox_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQCheckBox*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckBox_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QCheckBox_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckBox_drawButtonLabel(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQCheckBoxJBridge*) QtSupport::getQt(env, obj))->protected_drawButtonLabel((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckBox_drawButton(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQCheckBoxJBridge*) QtSupport::getQt(env, obj))->protected_drawButton((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckBox_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQCheckBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQCheckBox*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCheckBox_hitButton(JNIEnv* env, jobject obj, jobject pos) -{ - jboolean xret = (jboolean) ((TQCheckBoxJBridge*) QtSupport::getQt(env, obj))->protected_hitButton((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCheckBox_isChecked(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQCheckBox*) QtSupport::getQt(env, obj))->isChecked(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCheckBox_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCheckBox_isTristate(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQCheckBox*) QtSupport::getQt(env, obj))->isTristate(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCheckBox_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQCheckBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckBox_newTQCheckBox__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 TQCheckBoxJBridge((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_qt_QCheckBox_newTQCheckBox__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 TQCheckBoxJBridge((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_qt_QCheckBox_newTQCheckBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCheckBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckBox_newTQCheckBox__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 TQCheckBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckBox_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQCheckBoxJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckBox_setChecked(JNIEnv* env, jobject obj, jboolean check) -{ - ((TQCheckBox*) QtSupport::getQt(env, obj))->setChecked((bool) check); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckBox_setNoChange(JNIEnv* env, jobject obj) -{ - ((TQCheckBox*) QtSupport::getQt(env, obj))->setNoChange(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckBox_setTristate__(JNIEnv* env, jobject obj) -{ - ((TQCheckBox*) QtSupport::getQt(env, obj))->setTristate(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckBox_setTristate__Z(JNIEnv* env, jobject obj, jboolean y) -{ - ((TQCheckBox*) QtSupport::getQt(env, obj))->setTristate((bool) y); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCheckBox_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQCheckBox*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QCheckBox_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQCheckBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QCheckBox_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQCheckBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckBox_updateMask(JNIEnv* env, jobject obj) -{ - ((TQCheckBoxJBridge*) QtSupport::getQt(env, obj))->protected_updateMask(); - return; -} - diff --git a/qtjava/javalib/qtjava/QCheckBox.h b/qtjava/javalib/qtjava/QCheckBox.h deleted file mode 100644 index e690ba59..00000000 --- a/qtjava/javalib/qtjava/QCheckBox.h +++ /dev/null @@ -1,41 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QCheckBox__ -#define __org_kde_qt_QCheckBox__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCheckBox_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QCheckBox_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckBox_newTQCheckBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckBox_newTQCheckBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckBox_newTQCheckBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckBox_newTQCheckBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCheckBox_isChecked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckBox_setNoChange (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckBox_setTristate__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckBox_setTristate__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCheckBox_isTristate (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCheckBox_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckBox_setChecked (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QCheckBox_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QCheckBox_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckBox_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckBox_drawButton (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckBox_drawButtonLabel (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckBox_updateMask (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCheckBox_hitButton (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckBox_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckBox_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCheckBox_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QCheckBox__ */ diff --git a/qtjava/javalib/qtjava/QCheckListItem.cpp b/qtjava/javalib/qtjava/QCheckListItem.cpp deleted file mode 100644 index ebdbc80d..00000000 --- a/qtjava/javalib/qtjava/QCheckListItem.cpp +++ /dev/null @@ -1,341 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQCheckListItemJBridge : public TQCheckListItem -{ -public: - TQCheckListItemJBridge(TQCheckListItem* arg1,const TQString& arg2,TQCheckListItem::Type arg3) : TQCheckListItem(arg1,arg2,arg3) {}; - TQCheckListItemJBridge(TQCheckListItem* arg1,const TQString& arg2) : TQCheckListItem(arg1,arg2) {}; - TQCheckListItemJBridge(TQCheckListItem* arg1,TQListViewItem* arg2,const TQString& arg3,TQCheckListItem::Type arg4) : TQCheckListItem(arg1,arg2,arg3,arg4) {}; - TQCheckListItemJBridge(TQCheckListItem* arg1,TQListViewItem* arg2,const TQString& arg3) : TQCheckListItem(arg1,arg2,arg3) {}; - TQCheckListItemJBridge(TQListViewItem* arg1,const TQString& arg2,TQCheckListItem::Type arg3) : TQCheckListItem(arg1,arg2,arg3) {}; - TQCheckListItemJBridge(TQListViewItem* arg1,const TQString& arg2) : TQCheckListItem(arg1,arg2) {}; - TQCheckListItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,const TQString& arg3,TQCheckListItem::Type arg4) : TQCheckListItem(arg1,arg2,arg3,arg4) {}; - TQCheckListItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,const TQString& arg3) : TQCheckListItem(arg1,arg2,arg3) {}; - TQCheckListItemJBridge(TQListView* arg1,const TQString& arg2,TQCheckListItem::Type arg3) : TQCheckListItem(arg1,arg2,arg3) {}; - TQCheckListItemJBridge(TQListView* arg1,const TQString& arg2) : TQCheckListItem(arg1,arg2) {}; - TQCheckListItemJBridge(TQListView* arg1,TQListViewItem* arg2,const TQString& arg3,TQCheckListItem::Type arg4) : TQCheckListItem(arg1,arg2,arg3,arg4) {}; - TQCheckListItemJBridge(TQListView* arg1,TQListViewItem* arg2,const TQString& arg3) : TQCheckListItem(arg1,arg2,arg3) {}; - TQCheckListItemJBridge(TQListViewItem* arg1,const TQString& arg2,const TQPixmap& arg3) : TQCheckListItem(arg1,arg2,arg3) {}; - TQCheckListItemJBridge(TQListView* arg1,const TQString& arg2,const TQPixmap& arg3) : TQCheckListItem(arg1,arg2,arg3) {}; - void protected_activate() { - TQCheckListItem::activate(); - return; - } - void protected_turnOffChild() { - TQCheckListItem::turnOffChild(); - return; - } - void protected_stateChange(bool arg1) { - TQCheckListItem::stateChange(arg1); - return; - } - ~TQCheckListItemJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckListItem_activate(JNIEnv* env, jobject obj) -{ - ((TQCheckListItemJBridge*) QtSupport::getQt(env, obj))->protected_activate(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckListItem_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QCheckListItem_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckListItem_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQCheckListItem*)(TQCheckListItem*)QtSupport::getQt(env, obj))->parent() == 0 && ((TQCheckListItem*)(TQCheckListItem*)QtSupport::getQt(env, obj))->listView() == 0) { - delete (TQCheckListItem*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCheckListItem_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCheckListItem_isOn(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQCheckListItem*) QtSupport::getQt(env, obj))->isOn(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCheckListItem_isTristate(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQCheckListItem*) QtSupport::getQt(env, obj))->isTristate(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QCheckListItem_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 TQCheckListItemJBridge((TQCheckListItem*) 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_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QCheckListItem_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring text, jint arg3) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TQCheckListItem*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQCheckListItem::Type) arg3)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QCheckListItem_2Lorg_kde_qt_QListViewItem_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 TQCheckListItemJBridge((TQCheckListItem*) QtSupport::getQt(env, parent), (TQListViewItem*) 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_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QCheckListItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text, jint arg4) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TQCheckListItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQCheckListItem::Type) arg4)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QListViewItem_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 TQCheckListItemJBridge((TQListViewItem*) 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_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring text, jint arg3) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQCheckListItem::Type) arg3)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject parent, jstring text, jobject arg3) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg3))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_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 TQCheckListItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) 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_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text, jint arg4) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQCheckListItem::Type) arg4)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QListView_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 TQCheckListItemJBridge((TQListView*) 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_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring text, jint arg3) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TQListView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQCheckListItem::Type) arg3)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject parent, jstring text, jobject arg3) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TQListView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg3))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_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 TQCheckListItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) 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_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text, jint arg4) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQCheckListItem::Type) arg4)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckListItem_paintCell(JNIEnv* env, jobject obj, jobject arg1, jobject cg, jint column, jint width, jint alignment) -{ - ((TQCheckListItem*) QtSupport::getQt(env, obj))->paintCell((TQPainter*) QtSupport::getQt(env, arg1), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (int) column, (int) width, (int) alignment); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckListItem_paintFocus(JNIEnv* env, jobject obj, jobject arg1, jobject cg, jobject r) -{ - ((TQCheckListItem*) QtSupport::getQt(env, obj))->paintFocus((TQPainter*) QtSupport::getQt(env, arg1), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCheckListItem_rtti(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCheckListItem*) QtSupport::getQt(env, obj))->rtti(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckListItem_setOn(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQCheckListItem*) QtSupport::getQt(env, obj))->setOn((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckListItem_setState(JNIEnv* env, jobject obj, jint s) -{ - ((TQCheckListItem*) QtSupport::getQt(env, obj))->setState((TQCheckListItem::ToggleState) s); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckListItem_setTristate(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQCheckListItem*) QtSupport::getQt(env, obj))->setTristate((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckListItem_setup(JNIEnv* env, jobject obj) -{ - ((TQCheckListItem*) QtSupport::getQt(env, obj))->setup(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckListItem_stateChange(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQCheckListItemJBridge*) QtSupport::getQt(env, obj))->protected_stateChange((bool) arg1); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCheckListItem_state(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCheckListItem*) QtSupport::getQt(env, obj))->state(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QCheckListItem_text__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQCheckListItem*) QtSupport::getQt(env, obj))->text(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QCheckListItem_text__I(JNIEnv* env, jobject obj, jint n) -{ - TQString _qstring; - _qstring = ((TQCheckListItem*) QtSupport::getQt(env, obj))->text((int) n); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckListItem_turnOffChild(JNIEnv* env, jobject obj) -{ - ((TQCheckListItemJBridge*) QtSupport::getQt(env, obj))->protected_turnOffChild(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCheckListItem_type(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCheckListItem*) QtSupport::getQt(env, obj))->type(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCheckListItem_width(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jint column) -{ - jint xret = (jint) ((TQCheckListItem*) QtSupport::getQt(env, obj))->width((const TQFontMetrics&)*(const TQFontMetrics*) QtSupport::getQt(env, arg1), (const TQListView*) QtSupport::getQt(env, arg2), (int) column); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QCheckListItem.h b/qtjava/javalib/qtjava/QCheckListItem.h deleted file mode 100644 index 5a56080c..00000000 --- a/qtjava/javalib/qtjava/QCheckListItem.h +++ /dev/null @@ -1,52 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QCheckListItem__ -#define __org_kde_qt_QCheckListItem__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QCheckListItem_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QCheckListItem_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QCheckListItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QCheckListItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_newTQCheckListItem__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_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_newTQCheckListItem__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_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_paintCell (JNIEnv *env, jobject, jobject, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_paintFocus (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCheckListItem_width (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_setup (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_setOn (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCheckListItem_isOn (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCheckListItem_type (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QCheckListItem_text__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QCheckListItem_text__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_setTristate (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCheckListItem_isTristate (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCheckListItem_state (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_setState (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCheckListItem_rtti (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_activate (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_turnOffChild (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_stateChange (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCheckListItem_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QCheckListItem__ */ diff --git a/qtjava/javalib/qtjava/QCheckTableItem.cpp b/qtjava/javalib/qtjava/QCheckTableItem.cpp deleted file mode 100644 index 9455be99..00000000 --- a/qtjava/javalib/qtjava/QCheckTableItem.cpp +++ /dev/null @@ -1,108 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include - -class TQCheckTableItemJBridge : public TQCheckTableItem -{ -public: - TQCheckTableItemJBridge(TQTable* arg1,const TQString& arg2) : TQCheckTableItem(arg1,arg2) {}; - ~TQCheckTableItemJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCheckTableItem_createEditor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQCheckTableItem*) QtSupport::getQt(env, obj))->createEditor(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckTableItem_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QCheckTableItem_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckTableItem_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQTableItem*)(TQCheckTableItem*)QtSupport::getQt(env, obj))->table() == 0) { - delete (TQCheckTableItem*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCheckTableItem_isChecked(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQCheckTableItem*) QtSupport::getQt(env, obj))->isChecked(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCheckTableItem_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckTableItem_newTQCheckTableItem(JNIEnv* env, jobject obj, jobject table, jstring txt) -{ -static TQString* _qstring_txt = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCheckTableItemJBridge((TQTable*) QtSupport::getQt(env, table), (const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckTableItem_paint(JNIEnv* env, jobject obj, jobject p, jobject cg, jobject cr, jboolean selected) -{ - ((TQCheckTableItem*) QtSupport::getQt(env, obj))->paint((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, cr), (bool) selected); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCheckTableItem_rtti(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCheckTableItem*) QtSupport::getQt(env, obj))->rtti(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckTableItem_setChecked(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQCheckTableItem*) QtSupport::getQt(env, obj))->setChecked((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckTableItem_setContentFromEditor(JNIEnv* env, jobject obj, jobject w) -{ - ((TQCheckTableItem*) QtSupport::getQt(env, obj))->setContentFromEditor((TQWidget*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckTableItem_setText(JNIEnv* env, jobject obj, jstring t) -{ -static TQString* _qstring_t = 0; - ((TQCheckTableItem*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, t, &_qstring_t)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCheckTableItem_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQCheckTableItem*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QCheckTableItem.h b/qtjava/javalib/qtjava/QCheckTableItem.h deleted file mode 100644 index 303192ec..00000000 --- a/qtjava/javalib/qtjava/QCheckTableItem.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QCheckTableItem__ -#define __org_kde_qt_QCheckTableItem__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckTableItem_newTQCheckTableItem (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckTableItem_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCheckTableItem_createEditor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckTableItem_setContentFromEditor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckTableItem_paint (JNIEnv *env, jobject, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckTableItem_setChecked (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCheckTableItem_isChecked (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCheckTableItem_rtti (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCheckTableItem_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckTableItem_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckTableItem_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCheckTableItem_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QCheckTableItem__ */ diff --git a/qtjava/javalib/qtjava/QChildEvent.cpp b/qtjava/javalib/qtjava/QChildEvent.cpp deleted file mode 100644 index 77674f8a..00000000 --- a/qtjava/javalib/qtjava/QChildEvent.cpp +++ /dev/null @@ -1,67 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - -class TQChildEventJBridge : public TQChildEvent -{ -public: - TQChildEventJBridge(TQEvent::Type arg1,TQObject* arg2) : TQChildEvent(arg1,arg2) {}; - ~TQChildEventJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QChildEvent_child(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQChildEvent*) QtSupport::getQt(env, obj))->child(), "org.kde.qt.TQObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QChildEvent_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QChildEvent_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QChildEvent_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQChildEvent*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QChildEvent_inserted(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQChildEvent*) QtSupport::getQt(env, obj))->inserted(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QChildEvent_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QChildEvent_newTQChildEvent(JNIEnv* env, jobject obj, jint type, jobject child) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQChildEventJBridge((TQEvent::Type) type, (TQObject*) QtSupport::getQt(env, child))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QChildEvent_removed(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQChildEvent*) QtSupport::getQt(env, obj))->removed(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QChildEvent.h b/qtjava/javalib/qtjava/QChildEvent.h deleted file mode 100644 index f54e60f5..00000000 --- a/qtjava/javalib/qtjava/QChildEvent.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QChildEvent__ -#define __org_kde_qt_QChildEvent__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QChildEvent_newTQChildEvent (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QChildEvent_child (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QChildEvent_inserted (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QChildEvent_removed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QChildEvent_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QChildEvent_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QChildEvent_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QChildEvent__ */ diff --git a/qtjava/javalib/qtjava/QClassInfo.cpp b/qtjava/javalib/qtjava/QClassInfo.cpp deleted file mode 100644 index 5d64c167..00000000 --- a/qtjava/javalib/qtjava/QClassInfo.cpp +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - -class TQClassInfoJBridge : public TQClassInfo -{ -public: - TQClassInfoJBridge() : TQClassInfo() {}; - ~TQClassInfoJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QClassInfo_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QClassInfo_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QClassInfo_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQClassInfo*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QClassInfo_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QClassInfo_newTQClassInfo(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQClassInfoJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/qtjava/javalib/qtjava/QClassInfo.h b/qtjava/javalib/qtjava/QClassInfo.h deleted file mode 100644 index 919fa9e0..00000000 --- a/qtjava/javalib/qtjava/QClassInfo.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QClassInfo__ -#define __org_kde_qt_QClassInfo__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QClassInfo_newTQClassInfo (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QClassInfo_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QClassInfo_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QClassInfo_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QClassInfo__ */ diff --git a/qtjava/javalib/qtjava/QClipboard.cpp b/qtjava/javalib/qtjava/QClipboard.cpp deleted file mode 100644 index f376d2c9..00000000 --- a/qtjava/javalib/qtjava/QClipboard.cpp +++ /dev/null @@ -1,237 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QClipboard_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQClipboard*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QClipboard_clear__(JNIEnv* env, jobject obj) -{ - ((TQClipboard*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QClipboard_clear__I(JNIEnv* env, jobject obj, jint mode) -{ - ((TQClipboard*) QtSupport::getQt(env, obj))->clear((TQClipboard::Mode) mode); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QClipboard_data__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQClipboard*) QtSupport::getQt(env, obj))->data(), "org.kde.qt.TQMimeSourceInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QClipboard_data__I(JNIEnv* env, jobject obj, jint mode) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQClipboard*) QtSupport::getQt(env, obj))->data((TQClipboard::Mode) mode), "org.kde.qt.TQMimeSourceInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QClipboard_image__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQClipboard*) QtSupport::getQt(env, obj))->image()), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QClipboard_image__I(JNIEnv* env, jobject obj, jint mode) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQClipboard*) QtSupport::getQt(env, obj))->image((TQClipboard::Mode) mode)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QClipboard_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQClipboard*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QClipboard_ownsClipboard(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQClipboard*) QtSupport::getQt(env, obj))->ownsClipboard(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QClipboard_ownsSelection(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQClipboard*) QtSupport::getQt(env, obj))->ownsSelection(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QClipboard_pixmap__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQClipboard*) QtSupport::getQt(env, obj))->pixmap()), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QClipboard_pixmap__I(JNIEnv* env, jobject obj, jint mode) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQClipboard*) QtSupport::getQt(env, obj))->pixmap((TQClipboard::Mode) mode)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QClipboard_selectionModeEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQClipboard*) QtSupport::getQt(env, obj))->selectionModeEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QClipboard_setData__Lorg_kde_qt_QMimeSourceInterface_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQClipboard*) QtSupport::getQt(env, obj))->setData((TQMimeSource*) QtSupport::mimeSource(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QClipboard_setData__Lorg_kde_qt_QMimeSourceInterface_2I(JNIEnv* env, jobject obj, jobject arg1, jint mode) -{ - ((TQClipboard*) QtSupport::getQt(env, obj))->setData((TQMimeSource*) QtSupport::mimeSource(env, arg1), (TQClipboard::Mode) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QClipboard_setImage__Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQClipboard*) QtSupport::getQt(env, obj))->setImage((const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QClipboard_setImage__Lorg_kde_qt_QImage_2I(JNIEnv* env, jobject obj, jobject arg1, jint mode) -{ - ((TQClipboard*) QtSupport::getQt(env, obj))->setImage((const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg1), (TQClipboard::Mode) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QClipboard_setPixmap__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQClipboard*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QClipboard_setPixmap__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject arg1, jint mode) -{ - ((TQClipboard*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1), (TQClipboard::Mode) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QClipboard_setSelectionMode(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQClipboard*) QtSupport::getQt(env, obj))->setSelectionMode((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QClipboard_setText__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQClipboard*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QClipboard_setText__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring arg1, jint mode) -{ -static TQString* _qstring_arg1 = 0; - ((TQClipboard*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (TQClipboard::Mode) mode); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QClipboard_supportsSelection(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQClipboard*) QtSupport::getQt(env, obj))->supportsSelection(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QClipboard_text__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQClipboard*) QtSupport::getQt(env, obj))->text(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QClipboard_text__I(JNIEnv* env, jobject obj, jint mode) -{ - TQString _qstring; - _qstring = ((TQClipboard*) QtSupport::getQt(env, obj))->text((TQClipboard::Mode) mode); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QClipboard_text__Ljava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject subtype) -{ - TQString _qstring; -static TQCString* _qcstring_subtype = 0; - if (_qcstring_subtype == 0) { - _qcstring_subtype = new TQCString(); - } - _qstring = ((TQClipboard*) QtSupport::getQt(env, obj))->text((TQCString&)*(TQCString*) _qcstring_subtype); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_subtype, subtype); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QClipboard_text__Ljava_lang_StringBuffer_2I(JNIEnv* env, jobject obj, jobject subtype, jint mode) -{ - TQString _qstring; -static TQCString* _qcstring_subtype = 0; - if (_qcstring_subtype == 0) { - _qcstring_subtype = new TQCString(); - } - _qstring = ((TQClipboard*) QtSupport::getQt(env, obj))->text((TQCString&)*(TQCString*) _qcstring_subtype, (TQClipboard::Mode) mode); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_subtype, subtype); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QClipboard_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQClipboard::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QClipboard_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQClipboard::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QClipboard.h b/qtjava/javalib/qtjava/QClipboard.h deleted file mode 100644 index c3bb9f9a..00000000 --- a/qtjava/javalib/qtjava/QClipboard.h +++ /dev/null @@ -1,47 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QClipboard__ -#define __org_kde_qt_QClipboard__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QClipboard_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QClipboard_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QClipboard_clear__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QClipboard_clear__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QClipboard_supportsSelection (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QClipboard_ownsSelection (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QClipboard_ownsClipboard (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QClipboard_setSelectionMode (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QClipboard_selectionModeEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QClipboard_text__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QClipboard_text__Ljava_lang_StringBuffer_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QClipboard_setText__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QClipboard_data__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QClipboard_setData__Lorg_kde_qt_QMimeSourceInterface_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QClipboard_image__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QClipboard_pixmap__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QClipboard_setImage__Lorg_kde_qt_QImage_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QClipboard_setPixmap__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QClipboard_text__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QClipboard_text__Ljava_lang_StringBuffer_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QClipboard_setText__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QClipboard_data__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QClipboard_setData__Lorg_kde_qt_QMimeSourceInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QClipboard_image__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QClipboard_pixmap__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QClipboard_setImage__Lorg_kde_qt_QImage_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QClipboard_setPixmap__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QClipboard_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QClipboard_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QClipboard__ */ diff --git a/qtjava/javalib/qtjava/QCloseEvent.cpp b/qtjava/javalib/qtjava/QCloseEvent.cpp deleted file mode 100644 index d23dd9d9..00000000 --- a/qtjava/javalib/qtjava/QCloseEvent.cpp +++ /dev/null @@ -1,67 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - -class TQCloseEventJBridge : public TQCloseEvent -{ -public: - TQCloseEventJBridge() : TQCloseEvent() {}; - ~TQCloseEventJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCloseEvent_accept(JNIEnv* env, jobject obj) -{ - ((TQCloseEvent*) QtSupport::getQt(env, obj))->accept(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCloseEvent_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QCloseEvent_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCloseEvent_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQCloseEvent*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCloseEvent_ignore(JNIEnv* env, jobject obj) -{ - ((TQCloseEvent*) QtSupport::getQt(env, obj))->ignore(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCloseEvent_isAccepted(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQCloseEvent*) QtSupport::getQt(env, obj))->isAccepted(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCloseEvent_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCloseEvent_newTQCloseEvent(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCloseEventJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/qtjava/javalib/qtjava/QCloseEvent.h b/qtjava/javalib/qtjava/QCloseEvent.h deleted file mode 100644 index 391b75e3..00000000 --- a/qtjava/javalib/qtjava/QCloseEvent.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QCloseEvent__ -#define __org_kde_qt_QCloseEvent__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCloseEvent_newTQCloseEvent (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCloseEvent_isAccepted (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCloseEvent_accept (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCloseEvent_ignore (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCloseEvent_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCloseEvent_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCloseEvent_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QCloseEvent__ */ diff --git a/qtjava/javalib/qtjava/QColor.cpp b/qtjava/javalib/qtjava/QColor.cpp deleted file mode 100644 index 2ed1b3bf..00000000 --- a/qtjava/javalib/qtjava/QColor.cpp +++ /dev/null @@ -1,384 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -class TQColorJBridge : public TQColor -{ -public: - TQColorJBridge() : TQColor() {}; - TQColorJBridge(int arg1,int arg2,int arg3) : TQColor(arg1,arg2,arg3) {}; - TQColorJBridge(int arg1,int arg2,int arg3,TQColor::Spec arg4) : TQColor(arg1,arg2,arg3,arg4) {}; - TQColorJBridge(TQRgb arg1,uint arg2) : TQColor(arg1,arg2) {}; - TQColorJBridge(TQRgb arg1) : TQColor(arg1) {}; - TQColorJBridge(const TQString& arg1) : TQColor(arg1) {}; - TQColorJBridge(const TQColor& arg1) : TQColor(arg1) {}; - ~TQColorJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QColor_alloc(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQColor*) QtSupport::getQt(env, obj))->alloc(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QColor_blue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQColor*) QtSupport::getQt(env, obj))->blue(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QColor_cleanup(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TQColorJBridge::cleanup(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QColor_colorNames(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = TQColorJBridge::colorNames(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QColor_currentAllocContext(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TQColorJBridge::currentAllocContext(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QColor_dark__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TQColor*) QtSupport::getQt(env, obj))->dark()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QColor_dark__I(JNIEnv* env, jobject obj, jint f) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TQColor*) QtSupport::getQt(env, obj))->dark((int) f)), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QColor_destroyAllocContext(JNIEnv* env, jclass cls, jint arg1) -{ - (void) cls; - (void) env; - TQColorJBridge::destroyAllocContext((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QColor_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QColor_finalize(env, obj); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QColor_enterAllocContext(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TQColorJBridge::enterAllocContext(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QColor_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQColor*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QColor_getHsv(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); - ((TQColor*) QtSupport::getQt(env, obj))->getHsv( (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 void JNICALL -Java_org_kde_qt_QColor_getRgb(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); - ((TQColor*) QtSupport::getQt(env, obj))->getRgb( (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 jint JNICALL -Java_org_kde_qt_QColor_green(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQColor*) QtSupport::getQt(env, obj))->green(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QColor_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); - ((TQColor*) 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 void JNICALL -Java_org_kde_qt_QColor_initialize(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TQColorJBridge::initialize(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QColor_isDirty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQColor*) QtSupport::getQt(env, obj))->isDirty(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QColor_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QColor_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQColor*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QColor_leaveAllocContext(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TQColorJBridge::leaveAllocContext(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QColor_light__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TQColor*) QtSupport::getQt(env, obj))->light()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QColor_light__I(JNIEnv* env, jobject obj, jint f) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TQColor*) QtSupport::getQt(env, obj))->light((int) f)), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QColor_maxColors(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TQColorJBridge::maxColors(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QColor_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQColor*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QColor_newTQColor__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQColorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QColor_newTQColor__I(JNIEnv* env, jobject obj, jint rgb) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQColorJBridge((TQRgb) rgb)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QColor_newTQColor__II(JNIEnv* env, jobject obj, jint rgb, jint pixel) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQColorJBridge((TQRgb) rgb, (uint) pixel)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QColor_newTQColor__III(JNIEnv* env, jobject obj, jint r, jint g, jint b) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQColorJBridge((int) r, (int) g, (int) b)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QColor_newTQColor__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint z, jint arg4) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQColorJBridge((int) x, (int) y, (int) z, (TQColor::Spec) arg4)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QColor_newTQColor__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 TQColorJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QColor_newTQColor__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQColorJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QColor_numBitPlanes(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TQColorJBridge::numBitPlanes(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QColor_op_1equals(JNIEnv* env, jobject obj, jobject c) -{ - jboolean xret = (jboolean) ((TQColor*) QtSupport::getQt(env, obj))->operator==((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QColor_op_1not_1equals(JNIEnv* env, jobject obj, jobject c) -{ - jboolean xret = (jboolean) ((TQColor*) QtSupport::getQt(env, obj))->operator!=((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QColor_pixel(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQColor*) QtSupport::getQt(env, obj))->pixel(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QColor_red(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQColor*) QtSupport::getQt(env, obj))->red(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QColor_rgb__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQColor*) QtSupport::getQt(env, obj))->rgb(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QColor_rgb___3I_3I_3I(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); - ((TQColor*) 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_qt_QColor_setHsv(JNIEnv* env, jobject obj, jint h, jint s, jint v) -{ - ((TQColor*) QtSupport::getQt(env, obj))->setHsv((int) h, (int) s, (int) v); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QColor_setNamedColor(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((TQColor*) QtSupport::getQt(env, obj))->setNamedColor((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QColor_setRgb__I(JNIEnv* env, jobject obj, jint rgb) -{ - ((TQColor*) QtSupport::getQt(env, obj))->setRgb((TQRgb) rgb); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QColor_setRgb__III(JNIEnv* env, jobject obj, jint r, jint g, jint b) -{ - ((TQColor*) QtSupport::getQt(env, obj))->setRgb((int) r, (int) g, (int) b); - return; -} - diff --git a/qtjava/javalib/qtjava/QColor.h b/qtjava/javalib/qtjava/QColor.h deleted file mode 100644 index c5a2e803..00000000 --- a/qtjava/javalib/qtjava/QColor.h +++ /dev/null @@ -1,60 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QColor__ -#define __org_kde_qt_QColor__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_newTQColor__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_newTQColor__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_newTQColor__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_newTQColor__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_newTQColor__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_newTQColor__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_newTQColor__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QColor_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QColor_isDirty (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QColor_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_setNamedColor (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QColor_rgb__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_setRgb__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_setRgb__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_getRgb (JNIEnv *env, jobject, jintArray, jintArray, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_rgb___3I_3I_3I (JNIEnv *env, jobject, jintArray, jintArray, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QColor_red (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QColor_green (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QColor_blue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_setHsv (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_getHsv (JNIEnv *env, jobject, jintArray, jintArray, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_hsv (JNIEnv *env, jobject, jintArray, jintArray, jintArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColor_light__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColor_light__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColor_dark__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColor_dark__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QColor_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QColor_op_1not_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QColor_alloc (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QColor_pixel (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QColor_maxColors (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QColor_numBitPlanes (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QColor_enterAllocContext (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_leaveAllocContext (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QColor_currentAllocContext (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_destroyAllocContext (JNIEnv *env, jclass, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_initialize (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_cleanup (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColor_colorNames (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QColor_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QColor__ */ diff --git a/qtjava/javalib/qtjava/QColorDialog.cpp b/qtjava/javalib/qtjava/QColorDialog.cpp deleted file mode 100644 index 9a6bf5af..00000000 --- a/qtjava/javalib/qtjava/QColorDialog.cpp +++ /dev/null @@ -1,154 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QColorDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQColorDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QColorDialog_customColor(JNIEnv* env, jclass cls, jint arg1) -{ - (void) cls; - (void) env; - jint xret = (jint) TQColorDialog::customColor((int) arg1); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QColorDialog_customCount(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TQColorDialog::customCount(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QColorDialog_getColor__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TQColorDialog::getColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QColorDialog_getColor__Lorg_kde_qt_QColor_2(JNIEnv* env, jclass cls, jobject init) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TQColorDialog::getColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, init))), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QColorDialog_getColor__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject init, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TQColorDialog::getColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, init), (TQWidget*) QtSupport::getQt(env, parent))), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QColorDialog_getColor__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject init, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TQColorDialog::getColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, init), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QColorDialog_getRgba__I(JNIEnv* env, jclass cls, jint arg1) -{ - (void) cls; - (void) env; - jint xret = (jint) TQColorDialog::getRgba((TQRgb) arg1); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QColorDialog_getRgba__I_3Z(JNIEnv* env, jclass cls, jint arg1, jbooleanArray ok) -{ - (void) cls; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jint xret = (jint) TQColorDialog::getRgba((TQRgb) arg1, (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QColorDialog_getRgba__I_3ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jint arg1, jbooleanArray ok, jobject parent) -{ - (void) cls; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jint xret = (jint) TQColorDialog::getRgba((TQRgb) arg1, (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent)); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QColorDialog_getRgba__I_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jint arg1, jbooleanArray ok, jobject parent, jstring name) -{ - (void) cls; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); -static TQCString* _qstring_name = 0; - jint xret = (jint) TQColorDialog::getRgba((TQRgb) arg1, (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 xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QColorDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQColorDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QColorDialog_setCustomColor(JNIEnv* env, jclass cls, jint arg1, jint arg2) -{ - (void) cls; - (void) env; - TQColorDialog::setCustomColor((int) arg1, (TQRgb) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QColorDialog_setStandardColor(JNIEnv* env, jclass cls, jint arg1, jint arg2) -{ - (void) cls; - (void) env; - TQColorDialog::setStandardColor((int) arg1, (TQRgb) arg2); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QColorDialog_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQColorDialog::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QColorDialog_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQColorDialog::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QColorDialog.h b/qtjava/javalib/qtjava/QColorDialog.h deleted file mode 100644 index 0b4786af..00000000 --- a/qtjava/javalib/qtjava/QColorDialog.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QColorDialog__ -#define __org_kde_qt_QColorDialog__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QColorDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QColorDialog_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QColorDialog_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorDialog_getColor__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorDialog_getColor__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorDialog_getColor__Lorg_kde_qt_QColor_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorDialog_getColor__ (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QColorDialog_getRgba__I_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jint, jbooleanArray, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QColorDialog_getRgba__I_3ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jint, jbooleanArray, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QColorDialog_getRgba__I_3Z (JNIEnv *env, jclass, jint, jbooleanArray); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QColorDialog_getRgba__I (JNIEnv *env, jclass, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QColorDialog_customCount (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QColorDialog_customColor (JNIEnv *env, jclass, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorDialog_setCustomColor (JNIEnv *env, jclass, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorDialog_setStandardColor (JNIEnv *env, jclass, jint, jint); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QColorDialog__ */ diff --git a/qtjava/javalib/qtjava/QColorDrag.cpp b/qtjava/javalib/qtjava/QColorDrag.cpp deleted file mode 100644 index 291c5043..00000000 --- a/qtjava/javalib/qtjava/QColorDrag.cpp +++ /dev/null @@ -1,201 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQColorDragJBridge : public TQColorDrag -{ -public: - TQColorDragJBridge(const TQColor& arg1,TQWidget* arg2,const char* arg3) : TQColorDrag(arg1,arg2,arg3) {}; - TQColorDragJBridge(const TQColor& arg1,TQWidget* arg2) : TQColorDrag(arg1,arg2) {}; - TQColorDragJBridge(const TQColor& arg1) : TQColorDrag(arg1) {}; - TQColorDragJBridge(TQWidget* arg1,const char* arg2) : TQColorDrag(arg1,arg2) {}; - TQColorDragJBridge(TQWidget* arg1) : TQColorDrag(arg1) {}; - TQColorDragJBridge() : TQColorDrag() {}; - ~TQColorDragJBridge() {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.qt.TQColorDrag",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QColorDrag_canDecode(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - jboolean xret = (jboolean) TQColorDragJBridge::canDecode((TQMimeSource*) QtSupport::mimeSource(env, arg1)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QColorDrag_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQColorDrag*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QColorDrag_decode(JNIEnv* env, jclass cls, jobject arg1, jobject col) -{ - (void) cls; - jboolean xret = (jboolean) TQColorDragJBridge::decode((TQMimeSource*) QtSupport::mimeSource(env, arg1), (TQColor&)*(TQColor*) QtSupport::getQt(env, col)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QColorDrag_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QColorDrag_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QColorDrag_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQColorDrag*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQColorDrag*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QColorDrag_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QColorDrag_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQColorDrag*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QColorDrag_newTQColorDrag__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQColorDragJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QColorDrag_newTQColorDrag__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject col) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQColorDragJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QColorDrag_newTQColorDrag__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 TQColorDragJBridge((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_qt_QColorDrag_newTQColorDrag__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 TQColorDragJBridge((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_qt_QColorDrag_newTQColorDrag__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject dragSource) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQColorDragJBridge((TQWidget*) QtSupport::getQt(env, dragSource))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QColorDrag_newTQColorDrag__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 TQColorDragJBridge((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_qt_QColorDrag_setColor(JNIEnv* env, jobject obj, jobject col) -{ - ((TQColorDrag*) QtSupport::getQt(env, obj))->setColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QColorDrag_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQColorDragJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QColorDrag_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQColorDragJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QColorDrag.h b/qtjava/javalib/qtjava/QColorDrag.h deleted file mode 100644 index 6ee7d7c2..00000000 --- a/qtjava/javalib/qtjava/QColorDrag.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QColorDrag__ -#define __org_kde_qt_QColorDrag__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorDrag_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QColorDrag_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorDrag_newTQColorDrag__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_qt_QColorDrag_newTQColorDrag__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorDrag_newTQColorDrag__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorDrag_newTQColorDrag__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorDrag_newTQColorDrag__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorDrag_newTQColorDrag__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorDrag_setColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QColorDrag_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QColorDrag_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QColorDrag_canDecode (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QColorDrag_decode (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorDrag_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorDrag_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QColorDrag_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QColorDrag__ */ diff --git a/qtjava/javalib/qtjava/QColorGroup.cpp b/qtjava/javalib/qtjava/QColorGroup.cpp deleted file mode 100644 index 7e6d445c..00000000 --- a/qtjava/javalib/qtjava/QColorGroup.cpp +++ /dev/null @@ -1,235 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQColorGroupJBridge : public TQColorGroup -{ -public: - TQColorGroupJBridge() : TQColorGroup() {}; - TQColorGroupJBridge(const TQColor& arg1,const TQColor& arg2,const TQColor& arg3,const TQColor& arg4,const TQColor& arg5,const TQColor& arg6,const TQColor& arg7) : TQColorGroup(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TQColorGroupJBridge(const TQBrush& arg1,const TQBrush& arg2,const TQBrush& arg3,const TQBrush& arg4,const TQBrush& arg5,const TQBrush& arg6,const TQBrush& arg7,const TQBrush& arg8,const TQBrush& arg9) : TQColorGroup(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - TQColorGroupJBridge(const TQColorGroup& arg1) : TQColorGroup(arg1) {}; - ~TQColorGroupJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QColorGroup_background(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->background(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QColorGroup_base(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->base(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QColorGroup_brightText(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->brightText(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QColorGroup_brush(JNIEnv* env, jobject obj, jint arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQBrush *) &((TQColorGroup*) QtSupport::getQt(env, obj))->brush((TQColorGroup::ColorRole) arg1), "org.kde.qt.TQBrush"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QColorGroup_buttonText(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->buttonText(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QColorGroup_button(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->button(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QColorGroup_color(JNIEnv* env, jobject obj, jint arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->color((TQColorGroup::ColorRole) arg1), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QColorGroup_dark(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->dark(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QColorGroup_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QColorGroup_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QColorGroup_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQColorGroup*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QColorGroup_foreground(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->foreground(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QColorGroup_highlight(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->highlight(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QColorGroup_highlightedText(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->highlightedText(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QColorGroup_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QColorGroup_light(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->light(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QColorGroup_linkVisited(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->linkVisited(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QColorGroup_link(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->link(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QColorGroup_mid(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->mid(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QColorGroup_midlight(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->midlight(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QColorGroup_newTQColorGroup__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQColorGroupJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QColorGroup_newTQColorGroup__Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2(JNIEnv* env, jobject obj, jobject foreground, jobject button, jobject light, jobject dark, jobject mid, jobject text, jobject bright_text, jobject base, jobject background) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQColorGroupJBridge((const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, foreground), (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, button), (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, light), (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, dark), (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, mid), (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, text), (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, bright_text), (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, base), (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, background))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QColorGroup_newTQColorGroup__Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQColorGroupJBridge((const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QColorGroup_newTQColorGroup__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject foreground, jobject button, jobject light, jobject dark, jobject mid, jobject text, jobject base) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQColorGroupJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, foreground), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, button), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, light), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, dark), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, mid), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, text), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, base))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QColorGroup_op_1equals(JNIEnv* env, jobject obj, jobject g) -{ - jboolean xret = (jboolean) ((TQColorGroup*) QtSupport::getQt(env, obj))->operator==((const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QColorGroup_op_1not_1equals(JNIEnv* env, jobject obj, jobject g) -{ - jboolean xret = (jboolean) ((TQColorGroup*) QtSupport::getQt(env, obj))->operator!=((const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QColorGroup_setBrush(JNIEnv* env, jobject obj, jint arg1, jobject arg2) -{ - ((TQColorGroup*) QtSupport::getQt(env, obj))->setBrush((TQColorGroup::ColorRole) arg1, (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QColorGroup_setColor(JNIEnv* env, jobject obj, jint arg1, jobject arg2) -{ - ((TQColorGroup*) QtSupport::getQt(env, obj))->setColor((TQColorGroup::ColorRole) arg1, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QColorGroup_shadow(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->shadow(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QColorGroup_text(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->text(), "org.kde.qt.TQColor"); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QColorGroup.h b/qtjava/javalib/qtjava/QColorGroup.h deleted file mode 100644 index 8a53ddcc..00000000 --- a/qtjava/javalib/qtjava/QColorGroup.h +++ /dev/null @@ -1,47 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QColorGroup__ -#define __org_kde_qt_QColorGroup__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorGroup_newTQColorGroup__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorGroup_newTQColorGroup__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject, jobject, jobject, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorGroup_newTQColorGroup__Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2 (JNIEnv *env, jobject, jobject, jobject, jobject, jobject, jobject, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorGroup_newTQColorGroup__Lorg_kde_qt_QColorGroup_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorGroup_color (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorGroup_brush (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorGroup_setColor (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorGroup_setBrush (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorGroup_foreground (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorGroup_button (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorGroup_light (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorGroup_dark (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorGroup_mid (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorGroup_text (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorGroup_base (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorGroup_background (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorGroup_midlight (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorGroup_brightText (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorGroup_buttonText (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorGroup_shadow (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorGroup_highlight (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorGroup_highlightedText (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorGroup_link (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorGroup_linkVisited (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QColorGroup_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QColorGroup_op_1not_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorGroup_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorGroup_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QColorGroup_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QColorGroup__ */ diff --git a/qtjava/javalib/qtjava/QComboBox.cpp b/qtjava/javalib/qtjava/QComboBox.cpp deleted file mode 100644 index 957e5063..00000000 --- a/qtjava/javalib/qtjava/QComboBox.cpp +++ /dev/null @@ -1,1013 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQComboBoxJBridge : public TQComboBox -{ -public: - TQComboBoxJBridge(TQWidget* arg1,const char* arg2) : TQComboBox(arg1,arg2) {}; - TQComboBoxJBridge(TQWidget* arg1) : TQComboBox(arg1) {}; - TQComboBoxJBridge() : TQComboBox() {}; - TQComboBoxJBridge(bool arg1,TQWidget* arg2,const char* arg3) : TQComboBox(arg1,arg2,arg3) {}; - TQComboBoxJBridge(bool arg1,TQWidget* arg2) : TQComboBox(arg1,arg2) {}; - TQComboBoxJBridge(bool arg1) : TQComboBox(arg1) {}; - void public_popup() { - TQComboBox::popup(); - return; - } - void protected_paintEvent(TQPaintEvent* arg1) { - TQComboBox::paintEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQComboBox::resizeEvent(arg1); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TQComboBox::mousePressEvent(arg1); - return; - } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - TQComboBox::mouseMoveEvent(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - TQComboBox::mouseReleaseEvent(arg1); - return; - } - void protected_mouseDoubleClickEvent(TQMouseEvent* arg1) { - TQComboBox::mouseDoubleClickEvent(arg1); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQComboBox::keyPressEvent(arg1); - return; - } - void protected_focusInEvent(TQFocusEvent* arg1) { - TQComboBox::focusInEvent(arg1); - return; - } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TQComboBox::focusOutEvent(arg1); - return; - } - void protected_wheelEvent(TQWheelEvent* arg1) { - TQComboBox::wheelEvent(arg1); - return; - } - void protected_styleChange(TQStyle& arg1) { - TQComboBox::styleChange(arg1); - return; - } - void protected_updateMask() { - TQComboBox::updateMask(); - return; - } - ~TQComboBoxJBridge() {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.qt.TQComboBox","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.qt.TQComboBox","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.qt.TQComboBox","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.qt.TQComboBox","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.qt.TQComboBox","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQComboBox","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.qt.TQComboBox","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.qt.TQComboBox","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.qt.TQComboBox","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.qt.TQComboBox","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QComboBox_autoCompletion(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQComboBox*) QtSupport::getQt(env, obj))->autoCompletion(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QComboBox_autoResize(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQComboBox*) QtSupport::getQt(env, obj))->autoResize(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_changeItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint index) -{ -static TQString* _qstring_text = 0; - ((TQComboBox*) QtSupport::getQt(env, obj))->changeItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_changeItem__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint index) -{ - ((TQComboBox*) QtSupport::getQt(env, obj))->changeItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_changeItem__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject pixmap, jstring text, jint index) -{ -static TQString* _qstring_text = 0; - ((TQComboBox*) QtSupport::getQt(env, obj))->changeItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QComboBox_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQComboBox*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_clearEdit(JNIEnv* env, jobject obj) -{ - ((TQComboBox*) QtSupport::getQt(env, obj))->clearEdit(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_clearValidator(JNIEnv* env, jobject obj) -{ - ((TQComboBox*) QtSupport::getQt(env, obj))->clearValidator(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_clear(JNIEnv* env, jobject obj) -{ - ((TQComboBox*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QComboBox_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQComboBox*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QComboBox_currentItem(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQComboBox*) QtSupport::getQt(env, obj))->currentItem(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QComboBox_currentText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQComboBox*) QtSupport::getQt(env, obj))->currentText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QComboBox_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QComboBox_duplicatesEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQComboBox*) QtSupport::getQt(env, obj))->duplicatesEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QComboBox_editable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQComboBox*) QtSupport::getQt(env, obj))->editable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QComboBox_eventFilter(JNIEnv* env, jobject obj, jobject object, jobject event) -{ - jboolean xret = (jboolean) ((TQComboBox*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, object), (TQEvent*) QtSupport::getQt(env, event)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQComboBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQComboBox*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_focusInEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_focusOutEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_hide(JNIEnv* env, jobject obj) -{ - ((TQComboBox*) QtSupport::getQt(env, obj))->hide(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_insertItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TQComboBox*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_insertItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint index) -{ -static TQString* _qstring_text = 0; - ((TQComboBox*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_insertItem__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pixmap) -{ - ((TQComboBox*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_insertItem__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint index) -{ - ((TQComboBox*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_insertItem__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject pixmap, jstring text) -{ -static TQString* _qstring_text = 0; - ((TQComboBox*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_insertItem__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject pixmap, jstring text, jint index) -{ -static TQString* _qstring_text = 0; - ((TQComboBox*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_insertStrList___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray arg1) -{ -static TQStrList* _qlist_arg1 = 0; - ((TQComboBox*) QtSupport::getQt(env, obj))->insertStrList((const TQStrList&)*(TQStrList*) QtSupport::toTQStrList(env, arg1, &_qlist_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_insertStrList___3Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobjectArray arg1, jint index) -{ -static TQStrList* _qlist_arg1 = 0; - ((TQComboBox*) QtSupport::getQt(env, obj))->insertStrList((const TQStrList&)*(TQStrList*) QtSupport::toTQStrList(env, arg1, &_qlist_arg1), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_insertStrList___3Ljava_lang_String_2II(JNIEnv* env, jobject obj, jobjectArray arg1, jint numStrings, jint index) -{ - ((TQComboBox*) QtSupport::getQt(env, obj))->insertStrList((const char**) QtSupport::toStringArray(env, arg1), (int) numStrings, (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_insertStringList___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray arg1) -{ -static TQStringList* _qlist_arg1 = 0; - ((TQComboBox*) QtSupport::getQt(env, obj))->insertStringList((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, arg1, &_qlist_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_insertStringList___3Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobjectArray arg1, jint index) -{ -static TQStringList* _qlist_arg1 = 0; - ((TQComboBox*) QtSupport::getQt(env, obj))->insertStringList((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, arg1, &_qlist_arg1), (int) index); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QComboBox_insertionPolicy(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQComboBox*) QtSupport::getQt(env, obj))->insertionPolicy(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QComboBox_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_keyPressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QComboBox_lineEdit(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQComboBox*) QtSupport::getQt(env, obj))->lineEdit(), "org.kde.qt.TQLineEdit"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QComboBox_listBox(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQComboBox*) QtSupport::getQt(env, obj))->listBox(), "org.kde.qt.TQListBox"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QComboBox_maxCount(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQComboBox*) QtSupport::getQt(env, obj))->maxCount(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QComboBox_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQComboBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_mouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_newTQComboBox__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQComboBoxJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_newTQComboBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQComboBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_newTQComboBox__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 TQComboBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_newTQComboBox__Z(JNIEnv* env, jobject obj, jboolean rw) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQComboBoxJBridge((bool) rw)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_newTQComboBox__ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jboolean rw, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQComboBoxJBridge((bool) rw, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_newTQComboBox__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 TQComboBoxJBridge((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_qt_QComboBox_paintEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QComboBox_pixmap(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQComboBox*) QtSupport::getQt(env, obj))->pixmap((int) index), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_popup(JNIEnv* env, jobject obj) -{ - ((TQComboBoxJBridge*) QtSupport::getQt(env, obj))->public_popup(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_removeItem(JNIEnv* env, jobject obj, jint index) -{ - ((TQComboBox*) QtSupport::getQt(env, obj))->removeItem((int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_setAutoCompletion(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQComboBox*) QtSupport::getQt(env, obj))->setAutoCompletion((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_setAutoResize(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQComboBox*) QtSupport::getQt(env, obj))->setAutoResize((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_setCurrentItem(JNIEnv* env, jobject obj, jint index) -{ - ((TQComboBox*) QtSupport::getQt(env, obj))->setCurrentItem((int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_setCurrentText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQComboBox*) QtSupport::getQt(env, obj))->setCurrentText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_setDuplicatesEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQComboBox*) QtSupport::getQt(env, obj))->setDuplicatesEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_setEditText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQComboBox*) QtSupport::getQt(env, obj))->setEditText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_setEditable(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQComboBox*) QtSupport::getQt(env, obj))->setEditable((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_setEnabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQComboBox*) QtSupport::getQt(env, obj))->setEnabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_setFont(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQComboBox*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_setInsertionPolicy(JNIEnv* env, jobject obj, jint policy) -{ - ((TQComboBox*) QtSupport::getQt(env, obj))->setInsertionPolicy((TQComboBox::Policy) policy); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_setLineEdit(JNIEnv* env, jobject obj, jobject edit) -{ - ((TQComboBox*) QtSupport::getQt(env, obj))->setLineEdit((TQLineEdit*) QtSupport::getQt(env, edit)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_setListBox(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQComboBox*) QtSupport::getQt(env, obj))->setListBox((TQListBox*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_setMaxCount(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQComboBox*) QtSupport::getQt(env, obj))->setMaxCount((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_setPalette(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQComboBox*) QtSupport::getQt(env, obj))->setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_setSizeLimit(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQComboBox*) QtSupport::getQt(env, obj))->setSizeLimit((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_setValidator(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQComboBox*) QtSupport::getQt(env, obj))->setValidator((const TQValidator*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QComboBox_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQComboBox*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QComboBox_sizeLimit(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQComboBox*) QtSupport::getQt(env, obj))->sizeLimit(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_styleChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QComboBox_text(JNIEnv* env, jobject obj, jint index) -{ - TQString _qstring; - _qstring = ((TQComboBox*) QtSupport::getQt(env, obj))->text((int) index); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QComboBox_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQComboBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QComboBox_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQComboBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_updateMask(JNIEnv* env, jobject obj) -{ - ((TQComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_updateMask(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QComboBox_validator(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQComboBox*) QtSupport::getQt(env, obj))->validator(), "org.kde.qt.TQValidator"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_wheelEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, e)); - return; -} - diff --git a/qtjava/javalib/qtjava/QComboBox.h b/qtjava/javalib/qtjava/QComboBox.h deleted file mode 100644 index 62472515..00000000 --- a/qtjava/javalib/qtjava/QComboBox.h +++ /dev/null @@ -1,96 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QComboBox__ -#define __org_kde_qt_QComboBox__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QComboBox_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QComboBox_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_newTQComboBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_newTQComboBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_newTQComboBox__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_newTQComboBox__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jboolean, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_newTQComboBox__ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_newTQComboBox__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QComboBox_count (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_insertStringList___3Ljava_lang_String_2I (JNIEnv *env, jobject, jobjectArray, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_insertStringList___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_insertStrList___3Ljava_lang_String_2I (JNIEnv *env, jobject, jobjectArray, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_insertStrList___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_insertStrList___3Ljava_lang_String_2II (JNIEnv *env, jobject, jobjectArray, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_insertItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_insertItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_insertItem__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_insertItem__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_insertItem__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_insertItem__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_removeItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QComboBox_currentItem (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_setCurrentItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QComboBox_currentText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_setCurrentText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QComboBox_text (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QComboBox_pixmap (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_changeItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_changeItem__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_changeItem__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QComboBox_autoResize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_setAutoResize (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QComboBox_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_setPalette (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_setFont (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_setEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_setSizeLimit (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QComboBox_sizeLimit (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_setMaxCount (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QComboBox_maxCount (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_setInsertionPolicy (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QComboBox_insertionPolicy (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_setValidator (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QComboBox_validator (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_setListBox (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QComboBox_listBox (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_setLineEdit (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QComboBox_lineEdit (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_setAutoCompletion (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QComboBox_autoCompletion (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QComboBox_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_setDuplicatesEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QComboBox_duplicatesEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QComboBox_editable (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_setEditable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_popup (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_hide (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_clearValidator (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_clearEdit (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_setEditText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QComboBox_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QComboBox_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_mouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_mouseDoubleClickEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_focusInEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_focusOutEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_wheelEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_styleChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_updateMask (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QComboBox_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QComboBox__ */ diff --git a/qtjava/javalib/qtjava/QComboTableItem.cpp b/qtjava/javalib/qtjava/QComboTableItem.cpp deleted file mode 100644 index 8216ae93..00000000 --- a/qtjava/javalib/qtjava/QComboTableItem.cpp +++ /dev/null @@ -1,166 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQComboTableItemJBridge : public TQComboTableItem -{ -public: - TQComboTableItemJBridge(TQTable* arg1,const TQStringList& arg2,bool arg3) : TQComboTableItem(arg1,arg2,arg3) {}; - TQComboTableItemJBridge(TQTable* arg1,const TQStringList& arg2) : TQComboTableItem(arg1,arg2) {}; - ~TQComboTableItemJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QComboTableItem_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQComboTableItem*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QComboTableItem_createEditor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQComboTableItem*) QtSupport::getQt(env, obj))->createEditor(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QComboTableItem_currentItem(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQComboTableItem*) QtSupport::getQt(env, obj))->currentItem(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QComboTableItem_currentText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQComboTableItem*) QtSupport::getQt(env, obj))->currentText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboTableItem_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QComboTableItem_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboTableItem_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQTableItem*)(TQComboTableItem*)QtSupport::getQt(env, obj))->table() == 0) { - delete (TQComboTableItem*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QComboTableItem_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QComboTableItem_isEditable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQComboTableItem*) QtSupport::getQt(env, obj))->isEditable(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboTableItem_newTQComboTableItem__Lorg_kde_qt_QTable_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject table, jobjectArray list) -{ -static TQStringList* _qlist_list = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQComboTableItemJBridge((TQTable*) QtSupport::getQt(env, table), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboTableItem_newTQComboTableItem__Lorg_kde_qt_QTable_2_3Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject table, jobjectArray list, jboolean editable) -{ -static TQStringList* _qlist_list = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQComboTableItemJBridge((TQTable*) QtSupport::getQt(env, table), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (bool) editable)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboTableItem_paint(JNIEnv* env, jobject obj, jobject p, jobject cg, jobject cr, jboolean selected) -{ - ((TQComboTableItem*) QtSupport::getQt(env, obj))->paint((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, cr), (bool) selected); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QComboTableItem_rtti(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQComboTableItem*) QtSupport::getQt(env, obj))->rtti(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboTableItem_setContentFromEditor(JNIEnv* env, jobject obj, jobject w) -{ - ((TQComboTableItem*) QtSupport::getQt(env, obj))->setContentFromEditor((TQWidget*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboTableItem_setCurrentItem__I(JNIEnv* env, jobject obj, jint i) -{ - ((TQComboTableItem*) QtSupport::getQt(env, obj))->setCurrentItem((int) i); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboTableItem_setCurrentItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring i) -{ -static TQString* _qstring_i = 0; - ((TQComboTableItem*) QtSupport::getQt(env, obj))->setCurrentItem((const TQString&)*(TQString*) QtSupport::toTQString(env, i, &_qstring_i)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboTableItem_setEditable(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQComboTableItem*) QtSupport::getQt(env, obj))->setEditable((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QComboTableItem_setStringList(JNIEnv* env, jobject obj, jobjectArray l) -{ -static TQStringList* _qlist_l = 0; - ((TQComboTableItem*) QtSupport::getQt(env, obj))->setStringList((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, l, &_qlist_l)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QComboTableItem_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQComboTableItem*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QComboTableItem_text(JNIEnv* env, jobject obj, jint i) -{ - TQString _qstring; - _qstring = ((TQComboTableItem*) QtSupport::getQt(env, obj))->text((int) i); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QComboTableItem.h b/qtjava/javalib/qtjava/QComboTableItem.h deleted file mode 100644 index efeaaa72..00000000 --- a/qtjava/javalib/qtjava/QComboTableItem.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QComboTableItem__ -#define __org_kde_qt_QComboTableItem__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboTableItem_newTQComboTableItem__Lorg_kde_qt_QTable_2_3Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jobjectArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboTableItem_newTQComboTableItem__Lorg_kde_qt_QTable_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QComboTableItem_createEditor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboTableItem_setContentFromEditor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboTableItem_paint (JNIEnv *env, jobject, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboTableItem_setCurrentItem__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboTableItem_setCurrentItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QComboTableItem_currentItem (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QComboTableItem_currentText (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QComboTableItem_count (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QComboTableItem_text (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboTableItem_setEditable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QComboTableItem_isEditable (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboTableItem_setStringList (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QComboTableItem_rtti (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QComboTableItem_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboTableItem_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboTableItem_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QComboTableItem_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QComboTableItem__ */ diff --git a/qtjava/javalib/qtjava/QContextMenuEvent.cpp b/qtjava/javalib/qtjava/QContextMenuEvent.cpp deleted file mode 100644 index eff5efc0..00000000 --- a/qtjava/javalib/qtjava/QContextMenuEvent.cpp +++ /dev/null @@ -1,150 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQContextMenuEventJBridge : public TQContextMenuEvent -{ -public: - TQContextMenuEventJBridge(TQContextMenuEvent::Reason arg1,const TQPoint& arg2,const TQPoint& arg3,int arg4) : TQContextMenuEvent(arg1,arg2,arg3,arg4) {}; - TQContextMenuEventJBridge(TQContextMenuEvent::Reason arg1,const TQPoint& arg2,int arg3) : TQContextMenuEvent(arg1,arg2,arg3) {}; - ~TQContextMenuEventJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QContextMenuEvent_accept(JNIEnv* env, jobject obj) -{ - ((TQContextMenuEvent*) QtSupport::getQt(env, obj))->accept(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QContextMenuEvent_consume(JNIEnv* env, jobject obj) -{ - ((TQContextMenuEvent*) QtSupport::getQt(env, obj))->consume(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QContextMenuEvent_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QContextMenuEvent_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QContextMenuEvent_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQContextMenuEvent*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QContextMenuEvent_globalPos(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQContextMenuEvent*) QtSupport::getQt(env, obj))->globalPos(), "org.kde.qt.TQPoint"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QContextMenuEvent_globalX(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQContextMenuEvent*) QtSupport::getQt(env, obj))->globalX(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QContextMenuEvent_globalY(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQContextMenuEvent*) QtSupport::getQt(env, obj))->globalY(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QContextMenuEvent_ignore(JNIEnv* env, jobject obj) -{ - ((TQContextMenuEvent*) QtSupport::getQt(env, obj))->ignore(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QContextMenuEvent_isAccepted(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQContextMenuEvent*) QtSupport::getQt(env, obj))->isAccepted(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QContextMenuEvent_isConsumed(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQContextMenuEvent*) QtSupport::getQt(env, obj))->isConsumed(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QContextMenuEvent_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QContextMenuEvent_newTQContextMenuEvent__ILorg_kde_qt_QPoint_2I(JNIEnv* env, jobject obj, jint reason, jobject pos, jint state) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQContextMenuEventJBridge((TQContextMenuEvent::Reason) reason, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (int) state)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QContextMenuEvent_newTQContextMenuEvent__ILorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2I(JNIEnv* env, jobject obj, jint reason, jobject pos, jobject globalPos, jint state) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQContextMenuEventJBridge((TQContextMenuEvent::Reason) reason, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, globalPos), (int) state)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QContextMenuEvent_pos(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQContextMenuEvent*) QtSupport::getQt(env, obj))->pos(), "org.kde.qt.TQPoint"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QContextMenuEvent_reason(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQContextMenuEvent*) QtSupport::getQt(env, obj))->reason(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QContextMenuEvent_state(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQContextMenuEvent*) QtSupport::getQt(env, obj))->state(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QContextMenuEvent_x(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQContextMenuEvent*) QtSupport::getQt(env, obj))->x(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QContextMenuEvent_y(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQContextMenuEvent*) QtSupport::getQt(env, obj))->y(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QContextMenuEvent.h b/qtjava/javalib/qtjava/QContextMenuEvent.h deleted file mode 100644 index a36d0c2f..00000000 --- a/qtjava/javalib/qtjava/QContextMenuEvent.h +++ /dev/null @@ -1,36 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QContextMenuEvent__ -#define __org_kde_qt_QContextMenuEvent__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QContextMenuEvent_newTQContextMenuEvent__ILorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2I (JNIEnv *env, jobject, jint, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QContextMenuEvent_newTQContextMenuEvent__ILorg_kde_qt_QPoint_2I (JNIEnv *env, jobject, jint, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QContextMenuEvent_x (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QContextMenuEvent_y (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QContextMenuEvent_globalX (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QContextMenuEvent_globalY (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QContextMenuEvent_pos (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QContextMenuEvent_globalPos (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QContextMenuEvent_state (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QContextMenuEvent_isAccepted (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QContextMenuEvent_isConsumed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QContextMenuEvent_consume (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QContextMenuEvent_accept (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QContextMenuEvent_ignore (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QContextMenuEvent_reason (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QContextMenuEvent_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QContextMenuEvent_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QContextMenuEvent_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QContextMenuEvent__ */ diff --git a/qtjava/javalib/qtjava/QCursor.cpp b/qtjava/javalib/qtjava/QCursor.cpp deleted file mode 100644 index 8c2040db..00000000 --- a/qtjava/javalib/qtjava/QCursor.cpp +++ /dev/null @@ -1,215 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -class TQCursorJBridge : public TQCursor -{ -public: - TQCursorJBridge() : TQCursor() {}; - TQCursorJBridge(int arg1) : TQCursor(arg1) {}; - TQCursorJBridge(const TQBitmap& arg1,const TQBitmap& arg2,int arg3,int arg4) : TQCursor(arg1,arg2,arg3,arg4) {}; - TQCursorJBridge(const TQBitmap& arg1,const TQBitmap& arg2,int arg3) : TQCursor(arg1,arg2,arg3) {}; - TQCursorJBridge(const TQBitmap& arg1,const TQBitmap& arg2) : TQCursor(arg1,arg2) {}; - TQCursorJBridge(const TQPixmap& arg1,int arg2,int arg3) : TQCursor(arg1,arg2,arg3) {}; - TQCursorJBridge(const TQPixmap& arg1,int arg2) : TQCursor(arg1,arg2) {}; - TQCursorJBridge(const TQPixmap& arg1) : TQCursor(arg1) {}; - TQCursorJBridge(const TQCursor& arg1) : TQCursor(arg1) {}; - ~TQCursorJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCursor_bitmap(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQCursor*) QtSupport::getQt(env, obj))->bitmap(), "org.kde.qt.TQBitmap"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCursor_cleanup(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TQCursorJBridge::cleanup(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCursor_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QCursor_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCursor_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQCursor*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCursor_hotSpot(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQCursor*) QtSupport::getQt(env, obj))->hotSpot()), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCursor_initialize(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TQCursorJBridge::initialize(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCursor_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCursor_mask(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQCursor*) QtSupport::getQt(env, obj))->mask(), "org.kde.qt.TQBitmap"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCursor_newTQCursor__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCursorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCursor_newTQCursor__I(JNIEnv* env, jobject obj, jint shape) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCursorJBridge((int) shape)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCursor_newTQCursor__Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2(JNIEnv* env, jobject obj, jobject bitmap, jobject mask) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCursorJBridge((const TQBitmap&)*(const TQBitmap*) QtSupport::getQt(env, bitmap), (const TQBitmap&)*(const TQBitmap*) QtSupport::getQt(env, mask))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCursor_newTQCursor__Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2I(JNIEnv* env, jobject obj, jobject bitmap, jobject mask, jint hotX) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCursorJBridge((const TQBitmap&)*(const TQBitmap*) QtSupport::getQt(env, bitmap), (const TQBitmap&)*(const TQBitmap*) QtSupport::getQt(env, mask), (int) hotX)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCursor_newTQCursor__Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2II(JNIEnv* env, jobject obj, jobject bitmap, jobject mask, jint hotX, jint hotY) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCursorJBridge((const TQBitmap&)*(const TQBitmap*) QtSupport::getQt(env, bitmap), (const TQBitmap&)*(const TQBitmap*) QtSupport::getQt(env, mask), (int) hotX, (int) hotY)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCursor_newTQCursor__Lorg_kde_qt_QCursor_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCursorJBridge((const TQCursor&)*(const TQCursor*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCursor_newTQCursor__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pixmap) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCursorJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCursor_newTQCursor__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint hotX) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCursorJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) hotX)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCursor_newTQCursor__Lorg_kde_qt_QPixmap_2II(JNIEnv* env, jobject obj, jobject pixmap, jint hotX, jint hotY) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCursorJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) hotX, (int) hotY)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCursor_pos(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(TQCursorJBridge::pos()), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCursor_setPos__II(JNIEnv* env, jclass cls, jint x, jint y) -{ - (void) cls; - (void) env; - TQCursorJBridge::setPos((int) x, (int) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCursor_setPos__Lorg_kde_qt_QPoint_2(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - TQCursorJBridge::setPos((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCursor_setShape(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQCursor*) QtSupport::getQt(env, obj))->setShape((int) arg1); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QCursor_shape(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQCursor*) QtSupport::getQt(env, obj))->shape(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QCursor.h b/qtjava/javalib/qtjava/QCursor.h deleted file mode 100644 index 53fed8cd..00000000 --- a/qtjava/javalib/qtjava/QCursor.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QCursor__ -#define __org_kde_qt_QCursor__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_newTQCursor__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_newTQCursor__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_newTQCursor__Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2II (JNIEnv *env, jobject, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_newTQCursor__Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2I (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_newTQCursor__Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_newTQCursor__Lorg_kde_qt_QPixmap_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_newTQCursor__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_newTQCursor__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_newTQCursor__Lorg_kde_qt_QCursor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCursor_shape (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_setShape (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCursor_bitmap (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCursor_mask (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCursor_hotSpot (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCursor_pos (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_setPos__II (JNIEnv *env, jclass, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_setPos__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_initialize (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_cleanup (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCursor_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QCursor__ */ diff --git a/qtjava/javalib/qtjava/QCustomEvent.cpp b/qtjava/javalib/qtjava/QCustomEvent.cpp deleted file mode 100644 index 523180f4..00000000 --- a/qtjava/javalib/qtjava/QCustomEvent.cpp +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - -class TQCustomEventJBridge : public TQCustomEvent -{ -public: - TQCustomEventJBridge(int arg1) : TQCustomEvent(arg1) {}; - ~TQCustomEventJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCustomEvent_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QCustomEvent_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCustomEvent_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQCustomEvent*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCustomEvent_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCustomEvent_newTQCustomEvent(JNIEnv* env, jobject obj, jint type) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQCustomEventJBridge((int) type)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/qtjava/javalib/qtjava/QCustomEvent.h b/qtjava/javalib/qtjava/QCustomEvent.h deleted file mode 100644 index c58bb6b8..00000000 --- a/qtjava/javalib/qtjava/QCustomEvent.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QCustomEvent__ -#define __org_kde_qt_QCustomEvent__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCustomEvent_newTQCustomEvent (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCustomEvent_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCustomEvent_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCustomEvent_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QCustomEvent__ */ diff --git a/qtjava/javalib/qtjava/QCustomMenuItem.cpp b/qtjava/javalib/qtjava/QCustomMenuItem.cpp deleted file mode 100644 index 282197a1..00000000 --- a/qtjava/javalib/qtjava/QCustomMenuItem.cpp +++ /dev/null @@ -1,44 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCustomMenuItem_fullSpan(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQCustomMenuItem*) QtSupport::getQt(env, obj))->fullSpan(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QCustomMenuItem_isSeparator(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQCustomMenuItem*) QtSupport::getQt(env, obj))->isSeparator(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCustomMenuItem_paint(JNIEnv* env, jobject obj, jobject p, jobject cg, jboolean act, jboolean enabled, jint x, jint y, jint w, jint h) -{ - ((TQCustomMenuItem*) QtSupport::getQt(env, obj))->paint((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (bool) act, (bool) enabled, (int) x, (int) y, (int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QCustomMenuItem_setFont(JNIEnv* env, jobject obj, jobject font) -{ - ((TQCustomMenuItem*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QCustomMenuItem_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQCustomMenuItem*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QCustomMenuItem.h b/qtjava/javalib/qtjava/QCustomMenuItem.h deleted file mode 100644 index 2be7a2d8..00000000 --- a/qtjava/javalib/qtjava/QCustomMenuItem.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QCustomMenuItem__ -#define __org_kde_qt_QCustomMenuItem__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCustomMenuItem_fullSpan (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCustomMenuItem_isSeparator (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCustomMenuItem_setFont (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCustomMenuItem_paint (JNIEnv *env, jobject, jobject, jobject, jboolean, jboolean, jint, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCustomMenuItem_sizeHint (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QCustomMenuItem__ */ diff --git a/qtjava/javalib/qtjava/QDataBrowser.cpp b/qtjava/javalib/qtjava/QDataBrowser.cpp deleted file mode 100644 index 8baa2541..00000000 --- a/qtjava/javalib/qtjava/QDataBrowser.cpp +++ /dev/null @@ -1,966 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQDataBrowserJBridge : public TQDataBrowser -{ -public: - TQDataBrowserJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQDataBrowser(arg1,arg2,arg3) {}; - TQDataBrowserJBridge(TQWidget* arg1,const char* arg2) : TQDataBrowser(arg1,arg2) {}; - TQDataBrowserJBridge(TQWidget* arg1) : TQDataBrowser(arg1) {}; - TQDataBrowserJBridge() : TQDataBrowser() {}; - void public_refresh() { - TQDataBrowser::refresh(); - return; - } - void public_insert() { - TQDataBrowser::insert(); - return; - } - void public_update() { - TQDataBrowser::update(); - return; - } - void public_del() { - TQDataBrowser::del(); - return; - } - void public_first() { - TQDataBrowser::first(); - return; - } - void public_last() { - TQDataBrowser::last(); - return; - } - void public_next() { - TQDataBrowser::next(); - return; - } - void public_prev() { - TQDataBrowser::prev(); - return; - } - void public_readFields() { - TQDataBrowser::readFields(); - return; - } - void public_writeFields() { - TQDataBrowser::writeFields(); - return; - } - void public_clearValues() { - TQDataBrowser::clearValues(); - return; - } - bool protected_insertCurrent() { - return (bool) TQDataBrowser::insertCurrent(); - } - bool protected_updateCurrent() { - return (bool) TQDataBrowser::updateCurrent(); - } - bool protected_deleteCurrent() { - return (bool) TQDataBrowser::deleteCurrent(); - } - bool protected_currentEdited() { - return (bool) TQDataBrowser::currentEdited(); - } - TQSql::Confirm protected_confirmEdit(TQSql::Op arg1) { - return (TQSql::Confirm) TQDataBrowser::confirmEdit(arg1); - } - TQSql::Confirm protected_confirmCancel(TQSql::Op arg1) { - return (TQSql::Confirm) TQDataBrowser::confirmCancel(arg1); - } - void protected_handleError(const TQSqlError& arg1) { - TQDataBrowser::handleError(arg1); - return; - } - ~TQDataBrowserJBridge() {QtSupport::qtKeyDeleted(this);} - void writeFields() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","writeFields")) { - TQDataBrowser::writeFields(); - } - 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; - } - bool currentEdited() { - return QtSupport::booleanDelegate(this,"currentEdited"); - } - void del() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","del")) { - TQDataBrowser::del(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","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.qt.TQDataBrowser","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.qt.TQDataBrowser","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.qt.TQDataBrowser","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 last() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","last")) { - TQDataBrowser::last(); - } - return; - } - void update() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","update")) { - TQDataBrowser::update(); - } - return; - } - void next() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","next")) { - TQDataBrowser::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.qt.TQDataBrowser","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void readFields() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","readFields")) { - TQDataBrowser::readFields(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","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 prev() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","prev")) { - TQDataBrowser::prev(); - } - 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; - } - bool updateCurrent() { - return QtSupport::booleanDelegate(this,"updateCurrent"); - } - 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.qt.TQDataBrowser","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","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 insert() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","insert")) { - TQDataBrowser::insert(); - } - 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.qt.TQDataBrowser","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 clearValues() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","clearValues")) { - TQDataBrowser::clearValues(); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - bool deleteCurrent() { - return QtSupport::booleanDelegate(this,"deleteCurrent"); - } - void refresh() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","refresh")) { - TQDataBrowser::refresh(); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void handleError(const TQSqlError& arg1) { - if (!QtSupport::eventDelegate(this,"handleError",(void*)&arg1,"org.kde.qt.TQSqlError")) { - TQDataBrowser::handleError(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void setForm(TQSqlForm* arg1) { - if (!QtSupport::eventDelegate(this,"setForm",(void*)arg1,"org.kde.qt.TQSqlForm")) { - TQDataBrowser::setForm(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.qt.TQDataBrowser",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - bool insertCurrent() { - return QtSupport::booleanDelegate(this,"insertCurrent"); - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void first() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","first")) { - TQDataBrowser::first(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDataBrowser_autoEdit(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDataBrowser*) QtSupport::getQt(env, obj))->autoEdit(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDataBrowser_boundaryChecking(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDataBrowser*) QtSupport::getQt(env, obj))->boundaryChecking(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDataBrowser_boundary(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDataBrowser*) QtSupport::getQt(env, obj))->boundary(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDataBrowser_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQDataBrowser*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataBrowser_clearValues(JNIEnv* env, jobject obj) -{ - ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_clearValues(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDataBrowser_confirmCancel(JNIEnv* env, jobject obj, jint m) -{ - jint xret = (jint) ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->protected_confirmCancel((TQSql::Op) m); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDataBrowser_confirmCancels(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDataBrowser*) QtSupport::getQt(env, obj))->confirmCancels(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDataBrowser_confirmDelete(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDataBrowser*) QtSupport::getQt(env, obj))->confirmDelete(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDataBrowser_confirmEdit(JNIEnv* env, jobject obj, jint m) -{ - jint xret = (jint) ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->protected_confirmEdit((TQSql::Op) m); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDataBrowser_confirmEdits(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDataBrowser*) QtSupport::getQt(env, obj))->confirmEdits(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDataBrowser_confirmInsert(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDataBrowser*) QtSupport::getQt(env, obj))->confirmInsert(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDataBrowser_confirmUpdate(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDataBrowser*) QtSupport::getQt(env, obj))->confirmUpdate(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDataBrowser_currentEdited(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->protected_currentEdited(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataBrowser_del(JNIEnv* env, jobject obj) -{ - ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_del(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDataBrowser_deleteCurrent(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->protected_deleteCurrent(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataBrowser_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QDataBrowser_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDataBrowser_filter(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQDataBrowser*) QtSupport::getQt(env, obj))->filter(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataBrowser_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQDataBrowser*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQDataBrowser*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataBrowser_first(JNIEnv* env, jobject obj) -{ - ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_first(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDataBrowser_form(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDataBrowser*) QtSupport::getQt(env, obj))->form(), "org.kde.qt.TQSqlForm"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataBrowser_handleError(JNIEnv* env, jobject obj, jobject error) -{ - ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->protected_handleError((const TQSqlError&)*(const TQSqlError*) QtSupport::getQt(env, error)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDataBrowser_insertCurrent(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->protected_insertCurrent(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataBrowser_insert(JNIEnv* env, jobject obj) -{ - ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_insert(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDataBrowser_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDataBrowser_isReadOnly(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDataBrowser*) QtSupport::getQt(env, obj))->isReadOnly(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataBrowser_last(JNIEnv* env, jobject obj) -{ - ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_last(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDataBrowser_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDataBrowser*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataBrowser_newTQDataBrowser__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDataBrowserJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataBrowser_newTQDataBrowser__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDataBrowserJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataBrowser_newTQDataBrowser__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 TQDataBrowserJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataBrowser_newTQDataBrowser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint fl) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDataBrowserJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) fl)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataBrowser_next(JNIEnv* env, jobject obj) -{ - ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_next(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataBrowser_prev(JNIEnv* env, jobject obj) -{ - ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_prev(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataBrowser_readFields(JNIEnv* env, jobject obj) -{ - ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_readFields(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataBrowser_refresh(JNIEnv* env, jobject obj) -{ - ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_refresh(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDataBrowser_seek__I(JNIEnv* env, jobject obj, jint i) -{ - jboolean xret = (jboolean) ((TQDataBrowser*) QtSupport::getQt(env, obj))->seek((int) i); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDataBrowser_seek__IZ(JNIEnv* env, jobject obj, jint i, jboolean relative) -{ - jboolean xret = (jboolean) ((TQDataBrowser*) QtSupport::getQt(env, obj))->seek((int) i, (bool) relative); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataBrowser_setAutoEdit(JNIEnv* env, jobject obj, jboolean autoEdit) -{ - ((TQDataBrowser*) QtSupport::getQt(env, obj))->setAutoEdit((bool) autoEdit); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataBrowser_setBoundaryChecking(JNIEnv* env, jobject obj, jboolean active) -{ - ((TQDataBrowser*) QtSupport::getQt(env, obj))->setBoundaryChecking((bool) active); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataBrowser_setConfirmCancels(JNIEnv* env, jobject obj, jboolean confirm) -{ - ((TQDataBrowser*) QtSupport::getQt(env, obj))->setConfirmCancels((bool) confirm); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataBrowser_setConfirmDelete(JNIEnv* env, jobject obj, jboolean confirm) -{ - ((TQDataBrowser*) QtSupport::getQt(env, obj))->setConfirmDelete((bool) confirm); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataBrowser_setConfirmEdits(JNIEnv* env, jobject obj, jboolean confirm) -{ - ((TQDataBrowser*) QtSupport::getQt(env, obj))->setConfirmEdits((bool) confirm); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataBrowser_setConfirmInsert(JNIEnv* env, jobject obj, jboolean confirm) -{ - ((TQDataBrowser*) QtSupport::getQt(env, obj))->setConfirmInsert((bool) confirm); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataBrowser_setConfirmUpdate(JNIEnv* env, jobject obj, jboolean confirm) -{ - ((TQDataBrowser*) QtSupport::getQt(env, obj))->setConfirmUpdate((bool) confirm); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataBrowser_setFilter(JNIEnv* env, jobject obj, jstring filter) -{ -static TQString* _qstring_filter = 0; - ((TQDataBrowser*) QtSupport::getQt(env, obj))->setFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataBrowser_setForm(JNIEnv* env, jobject obj, jobject form) -{ - ((TQDataBrowser*) QtSupport::getQt(env, obj))->setForm((TQSqlForm*) QtSupport::getQt(env, form)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataBrowser_setReadOnly(JNIEnv* env, jobject obj, jboolean active) -{ - ((TQDataBrowser*) QtSupport::getQt(env, obj))->setReadOnly((bool) active); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataBrowser_setSort__Lorg_kde_qt_QSqlIndex_2(JNIEnv* env, jobject obj, jobject sort) -{ - ((TQDataBrowser*) QtSupport::getQt(env, obj))->setSort((const TQSqlIndex&)*(const TQSqlIndex*) QtSupport::getQt(env, sort)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataBrowser_setSort___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray sort) -{ -static TQStringList* _qlist_sort = 0; - ((TQDataBrowser*) QtSupport::getQt(env, obj))->setSort((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, sort, &_qlist_sort)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataBrowser_setSqlCursor__Lorg_kde_qt_QSqlCursor_2(JNIEnv* env, jobject obj, jobject cursor) -{ - ((TQDataBrowser*) QtSupport::getQt(env, obj))->setSqlCursor((TQSqlCursor*) QtSupport::getQt(env, cursor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataBrowser_setSqlCursor__Lorg_kde_qt_QSqlCursor_2Z(JNIEnv* env, jobject obj, jobject cursor, jboolean autoDelete) -{ - ((TQDataBrowser*) QtSupport::getQt(env, obj))->setSqlCursor((TQSqlCursor*) QtSupport::getQt(env, cursor), (bool) autoDelete); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDataBrowser_sort(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TQDataBrowser*) QtSupport::getQt(env, obj))->sort(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDataBrowser_sqlCursor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDataBrowser*) QtSupport::getQt(env, obj))->sqlCursor(), "org.kde.qt.TQSqlCursor"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDataBrowser_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQDataBrowserJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDataBrowser_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQDataBrowserJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataBrowser_updateBoundary(JNIEnv* env, jobject obj) -{ - ((TQDataBrowser*) QtSupport::getQt(env, obj))->updateBoundary(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDataBrowser_updateCurrent(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->protected_updateCurrent(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataBrowser_update(JNIEnv* env, jobject obj) -{ - ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_update(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataBrowser_writeFields(JNIEnv* env, jobject obj) -{ - ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_writeFields(); - return; -} - diff --git a/qtjava/javalib/qtjava/QDataBrowser.h b/qtjava/javalib/qtjava/QDataBrowser.h deleted file mode 100644 index c7bc63f9..00000000 --- a/qtjava/javalib/qtjava/QDataBrowser.h +++ /dev/null @@ -1,77 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDataBrowser__ -#define __org_kde_qt_QDataBrowser__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataBrowser_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataBrowser_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_newTQDataBrowser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_newTQDataBrowser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_newTQDataBrowser__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_newTQDataBrowser__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDataBrowser_boundary (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_setBoundaryChecking (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataBrowser_boundaryChecking (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_setSort__Lorg_kde_qt_QSqlIndex_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_setSort___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataBrowser_sort (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_setFilter (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataBrowser_filter (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_setSqlCursor__Lorg_kde_qt_QSqlCursor_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_setSqlCursor__Lorg_kde_qt_QSqlCursor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataBrowser_sqlCursor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_setForm (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataBrowser_form (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_setConfirmEdits (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_setConfirmInsert (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_setConfirmUpdate (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_setConfirmDelete (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_setConfirmCancels (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataBrowser_confirmEdits (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataBrowser_confirmInsert (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataBrowser_confirmUpdate (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataBrowser_confirmDelete (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataBrowser_confirmCancels (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_setReadOnly (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataBrowser_isReadOnly (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_setAutoEdit (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataBrowser_autoEdit (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataBrowser_seek__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataBrowser_seek__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_refresh (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_insert (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_update (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_del (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_first (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_last (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_next (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_prev (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_readFields (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_writeFields (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_clearValues (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_updateBoundary (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataBrowser_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataBrowser_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataBrowser_insertCurrent (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataBrowser_updateCurrent (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataBrowser_deleteCurrent (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataBrowser_currentEdited (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDataBrowser_confirmEdit (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDataBrowser_confirmCancel (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_handleError (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataBrowser_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDataBrowser__ */ diff --git a/qtjava/javalib/qtjava/QDataPump.cpp b/qtjava/javalib/qtjava/QDataPump.cpp deleted file mode 100644 index 325c84cc..00000000 --- a/qtjava/javalib/qtjava/QDataPump.cpp +++ /dev/null @@ -1,120 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQDataPumpJBridge : public TQDataPump -{ -public: - TQDataPumpJBridge(TQDataSource* arg1,TQDataSink* arg2) : TQDataPump(arg1,arg2) {}; - ~TQDataPumpJBridge() {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.qt.TQDataPump",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDataPump_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQDataPump*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataPump_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QDataPump_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataPump_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQDataPump*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQDataPump*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDataPump_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDataPump_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDataPump*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataPump_newTQDataPump(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDataPumpJBridge((TQDataSource*) QtSupport::getQt(env, arg1), (TQDataSink*) QtSupport::getQt(env, arg2))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDataPump_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQDataPumpJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDataPump_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQDataPumpJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QDataPump.h b/qtjava/javalib/qtjava/QDataPump.h deleted file mode 100644 index a64ba76f..00000000 --- a/qtjava/javalib/qtjava/QDataPump.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDataPump__ -#define __org_kde_qt_QDataPump__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataPump_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataPump_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataPump_newTQDataPump (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataPump_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataPump_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataPump_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataPump_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataPump_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDataPump__ */ diff --git a/qtjava/javalib/qtjava/QDataSink.cpp b/qtjava/javalib/qtjava/QDataSink.cpp deleted file mode 100644 index d8eca7a4..00000000 --- a/qtjava/javalib/qtjava/QDataSink.cpp +++ /dev/null @@ -1,35 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataSink_eof(JNIEnv* env, jobject obj) -{ - ((TQDataSink*) QtSupport::getQt(env, obj))->eof(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataSink_maybeReady(JNIEnv* env, jobject obj) -{ - ((TQDataSink*) QtSupport::getQt(env, obj))->maybeReady(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDataSink_readyToReceive(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDataSink*) QtSupport::getQt(env, obj))->readyToReceive(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataSink_receive(JNIEnv* env, jobject obj, jcharArray arg1, jint count) -{ -static TQByteArray* _qbytearray_arg1 = 0; - ((TQDataSink*) QtSupport::getQt(env, obj))->receive((const uchar*) QtSupport::toUcharArray(env, arg1, &_qbytearray_arg1), (int) count); - return; -} - diff --git a/qtjava/javalib/qtjava/QDataSink.h b/qtjava/javalib/qtjava/QDataSink.h deleted file mode 100644 index fb790663..00000000 --- a/qtjava/javalib/qtjava/QDataSink.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDataSink__ -#define __org_kde_qt_QDataSink__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDataSink_readyToReceive (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataSink_receive (JNIEnv *env, jobject, jcharArray, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataSink_eof (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataSink_maybeReady (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDataSink__ */ diff --git a/qtjava/javalib/qtjava/QDataSource.cpp b/qtjava/javalib/qtjava/QDataSource.cpp deleted file mode 100644 index c223a85b..00000000 --- a/qtjava/javalib/qtjava/QDataSource.cpp +++ /dev/null @@ -1,48 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataSource_enableRewind(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQDataSource*) QtSupport::getQt(env, obj))->enableRewind((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataSource_maybeReady(JNIEnv* env, jobject obj) -{ - ((TQDataSource*) QtSupport::getQt(env, obj))->maybeReady(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDataSource_readyToSend(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDataSource*) QtSupport::getQt(env, obj))->readyToSend(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataSource_rewind(JNIEnv* env, jobject obj) -{ - ((TQDataSource*) QtSupport::getQt(env, obj))->rewind(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDataSource_rewindable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDataSource*) QtSupport::getQt(env, obj))->rewindable(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataSource_sendTo(JNIEnv* env, jobject obj, jobject arg1, jint count) -{ - ((TQDataSource*) QtSupport::getQt(env, obj))->sendTo((TQDataSink*) QtSupport::getQt(env, arg1), (int) count); - return; -} - diff --git a/qtjava/javalib/qtjava/QDataSource.h b/qtjava/javalib/qtjava/QDataSource.h deleted file mode 100644 index 43bc1a45..00000000 --- a/qtjava/javalib/qtjava/QDataSource.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDataSource__ -#define __org_kde_qt_QDataSource__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDataSource_readyToSend (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataSource_sendTo (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataSource_maybeReady (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataSource_rewindable (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataSource_enableRewind (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataSource_rewind (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDataSource__ */ diff --git a/qtjava/javalib/qtjava/QDataStream.cpp b/qtjava/javalib/qtjava/QDataStream.cpp deleted file mode 100644 index 1775dec1..00000000 --- a/qtjava/javalib/qtjava/QDataStream.cpp +++ /dev/null @@ -1,280 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQDataStreamJBridge : public TQDataStream -{ -public: - TQDataStreamJBridge() : TQDataStream() {}; - TQDataStreamJBridge(TQIODevice* arg1) : TQDataStream(arg1) {}; - TQDataStreamJBridge(TQByteArray arg1,int arg2) : TQDataStream(arg1,arg2) {}; - ~TQDataStreamJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDataStream_atEnd(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDataStream*) QtSupport::getQt(env, obj))->atEnd(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDataStream_byteOrder(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDataStream*) QtSupport::getQt(env, obj))->byteOrder(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDataStream_device(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDataStream*) QtSupport::getQt(env, obj))->device(), "org.kde.qt.TQIODeviceInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataStream_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QDataStream_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDataStream_eof(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDataStream*) QtSupport::getQt(env, obj))->eof(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataStream_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDataStream*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDataStream_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDataStream_isPrintableData(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDataStream*) QtSupport::getQt(env, obj))->isPrintableData(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataStream_newTQDataStream__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDataStreamJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataStream_newTQDataStream__Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDataStreamJBridge((TQIODevice*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataStream_newTQDataStream___3BI(JNIEnv* env, jobject obj, jbyteArray arg1, jint mode) -{ -static TQByteArray* _qbyteArray_arg1 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDataStreamJBridge((TQByteArray)*(TQByteArray*) QtSupport::toTQByteArray(env, arg1, &_qbyteArray_arg1), (int) mode)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDataStream_op_1read__C(JNIEnv* env, jobject obj, jchar i) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &((TQDataStream*) QtSupport::getQt(env, obj))->operator>>((Q_INT8&) i), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDataStream_op_1read__D(JNIEnv* env, jobject obj, jdouble f) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &((TQDataStream*) QtSupport::getQt(env, obj))->operator>>((double&) f), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDataStream_op_1read__F(JNIEnv* env, jobject obj, jfloat f) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &((TQDataStream*) QtSupport::getQt(env, obj))->operator>>((float&) f), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDataStream_op_1read__I(JNIEnv* env, jobject obj, jint i) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &((TQDataStream*) QtSupport::getQt(env, obj))->operator>>((Q_INT32&) i), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDataStream_op_1read__J(JNIEnv* env, jobject obj, jlong i) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &((TQDataStream*) QtSupport::getQt(env, obj))->operator>>((Q_LONG&) i), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDataStream_op_1read__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring str) -{ -static TQCString* _qstring_str = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &((TQDataStream*) QtSupport::getQt(env, obj))->operator>>((char*&) *(char*)QtSupport::toCharString(env, str, &_qstring_str)), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDataStream_op_1read__S(JNIEnv* env, jobject obj, jshort i) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &((TQDataStream*) QtSupport::getQt(env, obj))->operator>>((Q_UINT8&) i), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDataStream_op_1write__C(JNIEnv* env, jobject obj, jchar i) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &((TQDataStream*) QtSupport::getQt(env, obj))->operator<<((Q_INT8) i), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDataStream_op_1write__D(JNIEnv* env, jobject obj, jdouble f) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &((TQDataStream*) QtSupport::getQt(env, obj))->operator<<((double) f), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDataStream_op_1write__F(JNIEnv* env, jobject obj, jfloat f) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &((TQDataStream*) QtSupport::getQt(env, obj))->operator<<((float) f), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDataStream_op_1write__I(JNIEnv* env, jobject obj, jint i) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &((TQDataStream*) QtSupport::getQt(env, obj))->operator<<((Q_INT32) i), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDataStream_op_1write__J(JNIEnv* env, jobject obj, jlong i) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &((TQDataStream*) QtSupport::getQt(env, obj))->operator<<((Q_INT64) i), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDataStream_op_1write__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring str) -{ -static TQCString* _qstring_str = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &((TQDataStream*) QtSupport::getQt(env, obj))->operator<<((const char*) QtSupport::toCharString(env, str, &_qstring_str)), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDataStream_op_1write__S(JNIEnv* env, jobject obj, jshort i) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &((TQDataStream*) QtSupport::getQt(env, obj))->operator<<((Q_UINT8) i), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDataStream_readBytes(JNIEnv* env, jobject obj, jstring arg1, jint len) -{ -static TQCString* _qstring_arg1 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &((TQDataStream*) QtSupport::getQt(env, obj))->readBytes((char*&) *(char*)QtSupport::toCharString(env, arg1, &_qstring_arg1), (uint&) len), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDataStream_readRawBytes(JNIEnv* env, jobject obj, jstring arg1, jint len) -{ -static TQCString* _qstring_arg1 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &((TQDataStream*) QtSupport::getQt(env, obj))->readRawBytes((char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (uint) len), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataStream_setByteOrder(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQDataStream*) QtSupport::getQt(env, obj))->setByteOrder((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataStream_setDevice(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQDataStream*) QtSupport::getQt(env, obj))->setDevice((TQIODevice*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataStream_setPrintableData(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQDataStream*) QtSupport::getQt(env, obj))->setPrintableData((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataStream_setVersion(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQDataStream*) QtSupport::getQt(env, obj))->setVersion((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataStream_unsetDevice(JNIEnv* env, jobject obj) -{ - ((TQDataStream*) QtSupport::getQt(env, obj))->unsetDevice(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDataStream_version(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDataStream*) QtSupport::getQt(env, obj))->version(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDataStream_writeBytes(JNIEnv* env, jobject obj, jstring arg1, jint len) -{ -static TQCString* _qstring_arg1 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &((TQDataStream*) QtSupport::getQt(env, obj))->writeBytes((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (uint) len), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDataStream_writeRawBytes(JNIEnv* env, jobject obj, jstring arg1, jint len) -{ -static TQCString* _qstring_arg1 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &((TQDataStream*) QtSupport::getQt(env, obj))->writeRawBytes((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (uint) len), "org.kde.qt.TQDataStream"); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QDataStream.h b/qtjava/javalib/qtjava/QDataStream.h deleted file mode 100644 index fcb96ead..00000000 --- a/qtjava/javalib/qtjava/QDataStream.h +++ /dev/null @@ -1,53 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDataStream__ -#define __org_kde_qt_QDataStream__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataStream_newTQDataStream__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataStream_newTQDataStream__Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataStream_newTQDataStream___3BI (JNIEnv *env, jobject, jbyteArray, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_device (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataStream_setDevice (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataStream_unsetDevice (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataStream_atEnd (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataStream_eof (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDataStream_byteOrder (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataStream_setByteOrder (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataStream_isPrintableData (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataStream_setPrintableData (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDataStream_version (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataStream_setVersion (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_op_1read__C (JNIEnv *env, jobject, jchar); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_op_1read__S (JNIEnv *env, jobject, jshort); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_op_1read__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_op_1read__J (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_op_1read__F (JNIEnv *env, jobject, jfloat); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_op_1read__D (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_op_1read__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_op_1write__C (JNIEnv *env, jobject, jchar); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_op_1write__S (JNIEnv *env, jobject, jshort); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_op_1write__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_op_1write__J (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_op_1write__F (JNIEnv *env, jobject, jfloat); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_op_1write__D (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_op_1write__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_readBytes (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_readRawBytes (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_writeBytes (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_writeRawBytes (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataStream_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataStream_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataStream_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDataStream__ */ diff --git a/qtjava/javalib/qtjava/QDataTable.cpp b/qtjava/javalib/qtjava/QDataTable.cpp deleted file mode 100644 index f5a66410..00000000 --- a/qtjava/javalib/qtjava/QDataTable.cpp +++ /dev/null @@ -1,1494 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQDataTableJBridge : public TQDataTable -{ -public: - TQDataTableJBridge(TQWidget* arg1,const char* arg2) : TQDataTable(arg1,arg2) {}; - TQDataTableJBridge(TQWidget* arg1) : TQDataTable(arg1) {}; - TQDataTableJBridge() : TQDataTable() {}; - TQDataTableJBridge(TQSqlCursor* arg1,bool arg2,TQWidget* arg3,const char* arg4) : TQDataTable(arg1,arg2,arg3,arg4) {}; - TQDataTableJBridge(TQSqlCursor* arg1,bool arg2,TQWidget* arg3) : TQDataTable(arg1,arg2,arg3) {}; - TQDataTableJBridge(TQSqlCursor* arg1,bool arg2) : TQDataTable(arg1,arg2) {}; - TQDataTableJBridge(TQSqlCursor* arg1) : TQDataTable(arg1) {}; - void public_setSqlCursor() { - TQDataTable::setSqlCursor(); - return; - } - void public_refresh() { - TQDataTable::refresh(); - return; - } - bool protected_insertCurrent() { - return (bool) TQDataTable::insertCurrent(); - } - bool protected_updateCurrent() { - return (bool) TQDataTable::updateCurrent(); - } - bool protected_deleteCurrent() { - return (bool) TQDataTable::deleteCurrent(); - } - TQSql::Confirm protected_confirmEdit(TQSql::Op arg1) { - return (TQSql::Confirm) TQDataTable::confirmEdit(arg1); - } - TQSql::Confirm protected_confirmCancel(TQSql::Op arg1) { - return (TQSql::Confirm) TQDataTable::confirmCancel(arg1); - } - void protected_handleError(const TQSqlError& arg1) { - TQDataTable::handleError(arg1); - return; - } - bool protected_beginInsert() { - return (bool) TQDataTable::beginInsert(); - } - TQWidget* protected_beginUpdate(int arg1,int arg2,bool arg3) { - return (TQWidget*) TQDataTable::beginUpdate(arg1,arg2,arg3); - } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) TQDataTable::eventFilter(arg1,arg2); - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQDataTable::keyPressEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQDataTable::resizeEvent(arg1); - return; - } - void protected_contentsMousePressEvent(TQMouseEvent* arg1) { - TQDataTable::contentsMousePressEvent(arg1); - return; - } - void protected_contentsContextMenuEvent(TQContextMenuEvent* arg1) { - TQDataTable::contentsContextMenuEvent(arg1); - return; - } - void protected_endEdit(int arg1,int arg2,bool arg3,bool arg4) { - TQDataTable::endEdit(arg1,arg2,arg3,arg4); - return; - } - TQWidget* protected_createEditor(int arg1,int arg2,bool arg3) { - return (TQWidget*) TQDataTable::createEditor(arg1,arg2,arg3); - } - void protected_activateNextCell() { - TQDataTable::activateNextCell(); - return; - } - int protected_indexOf(uint arg1) { - return (int) TQDataTable::indexOf(arg1); - } - void protected_reset() { - TQDataTable::reset(); - return; - } - void protected_setSize(TQSqlCursor* arg1) { - TQDataTable::setSize(arg1); - return; - } - void protected_repaintCell(int arg1,int arg2) { - TQDataTable::repaintCell(arg1,arg2); - return; - } - void protected_paintCell(TQPainter* arg1,int arg2,int arg3,const TQRect& arg4,bool arg5,const TQColorGroup& arg6) { - TQDataTable::paintCell(arg1,arg2,arg3,arg4,arg5,arg6); - return; - } - void protected_paintField(TQPainter* arg1,const TQSqlField* arg2,const TQRect& arg3,bool arg4) { - TQDataTable::paintField(arg1,arg2,arg3,arg4); - return; - } - void protected_drawContents(TQPainter* arg1,int arg2,int arg3,int arg4,int arg5) { - TQDataTable::drawContents(arg1,arg2,arg3,arg4,arg5); - return; - } - int protected_fieldAlignment(const TQSqlField* arg1) { - return (int) TQDataTable::fieldAlignment(arg1); - } - void protected_columnClicked(int arg1) { - TQDataTable::columnClicked(arg1); - return; - } - void protected_resizeData(int arg1) { - TQDataTable::resizeData(arg1); - return; - } - TQTableItem* protected_item(int arg1,int arg2) { - return (TQTableItem*) TQDataTable::item(arg1,arg2); - } - void protected_setItem(int arg1,int arg2,TQTableItem* arg3) { - TQDataTable::setItem(arg1,arg2,arg3); - return; - } - void protected_clearCell(int arg1,int arg2) { - TQDataTable::clearCell(arg1,arg2); - return; - } - void protected_setPixmap(int arg1,int arg2,const TQPixmap& arg3) { - TQDataTable::setPixmap(arg1,arg2,arg3); - return; - } - void protected_takeItem(TQTableItem* arg1) { - TQDataTable::takeItem(arg1); - return; - } - ~TQDataTableJBridge() {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")) { - TQDataTable::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")) { - TQTable::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")) { - TQTable::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataTable","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")) { - TQTable::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataTable","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.qt.TQDataTable","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")) { - TQTable::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")) { - TQTable::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.qt.TQDataTable","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQTable::contentsDropEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataTable","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataTable","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")) { - TQTable::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")) { - TQDataTable::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")) { - TQTable::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.qt.TQDataTable","startDrag")) { - TQTable::startDrag(); - } - return; - } - bool updateCurrent() { - return QtSupport::booleanDelegate(this,"updateCurrent"); - } - 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")) { - TQTable::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")) { - TQTable::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")) { - TQDataTable::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataTable","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataTable","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; - } - bool beginInsert() { - return QtSupport::booleanDelegate(this,"beginInsert"); - } - 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.qt.TQDataTable","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")) { - TQTable::focusInEvent(arg1); - } - return; - } - bool deleteCurrent() { - return QtSupport::booleanDelegate(this,"deleteCurrent"); - } - void refresh() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataTable","refresh")) { - TQDataTable::refresh(); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void handleError(const TQSqlError& arg1) { - if (!QtSupport::eventDelegate(this,"handleError",(void*)&arg1,"org.kde.qt.TQSqlError")) { - TQDataTable::handleError(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")) { - TQTable::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")) { - TQDataTable::contentsContextMenuEvent(arg1); - } - return; - } - bool insertCurrent() { - return QtSupport::booleanDelegate(this,"insertCurrent"); - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void setSort(const TQSqlIndex& arg1) { - if (!QtSupport::eventDelegate(this,"setSort",(void*)&arg1,"org.kde.qt.TQSqlIndex")) { - TQDataTable::setSort(arg1); - } - return; - } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataTable","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_activateNextCell(JNIEnv* env, jobject obj) -{ - ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_activateNextCell(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_addColumn__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fieldName) -{ -static TQString* _qstring_fieldName = 0; - ((TQDataTable*) QtSupport::getQt(env, obj))->addColumn((const TQString&)*(TQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_addColumn__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fieldName, jstring label) -{ -static TQString* _qstring_fieldName = 0; -static TQString* _qstring_label = 0; - ((TQDataTable*) QtSupport::getQt(env, obj))->addColumn((const TQString&)*(TQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_addColumn__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring fieldName, jstring label, jint width) -{ -static TQString* _qstring_fieldName = 0; -static TQString* _qstring_label = 0; - ((TQDataTable*) QtSupport::getQt(env, obj))->addColumn((const TQString&)*(TQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) width); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_addColumn__Ljava_lang_String_2Ljava_lang_String_2ILorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jstring fieldName, jstring label, jint width, jobject iconset) -{ -static TQString* _qstring_fieldName = 0; -static TQString* _qstring_label = 0; - ((TQDataTable*) QtSupport::getQt(env, obj))->addColumn((const TQString&)*(TQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) width, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_adjustColumn(JNIEnv* env, jobject obj, jint col) -{ - ((TQDataTable*) QtSupport::getQt(env, obj))->adjustColumn((int) col); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDataTable_autoDelete(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDataTable*) QtSupport::getQt(env, obj))->autoDelete(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDataTable_autoEdit(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDataTable*) QtSupport::getQt(env, obj))->autoEdit(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDataTable_beginInsert(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_beginInsert(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDataTable_beginUpdate(JNIEnv* env, jobject obj, jint row, jint col, jboolean replace) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_beginUpdate((int) row, (int) col, (bool) replace), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDataTable_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQDataTable*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_clearCell(JNIEnv* env, jobject obj, jint row, jint col) -{ - ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_clearCell((int) row, (int) col); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_columnClicked(JNIEnv* env, jobject obj, jint col) -{ - ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_columnClicked((int) col); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDataTable_confirmCancel(JNIEnv* env, jobject obj, jint m) -{ - jint xret = (jint) ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_confirmCancel((TQSql::Op) m); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDataTable_confirmCancels(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDataTable*) QtSupport::getQt(env, obj))->confirmCancels(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDataTable_confirmDelete(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDataTable*) QtSupport::getQt(env, obj))->confirmDelete(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDataTable_confirmEdit(JNIEnv* env, jobject obj, jint m) -{ - jint xret = (jint) ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_confirmEdit((TQSql::Op) m); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDataTable_confirmEdits(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDataTable*) QtSupport::getQt(env, obj))->confirmEdits(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDataTable_confirmInsert(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDataTable*) QtSupport::getQt(env, obj))->confirmInsert(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDataTable_confirmUpdate(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDataTable*) QtSupport::getQt(env, obj))->confirmUpdate(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_contentsContextMenuEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDataTable_createEditor(JNIEnv* env, jobject obj, jint row, jint col, jboolean initFromCell) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_createEditor((int) row, (int) col, (bool) initFromCell), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDataTable_currentRecord(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDataTable*) QtSupport::getQt(env, obj))->currentRecord(), "org.kde.qt.TQSqlRecord"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDataTable_dateFormat(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDataTable*) QtSupport::getQt(env, obj))->dateFormat(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDataTable_deleteCurrent(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_deleteCurrent(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QDataTable_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_drawContents(JNIEnv* env, jobject obj, jobject p, jint cx, jint cy, jint cw, jint ch) -{ - ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, p), (int) cx, (int) cy, (int) cw, (int) ch); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_endEdit(JNIEnv* env, jobject obj, jint row, jint col, jboolean accept, jboolean replace) -{ - ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_endEdit((int) row, (int) col, (bool) accept, (bool) replace); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDataTable_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject e) -{ - jboolean xret = (jboolean) ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDataTable_falseText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQDataTable*) QtSupport::getQt(env, obj))->falseText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDataTable_fieldAlignment(JNIEnv* env, jobject obj, jobject field) -{ - jint xret = (jint) ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_fieldAlignment((const TQSqlField*) QtSupport::getQt(env, field)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDataTable_filter(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQDataTable*) QtSupport::getQt(env, obj))->filter(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQDataTable*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQDataTable*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDataTable_findBuffer__Lorg_kde_qt_QSqlIndex_2(JNIEnv* env, jobject obj, jobject idx) -{ - jboolean xret = (jboolean) ((TQDataTable*) QtSupport::getQt(env, obj))->findBuffer((const TQSqlIndex&)*(const TQSqlIndex*) QtSupport::getQt(env, idx)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDataTable_findBuffer__Lorg_kde_qt_QSqlIndex_2I(JNIEnv* env, jobject obj, jobject idx, jint atHint) -{ - jboolean xret = (jboolean) ((TQDataTable*) QtSupport::getQt(env, obj))->findBuffer((const TQSqlIndex&)*(const TQSqlIndex*) QtSupport::getQt(env, idx), (int) atHint); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_find(JNIEnv* env, jobject obj, jstring str, jboolean caseSensitive, jboolean backwards) -{ -static TQString* _qstring_str = 0; - ((TQDataTable*) QtSupport::getQt(env, obj))->find((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (bool) caseSensitive, (bool) backwards); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_handleError(JNIEnv* env, jobject obj, jobject e) -{ - ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_handleError((const TQSqlError&)*(const TQSqlError*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_hideColumn(JNIEnv* env, jobject obj, jint col) -{ - ((TQDataTable*) QtSupport::getQt(env, obj))->hideColumn((int) col); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDataTable_indexOf(JNIEnv* env, jobject obj, jint i) -{ - jint xret = (jint) ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_indexOf((uint) i); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDataTable_insertCurrent(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_insertCurrent(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_installEditorFactory(JNIEnv* env, jobject obj, jobject f) -{ - ((TQDataTable*) QtSupport::getQt(env, obj))->installEditorFactory((TQSqlEditorFactory*) QtSupport::getQt(env, f)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_installPropertyMap(JNIEnv* env, jobject obj, jobject m) -{ - ((TQDataTable*) QtSupport::getQt(env, obj))->installPropertyMap((TQSqlPropertyMap*) QtSupport::getQt(env, m)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDataTable_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDataTable_item(JNIEnv* env, jobject obj, jint row, jint col) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_item((int) row, (int) col), "org.kde.qt.TQTableItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDataTable_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDataTable*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_newTQDataTable__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDataTableJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_newTQDataTable__Lorg_kde_qt_QSqlCursor_2(JNIEnv* env, jobject obj, jobject cursor) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDataTableJBridge((TQSqlCursor*) QtSupport::getQt(env, cursor))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_newTQDataTable__Lorg_kde_qt_QSqlCursor_2Z(JNIEnv* env, jobject obj, jobject cursor, jboolean autoPopulate) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDataTableJBridge((TQSqlCursor*) QtSupport::getQt(env, cursor), (bool) autoPopulate)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_newTQDataTable__Lorg_kde_qt_QSqlCursor_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject cursor, jboolean autoPopulate, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDataTableJBridge((TQSqlCursor*) QtSupport::getQt(env, cursor), (bool) autoPopulate, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_newTQDataTable__Lorg_kde_qt_QSqlCursor_2ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject cursor, jboolean autoPopulate, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDataTableJBridge((TQSqlCursor*) QtSupport::getQt(env, cursor), (bool) autoPopulate, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_newTQDataTable__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDataTableJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_newTQDataTable__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 TQDataTableJBridge((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_qt_QDataTable_nullText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQDataTable*) QtSupport::getQt(env, obj))->nullText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDataTable_numCols(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDataTable*) QtSupport::getQt(env, obj))->numCols(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDataTable_numRows(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDataTable*) QtSupport::getQt(env, obj))->numRows(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_paintCell(JNIEnv* env, jobject obj, jobject p, jint row, jint col, jobject cr, jboolean selected, jobject cg) -{ - ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_paintCell((TQPainter*) QtSupport::getQt(env, p), (int) row, (int) col, (const TQRect&)*(const TQRect*) QtSupport::getQt(env, cr), (bool) selected, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_paintField(JNIEnv* env, jobject obj, jobject p, jobject field, jobject cr, jboolean selected) -{ - ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_paintField((TQPainter*) QtSupport::getQt(env, p), (const TQSqlField*) QtSupport::getQt(env, field), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, cr), (bool) selected); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_refresh__(JNIEnv* env, jobject obj) -{ - ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->public_refresh(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_refresh__I(JNIEnv* env, jobject obj, jint mode) -{ - ((TQDataTable*) QtSupport::getQt(env, obj))->refresh((TQDataTable::Refresh) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_removeColumn(JNIEnv* env, jobject obj, jint col) -{ - ((TQDataTable*) QtSupport::getQt(env, obj))->removeColumn((uint) col); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_repaintCell(JNIEnv* env, jobject obj, jint row, jint col) -{ - ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_repaintCell((int) row, (int) col); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_reset(JNIEnv* env, jobject obj) -{ - ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_reset(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_resizeData(JNIEnv* env, jobject obj, jint len) -{ - ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_resizeData((int) len); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_setAutoDelete(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQDataTable*) QtSupport::getQt(env, obj))->setAutoDelete((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_setAutoEdit(JNIEnv* env, jobject obj, jboolean autoEdit) -{ - ((TQDataTable*) QtSupport::getQt(env, obj))->setAutoEdit((bool) autoEdit); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_setColumnStretchable(JNIEnv* env, jobject obj, jint col, jboolean stretch) -{ - ((TQDataTable*) QtSupport::getQt(env, obj))->setColumnStretchable((int) col, (bool) stretch); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_setColumnWidth(JNIEnv* env, jobject obj, jint col, jint w) -{ - ((TQDataTable*) QtSupport::getQt(env, obj))->setColumnWidth((int) col, (int) w); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_setColumn__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint col, jstring fieldName) -{ -static TQString* _qstring_fieldName = 0; - ((TQDataTable*) QtSupport::getQt(env, obj))->setColumn((uint) col, (const TQString&)*(TQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_setColumn__ILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint col, jstring fieldName, jstring label) -{ -static TQString* _qstring_fieldName = 0; -static TQString* _qstring_label = 0; - ((TQDataTable*) QtSupport::getQt(env, obj))->setColumn((uint) col, (const TQString&)*(TQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_setColumn__ILjava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jint col, jstring fieldName, jstring label, jint width) -{ -static TQString* _qstring_fieldName = 0; -static TQString* _qstring_label = 0; - ((TQDataTable*) QtSupport::getQt(env, obj))->setColumn((uint) col, (const TQString&)*(TQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) width); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_setColumn__ILjava_lang_String_2Ljava_lang_String_2ILorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jint col, jstring fieldName, jstring label, jint width, jobject iconset) -{ -static TQString* _qstring_fieldName = 0; -static TQString* _qstring_label = 0; - ((TQDataTable*) QtSupport::getQt(env, obj))->setColumn((uint) col, (const TQString&)*(TQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) width, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_setConfirmCancels(JNIEnv* env, jobject obj, jboolean confirm) -{ - ((TQDataTable*) QtSupport::getQt(env, obj))->setConfirmCancels((bool) confirm); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_setConfirmDelete(JNIEnv* env, jobject obj, jboolean confirm) -{ - ((TQDataTable*) QtSupport::getQt(env, obj))->setConfirmDelete((bool) confirm); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_setConfirmEdits(JNIEnv* env, jobject obj, jboolean confirm) -{ - ((TQDataTable*) QtSupport::getQt(env, obj))->setConfirmEdits((bool) confirm); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_setConfirmInsert(JNIEnv* env, jobject obj, jboolean confirm) -{ - ((TQDataTable*) QtSupport::getQt(env, obj))->setConfirmInsert((bool) confirm); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_setConfirmUpdate(JNIEnv* env, jobject obj, jboolean confirm) -{ - ((TQDataTable*) QtSupport::getQt(env, obj))->setConfirmUpdate((bool) confirm); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_setDateFormat(JNIEnv* env, jobject obj, jint f) -{ - ((TQDataTable*) QtSupport::getQt(env, obj))->setDateFormat((const TQt::DateFormat) f); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_setFalseText(JNIEnv* env, jobject obj, jstring falseText) -{ -static TQString* _qstring_falseText = 0; - ((TQDataTable*) QtSupport::getQt(env, obj))->setFalseText((const TQString&)*(TQString*) QtSupport::toTQString(env, falseText, &_qstring_falseText)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_setFilter(JNIEnv* env, jobject obj, jstring filter) -{ -static TQString* _qstring_filter = 0; - ((TQDataTable*) QtSupport::getQt(env, obj))->setFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_setItem(JNIEnv* env, jobject obj, jint row, jint col, jobject item) -{ - ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_setItem((int) row, (int) col, (TQTableItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_setNullText(JNIEnv* env, jobject obj, jstring nullText) -{ -static TQString* _qstring_nullText = 0; - ((TQDataTable*) QtSupport::getQt(env, obj))->setNullText((const TQString&)*(TQString*) QtSupport::toTQString(env, nullText, &_qstring_nullText)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_setNumCols(JNIEnv* env, jobject obj, jint c) -{ - ((TQDataTable*) QtSupport::getQt(env, obj))->setNumCols((int) c); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_setNumRows(JNIEnv* env, jobject obj, jint r) -{ - ((TQDataTable*) QtSupport::getQt(env, obj))->setNumRows((int) r); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_setPixmap(JNIEnv* env, jobject obj, jint row, jint col, jobject pix) -{ - ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_setPixmap((int) row, (int) col, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_setSize(JNIEnv* env, jobject obj, jobject sql) -{ - ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_setSize((TQSqlCursor*) QtSupport::getQt(env, sql)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_setSort__Lorg_kde_qt_QSqlIndex_2(JNIEnv* env, jobject obj, jobject sort) -{ - ((TQDataTable*) QtSupport::getQt(env, obj))->setSort((const TQSqlIndex&)*(const TQSqlIndex*) QtSupport::getQt(env, sort)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_setSort___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray sort) -{ -static TQStringList* _qlist_sort = 0; - ((TQDataTable*) QtSupport::getQt(env, obj))->setSort((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, sort, &_qlist_sort)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_setSqlCursor__(JNIEnv* env, jobject obj) -{ - ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->public_setSqlCursor(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_setSqlCursor__Lorg_kde_qt_QSqlCursor_2(JNIEnv* env, jobject obj, jobject cursor) -{ - ((TQDataTable*) QtSupport::getQt(env, obj))->setSqlCursor((TQSqlCursor*) QtSupport::getQt(env, cursor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_setSqlCursor__Lorg_kde_qt_QSqlCursor_2Z(JNIEnv* env, jobject obj, jobject cursor, jboolean autoPopulate) -{ - ((TQDataTable*) QtSupport::getQt(env, obj))->setSqlCursor((TQSqlCursor*) QtSupport::getQt(env, cursor), (bool) autoPopulate); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_setSqlCursor__Lorg_kde_qt_QSqlCursor_2ZZ(JNIEnv* env, jobject obj, jobject cursor, jboolean autoPopulate, jboolean autoDelete) -{ - ((TQDataTable*) QtSupport::getQt(env, obj))->setSqlCursor((TQSqlCursor*) QtSupport::getQt(env, cursor), (bool) autoPopulate, (bool) autoDelete); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_setTrueText(JNIEnv* env, jobject obj, jstring trueText) -{ -static TQString* _qstring_trueText = 0; - ((TQDataTable*) QtSupport::getQt(env, obj))->setTrueText((const TQString&)*(TQString*) QtSupport::toTQString(env, trueText, &_qstring_trueText)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_showColumn(JNIEnv* env, jobject obj, jint col) -{ - ((TQDataTable*) QtSupport::getQt(env, obj))->showColumn((int) col); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_sortAscending(JNIEnv* env, jobject obj, jint col) -{ - ((TQDataTable*) QtSupport::getQt(env, obj))->sortAscending((int) col); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_sortColumn__I(JNIEnv* env, jobject obj, jint col) -{ - ((TQDataTable*) QtSupport::getQt(env, obj))->sortColumn((int) col); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_sortColumn__IZ(JNIEnv* env, jobject obj, jint col, jboolean ascending) -{ - ((TQDataTable*) QtSupport::getQt(env, obj))->sortColumn((int) col, (bool) ascending); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_sortColumn__IZZ(JNIEnv* env, jobject obj, jint col, jboolean ascending, jboolean wholeRows) -{ - ((TQDataTable*) QtSupport::getQt(env, obj))->sortColumn((int) col, (bool) ascending, (bool) wholeRows); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_sortDescending(JNIEnv* env, jobject obj, jint col) -{ - ((TQDataTable*) QtSupport::getQt(env, obj))->sortDescending((int) col); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDataTable_sort(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TQDataTable*) QtSupport::getQt(env, obj))->sort(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDataTable_sqlCursor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDataTable*) QtSupport::getQt(env, obj))->sqlCursor(), "org.kde.qt.TQSqlCursor"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_swapColumns__II(JNIEnv* env, jobject obj, jint col1, jint col2) -{ - ((TQDataTable*) QtSupport::getQt(env, obj))->swapColumns((int) col1, (int) col2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_swapColumns__IIZ(JNIEnv* env, jobject obj, jint col1, jint col2, jboolean swapHeaders) -{ - ((TQDataTable*) QtSupport::getQt(env, obj))->swapColumns((int) col1, (int) col2, (bool) swapHeaders); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_takeItem(JNIEnv* env, jobject obj, jobject i) -{ - ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_takeItem((TQTableItem*) QtSupport::getQt(env, i)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDataTable_text(JNIEnv* env, jobject obj, jint row, jint col) -{ - TQString _qstring; - _qstring = ((TQDataTable*) QtSupport::getQt(env, obj))->text((int) row, (int) col); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDataTable_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQDataTableJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDataTable_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQDataTableJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDataTable_trueText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQDataTable*) QtSupport::getQt(env, obj))->trueText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDataTable_updateCurrent(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_updateCurrent(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDataTable_value(JNIEnv* env, jobject obj, jint row, jint col) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQDataTable*) QtSupport::getQt(env, obj))->value((int) row, (int) col)), "org.kde.qt.TQVariant", TRUE); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QDataTable.h b/qtjava/javalib/qtjava/QDataTable.h deleted file mode 100644 index 3871bcca..00000000 --- a/qtjava/javalib/qtjava/QDataTable.h +++ /dev/null @@ -1,130 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDataTable__ -#define __org_kde_qt_QDataTable__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataTable_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataTable_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_newTQDataTable__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_newTQDataTable__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_newTQDataTable__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_newTQDataTable__Lorg_kde_qt_QSqlCursor_2ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jboolean, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_newTQDataTable__Lorg_kde_qt_QSqlCursor_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_newTQDataTable__Lorg_kde_qt_QSqlCursor_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_newTQDataTable__Lorg_kde_qt_QSqlCursor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_addColumn__Ljava_lang_String_2Ljava_lang_String_2ILorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jstring, jstring, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_addColumn__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_addColumn__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_addColumn__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_removeColumn (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setColumn__ILjava_lang_String_2Ljava_lang_String_2ILorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jint, jstring, jstring, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setColumn__ILjava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jint, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setColumn__ILjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setColumn__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataTable_nullText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataTable_trueText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataTable_falseText (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDataTable_dateFormat (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataTable_confirmEdits (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataTable_confirmInsert (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataTable_confirmUpdate (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataTable_confirmDelete (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataTable_confirmCancels (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataTable_autoDelete (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataTable_autoEdit (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataTable_filter (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataTable_sort (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setSqlCursor__Lorg_kde_qt_QSqlCursor_2ZZ (JNIEnv *env, jobject, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setSqlCursor__Lorg_kde_qt_QSqlCursor_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setSqlCursor__Lorg_kde_qt_QSqlCursor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setSqlCursor__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataTable_sqlCursor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setNullText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setTrueText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setFalseText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setDateFormat (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setConfirmEdits (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setConfirmInsert (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setConfirmUpdate (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setConfirmDelete (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setConfirmCancels (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setAutoDelete (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setAutoEdit (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setFilter (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setSort___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setSort__Lorg_kde_qt_QSqlIndex_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_refresh__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_sortColumn__IZZ (JNIEnv *env, jobject, jint, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_sortColumn__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_sortColumn__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataTable_text (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataTable_value (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataTable_currentRecord (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_installEditorFactory (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_installPropertyMap (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDataTable_numCols (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDataTable_numRows (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setNumCols (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setNumRows (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataTable_findBuffer__Lorg_kde_qt_QSqlIndex_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataTable_findBuffer__Lorg_kde_qt_QSqlIndex_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_hideColumn (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_showColumn (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_find (JNIEnv *env, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_sortAscending (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_sortDescending (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_refresh__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setColumnWidth (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_adjustColumn (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setColumnStretchable (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_swapColumns__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_swapColumns__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataTable_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataTable_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataTable_insertCurrent (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataTable_updateCurrent (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataTable_deleteCurrent (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDataTable_confirmEdit (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDataTable_confirmCancel (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_handleError (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataTable_beginInsert (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataTable_beginUpdate (JNIEnv *env, jobject, jint, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataTable_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_contentsMousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_contentsContextMenuEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_endEdit (JNIEnv *env, jobject, jint, jint, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataTable_createEditor (JNIEnv *env, jobject, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_activateNextCell (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDataTable_indexOf (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_reset (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setSize (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_repaintCell (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_paintCell (JNIEnv *env, jobject, jobject, jint, jint, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_paintField (JNIEnv *env, jobject, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_drawContents (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDataTable_fieldAlignment (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_columnClicked (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_resizeData (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataTable_item (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setItem (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_clearCell (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setPixmap (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_takeItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataTable_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDataTable__ */ diff --git a/qtjava/javalib/qtjava/QDataView.cpp b/qtjava/javalib/qtjava/QDataView.cpp deleted file mode 100644 index fd9c33f8..00000000 --- a/qtjava/javalib/qtjava/QDataView.cpp +++ /dev/null @@ -1,569 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQDataViewJBridge : public TQDataView -{ -public: - TQDataViewJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQDataView(arg1,arg2,arg3) {}; - TQDataViewJBridge(TQWidget* arg1,const char* arg2) : TQDataView(arg1,arg2) {}; - TQDataViewJBridge(TQWidget* arg1) : TQDataView(arg1) {}; - TQDataViewJBridge() : TQDataView() {}; - void public_readFields() { - TQDataView::readFields(); - return; - } - void public_writeFields() { - TQDataView::writeFields(); - return; - } - void public_clearValues() { - TQDataView::clearValues(); - return; - } - ~TQDataViewJBridge() {QtSupport::qtKeyDeleted(this);} - void writeFields() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataView","writeFields")) { - TQDataView::writeFields(); - } - 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.qt.TQDataView","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.qt.TQDataView","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.qt.TQDataView","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.qt.TQDataView","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.qt.TQDataView","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void readFields() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataView","readFields")) { - TQDataView::readFields(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataView","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataView","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.qt.TQDataView","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataView","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 setRecord(TQSqlRecord* arg1) { - if (!QtSupport::eventDelegate(this,"setRecord",(void*)arg1,"org.kde.qt.TQSqlRecord")) { - TQDataView::setRecord(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.qt.TQDataView","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 clearValues() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataView","clearValues")) { - TQDataView::clearValues(); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void refresh(TQSqlRecord* arg1) { - if (!QtSupport::eventDelegate(this,"refresh",(void*)arg1,"org.kde.qt.TQSqlRecord")) { - TQDataView::refresh(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 setForm(TQSqlForm* arg1) { - if (!QtSupport::eventDelegate(this,"setForm",(void*)arg1,"org.kde.qt.TQSqlForm")) { - TQDataView::setForm(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.qt.TQDataView",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.qt.TQDataView","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDataView_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQDataView*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataView_clearValues(JNIEnv* env, jobject obj) -{ - ((TQDataViewJBridge*) QtSupport::getQt(env, obj))->public_clearValues(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataView_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QDataView_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataView_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQDataView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQDataView*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDataView_form(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDataView*) QtSupport::getQt(env, obj))->form(), "org.kde.qt.TQSqlForm"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDataView_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDataView_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDataView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataView_newTQDataView__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDataViewJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataView_newTQDataView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDataViewJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataView_newTQDataView__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 TQDataViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataView_newTQDataView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint fl) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDataViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) fl)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataView_readFields(JNIEnv* env, jobject obj) -{ - ((TQDataViewJBridge*) QtSupport::getQt(env, obj))->public_readFields(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDataView_record(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDataView*) QtSupport::getQt(env, obj))->record(), "org.kde.qt.TQSqlRecord"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataView_refresh(JNIEnv* env, jobject obj, jobject buf) -{ - ((TQDataView*) QtSupport::getQt(env, obj))->refresh((TQSqlRecord*) QtSupport::getQt(env, buf)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataView_setForm(JNIEnv* env, jobject obj, jobject form) -{ - ((TQDataView*) QtSupport::getQt(env, obj))->setForm((TQSqlForm*) QtSupport::getQt(env, form)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataView_setRecord(JNIEnv* env, jobject obj, jobject record) -{ - ((TQDataView*) QtSupport::getQt(env, obj))->setRecord((TQSqlRecord*) QtSupport::getQt(env, record)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDataView_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQDataViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDataView_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQDataViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDataView_writeFields(JNIEnv* env, jobject obj) -{ - ((TQDataViewJBridge*) QtSupport::getQt(env, obj))->public_writeFields(); - return; -} - diff --git a/qtjava/javalib/qtjava/QDataView.h b/qtjava/javalib/qtjava/QDataView.h deleted file mode 100644 index 4cfa063c..00000000 --- a/qtjava/javalib/qtjava/QDataView.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDataView__ -#define __org_kde_qt_QDataView__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataView_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataView_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataView_newTQDataView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataView_newTQDataView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataView_newTQDataView__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataView_newTQDataView__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataView_setForm (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataView_form (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataView_setRecord (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataView_record (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataView_refresh (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataView_readFields (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataView_writeFields (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataView_clearValues (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataView_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataView_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataView_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataView_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataView_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDataView__ */ diff --git a/qtjava/javalib/qtjava/QDateEdit.cpp b/qtjava/javalib/qtjava/QDateEdit.cpp deleted file mode 100644 index a09db222..00000000 --- a/qtjava/javalib/qtjava/QDateEdit.cpp +++ /dev/null @@ -1,781 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -class TQDateEditJBridge : public TQDateEdit -{ -public: - TQDateEditJBridge(TQWidget* arg1,const char* arg2) : TQDateEdit(arg1,arg2) {}; - TQDateEditJBridge(TQWidget* arg1) : TQDateEdit(arg1) {}; - TQDateEditJBridge() : TQDateEdit() {}; - TQDateEditJBridge(const TQDate& arg1,TQWidget* arg2,const char* arg3) : TQDateEdit(arg1,arg2,arg3) {}; - TQDateEditJBridge(const TQDate& arg1,TQWidget* arg2) : TQDateEdit(arg1,arg2) {}; - TQDateEditJBridge(const TQDate& arg1) : TQDateEdit(arg1) {}; - bool protected_event(TQEvent* arg1) { - return (bool) TQDateEdit::event(arg1); - } - void protected_timerEvent(TQTimerEvent* arg1) { - TQDateEdit::timerEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQDateEdit::resizeEvent(arg1); - return; - } - void protected_stepUp() { - TQDateEdit::stepUp(); - return; - } - void protected_stepDown() { - TQDateEdit::stepDown(); - return; - } - TQString protected_sectionFormattedText(int arg1) { - return (TQString) TQDateEdit::sectionFormattedText(arg1); - } - void protected_addNumber(int arg1,int arg2) { - TQDateEdit::addNumber(arg1,arg2); - return; - } - void protected_removeLastNumber(int arg1) { - TQDateEdit::removeLastNumber(arg1); - return; - } - bool protected_setFocusSection(int arg1) { - return (bool) TQDateEdit::setFocusSection(arg1); - } - void protected_setYear(int arg1) { - TQDateEdit::setYear(arg1); - return; - } - void protected_setMonth(int arg1) { - TQDateEdit::setMonth(arg1); - return; - } - void protected_setDay(int arg1) { - TQDateEdit::setDay(arg1); - return; - } - void protected_fix() { - TQDateEdit::fix(); - return; - } - bool protected_outOfRange(int arg1,int arg2,int arg3) { - return (bool) TQDateEdit::outOfRange(arg1,arg2,arg3); - } - void protected_updateButtons() { - TQDateEdit::updateButtons(); - return; - } - ~TQDateEditJBridge() {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")) { - TQDateEdit::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.qt.TQDateEdit","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.qt.TQDateEdit","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.qt.TQDateEdit","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.qt.TQDateEdit","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.qt.TQDateEdit","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.qt.TQDateEdit","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDateEdit","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")) { - TQDateEdit::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.qt.TQDateEdit","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDateEdit","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.qt.TQDateEdit","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void fix() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDateEdit","fix")) { - TQDateEdit::fix(); - } - 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.qt.TQDateEdit",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.qt.TQDateEdit","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateEdit_addNumber(JNIEnv* env, jobject obj, jint sec, jint num) -{ - ((TQDateEditJBridge*) QtSupport::getQt(env, obj))->protected_addNumber((int) sec, (int) num); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDateEdit_autoAdvance(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDateEdit*) QtSupport::getQt(env, obj))->autoAdvance(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDateEdit_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQDateEdit*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDateEdit_date(JNIEnv* env, jobject obj) -{ - TQDate _qdate; - _qdate = ((TQDateEdit*) QtSupport::getQt(env, obj))->date(); - return (jobject) QtSupport::fromTQDate(env, (TQDate*) &_qdate); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateEdit_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QDateEdit_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDateEdit_event(JNIEnv* env, jobject obj, jobject e) -{ - jboolean xret = (jboolean) ((TQDateEditJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateEdit_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQDateEdit*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQDateEdit*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateEdit_fix(JNIEnv* env, jobject obj) -{ - ((TQDateEditJBridge*) QtSupport::getQt(env, obj))->protected_fix(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDateEdit_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDateEdit_maxValue(JNIEnv* env, jobject obj) -{ - TQDate _qdate; - _qdate = ((TQDateEdit*) QtSupport::getQt(env, obj))->maxValue(); - return (jobject) QtSupport::fromTQDate(env, (TQDate*) &_qdate); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDateEdit_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDateEdit*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDateEdit_minValue(JNIEnv* env, jobject obj) -{ - TQDate _qdate; - _qdate = ((TQDateEdit*) QtSupport::getQt(env, obj))->minValue(); - return (jobject) QtSupport::fromTQDate(env, (TQDate*) &_qdate); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDateEdit_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQDateEdit*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateEdit_newTQDateEdit__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDateEditJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateEdit_newTQDateEdit__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 TQDateEditJBridge((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateEdit_newTQDateEdit__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 TQDateEditJBridge((const 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_qt_QDateEdit_newTQDateEdit__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 TQDateEditJBridge((const 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_qt_QDateEdit_newTQDateEdit__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDateEditJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateEdit_newTQDateEdit__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 TQDateEditJBridge((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_qt_QDateEdit_order(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDateEdit*) QtSupport::getQt(env, obj))->order(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDateEdit_outOfRange(JNIEnv* env, jobject obj, jint y, jint m, jint d) -{ - jboolean xret = (jboolean) ((TQDateEditJBridge*) QtSupport::getQt(env, obj))->protected_outOfRange((int) y, (int) m, (int) d); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateEdit_removeFirstNumber(JNIEnv* env, jobject obj, jint sec) -{ - ((TQDateEdit*) QtSupport::getQt(env, obj))->removeFirstNumber((int) sec); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateEdit_removeLastNumber(JNIEnv* env, jobject obj, jint sec) -{ - ((TQDateEditJBridge*) QtSupport::getQt(env, obj))->protected_removeLastNumber((int) sec); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateEdit_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQDateEditJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDateEdit_sectionFormattedText(JNIEnv* env, jobject obj, jint sec) -{ - TQString _qstring; - _qstring = ((TQDateEditJBridge*) QtSupport::getQt(env, obj))->protected_sectionFormattedText((int) sec); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDateEdit_separator(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQDateEdit*) QtSupport::getQt(env, obj))->separator(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateEdit_setAutoAdvance(JNIEnv* env, jobject obj, jboolean advance) -{ - ((TQDateEdit*) QtSupport::getQt(env, obj))->setAutoAdvance((bool) advance); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateEdit_setDate(JNIEnv* env, jobject obj, jobject date) -{ -static TQDate* _qdate_date = 0; - ((TQDateEdit*) QtSupport::getQt(env, obj))->setDate((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateEdit_setDay(JNIEnv* env, jobject obj, jint day) -{ - ((TQDateEditJBridge*) QtSupport::getQt(env, obj))->protected_setDay((int) day); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDateEdit_setFocusSection(JNIEnv* env, jobject obj, jint s) -{ - jboolean xret = (jboolean) ((TQDateEditJBridge*) QtSupport::getQt(env, obj))->protected_setFocusSection((int) s); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateEdit_setMaxValue(JNIEnv* env, jobject obj, jobject d) -{ -static TQDate* _qdate_d = 0; - ((TQDateEdit*) QtSupport::getQt(env, obj))->setMaxValue((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, d, &_qdate_d)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateEdit_setMinValue(JNIEnv* env, jobject obj, jobject d) -{ -static TQDate* _qdate_d = 0; - ((TQDateEdit*) QtSupport::getQt(env, obj))->setMinValue((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, d, &_qdate_d)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateEdit_setMonth(JNIEnv* env, jobject obj, jint month) -{ - ((TQDateEditJBridge*) QtSupport::getQt(env, obj))->protected_setMonth((int) month); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateEdit_setOrder(JNIEnv* env, jobject obj, jint order) -{ - ((TQDateEdit*) QtSupport::getQt(env, obj))->setOrder((TQDateEdit::Order) order); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateEdit_setRange(JNIEnv* env, jobject obj, jobject min, jobject max) -{ -static TQDate* _qdate_min = 0; -static TQDate* _qdate_max = 0; - ((TQDateEdit*) QtSupport::getQt(env, obj))->setRange((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, min, &_qdate_min), (const TQDate&)*(TQDate*) QtSupport::toTQDate(env, max, &_qdate_max)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateEdit_setSeparator(JNIEnv* env, jobject obj, jstring s) -{ -static TQString* _qstring_s = 0; - ((TQDateEdit*) QtSupport::getQt(env, obj))->setSeparator((const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateEdit_setYear(JNIEnv* env, jobject obj, jint year) -{ - ((TQDateEditJBridge*) QtSupport::getQt(env, obj))->protected_setYear((int) year); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDateEdit_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQDateEdit*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateEdit_stepDown(JNIEnv* env, jobject obj) -{ - ((TQDateEditJBridge*) QtSupport::getQt(env, obj))->protected_stepDown(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateEdit_stepUp(JNIEnv* env, jobject obj) -{ - ((TQDateEditJBridge*) QtSupport::getQt(env, obj))->protected_stepUp(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateEdit_timerEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQDateEditJBridge*) QtSupport::getQt(env, obj))->protected_timerEvent((TQTimerEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDateEdit_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQDateEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDateEdit_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQDateEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateEdit_updateButtons(JNIEnv* env, jobject obj) -{ - ((TQDateEditJBridge*) QtSupport::getQt(env, obj))->protected_updateButtons(); - return; -} - diff --git a/qtjava/javalib/qtjava/QDateEdit.h b/qtjava/javalib/qtjava/QDateEdit.h deleted file mode 100644 index f1f1d29c..00000000 --- a/qtjava/javalib/qtjava/QDateEdit.h +++ /dev/null @@ -1,62 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDateEdit__ -#define __org_kde_qt_QDateEdit__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDateEdit_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDateEdit_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_newTQDateEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_newTQDateEdit__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_newTQDateEdit__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_newTQDateEdit__Ljava_util_Calendar_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_newTQDateEdit__Ljava_util_Calendar_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_newTQDateEdit__Ljava_util_Calendar_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDateEdit_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDateEdit_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDateEdit_date (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_setOrder (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDateEdit_order (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_setAutoAdvance (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDateEdit_autoAdvance (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_setMinValue (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDateEdit_minValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_setMaxValue (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDateEdit_maxValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_setRange (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDateEdit_separator (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_setSeparator (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_removeFirstNumber (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_setDate (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDateEdit_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDateEdit_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDateEdit_event (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_timerEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_stepUp (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_stepDown (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDateEdit_sectionFormattedText (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_addNumber (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_removeLastNumber (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDateEdit_setFocusSection (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_setYear (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_setMonth (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_setDay (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_fix (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDateEdit_outOfRange (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_updateButtons (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDateEdit_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDateEdit__ */ diff --git a/qtjava/javalib/qtjava/QDateTimeEdit.cpp b/qtjava/javalib/qtjava/QDateTimeEdit.cpp deleted file mode 100644 index 981862bd..00000000 --- a/qtjava/javalib/qtjava/QDateTimeEdit.cpp +++ /dev/null @@ -1,595 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -class TQDateTimeEditJBridge : public TQDateTimeEdit -{ -public: - TQDateTimeEditJBridge(TQWidget* arg1,const char* arg2) : TQDateTimeEdit(arg1,arg2) {}; - TQDateTimeEditJBridge(TQWidget* arg1) : TQDateTimeEdit(arg1) {}; - TQDateTimeEditJBridge() : TQDateTimeEdit() {}; - TQDateTimeEditJBridge(const TQDateTime& arg1,TQWidget* arg2,const char* arg3) : TQDateTimeEdit(arg1,arg2,arg3) {}; - TQDateTimeEditJBridge(const TQDateTime& arg1,TQWidget* arg2) : TQDateTimeEdit(arg1,arg2) {}; - TQDateTimeEditJBridge(const TQDateTime& arg1) : TQDateTimeEdit(arg1) {}; - void protected_init() { - TQDateTimeEdit::init(); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQDateTimeEdit::resizeEvent(arg1); - return; - } - void protected_newValue(const TQDate& arg1) { - TQDateTimeEdit::newValue(arg1); - return; - } - void protected_newValue(const TQTime& arg1) { - TQDateTimeEdit::newValue(arg1); - return; - } - ~TQDateTimeEditJBridge() {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")) { - TQDateTimeEdit::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.qt.TQDateTimeEdit","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.qt.TQDateTimeEdit","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.qt.TQDateTimeEdit","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.qt.TQDateTimeEdit","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.qt.TQDateTimeEdit","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.qt.TQDateTimeEdit","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDateTimeEdit","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.qt.TQDateTimeEdit","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDateTimeEdit","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.qt.TQDateTimeEdit","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.qt.TQDateTimeEdit",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.qt.TQDateTimeEdit","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDateTimeEdit_autoAdvance(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDateTimeEdit*) QtSupport::getQt(env, obj))->autoAdvance(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDateTimeEdit_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQDateTimeEdit*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDateTimeEdit_dateEdit(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDateTimeEdit*) QtSupport::getQt(env, obj))->dateEdit(), "org.kde.qt.TQDateEdit"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDateTimeEdit_dateTime(JNIEnv* env, jobject obj) -{ - TQDateTime _qdate; - _qdate = ((TQDateTimeEdit*) QtSupport::getQt(env, obj))->dateTime(); - return (jobject) QtSupport::fromTQDateTime(env, (TQDateTime*) &_qdate); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateTimeEdit_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QDateTimeEdit_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateTimeEdit_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQDateTimeEdit*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQDateTimeEdit*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateTimeEdit_init(JNIEnv* env, jobject obj) -{ - ((TQDateTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_init(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDateTimeEdit_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDateTimeEdit_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDateTimeEdit*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDateTimeEdit_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQDateTimeEdit*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateTimeEdit_newTQDateTimeEdit__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDateTimeEditJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateTimeEdit_newTQDateTimeEdit__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 TQDateTimeEditJBridge((const TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, datetime, &_qdate_datetime))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateTimeEdit_newTQDateTimeEdit__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 TQDateTimeEditJBridge((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_qt_QDateTimeEdit_newTQDateTimeEdit__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 TQDateTimeEditJBridge((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_qt_QDateTimeEdit_newTQDateTimeEdit__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDateTimeEditJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateTimeEdit_newTQDateTimeEdit__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 TQDateTimeEditJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateTimeEdit_newValue__Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jobject d) -{ -static TQDate* _qdate_d = 0; - ((TQDateTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_newValue((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, d, &_qdate_d)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateTimeEdit_newValue__Ljava_util_Date_2(JNIEnv* env, jobject obj, jobject t) -{ -static TQTime* _qtime_t = 0; - ((TQDateTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_newValue((const TQTime&)*(TQTime*) QtSupport::toTQTime(env, t, &_qtime_t)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateTimeEdit_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQDateTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateTimeEdit_setAutoAdvance(JNIEnv* env, jobject obj, jboolean advance) -{ - ((TQDateTimeEdit*) QtSupport::getQt(env, obj))->setAutoAdvance((bool) advance); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateTimeEdit_setDateTime(JNIEnv* env, jobject obj, jobject dt) -{ -static TQDateTime* _qdate_dt = 0; - ((TQDateTimeEdit*) QtSupport::getQt(env, obj))->setDateTime((const TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, dt, &_qdate_dt)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDateTimeEdit_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQDateTimeEdit*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDateTimeEdit_timeEdit(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDateTimeEdit*) QtSupport::getQt(env, obj))->timeEdit(), "org.kde.qt.TQTimeEdit"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDateTimeEdit_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQDateTimeEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDateTimeEdit_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQDateTimeEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QDateTimeEdit.h b/qtjava/javalib/qtjava/QDateTimeEdit.h deleted file mode 100644 index b314823b..00000000 --- a/qtjava/javalib/qtjava/QDateTimeEdit.h +++ /dev/null @@ -1,43 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDateTimeEdit__ -#define __org_kde_qt_QDateTimeEdit__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDateTimeEdit_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDateTimeEdit_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEdit_newTQDateTimeEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEdit_newTQDateTimeEdit__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEdit_newTQDateTimeEdit__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEdit_newTQDateTimeEdit__Ljava_util_Calendar_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEdit_newTQDateTimeEdit__Ljava_util_Calendar_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEdit_newTQDateTimeEdit__Ljava_util_Calendar_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDateTimeEdit_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDateTimeEdit_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDateTimeEdit_dateTime (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDateTimeEdit_dateEdit (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDateTimeEdit_timeEdit (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEdit_setAutoAdvance (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDateTimeEdit_autoAdvance (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEdit_setDateTime (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDateTimeEdit_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDateTimeEdit_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEdit_init (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEdit_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEdit_newValue__Ljava_util_Calendar_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEdit_newValue__Ljava_util_Date_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEdit_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEdit_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDateTimeEdit_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDateTimeEdit__ */ diff --git a/qtjava/javalib/qtjava/QDateTimeEditBase.cpp b/qtjava/javalib/qtjava/QDateTimeEditBase.cpp deleted file mode 100644 index 7a0179b2..00000000 --- a/qtjava/javalib/qtjava/QDateTimeEditBase.cpp +++ /dev/null @@ -1,86 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateTimeEditBase_addNumber(JNIEnv* env, jobject obj, jint sec, jint num) -{ - ((TQDateTimeEditBase*) QtSupport::getQt(env, obj))->addNumber((int) sec, (int) num); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDateTimeEditBase_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQDateTimeEditBase*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDateTimeEditBase_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDateTimeEditBase*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateTimeEditBase_removeLastNumber(JNIEnv* env, jobject obj, jint sec) -{ - ((TQDateTimeEditBase*) QtSupport::getQt(env, obj))->removeLastNumber((int) sec); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDateTimeEditBase_sectionFormattedText(JNIEnv* env, jobject obj, jint sec) -{ - TQString _qstring; - _qstring = ((TQDateTimeEditBase*) QtSupport::getQt(env, obj))->sectionFormattedText((int) sec); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDateTimeEditBase_setFocusSection(JNIEnv* env, jobject obj, jint sec) -{ - jboolean xret = (jboolean) ((TQDateTimeEditBase*) QtSupport::getQt(env, obj))->setFocusSection((int) sec); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateTimeEditBase_stepDown(JNIEnv* env, jobject obj) -{ - ((TQDateTimeEditBase*) QtSupport::getQt(env, obj))->stepDown(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDateTimeEditBase_stepUp(JNIEnv* env, jobject obj) -{ - ((TQDateTimeEditBase*) QtSupport::getQt(env, obj))->stepUp(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDateTimeEditBase_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQDateTimeEditBase::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDateTimeEditBase_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQDateTimeEditBase::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QDateTimeEditBase.h b/qtjava/javalib/qtjava/QDateTimeEditBase.h deleted file mode 100644 index 1798cb65..00000000 --- a/qtjava/javalib/qtjava/QDateTimeEditBase.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDateTimeEditBase__ -#define __org_kde_qt_QDateTimeEditBase__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDateTimeEditBase_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDateTimeEditBase_className (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDateTimeEditBase_setFocusSection (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDateTimeEditBase_sectionFormattedText (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEditBase_addNumber (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEditBase_removeLastNumber (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEditBase_stepUp (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEditBase_stepDown (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDateTimeEditBase_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDateTimeEditBase_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDateTimeEditBase__ */ diff --git a/qtjava/javalib/qtjava/QDesktopWidget.cpp b/qtjava/javalib/qtjava/QDesktopWidget.cpp deleted file mode 100644 index af204271..00000000 --- a/qtjava/javalib/qtjava/QDesktopWidget.cpp +++ /dev/null @@ -1,555 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -class TQDesktopWidgetJBridge : public TQDesktopWidget -{ -public: - TQDesktopWidgetJBridge() : TQDesktopWidget() {}; - void protected_resizeEvent(TQResizeEvent* arg1) { - TQDesktopWidget::resizeEvent(arg1); - return; - } - ~TQDesktopWidgetJBridge() {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")) { - TQDesktopWidget::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.qt.TQDesktopWidget","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.qt.TQDesktopWidget","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.qt.TQDesktopWidget","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.qt.TQDesktopWidget","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.qt.TQDesktopWidget","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.qt.TQDesktopWidget","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDesktopWidget","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.qt.TQDesktopWidget","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDesktopWidget","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.qt.TQDesktopWidget","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 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.qt.TQDesktopWidget",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.qt.TQDesktopWidget","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDesktopWidget_availableGeometry__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRect *) &((TQDesktopWidget*) QtSupport::getQt(env, obj))->availableGeometry(), "org.kde.qt.TQRect"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDesktopWidget_availableGeometry__I(JNIEnv* env, jobject obj, jint screen) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRect *) &((TQDesktopWidget*) QtSupport::getQt(env, obj))->availableGeometry((int) screen), "org.kde.qt.TQRect"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDesktopWidget_availableGeometry__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject point) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRect *) &((TQDesktopWidget*) QtSupport::getQt(env, obj))->availableGeometry((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, point)), "org.kde.qt.TQRect"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDesktopWidget_availableGeometry__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRect *) &((TQDesktopWidget*) QtSupport::getQt(env, obj))->availableGeometry((TQWidget*) QtSupport::getQt(env, widget)), "org.kde.qt.TQRect"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDesktopWidget_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQDesktopWidget*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDesktopWidget_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QDesktopWidget_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDesktopWidget_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQDesktopWidget*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQDesktopWidget*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDesktopWidget_insertChild(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQDesktopWidget*) QtSupport::getQt(env, obj))->insertChild((TQObject*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDesktopWidget_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDesktopWidget_isVirtualDesktop(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDesktopWidget*) QtSupport::getQt(env, obj))->isVirtualDesktop(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDesktopWidget_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDesktopWidget*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDesktopWidget_newTQDesktopWidget(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDesktopWidgetJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDesktopWidget_numScreens(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDesktopWidget*) QtSupport::getQt(env, obj))->numScreens(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDesktopWidget_primaryScreen(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDesktopWidget*) QtSupport::getQt(env, obj))->primaryScreen(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDesktopWidget_resizeEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQDesktopWidgetJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDesktopWidget_screenGeometry__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRect *) &((TQDesktopWidget*) QtSupport::getQt(env, obj))->screenGeometry(), "org.kde.qt.TQRect"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDesktopWidget_screenGeometry__I(JNIEnv* env, jobject obj, jint screen) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRect *) &((TQDesktopWidget*) QtSupport::getQt(env, obj))->screenGeometry((int) screen), "org.kde.qt.TQRect"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDesktopWidget_screenGeometry__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject point) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRect *) &((TQDesktopWidget*) QtSupport::getQt(env, obj))->screenGeometry((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, point)), "org.kde.qt.TQRect"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDesktopWidget_screenGeometry__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRect *) &((TQDesktopWidget*) QtSupport::getQt(env, obj))->screenGeometry((TQWidget*) QtSupport::getQt(env, widget)), "org.kde.qt.TQRect"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDesktopWidget_screenNumber__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDesktopWidget*) QtSupport::getQt(env, obj))->screenNumber(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDesktopWidget_screenNumber__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jint xret = (jint) ((TQDesktopWidget*) QtSupport::getQt(env, obj))->screenNumber((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDesktopWidget_screenNumber__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((TQDesktopWidget*) QtSupport::getQt(env, obj))->screenNumber((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDesktopWidget_screen__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDesktopWidget*) QtSupport::getQt(env, obj))->screen(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDesktopWidget_screen__I(JNIEnv* env, jobject obj, jint screen) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDesktopWidget*) QtSupport::getQt(env, obj))->screen((int) screen), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDesktopWidget_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQDesktopWidgetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDesktopWidget_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQDesktopWidgetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QDesktopWidget.h b/qtjava/javalib/qtjava/QDesktopWidget.h deleted file mode 100644 index ca030054..00000000 --- a/qtjava/javalib/qtjava/QDesktopWidget.h +++ /dev/null @@ -1,44 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDesktopWidget__ -#define __org_kde_qt_QDesktopWidget__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDesktopWidget_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDesktopWidget_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDesktopWidget_newTQDesktopWidget (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDesktopWidget_isVirtualDesktop (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDesktopWidget_numScreens (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDesktopWidget_primaryScreen (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDesktopWidget_screenNumber__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDesktopWidget_screenNumber__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDesktopWidget_screenNumber__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDesktopWidget_screen__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDesktopWidget_screen__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDesktopWidget_screenGeometry__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDesktopWidget_screenGeometry__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDesktopWidget_screenGeometry__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDesktopWidget_screenGeometry__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDesktopWidget_availableGeometry__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDesktopWidget_availableGeometry__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDesktopWidget_availableGeometry__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDesktopWidget_availableGeometry__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDesktopWidget_insertChild (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDesktopWidget_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDesktopWidget_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDesktopWidget_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDesktopWidget_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDesktopWidget_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDesktopWidget_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDesktopWidget__ */ diff --git a/qtjava/javalib/qtjava/QDial.cpp b/qtjava/javalib/qtjava/QDial.cpp deleted file mode 100644 index 0a402961..00000000 --- a/qtjava/javalib/qtjava/QDial.cpp +++ /dev/null @@ -1,904 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include - -class TQDialJBridge : public TQDial -{ -public: - TQDialJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQDial(arg1,arg2,arg3) {}; - TQDialJBridge(TQWidget* arg1,const char* arg2) : TQDial(arg1,arg2) {}; - TQDialJBridge(TQWidget* arg1) : TQDial(arg1) {}; - TQDialJBridge() : TQDial() {}; - TQDialJBridge(int arg1,int arg2,int arg3,int arg4,TQWidget* arg5,const char* arg6) : TQDial(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TQDialJBridge(int arg1,int arg2,int arg3,int arg4,TQWidget* arg5) : TQDial(arg1,arg2,arg3,arg4,arg5) {}; - TQDialJBridge(int arg1,int arg2,int arg3,int arg4) : TQDial(arg1,arg2,arg3,arg4) {}; - void protected_resizeEvent(TQResizeEvent* arg1) { - TQDial::resizeEvent(arg1); - return; - } - void protected_paintEvent(TQPaintEvent* arg1) { - TQDial::paintEvent(arg1); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQDial::keyPressEvent(arg1); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TQDial::mousePressEvent(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - TQDial::mouseReleaseEvent(arg1); - return; - } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - TQDial::mouseMoveEvent(arg1); - return; - } - void protected_wheelEvent(TQWheelEvent* arg1) { - TQDial::wheelEvent(arg1); - return; - } - void protected_focusInEvent(TQFocusEvent* arg1) { - TQDial::focusInEvent(arg1); - return; - } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TQDial::focusOutEvent(arg1); - return; - } - void protected_valueChange() { - TQDial::valueChange(); - return; - } - void protected_rangeChange() { - TQDial::rangeChange(); - return; - } - void protected_repaintScreen(const TQRect* arg1) { - TQDial::repaintScreen(arg1); - return; - } - void protected_repaintScreen() { - TQDial::repaintScreen(); - return; - } - ~TQDialJBridge() {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_stepChange() { - TQRangeControl::stepChange(); - 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")) { - TQDial::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 repaintScreen(const TQRect* arg1) { - if (!QtSupport::eventDelegate(this,"repaintScreen",(void*)arg1,"org.kde.qt.TQRect")) { - TQDial::repaintScreen(arg1); - } - return; - } - void stepChange() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDial","stepChange")) { - TQRangeControl::stepChange(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDial","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.qt.TQDial","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQDial::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDial","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.qt.TQDial","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")) { - TQDial::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.qt.TQDial","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.qt.TQDial","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDial","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")) { - TQDial::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")) { - TQDial::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.qt.TQDial","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDial","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")) { - TQDial::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQDial::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.qt.TQDial","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQDial::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")) { - TQDial::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.qt.TQDial",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.qt.TQDial","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_addLine(JNIEnv* env, jobject obj) -{ - ((TQDial*) QtSupport::getQt(env, obj))->addLine(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_addPage(JNIEnv* env, jobject obj) -{ - ((TQDial*) QtSupport::getQt(env, obj))->addPage(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDial_bound(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQRangeControl*)(TQDial*) QtSupport::getQt(env, obj))->bound((int) arg1); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDial_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQDial*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_directSetValue(JNIEnv* env, jobject obj, jint val) -{ - ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_directSetValue((int) val); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QDial_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQDial*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQDial*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_focusInEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_focusOutEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDial_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDial_lineStep(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDial*) QtSupport::getQt(env, obj))->lineStep(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDial_maxValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDial*) QtSupport::getQt(env, obj))->maxValue(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDial_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDial*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDial_minValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDial*) QtSupport::getQt(env, obj))->minValue(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDial_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQDial*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_newTQDial__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDialJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_newTQDial__IIII(JNIEnv* env, jobject obj, jint minValue, jint maxValue, jint pageStep, jint value) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDialJBridge((int) minValue, (int) maxValue, (int) pageStep, (int) value)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_newTQDial__IIIILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint minValue, jint maxValue, jint pageStep, jint value, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDialJBridge((int) minValue, (int) maxValue, (int) pageStep, (int) value, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_newTQDial__IIIILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint minValue, jint maxValue, jint pageStep, jint value, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDialJBridge((int) minValue, (int) maxValue, (int) pageStep, (int) value, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_newTQDial__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDialJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_newTQDial__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 TQDialJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_newTQDial__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 TQDialJBridge((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_qt_QDial_notchSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDial*) QtSupport::getQt(env, obj))->notchSize(); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_qt_QDial_notchTarget(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((TQDial*) QtSupport::getQt(env, obj))->notchTarget(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDial_notchesVisible(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDial*) QtSupport::getQt(env, obj))->notchesVisible(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDial_pageStep(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDial*) QtSupport::getQt(env, obj))->pageStep(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_paintEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDial_positionFromValue(JNIEnv* env, jobject obj, jint val, jint space) -{ - jint xret = (jint) ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_positionFromValue((int) val, (int) space); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDial_prevValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_prevValue(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_rangeChange(JNIEnv* env, jobject obj) -{ - ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_rangeChange(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_repaintScreen__(JNIEnv* env, jobject obj) -{ - ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_repaintScreen(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_repaintScreen__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject cr) -{ - ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_repaintScreen((const TQRect*) QtSupport::getQt(env, cr)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_setLineStep(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQDial*) QtSupport::getQt(env, obj))->setLineStep((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_setMaxValue(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQDial*) QtSupport::getQt(env, obj))->setMaxValue((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_setMinValue(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQDial*) QtSupport::getQt(env, obj))->setMinValue((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_setNotchTarget(JNIEnv* env, jobject obj, jdouble arg1) -{ - ((TQDial*) QtSupport::getQt(env, obj))->setNotchTarget((double) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_setNotchesVisible(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQDial*) QtSupport::getQt(env, obj))->setNotchesVisible((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_setPageStep(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQDial*) QtSupport::getQt(env, obj))->setPageStep((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_setRange(JNIEnv* env, jobject obj, jint minValue, jint maxValue) -{ - ((TQRangeControl*)(TQDial*) QtSupport::getQt(env, obj))->setRange((int) minValue, (int) maxValue); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_setSteps(JNIEnv* env, jobject obj, jint line, jint page) -{ - ((TQRangeControl*)(TQDial*) QtSupport::getQt(env, obj))->setSteps((int) line, (int) page); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_setTracking(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQDial*) QtSupport::getQt(env, obj))->setTracking((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_setValue(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQDial*) QtSupport::getQt(env, obj))->setValue((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_setWrapping(JNIEnv* env, jobject obj, jboolean on) -{ - ((TQDial*) QtSupport::getQt(env, obj))->setWrapping((bool) on); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDial_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQDial*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_stepChange(JNIEnv* env, jobject obj) -{ - ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_stepChange(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_subtractLine(JNIEnv* env, jobject obj) -{ - ((TQDial*) QtSupport::getQt(env, obj))->subtractLine(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_subtractPage(JNIEnv* env, jobject obj) -{ - ((TQDial*) QtSupport::getQt(env, obj))->subtractPage(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDial_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQDialJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDial_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQDialJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDial_tracking(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDial*) QtSupport::getQt(env, obj))->tracking(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_valueChange(JNIEnv* env, jobject obj) -{ - ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_valueChange(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDial_valueFromPosition(JNIEnv* env, jobject obj, jint pos, jint space) -{ - jint xret = (jint) ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_valueFromPosition((int) pos, (int) space); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDial_value(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDial*) QtSupport::getQt(env, obj))->value(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_wheelEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDial_wrapping(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDial*) QtSupport::getQt(env, obj))->wrapping(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QDial.h b/qtjava/javalib/qtjava/QDial.h deleted file mode 100644 index 8110ad02..00000000 --- a/qtjava/javalib/qtjava/QDial.h +++ /dev/null @@ -1,78 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDial__ -#define __org_kde_qt_QDial__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDial_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDial_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_newTQDial__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_newTQDial__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_newTQDial__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_newTQDial__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_newTQDial__IIIILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_newTQDial__IIIILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_newTQDial__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDial_tracking (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDial_wrapping (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDial_notchSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_setNotchTarget (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QDial_notchTarget (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDial_notchesVisible (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDial_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDial_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDial_minValue (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDial_maxValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_setMinValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_setMaxValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDial_lineStep (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDial_pageStep (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_setLineStep (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_setPageStep (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDial_value (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_setValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_addLine (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_subtractLine (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_addPage (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_subtractPage (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_setNotchesVisible (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_setWrapping (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_setTracking (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDial_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDial_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_mouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_wheelEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_focusInEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_focusOutEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_valueChange (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_rangeChange (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_repaintScreen__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_repaintScreen__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDial_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_setRange (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_setSteps (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDial_bound (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDial_positionFromValue (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDial_valueFromPosition (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_directSetValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDial_prevValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_stepChange (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDial__ */ diff --git a/qtjava/javalib/qtjava/QDialog.cpp b/qtjava/javalib/qtjava/QDialog.cpp deleted file mode 100644 index e712df78..00000000 --- a/qtjava/javalib/qtjava/QDialog.cpp +++ /dev/null @@ -1,727 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQDialogJBridge : public TQDialog -{ -public: - TQDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3,TQt::WFlags arg4) : TQDialog(arg1,arg2,arg3,arg4) {}; - TQDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3) : TQDialog(arg1,arg2,arg3) {}; - TQDialogJBridge(TQWidget* arg1,const char* arg2) : TQDialog(arg1,arg2) {}; - TQDialogJBridge(TQWidget* arg1) : TQDialog(arg1) {}; - TQDialogJBridge() : TQDialog() {}; - void protected_setResult(int arg1) { - TQDialog::setResult(arg1); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQDialog::keyPressEvent(arg1); - return; - } - void protected_closeEvent(TQCloseEvent* arg1) { - TQDialog::closeEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQDialog::resizeEvent(arg1); - return; - } - void protected_contextMenuEvent(TQContextMenuEvent* arg1) { - TQDialog::contextMenuEvent(arg1); - return; - } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) TQDialog::eventFilter(arg1,arg2); - } - void protected_adjustPosition(TQWidget* arg1) { - TQDialog::adjustPosition(arg1); - return; - } - void protected_done(int arg1) { - TQDialog::done(arg1); - return; - } - void protected_accept() { - TQDialog::accept(); - return; - } - void protected_reject() { - TQDialog::reject(); - return; - } - void protected_showExtension(bool arg1) { - TQDialog::showExtension(arg1); - return; - } - ~TQDialogJBridge() {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.qt.TQDialog","accept")) { - TQDialog::accept(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDialog","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.qt.TQDialog","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.qt.TQDialog","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.qt.TQDialog","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDialog","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.qt.TQDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDialog","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.qt.TQDialog","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.qt.TQDialog","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.qt.TQDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDialog_accept(JNIEnv* env, jobject obj) -{ - ((TQDialogJBridge*) QtSupport::getQt(env, obj))->protected_accept(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDialog_adjustPosition(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQDialogJBridge*) QtSupport::getQt(env, obj))->protected_adjustPosition((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDialog_closeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQDialogJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TQCloseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDialog_contextMenuEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQDialogJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QDialog_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDialog_done(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQDialogJBridge*) QtSupport::getQt(env, obj))->protected_done((int) arg1); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDialog_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - jboolean xret = (jboolean) ((TQDialogJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDialog_exec(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDialog*) QtSupport::getQt(env, obj))->exec(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDialog_extension(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDialog*) QtSupport::getQt(env, obj))->extension(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDialog_hide(JNIEnv* env, jobject obj) -{ - ((TQDialog*) QtSupport::getQt(env, obj))->hide(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDialog_isModal(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDialog*) QtSupport::getQt(env, obj))->isModal(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDialog_isSizeGripEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDialog*) QtSupport::getQt(env, obj))->isSizeGripEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDialog_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQDialogJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDialog_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQDialog*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDialog_move__II(JNIEnv* env, jobject obj, jint x, jint y) -{ - ((TQDialog*) QtSupport::getQt(env, obj))->move((int) x, (int) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDialog_move__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject p) -{ - ((TQDialog*) QtSupport::getQt(env, obj))->move((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDialog_newTQDialog__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDialogJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDialog_newTQDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDialogJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDialog_newTQDialog__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 TQDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDialog_newTQDialog__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 TQDialogJBridge((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_qt_QDialog_newTQDialog__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 TQDialogJBridge((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 jint JNICALL -Java_org_kde_qt_QDialog_orientation(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDialog*) QtSupport::getQt(env, obj))->orientation(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDialog_reject(JNIEnv* env, jobject obj) -{ - ((TQDialogJBridge*) QtSupport::getQt(env, obj))->protected_reject(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDialog_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQDialogJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDialog_resize__II(JNIEnv* env, jobject obj, jint w, jint h) -{ - ((TQDialog*) QtSupport::getQt(env, obj))->resize((int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDialog_resize__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQDialog*) QtSupport::getQt(env, obj))->resize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDialog_result(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDialog*) QtSupport::getQt(env, obj))->result(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDialog_setExtension(JNIEnv* env, jobject obj, jobject extension) -{ - ((TQDialog*) QtSupport::getQt(env, obj))->setExtension((TQWidget*) QtSupport::getQt(env, extension)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDialog_setGeometry__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) -{ - ((TQDialog*) QtSupport::getQt(env, obj))->setGeometry((int) x, (int) y, (int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDialog_setGeometry__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQDialog*) QtSupport::getQt(env, obj))->setGeometry((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDialog_setModal(JNIEnv* env, jobject obj, jboolean modal) -{ - ((TQDialog*) QtSupport::getQt(env, obj))->setModal((bool) modal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDialog_setOrientation(JNIEnv* env, jobject obj, jint orientation) -{ - ((TQDialog*) QtSupport::getQt(env, obj))->setOrientation((TQt::Orientation) orientation); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDialog_setResult(JNIEnv* env, jobject obj, jint r) -{ - ((TQDialogJBridge*) QtSupport::getQt(env, obj))->protected_setResult((int) r); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDialog_setSizeGripEnabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQDialog*) QtSupport::getQt(env, obj))->setSizeGripEnabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDialog_showExtension(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQDialogJBridge*) QtSupport::getQt(env, obj))->protected_showExtension((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDialog_show(JNIEnv* env, jobject obj) -{ - ((TQDialog*) QtSupport::getQt(env, obj))->show(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDialog_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQDialog*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDialog_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQDialogJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDialog_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQDialogJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QDialog.h b/qtjava/javalib/qtjava/QDialog.h deleted file mode 100644 index abfb688e..00000000 --- a/qtjava/javalib/qtjava/QDialog.h +++ /dev/null @@ -1,61 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDialog__ -#define __org_kde_qt_QDialog__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_newTQDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZI (JNIEnv *env, jobject, jobject, jstring, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_newTQDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_newTQDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_newTQDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_newTQDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDialog_result (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_show (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_hide (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_move__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_move__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_resize__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_resize__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_setGeometry__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_setGeometry__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_setOrientation (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDialog_orientation (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_setExtension (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDialog_extension (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDialog_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDialog_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_setSizeGripEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDialog_isSizeGripEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_setModal (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDialog_isModal (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDialog_exec (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDialog_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDialog_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_setResult (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_closeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_contextMenuEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDialog_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_adjustPosition (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_done (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_accept (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_reject (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_showExtension (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDialog__ */ diff --git a/qtjava/javalib/qtjava/QDir.cpp b/qtjava/javalib/qtjava/QDir.cpp deleted file mode 100644 index 5ac8e868..00000000 --- a/qtjava/javalib/qtjava/QDir.cpp +++ /dev/null @@ -1,645 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -class TQDirJBridge : public TQDir -{ -public: - TQDirJBridge() : TQDir() {}; - TQDirJBridge(const TQString& arg1,const TQString& arg2,int arg3,int arg4) : TQDir(arg1,arg2,arg3,arg4) {}; - TQDirJBridge(const TQString& arg1,const TQString& arg2,int arg3) : TQDir(arg1,arg2,arg3) {}; - TQDirJBridge(const TQString& arg1,const TQString& arg2) : TQDir(arg1,arg2) {}; - TQDirJBridge(const TQString& arg1) : TQDir(arg1) {}; - TQDirJBridge(const TQDir& arg1) : TQDir(arg1) {}; - void public_convertToAbs() { - TQDir::convertToAbs(); - return; - } - ~TQDirJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDir_absFilePath__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName) -{ - TQString _qstring; -static TQString* _qstring_fileName = 0; - _qstring = ((TQDir*) QtSupport::getQt(env, obj))->absFilePath((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDir_absFilePath__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring fileName, jboolean acceptAbsPath) -{ - TQString _qstring; -static TQString* _qstring_fileName = 0; - _qstring = ((TQDir*) QtSupport::getQt(env, obj))->absFilePath((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (bool) acceptAbsPath); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDir_absPath(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQDir*) QtSupport::getQt(env, obj))->absPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDir_canonicalPath(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQDir*) QtSupport::getQt(env, obj))->canonicalPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDir_cdUp(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->cdUp(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDir_cd__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring dirName) -{ -static TQString* _qstring_dirName = 0; - jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->cd((const TQString&)*(TQString*) QtSupport::toTQString(env, dirName, &_qstring_dirName)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDir_cd__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring dirName, jboolean acceptAbsPath) -{ -static TQString* _qstring_dirName = 0; - jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->cd((const TQString&)*(TQString*) QtSupport::toTQString(env, dirName, &_qstring_dirName), (bool) acceptAbsPath); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDir_cleanDirPath(JNIEnv* env, jclass cls, jstring dirPath) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_dirPath = 0; - _qstring = TQDirJBridge::cleanDirPath((const TQString&)*(TQString*) QtSupport::toTQString(env, dirPath, &_qstring_dirPath)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDir_convertSeparators(JNIEnv* env, jclass cls, jstring pathName) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_pathName = 0; - _qstring = TQDirJBridge::convertSeparators((const TQString&)*(TQString*) QtSupport::toTQString(env, pathName, &_qstring_pathName)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDir_convertToAbs(JNIEnv* env, jobject obj) -{ - ((TQDirJBridge*) QtSupport::getQt(env, obj))->public_convertToAbs(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDir_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDir*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDir_currentDirPath(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TQDirJBridge::currentDirPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDir_current(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDir(TQDirJBridge::current()), "org.kde.qt.TQDir", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDir_dirName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQDir*) QtSupport::getQt(env, obj))->dirName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDir_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QDir_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDir_encodedEntryList__(JNIEnv* env, jobject obj) -{ - TQStrList _qlist; - _qlist = ((TQDir*) QtSupport::getQt(env, obj))->encodedEntryList(); - return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDir_encodedEntryList__I(JNIEnv* env, jobject obj, jint filterSpec) -{ - TQStrList _qlist; - _qlist = ((TQDir*) QtSupport::getQt(env, obj))->encodedEntryList((int) filterSpec); - return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDir_encodedEntryList__II(JNIEnv* env, jobject obj, jint filterSpec, jint sortSpec) -{ - TQStrList _qlist; - _qlist = ((TQDir*) QtSupport::getQt(env, obj))->encodedEntryList((int) filterSpec, (int) sortSpec); - return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDir_encodedEntryList__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring nameFilter) -{ - TQStrList _qlist; -static TQString* _qstring_nameFilter = 0; - _qlist = ((TQDir*) QtSupport::getQt(env, obj))->encodedEntryList((const TQString&)*(TQString*) QtSupport::toTQString(env, nameFilter, &_qstring_nameFilter)); - return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDir_encodedEntryList__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring nameFilter, jint filterSpec) -{ - TQStrList _qlist; -static TQString* _qstring_nameFilter = 0; - _qlist = ((TQDir*) QtSupport::getQt(env, obj))->encodedEntryList((const TQString&)*(TQString*) QtSupport::toTQString(env, nameFilter, &_qstring_nameFilter), (int) filterSpec); - return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDir_encodedEntryList__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring nameFilter, jint filterSpec, jint sortSpec) -{ - TQStrList _qlist; -static TQString* _qstring_nameFilter = 0; - _qlist = ((TQDir*) QtSupport::getQt(env, obj))->encodedEntryList((const TQString&)*(TQString*) QtSupport::toTQString(env, nameFilter, &_qstring_nameFilter), (int) filterSpec, (int) sortSpec); - return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDir_entryList__(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TQDir*) QtSupport::getQt(env, obj))->entryList(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDir_entryList__I(JNIEnv* env, jobject obj, jint filterSpec) -{ - TQStringList _qlist; - _qlist = ((TQDir*) QtSupport::getQt(env, obj))->entryList((int) filterSpec); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDir_entryList__II(JNIEnv* env, jobject obj, jint filterSpec, jint sortSpec) -{ - TQStringList _qlist; - _qlist = ((TQDir*) QtSupport::getQt(env, obj))->entryList((int) filterSpec, (int) sortSpec); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDir_entryList__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring nameFilter) -{ - TQStringList _qlist; -static TQString* _qstring_nameFilter = 0; - _qlist = ((TQDir*) QtSupport::getQt(env, obj))->entryList((const TQString&)*(TQString*) QtSupport::toTQString(env, nameFilter, &_qstring_nameFilter)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDir_entryList__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring nameFilter, jint filterSpec) -{ - TQStringList _qlist; -static TQString* _qstring_nameFilter = 0; - _qlist = ((TQDir*) QtSupport::getQt(env, obj))->entryList((const TQString&)*(TQString*) QtSupport::toTQString(env, nameFilter, &_qstring_nameFilter), (int) filterSpec); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDir_entryList__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring nameFilter, jint filterSpec, jint sortSpec) -{ - TQStringList _qlist; -static TQString* _qstring_nameFilter = 0; - _qlist = ((TQDir*) QtSupport::getQt(env, obj))->entryList((const TQString&)*(TQString*) QtSupport::toTQString(env, nameFilter, &_qstring_nameFilter), (int) filterSpec, (int) sortSpec); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDir_exists__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->exists(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDir_exists__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->exists((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDir_exists__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring name, jboolean acceptAbsPath) -{ -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->exists((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (bool) acceptAbsPath); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDir_filePath__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName) -{ - TQString _qstring; -static TQString* _qstring_fileName = 0; - _qstring = ((TQDir*) QtSupport::getQt(env, obj))->filePath((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDir_filePath__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring fileName, jboolean acceptAbsPath) -{ - TQString _qstring; -static TQString* _qstring_fileName = 0; - _qstring = ((TQDir*) QtSupport::getQt(env, obj))->filePath((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (bool) acceptAbsPath); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDir_filter(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDir*) QtSupport::getQt(env, obj))->filter(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDir_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDir*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDir_homeDirPath(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TQDirJBridge::homeDirPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDir_home(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDir(TQDirJBridge::home()), "org.kde.qt.TQDir", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDir_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDir_isReadable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->isReadable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDir_isRelativePath(JNIEnv* env, jclass cls, jstring path) -{ - (void) cls; -static TQString* _qstring_path = 0; - jboolean xret = (jboolean) TQDirJBridge::isRelativePath((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDir_isRelative(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->isRelative(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDir_isRoot(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->isRoot(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDir_matchAllDirs(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->matchAllDirs(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDir_match__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filter, jstring fileName) -{ - (void) cls; -static TQString* _qstring_filter = 0; -static TQString* _qstring_fileName = 0; - jboolean xret = (jboolean) TQDirJBridge::match((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDir_match___3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobjectArray filters, jstring fileName) -{ - (void) cls; -static TQStringList* _qlist_filters = 0; -static TQString* _qstring_fileName = 0; - jboolean xret = (jboolean) TQDirJBridge::match((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, filters, &_qlist_filters), (const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDir_mkdir__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring dirName) -{ -static TQString* _qstring_dirName = 0; - jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->mkdir((const TQString&)*(TQString*) QtSupport::toTQString(env, dirName, &_qstring_dirName)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDir_mkdir__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring dirName, jboolean acceptAbsPath) -{ -static TQString* _qstring_dirName = 0; - jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->mkdir((const TQString&)*(TQString*) QtSupport::toTQString(env, dirName, &_qstring_dirName), (bool) acceptAbsPath); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDir_nameFilter(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQDir*) QtSupport::getQt(env, obj))->nameFilter(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDir_newTQDir__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDirJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDir_newTQDir__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 TQDirJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDir_newTQDir__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring path, jstring nameFilter) -{ -static TQString* _qstring_path = 0; -static TQString* _qstring_nameFilter = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDirJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (const TQString&)*(TQString*) QtSupport::toTQString(env, nameFilter, &_qstring_nameFilter))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDir_newTQDir__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring path, jstring nameFilter, jint sortSpec) -{ -static TQString* _qstring_path = 0; -static TQString* _qstring_nameFilter = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDirJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (const TQString&)*(TQString*) QtSupport::toTQString(env, nameFilter, &_qstring_nameFilter), (int) sortSpec)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDir_newTQDir__Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring path, jstring nameFilter, jint sortSpec, jint filterSpec) -{ -static TQString* _qstring_path = 0; -static TQString* _qstring_nameFilter = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDirJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (const TQString&)*(TQString*) QtSupport::toTQString(env, nameFilter, &_qstring_nameFilter), (int) sortSpec, (int) filterSpec)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDir_newTQDir__Lorg_kde_qt_QDir_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDirJBridge((const TQDir&)*(const TQDir*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDir_op_1at(JNIEnv* env, jobject obj, jint arg1) -{ - TQString _qstring; - _qstring = ((TQDir*) QtSupport::getQt(env, obj))->operator[]((int) arg1); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDir_op_1equals(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->operator==((const TQDir&)*(const TQDir*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDir_op_1not_1equals(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->operator!=((const TQDir&)*(const TQDir*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDir_path(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQDir*) QtSupport::getQt(env, obj))->path(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDir_refresh(JNIEnv* env, jobject obj) -{ - ((TQDir*) QtSupport::getQt(env, obj))->refresh(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDir_remove__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName) -{ -static TQString* _qstring_fileName = 0; - jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->remove((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDir_remove__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring fileName, jboolean acceptAbsPath) -{ -static TQString* _qstring_fileName = 0; - jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->remove((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (bool) acceptAbsPath); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDir_rename__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring newName) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_newName = 0; - jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->rename((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, newName, &_qstring_newName)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDir_rename__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring name, jstring newName, jboolean acceptAbsPaths) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_newName = 0; - jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->rename((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, newName, &_qstring_newName), (bool) acceptAbsPaths); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDir_rmdir__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring dirName) -{ -static TQString* _qstring_dirName = 0; - jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->rmdir((const TQString&)*(TQString*) QtSupport::toTQString(env, dirName, &_qstring_dirName)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDir_rmdir__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring dirName, jboolean acceptAbsPath) -{ -static TQString* _qstring_dirName = 0; - jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->rmdir((const TQString&)*(TQString*) QtSupport::toTQString(env, dirName, &_qstring_dirName), (bool) acceptAbsPath); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDir_rootDirPath(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TQDirJBridge::rootDirPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDir_root(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDir(TQDirJBridge::root()), "org.kde.qt.TQDir", TRUE); - return xret; -} - -JNIEXPORT jchar JNICALL -Java_org_kde_qt_QDir_separator(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jchar xret = (jchar) TQDirJBridge::separator(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDir_setCurrent(JNIEnv* env, jclass cls, jstring path) -{ - (void) cls; -static TQString* _qstring_path = 0; - jboolean xret = (jboolean) TQDirJBridge::setCurrent((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDir_setFilter(JNIEnv* env, jobject obj, jint filterSpec) -{ - ((TQDir*) QtSupport::getQt(env, obj))->setFilter((int) filterSpec); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDir_setMatchAllDirs(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQDir*) QtSupport::getQt(env, obj))->setMatchAllDirs((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDir_setNameFilter(JNIEnv* env, jobject obj, jstring nameFilter) -{ -static TQString* _qstring_nameFilter = 0; - ((TQDir*) QtSupport::getQt(env, obj))->setNameFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, nameFilter, &_qstring_nameFilter)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDir_setPath(JNIEnv* env, jobject obj, jstring path) -{ -static TQString* _qstring_path = 0; - ((TQDir*) QtSupport::getQt(env, obj))->setPath((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDir_setSorting(JNIEnv* env, jobject obj, jint sortSpec) -{ - ((TQDir*) QtSupport::getQt(env, obj))->setSorting((int) sortSpec); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDir_sorting(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDir*) QtSupport::getQt(env, obj))->sorting(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QDir.h b/qtjava/javalib/qtjava/QDir.h deleted file mode 100644 index 590e34e5..00000000 --- a/qtjava/javalib/qtjava/QDir.h +++ /dev/null @@ -1,92 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDir__ -#define __org_kde_qt_QDir__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDir_newTQDir__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDir_newTQDir__Ljava_lang_String_2Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDir_newTQDir__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDir_newTQDir__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDir_newTQDir__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDir_newTQDir__Lorg_kde_qt_QDir_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDir_setPath (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDir_path (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDir_absPath (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDir_canonicalPath (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDir_dirName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDir_filePath__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDir_filePath__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDir_absFilePath__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDir_absFilePath__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_cd__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_cd__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_cdUp (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDir_nameFilter (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDir_setNameFilter (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDir_filter (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDir_setFilter (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDir_sorting (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDir_setSorting (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_matchAllDirs (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDir_setMatchAllDirs (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDir_count (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDir_op_1at (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDir_encodedEntryList__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDir_encodedEntryList__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDir_encodedEntryList__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDir_encodedEntryList__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDir_encodedEntryList__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDir_encodedEntryList__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDir_entryList__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDir_entryList__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDir_entryList__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDir_entryList__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDir_entryList__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDir_entryList__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_mkdir__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_mkdir__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_rmdir__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_rmdir__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_isReadable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_exists__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_isRoot (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_isRelative (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDir_convertToAbs (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_op_1not_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_remove__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_remove__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_rename__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_rename__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_exists__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_exists__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDir_refresh (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDir_convertSeparators (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jchar JNICALL Java_org_kde_qt_QDir_separator (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_setCurrent (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDir_current (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDir_home (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDir_root (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDir_currentDirPath (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDir_homeDirPath (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDir_rootDirPath (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_match___3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobjectArray, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_match__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDir_cleanDirPath (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_isRelativePath (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDir_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDir_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDir__ */ diff --git a/qtjava/javalib/qtjava/QDockArea.cpp b/qtjava/javalib/qtjava/QDockArea.cpp deleted file mode 100644 index 4adf7b93..00000000 --- a/qtjava/javalib/qtjava/QDockArea.cpp +++ /dev/null @@ -1,573 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include - -class TQDockAreaJBridge : public TQDockArea -{ -public: - TQDockAreaJBridge(TQt::Orientation arg1,TQDockArea::HandlePosition arg2,TQWidget* arg3,const char* arg4) : TQDockArea(arg1,arg2,arg3,arg4) {}; - TQDockAreaJBridge(TQt::Orientation arg1,TQDockArea::HandlePosition arg2,TQWidget* arg3) : TQDockArea(arg1,arg2,arg3) {}; - TQDockAreaJBridge(TQt::Orientation arg1,TQDockArea::HandlePosition arg2) : TQDockArea(arg1,arg2) {}; - TQDockAreaJBridge(TQt::Orientation arg1) : TQDockArea(arg1) {}; - ~TQDockAreaJBridge() {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.qt.TQDockArea","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.qt.TQDockArea","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.qt.TQDockArea","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.qt.TQDockArea","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.qt.TQDockArea","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.qt.TQDockArea","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDockArea","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.qt.TQDockArea","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDockArea","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.qt.TQDockArea","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.qt.TQDockArea","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDockArea_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQDockArea*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDockArea_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDockArea*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockArea_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QDockArea_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDockArea_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - jboolean xret = (jboolean) ((TQDockArea*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockArea_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQDockArea*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQDockArea*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDockArea_handlePosition(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDockArea*) QtSupport::getQt(env, obj))->handlePosition(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDockArea_hasDockWindow__Lorg_kde_qt_QDockWindow_2(JNIEnv* env, jobject obj, jobject w) -{ - jboolean xret = (jboolean) ((TQDockArea*) QtSupport::getQt(env, obj))->hasDockWindow((TQDockWindow*) QtSupport::getQt(env, w)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDockArea_hasDockWindow__Lorg_kde_qt_QDockWindow_2_3I(JNIEnv* env, jobject obj, jobject w, jintArray index) -{ - int* _int_index = QtSupport::toIntPtr(env, index); - jboolean xret = (jboolean) ((TQDockArea*) QtSupport::getQt(env, obj))->hasDockWindow((TQDockWindow*) QtSupport::getQt(env, w), (int*) _int_index); - env->SetIntArrayRegion(index, 0, 1, (jint *) _int_index); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockArea_invalidNextOffset(JNIEnv* env, jobject obj, jobject dw) -{ - ((TQDockArea*) QtSupport::getQt(env, obj))->invalidNextOffset((TQDockWindow*) QtSupport::getQt(env, dw)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDockArea_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDockArea_isDockWindowAccepted(JNIEnv* env, jobject obj, jobject dw) -{ - jboolean xret = (jboolean) ((TQDockArea*) QtSupport::getQt(env, obj))->isDockWindowAccepted((TQDockWindow*) QtSupport::getQt(env, dw)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDockArea_isEmpty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDockArea*) QtSupport::getQt(env, obj))->isEmpty(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockArea_lineUp(JNIEnv* env, jobject obj, jboolean keepNewLines) -{ - ((TQDockArea*) QtSupport::getQt(env, obj))->lineUp((bool) keepNewLines); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDockArea_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDockArea*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockArea_moveDockWindow__Lorg_kde_qt_QDockWindow_2(JNIEnv* env, jobject obj, jobject w) -{ - ((TQDockArea*) QtSupport::getQt(env, obj))->moveDockWindow((TQDockWindow*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockArea_moveDockWindow__Lorg_kde_qt_QDockWindow_2I(JNIEnv* env, jobject obj, jobject w, jint index) -{ - ((TQDockArea*) QtSupport::getQt(env, obj))->moveDockWindow((TQDockWindow*) QtSupport::getQt(env, w), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockArea_moveDockWindow__Lorg_kde_qt_QDockWindow_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QRect_2Z(JNIEnv* env, jobject obj, jobject w, jobject globalPos, jobject rect, jboolean swap) -{ - ((TQDockArea*) QtSupport::getQt(env, obj))->moveDockWindow((TQDockWindow*) QtSupport::getQt(env, w), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, globalPos), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, rect), (bool) swap); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockArea_newTQDockArea__I(JNIEnv* env, jobject obj, jint o) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDockAreaJBridge((TQt::Orientation) o)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockArea_newTQDockArea__II(JNIEnv* env, jobject obj, jint o, jint h) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDockAreaJBridge((TQt::Orientation) o, (TQDockArea::HandlePosition) h)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockArea_newTQDockArea__IILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint o, jint h, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDockAreaJBridge((TQt::Orientation) o, (TQDockArea::HandlePosition) h, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockArea_newTQDockArea__IILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint o, jint h, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDockAreaJBridge((TQt::Orientation) o, (TQDockArea::HandlePosition) h, (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_qt_QDockArea_orientation(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDockArea*) QtSupport::getQt(env, obj))->orientation(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockArea_removeDockWindow__Lorg_kde_qt_QDockWindow_2ZZ(JNIEnv* env, jobject obj, jobject w, jboolean makeFloating, jboolean swap) -{ - ((TQDockArea*) QtSupport::getQt(env, obj))->removeDockWindow((TQDockWindow*) QtSupport::getQt(env, w), (bool) makeFloating, (bool) swap); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockArea_removeDockWindow__Lorg_kde_qt_QDockWindow_2ZZZ(JNIEnv* env, jobject obj, jobject w, jboolean makeFloating, jboolean swap, jboolean fixNewLines) -{ - ((TQDockArea*) QtSupport::getQt(env, obj))->removeDockWindow((TQDockWindow*) QtSupport::getQt(env, w), (bool) makeFloating, (bool) swap, (bool) fixNewLines); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockArea_setAcceptDockWindow(JNIEnv* env, jobject obj, jobject dw, jboolean accept) -{ - ((TQDockArea*) QtSupport::getQt(env, obj))->setAcceptDockWindow((TQDockWindow*) QtSupport::getQt(env, dw), (bool) accept); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDockArea_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQDockAreaJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDockArea_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQDockAreaJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QDockArea.h b/qtjava/javalib/qtjava/QDockArea.h deleted file mode 100644 index 4bea61df..00000000 --- a/qtjava/javalib/qtjava/QDockArea.h +++ /dev/null @@ -1,45 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDockArea__ -#define __org_kde_qt_QDockArea__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDockArea_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDockArea_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockArea_newTQDockArea__IILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockArea_newTQDockArea__IILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockArea_newTQDockArea__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockArea_newTQDockArea__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockArea_moveDockWindow__Lorg_kde_qt_QDockWindow_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QRect_2Z (JNIEnv *env, jobject, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockArea_removeDockWindow__Lorg_kde_qt_QDockWindow_2ZZZ (JNIEnv *env, jobject, jobject, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockArea_removeDockWindow__Lorg_kde_qt_QDockWindow_2ZZ (JNIEnv *env, jobject, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockArea_moveDockWindow__Lorg_kde_qt_QDockWindow_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockArea_moveDockWindow__Lorg_kde_qt_QDockWindow_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockArea_hasDockWindow__Lorg_kde_qt_QDockWindow_2_3I (JNIEnv *env, jobject, jobject, jintArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockArea_hasDockWindow__Lorg_kde_qt_QDockWindow_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockArea_invalidNextOffset (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDockArea_orientation (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDockArea_handlePosition (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockArea_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockArea_isEmpty (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDockArea_count (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockArea_isDockWindowAccepted (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockArea_setAcceptDockWindow (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockArea_lineUp (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDockArea_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDockArea_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockArea_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockArea_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockArea_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDockArea__ */ diff --git a/qtjava/javalib/qtjava/QDockWindow.cpp b/qtjava/javalib/qtjava/QDockWindow.cpp deleted file mode 100644 index 3157dc68..00000000 --- a/qtjava/javalib/qtjava/QDockWindow.cpp +++ /dev/null @@ -1,894 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -class TQDockWindowJBridge : public TQDockWindow -{ -public: - TQDockWindowJBridge(TQDockWindow::Place arg1,TQWidget* arg2,const char* arg3,TQt::WFlags arg4) : TQDockWindow(arg1,arg2,arg3,arg4) {}; - TQDockWindowJBridge(TQDockWindow::Place arg1,TQWidget* arg2,const char* arg3) : TQDockWindow(arg1,arg2,arg3) {}; - TQDockWindowJBridge(TQDockWindow::Place arg1,TQWidget* arg2) : TQDockWindow(arg1,arg2) {}; - TQDockWindowJBridge(TQDockWindow::Place arg1) : TQDockWindow(arg1) {}; - TQDockWindowJBridge() : TQDockWindow() {}; - TQDockWindowJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQDockWindow(arg1,arg2,arg3) {}; - TQDockWindowJBridge(TQWidget* arg1,const char* arg2) : TQDockWindow(arg1,arg2) {}; - TQDockWindowJBridge(TQWidget* arg1) : TQDockWindow(arg1) {}; - void public_undock() { - TQDockWindow::undock(); - return; - } - void public_dock() { - TQDockWindow::dock(); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQDockWindow::resizeEvent(arg1); - return; - } - void protected_showEvent(TQShowEvent* arg1) { - TQDockWindow::showEvent(arg1); - return; - } - void protected_hideEvent(TQHideEvent* arg1) { - TQDockWindow::hideEvent(arg1); - return; - } - void protected_contextMenuEvent(TQContextMenuEvent* arg1) { - TQDockWindow::contextMenuEvent(arg1); - return; - } - void protected_drawFrame(TQPainter* arg1) { - TQDockWindow::drawFrame(arg1); - return; - } - void protected_drawContents(TQPainter* arg1) { - TQDockWindow::drawContents(arg1); - return; - } - bool protected_event(TQEvent* arg1) { - return (bool) TQDockWindow::event(arg1); - } - ~TQDockWindowJBridge() {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")) { - TQDockWindow::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.qt.TQDockWindow","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.qt.TQDockWindow","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.qt.TQDockWindow","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.qt.TQDockWindow","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.qt.TQDockWindow","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.qt.TQDockWindow","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDockWindow","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")) { - TQDockWindow::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.qt.TQDockWindow","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")) { - TQObject::childEvent(arg1); - } - return; - } - void undock() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDockWindow","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.qt.TQDockWindow","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDockWindow","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.qt.TQDockWindow","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.qt.TQDockWindow","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDockWindow","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDockWindow_area(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDockWindow*) QtSupport::getQt(env, obj))->area(), "org.kde.qt.TQDockArea"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDockWindow_boxLayout(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDockWindow*) QtSupport::getQt(env, obj))->boxLayout(), "org.kde.qt.TQBoxLayout"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDockWindow_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQDockWindow*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDockWindow_closeMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDockWindow*) QtSupport::getQt(env, obj))->closeMode(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_contextMenuEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQDockWindowJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QDockWindow_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_dock(JNIEnv* env, jobject obj) -{ - ((TQDockWindowJBridge*) QtSupport::getQt(env, obj))->public_dock(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_drawContents(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQDockWindowJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_drawFrame(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQDockWindowJBridge*) QtSupport::getQt(env, obj))->protected_drawFrame((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDockWindow_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject e) -{ - jboolean xret = (jboolean) ((TQDockWindow*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDockWindow_event(JNIEnv* env, jobject obj, jobject e) -{ - jboolean xret = (jboolean) ((TQDockWindowJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQDockWindow*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQDockWindow*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDockWindow_fixedExtent(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQDockWindow*) QtSupport::getQt(env, obj))->fixedExtent()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_hideEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQDockWindowJBridge*) QtSupport::getQt(env, obj))->protected_hideEvent((TQHideEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDockWindow_isCloseEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDockWindow*) QtSupport::getQt(env, obj))->isCloseEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDockWindow_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDockWindow_isHorizontalStretchable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDockWindow*) QtSupport::getQt(env, obj))->isHorizontalStretchable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDockWindow_isHorizontallyStretchable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDockWindow*) QtSupport::getQt(env, obj))->isHorizontallyStretchable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDockWindow_isMovingEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDockWindow*) QtSupport::getQt(env, obj))->isMovingEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDockWindow_isResizeEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDockWindow*) QtSupport::getQt(env, obj))->isResizeEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDockWindow_isStretchable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDockWindow*) QtSupport::getQt(env, obj))->isStretchable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDockWindow_isVerticalStretchable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDockWindow*) QtSupport::getQt(env, obj))->isVerticalStretchable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDockWindow_isVerticallyStretchable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDockWindow*) QtSupport::getQt(env, obj))->isVerticallyStretchable(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDockWindow_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDockWindow*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDockWindow_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQDockWindow*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDockWindow_minimumSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQDockWindow*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDockWindow_newLine(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDockWindow*) QtSupport::getQt(env, obj))->newLine(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_newTQDockWindow__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDockWindowJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_newTQDockWindow__I(JNIEnv* env, jobject obj, jint p) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDockWindowJBridge((TQDockWindow::Place) p)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_newTQDockWindow__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint p, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDockWindowJBridge((TQDockWindow::Place) p, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_newTQDockWindow__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint p, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDockWindowJBridge((TQDockWindow::Place) p, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_newTQDockWindow__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jint p, jobject parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDockWindowJBridge((TQDockWindow::Place) p, (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_qt_QDockWindow_newTQDockWindow__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDockWindowJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_newTQDockWindow__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 TQDockWindowJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_newTQDockWindow__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 TQDockWindowJBridge((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_qt_QDockWindow_offset(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDockWindow*) QtSupport::getQt(env, obj))->offset(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDockWindow_opaqueMoving(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDockWindow*) QtSupport::getQt(env, obj))->opaqueMoving(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDockWindow_orientation(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDockWindow*) QtSupport::getQt(env, obj))->orientation(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDockWindow_place(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDockWindow*) QtSupport::getQt(env, obj))->place(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_resizeEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQDockWindowJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_setCaption(JNIEnv* env, jobject obj, jstring s) -{ -static TQString* _qstring_s = 0; - ((TQDockWindow*) QtSupport::getQt(env, obj))->setCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_setCloseMode(JNIEnv* env, jobject obj, jint m) -{ - ((TQDockWindow*) QtSupport::getQt(env, obj))->setCloseMode((int) m); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_setFixedExtentHeight(JNIEnv* env, jobject obj, jint h) -{ - ((TQDockWindow*) QtSupport::getQt(env, obj))->setFixedExtentHeight((int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_setFixedExtentWidth(JNIEnv* env, jobject obj, jint w) -{ - ((TQDockWindow*) QtSupport::getQt(env, obj))->setFixedExtentWidth((int) w); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_setHorizontalStretchable(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQDockWindow*) QtSupport::getQt(env, obj))->setHorizontalStretchable((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_setHorizontallyStretchable(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQDockWindow*) QtSupport::getQt(env, obj))->setHorizontallyStretchable((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_setMovingEnabled(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQDockWindow*) QtSupport::getQt(env, obj))->setMovingEnabled((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_setNewLine(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQDockWindow*) QtSupport::getQt(env, obj))->setNewLine((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_setOffset(JNIEnv* env, jobject obj, jint o) -{ - ((TQDockWindow*) QtSupport::getQt(env, obj))->setOffset((int) o); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_setOpaqueMoving(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQDockWindow*) QtSupport::getQt(env, obj))->setOpaqueMoving((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_setOrientation(JNIEnv* env, jobject obj, jint o) -{ - ((TQDockWindow*) QtSupport::getQt(env, obj))->setOrientation((TQt::Orientation) o); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_setResizeEnabled(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQDockWindow*) QtSupport::getQt(env, obj))->setResizeEnabled((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_setVerticalStretchable(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQDockWindow*) QtSupport::getQt(env, obj))->setVerticalStretchable((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_setVerticallyStretchable(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQDockWindow*) QtSupport::getQt(env, obj))->setVerticallyStretchable((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_setWidget(JNIEnv* env, jobject obj, jobject w) -{ - ((TQDockWindow*) QtSupport::getQt(env, obj))->setWidget((TQWidget*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_showEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQDockWindowJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDockWindow_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQDockWindow*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDockWindow_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQDockWindowJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDockWindow_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQDockWindowJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_undock__(JNIEnv* env, jobject obj) -{ - ((TQDockWindowJBridge*) QtSupport::getQt(env, obj))->public_undock(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_undock__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject w) -{ - ((TQDockWindow*) QtSupport::getQt(env, obj))->undock((TQWidget*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDockWindow_widget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDockWindow*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget"); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QDockWindow.h b/qtjava/javalib/qtjava/QDockWindow.h deleted file mode 100644 index db5aaf97..00000000 --- a/qtjava/javalib/qtjava/QDockWindow.h +++ /dev/null @@ -1,80 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDockWindow__ -#define __org_kde_qt_QDockWindow__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDockWindow_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDockWindow_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_newTQDockWindow__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jint, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_newTQDockWindow__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_newTQDockWindow__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_newTQDockWindow__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_newTQDockWindow__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_newTQDockWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_newTQDockWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_newTQDockWindow__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_setWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDockWindow_widget (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDockWindow_place (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDockWindow_area (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_setCloseMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockWindow_isCloseEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDockWindow_closeMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_setResizeEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_setMovingEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockWindow_isResizeEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockWindow_isMovingEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_setHorizontallyStretchable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_setVerticallyStretchable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockWindow_isHorizontallyStretchable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockWindow_isVerticallyStretchable (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_setHorizontalStretchable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_setVerticalStretchable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockWindow_isHorizontalStretchable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockWindow_isVerticalStretchable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockWindow_isStretchable (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_setOffset (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDockWindow_offset (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_setFixedExtentWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_setFixedExtentHeight (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDockWindow_fixedExtent (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_setNewLine (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockWindow_newLine (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDockWindow_orientation (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDockWindow_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDockWindow_minimumSize (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDockWindow_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDockWindow_boxLayout (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_setOpaqueMoving (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockWindow_opaqueMoving (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockWindow_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_undock__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_undock__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_dock (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_setOrientation (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_setCaption (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDockWindow_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDockWindow_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_showEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_hideEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_contextMenuEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_drawFrame (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_drawContents (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockWindow_event (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockWindow_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDockWindow__ */ diff --git a/qtjava/javalib/qtjava/QDomAttr.cpp b/qtjava/javalib/qtjava/QDomAttr.cpp deleted file mode 100644 index fe6adebb..00000000 --- a/qtjava/javalib/qtjava/QDomAttr.cpp +++ /dev/null @@ -1,110 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQDomAttrJBridge : public TQDomAttr -{ -public: - TQDomAttrJBridge() : TQDomAttr() {}; - TQDomAttrJBridge(const TQDomAttr& arg1) : TQDomAttr(arg1) {}; - ~TQDomAttrJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomAttr_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QDomAttr_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomAttr_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDomAttr*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomAttr_isAttr(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDomAttr*) QtSupport::getQt(env, obj))->isAttr(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomAttr_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDomAttr_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQDomAttr*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomAttr_newTQDomAttr__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDomAttrJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomAttr_newTQDomAttr__Lorg_kde_qt_QDomAttr_2(JNIEnv* env, jobject obj, jobject x) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDomAttrJBridge((const TQDomAttr&)*(const TQDomAttr*) QtSupport::getQt(env, x))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDomAttr_nodeType(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDomAttr*) QtSupport::getQt(env, obj))->nodeType(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomAttr_ownerElement(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomElement(((TQDomAttr*) QtSupport::getQt(env, obj))->ownerElement()), "org.kde.qt.TQDomElement", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomAttr_setValue(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQDomAttr*) QtSupport::getQt(env, obj))->setValue((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomAttr_specified(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDomAttr*) QtSupport::getQt(env, obj))->specified(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDomAttr_value(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQDomAttr*) QtSupport::getQt(env, obj))->value(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QDomAttr.h b/qtjava/javalib/qtjava/QDomAttr.h deleted file mode 100644 index d9f46a1d..00000000 --- a/qtjava/javalib/qtjava/QDomAttr.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDomAttr__ -#define __org_kde_qt_QDomAttr__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomAttr_newTQDomAttr__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomAttr_newTQDomAttr__Lorg_kde_qt_QDomAttr_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomAttr_name (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomAttr_specified (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomAttr_ownerElement (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomAttr_value (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomAttr_setValue (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDomAttr_nodeType (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomAttr_isAttr (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomAttr_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomAttr_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomAttr_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDomAttr__ */ diff --git a/qtjava/javalib/qtjava/QDomCDATASection.cpp b/qtjava/javalib/qtjava/QDomCDATASection.cpp deleted file mode 100644 index cd91d938..00000000 --- a/qtjava/javalib/qtjava/QDomCDATASection.cpp +++ /dev/null @@ -1,71 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - -class TQDomCDATASectionJBridge : public TQDomCDATASection -{ -public: - TQDomCDATASectionJBridge() : TQDomCDATASection() {}; - TQDomCDATASectionJBridge(const TQDomCDATASection& arg1) : TQDomCDATASection(arg1) {}; - ~TQDomCDATASectionJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomCDATASection_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QDomCDATASection_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomCDATASection_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDomCDATASection*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomCDATASection_isCDATASection(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDomCDATASection*) QtSupport::getQt(env, obj))->isCDATASection(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomCDATASection_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomCDATASection_newTQDomCDATASection__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDomCDATASectionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomCDATASection_newTQDomCDATASection__Lorg_kde_qt_QDomCDATASection_2(JNIEnv* env, jobject obj, jobject x) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDomCDATASectionJBridge((const TQDomCDATASection&)*(const TQDomCDATASection*) QtSupport::getQt(env, x))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDomCDATASection_nodeType(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDomCDATASection*) QtSupport::getQt(env, obj))->nodeType(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QDomCDATASection.h b/qtjava/javalib/qtjava/QDomCDATASection.h deleted file mode 100644 index e40acbe0..00000000 --- a/qtjava/javalib/qtjava/QDomCDATASection.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDomCDATASection__ -#define __org_kde_qt_QDomCDATASection__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomCDATASection_newTQDomCDATASection__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomCDATASection_newTQDomCDATASection__Lorg_kde_qt_QDomCDATASection_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDomCDATASection_nodeType (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomCDATASection_isCDATASection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomCDATASection_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomCDATASection_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomCDATASection_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDomCDATASection__ */ diff --git a/qtjava/javalib/qtjava/QDomCharacterData.cpp b/qtjava/javalib/qtjava/QDomCharacterData.cpp deleted file mode 100644 index ddd06e11..00000000 --- a/qtjava/javalib/qtjava/QDomCharacterData.cpp +++ /dev/null @@ -1,134 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQDomCharacterDataJBridge : public TQDomCharacterData -{ -public: - TQDomCharacterDataJBridge() : TQDomCharacterData() {}; - TQDomCharacterDataJBridge(const TQDomCharacterData& arg1) : TQDomCharacterData(arg1) {}; - ~TQDomCharacterDataJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomCharacterData_appendData(JNIEnv* env, jobject obj, jstring arg) -{ -static TQString* _qstring_arg = 0; - ((TQDomCharacterData*) QtSupport::getQt(env, obj))->appendData((const TQString&)*(TQString*) QtSupport::toTQString(env, arg, &_qstring_arg)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDomCharacterData_data(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQDomCharacterData*) QtSupport::getQt(env, obj))->data(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomCharacterData_deleteData(JNIEnv* env, jobject obj, jlong offset, jlong count) -{ - ((TQDomCharacterData*) QtSupport::getQt(env, obj))->deleteData((unsigned long) offset, (unsigned long) count); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomCharacterData_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QDomCharacterData_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomCharacterData_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDomCharacterData*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomCharacterData_insertData(JNIEnv* env, jobject obj, jlong offset, jstring arg) -{ -static TQString* _qstring_arg = 0; - ((TQDomCharacterData*) QtSupport::getQt(env, obj))->insertData((unsigned long) offset, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg, &_qstring_arg)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomCharacterData_isCharacterData(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDomCharacterData*) QtSupport::getQt(env, obj))->isCharacterData(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomCharacterData_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDomCharacterData_length(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDomCharacterData*) QtSupport::getQt(env, obj))->length(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomCharacterData_newTQDomCharacterData__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDomCharacterDataJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomCharacterData_newTQDomCharacterData__Lorg_kde_qt_QDomCharacterData_2(JNIEnv* env, jobject obj, jobject x) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDomCharacterDataJBridge((const TQDomCharacterData&)*(const TQDomCharacterData*) QtSupport::getQt(env, x))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDomCharacterData_nodeType(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDomCharacterData*) QtSupport::getQt(env, obj))->nodeType(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomCharacterData_replaceData(JNIEnv* env, jobject obj, jlong offset, jlong count, jstring arg) -{ -static TQString* _qstring_arg = 0; - ((TQDomCharacterData*) QtSupport::getQt(env, obj))->replaceData((unsigned long) offset, (unsigned long) count, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg, &_qstring_arg)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomCharacterData_setData(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQDomCharacterData*) QtSupport::getQt(env, obj))->setData((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDomCharacterData_substringData(JNIEnv* env, jobject obj, jlong offset, jlong count) -{ - TQString _qstring; - _qstring = ((TQDomCharacterData*) QtSupport::getQt(env, obj))->substringData((unsigned long) offset, (unsigned long) count); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QDomCharacterData.h b/qtjava/javalib/qtjava/QDomCharacterData.h deleted file mode 100644 index 3f30a37f..00000000 --- a/qtjava/javalib/qtjava/QDomCharacterData.h +++ /dev/null @@ -1,33 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDomCharacterData__ -#define __org_kde_qt_QDomCharacterData__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomCharacterData_newTQDomCharacterData__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomCharacterData_newTQDomCharacterData__Lorg_kde_qt_QDomCharacterData_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomCharacterData_substringData (JNIEnv *env, jobject, jlong, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomCharacterData_appendData (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomCharacterData_insertData (JNIEnv *env, jobject, jlong, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomCharacterData_deleteData (JNIEnv *env, jobject, jlong, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomCharacterData_replaceData (JNIEnv *env, jobject, jlong, jlong, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDomCharacterData_length (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomCharacterData_data (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomCharacterData_setData (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDomCharacterData_nodeType (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomCharacterData_isCharacterData (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomCharacterData_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomCharacterData_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomCharacterData_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDomCharacterData__ */ diff --git a/qtjava/javalib/qtjava/QDomComment.cpp b/qtjava/javalib/qtjava/QDomComment.cpp deleted file mode 100644 index aaa1a0b7..00000000 --- a/qtjava/javalib/qtjava/QDomComment.cpp +++ /dev/null @@ -1,71 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - -class TQDomCommentJBridge : public TQDomComment -{ -public: - TQDomCommentJBridge() : TQDomComment() {}; - TQDomCommentJBridge(const TQDomComment& arg1) : TQDomComment(arg1) {}; - ~TQDomCommentJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomComment_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QDomComment_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomComment_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDomComment*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomComment_isComment(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDomComment*) QtSupport::getQt(env, obj))->isComment(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomComment_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomComment_newTQDomComment__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDomCommentJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomComment_newTQDomComment__Lorg_kde_qt_QDomComment_2(JNIEnv* env, jobject obj, jobject x) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDomCommentJBridge((const TQDomComment&)*(const TQDomComment*) QtSupport::getQt(env, x))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDomComment_nodeType(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDomComment*) QtSupport::getQt(env, obj))->nodeType(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QDomComment.h b/qtjava/javalib/qtjava/QDomComment.h deleted file mode 100644 index cb3cc6e3..00000000 --- a/qtjava/javalib/qtjava/QDomComment.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDomComment__ -#define __org_kde_qt_QDomComment__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomComment_newTQDomComment__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomComment_newTQDomComment__Lorg_kde_qt_QDomComment_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDomComment_nodeType (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomComment_isComment (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomComment_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomComment_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomComment_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDomComment__ */ diff --git a/qtjava/javalib/qtjava/QDomDocument.cpp b/qtjava/javalib/qtjava/QDomDocument.cpp deleted file mode 100644 index b7029571..00000000 --- a/qtjava/javalib/qtjava/QDomDocument.cpp +++ /dev/null @@ -1,561 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQDomDocumentJBridge : public TQDomDocument -{ -public: - TQDomDocumentJBridge() : TQDomDocument() {}; - TQDomDocumentJBridge(const TQString& arg1) : TQDomDocument(arg1) {}; - TQDomDocumentJBridge(const TQDomDocumentType& arg1) : TQDomDocument(arg1) {}; - TQDomDocumentJBridge(const TQDomDocument& arg1) : TQDomDocument(arg1) {}; - ~TQDomDocumentJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomDocument_createAttributeNS(JNIEnv* env, jobject obj, jstring nsURI, jstring qName) -{ -static TQString* _qstring_nsURI = 0; -static TQString* _qstring_qName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomAttr(((TQDomDocument*) QtSupport::getQt(env, obj))->createAttributeNS((const TQString&)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName))), "org.kde.qt.TQDomAttr", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomDocument_createAttribute(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomAttr(((TQDomDocument*) QtSupport::getQt(env, obj))->createAttribute((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQDomAttr", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomDocument_createCDATASection(JNIEnv* env, jobject obj, jstring data) -{ -static TQString* _qstring_data = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomCDATASection(((TQDomDocument*) QtSupport::getQt(env, obj))->createCDATASection((const TQString&)*(TQString*) QtSupport::toTQString(env, data, &_qstring_data))), "org.kde.qt.TQDomCDATASection", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomDocument_createComment(JNIEnv* env, jobject obj, jstring data) -{ -static TQString* _qstring_data = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomComment(((TQDomDocument*) QtSupport::getQt(env, obj))->createComment((const TQString&)*(TQString*) QtSupport::toTQString(env, data, &_qstring_data))), "org.kde.qt.TQDomComment", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomDocument_createDocumentFragment(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocumentFragment(((TQDomDocument*) QtSupport::getQt(env, obj))->createDocumentFragment()), "org.kde.qt.TQDomDocumentFragment", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomDocument_createElementNS(JNIEnv* env, jobject obj, jstring nsURI, jstring qName) -{ -static TQString* _qstring_nsURI = 0; -static TQString* _qstring_qName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomElement(((TQDomDocument*) QtSupport::getQt(env, obj))->createElementNS((const TQString&)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName))), "org.kde.qt.TQDomElement", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomDocument_createElement(JNIEnv* env, jobject obj, jstring tagName) -{ -static TQString* _qstring_tagName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomElement(((TQDomDocument*) QtSupport::getQt(env, obj))->createElement((const TQString&)*(TQString*) QtSupport::toTQString(env, tagName, &_qstring_tagName))), "org.kde.qt.TQDomElement", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomDocument_createEntityReference(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomEntityReference(((TQDomDocument*) QtSupport::getQt(env, obj))->createEntityReference((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQDomEntityReference", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomDocument_createProcessingInstruction(JNIEnv* env, jobject obj, jstring target, jstring data) -{ -static TQString* _qstring_target = 0; -static TQString* _qstring_data = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomProcessingInstruction(((TQDomDocument*) QtSupport::getQt(env, obj))->createProcessingInstruction((const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target), (const TQString&)*(TQString*) QtSupport::toTQString(env, data, &_qstring_data))), "org.kde.qt.TQDomProcessingInstruction", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomDocument_createTextNode(JNIEnv* env, jobject obj, jstring data) -{ -static TQString* _qstring_data = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomText(((TQDomDocument*) QtSupport::getQt(env, obj))->createTextNode((const TQString&)*(TQString*) QtSupport::toTQString(env, data, &_qstring_data))), "org.kde.qt.TQDomText", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomDocument_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QDomDocument_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomDocument_doctype(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocumentType(((TQDomDocument*) QtSupport::getQt(env, obj))->doctype()), "org.kde.qt.TQDomDocumentType", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomDocument_documentElement(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomElement(((TQDomDocument*) QtSupport::getQt(env, obj))->documentElement()), "org.kde.qt.TQDomElement", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomDocument_elementById(JNIEnv* env, jobject obj, jstring elementId) -{ -static TQString* _qstring_elementId = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomElement(((TQDomDocument*) QtSupport::getQt(env, obj))->elementById((const TQString&)*(TQString*) QtSupport::toTQString(env, elementId, &_qstring_elementId))), "org.kde.qt.TQDomElement", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomDocument_elementsByTagNameNS(JNIEnv* env, jobject obj, jstring nsURI, jstring localName) -{ - TQDomNodeList _qlist; -static TQString* _qstring_nsURI = 0; -static TQString* _qstring_localName = 0; - _qlist = ((TQDomDocument*) QtSupport::getQt(env, obj))->elementsByTagNameNS((const TQString&)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, localName, &_qstring_localName)); - return (jobject) QtSupport::arrayWithTQDomNodeList(env, (TQDomNodeList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomDocument_elementsByTagName(JNIEnv* env, jobject obj, jstring tagname) -{ - TQDomNodeList _qlist; -static TQString* _qstring_tagname = 0; - _qlist = ((TQDomDocument*) QtSupport::getQt(env, obj))->elementsByTagName((const TQString&)*(TQString*) QtSupport::toTQString(env, tagname, &_qstring_tagname)); - return (jobject) QtSupport::arrayWithTQDomNodeList(env, (TQDomNodeList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomDocument_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDomDocument*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomDocument_implementation(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomImplementation(((TQDomDocument*) QtSupport::getQt(env, obj))->implementation()), "org.kde.qt.TQDomImplementation", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomDocument_importNode(JNIEnv* env, jobject obj, jobject importedNode, jboolean deep) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomDocument*) QtSupport::getQt(env, obj))->importNode((const TQDomNode&)*(const TQDomNode*) QtSupport::getQt(env, importedNode), (bool) deep)), "org.kde.qt.TQDomNode", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomDocument_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomDocument_isDocument(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->isDocument(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomDocument_newTQDomDocument__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDomDocumentJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomDocument_newTQDomDocument__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 TQDomDocumentJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomDocument_newTQDomDocument__Lorg_kde_qt_QDomDocumentType_2(JNIEnv* env, jobject obj, jobject doctype) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDomDocumentJBridge((const TQDomDocumentType&)*(const TQDomDocumentType*) QtSupport::getQt(env, doctype))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomDocument_newTQDomDocument__Lorg_kde_qt_QDomDocument_2(JNIEnv* env, jobject obj, jobject x) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDomDocumentJBridge((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, x))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDomDocument_nodeType(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDomDocument*) QtSupport::getQt(env, obj))->nodeType(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQCString* _qcstring_text = 0; - jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, text, &_qcstring_text)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jstring text, jobject errorMsg) -{ -static TQCString* _qcstring_text = 0; -static TQString* _qstring_errorMsg = 0; - jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, text, &_qcstring_text), (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jobject obj, jstring text, jobject errorMsg, jintArray errorLine) -{ -static TQCString* _qcstring_text = 0; -static TQString* _qstring_errorMsg = 0; - int* _int_errorLine = QtSupport::toIntPtr(env, errorLine); - jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, text, &_qcstring_text), (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine); - QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); - env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2Ljava_lang_StringBuffer_2_3I_3I(JNIEnv* env, jobject obj, jstring text, jobject errorMsg, jintArray errorLine, jintArray errorColumn) -{ -static TQCString* _qcstring_text = 0; -static TQString* _qstring_errorMsg = 0; - int* _int_errorLine = QtSupport::toIntPtr(env, errorLine); - int* _int_errorColumn = QtSupport::toIntPtr(env, errorColumn); - jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, text, &_qcstring_text), (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn); - QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); - env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine); - env->SetIntArrayRegion(errorColumn, 0, 1, (jint *) _int_errorColumn); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring text, jboolean namespaceProcessing) -{ -static TQCString* _qcstring_text = 0; - jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, text, &_qcstring_text), (bool) namespaceProcessing); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2ZLjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jstring text, jboolean namespaceProcessing, jobject errorMsg) -{ -static TQCString* _qcstring_text = 0; -static TQString* _qstring_errorMsg = 0; - jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, text, &_qcstring_text), (bool) namespaceProcessing, (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2ZLjava_lang_StringBuffer_2_3I(JNIEnv* env, jobject obj, jstring text, jboolean namespaceProcessing, jobject errorMsg, jintArray errorLine) -{ -static TQCString* _qcstring_text = 0; -static TQString* _qstring_errorMsg = 0; - int* _int_errorLine = QtSupport::toIntPtr(env, errorLine); - jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, text, &_qcstring_text), (bool) namespaceProcessing, (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine); - QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); - env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2ZLjava_lang_StringBuffer_2_3I_3I(JNIEnv* env, jobject obj, jstring text, jboolean namespaceProcessing, jobject errorMsg, jintArray errorLine, jintArray errorColumn) -{ -static TQCString* _qcstring_text = 0; -static TQString* _qstring_errorMsg = 0; - int* _int_errorLine = QtSupport::toIntPtr(env, errorLine); - int* _int_errorColumn = QtSupport::toIntPtr(env, errorColumn); - jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, text, &_qcstring_text), (bool) namespaceProcessing, (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn); - QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); - env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine); - env->SetIntArrayRegion(errorColumn, 0, 1, (jint *) _int_errorColumn); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject dev) -{ - jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((TQIODevice*) QtSupport::getQt(env, dev)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject dev, jobject errorMsg) -{ -static TQString* _qstring_errorMsg = 0; - jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((TQIODevice*) QtSupport::getQt(env, dev), (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jobject obj, jobject dev, jobject errorMsg, jintArray errorLine) -{ -static TQString* _qstring_errorMsg = 0; - int* _int_errorLine = QtSupport::toIntPtr(env, errorLine); - jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((TQIODevice*) QtSupport::getQt(env, dev), (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine); - QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); - env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_StringBuffer_2_3I_3I(JNIEnv* env, jobject obj, jobject dev, jobject errorMsg, jintArray errorLine, jintArray errorColumn) -{ -static TQString* _qstring_errorMsg = 0; - int* _int_errorLine = QtSupport::toIntPtr(env, errorLine); - int* _int_errorColumn = QtSupport::toIntPtr(env, errorColumn); - jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((TQIODevice*) QtSupport::getQt(env, dev), (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn); - QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); - env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine); - env->SetIntArrayRegion(errorColumn, 0, 1, (jint *) _int_errorColumn); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2Z(JNIEnv* env, jobject obj, jobject dev, jboolean namespaceProcessing) -{ - jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((TQIODevice*) QtSupport::getQt(env, dev), (bool) namespaceProcessing); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2ZLjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject dev, jboolean namespaceProcessing, jobject errorMsg) -{ -static TQString* _qstring_errorMsg = 0; - jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((TQIODevice*) QtSupport::getQt(env, dev), (bool) namespaceProcessing, (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2ZLjava_lang_StringBuffer_2_3I(JNIEnv* env, jobject obj, jobject dev, jboolean namespaceProcessing, jobject errorMsg, jintArray errorLine) -{ -static TQString* _qstring_errorMsg = 0; - int* _int_errorLine = QtSupport::toIntPtr(env, errorLine); - jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((TQIODevice*) QtSupport::getQt(env, dev), (bool) namespaceProcessing, (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine); - QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); - env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2ZLjava_lang_StringBuffer_2_3I_3I(JNIEnv* env, jobject obj, jobject dev, jboolean namespaceProcessing, jobject errorMsg, jintArray errorLine, jintArray errorColumn) -{ -static TQString* _qstring_errorMsg = 0; - int* _int_errorLine = QtSupport::toIntPtr(env, errorLine); - int* _int_errorColumn = QtSupport::toIntPtr(env, errorColumn); - jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((TQIODevice*) QtSupport::getQt(env, dev), (bool) namespaceProcessing, (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn); - QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); - env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine); - env->SetIntArrayRegion(errorColumn, 0, 1, (jint *) _int_errorColumn); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QXmlInputSource_2Lorg_kde_qt_QXmlReader_2(JNIEnv* env, jobject obj, jobject source, jobject reader) -{ - jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((TQXmlInputSource*) QtSupport::getQt(env, source), (TQXmlReader*) QtSupport::getQt(env, reader)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QXmlInputSource_2Lorg_kde_qt_QXmlReader_2Ljava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject source, jobject reader, jobject errorMsg) -{ -static TQString* _qstring_errorMsg = 0; - jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((TQXmlInputSource*) QtSupport::getQt(env, source), (TQXmlReader*) QtSupport::getQt(env, reader), (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QXmlInputSource_2Lorg_kde_qt_QXmlReader_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jobject obj, jobject source, jobject reader, jobject errorMsg, jintArray errorLine) -{ -static TQString* _qstring_errorMsg = 0; - int* _int_errorLine = QtSupport::toIntPtr(env, errorLine); - jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((TQXmlInputSource*) QtSupport::getQt(env, source), (TQXmlReader*) QtSupport::getQt(env, reader), (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine); - QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); - env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QXmlInputSource_2Lorg_kde_qt_QXmlReader_2Ljava_lang_StringBuffer_2_3I_3I(JNIEnv* env, jobject obj, jobject source, jobject reader, jobject errorMsg, jintArray errorLine, jintArray errorColumn) -{ -static TQString* _qstring_errorMsg = 0; - int* _int_errorLine = QtSupport::toIntPtr(env, errorLine); - int* _int_errorColumn = QtSupport::toIntPtr(env, errorColumn); - jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((TQXmlInputSource*) QtSupport::getQt(env, source), (TQXmlReader*) QtSupport::getQt(env, reader), (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn); - QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); - env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine); - env->SetIntArrayRegion(errorColumn, 0, 1, (jint *) _int_errorColumn); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomDocument_setContent___3B(JNIEnv* env, jobject obj, jbyteArray text) -{ -static TQByteArray* _qbyteArray_text = 0; - jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, text, &_qbyteArray_text)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomDocument_setContent___3BLjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jbyteArray text, jobject errorMsg) -{ -static TQByteArray* _qbyteArray_text = 0; -static TQString* _qstring_errorMsg = 0; - jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, text, &_qbyteArray_text), (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomDocument_setContent___3BLjava_lang_StringBuffer_2_3I(JNIEnv* env, jobject obj, jbyteArray text, jobject errorMsg, jintArray errorLine) -{ -static TQByteArray* _qbyteArray_text = 0; -static TQString* _qstring_errorMsg = 0; - int* _int_errorLine = QtSupport::toIntPtr(env, errorLine); - jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, text, &_qbyteArray_text), (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine); - QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); - env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomDocument_setContent___3BLjava_lang_StringBuffer_2_3I_3I(JNIEnv* env, jobject obj, jbyteArray text, jobject errorMsg, jintArray errorLine, jintArray errorColumn) -{ -static TQByteArray* _qbyteArray_text = 0; -static TQString* _qstring_errorMsg = 0; - int* _int_errorLine = QtSupport::toIntPtr(env, errorLine); - int* _int_errorColumn = QtSupport::toIntPtr(env, errorColumn); - jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, text, &_qbyteArray_text), (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn); - QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); - env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine); - env->SetIntArrayRegion(errorColumn, 0, 1, (jint *) _int_errorColumn); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomDocument_setContent___3BZ(JNIEnv* env, jobject obj, jbyteArray text, jboolean namespaceProcessing) -{ -static TQByteArray* _qbyteArray_text = 0; - jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, text, &_qbyteArray_text), (bool) namespaceProcessing); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomDocument_setContent___3BZLjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jbyteArray text, jboolean namespaceProcessing, jobject errorMsg) -{ -static TQByteArray* _qbyteArray_text = 0; -static TQString* _qstring_errorMsg = 0; - jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, text, &_qbyteArray_text), (bool) namespaceProcessing, (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomDocument_setContent___3BZLjava_lang_StringBuffer_2_3I(JNIEnv* env, jobject obj, jbyteArray text, jboolean namespaceProcessing, jobject errorMsg, jintArray errorLine) -{ -static TQByteArray* _qbyteArray_text = 0; -static TQString* _qstring_errorMsg = 0; - int* _int_errorLine = QtSupport::toIntPtr(env, errorLine); - jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, text, &_qbyteArray_text), (bool) namespaceProcessing, (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine); - QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); - env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomDocument_setContent___3BZLjava_lang_StringBuffer_2_3I_3I(JNIEnv* env, jobject obj, jbyteArray text, jboolean namespaceProcessing, jobject errorMsg, jintArray errorLine, jintArray errorColumn) -{ -static TQByteArray* _qbyteArray_text = 0; -static TQString* _qstring_errorMsg = 0; - int* _int_errorLine = QtSupport::toIntPtr(env, errorLine); - int* _int_errorColumn = QtSupport::toIntPtr(env, errorColumn); - jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, text, &_qbyteArray_text), (bool) namespaceProcessing, (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn); - QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); - env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine); - env->SetIntArrayRegion(errorColumn, 0, 1, (jint *) _int_errorColumn); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDomDocument_toCString__(JNIEnv* env, jobject obj) -{ - TQCString _qstring; - _qstring = ((TQDomDocument*) QtSupport::getQt(env, obj))->toCString(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDomDocument_toCString__I(JNIEnv* env, jobject obj, jint arg1) -{ - TQCString _qstring; - _qstring = ((TQDomDocument*) QtSupport::getQt(env, obj))->toCString((int) arg1); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDomDocument_toString__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQDomDocument*) QtSupport::getQt(env, obj))->toString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDomDocument_toString__I(JNIEnv* env, jobject obj, jint arg1) -{ - TQString _qstring; - _qstring = ((TQDomDocument*) QtSupport::getQt(env, obj))->toString((int) arg1); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QDomDocument.h b/qtjava/javalib/qtjava/QDomDocument.h deleted file mode 100644 index 26e2d697..00000000 --- a/qtjava/javalib/qtjava/QDomDocument.h +++ /dev/null @@ -1,76 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDomDocument__ -#define __org_kde_qt_QDomDocument__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocument_newTQDomDocument__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocument_newTQDomDocument__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocument_newTQDomDocument__Lorg_kde_qt_QDomDocumentType_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocument_newTQDomDocument__Lorg_kde_qt_QDomDocument_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocument_createElement (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocument_createDocumentFragment (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocument_createTextNode (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocument_createComment (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocument_createCDATASection (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocument_createProcessingInstruction (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocument_createAttribute (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocument_createEntityReference (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocument_elementsByTagName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocument_importNode (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocument_createElementNS (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocument_createAttributeNS (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocument_elementsByTagNameNS (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocument_elementById (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocument_doctype (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocument_implementation (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocument_documentElement (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2ZLjava_lang_StringBuffer_2_3I_3I (JNIEnv *env, jobject, jstring, jboolean, jobject, jintArray, jintArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2ZLjava_lang_StringBuffer_2_3I (JNIEnv *env, jobject, jstring, jboolean, jobject, jintArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2ZLjava_lang_StringBuffer_2 (JNIEnv *env, jobject, jstring, jboolean, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent___3BZLjava_lang_StringBuffer_2_3I_3I (JNIEnv *env, jobject, jbyteArray, jboolean, jobject, jintArray, jintArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent___3BZLjava_lang_StringBuffer_2_3I (JNIEnv *env, jobject, jbyteArray, jboolean, jobject, jintArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent___3BZLjava_lang_StringBuffer_2 (JNIEnv *env, jobject, jbyteArray, jboolean, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent___3BZ (JNIEnv *env, jobject, jbyteArray, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2ZLjava_lang_StringBuffer_2_3I_3I (JNIEnv *env, jobject, jobject, jboolean, jobject, jintArray, jintArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2ZLjava_lang_StringBuffer_2_3I (JNIEnv *env, jobject, jobject, jboolean, jobject, jintArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2ZLjava_lang_StringBuffer_2 (JNIEnv *env, jobject, jobject, jboolean, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2Ljava_lang_StringBuffer_2_3I_3I (JNIEnv *env, jobject, jstring, jobject, jintArray, jintArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jobject, jstring, jobject, jintArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent___3BLjava_lang_StringBuffer_2_3I_3I (JNIEnv *env, jobject, jbyteArray, jobject, jintArray, jintArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent___3BLjava_lang_StringBuffer_2_3I (JNIEnv *env, jobject, jbyteArray, jobject, jintArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent___3BLjava_lang_StringBuffer_2 (JNIEnv *env, jobject, jbyteArray, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent___3B (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_StringBuffer_2_3I_3I (JNIEnv *env, jobject, jobject, jobject, jintArray, jintArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jobject, jobject, jobject, jintArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QXmlInputSource_2Lorg_kde_qt_QXmlReader_2Ljava_lang_StringBuffer_2_3I_3I (JNIEnv *env, jobject, jobject, jobject, jobject, jintArray, jintArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QXmlInputSource_2Lorg_kde_qt_QXmlReader_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jobject, jobject, jobject, jobject, jintArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QXmlInputSource_2Lorg_kde_qt_QXmlReader_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QXmlInputSource_2Lorg_kde_qt_QXmlReader_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDomDocument_nodeType (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_isDocument (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomDocument_toString__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomDocument_toString__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomDocument_toCString__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomDocument_toCString__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocument_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocument_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDomDocument__ */ diff --git a/qtjava/javalib/qtjava/QDomDocumentFragment.cpp b/qtjava/javalib/qtjava/QDomDocumentFragment.cpp deleted file mode 100644 index 53d0f49b..00000000 --- a/qtjava/javalib/qtjava/QDomDocumentFragment.cpp +++ /dev/null @@ -1,71 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - -class TQDomDocumentFragmentJBridge : public TQDomDocumentFragment -{ -public: - TQDomDocumentFragmentJBridge() : TQDomDocumentFragment() {}; - TQDomDocumentFragmentJBridge(const TQDomDocumentFragment& arg1) : TQDomDocumentFragment(arg1) {}; - ~TQDomDocumentFragmentJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomDocumentFragment_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QDomDocumentFragment_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomDocumentFragment_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDomDocumentFragment*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomDocumentFragment_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomDocumentFragment_isDocumentFragment(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDomDocumentFragment*) QtSupport::getQt(env, obj))->isDocumentFragment(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomDocumentFragment_newTQDomDocumentFragment__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDomDocumentFragmentJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomDocumentFragment_newTQDomDocumentFragment__Lorg_kde_qt_QDomDocumentFragment_2(JNIEnv* env, jobject obj, jobject x) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDomDocumentFragmentJBridge((const TQDomDocumentFragment&)*(const TQDomDocumentFragment*) QtSupport::getQt(env, x))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDomDocumentFragment_nodeType(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDomDocumentFragment*) QtSupport::getQt(env, obj))->nodeType(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QDomDocumentFragment.h b/qtjava/javalib/qtjava/QDomDocumentFragment.h deleted file mode 100644 index 4d1e8c29..00000000 --- a/qtjava/javalib/qtjava/QDomDocumentFragment.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDomDocumentFragment__ -#define __org_kde_qt_QDomDocumentFragment__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocumentFragment_newTQDomDocumentFragment__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocumentFragment_newTQDomDocumentFragment__Lorg_kde_qt_QDomDocumentFragment_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDomDocumentFragment_nodeType (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocumentFragment_isDocumentFragment (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocumentFragment_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocumentFragment_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocumentFragment_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDomDocumentFragment__ */ diff --git a/qtjava/javalib/qtjava/QDomDocumentType.cpp b/qtjava/javalib/qtjava/QDomDocumentType.cpp deleted file mode 100644 index b87be7f6..00000000 --- a/qtjava/javalib/qtjava/QDomDocumentType.cpp +++ /dev/null @@ -1,118 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQDomDocumentTypeJBridge : public TQDomDocumentType -{ -public: - TQDomDocumentTypeJBridge() : TQDomDocumentType() {}; - TQDomDocumentTypeJBridge(const TQDomDocumentType& arg1) : TQDomDocumentType(arg1) {}; - ~TQDomDocumentTypeJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomDocumentType_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QDomDocumentType_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomDocumentType_entities(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNamedNodeMap(((TQDomDocumentType*) QtSupport::getQt(env, obj))->entities()), "org.kde.qt.TQDomNamedNodeMap", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomDocumentType_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDomDocumentType*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDomDocumentType_internalSubset(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQDomDocumentType*) QtSupport::getQt(env, obj))->internalSubset(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomDocumentType_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomDocumentType_isDocumentType(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDomDocumentType*) QtSupport::getQt(env, obj))->isDocumentType(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDomDocumentType_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQDomDocumentType*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomDocumentType_newTQDomDocumentType__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDomDocumentTypeJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomDocumentType_newTQDomDocumentType__Lorg_kde_qt_QDomDocumentType_2(JNIEnv* env, jobject obj, jobject x) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDomDocumentTypeJBridge((const TQDomDocumentType&)*(const TQDomDocumentType*) QtSupport::getQt(env, x))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDomDocumentType_nodeType(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDomDocumentType*) QtSupport::getQt(env, obj))->nodeType(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomDocumentType_notations(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNamedNodeMap(((TQDomDocumentType*) QtSupport::getQt(env, obj))->notations()), "org.kde.qt.TQDomNamedNodeMap", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDomDocumentType_publicId(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQDomDocumentType*) QtSupport::getQt(env, obj))->publicId(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDomDocumentType_systemId(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQDomDocumentType*) QtSupport::getQt(env, obj))->systemId(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QDomDocumentType.h b/qtjava/javalib/qtjava/QDomDocumentType.h deleted file mode 100644 index 388bd5ec..00000000 --- a/qtjava/javalib/qtjava/QDomDocumentType.h +++ /dev/null @@ -1,31 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDomDocumentType__ -#define __org_kde_qt_QDomDocumentType__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocumentType_newTQDomDocumentType__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocumentType_newTQDomDocumentType__Lorg_kde_qt_QDomDocumentType_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomDocumentType_name (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocumentType_entities (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocumentType_notations (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomDocumentType_publicId (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomDocumentType_systemId (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomDocumentType_internalSubset (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDomDocumentType_nodeType (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocumentType_isDocumentType (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocumentType_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocumentType_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocumentType_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDomDocumentType__ */ diff --git a/qtjava/javalib/qtjava/QDomElement.cpp b/qtjava/javalib/qtjava/QDomElement.cpp deleted file mode 100644 index c71d9d7c..00000000 --- a/qtjava/javalib/qtjava/QDomElement.cpp +++ /dev/null @@ -1,294 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQDomElementJBridge : public TQDomElement -{ -public: - TQDomElementJBridge() : TQDomElement() {}; - TQDomElementJBridge(const TQDomElement& arg1) : TQDomElement(arg1) {}; - ~TQDomElementJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDomElement_attributeNS(JNIEnv* env, jobject obj, jstring nsURI, jstring localName, jstring defValue) -{ - TQString _qstring; -static TQString* _qstring_nsURI = 0; -static TQString* _qstring_localName = 0; -static TQString* _qstring_defValue = 0; - _qstring = ((TQDomElement*) QtSupport::getQt(env, obj))->attributeNS((const TQString)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, localName, &_qstring_localName), (const TQString&)*(TQString*) QtSupport::toTQString(env, defValue, &_qstring_defValue)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomElement_attributeNodeNS(JNIEnv* env, jobject obj, jstring nsURI, jstring localName) -{ -static TQString* _qstring_nsURI = 0; -static TQString* _qstring_localName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomAttr(((TQDomElement*) QtSupport::getQt(env, obj))->attributeNodeNS((const TQString&)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, localName, &_qstring_localName))), "org.kde.qt.TQDomAttr", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomElement_attributeNode(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomAttr(((TQDomElement*) QtSupport::getQt(env, obj))->attributeNode((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQDomAttr", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDomElement_attribute__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ - TQString _qstring; -static TQString* _qstring_name = 0; - _qstring = ((TQDomElement*) QtSupport::getQt(env, obj))->attribute((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDomElement_attribute__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring defValue) -{ - TQString _qstring; -static TQString* _qstring_name = 0; -static TQString* _qstring_defValue = 0; - _qstring = ((TQDomElement*) QtSupport::getQt(env, obj))->attribute((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, defValue, &_qstring_defValue)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomElement_attributes(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNamedNodeMap(((TQDomElement*) QtSupport::getQt(env, obj))->attributes()), "org.kde.qt.TQDomNamedNodeMap", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomElement_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QDomElement_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomElement_elementsByTagNameNS(JNIEnv* env, jobject obj, jstring nsURI, jstring localName) -{ - TQDomNodeList _qlist; -static TQString* _qstring_nsURI = 0; -static TQString* _qstring_localName = 0; - _qlist = ((TQDomElement*) QtSupport::getQt(env, obj))->elementsByTagNameNS((const TQString&)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, localName, &_qstring_localName)); - return (jobject) QtSupport::arrayWithTQDomNodeList(env, (TQDomNodeList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomElement_elementsByTagName(JNIEnv* env, jobject obj, jstring tagname) -{ - TQDomNodeList _qlist; -static TQString* _qstring_tagname = 0; - _qlist = ((TQDomElement*) QtSupport::getQt(env, obj))->elementsByTagName((const TQString&)*(TQString*) QtSupport::toTQString(env, tagname, &_qstring_tagname)); - return (jobject) QtSupport::arrayWithTQDomNodeList(env, (TQDomNodeList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomElement_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDomElement*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomElement_hasAttributeNS(JNIEnv* env, jobject obj, jstring nsURI, jstring localName) -{ -static TQString* _qstring_nsURI = 0; -static TQString* _qstring_localName = 0; - jboolean xret = (jboolean) ((TQDomElement*) QtSupport::getQt(env, obj))->hasAttributeNS((const TQString&)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, localName, &_qstring_localName)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomElement_hasAttribute(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) ((TQDomElement*) QtSupport::getQt(env, obj))->hasAttribute((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomElement_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomElement_isElement(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDomElement*) QtSupport::getQt(env, obj))->isElement(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomElement_newTQDomElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDomElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomElement_newTQDomElement__Lorg_kde_qt_QDomElement_2(JNIEnv* env, jobject obj, jobject x) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDomElementJBridge((const TQDomElement&)*(const TQDomElement*) QtSupport::getQt(env, x))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDomElement_nodeType(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDomElement*) QtSupport::getQt(env, obj))->nodeType(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomElement_removeAttributeNS(JNIEnv* env, jobject obj, jstring nsURI, jstring localName) -{ -static TQString* _qstring_nsURI = 0; -static TQString* _qstring_localName = 0; - ((TQDomElement*) QtSupport::getQt(env, obj))->removeAttributeNS((const TQString&)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, localName, &_qstring_localName)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomElement_removeAttributeNode(JNIEnv* env, jobject obj, jobject oldAttr) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomAttr(((TQDomElement*) QtSupport::getQt(env, obj))->removeAttributeNode((const TQDomAttr&)*(const TQDomAttr*) QtSupport::getQt(env, oldAttr))), "org.kde.qt.TQDomAttr", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomElement_removeAttribute(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((TQDomElement*) QtSupport::getQt(env, obj))->removeAttribute((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomElement_setAttributeNS__Ljava_lang_String_2Ljava_lang_String_2D(JNIEnv* env, jobject obj, jstring nsURI, jstring qName, jdouble value) -{ -static TQString* _qstring_nsURI = 0; -static TQString* _qstring_qName = 0; - ((TQDomElement*) QtSupport::getQt(env, obj))->setAttributeNS((const TQString)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName), (double) value); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomElement_setAttributeNS__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring nsURI, jstring qName, jint value) -{ -static TQString* _qstring_nsURI = 0; -static TQString* _qstring_qName = 0; - ((TQDomElement*) QtSupport::getQt(env, obj))->setAttributeNS((const TQString)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName), (int) value); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomElement_setAttributeNS__Ljava_lang_String_2Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring nsURI, jstring qName, jlong value) -{ -static TQString* _qstring_nsURI = 0; -static TQString* _qstring_qName = 0; - ((TQDomElement*) QtSupport::getQt(env, obj))->setAttributeNS((const TQString)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName), (long) value); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomElement_setAttributeNS__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring nsURI, jstring qName, jstring value) -{ -static TQString* _qstring_nsURI = 0; -static TQString* _qstring_qName = 0; -static TQString* _qstring_value = 0; - ((TQDomElement*) QtSupport::getQt(env, obj))->setAttributeNS((const TQString)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomElement_setAttributeNodeNS(JNIEnv* env, jobject obj, jobject newAttr) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomAttr(((TQDomElement*) QtSupport::getQt(env, obj))->setAttributeNodeNS((const TQDomAttr&)*(const TQDomAttr*) QtSupport::getQt(env, newAttr))), "org.kde.qt.TQDomAttr", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomElement_setAttributeNode(JNIEnv* env, jobject obj, jobject newAttr) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomAttr(((TQDomElement*) QtSupport::getQt(env, obj))->setAttributeNode((const TQDomAttr&)*(const TQDomAttr*) QtSupport::getQt(env, newAttr))), "org.kde.qt.TQDomAttr", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomElement_setAttribute__Ljava_lang_String_2D(JNIEnv* env, jobject obj, jstring name, jdouble value) -{ -static TQString* _qstring_name = 0; - ((TQDomElement*) QtSupport::getQt(env, obj))->setAttribute((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (double) value); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomElement_setAttribute__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint value) -{ -static TQString* _qstring_name = 0; - ((TQDomElement*) QtSupport::getQt(env, obj))->setAttribute((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) value); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomElement_setAttribute__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring name, jlong value) -{ -static TQString* _qstring_name = 0; - ((TQDomElement*) QtSupport::getQt(env, obj))->setAttribute((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (long) value); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomElement_setAttribute__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring value) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_value = 0; - ((TQDomElement*) QtSupport::getQt(env, obj))->setAttribute((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomElement_setTagName(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((TQDomElement*) QtSupport::getQt(env, obj))->setTagName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDomElement_tagName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQDomElement*) QtSupport::getQt(env, obj))->tagName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDomElement_text(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQDomElement*) QtSupport::getQt(env, obj))->text(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QDomElement.h b/qtjava/javalib/qtjava/QDomElement.h deleted file mode 100644 index dfdd53ae..00000000 --- a/qtjava/javalib/qtjava/QDomElement.h +++ /dev/null @@ -1,51 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDomElement__ -#define __org_kde_qt_QDomElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomElement_newTQDomElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomElement_newTQDomElement__Lorg_kde_qt_QDomElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomElement_attribute__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomElement_attribute__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomElement_setAttribute__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomElement_setAttribute__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomElement_setAttribute__Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomElement_setAttribute__Ljava_lang_String_2D (JNIEnv *env, jobject, jstring, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomElement_removeAttribute (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomElement_attributeNode (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomElement_setAttributeNode (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomElement_removeAttributeNode (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomElement_elementsByTagName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomElement_hasAttribute (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomElement_attributeNS (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomElement_setAttributeNS__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomElement_setAttributeNS__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomElement_setAttributeNS__Ljava_lang_String_2Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jstring, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomElement_setAttributeNS__Ljava_lang_String_2Ljava_lang_String_2D (JNIEnv *env, jobject, jstring, jstring, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomElement_removeAttributeNS (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomElement_attributeNodeNS (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomElement_setAttributeNodeNS (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomElement_elementsByTagNameNS (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomElement_hasAttributeNS (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomElement_tagName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomElement_setTagName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomElement_attributes (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDomElement_nodeType (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomElement_isElement (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomElement_text (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomElement_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomElement_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomElement_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDomElement__ */ diff --git a/qtjava/javalib/qtjava/QDomEntity.cpp b/qtjava/javalib/qtjava/QDomEntity.cpp deleted file mode 100644 index 1e6b1714..00000000 --- a/qtjava/javalib/qtjava/QDomEntity.cpp +++ /dev/null @@ -1,96 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQDomEntityJBridge : public TQDomEntity -{ -public: - TQDomEntityJBridge() : TQDomEntity() {}; - TQDomEntityJBridge(const TQDomEntity& arg1) : TQDomEntity(arg1) {}; - ~TQDomEntityJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomEntity_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QDomEntity_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomEntity_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDomEntity*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomEntity_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomEntity_isEntity(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDomEntity*) QtSupport::getQt(env, obj))->isEntity(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomEntity_newTQDomEntity__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDomEntityJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomEntity_newTQDomEntity__Lorg_kde_qt_QDomEntity_2(JNIEnv* env, jobject obj, jobject x) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDomEntityJBridge((const TQDomEntity&)*(const TQDomEntity*) QtSupport::getQt(env, x))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDomEntity_nodeType(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDomEntity*) QtSupport::getQt(env, obj))->nodeType(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDomEntity_notationName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQDomEntity*) QtSupport::getQt(env, obj))->notationName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDomEntity_publicId(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQDomEntity*) QtSupport::getQt(env, obj))->publicId(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDomEntity_systemId(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQDomEntity*) QtSupport::getQt(env, obj))->systemId(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QDomEntity.h b/qtjava/javalib/qtjava/QDomEntity.h deleted file mode 100644 index c652b815..00000000 --- a/qtjava/javalib/qtjava/QDomEntity.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDomEntity__ -#define __org_kde_qt_QDomEntity__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomEntity_newTQDomEntity__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomEntity_newTQDomEntity__Lorg_kde_qt_QDomEntity_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomEntity_publicId (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomEntity_systemId (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomEntity_notationName (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDomEntity_nodeType (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomEntity_isEntity (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomEntity_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomEntity_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomEntity_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDomEntity__ */ diff --git a/qtjava/javalib/qtjava/QDomEntityReference.cpp b/qtjava/javalib/qtjava/QDomEntityReference.cpp deleted file mode 100644 index 06d6140c..00000000 --- a/qtjava/javalib/qtjava/QDomEntityReference.cpp +++ /dev/null @@ -1,71 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - -class TQDomEntityReferenceJBridge : public TQDomEntityReference -{ -public: - TQDomEntityReferenceJBridge() : TQDomEntityReference() {}; - TQDomEntityReferenceJBridge(const TQDomEntityReference& arg1) : TQDomEntityReference(arg1) {}; - ~TQDomEntityReferenceJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomEntityReference_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QDomEntityReference_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomEntityReference_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDomEntityReference*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomEntityReference_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomEntityReference_isEntityReference(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDomEntityReference*) QtSupport::getQt(env, obj))->isEntityReference(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomEntityReference_newTQDomEntityReference__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDomEntityReferenceJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomEntityReference_newTQDomEntityReference__Lorg_kde_qt_QDomEntityReference_2(JNIEnv* env, jobject obj, jobject x) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDomEntityReferenceJBridge((const TQDomEntityReference&)*(const TQDomEntityReference*) QtSupport::getQt(env, x))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDomEntityReference_nodeType(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDomEntityReference*) QtSupport::getQt(env, obj))->nodeType(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QDomEntityReference.h b/qtjava/javalib/qtjava/QDomEntityReference.h deleted file mode 100644 index 7d52365e..00000000 --- a/qtjava/javalib/qtjava/QDomEntityReference.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDomEntityReference__ -#define __org_kde_qt_QDomEntityReference__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomEntityReference_newTQDomEntityReference__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomEntityReference_newTQDomEntityReference__Lorg_kde_qt_QDomEntityReference_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDomEntityReference_nodeType (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomEntityReference_isEntityReference (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomEntityReference_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomEntityReference_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomEntityReference_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDomEntityReference__ */ diff --git a/qtjava/javalib/qtjava/QDomImplementation.cpp b/qtjava/javalib/qtjava/QDomImplementation.cpp deleted file mode 100644 index 036c2d86..00000000 --- a/qtjava/javalib/qtjava/QDomImplementation.cpp +++ /dev/null @@ -1,107 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQDomImplementationJBridge : public TQDomImplementation -{ -public: - TQDomImplementationJBridge() : TQDomImplementation() {}; - TQDomImplementationJBridge(const TQDomImplementation& arg1) : TQDomImplementation(arg1) {}; - ~TQDomImplementationJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomImplementation_createDocumentType(JNIEnv* env, jobject obj, jstring qName, jstring publicId, jstring systemId) -{ -static TQString* _qstring_qName = 0; -static TQString* _qstring_publicId = 0; -static TQString* _qstring_systemId = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocumentType(((TQDomImplementation*) QtSupport::getQt(env, obj))->createDocumentType((const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName), (const TQString&)*(TQString*) QtSupport::toTQString(env, publicId, &_qstring_publicId), (const TQString&)*(TQString*) QtSupport::toTQString(env, systemId, &_qstring_systemId))), "org.kde.qt.TQDomDocumentType", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomImplementation_createDocument(JNIEnv* env, jobject obj, jstring nsURI, jstring qName, jobject doctype) -{ -static TQString* _qstring_nsURI = 0; -static TQString* _qstring_qName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocument(((TQDomImplementation*) QtSupport::getQt(env, obj))->createDocument((const TQString&)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName), (const TQDomDocumentType&)*(const TQDomDocumentType*) QtSupport::getQt(env, doctype))), "org.kde.qt.TQDomDocument", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomImplementation_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QDomImplementation_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomImplementation_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDomImplementation*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomImplementation_hasFeature(JNIEnv* env, jobject obj, jstring feature, jstring version) -{ -static TQString* _qstring_feature = 0; -static TQString* _qstring_version = 0; - jboolean xret = (jboolean) ((TQDomImplementation*) QtSupport::getQt(env, obj))->hasFeature((const TQString&)*(TQString*) QtSupport::toTQString(env, feature, &_qstring_feature), (const TQString&)*(TQString*) QtSupport::toTQString(env, version, &_qstring_version)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomImplementation_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomImplementation_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDomImplementation*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomImplementation_newTQDomImplementation__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDomImplementationJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomImplementation_newTQDomImplementation__Lorg_kde_qt_QDomImplementation_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDomImplementationJBridge((const TQDomImplementation&)*(const TQDomImplementation*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomImplementation_op_1equals(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQDomImplementation*) QtSupport::getQt(env, obj))->operator==((const TQDomImplementation&)*(const TQDomImplementation*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomImplementation_op_1not_1equals(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQDomImplementation*) QtSupport::getQt(env, obj))->operator!=((const TQDomImplementation&)*(const TQDomImplementation*) QtSupport::getQt(env, arg1)); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QDomImplementation.h b/qtjava/javalib/qtjava/QDomImplementation.h deleted file mode 100644 index 7e75e34c..00000000 --- a/qtjava/javalib/qtjava/QDomImplementation.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDomImplementation__ -#define __org_kde_qt_QDomImplementation__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomImplementation_newTQDomImplementation__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomImplementation_newTQDomImplementation__Lorg_kde_qt_QDomImplementation_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomImplementation_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomImplementation_op_1not_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomImplementation_hasFeature (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomImplementation_createDocumentType (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomImplementation_createDocument (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomImplementation_isNull (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomImplementation_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomImplementation_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomImplementation_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDomImplementation__ */ diff --git a/qtjava/javalib/qtjava/QDomNamedNodeMap.cpp b/qtjava/javalib/qtjava/QDomNamedNodeMap.cpp deleted file mode 100644 index 02add5e0..00000000 --- a/qtjava/javalib/qtjava/QDomNamedNodeMap.cpp +++ /dev/null @@ -1,149 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQDomNamedNodeMapJBridge : public TQDomNamedNodeMap -{ -public: - TQDomNamedNodeMapJBridge() : TQDomNamedNodeMap() {}; - TQDomNamedNodeMapJBridge(const TQDomNamedNodeMap& arg1) : TQDomNamedNodeMap(arg1) {}; - ~TQDomNamedNodeMapJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomNamedNodeMap_contains(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) ((TQDomNamedNodeMap*) QtSupport::getQt(env, obj))->contains((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDomNamedNodeMap_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDomNamedNodeMap*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomNamedNodeMap_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QDomNamedNodeMap_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomNamedNodeMap_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDomNamedNodeMap*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomNamedNodeMap_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomNamedNodeMap_item(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNamedNodeMap*) QtSupport::getQt(env, obj))->item((int) index)), "org.kde.qt.TQDomNode", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDomNamedNodeMap_length(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDomNamedNodeMap*) QtSupport::getQt(env, obj))->length(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomNamedNodeMap_namedItemNS(JNIEnv* env, jobject obj, jstring nsURI, jstring localName) -{ -static TQString* _qstring_nsURI = 0; -static TQString* _qstring_localName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNamedNodeMap*) QtSupport::getQt(env, obj))->namedItemNS((const TQString&)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, localName, &_qstring_localName))), "org.kde.qt.TQDomNode", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomNamedNodeMap_namedItem(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNamedNodeMap*) QtSupport::getQt(env, obj))->namedItem((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQDomNode", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomNamedNodeMap_newTQDomNamedNodeMap__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDomNamedNodeMapJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomNamedNodeMap_newTQDomNamedNodeMap__Lorg_kde_qt_QDomNamedNodeMap_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDomNamedNodeMapJBridge((const TQDomNamedNodeMap&)*(const TQDomNamedNodeMap*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomNamedNodeMap_op_1equals(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQDomNamedNodeMap*) QtSupport::getQt(env, obj))->operator==((const TQDomNamedNodeMap&)*(const TQDomNamedNodeMap*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomNamedNodeMap_op_1not_1equals(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQDomNamedNodeMap*) QtSupport::getQt(env, obj))->operator!=((const TQDomNamedNodeMap&)*(const TQDomNamedNodeMap*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomNamedNodeMap_removeNamedItemNS(JNIEnv* env, jobject obj, jstring nsURI, jstring localName) -{ -static TQString* _qstring_nsURI = 0; -static TQString* _qstring_localName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNamedNodeMap*) QtSupport::getQt(env, obj))->removeNamedItemNS((const TQString&)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, localName, &_qstring_localName))), "org.kde.qt.TQDomNode", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomNamedNodeMap_removeNamedItem(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNamedNodeMap*) QtSupport::getQt(env, obj))->removeNamedItem((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQDomNode", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomNamedNodeMap_setNamedItemNS(JNIEnv* env, jobject obj, jobject newNode) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNamedNodeMap*) QtSupport::getQt(env, obj))->setNamedItemNS((const TQDomNode&)*(const TQDomNode*) QtSupport::getQt(env, newNode))), "org.kde.qt.TQDomNode", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomNamedNodeMap_setNamedItem(JNIEnv* env, jobject obj, jobject newNode) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNamedNodeMap*) QtSupport::getQt(env, obj))->setNamedItem((const TQDomNode&)*(const TQDomNode*) QtSupport::getQt(env, newNode))), "org.kde.qt.TQDomNode", TRUE); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QDomNamedNodeMap.h b/qtjava/javalib/qtjava/QDomNamedNodeMap.h deleted file mode 100644 index 4e9961fc..00000000 --- a/qtjava/javalib/qtjava/QDomNamedNodeMap.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDomNamedNodeMap__ -#define __org_kde_qt_QDomNamedNodeMap__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNamedNodeMap_newTQDomNamedNodeMap__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNamedNodeMap_newTQDomNamedNodeMap__Lorg_kde_qt_QDomNamedNodeMap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNamedNodeMap_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNamedNodeMap_op_1not_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNamedNodeMap_namedItem (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNamedNodeMap_setNamedItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNamedNodeMap_removeNamedItem (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNamedNodeMap_item (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNamedNodeMap_namedItemNS (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNamedNodeMap_setNamedItemNS (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNamedNodeMap_removeNamedItemNS (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDomNamedNodeMap_length (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDomNamedNodeMap_count (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNamedNodeMap_contains (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNamedNodeMap_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNamedNodeMap_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNamedNodeMap_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDomNamedNodeMap__ */ diff --git a/qtjava/javalib/qtjava/QDomNode.cpp b/qtjava/javalib/qtjava/QDomNode.cpp deleted file mode 100644 index 3db89d9b..00000000 --- a/qtjava/javalib/qtjava/QDomNode.cpp +++ /dev/null @@ -1,487 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQDomNodeJBridge : public TQDomNode -{ -public: - TQDomNodeJBridge() : TQDomNode() {}; - TQDomNodeJBridge(const TQDomNode& arg1) : TQDomNode(arg1) {}; - void public_normalize() { - TQDomNode::normalize(); - return; - } - ~TQDomNodeJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomNode_appendChild(JNIEnv* env, jobject obj, jobject newChild) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNode*) QtSupport::getQt(env, obj))->appendChild((const TQDomNode&)*(const TQDomNode*) QtSupport::getQt(env, newChild))), "org.kde.qt.TQDomNode", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomNode_attributes(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNamedNodeMap(((TQDomNode*) QtSupport::getQt(env, obj))->attributes()), "org.kde.qt.TQDomNamedNodeMap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomNode_childNodes(JNIEnv* env, jobject obj) -{ - TQDomNodeList _qlist; - _qlist = ((TQDomNode*) QtSupport::getQt(env, obj))->childNodes(); - return (jobject) QtSupport::arrayWithTQDomNodeList(env, (TQDomNodeList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomNode_clear(JNIEnv* env, jobject obj) -{ - ((TQDomNode*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomNode_cloneNode__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNode*) QtSupport::getQt(env, obj))->cloneNode()), "org.kde.qt.TQDomNode", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomNode_cloneNode__Z(JNIEnv* env, jobject obj, jboolean deep) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNode*) QtSupport::getQt(env, obj))->cloneNode((bool) deep)), "org.kde.qt.TQDomNode", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomNode_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QDomNode_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomNode_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDomNode*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomNode_firstChild(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNode*) QtSupport::getQt(env, obj))->firstChild()), "org.kde.qt.TQDomNode", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomNode_hasAttributes(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->hasAttributes(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomNode_hasChildNodes(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->hasChildNodes(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomNode_insertAfter(JNIEnv* env, jobject obj, jobject newChild, jobject refChild) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNode*) QtSupport::getQt(env, obj))->insertAfter((const TQDomNode&)*(const TQDomNode*) QtSupport::getQt(env, newChild), (const TQDomNode&)*(const TQDomNode*) QtSupport::getQt(env, refChild))), "org.kde.qt.TQDomNode", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomNode_insertBefore(JNIEnv* env, jobject obj, jobject newChild, jobject refChild) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNode*) QtSupport::getQt(env, obj))->insertBefore((const TQDomNode&)*(const TQDomNode*) QtSupport::getQt(env, newChild), (const TQDomNode&)*(const TQDomNode*) QtSupport::getQt(env, refChild))), "org.kde.qt.TQDomNode", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomNode_isAttr(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->isAttr(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomNode_isCDATASection(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->isCDATASection(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomNode_isCharacterData(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->isCharacterData(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomNode_isComment(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->isComment(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomNode_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomNode_isDocumentFragment(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->isDocumentFragment(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomNode_isDocumentType(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->isDocumentType(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomNode_isDocument(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->isDocument(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomNode_isElement(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->isElement(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomNode_isEntityReference(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->isEntityReference(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomNode_isEntity(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->isEntity(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomNode_isNotation(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->isNotation(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomNode_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomNode_isProcessingInstruction(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->isProcessingInstruction(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomNode_isSupported(JNIEnv* env, jobject obj, jstring feature, jstring version) -{ -static TQString* _qstring_feature = 0; -static TQString* _qstring_version = 0; - jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->isSupported((const TQString&)*(TQString*) QtSupport::toTQString(env, feature, &_qstring_feature), (const TQString&)*(TQString*) QtSupport::toTQString(env, version, &_qstring_version)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomNode_isText(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->isText(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomNode_lastChild(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNode*) QtSupport::getQt(env, obj))->lastChild()), "org.kde.qt.TQDomNode", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDomNode_localName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQDomNode*) QtSupport::getQt(env, obj))->localName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomNode_namedItem(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNode*) QtSupport::getQt(env, obj))->namedItem((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQDomNode", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDomNode_namespaceURI(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQDomNode*) QtSupport::getQt(env, obj))->namespaceURI(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomNode_newTQDomNode__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDomNodeJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomNode_newTQDomNode__Lorg_kde_qt_QDomNode_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDomNodeJBridge((const TQDomNode&)*(const TQDomNode*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomNode_nextSibling(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNode*) QtSupport::getQt(env, obj))->nextSibling()), "org.kde.qt.TQDomNode", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDomNode_nodeName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQDomNode*) QtSupport::getQt(env, obj))->nodeName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDomNode_nodeType(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDomNode*) QtSupport::getQt(env, obj))->nodeType(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDomNode_nodeValue(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQDomNode*) QtSupport::getQt(env, obj))->nodeValue(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomNode_normalize(JNIEnv* env, jobject obj) -{ - ((TQDomNodeJBridge*) QtSupport::getQt(env, obj))->public_normalize(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomNode_op_1equals(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->operator==((const TQDomNode&)*(const TQDomNode*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomNode_op_1not_1equals(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->operator!=((const TQDomNode&)*(const TQDomNode*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomNode_ownerDocument(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocument(((TQDomNode*) QtSupport::getQt(env, obj))->ownerDocument()), "org.kde.qt.TQDomDocument", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomNode_parentNode(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNode*) QtSupport::getQt(env, obj))->parentNode()), "org.kde.qt.TQDomNode", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDomNode_prefix(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQDomNode*) QtSupport::getQt(env, obj))->prefix(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomNode_previousSibling(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNode*) QtSupport::getQt(env, obj))->previousSibling()), "org.kde.qt.TQDomNode", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomNode_removeChild(JNIEnv* env, jobject obj, jobject oldChild) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNode*) QtSupport::getQt(env, obj))->removeChild((const TQDomNode&)*(const TQDomNode*) QtSupport::getQt(env, oldChild))), "org.kde.qt.TQDomNode", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomNode_replaceChild(JNIEnv* env, jobject obj, jobject newChild, jobject oldChild) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNode*) QtSupport::getQt(env, obj))->replaceChild((const TQDomNode&)*(const TQDomNode*) QtSupport::getQt(env, newChild), (const TQDomNode&)*(const TQDomNode*) QtSupport::getQt(env, oldChild))), "org.kde.qt.TQDomNode", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomNode_save(JNIEnv* env, jobject obj, jobject arg1, jint arg2) -{ - ((TQDomNode*) QtSupport::getQt(env, obj))->save((TQTextStream&)*(TQTextStream*) QtSupport::getQt(env, arg1), (int) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomNode_setNodeValue(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQDomNode*) QtSupport::getQt(env, obj))->setNodeValue((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomNode_setPrefix(JNIEnv* env, jobject obj, jstring pre) -{ -static TQString* _qstring_pre = 0; - ((TQDomNode*) QtSupport::getQt(env, obj))->setPrefix((const TQString&)*(TQString*) QtSupport::toTQString(env, pre, &_qstring_pre)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomNode_toAttr(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomAttr(((TQDomNode*) QtSupport::getQt(env, obj))->toAttr()), "org.kde.qt.TQDomAttr", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomNode_toCDATASection(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomCDATASection(((TQDomNode*) QtSupport::getQt(env, obj))->toCDATASection()), "org.kde.qt.TQDomCDATASection", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomNode_toCharacterData(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomCharacterData(((TQDomNode*) QtSupport::getQt(env, obj))->toCharacterData()), "org.kde.qt.TQDomCharacterData", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomNode_toComment(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomComment(((TQDomNode*) QtSupport::getQt(env, obj))->toComment()), "org.kde.qt.TQDomComment", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomNode_toDocumentFragment(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocumentFragment(((TQDomNode*) QtSupport::getQt(env, obj))->toDocumentFragment()), "org.kde.qt.TQDomDocumentFragment", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomNode_toDocumentType(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocumentType(((TQDomNode*) QtSupport::getQt(env, obj))->toDocumentType()), "org.kde.qt.TQDomDocumentType", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomNode_toDocument(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocument(((TQDomNode*) QtSupport::getQt(env, obj))->toDocument()), "org.kde.qt.TQDomDocument", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomNode_toElement(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomElement(((TQDomNode*) QtSupport::getQt(env, obj))->toElement()), "org.kde.qt.TQDomElement", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomNode_toEntityReference(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomEntityReference(((TQDomNode*) QtSupport::getQt(env, obj))->toEntityReference()), "org.kde.qt.TQDomEntityReference", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomNode_toEntity(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomEntity(((TQDomNode*) QtSupport::getQt(env, obj))->toEntity()), "org.kde.qt.TQDomEntity", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomNode_toNotation(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNotation(((TQDomNode*) QtSupport::getQt(env, obj))->toNotation()), "org.kde.qt.TQDomNotation", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomNode_toProcessingInstruction(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomProcessingInstruction(((TQDomNode*) QtSupport::getQt(env, obj))->toProcessingInstruction()), "org.kde.qt.TQDomProcessingInstruction", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomNode_toText(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomText(((TQDomNode*) QtSupport::getQt(env, obj))->toText()), "org.kde.qt.TQDomText", TRUE); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QDomNode.h b/qtjava/javalib/qtjava/QDomNode.h deleted file mode 100644 index b64ccab7..00000000 --- a/qtjava/javalib/qtjava/QDomNode.h +++ /dev/null @@ -1,82 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDomNode__ -#define __org_kde_qt_QDomNode__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNode_newTQDomNode__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNode_newTQDomNode__Lorg_kde_qt_QDomNode_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_op_1not_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_insertBefore (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_insertAfter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_replaceChild (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_removeChild (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_appendChild (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_hasChildNodes (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_cloneNode__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_cloneNode__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNode_normalize (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_isSupported (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomNode_nodeName (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDomNode_nodeType (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_parentNode (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_childNodes (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_firstChild (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_lastChild (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_previousSibling (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_nextSibling (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_attributes (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_ownerDocument (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomNode_namespaceURI (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomNode_localName (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_hasAttributes (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomNode_nodeValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNode_setNodeValue (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomNode_prefix (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNode_setPrefix (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_isAttr (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_isCDATASection (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_isDocumentFragment (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_isDocument (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_isDocumentType (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_isElement (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_isEntityReference (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_isText (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_isEntity (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_isNotation (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_isProcessingInstruction (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_isCharacterData (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_isComment (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_namedItem (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_isNull (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNode_clear (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_toAttr (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_toCDATASection (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_toDocumentFragment (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_toDocument (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_toDocumentType (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_toElement (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_toEntityReference (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_toText (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_toEntity (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_toNotation (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_toProcessingInstruction (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_toCharacterData (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_toComment (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNode_save (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNode_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNode_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDomNode__ */ diff --git a/qtjava/javalib/qtjava/QDomNotation.cpp b/qtjava/javalib/qtjava/QDomNotation.cpp deleted file mode 100644 index 73c5fb53..00000000 --- a/qtjava/javalib/qtjava/QDomNotation.cpp +++ /dev/null @@ -1,88 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQDomNotationJBridge : public TQDomNotation -{ -public: - TQDomNotationJBridge() : TQDomNotation() {}; - TQDomNotationJBridge(const TQDomNotation& arg1) : TQDomNotation(arg1) {}; - ~TQDomNotationJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomNotation_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QDomNotation_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomNotation_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDomNotation*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomNotation_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomNotation_isNotation(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDomNotation*) QtSupport::getQt(env, obj))->isNotation(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomNotation_newTQDomNotation__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDomNotationJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomNotation_newTQDomNotation__Lorg_kde_qt_QDomNotation_2(JNIEnv* env, jobject obj, jobject x) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDomNotationJBridge((const TQDomNotation&)*(const TQDomNotation*) QtSupport::getQt(env, x))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDomNotation_nodeType(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDomNotation*) QtSupport::getQt(env, obj))->nodeType(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDomNotation_publicId(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQDomNotation*) QtSupport::getQt(env, obj))->publicId(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDomNotation_systemId(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQDomNotation*) QtSupport::getQt(env, obj))->systemId(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QDomNotation.h b/qtjava/javalib/qtjava/QDomNotation.h deleted file mode 100644 index db826a79..00000000 --- a/qtjava/javalib/qtjava/QDomNotation.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDomNotation__ -#define __org_kde_qt_QDomNotation__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNotation_newTQDomNotation__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNotation_newTQDomNotation__Lorg_kde_qt_QDomNotation_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomNotation_publicId (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomNotation_systemId (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDomNotation_nodeType (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNotation_isNotation (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNotation_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNotation_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNotation_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDomNotation__ */ diff --git a/qtjava/javalib/qtjava/QDomProcessingInstruction.cpp b/qtjava/javalib/qtjava/QDomProcessingInstruction.cpp deleted file mode 100644 index 7d244d52..00000000 --- a/qtjava/javalib/qtjava/QDomProcessingInstruction.cpp +++ /dev/null @@ -1,96 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQDomProcessingInstructionJBridge : public TQDomProcessingInstruction -{ -public: - TQDomProcessingInstructionJBridge() : TQDomProcessingInstruction() {}; - TQDomProcessingInstructionJBridge(const TQDomProcessingInstruction& arg1) : TQDomProcessingInstruction(arg1) {}; - ~TQDomProcessingInstructionJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDomProcessingInstruction_data(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQDomProcessingInstruction*) QtSupport::getQt(env, obj))->data(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomProcessingInstruction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QDomProcessingInstruction_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomProcessingInstruction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDomProcessingInstruction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomProcessingInstruction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomProcessingInstruction_isProcessingInstruction(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDomProcessingInstruction*) QtSupport::getQt(env, obj))->isProcessingInstruction(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomProcessingInstruction_newTQDomProcessingInstruction__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDomProcessingInstructionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomProcessingInstruction_newTQDomProcessingInstruction__Lorg_kde_qt_QDomProcessingInstruction_2(JNIEnv* env, jobject obj, jobject x) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDomProcessingInstructionJBridge((const TQDomProcessingInstruction&)*(const TQDomProcessingInstruction*) QtSupport::getQt(env, x))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDomProcessingInstruction_nodeType(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDomProcessingInstruction*) QtSupport::getQt(env, obj))->nodeType(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomProcessingInstruction_setData(JNIEnv* env, jobject obj, jstring d) -{ -static TQString* _qstring_d = 0; - ((TQDomProcessingInstruction*) QtSupport::getQt(env, obj))->setData((const TQString&)*(TQString*) QtSupport::toTQString(env, d, &_qstring_d)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDomProcessingInstruction_target(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQDomProcessingInstruction*) QtSupport::getQt(env, obj))->target(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QDomProcessingInstruction.h b/qtjava/javalib/qtjava/QDomProcessingInstruction.h deleted file mode 100644 index 3b2e475f..00000000 --- a/qtjava/javalib/qtjava/QDomProcessingInstruction.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDomProcessingInstruction__ -#define __org_kde_qt_QDomProcessingInstruction__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomProcessingInstruction_newTQDomProcessingInstruction__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomProcessingInstruction_newTQDomProcessingInstruction__Lorg_kde_qt_QDomProcessingInstruction_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomProcessingInstruction_target (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomProcessingInstruction_data (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomProcessingInstruction_setData (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDomProcessingInstruction_nodeType (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomProcessingInstruction_isProcessingInstruction (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomProcessingInstruction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomProcessingInstruction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomProcessingInstruction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDomProcessingInstruction__ */ diff --git a/qtjava/javalib/qtjava/QDomText.cpp b/qtjava/javalib/qtjava/QDomText.cpp deleted file mode 100644 index ea2fc240..00000000 --- a/qtjava/javalib/qtjava/QDomText.cpp +++ /dev/null @@ -1,78 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - -class TQDomTextJBridge : public TQDomText -{ -public: - TQDomTextJBridge() : TQDomText() {}; - TQDomTextJBridge(const TQDomText& arg1) : TQDomText(arg1) {}; - ~TQDomTextJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomText_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QDomText_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomText_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDomText*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomText_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDomText_isText(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDomText*) QtSupport::getQt(env, obj))->isText(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomText_newTQDomText__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDomTextJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDomText_newTQDomText__Lorg_kde_qt_QDomText_2(JNIEnv* env, jobject obj, jobject x) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDomTextJBridge((const TQDomText&)*(const TQDomText*) QtSupport::getQt(env, x))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDomText_nodeType(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDomText*) QtSupport::getQt(env, obj))->nodeType(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDomText_splitText(JNIEnv* env, jobject obj, jint offset) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomText(((TQDomText*) QtSupport::getQt(env, obj))->splitText((int) offset)), "org.kde.qt.TQDomText", TRUE); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QDomText.h b/qtjava/javalib/qtjava/QDomText.h deleted file mode 100644 index 903d5d2a..00000000 --- a/qtjava/javalib/qtjava/QDomText.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDomText__ -#define __org_kde_qt_QDomText__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomText_newTQDomText__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomText_newTQDomText__Lorg_kde_qt_QDomText_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomText_splitText (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDomText_nodeType (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomText_isText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomText_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomText_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomText_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDomText__ */ diff --git a/qtjava/javalib/qtjava/QDoubleValidator.cpp b/qtjava/javalib/qtjava/QDoubleValidator.cpp deleted file mode 100644 index 287366d9..00000000 --- a/qtjava/javalib/qtjava/QDoubleValidator.cpp +++ /dev/null @@ -1,222 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQDoubleValidatorJBridge : public TQDoubleValidator -{ -public: - TQDoubleValidatorJBridge(TQObject* arg1,const char* arg2) : TQDoubleValidator(arg1,arg2) {}; - TQDoubleValidatorJBridge(TQObject* arg1) : TQDoubleValidator(arg1) {}; - TQDoubleValidatorJBridge(double arg1,double arg2,int arg3,TQObject* arg4,const char* arg5) : TQDoubleValidator(arg1,arg2,arg3,arg4,arg5) {}; - TQDoubleValidatorJBridge(double arg1,double arg2,int arg3,TQObject* arg4) : TQDoubleValidator(arg1,arg2,arg3,arg4) {}; - ~TQDoubleValidatorJBridge() {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.qt.TQDoubleValidator",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jdouble JNICALL -Java_org_kde_qt_QDoubleValidator_bottom(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((TQDoubleValidator*) QtSupport::getQt(env, obj))->bottom(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDoubleValidator_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQDoubleValidator*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDoubleValidator_decimals(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDoubleValidator*) QtSupport::getQt(env, obj))->decimals(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDoubleValidator_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QDoubleValidator_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDoubleValidator_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQDoubleValidator*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQDoubleValidator*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDoubleValidator_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDoubleValidator_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDoubleValidator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDoubleValidator_newTQDoubleValidator__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 TQDoubleValidatorJBridge((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_qt_QDoubleValidator_newTQDoubleValidator__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 TQDoubleValidatorJBridge((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_qt_QDoubleValidator_newTQDoubleValidator__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDoubleValidatorJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDoubleValidator_newTQDoubleValidator__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 TQDoubleValidatorJBridge((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_qt_QDoubleValidator_setBottom(JNIEnv* env, jobject obj, jdouble arg1) -{ - ((TQDoubleValidator*) QtSupport::getQt(env, obj))->setBottom((double) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDoubleValidator_setDecimals(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQDoubleValidator*) QtSupport::getQt(env, obj))->setDecimals((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDoubleValidator_setRange__DD(JNIEnv* env, jobject obj, jdouble bottom, jdouble top) -{ - ((TQDoubleValidator*) QtSupport::getQt(env, obj))->setRange((double) bottom, (double) top); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDoubleValidator_setRange__DDI(JNIEnv* env, jobject obj, jdouble bottom, jdouble top, jint decimals) -{ - ((TQDoubleValidator*) QtSupport::getQt(env, obj))->setRange((double) bottom, (double) top, (int) decimals); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDoubleValidator_setTop(JNIEnv* env, jobject obj, jdouble arg1) -{ - ((TQDoubleValidator*) QtSupport::getQt(env, obj))->setTop((double) arg1); - return; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_qt_QDoubleValidator_top(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((TQDoubleValidator*) QtSupport::getQt(env, obj))->top(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDoubleValidator_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQDoubleValidatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDoubleValidator_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQDoubleValidatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDoubleValidator_validate(JNIEnv* env, jobject obj, jobject arg1, jintArray arg2) -{ -static TQString* _qstring_arg1 = 0; - int* _int_arg2 = QtSupport::toIntPtr(env, arg2); - jint xret = (jint) ((TQDoubleValidator*) 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/qtjava/javalib/qtjava/QDoubleValidator.h b/qtjava/javalib/qtjava/QDoubleValidator.h deleted file mode 100644 index bd2c370c..00000000 --- a/qtjava/javalib/qtjava/QDoubleValidator.h +++ /dev/null @@ -1,38 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDoubleValidator__ -#define __org_kde_qt_QDoubleValidator__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDoubleValidator_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDoubleValidator_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDoubleValidator_newTQDoubleValidator__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDoubleValidator_newTQDoubleValidator__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDoubleValidator_newTQDoubleValidator__DDILorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jdouble, jdouble, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDoubleValidator_newTQDoubleValidator__DDILorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jdouble, jdouble, jint, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDoubleValidator_validate (JNIEnv *env, jobject, jobject, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDoubleValidator_setRange__DDI (JNIEnv *env, jobject, jdouble, jdouble, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDoubleValidator_setRange__DD (JNIEnv *env, jobject, jdouble, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDoubleValidator_setBottom (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDoubleValidator_setTop (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDoubleValidator_setDecimals (JNIEnv *env, jobject, jint); -extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QDoubleValidator_bottom (JNIEnv *env, jobject); -extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QDoubleValidator_top (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDoubleValidator_decimals (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDoubleValidator_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDoubleValidator_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDoubleValidator_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDoubleValidator_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDoubleValidator_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDoubleValidator__ */ diff --git a/qtjava/javalib/qtjava/QDragEnterEvent.cpp b/qtjava/javalib/qtjava/QDragEnterEvent.cpp deleted file mode 100644 index 1e4ee6a0..00000000 --- a/qtjava/javalib/qtjava/QDragEnterEvent.cpp +++ /dev/null @@ -1,47 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQDragEnterEventJBridge : public TQDragEnterEvent -{ -public: - TQDragEnterEventJBridge(const TQPoint& arg1) : TQDragEnterEvent(arg1) {}; - ~TQDragEnterEventJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDragEnterEvent_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QDragEnterEvent_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDragEnterEvent_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDragEnterEvent*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDragEnterEvent_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDragEnterEvent_newTQDragEnterEvent(JNIEnv* env, jobject obj, jobject pos) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDragEnterEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/qtjava/javalib/qtjava/QDragEnterEvent.h b/qtjava/javalib/qtjava/QDragEnterEvent.h deleted file mode 100644 index 379e6c0b..00000000 --- a/qtjava/javalib/qtjava/QDragEnterEvent.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDragEnterEvent__ -#define __org_kde_qt_QDragEnterEvent__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragEnterEvent_newTQDragEnterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragEnterEvent_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragEnterEvent_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDragEnterEvent_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDragEnterEvent__ */ diff --git a/qtjava/javalib/qtjava/QDragLeaveEvent.cpp b/qtjava/javalib/qtjava/QDragLeaveEvent.cpp deleted file mode 100644 index 2775fc21..00000000 --- a/qtjava/javalib/qtjava/QDragLeaveEvent.cpp +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - -class TQDragLeaveEventJBridge : public TQDragLeaveEvent -{ -public: - TQDragLeaveEventJBridge() : TQDragLeaveEvent() {}; - ~TQDragLeaveEventJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDragLeaveEvent_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QDragLeaveEvent_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDragLeaveEvent_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDragLeaveEvent*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDragLeaveEvent_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDragLeaveEvent_newTQDragLeaveEvent(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDragLeaveEventJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/qtjava/javalib/qtjava/QDragLeaveEvent.h b/qtjava/javalib/qtjava/QDragLeaveEvent.h deleted file mode 100644 index 823be5d8..00000000 --- a/qtjava/javalib/qtjava/QDragLeaveEvent.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDragLeaveEvent__ -#define __org_kde_qt_QDragLeaveEvent__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragLeaveEvent_newTQDragLeaveEvent (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragLeaveEvent_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragLeaveEvent_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDragLeaveEvent_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDragLeaveEvent__ */ diff --git a/qtjava/javalib/qtjava/QDragManager.cpp b/qtjava/javalib/qtjava/QDragManager.cpp deleted file mode 100644 index 4386914a..00000000 --- a/qtjava/javalib/qtjava/QDragManager.cpp +++ /dev/null @@ -1,43 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDragManager_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQDragManager*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDragManager_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDragManager*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDragManager_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQDragManager::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDragManager_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQDragManager::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QDragManager.h b/qtjava/javalib/qtjava/QDragManager.h deleted file mode 100644 index 2673f61e..00000000 --- a/qtjava/javalib/qtjava/QDragManager.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDragManager__ -#define __org_kde_qt_QDragManager__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDragManager_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDragManager_className (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDragManager_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDragManager_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDragManager__ */ diff --git a/qtjava/javalib/qtjava/QDragMoveEvent.cpp b/qtjava/javalib/qtjava/QDragMoveEvent.cpp deleted file mode 100644 index 0b3ba4bf..00000000 --- a/qtjava/javalib/qtjava/QDragMoveEvent.cpp +++ /dev/null @@ -1,101 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQDragMoveEventJBridge : public TQDragMoveEvent -{ -public: - TQDragMoveEventJBridge(const TQPoint& arg1,TQEvent::Type arg2) : TQDragMoveEvent(arg1,arg2) {}; - TQDragMoveEventJBridge(const TQPoint& arg1) : TQDragMoveEvent(arg1) {}; - ~TQDragMoveEventJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDragMoveEvent_accept__(JNIEnv* env, jobject obj) -{ - ((TQDragMoveEvent*) QtSupport::getQt(env, obj))->accept(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDragMoveEvent_accept__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject r) -{ - ((TQDragMoveEvent*) QtSupport::getQt(env, obj))->accept((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDragMoveEvent_accept__Z(JNIEnv* env, jobject obj, jboolean y) -{ - ((TQDragMoveEvent*) QtSupport::getQt(env, obj))->accept((bool) y); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDragMoveEvent_answerRect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQDragMoveEvent*) QtSupport::getQt(env, obj))->answerRect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDragMoveEvent_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QDragMoveEvent_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDragMoveEvent_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDragMoveEvent*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDragMoveEvent_ignore__(JNIEnv* env, jobject obj) -{ - ((TQDragMoveEvent*) QtSupport::getQt(env, obj))->ignore(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDragMoveEvent_ignore__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject r) -{ - ((TQDragMoveEvent*) QtSupport::getQt(env, obj))->ignore((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDragMoveEvent_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDragMoveEvent_newTQDragMoveEvent__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject pos) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDragMoveEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDragMoveEvent_newTQDragMoveEvent__Lorg_kde_qt_QPoint_2I(JNIEnv* env, jobject obj, jobject pos, jint typ) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDragMoveEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (TQEvent::Type) typ)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/qtjava/javalib/qtjava/QDragMoveEvent.h b/qtjava/javalib/qtjava/QDragMoveEvent.h deleted file mode 100644 index 676f77ae..00000000 --- a/qtjava/javalib/qtjava/QDragMoveEvent.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDragMoveEvent__ -#define __org_kde_qt_QDragMoveEvent__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragMoveEvent_newTQDragMoveEvent__Lorg_kde_qt_QPoint_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragMoveEvent_newTQDragMoveEvent__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDragMoveEvent_answerRect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragMoveEvent_accept__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragMoveEvent_accept__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragMoveEvent_accept__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragMoveEvent_ignore__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragMoveEvent_ignore__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragMoveEvent_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragMoveEvent_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDragMoveEvent_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDragMoveEvent__ */ diff --git a/qtjava/javalib/qtjava/QDragObject.cpp b/qtjava/javalib/qtjava/QDragObject.cpp deleted file mode 100644 index 3b65e95a..00000000 --- a/qtjava/javalib/qtjava/QDragObject.cpp +++ /dev/null @@ -1,172 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDragObject_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQDragObject*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDragObject_dragCopy(JNIEnv* env, jobject obj) -{ - ((TQDragObject*) QtSupport::getQt(env, obj))->dragCopy(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDragObject_dragLink(JNIEnv* env, jobject obj) -{ - ((TQDragObject*) QtSupport::getQt(env, obj))->dragLink(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDragObject_dragMove(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDragObject*) QtSupport::getQt(env, obj))->dragMove(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDragObject_drag(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDragObject*) QtSupport::getQt(env, obj))->drag(); - return xret; -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_qt_QDragObject_encodedData(JNIEnv* env, jobject obj, jstring arg1) -{ - TQByteArray _qbyteArray; -static TQCString* _qstring_arg1 = 0; - _qbyteArray = ((TQMimeSource*)(TQDragObject*) QtSupport::getQt(env, obj))->encodedData((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDragObject_format__(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQMimeSource*)(TQDragObject*) QtSupport::getQt(env, obj))->format(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDragObject_format__I(JNIEnv* env, jobject obj, jint n) -{ - const char* _qstring; - _qstring = ((TQMimeSource*)(TQDragObject*) QtSupport::getQt(env, obj))->format((int) n); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDragObject_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDragObject*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDragObject_pixmapHotSpot(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQDragObject*) QtSupport::getQt(env, obj))->pixmapHotSpot()), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDragObject_pixmap(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQDragObject*) QtSupport::getQt(env, obj))->pixmap()), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDragObject_provides(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQCString* _qstring_arg1 = 0; - jboolean xret = (jboolean) ((TQMimeSource*)(TQDragObject*) QtSupport::getQt(env, obj))->provides((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDragObject_serialNumber(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMimeSource*)(TQDragObject*) QtSupport::getQt(env, obj))->serialNumber(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDragObject_setPixmap__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQDragObject*) QtSupport::getQt(env, obj))->setPixmap((TQPixmap)*(TQPixmap*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDragObject_setPixmap__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1, jobject hotspot) -{ - ((TQDragObject*) QtSupport::getQt(env, obj))->setPixmap((TQPixmap)*(TQPixmap*) QtSupport::getQt(env, arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, hotspot)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDragObject_setTarget(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - TQDragObject::setTarget((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDragObject_source(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDragObject*) QtSupport::getQt(env, obj))->source(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDragObject_target(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQDragObject::target(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDragObject_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQDragObject::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDragObject_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQDragObject::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QDragObject_mimeSource(JNIEnv* env, jobject obj) -{ - return (jlong) (TQMimeSource*) (TQDragObject*) QtSupport::getQt(env, obj); -} - diff --git a/qtjava/javalib/qtjava/QDragObject.h b/qtjava/javalib/qtjava/QDragObject.h deleted file mode 100644 index 633197e3..00000000 --- a/qtjava/javalib/qtjava/QDragObject.h +++ /dev/null @@ -1,39 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDragObject__ -#define __org_kde_qt_QDragObject__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDragObject_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDragObject_className (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDragObject_drag (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDragObject_dragMove (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragObject_dragCopy (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragObject_dragLink (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragObject_setPixmap__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragObject_setPixmap__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDragObject_pixmap (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDragObject_pixmapHotSpot (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDragObject_source (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDragObject_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDragObject_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDragObject_target (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragObject_setTarget (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDragObject_format__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDragObject_format__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDragObject_provides (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QDragObject_encodedData (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDragObject_serialNumber (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QDragObject_mimeSource (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDragObject__ */ diff --git a/qtjava/javalib/qtjava/QDragResponseEvent.cpp b/qtjava/javalib/qtjava/QDragResponseEvent.cpp deleted file mode 100644 index cdc489b3..00000000 --- a/qtjava/javalib/qtjava/QDragResponseEvent.cpp +++ /dev/null @@ -1,53 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - -class TQDragResponseEventJBridge : public TQDragResponseEvent -{ -public: - TQDragResponseEventJBridge(bool arg1) : TQDragResponseEvent(arg1) {}; - ~TQDragResponseEventJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDragResponseEvent_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QDragResponseEvent_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDragResponseEvent_dragAccepted(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDragResponseEvent*) QtSupport::getQt(env, obj))->dragAccepted(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDragResponseEvent_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDragResponseEvent*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDragResponseEvent_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDragResponseEvent_newTQDragResponseEvent(JNIEnv* env, jobject obj, jboolean accepted) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDragResponseEventJBridge((bool) accepted)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/qtjava/javalib/qtjava/QDragResponseEvent.h b/qtjava/javalib/qtjava/QDragResponseEvent.h deleted file mode 100644 index 0489ce68..00000000 --- a/qtjava/javalib/qtjava/QDragResponseEvent.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDragResponseEvent__ -#define __org_kde_qt_QDragResponseEvent__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragResponseEvent_newTQDragResponseEvent (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDragResponseEvent_dragAccepted (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragResponseEvent_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragResponseEvent_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDragResponseEvent_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDragResponseEvent__ */ diff --git a/qtjava/javalib/qtjava/QDropEvent.cpp b/qtjava/javalib/qtjava/QDropEvent.cpp deleted file mode 100644 index bf1fe5c5..00000000 --- a/qtjava/javalib/qtjava/QDropEvent.cpp +++ /dev/null @@ -1,199 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -class TQDropEventJBridge : public TQDropEvent -{ -public: - TQDropEventJBridge(const TQPoint& arg1,TQEvent::Type arg2) : TQDropEvent(arg1,arg2) {}; - TQDropEventJBridge(const TQPoint& arg1) : TQDropEvent(arg1) {}; - ~TQDropEventJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDropEvent_acceptAction__(JNIEnv* env, jobject obj) -{ - ((TQDropEvent*) QtSupport::getQt(env, obj))->acceptAction(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDropEvent_acceptAction__Z(JNIEnv* env, jobject obj, jboolean y) -{ - ((TQDropEvent*) QtSupport::getQt(env, obj))->acceptAction((bool) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDropEvent_accept__(JNIEnv* env, jobject obj) -{ - ((TQDropEvent*) QtSupport::getQt(env, obj))->accept(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDropEvent_accept__Z(JNIEnv* env, jobject obj, jboolean y) -{ - ((TQDropEvent*) QtSupport::getQt(env, obj))->accept((bool) y); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDropEvent_action(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQDropEvent*) QtSupport::getQt(env, obj))->action(); - return xret; -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_qt_QDropEvent_data(JNIEnv* env, jobject obj, jstring f) -{ - TQByteArray _qbyteArray; -static TQCString* _qstring_f = 0; - _qbyteArray = ((TQDropEvent*) QtSupport::getQt(env, obj))->data((const char*) QtSupport::toCharString(env, f, &_qstring_f)); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDropEvent_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QDropEvent_finalize(env, obj); - return; -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_qt_QDropEvent_encodedData(JNIEnv* env, jobject obj, jstring arg1) -{ - TQByteArray _qbyteArray; -static TQCString* _qstring_arg1 = 0; - _qbyteArray = ((TQDropEvent*) QtSupport::getQt(env, obj))->encodedData((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDropEvent_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDropEvent*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDropEvent_format__(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQDropEvent*) QtSupport::getQt(env, obj))->format(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QDropEvent_format__I(JNIEnv* env, jobject obj, jint n) -{ - const char* _qstring; - _qstring = ((TQDropEvent*) QtSupport::getQt(env, obj))->format((int) n); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDropEvent_ignore(JNIEnv* env, jobject obj) -{ - ((TQDropEvent*) QtSupport::getQt(env, obj))->ignore(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDropEvent_isAccepted(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDropEvent*) QtSupport::getQt(env, obj))->isAccepted(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDropEvent_isActionAccepted(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQDropEvent*) QtSupport::getQt(env, obj))->isActionAccepted(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDropEvent_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDropEvent_newTQDropEvent__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject pos) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDropEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDropEvent_newTQDropEvent__Lorg_kde_qt_QPoint_2I(JNIEnv* env, jobject obj, jobject pos, jint typ) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDropEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (TQEvent::Type) typ)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDropEvent_pos(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQDropEvent*) QtSupport::getQt(env, obj))->pos(), "org.kde.qt.TQPoint"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDropEvent_provides(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQCString* _qstring_arg1 = 0; - jboolean xret = (jboolean) ((TQDropEvent*) QtSupport::getQt(env, obj))->provides((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QDropEvent_serialNumber(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMimeSource*)(TQDropEvent*) QtSupport::getQt(env, obj))->serialNumber(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDropEvent_setAction(JNIEnv* env, jobject obj, jint a) -{ - ((TQDropEvent*) QtSupport::getQt(env, obj))->setAction((TQDropEvent::Action) a); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDropEvent_setPoint(JNIEnv* env, jobject obj, jobject np) -{ - ((TQDropEvent*) QtSupport::getQt(env, obj))->setPoint((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, np)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QDropEvent_source(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDropEvent*) QtSupport::getQt(env, obj))->source(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QDropEvent_mimeSource(JNIEnv* env, jobject obj) -{ - return (jlong) (TQMimeSource*) (TQDropEvent*) QtSupport::getQt(env, obj); -} - diff --git a/qtjava/javalib/qtjava/QDropEvent.h b/qtjava/javalib/qtjava/QDropEvent.h deleted file mode 100644 index 5a1bf3a9..00000000 --- a/qtjava/javalib/qtjava/QDropEvent.h +++ /dev/null @@ -1,42 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDropEvent__ -#define __org_kde_qt_QDropEvent__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDropEvent_newTQDropEvent__Lorg_kde_qt_QPoint_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDropEvent_newTQDropEvent__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDropEvent_pos (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDropEvent_isAccepted (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDropEvent_accept__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDropEvent_accept__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDropEvent_ignore (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDropEvent_isActionAccepted (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDropEvent_acceptAction__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDropEvent_acceptAction__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDropEvent_setAction (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDropEvent_action (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDropEvent_source (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDropEvent_format__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDropEvent_format__ (JNIEnv *env, jobject); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QDropEvent_encodedData (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDropEvent_provides (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QDropEvent_data (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDropEvent_setPoint (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDropEvent_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDropEvent_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDropEvent_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDropEvent_serialNumber (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QDropEvent_mimeSource (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDropEvent__ */ diff --git a/qtjava/javalib/qtjava/QDropSite.cpp b/qtjava/javalib/qtjava/QDropSite.cpp deleted file mode 100644 index 9d905584..00000000 --- a/qtjava/javalib/qtjava/QDropSite.cpp +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - -class TQDropSiteJBridge : public TQDropSite -{ -public: - TQDropSiteJBridge(TQWidget* arg1) : TQDropSite(arg1) {}; - ~TQDropSiteJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDropSite_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QDropSite_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDropSite_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDropSite*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QDropSite_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QDropSite_newTQDropSite(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQDropSiteJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/qtjava/javalib/qtjava/QDropSite.h b/qtjava/javalib/qtjava/QDropSite.h deleted file mode 100644 index 9c97ed82..00000000 --- a/qtjava/javalib/qtjava/QDropSite.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QDropSite__ -#define __org_kde_qt_QDropSite__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDropSite_newTQDropSite (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDropSite_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDropSite_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDropSite_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QDropSite__ */ diff --git a/qtjava/javalib/qtjava/QEditorFactory.cpp b/qtjava/javalib/qtjava/QEditorFactory.cpp deleted file mode 100644 index 6ac00129..00000000 --- a/qtjava/javalib/qtjava/QEditorFactory.cpp +++ /dev/null @@ -1,130 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQEditorFactoryJBridge : public TQEditorFactory -{ -public: - TQEditorFactoryJBridge(TQObject* arg1,const char* arg2) : TQEditorFactory(arg1,arg2) {}; - TQEditorFactoryJBridge(TQObject* arg1) : TQEditorFactory(arg1) {}; - TQEditorFactoryJBridge() : TQEditorFactory() {}; - ~TQEditorFactoryJBridge() {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.qt.TQEditorFactory",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QEditorFactory_createEditor(JNIEnv* env, jobject obj, jobject parent, jobject v) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQEditorFactory*) QtSupport::getQt(env, obj))->createEditor((TQWidget*) QtSupport::getQt(env, parent), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, v)), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QEditorFactory_defaultFactory(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQEditorFactoryJBridge::defaultFactory(), "org.kde.qt.TQEditorFactory"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QEditorFactory_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QEditorFactory_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QEditorFactory_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQEditorFactory*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQEditorFactory*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QEditorFactory_installDefaultFactory(JNIEnv* env, jclass cls, jobject factory) -{ - (void) cls; - TQEditorFactoryJBridge::installDefaultFactory((TQEditorFactory*) QtSupport::getQt(env, factory)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QEditorFactory_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QEditorFactory_newTQEditorFactory__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQEditorFactoryJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QEditorFactory_newTQEditorFactory__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQEditorFactoryJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QEditorFactory_newTQEditorFactory__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 TQEditorFactoryJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/qtjava/javalib/qtjava/QEditorFactory.h b/qtjava/javalib/qtjava/QEditorFactory.h deleted file mode 100644 index d33984c8..00000000 --- a/qtjava/javalib/qtjava/QEditorFactory.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QEditorFactory__ -#define __org_kde_qt_QEditorFactory__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QEditorFactory_newTQEditorFactory__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QEditorFactory_newTQEditorFactory__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QEditorFactory_newTQEditorFactory__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QEditorFactory_createEditor (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QEditorFactory_defaultFactory (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QEditorFactory_installDefaultFactory (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QEditorFactory_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QEditorFactory_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QEditorFactory_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QEditorFactory__ */ diff --git a/qtjava/javalib/qtjava/QErrorMessage.cpp b/qtjava/javalib/qtjava/QErrorMessage.cpp deleted file mode 100644 index 7b762e93..00000000 --- a/qtjava/javalib/qtjava/QErrorMessage.cpp +++ /dev/null @@ -1,455 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQErrorMessageJBridge : public TQErrorMessage -{ -public: - TQErrorMessageJBridge(TQWidget* arg1,const char* arg2) : TQErrorMessage(arg1,arg2) {}; - TQErrorMessageJBridge(TQWidget* arg1) : TQErrorMessage(arg1) {}; - void protected_done(int arg1) { - TQErrorMessage::done(arg1); - return; - } - ~TQErrorMessageJBridge() {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.qt.TQErrorMessage","accept")) { - TQDialog::accept(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQErrorMessage","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.qt.TQErrorMessage","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.qt.TQErrorMessage","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.qt.TQErrorMessage","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQErrorMessage","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.qt.TQErrorMessage","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQErrorMessage","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.qt.TQErrorMessage","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.qt.TQErrorMessage","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.qt.TQErrorMessage","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QErrorMessage_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQErrorMessage*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QErrorMessage_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QErrorMessage_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QErrorMessage_done(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQErrorMessageJBridge*) QtSupport::getQt(env, obj))->protected_done((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QErrorMessage_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQErrorMessage*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQErrorMessage*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QErrorMessage_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QErrorMessage_message(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQErrorMessage*) QtSupport::getQt(env, obj))->message((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QErrorMessage_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQErrorMessage*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QErrorMessage_newTQErrorMessage__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQErrorMessageJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QErrorMessage_newTQErrorMessage__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 TQErrorMessageJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QErrorMessage_qtHandler(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQErrorMessageJBridge::qtHandler(), "org.kde.qt.TQErrorMessage"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QErrorMessage_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQErrorMessageJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QErrorMessage_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQErrorMessageJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QErrorMessage.h b/qtjava/javalib/qtjava/QErrorMessage.h deleted file mode 100644 index de180772..00000000 --- a/qtjava/javalib/qtjava/QErrorMessage.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QErrorMessage__ -#define __org_kde_qt_QErrorMessage__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QErrorMessage_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QErrorMessage_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QErrorMessage_newTQErrorMessage__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QErrorMessage_newTQErrorMessage__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QErrorMessage_message (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QErrorMessage_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QErrorMessage_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QErrorMessage_qtHandler (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QErrorMessage_done (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QErrorMessage_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QErrorMessage_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QErrorMessage_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QErrorMessage__ */ diff --git a/qtjava/javalib/qtjava/QEucJpCodec.cpp b/qtjava/javalib/qtjava/QEucJpCodec.cpp deleted file mode 100644 index df359341..00000000 --- a/qtjava/javalib/qtjava/QEucJpCodec.cpp +++ /dev/null @@ -1,114 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQEucJpCodecJBridge : public TQEucJpCodec -{ -public: - TQEucJpCodecJBridge() : TQEucJpCodec() {}; - ~TQEucJpCodecJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QEucJpCodec_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QEucJpCodec_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QEucJpCodec_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQEucJpCodec*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QEucJpCodec_fromUnicode(JNIEnv* env, jobject obj, jstring uc, jintArray lenInOut) -{ - TQCString _qstring; -static TQString* _qstring_uc = 0; - int* _int_lenInOut = QtSupport::toIntPtr(env, lenInOut); - _qstring = ((TQEucJpCodec*) QtSupport::getQt(env, obj))->fromUnicode((const TQString&)*(TQString*) QtSupport::toTQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); - env->SetIntArrayRegion(lenInOut, 0, 1, (jint *) _int_lenInOut); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QEucJpCodec_heuristicContentMatch(JNIEnv* env, jobject obj, jstring chars, jint len) -{ -static TQCString* _qstring_chars = 0; - jint xret = (jint) ((TQEucJpCodec*) QtSupport::getQt(env, obj))->heuristicContentMatch((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QEucJpCodec_heuristicNameMatch(JNIEnv* env, jobject obj, jstring hint) -{ -static TQCString* _qstring_hint = 0; - jint xret = (jint) ((TQEucJpCodec*) QtSupport::getQt(env, obj))->heuristicNameMatch((const char*) QtSupport::toCharString(env, hint, &_qstring_hint)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QEucJpCodec_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QEucJpCodec_makeDecoder(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQEucJpCodec*) QtSupport::getQt(env, obj))->makeDecoder(), "org.kde.qt.TQTextDecoder"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QEucJpCodec_mibEnum(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQEucJpCodec*) QtSupport::getQt(env, obj))->mibEnum(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QEucJpCodec_mimeName(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQEucJpCodec*) QtSupport::getQt(env, obj))->mimeName(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QEucJpCodec_name(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQEucJpCodec*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QEucJpCodec_newTQEucJpCodec(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQEucJpCodecJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QEucJpCodec_toUnicode(JNIEnv* env, jobject obj, jstring chars, jint len) -{ - TQString _qstring; -static TQCString* _qstring_chars = 0; - _qstring = ((TQEucJpCodec*) QtSupport::getQt(env, obj))->toUnicode((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QEucJpCodec.h b/qtjava/javalib/qtjava/QEucJpCodec.h deleted file mode 100644 index 0c0450b1..00000000 --- a/qtjava/javalib/qtjava/QEucJpCodec.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QEucJpCodec__ -#define __org_kde_qt_QEucJpCodec__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QEucJpCodec_mibEnum (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QEucJpCodec_name (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QEucJpCodec_mimeName (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QEucJpCodec_makeDecoder (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QEucJpCodec_fromUnicode (JNIEnv *env, jobject, jstring, jintArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QEucJpCodec_toUnicode (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QEucJpCodec_heuristicContentMatch (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QEucJpCodec_heuristicNameMatch (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QEucJpCodec_newTQEucJpCodec (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QEucJpCodec_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QEucJpCodec_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QEucJpCodec_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QEucJpCodec__ */ diff --git a/qtjava/javalib/qtjava/QEucKrCodec.cpp b/qtjava/javalib/qtjava/QEucKrCodec.cpp deleted file mode 100644 index d1728e0a..00000000 --- a/qtjava/javalib/qtjava/QEucKrCodec.cpp +++ /dev/null @@ -1,114 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQEucKrCodecJBridge : public TQEucKrCodec -{ -public: - TQEucKrCodecJBridge() : TQEucKrCodec() {}; - ~TQEucKrCodecJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QEucKrCodec_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QEucKrCodec_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QEucKrCodec_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQEucKrCodec*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QEucKrCodec_fromUnicode(JNIEnv* env, jobject obj, jstring uc, jintArray lenInOut) -{ - TQCString _qstring; -static TQString* _qstring_uc = 0; - int* _int_lenInOut = QtSupport::toIntPtr(env, lenInOut); - _qstring = ((TQEucKrCodec*) QtSupport::getQt(env, obj))->fromUnicode((const TQString&)*(TQString*) QtSupport::toTQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); - env->SetIntArrayRegion(lenInOut, 0, 1, (jint *) _int_lenInOut); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QEucKrCodec_heuristicContentMatch(JNIEnv* env, jobject obj, jstring chars, jint len) -{ -static TQCString* _qstring_chars = 0; - jint xret = (jint) ((TQEucKrCodec*) QtSupport::getQt(env, obj))->heuristicContentMatch((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QEucKrCodec_heuristicNameMatch(JNIEnv* env, jobject obj, jstring hint) -{ -static TQCString* _qstring_hint = 0; - jint xret = (jint) ((TQEucKrCodec*) QtSupport::getQt(env, obj))->heuristicNameMatch((const char*) QtSupport::toCharString(env, hint, &_qstring_hint)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QEucKrCodec_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QEucKrCodec_makeDecoder(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQEucKrCodec*) QtSupport::getQt(env, obj))->makeDecoder(), "org.kde.qt.TQTextDecoder"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QEucKrCodec_mibEnum(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQEucKrCodec*) QtSupport::getQt(env, obj))->mibEnum(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QEucKrCodec_mimeName(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQEucKrCodec*) QtSupport::getQt(env, obj))->mimeName(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QEucKrCodec_name(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQEucKrCodec*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QEucKrCodec_newTQEucKrCodec(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQEucKrCodecJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QEucKrCodec_toUnicode(JNIEnv* env, jobject obj, jstring chars, jint len) -{ - TQString _qstring; -static TQCString* _qstring_chars = 0; - _qstring = ((TQEucKrCodec*) QtSupport::getQt(env, obj))->toUnicode((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QEucKrCodec.h b/qtjava/javalib/qtjava/QEucKrCodec.h deleted file mode 100644 index 5e90eefb..00000000 --- a/qtjava/javalib/qtjava/QEucKrCodec.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QEucKrCodec__ -#define __org_kde_qt_QEucKrCodec__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QEucKrCodec_mibEnum (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QEucKrCodec_name (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QEucKrCodec_mimeName (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QEucKrCodec_makeDecoder (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QEucKrCodec_fromUnicode (JNIEnv *env, jobject, jstring, jintArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QEucKrCodec_toUnicode (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QEucKrCodec_heuristicContentMatch (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QEucKrCodec_heuristicNameMatch (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QEucKrCodec_newTQEucKrCodec (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QEucKrCodec_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QEucKrCodec_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QEucKrCodec_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QEucKrCodec__ */ diff --git a/qtjava/javalib/qtjava/QEvent.cpp b/qtjava/javalib/qtjava/QEvent.cpp deleted file mode 100644 index 9a5a52c5..00000000 --- a/qtjava/javalib/qtjava/QEvent.cpp +++ /dev/null @@ -1,60 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - -class TQEventJBridge : public TQEvent -{ -public: - TQEventJBridge(TQEvent::Type arg1) : TQEvent(arg1) {}; - ~TQEventJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QEvent_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QEvent_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QEvent_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQEvent*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QEvent_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QEvent_newTQEvent(JNIEnv* env, jobject obj, jint type) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQEventJBridge((TQEvent::Type) type)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QEvent_spontaneous(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQEvent*) QtSupport::getQt(env, obj))->spontaneous(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QEvent_type(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQEvent*) QtSupport::getQt(env, obj))->type(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QEvent.h b/qtjava/javalib/qtjava/QEvent.h deleted file mode 100644 index 59001558..00000000 --- a/qtjava/javalib/qtjava/QEvent.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QEvent__ -#define __org_kde_qt_QEvent__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QEvent_newTQEvent (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QEvent_type (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QEvent_spontaneous (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QEvent_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QEvent_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QEvent_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QEvent__ */ diff --git a/qtjava/javalib/qtjava/QEventLoop.cpp b/qtjava/javalib/qtjava/QEventLoop.cpp deleted file mode 100644 index 36dcdfc1..00000000 --- a/qtjava/javalib/qtjava/QEventLoop.cpp +++ /dev/null @@ -1,294 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQEventLoopJBridge : public TQEventLoop -{ -public: - TQEventLoopJBridge(TQObject* arg1,const char* arg2) : TQEventLoop(arg1,arg2) {}; - TQEventLoopJBridge(TQObject* arg1) : TQEventLoop(arg1) {}; - TQEventLoopJBridge() : TQEventLoop() {}; - void public_exit() { - TQEventLoop::exit(); - return; - } - void public_exitLoop() { - TQEventLoop::exitLoop(); - return; - } - void public_wakeUp() { - TQEventLoop::wakeUp(); - return; - } - ~TQEventLoopJBridge() {QtSupport::qtKeyDeleted(this);} - void unregisterSocketNotifier(TQSocketNotifier* arg1) { - if (!QtSupport::eventDelegate(this,"unregisterSocketNotifier",(void*)arg1,"org.kde.qt.TQSocketNotifier")) { - TQEventLoop::unregisterSocketNotifier(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void exitLoop() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQEventLoop","exitLoop")) { - TQEventLoop::exitLoop(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void wakeUp() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQEventLoop","wakeUp")) { - TQEventLoop::wakeUp(); - } - return; - } - void registerSocketNotifier(TQSocketNotifier* arg1) { - if (!QtSupport::eventDelegate(this,"registerSocketNotifier",(void*)arg1,"org.kde.qt.TQSocketNotifier")) { - TQEventLoop::registerSocketNotifier(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 hasPendingEvents() { - return QtSupport::booleanDelegate(this,"hasPendingEvents"); - } - 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.qt.TQEventLoop",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QEventLoop_activateSocketNotifiers(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQEventLoop*) QtSupport::getQt(env, obj))->activateSocketNotifiers(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QEventLoop_activateTimers(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQEventLoop*) QtSupport::getQt(env, obj))->activateTimers(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QEventLoop_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQEventLoop*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QEventLoop_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QEventLoop_finalize(env, obj); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QEventLoop_enterLoop(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQEventLoop*) QtSupport::getQt(env, obj))->enterLoop(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QEventLoop_exec(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQEventLoop*) QtSupport::getQt(env, obj))->exec(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QEventLoop_exitLoop(JNIEnv* env, jobject obj) -{ - ((TQEventLoopJBridge*) QtSupport::getQt(env, obj))->public_exitLoop(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QEventLoop_exit__(JNIEnv* env, jobject obj) -{ - ((TQEventLoopJBridge*) QtSupport::getQt(env, obj))->public_exit(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QEventLoop_exit__I(JNIEnv* env, jobject obj, jint retcode) -{ - ((TQEventLoop*) QtSupport::getQt(env, obj))->exit((int) retcode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QEventLoop_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQEventLoop*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQEventLoop*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QEventLoop_hasPendingEvents(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQEventLoop*) QtSupport::getQt(env, obj))->hasPendingEvents(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QEventLoop_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QEventLoop_loopLevel(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQEventLoop*) QtSupport::getQt(env, obj))->loopLevel(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QEventLoop_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQEventLoop*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QEventLoop_newTQEventLoop__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQEventLoopJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QEventLoop_newTQEventLoop__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQEventLoopJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QEventLoop_newTQEventLoop__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 TQEventLoopJBridge((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_qt_QEventLoop_processEvents__I(JNIEnv* env, jobject obj, jint flags) -{ - jboolean xret = (jboolean) ((TQEventLoop*) QtSupport::getQt(env, obj))->processEvents((TQEventLoop::ProcessEventsFlags) flags); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QEventLoop_processEvents__II(JNIEnv* env, jobject obj, jint flags, jint maxtime) -{ - ((TQEventLoop*) QtSupport::getQt(env, obj))->processEvents((TQEventLoop::ProcessEventsFlags) flags, (int) maxtime); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QEventLoop_registerSocketNotifier(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQEventLoop*) QtSupport::getQt(env, obj))->registerSocketNotifier((TQSocketNotifier*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QEventLoop_setSocketNotifierPending(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQEventLoop*) QtSupport::getQt(env, obj))->setSocketNotifierPending((TQSocketNotifier*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QEventLoop_timeToWait(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQEventLoop*) QtSupport::getQt(env, obj))->timeToWait(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QEventLoop_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQEventLoopJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QEventLoop_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQEventLoopJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QEventLoop_unregisterSocketNotifier(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQEventLoop*) QtSupport::getQt(env, obj))->unregisterSocketNotifier((TQSocketNotifier*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QEventLoop_wakeUp(JNIEnv* env, jobject obj) -{ - ((TQEventLoopJBridge*) QtSupport::getQt(env, obj))->public_wakeUp(); - return; -} - diff --git a/qtjava/javalib/qtjava/QEventLoop.h b/qtjava/javalib/qtjava/QEventLoop.h deleted file mode 100644 index 70f1a640..00000000 --- a/qtjava/javalib/qtjava/QEventLoop.h +++ /dev/null @@ -1,44 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QEventLoop__ -#define __org_kde_qt_QEventLoop__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QEventLoop_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QEventLoop_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QEventLoop_newTQEventLoop__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QEventLoop_newTQEventLoop__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QEventLoop_newTQEventLoop__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QEventLoop_processEvents__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QEventLoop_processEvents__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QEventLoop_hasPendingEvents (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QEventLoop_registerSocketNotifier (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QEventLoop_unregisterSocketNotifier (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QEventLoop_setSocketNotifierPending (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QEventLoop_activateSocketNotifiers (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QEventLoop_activateTimers (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QEventLoop_timeToWait (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QEventLoop_exec (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QEventLoop_exit__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QEventLoop_exit__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QEventLoop_enterLoop (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QEventLoop_exitLoop (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QEventLoop_loopLevel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QEventLoop_wakeUp (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QEventLoop_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QEventLoop_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QEventLoop_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QEventLoop_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QEventLoop_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QEventLoop__ */ diff --git a/qtjava/javalib/qtjava/QFile.cpp b/qtjava/javalib/qtjava/QFile.cpp deleted file mode 100644 index 61662a60..00000000 --- a/qtjava/javalib/qtjava/QFile.cpp +++ /dev/null @@ -1,278 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include - -class TQFileJBridge : public TQFile -{ -public: - TQFileJBridge() : TQFile() {}; - TQFileJBridge(const TQString& arg1) : TQFile(arg1) {}; - void protected_setErrorString(const TQString& arg1) { - TQFile::setErrorString(arg1); - return; - } - ~TQFileJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFile_atEnd(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFile*) QtSupport::getQt(env, obj))->atEnd(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QFile_at__(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((TQFile*) QtSupport::getQt(env, obj))->at(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFile_at__J(JNIEnv* env, jobject obj, jlong arg1) -{ - jboolean xret = (jboolean) ((TQFile*) QtSupport::getQt(env, obj))->at((TQIODevice::Offset) arg1); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFile_close(JNIEnv* env, jobject obj) -{ - ((TQFile*) QtSupport::getQt(env, obj))->close(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFile_decodeName(JNIEnv* env, jclass cls, jstring localFileName) -{ - TQString _qstring; - (void) cls; -static TQCString* _qcstring_localFileName = 0; - _qstring = TQFileJBridge::decodeName((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, localFileName, &_qcstring_localFileName)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFile_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QFile_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFile_encodeName(JNIEnv* env, jclass cls, jstring fileName) -{ - TQCString _qstring; - (void) cls; -static TQString* _qstring_fileName = 0; - _qstring = TQFileJBridge::encodeName((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFile_errorString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQFile*) QtSupport::getQt(env, obj))->errorString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFile_exists__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFile*) QtSupport::getQt(env, obj))->exists(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFile_exists__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring fileName) -{ - (void) cls; -static TQString* _qstring_fileName = 0; - jboolean xret = (jboolean) TQFileJBridge::exists((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFile_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQFile*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFile_flush(JNIEnv* env, jobject obj) -{ - ((TQFile*) QtSupport::getQt(env, obj))->flush(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFile_getch(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFile*) QtSupport::getQt(env, obj))->getch(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFile_handle(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFile*) QtSupport::getQt(env, obj))->handle(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFile_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFile_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQFile*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFile_newTQFile__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQFileJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFile_newTQFile__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 TQFileJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFile_open__I(JNIEnv* env, jobject obj, jint arg1) -{ - jboolean xret = (jboolean) ((TQFile*) QtSupport::getQt(env, obj))->open((int) arg1); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFile_open__II(JNIEnv* env, jobject obj, jint arg1, jint arg2) -{ - jboolean xret = (jboolean) ((TQFile*) QtSupport::getQt(env, obj))->open((int) arg1, (int) arg2); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFile_putch(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQFile*) QtSupport::getQt(env, obj))->putch((int) arg1); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QFile_readBlock(JNIEnv* env, jobject obj, jobject data, jlong len) -{ -static TQCString* _qstring_data = 0; - if (_qstring_data == 0) { _qstring_data = new TQCString(); } - _qstring_data->resize((uint) len); - jlong xret = (jlong) ((TQFile*) QtSupport::getQt(env, obj))->readBlock((char*) _qstring_data->data(), (Q_ULONG) len); - QtSupport::fromTQCStringToStringBuffer(env, _qstring_data, data); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QFile_readLine__Ljava_lang_StringBuffer_2J(JNIEnv* env, jobject obj, jobject arg1, jlong maxlen) -{ -static TQString* _qstring_arg1 = 0; - jlong xret = (jlong) ((TQFile*) QtSupport::getQt(env, obj))->readLine((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, arg1, &_qstring_arg1), (Q_ULONG) maxlen); - QtSupport::fromTQStringToStringBuffer(env, _qstring_arg1, arg1); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QFile_readLine__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring data, jlong maxlen) -{ -static TQCString* _qstring_data = 0; - jlong xret = (jlong) ((TQFile*) QtSupport::getQt(env, obj))->readLine((char*) QtSupport::toCharString(env, data, &_qstring_data), (Q_ULONG) maxlen); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFile_remove__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFile*) QtSupport::getQt(env, obj))->remove(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFile_remove__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring fileName) -{ - (void) cls; -static TQString* _qstring_fileName = 0; - jboolean xret = (jboolean) TQFileJBridge::remove((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFile_setErrorString(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQFileJBridge*) QtSupport::getQt(env, obj))->protected_setErrorString((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFile_setName(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((TQFile*) QtSupport::getQt(env, obj))->setName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QFile_size(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((TQFile*) QtSupport::getQt(env, obj))->size(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFile_ungetch(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQFile*) QtSupport::getQt(env, obj))->ungetch((int) arg1); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QFile_writeBlock__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring data, jlong len) -{ -static TQCString* _qstring_data = 0; - jlong xret = (jlong) ((TQFile*) QtSupport::getQt(env, obj))->writeBlock((const char*) QtSupport::toCharString(env, data, &_qstring_data), (Q_ULONG) len); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QFile_writeBlock___3B(JNIEnv* env, jobject obj, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - jlong xret = (jlong) ((TQFile*) QtSupport::getQt(env, obj))->writeBlock((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QFile.h b/qtjava/javalib/qtjava/QFile.h deleted file mode 100644 index cdc67db6..00000000 --- a/qtjava/javalib/qtjava/QFile.h +++ /dev/null @@ -1,50 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QFile__ -#define __org_kde_qt_QFile__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFile_newTQFile__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFile_newTQFile__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFile_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFile_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFile_exists__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFile_remove__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFile_open__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFile_open__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFile_close (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFile_flush (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QFile_size (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QFile_at__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFile_at__J (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFile_atEnd (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QFile_readBlock (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QFile_writeBlock__Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QFile_writeBlock___3B (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QFile_readLine__Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QFile_readLine__Ljava_lang_StringBuffer_2J (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFile_getch (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFile_putch (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFile_ungetch (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFile_handle (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFile_errorString (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFile_encodeName (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFile_decodeName (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFile_exists__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFile_remove__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFile_setErrorString (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFile_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFile_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFile_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QFile__ */ diff --git a/qtjava/javalib/qtjava/QFileDialog.cpp b/qtjava/javalib/qtjava/QFileDialog.cpp deleted file mode 100644 index 7532624c..00000000 --- a/qtjava/javalib/qtjava/QFileDialog.cpp +++ /dev/null @@ -1,1233 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQFileDialogJBridge : public TQFileDialog -{ -public: - TQFileDialogJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4,bool arg5) : TQFileDialog(arg1,arg2,arg3,arg4,arg5) {}; - TQFileDialogJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4) : TQFileDialog(arg1,arg2,arg3,arg4) {}; - TQFileDialogJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3) : TQFileDialog(arg1,arg2,arg3) {}; - TQFileDialogJBridge(const TQString& arg1,const TQString& arg2) : TQFileDialog(arg1,arg2) {}; - TQFileDialogJBridge(const TQString& arg1) : TQFileDialog(arg1) {}; - TQFileDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3) : TQFileDialog(arg1,arg2,arg3) {}; - TQFileDialogJBridge(TQWidget* arg1,const char* arg2) : TQFileDialog(arg1,arg2) {}; - TQFileDialogJBridge(TQWidget* arg1) : TQFileDialog(arg1) {}; - TQFileDialogJBridge() : TQFileDialog() {}; - void protected_resizeEvent(TQResizeEvent* arg1) { - TQFileDialog::resizeEvent(arg1); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQFileDialog::keyPressEvent(arg1); - return; - } - void protected_addWidgets(TQLabel* arg1,TQWidget* arg2,TQPushButton* arg3) { - TQFileDialog::addWidgets(arg1,arg2,arg3); - return; - } - void protected_addToolButton(TQButton* arg1,bool arg2) { - TQFileDialog::addToolButton(arg1,arg2); - return; - } - void protected_addToolButton(TQButton* arg1) { - TQFileDialog::addToolButton(arg1); - return; - } - void protected_addLeftWidget(TQWidget* arg1) { - TQFileDialog::addLeftWidget(arg1); - return; - } - void protected_addRightWidget(TQWidget* arg1) { - TQFileDialog::addRightWidget(arg1); - return; - } - ~TQFileDialogJBridge() {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")) { - TQFileDialog::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.qt.TQFileDialog","accept")) { - TQDialog::accept(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFileDialog","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.qt.TQFileDialog","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.qt.TQFileDialog","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.qt.TQFileDialog","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFileDialog","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")) { - TQFileDialog::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.qt.TQFileDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFileDialog","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.qt.TQFileDialog","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.qt.TQFileDialog","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.qt.TQFileDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_addFilter(JNIEnv* env, jobject obj, jstring filter) -{ -static TQString* _qstring_filter = 0; - ((TQFileDialog*) QtSupport::getQt(env, obj))->addFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_addLeftWidget(JNIEnv* env, jobject obj, jobject w) -{ - ((TQFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_addLeftWidget((TQWidget*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_addRightWidget(JNIEnv* env, jobject obj, jobject w) -{ - ((TQFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_addRightWidget((TQWidget*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_addToolButton__Lorg_kde_qt_QButton_2(JNIEnv* env, jobject obj, jobject b) -{ - ((TQFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_addToolButton((TQButton*) QtSupport::getQt(env, b)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_addToolButton__Lorg_kde_qt_QButton_2Z(JNIEnv* env, jobject obj, jobject b, jboolean separator) -{ - ((TQFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_addToolButton((TQButton*) QtSupport::getQt(env, b), (bool) separator); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_addWidgets(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jobject arg3) -{ - ((TQFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_addWidgets((TQLabel*) QtSupport::getQt(env, arg1), (TQWidget*) QtSupport::getQt(env, arg2), (TQPushButton*) QtSupport::getQt(env, arg3)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQFileDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileDialog_dirPath(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQFileDialog*) QtSupport::getQt(env, obj))->dirPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFileDialog_dir(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQFileDialog*) QtSupport::getQt(env, obj))->dir(), "org.kde.qt.TQDir"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QFileDialog_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_done(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQFileDialog*) QtSupport::getQt(env, obj))->done((int) arg1); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFileDialog_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - jboolean xret = (jboolean) ((TQFileDialog*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQFileDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQFileDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileDialog_getExistingDirectory__(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TQFileDialogJBridge::getExistingDirectory(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileDialog_getExistingDirectory__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring dir) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_dir = 0; - _qstring = TQFileDialogJBridge::getExistingDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileDialog_getExistingDirectory__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring dir, jobject parent) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_dir = 0; - _qstring = TQFileDialogJBridge::getExistingDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileDialog_getExistingDirectory__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring dir, jobject parent, jstring name) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_dir = 0; -static TQCString* _qstring_name = 0; - _qstring = TQFileDialogJBridge::getExistingDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileDialog_getExistingDirectory__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring dir, jobject parent, jstring name, jstring caption) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_dir = 0; -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - _qstring = TQFileDialogJBridge::getExistingDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileDialog_getExistingDirectory__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring dir, jobject parent, jstring name, jstring caption, jboolean dirOnly) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_dir = 0; -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - _qstring = TQFileDialogJBridge::getExistingDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (bool) dirOnly); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileDialog_getExistingDirectory__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2ZZ(JNIEnv* env, jclass cls, jstring dir, jobject parent, jstring name, jstring caption, jboolean dirOnly, jboolean resolveSymlinks) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_dir = 0; -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - _qstring = TQFileDialogJBridge::getExistingDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (bool) dirOnly, (bool) resolveSymlinks); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileDialog_getOpenFileName__(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TQFileDialogJBridge::getOpenFileName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring initially) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_initially = 0; - _qstring = TQFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring initially, jstring filter) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_initially = 0; -static TQString* _qstring_filter = 0; - _qstring = TQFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring initially, jstring filter, jobject parent) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_initially = 0; -static TQString* _qstring_filter = 0; - _qstring = TQFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (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_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring initially, jstring filter, jobject parent, jstring name) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_initially = 0; -static TQString* _qstring_filter = 0; -static TQCString* _qstring_name = 0; - _qstring = TQFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring initially, jstring filter, jobject parent, jstring name, jstring caption) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_initially = 0; -static TQString* _qstring_filter = 0; -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - _qstring = TQFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring initially, jstring filter, jobject parent, jstring name, jstring caption, jobject selectedFilter) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_initially = 0; -static TQString* _qstring_filter = 0; -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_selectedFilter = 0; - _qstring = TQFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQString*) QtSupport::toTQStringFromStringBuffer(env, selectedFilter, &_qstring_selectedFilter)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_selectedFilter, selectedFilter); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Z(JNIEnv* env, jclass cls, jstring initially, jstring filter, jobject parent, jstring name, jstring caption, jobject selectedFilter, jboolean resolveSymlinks) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_initially = 0; -static TQString* _qstring_filter = 0; -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_selectedFilter = 0; - _qstring = TQFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQString*) QtSupport::toTQStringFromStringBuffer(env, selectedFilter, &_qstring_selectedFilter), (bool) resolveSymlinks); - QtSupport::fromTQStringToStringBuffer(env, _qstring_selectedFilter, selectedFilter); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFileDialog_getOpenFileNames__(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = TQFileDialogJBridge::getOpenFileNames(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filter) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_filter = 0; - _qlist = TQFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filter, jstring dir) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_filter = 0; -static TQString* _qstring_dir = 0; - _qlist = TQFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring filter, jstring dir, jobject parent) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_filter = 0; -static TQString* _qstring_dir = 0; - _qlist = TQFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filter, jstring dir, jobject parent, jstring name) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_filter = 0; -static TQString* _qstring_dir = 0; -static TQCString* _qstring_name = 0; - _qlist = TQFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filter, jstring dir, jobject parent, jstring name, jstring caption) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_filter = 0; -static TQString* _qstring_dir = 0; -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - _qlist = TQFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring filter, jstring dir, jobject parent, jstring name, jstring caption, jobject selectedFilter) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_filter = 0; -static TQString* _qstring_dir = 0; -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_selectedFilter = 0; - _qlist = TQFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQString*) QtSupport::toTQStringFromStringBuffer(env, selectedFilter, &_qstring_selectedFilter)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_selectedFilter, selectedFilter); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Z(JNIEnv* env, jclass cls, jstring filter, jstring dir, jobject parent, jstring name, jstring caption, jobject selectedFilter, jboolean resolveSymlinks) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_filter = 0; -static TQString* _qstring_dir = 0; -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_selectedFilter = 0; - _qlist = TQFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQString*) QtSupport::toTQStringFromStringBuffer(env, selectedFilter, &_qstring_selectedFilter), (bool) resolveSymlinks); - QtSupport::fromTQStringToStringBuffer(env, _qstring_selectedFilter, selectedFilter); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileDialog_getSaveFileName__(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TQFileDialogJBridge::getSaveFileName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring initially) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_initially = 0; - _qstring = TQFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring initially, jstring filter) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_initially = 0; -static TQString* _qstring_filter = 0; - _qstring = TQFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring initially, jstring filter, jobject parent) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_initially = 0; -static TQString* _qstring_filter = 0; - _qstring = TQFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (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_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring initially, jstring filter, jobject parent, jstring name) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_initially = 0; -static TQString* _qstring_filter = 0; -static TQCString* _qstring_name = 0; - _qstring = TQFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring initially, jstring filter, jobject parent, jstring name, jstring caption) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_initially = 0; -static TQString* _qstring_filter = 0; -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - _qstring = TQFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring initially, jstring filter, jobject parent, jstring name, jstring caption, jobject selectedFilter) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_initially = 0; -static TQString* _qstring_filter = 0; -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_selectedFilter = 0; - _qstring = TQFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQString*) QtSupport::toTQStringFromStringBuffer(env, selectedFilter, &_qstring_selectedFilter)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_selectedFilter, selectedFilter); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Z(JNIEnv* env, jclass cls, jstring initially, jstring filter, jobject parent, jstring name, jstring caption, jobject selectedFilter, jboolean resolveSymlinks) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_initially = 0; -static TQString* _qstring_filter = 0; -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_selectedFilter = 0; - _qstring = TQFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQString*) QtSupport::toTQStringFromStringBuffer(env, selectedFilter, &_qstring_selectedFilter), (bool) resolveSymlinks); - QtSupport::fromTQStringToStringBuffer(env, _qstring_selectedFilter, selectedFilter); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFileDialog_iconProvider(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQFileDialogJBridge::iconProvider(), "org.kde.qt.TQFileIconProvider"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFileDialog_isContentsPreviewEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFileDialog*) QtSupport::getQt(env, obj))->isContentsPreviewEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFileDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFileDialog_isInfoPreviewEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFileDialog*) QtSupport::getQt(env, obj))->isInfoPreviewEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFileDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQFileDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFileDialog_mode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFileDialog*) QtSupport::getQt(env, obj))->mode(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_newTQFileDialog__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQFileDialogJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_newTQFileDialog__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring dirName) -{ -static TQString* _qstring_dirName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQFileDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, dirName, &_qstring_dirName))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_newTQFileDialog__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring dirName, jstring filter) -{ -static TQString* _qstring_dirName = 0; -static TQString* _qstring_filter = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQFileDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, dirName, &_qstring_dirName), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_newTQFileDialog__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring dirName, jstring filter, jobject parent) -{ -static TQString* _qstring_dirName = 0; -static TQString* _qstring_filter = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQFileDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, dirName, &_qstring_dirName), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_newTQFileDialog__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring dirName, jstring filter, jobject parent, jstring name) -{ -static TQString* _qstring_dirName = 0; -static TQString* _qstring_filter = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQFileDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, dirName, &_qstring_dirName), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_newTQFileDialog__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring dirName, jstring filter, jobject parent, jstring name, jboolean modal) -{ -static TQString* _qstring_dirName = 0; -static TQString* _qstring_filter = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQFileDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, dirName, &_qstring_dirName), (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_qt_QFileDialog_newTQFileDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQFileDialogJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_newTQFileDialog__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 TQFileDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_newTQFileDialog__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 TQFileDialogJBridge((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_qt_QFileDialog_previewMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFileDialog*) QtSupport::getQt(env, obj))->previewMode(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_rereadDir(JNIEnv* env, jobject obj) -{ - ((TQFileDialog*) QtSupport::getQt(env, obj))->rereadDir(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_resortDir(JNIEnv* env, jobject obj) -{ - ((TQFileDialog*) QtSupport::getQt(env, obj))->resortDir(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_selectAll(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQFileDialog*) QtSupport::getQt(env, obj))->selectAll((bool) b); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileDialog_selectedFile(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQFileDialog*) QtSupport::getQt(env, obj))->selectedFile(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFileDialog_selectedFiles(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TQFileDialog*) QtSupport::getQt(env, obj))->selectedFiles(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileDialog_selectedFilter(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQFileDialog*) QtSupport::getQt(env, obj))->selectedFilter(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_setContentsPreviewEnabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQFileDialog*) QtSupport::getQt(env, obj))->setContentsPreviewEnabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_setContentsPreview(JNIEnv* env, jobject obj, jobject w, jobject preview) -{ - ((TQFileDialog*) QtSupport::getQt(env, obj))->setContentsPreview((TQWidget*) QtSupport::getQt(env, w), (TQFilePreview*) QtSupport::getQt(env, preview)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_setDir__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQFileDialog*) QtSupport::getQt(env, obj))->setDir((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_setDir__Lorg_kde_qt_QDir_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQFileDialog*) QtSupport::getQt(env, obj))->setDir((const TQDir&)*(const TQDir*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_setFilter(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQFileDialog*) QtSupport::getQt(env, obj))->setFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_setFilters__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQFileDialog*) QtSupport::getQt(env, obj))->setFilters((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_setFilters___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray arg1) -{ - ((TQFileDialog*) QtSupport::getQt(env, obj))->setFilters((const char**) QtSupport::toStringArray(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_setIconProvider(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - TQFileDialogJBridge::setIconProvider((TQFileIconProvider*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_setInfoPreviewEnabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQFileDialog*) QtSupport::getQt(env, obj))->setInfoPreviewEnabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_setInfoPreview(JNIEnv* env, jobject obj, jobject w, jobject preview) -{ - ((TQFileDialog*) QtSupport::getQt(env, obj))->setInfoPreview((TQWidget*) QtSupport::getQt(env, w), (TQFilePreview*) QtSupport::getQt(env, preview)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_setMode(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQFileDialog*) QtSupport::getQt(env, obj))->setMode((TQFileDialog::Mode) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_setPreviewMode(JNIEnv* env, jobject obj, jint m) -{ - ((TQFileDialog*) QtSupport::getQt(env, obj))->setPreviewMode((TQFileDialog::PreviewMode) m); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_setSelectedFilter__I(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQFileDialog*) QtSupport::getQt(env, obj))->setSelectedFilter((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_setSelectedFilter__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQFileDialog*) QtSupport::getQt(env, obj))->setSelectedFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_setSelection(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQFileDialog*) QtSupport::getQt(env, obj))->setSelection((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_setShowHiddenFiles(JNIEnv* env, jobject obj, jboolean s) -{ - ((TQFileDialog*) QtSupport::getQt(env, obj))->setShowHiddenFiles((bool) s); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_setUrl(JNIEnv* env, jobject obj, jobject url) -{ - ((TQFileDialog*) QtSupport::getQt(env, obj))->setUrl((const TQUrlOperator&)*(const TQUrlOperator*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_setViewMode(JNIEnv* env, jobject obj, jint m) -{ - ((TQFileDialog*) QtSupport::getQt(env, obj))->setViewMode((TQFileDialog::ViewMode) m); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFileDialog_showHiddenFiles(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFileDialog*) QtSupport::getQt(env, obj))->showHiddenFiles(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileDialog_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQFileDialogJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileDialog_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQFileDialogJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFileDialog_url(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQUrl(((TQFileDialog*) QtSupport::getQt(env, obj))->url()), "org.kde.qt.TQUrlInterface", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFileDialog_viewMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFileDialog*) QtSupport::getQt(env, obj))->viewMode(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QFileDialog.h b/qtjava/javalib/qtjava/QFileDialog.h deleted file mode 100644 index f70a4c00..00000000 --- a/qtjava/javalib/qtjava/QFileDialog.h +++ /dev/null @@ -1,109 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QFileDialog__ -#define __org_kde_qt_QFileDialog__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFileDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_newTQFileDialog__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_qt_QFileDialog_newTQFileDialog__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_qt_QFileDialog_newTQFileDialog__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_newTQFileDialog__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_newTQFileDialog__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_newTQFileDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_newTQFileDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_newTQFileDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_newTQFileDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_selectedFile (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_selectedFilter (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_setSelectedFilter__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_setSelectedFilter__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_setSelection (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_selectAll (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFileDialog_selectedFiles (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_dirPath (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_setDir__Lorg_kde_qt_QDir_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFileDialog_dir (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_setShowHiddenFiles (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileDialog_showHiddenFiles (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_rereadDir (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_resortDir (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_setMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFileDialog_mode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_setViewMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFileDialog_viewMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_setPreviewMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFileDialog_previewMode (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileDialog_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileDialog_isInfoPreviewEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileDialog_isContentsPreviewEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_setInfoPreviewEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_setContentsPreviewEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_setInfoPreview (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_setContentsPreview (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFileDialog_url (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_addFilter (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_done (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_setDir__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_setUrl (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_setFilter (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_setFilters__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_setFilters___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Z (JNIEnv *env, jclass, jstring, jstring, jobject, jstring, jstring, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jstring, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_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_qt_QFileDialog_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_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_getOpenFileName__ (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Z (JNIEnv *env, jclass, jstring, jstring, jobject, jstring, jstring, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jstring, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_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_qt_QFileDialog_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_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_getSaveFileName__ (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_getExistingDirectory__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2ZZ (JNIEnv *env, jclass, jstring, jobject, jstring, jstring, jboolean, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_getExistingDirectory__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jobject, jstring, jstring, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_getExistingDirectory__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_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_qt_QFileDialog_getExistingDirectory__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_getExistingDirectory__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_getExistingDirectory__ (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Z (JNIEnv *env, jclass, jstring, jstring, jobject, jstring, jstring, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jstring, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFileDialog_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_qt_QFileDialog_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_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFileDialog_getOpenFileNames__ (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_setIconProvider (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFileDialog_iconProvider (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_addWidgets (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_addToolButton__Lorg_kde_qt_QButton_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_addToolButton__Lorg_kde_qt_QButton_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_addLeftWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_addRightWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QFileDialog__ */ diff --git a/qtjava/javalib/qtjava/QFileIconProvider.cpp b/qtjava/javalib/qtjava/QFileIconProvider.cpp deleted file mode 100644 index 531bb93f..00000000 --- a/qtjava/javalib/qtjava/QFileIconProvider.cpp +++ /dev/null @@ -1,151 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQFileIconProviderJBridge : public TQFileIconProvider -{ -public: - TQFileIconProviderJBridge(TQObject* arg1,const char* arg2) : TQFileIconProvider(arg1,arg2) {}; - TQFileIconProviderJBridge(TQObject* arg1) : TQFileIconProvider(arg1) {}; - TQFileIconProviderJBridge() : TQFileIconProvider() {}; - ~TQFileIconProviderJBridge() {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.qt.TQFileIconProvider",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileIconProvider_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQFileIconProvider*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileIconProvider_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QFileIconProvider_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileIconProvider_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQFileIconProvider*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQFileIconProvider*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFileIconProvider_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFileIconProvider_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQFileIconProvider*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileIconProvider_newTQFileIconProvider__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQFileIconProviderJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileIconProvider_newTQFileIconProvider__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQFileIconProviderJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileIconProvider_newTQFileIconProvider__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 TQFileIconProviderJBridge((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_qt_QFileIconProvider_pixmap(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQFileIconProvider*) QtSupport::getQt(env, obj))->pixmap((const TQFileInfo&)*(const TQFileInfo*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileIconProvider_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQFileIconProviderJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileIconProvider_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQFileIconProviderJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QFileIconProvider.h b/qtjava/javalib/qtjava/QFileIconProvider.h deleted file mode 100644 index dd5e9c80..00000000 --- a/qtjava/javalib/qtjava/QFileIconProvider.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QFileIconProvider__ -#define __org_kde_qt_QFileIconProvider__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFileIconProvider_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileIconProvider_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileIconProvider_newTQFileIconProvider__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileIconProvider_newTQFileIconProvider__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileIconProvider_newTQFileIconProvider__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFileIconProvider_pixmap (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileIconProvider_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileIconProvider_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileIconProvider_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileIconProvider_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileIconProvider_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QFileIconProvider__ */ diff --git a/qtjava/javalib/qtjava/QFileInfo.cpp b/qtjava/javalib/qtjava/QFileInfo.cpp deleted file mode 100644 index b846c4c6..00000000 --- a/qtjava/javalib/qtjava/QFileInfo.cpp +++ /dev/null @@ -1,373 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQFileInfoJBridge : public TQFileInfo -{ -public: - TQFileInfoJBridge() : TQFileInfo() {}; - TQFileInfoJBridge(const TQString& arg1) : TQFileInfo(arg1) {}; - TQFileInfoJBridge(const TQFile& arg1) : TQFileInfo(arg1) {}; - TQFileInfoJBridge(const TQDir& arg1,const TQString& arg2) : TQFileInfo(arg1,arg2) {}; - TQFileInfoJBridge(const TQFileInfo& arg1) : TQFileInfo(arg1) {}; - ~TQFileInfoJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileInfo_absFilePath(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQFileInfo*) QtSupport::getQt(env, obj))->absFilePath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileInfo_baseName__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQFileInfo*) QtSupport::getQt(env, obj))->baseName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileInfo_baseName__Z(JNIEnv* env, jobject obj, jboolean complete) -{ - TQString _qstring; - _qstring = ((TQFileInfo*) QtSupport::getQt(env, obj))->baseName((bool) complete); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFileInfo_caching(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFileInfo*) QtSupport::getQt(env, obj))->caching(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFileInfo_convertToAbs(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFileInfo*) QtSupport::getQt(env, obj))->convertToAbs(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFileInfo_created(JNIEnv* env, jobject obj) -{ - TQDateTime _qdate; - _qdate = ((TQFileInfo*) QtSupport::getQt(env, obj))->created(); - return (jobject) QtSupport::fromTQDateTime(env, (TQDateTime*) &_qdate); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileInfo_dirPath__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQFileInfo*) QtSupport::getQt(env, obj))->dirPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileInfo_dirPath__Z(JNIEnv* env, jobject obj, jboolean absPath) -{ - TQString _qstring; - _qstring = ((TQFileInfo*) QtSupport::getQt(env, obj))->dirPath((bool) absPath); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFileInfo_dir__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDir(((TQFileInfo*) QtSupport::getQt(env, obj))->dir()), "org.kde.qt.TQDir", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFileInfo_dir__Z(JNIEnv* env, jobject obj, jboolean absPath) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDir(((TQFileInfo*) QtSupport::getQt(env, obj))->dir((bool) absPath)), "org.kde.qt.TQDir", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileInfo_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QFileInfo_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFileInfo_exists(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFileInfo*) QtSupport::getQt(env, obj))->exists(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileInfo_extension__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQFileInfo*) QtSupport::getQt(env, obj))->extension(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileInfo_extension__Z(JNIEnv* env, jobject obj, jboolean complete) -{ - TQString _qstring; - _qstring = ((TQFileInfo*) QtSupport::getQt(env, obj))->extension((bool) complete); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileInfo_fileName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQFileInfo*) QtSupport::getQt(env, obj))->fileName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileInfo_filePath(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQFileInfo*) QtSupport::getQt(env, obj))->filePath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileInfo_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQFileInfo*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFileInfo_groupId(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFileInfo*) QtSupport::getQt(env, obj))->groupId(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileInfo_group(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQFileInfo*) QtSupport::getQt(env, obj))->group(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFileInfo_isDir(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFileInfo*) QtSupport::getQt(env, obj))->isDir(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFileInfo_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFileInfo_isExecutable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFileInfo*) QtSupport::getQt(env, obj))->isExecutable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFileInfo_isFile(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFileInfo*) QtSupport::getQt(env, obj))->isFile(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFileInfo_isHidden(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFileInfo*) QtSupport::getQt(env, obj))->isHidden(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFileInfo_isReadable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFileInfo*) QtSupport::getQt(env, obj))->isReadable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFileInfo_isRelative(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFileInfo*) QtSupport::getQt(env, obj))->isRelative(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFileInfo_isSymLink(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFileInfo*) QtSupport::getQt(env, obj))->isSymLink(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFileInfo_isWritable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFileInfo*) QtSupport::getQt(env, obj))->isWritable(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFileInfo_lastModified(JNIEnv* env, jobject obj) -{ - TQDateTime _qdate; - _qdate = ((TQFileInfo*) QtSupport::getQt(env, obj))->lastModified(); - return (jobject) QtSupport::fromTQDateTime(env, (TQDateTime*) &_qdate); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFileInfo_lastRead(JNIEnv* env, jobject obj) -{ - TQDateTime _qdate; - _qdate = ((TQFileInfo*) QtSupport::getQt(env, obj))->lastRead(); - return (jobject) QtSupport::fromTQDateTime(env, (TQDateTime*) &_qdate); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileInfo_newTQFileInfo__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQFileInfoJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileInfo_newTQFileInfo__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring file) -{ -static TQString* _qstring_file = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQFileInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileInfo_newTQFileInfo__Lorg_kde_qt_QDir_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring fileName) -{ -static TQString* _qstring_fileName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQFileInfoJBridge((const TQDir&)*(const TQDir*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileInfo_newTQFileInfo__Lorg_kde_qt_QFileInfo_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQFileInfoJBridge((const TQFileInfo&)*(const TQFileInfo*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileInfo_newTQFileInfo__Lorg_kde_qt_QFile_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQFileInfoJBridge((const TQFile&)*(const TQFile*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFileInfo_ownerId(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFileInfo*) QtSupport::getQt(env, obj))->ownerId(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileInfo_owner(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQFileInfo*) QtSupport::getQt(env, obj))->owner(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFileInfo_permission(JNIEnv* env, jobject obj, jint permissionSpec) -{ - jboolean xret = (jboolean) ((TQFileInfo*) QtSupport::getQt(env, obj))->permission((int) permissionSpec); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFileInfo_readLink(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQFileInfo*) QtSupport::getQt(env, obj))->readLink(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileInfo_refresh(JNIEnv* env, jobject obj) -{ - ((TQFileInfo*) QtSupport::getQt(env, obj))->refresh(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileInfo_setCaching(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQFileInfo*) QtSupport::getQt(env, obj))->setCaching((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileInfo_setFile__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring file) -{ -static TQString* _qstring_file = 0; - ((TQFileInfo*) QtSupport::getQt(env, obj))->setFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileInfo_setFile__Lorg_kde_qt_QDir_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring fileName) -{ -static TQString* _qstring_fileName = 0; - ((TQFileInfo*) QtSupport::getQt(env, obj))->setFile((const TQDir&)*(const TQDir*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFileInfo_setFile__Lorg_kde_qt_QFile_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQFileInfo*) QtSupport::getQt(env, obj))->setFile((const TQFile&)*(const TQFile*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QFileInfo_size(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((TQFileInfo*) QtSupport::getQt(env, obj))->size(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QFileInfo.h b/qtjava/javalib/qtjava/QFileInfo.h deleted file mode 100644 index 8c6c5538..00000000 --- a/qtjava/javalib/qtjava/QFileInfo.h +++ /dev/null @@ -1,63 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QFileInfo__ -#define __org_kde_qt_QFileInfo__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileInfo_newTQFileInfo__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileInfo_newTQFileInfo__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileInfo_newTQFileInfo__Lorg_kde_qt_QFile_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileInfo_newTQFileInfo__Lorg_kde_qt_QDir_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileInfo_newTQFileInfo__Lorg_kde_qt_QFileInfo_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileInfo_setFile__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileInfo_setFile__Lorg_kde_qt_QFile_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileInfo_setFile__Lorg_kde_qt_QDir_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileInfo_exists (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileInfo_refresh (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileInfo_caching (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileInfo_setCaching (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileInfo_filePath (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileInfo_fileName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileInfo_absFilePath (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileInfo_baseName__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileInfo_baseName__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileInfo_extension__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileInfo_extension__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileInfo_dirPath__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileInfo_dirPath__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFileInfo_dir__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFileInfo_dir__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileInfo_isReadable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileInfo_isWritable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileInfo_isExecutable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileInfo_isHidden (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileInfo_isRelative (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileInfo_convertToAbs (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileInfo_isFile (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileInfo_isDir (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileInfo_isSymLink (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileInfo_readLink (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileInfo_owner (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFileInfo_ownerId (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileInfo_group (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFileInfo_groupId (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileInfo_permission (JNIEnv *env, jobject, jint); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QFileInfo_size (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFileInfo_created (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFileInfo_lastModified (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFileInfo_lastRead (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileInfo_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileInfo_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileInfo_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QFileInfo__ */ diff --git a/qtjava/javalib/qtjava/QFilePreview.cpp b/qtjava/javalib/qtjava/QFilePreview.cpp deleted file mode 100644 index c0a9cc00..00000000 --- a/qtjava/javalib/qtjava/QFilePreview.cpp +++ /dev/null @@ -1,14 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFilePreview_previewUrl(JNIEnv* env, jobject obj, jobject url) -{ - ((TQFilePreview*) QtSupport::getQt(env, obj))->previewUrl((const TQUrl&)*(const TQUrl*) QtSupport::getQt(env, url)); - return; -} - diff --git a/qtjava/javalib/qtjava/QFilePreview.h b/qtjava/javalib/qtjava/QFilePreview.h deleted file mode 100644 index c5f189e2..00000000 --- a/qtjava/javalib/qtjava/QFilePreview.h +++ /dev/null @@ -1,19 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QFilePreview__ -#define __org_kde_qt_QFilePreview__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFilePreview_previewUrl (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QFilePreview__ */ diff --git a/qtjava/javalib/qtjava/QFocusData.cpp b/qtjava/javalib/qtjava/QFocusData.cpp deleted file mode 100644 index 61822bc3..00000000 --- a/qtjava/javalib/qtjava/QFocusData.cpp +++ /dev/null @@ -1,55 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFocusData_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFocusData*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFocusData_first(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQFocusData*) QtSupport::getQt(env, obj))->first(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFocusData_focusWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQFocusData*) QtSupport::getQt(env, obj))->focusWidget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFocusData_home(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQFocusData*) QtSupport::getQt(env, obj))->home(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFocusData_last(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQFocusData*) QtSupport::getQt(env, obj))->last(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFocusData_next(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQFocusData*) QtSupport::getQt(env, obj))->next(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFocusData_prev(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQFocusData*) QtSupport::getQt(env, obj))->prev(), "org.kde.qt.TQWidget"); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QFocusData.h b/qtjava/javalib/qtjava/QFocusData.h deleted file mode 100644 index 977b96ad..00000000 --- a/qtjava/javalib/qtjava/QFocusData.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QFocusData__ -#define __org_kde_qt_QFocusData__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFocusData_focusWidget (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFocusData_home (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFocusData_next (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFocusData_prev (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFocusData_first (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFocusData_last (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFocusData_count (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QFocusData__ */ diff --git a/qtjava/javalib/qtjava/QFocusEvent.cpp b/qtjava/javalib/qtjava/QFocusEvent.cpp deleted file mode 100644 index d54fd1ef..00000000 --- a/qtjava/javalib/qtjava/QFocusEvent.cpp +++ /dev/null @@ -1,87 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - -class TQFocusEventJBridge : public TQFocusEvent -{ -public: - TQFocusEventJBridge(TQEvent::Type arg1) : TQFocusEvent(arg1) {}; - ~TQFocusEventJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFocusEvent_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QFocusEvent_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFocusEvent_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQFocusEvent*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFocusEvent_gotFocus(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFocusEvent*) QtSupport::getQt(env, obj))->gotFocus(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFocusEvent_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFocusEvent_lostFocus(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFocusEvent*) QtSupport::getQt(env, obj))->lostFocus(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFocusEvent_newTQFocusEvent(JNIEnv* env, jobject obj, jint type) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQFocusEventJBridge((TQEvent::Type) type)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFocusEvent_reason(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TQFocusEventJBridge::reason(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFocusEvent_resetReason(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TQFocusEventJBridge::resetReason(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFocusEvent_setReason(JNIEnv* env, jclass cls, jint reason) -{ - (void) cls; - (void) env; - TQFocusEventJBridge::setReason((TQFocusEvent::Reason) reason); - return; -} - diff --git a/qtjava/javalib/qtjava/QFocusEvent.h b/qtjava/javalib/qtjava/QFocusEvent.h deleted file mode 100644 index 821aba71..00000000 --- a/qtjava/javalib/qtjava/QFocusEvent.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QFocusEvent__ -#define __org_kde_qt_QFocusEvent__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFocusEvent_newTQFocusEvent (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFocusEvent_gotFocus (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFocusEvent_lostFocus (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFocusEvent_reason (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFocusEvent_setReason (JNIEnv *env, jclass, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFocusEvent_resetReason (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFocusEvent_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFocusEvent_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFocusEvent_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QFocusEvent__ */ diff --git a/qtjava/javalib/qtjava/QFont.cpp b/qtjava/javalib/qtjava/QFont.cpp deleted file mode 100644 index 7515cd3b..00000000 --- a/qtjava/javalib/qtjava/QFont.cpp +++ /dev/null @@ -1,560 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQFontJBridge : public TQFont -{ -public: - TQFontJBridge() : TQFont() {}; - TQFontJBridge(const TQString& arg1,int arg2,int arg3,bool arg4) : TQFont(arg1,arg2,arg3,arg4) {}; - TQFontJBridge(const TQString& arg1,int arg2,int arg3) : TQFont(arg1,arg2,arg3) {}; - TQFontJBridge(const TQString& arg1,int arg2) : TQFont(arg1,arg2) {}; - TQFontJBridge(const TQString& arg1) : TQFont(arg1) {}; - TQFontJBridge(const TQFont& arg1) : TQFont(arg1) {}; - bool protected_dirty() { - return (bool) TQFont::dirty(); - } - int protected_deciPointSize() { - return (int) TQFont::deciPointSize(); - } - ~TQFontJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFont_bold(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFont*) QtSupport::getQt(env, obj))->bold(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFont_cacheStatistics(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TQFontJBridge::cacheStatistics(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFont_cleanup(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TQFontJBridge::cleanup(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFont_deciPointSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFontJBridge*) QtSupport::getQt(env, obj))->protected_deciPointSize(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFont_defaultFamily(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQFont*) QtSupport::getQt(env, obj))->defaultFamily(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFont_defaultFont(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TQFontJBridge::defaultFont()), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFont_dirty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFontJBridge*) QtSupport::getQt(env, obj))->protected_dirty(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFont_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QFont_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFont_exactMatch(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFont*) QtSupport::getQt(env, obj))->exactMatch(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFont_family(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQFont*) QtSupport::getQt(env, obj))->family(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFont_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQFont*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFont_fixedPitch(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFont*) QtSupport::getQt(env, obj))->fixedPitch(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFont_fromString(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - jboolean xret = (jboolean) ((TQFont*) QtSupport::getQt(env, obj))->fromString((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFont_handle(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFont*) QtSupport::getQt(env, obj))->handle(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFont_initialize(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TQFontJBridge::initialize(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFont_insertSubstitution(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - (void) cls; -static TQString* _qstring_arg1 = 0; -static TQString* _qstring_arg2 = 0; - TQFontJBridge::insertSubstitution((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFont_insertSubstitutions(JNIEnv* env, jclass cls, jstring arg1, jobjectArray arg2) -{ - (void) cls; -static TQString* _qstring_arg1 = 0; -static TQStringList* _qlist_arg2 = 0; - TQFontJBridge::insertSubstitutions((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, arg2, &_qlist_arg2)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFont_isCopyOf(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQFont*) QtSupport::getQt(env, obj))->isCopyOf((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFont_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFont_italic(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFont*) QtSupport::getQt(env, obj))->italic(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFont_key(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQFont*) QtSupport::getQt(env, obj))->key(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFont_lastResortFamily(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQFont*) QtSupport::getQt(env, obj))->lastResortFamily(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFont_lastResortFont(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQFont*) QtSupport::getQt(env, obj))->lastResortFont(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFont_newTQFont__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQFontJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFont_newTQFont__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring family) -{ -static TQString* _qstring_family = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQFontJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, family, &_qstring_family))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFont_newTQFont__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring family, jint pointSize) -{ -static TQString* _qstring_family = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQFontJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, family, &_qstring_family), (int) pointSize)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFont_newTQFont__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring family, jint pointSize, jint weight) -{ -static TQString* _qstring_family = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQFontJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, family, &_qstring_family), (int) pointSize, (int) weight)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFont_newTQFont__Ljava_lang_String_2IIZ(JNIEnv* env, jobject obj, jstring family, jint pointSize, jint weight, jboolean italic) -{ -static TQString* _qstring_family = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQFontJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, family, &_qstring_family), (int) pointSize, (int) weight, (bool) italic)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFont_newTQFont__Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQFontJBridge((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFont_op_1equals(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQFont*) QtSupport::getQt(env, obj))->operator==((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFont_op_1not_1equals(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQFont*) QtSupport::getQt(env, obj))->operator!=((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFont_overline(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFont*) QtSupport::getQt(env, obj))->overline(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFont_pixelSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFont*) QtSupport::getQt(env, obj))->pixelSize(); - return xret; -} - -JNIEXPORT jfloat JNICALL -Java_org_kde_qt_QFont_pointSizeFloat(JNIEnv* env, jobject obj) -{ - jfloat xret = (jfloat) ((TQFont*) QtSupport::getQt(env, obj))->pointSizeFloat(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFont_pointSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFont*) QtSupport::getQt(env, obj))->pointSize(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFont_rawMode(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFont*) QtSupport::getQt(env, obj))->rawMode(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFont_rawName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQFont*) QtSupport::getQt(env, obj))->rawName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFont_removeSubstitution(JNIEnv* env, jclass cls, jstring arg1) -{ - (void) cls; -static TQString* _qstring_arg1 = 0; - TQFontJBridge::removeSubstitution((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFont_resolve(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((TQFont*) QtSupport::getQt(env, obj))->resolve((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFont_setBold(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQFont*) QtSupport::getQt(env, obj))->setBold((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFont_setDefaultFont(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - TQFontJBridge::setDefaultFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFont_setFamily(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQFont*) QtSupport::getQt(env, obj))->setFamily((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFont_setFixedPitch(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQFont*) QtSupport::getQt(env, obj))->setFixedPitch((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFont_setItalic(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQFont*) QtSupport::getQt(env, obj))->setItalic((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFont_setOverline(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQFont*) QtSupport::getQt(env, obj))->setOverline((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFont_setPixelSizeFloat(JNIEnv* env, jobject obj, jfloat arg1) -{ - ((TQFont*) QtSupport::getQt(env, obj))->setPixelSizeFloat((float) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFont_setPixelSize(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQFont*) QtSupport::getQt(env, obj))->setPixelSize((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFont_setPointSizeFloat(JNIEnv* env, jobject obj, jfloat arg1) -{ - ((TQFont*) QtSupport::getQt(env, obj))->setPointSizeFloat((float) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFont_setPointSize(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQFont*) QtSupport::getQt(env, obj))->setPointSize((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFont_setRawMode(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQFont*) QtSupport::getQt(env, obj))->setRawMode((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFont_setRawName(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQFont*) QtSupport::getQt(env, obj))->setRawName((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFont_setStretch(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQFont*) QtSupport::getQt(env, obj))->setStretch((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFont_setStrikeOut(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQFont*) QtSupport::getQt(env, obj))->setStrikeOut((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFont_setStyleHint__I(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQFont*) QtSupport::getQt(env, obj))->setStyleHint((TQFont::StyleHint) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFont_setStyleHint__II(JNIEnv* env, jobject obj, jint arg1, jint arg2) -{ - ((TQFont*) QtSupport::getQt(env, obj))->setStyleHint((TQFont::StyleHint) arg1, (TQFont::StyleStrategy) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFont_setStyleStrategy(JNIEnv* env, jobject obj, jint s) -{ - ((TQFont*) QtSupport::getQt(env, obj))->setStyleStrategy((TQFont::StyleStrategy) s); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFont_setUnderline(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQFont*) QtSupport::getQt(env, obj))->setUnderline((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFont_setWeight(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQFont*) QtSupport::getQt(env, obj))->setWeight((int) arg1); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFont_stretch(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFont*) QtSupport::getQt(env, obj))->stretch(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFont_strikeOut(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFont*) QtSupport::getQt(env, obj))->strikeOut(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFont_styleHint(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFont*) QtSupport::getQt(env, obj))->styleHint(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFont_styleStrategy(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFont*) QtSupport::getQt(env, obj))->styleStrategy(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFont_substitute(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_arg1 = 0; - _qstring = TQFontJBridge::substitute((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFont_substitutes(JNIEnv* env, jclass cls, jstring arg1) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_arg1 = 0; - _qlist = TQFontJBridge::substitutes((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFont_substitutions(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = TQFontJBridge::substitutions(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFont_toString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQFont*) QtSupport::getQt(env, obj))->toString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFont_underline(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFont*) QtSupport::getQt(env, obj))->underline(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFont_weight(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFont*) QtSupport::getQt(env, obj))->weight(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QFont.h b/qtjava/javalib/qtjava/QFont.h deleted file mode 100644 index 688f995f..00000000 --- a/qtjava/javalib/qtjava/QFont.h +++ /dev/null @@ -1,86 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QFont__ -#define __org_kde_qt_QFont__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_newTQFont__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_newTQFont__Ljava_lang_String_2IIZ (JNIEnv *env, jobject, jstring, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_newTQFont__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_newTQFont__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_newTQFont__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_newTQFont__Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFont_family (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setFamily (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFont_pointSize (JNIEnv *env, jobject); -extern JNIEXPORT jfloat JNICALL Java_org_kde_qt_QFont_pointSizeFloat (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setPointSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setPointSizeFloat (JNIEnv *env, jobject, jfloat); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFont_pixelSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setPixelSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setPixelSizeFloat (JNIEnv *env, jobject, jfloat); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFont_weight (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setWeight (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFont_bold (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setBold (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFont_italic (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setItalic (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFont_underline (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setUnderline (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFont_overline (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setOverline (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFont_strikeOut (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setStrikeOut (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFont_fixedPitch (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setFixedPitch (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFont_styleHint (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFont_styleStrategy (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setStyleHint__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setStyleHint__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setStyleStrategy (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFont_stretch (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setStretch (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFont_rawMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setRawMode (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFont_exactMatch (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFont_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFont_op_1not_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFont_isCopyOf (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFont_handle (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setRawName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFont_rawName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFont_key (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFont_toString (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFont_fromString (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFont_defaultFamily (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFont_lastResortFamily (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFont_lastResortFont (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFont_resolve (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFont_substitute (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFont_substitutes (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFont_substitutions (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_insertSubstitution (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_insertSubstitutions (JNIEnv *env, jclass, jstring, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_removeSubstitution (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_initialize (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_cleanup (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_cacheStatistics (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFont_defaultFont (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setDefaultFont (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFont_dirty (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFont_deciPointSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFont_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QFont__ */ diff --git a/qtjava/javalib/qtjava/QFontDatabase.cpp b/qtjava/javalib/qtjava/QFontDatabase.cpp deleted file mode 100644 index 8c168820..00000000 --- a/qtjava/javalib/qtjava/QFontDatabase.cpp +++ /dev/null @@ -1,362 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -class TQFontDatabaseJBridge : public TQFontDatabase -{ -public: - TQFontDatabaseJBridge() : TQFontDatabase() {}; - ~TQFontDatabaseJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFontDatabase_bold__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2) -{ -static TQString* _qstring_arg1 = 0; -static TQString* _qstring_arg2 = 0; - jboolean xret = (jboolean) ((TQFontDatabase*) QtSupport::getQt(env, obj))->bold((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFontDatabase_bold__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jstring arg3) -{ -static TQString* _qstring_arg1 = 0; -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; - jboolean xret = (jboolean) ((TQFontDatabase*) QtSupport::getQt(env, obj))->bold((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFontDatabase_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QFontDatabase_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFontDatabase_families__(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TQFontDatabase*) QtSupport::getQt(env, obj))->families(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFontDatabase_families__I(JNIEnv* env, jobject obj, jint arg1) -{ - TQStringList _qlist; - _qlist = ((TQFontDatabase*) QtSupport::getQt(env, obj))->families((TQFont::Script) arg1); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFontDatabase_families__Z(JNIEnv* env, jobject obj, jboolean arg1) -{ - TQStringList _qlist; - _qlist = ((TQFontDatabase*) QtSupport::getQt(env, obj))->families((bool) arg1); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFontDatabase_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQFontDatabase*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFontDatabase_font__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jint arg3) -{ -static TQString* _qstring_arg1 = 0; -static TQString* _qstring_arg2 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((TQFontDatabase*) QtSupport::getQt(env, obj))->font((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (int) arg3)), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFontDatabase_font__Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jint arg3, jstring arg4) -{ -static TQString* _qstring_arg1 = 0; -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg4 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((TQFontDatabase*) QtSupport::getQt(env, obj))->font((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (int) arg3, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4))), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFontDatabase_isBitmapScalable__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - jboolean xret = (jboolean) ((TQFontDatabase*) QtSupport::getQt(env, obj))->isBitmapScalable((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFontDatabase_isBitmapScalable__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2) -{ -static TQString* _qstring_arg1 = 0; -static TQString* _qstring_arg2 = 0; - jboolean xret = (jboolean) ((TQFontDatabase*) QtSupport::getQt(env, obj))->isBitmapScalable((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFontDatabase_isBitmapScalable__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jstring arg3) -{ -static TQString* _qstring_arg1 = 0; -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; - jboolean xret = (jboolean) ((TQFontDatabase*) QtSupport::getQt(env, obj))->isBitmapScalable((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFontDatabase_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFontDatabase_isFixedPitch__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - jboolean xret = (jboolean) ((TQFontDatabase*) QtSupport::getQt(env, obj))->isFixedPitch((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFontDatabase_isFixedPitch__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2) -{ -static TQString* _qstring_arg1 = 0; -static TQString* _qstring_arg2 = 0; - jboolean xret = (jboolean) ((TQFontDatabase*) QtSupport::getQt(env, obj))->isFixedPitch((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFontDatabase_isFixedPitch__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jstring arg3) -{ -static TQString* _qstring_arg1 = 0; -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; - jboolean xret = (jboolean) ((TQFontDatabase*) QtSupport::getQt(env, obj))->isFixedPitch((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFontDatabase_isScalable__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - jboolean xret = (jboolean) ((TQFontDatabase*) QtSupport::getQt(env, obj))->isScalable((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFontDatabase_isScalable__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2) -{ -static TQString* _qstring_arg1 = 0; -static TQString* _qstring_arg2 = 0; - jboolean xret = (jboolean) ((TQFontDatabase*) QtSupport::getQt(env, obj))->isScalable((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFontDatabase_isScalable__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jstring arg3) -{ -static TQString* _qstring_arg1 = 0; -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; - jboolean xret = (jboolean) ((TQFontDatabase*) QtSupport::getQt(env, obj))->isScalable((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFontDatabase_isSmoothlyScalable__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - jboolean xret = (jboolean) ((TQFontDatabase*) QtSupport::getQt(env, obj))->isSmoothlyScalable((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFontDatabase_isSmoothlyScalable__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2) -{ -static TQString* _qstring_arg1 = 0; -static TQString* _qstring_arg2 = 0; - jboolean xret = (jboolean) ((TQFontDatabase*) QtSupport::getQt(env, obj))->isSmoothlyScalable((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFontDatabase_isSmoothlyScalable__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jstring arg3) -{ -static TQString* _qstring_arg1 = 0; -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; - jboolean xret = (jboolean) ((TQFontDatabase*) QtSupport::getQt(env, obj))->isSmoothlyScalable((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFontDatabase_italic__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2) -{ -static TQString* _qstring_arg1 = 0; -static TQString* _qstring_arg2 = 0; - jboolean xret = (jboolean) ((TQFontDatabase*) QtSupport::getQt(env, obj))->italic((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFontDatabase_italic__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jstring arg3) -{ -static TQString* _qstring_arg1 = 0; -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; - jboolean xret = (jboolean) ((TQFontDatabase*) QtSupport::getQt(env, obj))->italic((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFontDatabase_newTQFontDatabase(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQFontDatabaseJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jintArray JNICALL -Java_org_kde_qt_QFontDatabase_pointSizes__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ - TQValueList _qintArray; -static TQString* _qstring_arg1 = 0; - _qintArray = ((TQFontDatabase*) QtSupport::getQt(env, obj))->pointSizes((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQIntValueList(env, &_qintArray); -} - -JNIEXPORT jintArray JNICALL -Java_org_kde_qt_QFontDatabase_pointSizes__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2) -{ - TQValueList _qintArray; -static TQString* _qstring_arg1 = 0; -static TQString* _qstring_arg2 = 0; - _qintArray = ((TQFontDatabase*) QtSupport::getQt(env, obj))->pointSizes((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQIntValueList(env, &_qintArray); -} - -JNIEXPORT jintArray JNICALL -Java_org_kde_qt_QFontDatabase_pointSizes__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jstring arg3) -{ - TQValueList _qintArray; -static TQString* _qstring_arg1 = 0; -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; - _qintArray = ((TQFontDatabase*) QtSupport::getQt(env, obj))->pointSizes((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3)); - return QtSupport::fromTQIntValueList(env, &_qintArray); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFontDatabase_scriptName(JNIEnv* env, jclass cls, jint arg1) -{ - TQString _qstring; - (void) cls; - _qstring = TQFontDatabaseJBridge::scriptName((TQFont::Script) arg1); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFontDatabase_scriptSample(JNIEnv* env, jclass cls, jint arg1) -{ - TQString _qstring; - (void) cls; - _qstring = TQFontDatabaseJBridge::scriptSample((TQFont::Script) arg1); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jintArray JNICALL -Java_org_kde_qt_QFontDatabase_smoothSizes__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2) -{ - TQValueList _qintArray; -static TQString* _qstring_arg1 = 0; -static TQString* _qstring_arg2 = 0; - _qintArray = ((TQFontDatabase*) QtSupport::getQt(env, obj))->smoothSizes((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQIntValueList(env, &_qintArray); -} - -JNIEXPORT jintArray JNICALL -Java_org_kde_qt_QFontDatabase_smoothSizes__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jstring arg3) -{ - TQValueList _qintArray; -static TQString* _qstring_arg1 = 0; -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; - _qintArray = ((TQFontDatabase*) QtSupport::getQt(env, obj))->smoothSizes((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3)); - return QtSupport::fromTQIntValueList(env, &_qintArray); -} - -JNIEXPORT jintArray JNICALL -Java_org_kde_qt_QFontDatabase_standardSizes(JNIEnv* env, jclass cls) -{ - TQValueList _qintArray; - (void) cls; - _qintArray = TQFontDatabaseJBridge::standardSizes(); - return QtSupport::fromTQIntValueList(env, &_qintArray); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFontDatabase_styleString(JNIEnv* env, jobject obj, jobject arg1) -{ - TQString _qstring; - _qstring = ((TQFontDatabase*) QtSupport::getQt(env, obj))->styleString((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFontDatabase_styles__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ - TQStringList _qlist; -static TQString* _qstring_arg1 = 0; - _qlist = ((TQFontDatabase*) QtSupport::getQt(env, obj))->styles((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFontDatabase_styles__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2) -{ - TQStringList _qlist; -static TQString* _qstring_arg1 = 0; -static TQString* _qstring_arg2 = 0; - _qlist = ((TQFontDatabase*) QtSupport::getQt(env, obj))->styles((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFontDatabase_weight__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2) -{ -static TQString* _qstring_arg1 = 0; -static TQString* _qstring_arg2 = 0; - jint xret = (jint) ((TQFontDatabase*) QtSupport::getQt(env, obj))->weight((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFontDatabase_weight__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jstring arg3) -{ -static TQString* _qstring_arg1 = 0; -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; - jint xret = (jint) ((TQFontDatabase*) QtSupport::getQt(env, obj))->weight((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3)); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QFontDatabase.h b/qtjava/javalib/qtjava/QFontDatabase.h deleted file mode 100644 index ff5a87f9..00000000 --- a/qtjava/javalib/qtjava/QFontDatabase.h +++ /dev/null @@ -1,56 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QFontDatabase__ -#define __org_kde_qt_QFontDatabase__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFontDatabase_newTQFontDatabase (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontDatabase_families__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontDatabase_families__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontDatabase_styles__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jintArray JNICALL Java_org_kde_qt_QFontDatabase_pointSizes__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jintArray JNICALL Java_org_kde_qt_QFontDatabase_pointSizes__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jintArray JNICALL Java_org_kde_qt_QFontDatabase_smoothSizes__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFontDatabase_styleString (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontDatabase_font__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontDatabase_isBitmapScalable__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontDatabase_isBitmapScalable__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontDatabase_isSmoothlyScalable__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontDatabase_isSmoothlyScalable__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontDatabase_isScalable__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontDatabase_isScalable__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontDatabase_isFixedPitch__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontDatabase_isFixedPitch__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontDatabase_italic__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontDatabase_bold__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontDatabase_weight__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontDatabase_families__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontDatabase_styles__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jintArray JNICALL Java_org_kde_qt_QFontDatabase_pointSizes__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jintArray JNICALL Java_org_kde_qt_QFontDatabase_smoothSizes__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontDatabase_font__Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jint, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontDatabase_isBitmapScalable__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontDatabase_isSmoothlyScalable__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontDatabase_isScalable__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontDatabase_isFixedPitch__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontDatabase_italic__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontDatabase_bold__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontDatabase_weight__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jintArray JNICALL Java_org_kde_qt_QFontDatabase_standardSizes (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFontDatabase_scriptName (JNIEnv *env, jclass, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFontDatabase_scriptSample (JNIEnv *env, jclass, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFontDatabase_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFontDatabase_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontDatabase_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QFontDatabase__ */ diff --git a/qtjava/javalib/qtjava/QFontDialog.cpp b/qtjava/javalib/qtjava/QFontDialog.cpp deleted file mode 100644 index 50878146..00000000 --- a/qtjava/javalib/qtjava/QFontDialog.cpp +++ /dev/null @@ -1,106 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFontDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQFontDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFontDialog_getFont___3Z(JNIEnv* env, jclass cls, jbooleanArray ok) -{ - (void) cls; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TQFontDialog::getFont( (bool*) _bool_ok)), "org.kde.qt.TQFont", TRUE); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFontDialog_getFont___3ZLorg_kde_qt_QFont_2(JNIEnv* env, jclass cls, jbooleanArray ok, jobject def) -{ - (void) cls; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TQFontDialog::getFont( (bool*) _bool_ok, (const TQFont&)*(const TQFont*) QtSupport::getQt(env, def))), "org.kde.qt.TQFont", TRUE); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFontDialog_getFont___3ZLorg_kde_qt_QFont_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jbooleanArray ok, jobject def, jobject parent) -{ - (void) cls; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TQFontDialog::getFont( (bool*) _bool_ok, (const TQFont&)*(const TQFont*) QtSupport::getQt(env, def), (TQWidget*) QtSupport::getQt(env, parent))), "org.kde.qt.TQFont", TRUE); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFontDialog_getFont___3ZLorg_kde_qt_QFont_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jbooleanArray ok, jobject def, jobject parent, jstring name) -{ - (void) cls; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TQFontDialog::getFont( (bool*) _bool_ok, (const TQFont&)*(const TQFont*) QtSupport::getQt(env, def), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))), "org.kde.qt.TQFont", TRUE); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFontDialog_getFont___3ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jbooleanArray ok, jobject parent) -{ - (void) cls; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TQFontDialog::getFont( (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent))), "org.kde.qt.TQFont", TRUE); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFontDialog_getFont___3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jbooleanArray ok, jobject parent, jstring name) -{ - (void) cls; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TQFontDialog::getFont( (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))), "org.kde.qt.TQFont", TRUE); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFontDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQFontDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFontDialog_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQFontDialog::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFontDialog_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQFontDialog::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QFontDialog.h b/qtjava/javalib/qtjava/QFontDialog.h deleted file mode 100644 index b6b86905..00000000 --- a/qtjava/javalib/qtjava/QFontDialog.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QFontDialog__ -#define __org_kde_qt_QFontDialog__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFontDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFontDialog_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFontDialog_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontDialog_getFont___3ZLorg_kde_qt_QFont_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jbooleanArray, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontDialog_getFont___3ZLorg_kde_qt_QFont_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jbooleanArray, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontDialog_getFont___3ZLorg_kde_qt_QFont_2 (JNIEnv *env, jclass, jbooleanArray, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontDialog_getFont___3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jbooleanArray, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontDialog_getFont___3ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jbooleanArray, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontDialog_getFont___3Z (JNIEnv *env, jclass, jbooleanArray); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QFontDialog__ */ diff --git a/qtjava/javalib/qtjava/QFontInfo.cpp b/qtjava/javalib/qtjava/QFontInfo.cpp deleted file mode 100644 index fc2aa545..00000000 --- a/qtjava/javalib/qtjava/QFontInfo.cpp +++ /dev/null @@ -1,162 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQFontInfoJBridge : public TQFontInfo -{ -public: - TQFontInfoJBridge(const TQFont& arg1) : TQFontInfo(arg1) {}; - TQFontInfoJBridge(const TQFont& arg1,TQFont::Script arg2) : TQFontInfo(arg1,arg2) {}; - TQFontInfoJBridge(const TQFontInfo& arg1) : TQFontInfo(arg1) {}; - ~TQFontInfoJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFontInfo_bold(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFontInfo*) QtSupport::getQt(env, obj))->bold(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFontInfo_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QFontInfo_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFontInfo_exactMatch(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFontInfo*) QtSupport::getQt(env, obj))->exactMatch(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFontInfo_family(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQFontInfo*) QtSupport::getQt(env, obj))->family(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFontInfo_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQFontInfo*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFontInfo_fixedPitch(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFontInfo*) QtSupport::getQt(env, obj))->fixedPitch(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFontInfo_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFontInfo_italic(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFontInfo*) QtSupport::getQt(env, obj))->italic(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFontInfo_newTQFontInfo__Lorg_kde_qt_QFontInfo_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQFontInfoJBridge((const TQFontInfo&)*(const TQFontInfo*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFontInfo_newTQFontInfo__Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQFontInfoJBridge((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFontInfo_newTQFontInfo__Lorg_kde_qt_QFont_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQFontInfoJBridge((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1), (TQFont::Script) arg2)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFontInfo_overline(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFontInfo*) QtSupport::getQt(env, obj))->overline(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFontInfo_pixelSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFontInfo*) QtSupport::getQt(env, obj))->pixelSize(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFontInfo_pointSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFontInfo*) QtSupport::getQt(env, obj))->pointSize(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFontInfo_rawMode(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFontInfo*) QtSupport::getQt(env, obj))->rawMode(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFontInfo_strikeOut(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFontInfo*) QtSupport::getQt(env, obj))->strikeOut(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFontInfo_styleHint(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFontInfo*) QtSupport::getQt(env, obj))->styleHint(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFontInfo_underline(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFontInfo*) QtSupport::getQt(env, obj))->underline(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFontInfo_weight(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFontInfo*) QtSupport::getQt(env, obj))->weight(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QFontInfo.h b/qtjava/javalib/qtjava/QFontInfo.h deleted file mode 100644 index 393ea5da..00000000 --- a/qtjava/javalib/qtjava/QFontInfo.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QFontInfo__ -#define __org_kde_qt_QFontInfo__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFontInfo_newTQFontInfo__Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFontInfo_newTQFontInfo__Lorg_kde_qt_QFont_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFontInfo_newTQFontInfo__Lorg_kde_qt_QFontInfo_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFontInfo_family (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontInfo_pixelSize (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontInfo_pointSize (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontInfo_italic (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontInfo_weight (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontInfo_bold (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontInfo_underline (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontInfo_overline (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontInfo_strikeOut (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontInfo_fixedPitch (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontInfo_styleHint (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontInfo_rawMode (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontInfo_exactMatch (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFontInfo_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFontInfo_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontInfo_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QFontInfo__ */ diff --git a/qtjava/javalib/qtjava/QFontMetrics.cpp b/qtjava/javalib/qtjava/QFontMetrics.cpp deleted file mode 100644 index 60102fc0..00000000 --- a/qtjava/javalib/qtjava/QFontMetrics.cpp +++ /dev/null @@ -1,304 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include - -class TQFontMetricsJBridge : public TQFontMetrics -{ -public: - TQFontMetricsJBridge(const TQFont& arg1) : TQFontMetrics(arg1) {}; - TQFontMetricsJBridge(const TQFont& arg1,TQFont::Script arg2) : TQFontMetrics(arg1,arg2) {}; - TQFontMetricsJBridge(const TQFontMetrics& arg1) : TQFontMetrics(arg1) {}; - ~TQFontMetricsJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFontMetrics_ascent(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->ascent(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFontMetrics_boundingRect__C(JNIEnv* env, jobject obj, jchar arg1) -{ -static TQChar* _qchar_arg1 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQFontMetrics*) QtSupport::getQt(env, obj))->boundingRect((TQChar)*(TQChar*) QtSupport::toTQChar(env, arg1, &_qchar_arg1))), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFontMetrics_boundingRect__IIIIILjava_lang_String_2(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint flags, jstring str) -{ -static TQString* _qstring_str = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQFontMetrics*) QtSupport::getQt(env, obj))->boundingRect((int) x, (int) y, (int) w, (int) h, (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str))), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFontMetrics_boundingRect__IIIIILjava_lang_String_2I(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint flags, jstring str, jint len) -{ -static TQString* _qstring_str = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQFontMetrics*) QtSupport::getQt(env, obj))->boundingRect((int) x, (int) y, (int) w, (int) h, (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) len)), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFontMetrics_boundingRect__IIIIILjava_lang_String_2II(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint flags, jstring str, jint len, jint tabstops) -{ -static TQString* _qstring_str = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQFontMetrics*) QtSupport::getQt(env, obj))->boundingRect((int) x, (int) y, (int) w, (int) h, (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) len, (int) tabstops)), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFontMetrics_boundingRect__IIIIILjava_lang_String_2II_3I(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint flags, jstring str, jint len, jint tabstops, jintArray tabarray) -{ -static TQString* _qstring_str = 0; - int* _int_tabarray = QtSupport::toIntPtr(env, tabarray); - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQFontMetrics*) QtSupport::getQt(env, obj))->boundingRect((int) x, (int) y, (int) w, (int) h, (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) len, (int) tabstops, (int*) _int_tabarray)), "org.kde.qt.TQRect", TRUE); - env->SetIntArrayRegion(tabarray, 0, 1, (jint *) _int_tabarray); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFontMetrics_boundingRect__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQFontMetrics*) QtSupport::getQt(env, obj))->boundingRect((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1))), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFontMetrics_boundingRect__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring arg1, jint len) -{ -static TQString* _qstring_arg1 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQFontMetrics*) QtSupport::getQt(env, obj))->boundingRect((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (int) len)), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFontMetrics_charWidth(JNIEnv* env, jobject obj, jstring str, jint pos) -{ -static TQString* _qstring_str = 0; - jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->charWidth((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) pos); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFontMetrics_descent(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->descent(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFontMetrics_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QFontMetrics_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFontMetrics_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQFontMetrics*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFontMetrics_height(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->height(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFontMetrics_inFont(JNIEnv* env, jobject obj, jchar arg1) -{ -static TQChar* _qchar_arg1 = 0; - jboolean xret = (jboolean) ((TQFontMetrics*) QtSupport::getQt(env, obj))->inFont((TQChar)*(TQChar*) QtSupport::toTQChar(env, arg1, &_qchar_arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFontMetrics_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFontMetrics_leading(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->leading(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFontMetrics_leftBearing(JNIEnv* env, jobject obj, jchar arg1) -{ -static TQChar* _qchar_arg1 = 0; - jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->leftBearing((TQChar)*(TQChar*) QtSupport::toTQChar(env, arg1, &_qchar_arg1)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFontMetrics_lineSpacing(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->lineSpacing(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFontMetrics_lineWidth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->lineWidth(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFontMetrics_maxWidth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->maxWidth(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFontMetrics_minLeftBearing(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->minLeftBearing(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFontMetrics_minRightBearing(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->minRightBearing(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFontMetrics_newTQFontMetrics__Lorg_kde_qt_QFontMetrics_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQFontMetricsJBridge((const TQFontMetrics&)*(const TQFontMetrics*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFontMetrics_newTQFontMetrics__Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQFontMetricsJBridge((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFontMetrics_newTQFontMetrics__Lorg_kde_qt_QFont_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQFontMetricsJBridge((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1), (TQFont::Script) arg2)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFontMetrics_overlinePos(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->overlinePos(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFontMetrics_rightBearing(JNIEnv* env, jobject obj, jchar arg1) -{ -static TQChar* _qchar_arg1 = 0; - jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->rightBearing((TQChar)*(TQChar*) QtSupport::toTQChar(env, arg1, &_qchar_arg1)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFontMetrics_size__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint flags, jstring str) -{ -static TQString* _qstring_str = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQFontMetrics*) QtSupport::getQt(env, obj))->size((int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str))), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFontMetrics_size__ILjava_lang_String_2I(JNIEnv* env, jobject obj, jint flags, jstring str, jint len) -{ -static TQString* _qstring_str = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQFontMetrics*) QtSupport::getQt(env, obj))->size((int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) len)), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFontMetrics_size__ILjava_lang_String_2II(JNIEnv* env, jobject obj, jint flags, jstring str, jint len, jint tabstops) -{ -static TQString* _qstring_str = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQFontMetrics*) QtSupport::getQt(env, obj))->size((int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) len, (int) tabstops)), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFontMetrics_size__ILjava_lang_String_2II_3I(JNIEnv* env, jobject obj, jint flags, jstring str, jint len, jint tabstops, jintArray tabarray) -{ -static TQString* _qstring_str = 0; - int* _int_tabarray = QtSupport::toIntPtr(env, tabarray); - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQFontMetrics*) QtSupport::getQt(env, obj))->size((int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) len, (int) tabstops, (int*) _int_tabarray)), "org.kde.qt.TQSize", TRUE); - env->SetIntArrayRegion(tabarray, 0, 1, (jint *) _int_tabarray); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFontMetrics_strikeOutPos(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->strikeOutPos(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFontMetrics_underlinePos(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->underlinePos(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFontMetrics_width__C(JNIEnv* env, jobject obj, jchar arg1) -{ -static TQChar* _qchar_arg1 = 0; - jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->width((TQChar)*(TQChar*) QtSupport::toTQChar(env, arg1, &_qchar_arg1)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFontMetrics_width__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->width((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFontMetrics_width__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring arg1, jint len) -{ -static TQString* _qstring_arg1 = 0; - jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->width((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (int) len); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QFontMetrics.h b/qtjava/javalib/qtjava/QFontMetrics.h deleted file mode 100644 index 4cc76b89..00000000 --- a/qtjava/javalib/qtjava/QFontMetrics.h +++ /dev/null @@ -1,54 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QFontMetrics__ -#define __org_kde_qt_QFontMetrics__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFontMetrics_newTQFontMetrics__Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFontMetrics_newTQFontMetrics__Lorg_kde_qt_QFont_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFontMetrics_newTQFontMetrics__Lorg_kde_qt_QFontMetrics_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_ascent (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_descent (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_height (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_leading (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_lineSpacing (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_minLeftBearing (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_minRightBearing (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_maxWidth (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontMetrics_inFont (JNIEnv *env, jobject, jchar); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_leftBearing (JNIEnv *env, jobject, jchar); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_rightBearing (JNIEnv *env, jobject, jchar); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_width__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_width__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_width__C (JNIEnv *env, jobject, jchar); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_charWidth (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontMetrics_boundingRect__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontMetrics_boundingRect__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontMetrics_boundingRect__C (JNIEnv *env, jobject, jchar); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontMetrics_boundingRect__IIIIILjava_lang_String_2II_3I (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jstring, jint, jint, jintArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontMetrics_boundingRect__IIIIILjava_lang_String_2II (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jstring, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontMetrics_boundingRect__IIIIILjava_lang_String_2I (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontMetrics_boundingRect__IIIIILjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontMetrics_size__ILjava_lang_String_2II_3I (JNIEnv *env, jobject, jint, jstring, jint, jint, jintArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontMetrics_size__ILjava_lang_String_2II (JNIEnv *env, jobject, jint, jstring, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontMetrics_size__ILjava_lang_String_2I (JNIEnv *env, jobject, jint, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontMetrics_size__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_underlinePos (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_overlinePos (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_strikeOutPos (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_lineWidth (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFontMetrics_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFontMetrics_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontMetrics_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QFontMetrics__ */ diff --git a/qtjava/javalib/qtjava/QFrame.cpp b/qtjava/javalib/qtjava/QFrame.cpp deleted file mode 100644 index 3f122e44..00000000 --- a/qtjava/javalib/qtjava/QFrame.cpp +++ /dev/null @@ -1,678 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQFrameJBridge : public TQFrame -{ -public: - TQFrameJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQFrame(arg1,arg2,arg3) {}; - TQFrameJBridge(TQWidget* arg1,const char* arg2) : TQFrame(arg1,arg2) {}; - TQFrameJBridge(TQWidget* arg1) : TQFrame(arg1) {}; - TQFrameJBridge() : TQFrame() {}; - void protected_paintEvent(TQPaintEvent* arg1) { - TQFrame::paintEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQFrame::resizeEvent(arg1); - return; - } - void protected_drawFrame(TQPainter* arg1) { - TQFrame::drawFrame(arg1); - return; - } - void protected_drawContents(TQPainter* arg1) { - TQFrame::drawContents(arg1); - return; - } - void protected_frameChanged() { - TQFrame::frameChanged(); - return; - } - void protected_styleChange(TQStyle& arg1) { - TQFrame::styleChange(arg1); - return; - } - ~TQFrameJBridge() {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.qt.TQFrame","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.qt.TQFrame","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.qt.TQFrame","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.qt.TQFrame","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.qt.TQFrame","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.qt.TQFrame","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFrame","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.qt.TQFrame","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFrame","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.qt.TQFrame","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.qt.TQFrame",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.qt.TQFrame","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFrame","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFrame_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQFrame*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFrame_contentsRect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQFrame*) QtSupport::getQt(env, obj))->contentsRect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFrame_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QFrame_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFrame_drawContents(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQFrameJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFrame_drawFrame(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQFrameJBridge*) QtSupport::getQt(env, obj))->protected_drawFrame((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFrame_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQFrame*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQFrame*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFrame_frameChanged(JNIEnv* env, jobject obj) -{ - ((TQFrameJBridge*) QtSupport::getQt(env, obj))->protected_frameChanged(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFrame_frameRect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQFrame*) QtSupport::getQt(env, obj))->frameRect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFrame_frameShadow(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFrame*) QtSupport::getQt(env, obj))->frameShadow(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFrame_frameShape(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFrame*) QtSupport::getQt(env, obj))->frameShape(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFrame_frameStyle(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFrame*) QtSupport::getQt(env, obj))->frameStyle(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFrame_frameWidth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFrame*) QtSupport::getQt(env, obj))->frameWidth(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFrame_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFrame_lineShapesOk(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFrame*) QtSupport::getQt(env, obj))->lineShapesOk(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFrame_lineWidth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFrame*) QtSupport::getQt(env, obj))->lineWidth(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFrame_margin(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFrame*) QtSupport::getQt(env, obj))->margin(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFrame_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQFrame*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFrame_midLineWidth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFrame*) QtSupport::getQt(env, obj))->midLineWidth(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFrame_newTQFrame__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQFrameJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFrame_newTQFrame__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQFrameJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFrame_newTQFrame__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 TQFrameJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFrame_newTQFrame__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 TQFrameJBridge((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_qt_QFrame_paintEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQFrameJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFrame_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQFrameJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFrame_setFrameRect(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQFrame*) QtSupport::getQt(env, obj))->setFrameRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFrame_setFrameShadow(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQFrame*) QtSupport::getQt(env, obj))->setFrameShadow((TQFrame::Shadow) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFrame_setFrameShape(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQFrame*) QtSupport::getQt(env, obj))->setFrameShape((TQFrame::Shape) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFrame_setFrameStyle(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQFrame*) QtSupport::getQt(env, obj))->setFrameStyle((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFrame_setLineWidth(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQFrame*) QtSupport::getQt(env, obj))->setLineWidth((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFrame_setMargin(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQFrame*) QtSupport::getQt(env, obj))->setMargin((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFrame_setMidLineWidth(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQFrame*) QtSupport::getQt(env, obj))->setMidLineWidth((int) arg1); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFrame_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQFrame*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFrame_styleChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQFrameJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFrame_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQFrameJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFrame_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQFrameJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QFrame.h b/qtjava/javalib/qtjava/QFrame.h deleted file mode 100644 index 3c23f764..00000000 --- a/qtjava/javalib/qtjava/QFrame.h +++ /dev/null @@ -1,53 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QFrame__ -#define __org_kde_qt_QFrame__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFrame_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFrame_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_newTQFrame__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_newTQFrame__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_newTQFrame__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_newTQFrame__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFrame_frameStyle (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_setFrameStyle (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFrame_frameWidth (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFrame_contentsRect (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFrame_lineShapesOk (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFrame_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFrame_frameShape (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_setFrameShape (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFrame_frameShadow (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_setFrameShadow (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFrame_lineWidth (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_setLineWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFrame_margin (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_setMargin (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFrame_midLineWidth (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_setMidLineWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFrame_frameRect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_setFrameRect (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFrame_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFrame_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_drawFrame (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_drawContents (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_frameChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_styleChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFrame_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QFrame__ */ diff --git a/qtjava/javalib/qtjava/QFtp.cpp b/qtjava/javalib/qtjava/QFtp.cpp deleted file mode 100644 index 0c952832..00000000 --- a/qtjava/javalib/qtjava/QFtp.cpp +++ /dev/null @@ -1,600 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include - -class TQFtpJBridge : public TQFtp -{ -public: - TQFtpJBridge() : TQFtp() {}; - TQFtpJBridge(TQObject* arg1,const char* arg2) : TQFtp(arg1,arg2) {}; - TQFtpJBridge(TQObject* arg1) : TQFtp(arg1) {}; - void protected_parseDir(const TQString& arg1,TQUrlInfo& arg2) { - TQFtp::parseDir(arg1,arg2); - return; - } - void protected_operationListChildren(TQNetworkOperation* arg1) { - TQFtp::operationListChildren(arg1); - return; - } - void protected_operationMkDir(TQNetworkOperation* arg1) { - TQFtp::operationMkDir(arg1); - return; - } - void protected_operationRemove(TQNetworkOperation* arg1) { - TQFtp::operationRemove(arg1); - return; - } - void protected_operationRename(TQNetworkOperation* arg1) { - TQFtp::operationRename(arg1); - return; - } - void protected_operationGet(TQNetworkOperation* arg1) { - TQFtp::operationGet(arg1); - return; - } - void protected_operationPut(TQNetworkOperation* arg1) { - TQFtp::operationPut(arg1); - return; - } - void protected_hostFound() { - TQFtp::hostFound(); - return; - } - void protected_connected() { - TQFtp::connected(); - return; - } - void protected_closed() { - TQFtp::closed(); - return; - } - void protected_dataHostFound() { - TQFtp::dataHostFound(); - return; - } - void protected_dataConnected() { - TQFtp::dataConnected(); - return; - } - void protected_dataClosed() { - TQFtp::dataClosed(); - return; - } - void protected_dataReadyRead() { - TQFtp::dataReadyRead(); - return; - } - void protected_dataBytesWritten(int arg1) { - TQFtp::dataBytesWritten(arg1); - return; - } - void protected_error(int arg1) { - TQFtp::error(arg1); - return; - } - ~TQFtpJBridge() {QtSupport::qtKeyDeleted(this);} - void operationPutChunk(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationPutChunk",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::operationPutChunk(arg1); - } - return; - } - void processOperation(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"processOperation",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::processOperation(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 addOperation(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"addOperation",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::addOperation(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void clearOperationQueue() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFtp","clearOperationQueue")) { - TQNetworkProtocol::clearOperationQueue(); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQFtp",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void stop() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFtp","stop")) { - TQNetworkProtocol::stop(); - } - return; - } - void setUrl(TQUrlOperator* arg1) { - if (!QtSupport::eventDelegate(this,"setUrl",(void*)arg1,"org.kde.qt.TQUrlOperator")) { - TQNetworkProtocol::setUrl(arg1); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFtp_abort(JNIEnv* env, jobject obj) -{ - ((TQFtp*) QtSupport::getQt(env, obj))->abort(); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QFtp_bytesAvailable(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((TQFtp*) QtSupport::getQt(env, obj))->bytesAvailable(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFtp_cd(JNIEnv* env, jobject obj, jstring dir) -{ -static TQString* _qstring_dir = 0; - jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->cd((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFtp_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQFtp*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFtp_clearPendingCommands(JNIEnv* env, jobject obj) -{ - ((TQFtp*) QtSupport::getQt(env, obj))->clearPendingCommands(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFtp_close(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->close(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFtp_closed(JNIEnv* env, jobject obj) -{ - ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_closed(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFtp_connectToHost__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring host) -{ -static TQString* _qstring_host = 0; - jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->connectToHost((const TQString&)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFtp_connectToHost__Ljava_lang_String_2S(JNIEnv* env, jobject obj, jstring host, jshort port) -{ -static TQString* _qstring_host = 0; - jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->connectToHost((const TQString&)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host), (Q_UINT16) port); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFtp_connected(JNIEnv* env, jobject obj) -{ - ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_connected(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFtp_currentCommand(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->currentCommand(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFtp_currentDevice(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQFtp*) QtSupport::getQt(env, obj))->currentDevice(), "org.kde.qt.TQIODeviceInterface"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFtp_currentId(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->currentId(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFtp_dataBytesWritten(JNIEnv* env, jobject obj, jint nbytes) -{ - ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_dataBytesWritten((int) nbytes); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFtp_dataClosed(JNIEnv* env, jobject obj) -{ - ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_dataClosed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFtp_dataConnected(JNIEnv* env, jobject obj) -{ - ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_dataConnected(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFtp_dataHostFound(JNIEnv* env, jobject obj) -{ - ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_dataHostFound(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFtp_dataReadyRead(JNIEnv* env, jobject obj) -{ - ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_dataReadyRead(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFtp_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QFtp_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFtp_errorString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQFtp*) QtSupport::getQt(env, obj))->errorString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFtp_error__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->error(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFtp_error__I(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_error((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFtp_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQFtp*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQFtp*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFtp_get__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring file) -{ -static TQString* _qstring_file = 0; - jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->get((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFtp_get__Ljava_lang_String_2Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jstring file, jobject dev) -{ -static TQString* _qstring_file = 0; - jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->get((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file), (TQIODevice*) QtSupport::getQt(env, dev)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFtp_hasPendingCommands(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQFtp*) QtSupport::getQt(env, obj))->hasPendingCommands(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFtp_hostFound(JNIEnv* env, jobject obj) -{ - ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_hostFound(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QFtp_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFtp_list__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->list(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFtp_list__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring dir) -{ -static TQString* _qstring_dir = 0; - jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->list((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFtp_login__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->login(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFtp_login__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring user) -{ -static TQString* _qstring_user = 0; - jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->login((const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFtp_login__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring user, jstring password) -{ -static TQString* _qstring_user = 0; -static TQString* _qstring_password = 0; - jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->login((const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, password, &_qstring_password)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QFtp_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQFtp*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFtp_mkdir(JNIEnv* env, jobject obj, jstring dir) -{ -static TQString* _qstring_dir = 0; - jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->mkdir((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFtp_newTQFtp__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQFtpJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFtp_newTQFtp__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQFtpJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFtp_newTQFtp__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 TQFtpJBridge((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_qt_QFtp_operationGet(JNIEnv* env, jobject obj, jobject op) -{ - ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_operationGet((TQNetworkOperation*) QtSupport::getQt(env, op)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFtp_operationListChildren(JNIEnv* env, jobject obj, jobject op) -{ - ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_operationListChildren((TQNetworkOperation*) QtSupport::getQt(env, op)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFtp_operationMkDir(JNIEnv* env, jobject obj, jobject op) -{ - ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_operationMkDir((TQNetworkOperation*) QtSupport::getQt(env, op)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFtp_operationPut(JNIEnv* env, jobject obj, jobject op) -{ - ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_operationPut((TQNetworkOperation*) QtSupport::getQt(env, op)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFtp_operationRemove(JNIEnv* env, jobject obj, jobject op) -{ - ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_operationRemove((TQNetworkOperation*) QtSupport::getQt(env, op)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFtp_operationRename(JNIEnv* env, jobject obj, jobject op) -{ - ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_operationRename((TQNetworkOperation*) QtSupport::getQt(env, op)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QFtp_parseDir(JNIEnv* env, jobject obj, jstring buffer, jobject info) -{ -static TQString* _qstring_buffer = 0; - ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_parseDir((const TQString&)*(TQString*) QtSupport::toTQString(env, buffer, &_qstring_buffer), (TQUrlInfo&)*(TQUrlInfo*) QtSupport::getQt(env, info)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFtp_put__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject dev, jstring file) -{ -static TQString* _qstring_file = 0; - jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->put((TQIODevice*) QtSupport::getQt(env, dev), (const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFtp_put___3BLjava_lang_String_2(JNIEnv* env, jobject obj, jbyteArray data, jstring file) -{ -static TQByteArray* _qbyteArray_data = 0; -static TQString* _qstring_file = 0; - jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->put((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFtp_rawCommand(JNIEnv* env, jobject obj, jstring command) -{ -static TQString* _qstring_command = 0; - jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->rawCommand((const TQString&)*(TQString*) QtSupport::toTQString(env, command, &_qstring_command)); - return xret; -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_qt_QFtp_readAll(JNIEnv* env, jobject obj) -{ - TQByteArray _qbyteArray; - _qbyteArray = ((TQFtp*) QtSupport::getQt(env, obj))->readAll(); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QFtp_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) ((TQFtp*) QtSupport::getQt(env, obj))->readBlock((char*) _qstring_data->data(), (Q_ULONG) maxlen); - QtSupport::fromTQCStringToStringBuffer(env, _qstring_data, data); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFtp_remove(JNIEnv* env, jobject obj, jstring file) -{ -static TQString* _qstring_file = 0; - jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->remove((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFtp_rename(JNIEnv* env, jobject obj, jstring oldname, jstring newname) -{ -static TQString* _qstring_oldname = 0; -static TQString* _qstring_newname = 0; - jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->rename((const TQString&)*(TQString*) QtSupport::toTQString(env, oldname, &_qstring_oldname), (const TQString&)*(TQString*) QtSupport::toTQString(env, newname, &_qstring_newname)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFtp_rmdir(JNIEnv* env, jobject obj, jstring dir) -{ -static TQString* _qstring_dir = 0; - jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->rmdir((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFtp_state(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->state(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QFtp_supportedOperations(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->supportedOperations(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFtp_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQFtpJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QFtp_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQFtpJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QFtp.h b/qtjava/javalib/qtjava/QFtp.h deleted file mode 100644 index 50459e07..00000000 --- a/qtjava/javalib/qtjava/QFtp.h +++ /dev/null @@ -1,75 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QFtp__ -#define __org_kde_qt_QFtp__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFtp_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFtp_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_newTQFtp__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_newTQFtp__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_newTQFtp__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_supportedOperations (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_connectToHost__Ljava_lang_String_2S (JNIEnv *env, jobject, jstring, jshort); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_connectToHost__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_login__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_login__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_login__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_close (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_list__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_list__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_cd (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_get__Ljava_lang_String_2Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_get__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_put___3BLjava_lang_String_2 (JNIEnv *env, jobject, jbyteArray, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_put__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_remove (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_mkdir (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_rmdir (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_rename (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_rawCommand (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QFtp_bytesAvailable (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QFtp_readBlock (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QFtp_readAll (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_currentId (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFtp_currentDevice (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_currentCommand (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFtp_hasPendingCommands (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_clearPendingCommands (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_state (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_error__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFtp_errorString (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_abort (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFtp_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFtp_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_parseDir (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_operationListChildren (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_operationMkDir (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_operationRemove (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_operationRename (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_operationGet (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_operationPut (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_hostFound (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_connected (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_closed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_dataHostFound (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_dataConnected (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_dataClosed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_dataReadyRead (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_dataBytesWritten (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_error__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFtp_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QFtp__ */ diff --git a/qtjava/javalib/qtjava/QGL.cpp b/qtjava/javalib/qtjava/QGL.cpp deleted file mode 100644 index 76f8b5b5..00000000 --- a/qtjava/javalib/qtjava/QGL.cpp +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - -class TQGLJBridge : public TQGL -{ -public: - TQGLJBridge() : TQGL() {}; - ~TQGLJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGL_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QGL_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGL_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQGL*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGL_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGL_newTQGL(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGLJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/qtjava/javalib/qtjava/QGL.h b/qtjava/javalib/qtjava/QGL.h deleted file mode 100644 index e707487a..00000000 --- a/qtjava/javalib/qtjava/QGL.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QGL__ -#define __org_kde_qt_QGL__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGL_newTQGL (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGL_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGL_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGL_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QGL__ */ diff --git a/qtjava/javalib/qtjava/QGLColormap.cpp b/qtjava/javalib/qtjava/QGLColormap.cpp deleted file mode 100644 index 390c45ed..00000000 --- a/qtjava/javalib/qtjava/QGLColormap.cpp +++ /dev/null @@ -1,140 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQGLColormapJBridge : public TQGLColormap -{ -public: - TQGLColormapJBridge() : TQGLColormap() {}; - TQGLColormapJBridge(const TQGLColormap& arg1) : TQGLColormap(arg1) {}; - ~TQGLColormapJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLColormap_detach(JNIEnv* env, jobject obj) -{ - ((TQGLColormap*) QtSupport::getQt(env, obj))->detach(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLColormap_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QGLColormap_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QGLColormap_entryColor(JNIEnv* env, jobject obj, jint idx) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TQGLColormap*) QtSupport::getQt(env, obj))->entryColor((int) idx)), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QGLColormap_entryRgb(JNIEnv* env, jobject obj, jint idx) -{ - jint xret = (jint) ((TQGLColormap*) QtSupport::getQt(env, obj))->entryRgb((int) idx); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLColormap_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQGLColormap*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QGLColormap_findNearest(JNIEnv* env, jobject obj, jint color) -{ - jint xret = (jint) ((TQGLColormap*) QtSupport::getQt(env, obj))->findNearest((TQRgb) color); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QGLColormap_find(JNIEnv* env, jobject obj, jint color) -{ - jint xret = (jint) ((TQGLColormap*) QtSupport::getQt(env, obj))->find((TQRgb) color); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGLColormap_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGLColormap_isEmpty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQGLColormap*) QtSupport::getQt(env, obj))->isEmpty(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLColormap_newTQGLColormap__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGLColormapJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLColormap_newTQGLColormap__Lorg_kde_qt_QGLColormap_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGLColormapJBridge((const TQGLColormap&)*(const TQGLColormap*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLColormap_setEntries__I_3I(JNIEnv* env, jobject obj, jint count, jintArray colors) -{ - int* _int_colors = QtSupport::toIntPtr(env, colors); - ((TQGLColormap*) QtSupport::getQt(env, obj))->setEntries((int) count, (const TQRgb*) _int_colors); - env->SetIntArrayRegion(colors, 0, 1, (jint *) _int_colors); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLColormap_setEntries__I_3II(JNIEnv* env, jobject obj, jint count, jintArray colors, jint base) -{ - int* _int_colors = QtSupport::toIntPtr(env, colors); - ((TQGLColormap*) QtSupport::getQt(env, obj))->setEntries((int) count, (const TQRgb*) _int_colors, (int) base); - env->SetIntArrayRegion(colors, 0, 1, (jint *) _int_colors); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLColormap_setEntry__II(JNIEnv* env, jobject obj, jint idx, jint color) -{ - ((TQGLColormap*) QtSupport::getQt(env, obj))->setEntry((int) idx, (TQRgb) color); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLColormap_setEntry__ILorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jint idx, jobject color) -{ - ((TQGLColormap*) QtSupport::getQt(env, obj))->setEntry((int) idx, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, color)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QGLColormap_size(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQGLColormap*) QtSupport::getQt(env, obj))->size(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QGLColormap.h b/qtjava/javalib/qtjava/QGLColormap.h deleted file mode 100644 index 8cb40a57..00000000 --- a/qtjava/javalib/qtjava/QGLColormap.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QGLColormap__ -#define __org_kde_qt_QGLColormap__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLColormap_newTQGLColormap__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLColormap_newTQGLColormap__Lorg_kde_qt_QGLColormap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLColormap_isEmpty (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGLColormap_size (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLColormap_detach (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLColormap_setEntries__I_3II (JNIEnv *env, jobject, jint, jintArray, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLColormap_setEntries__I_3I (JNIEnv *env, jobject, jint, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLColormap_setEntry__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLColormap_setEntry__ILorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGLColormap_entryRgb (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLColormap_entryColor (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGLColormap_find (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGLColormap_findNearest (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLColormap_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLColormap_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLColormap_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QGLColormap__ */ diff --git a/qtjava/javalib/qtjava/QGLContext.cpp b/qtjava/javalib/qtjava/QGLContext.cpp deleted file mode 100644 index 55986c0e..00000000 --- a/qtjava/javalib/qtjava/QGLContext.cpp +++ /dev/null @@ -1,289 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQGLContextJBridge : public TQGLContext -{ -public: - TQGLContextJBridge(const TQGLFormat& arg1,TQPaintDevice* arg2) : TQGLContext(arg1,arg2) {}; - TQGLContextJBridge(const TQGLFormat& arg1) : TQGLContext(arg1) {}; - void public_reset() { - TQGLContext::reset(); - return; - } - void public_makeCurrent() { - TQGLContext::makeCurrent(); - return; - } - void public_swapBuffers() { - TQGLContext::swapBuffers(); - return; - } - bool protected_chooseContext(const TQGLContext* arg1) { - return (bool) TQGLContext::chooseContext(arg1); - } - bool protected_chooseContext() { - return (bool) TQGLContext::chooseContext(); - } - void protected_doneCurrent() { - TQGLContext::doneCurrent(); - return; - } - bool protected_deviceIsPixmap() { - return (bool) TQGLContext::deviceIsPixmap(); - } - bool protected_windowCreated() { - return (bool) TQGLContext::windowCreated(); - } - void protected_setWindowCreated(bool arg1) { - TQGLContext::setWindowCreated(arg1); - return; - } - bool protected_initialized() { - return (bool) TQGLContext::initialized(); - } - void protected_setInitialized(bool arg1) { - TQGLContext::setInitialized(arg1); - return; - } - void protected_generateFontDisplayLists(const TQFont& arg1,int arg2) { - TQGLContext::generateFontDisplayLists(arg1,arg2); - return; - } - uint protected_colorIndex(const TQColor& arg1) { - return (uint) TQGLContext::colorIndex(arg1); - } - void protected_setValid(bool arg1) { - TQGLContext::setValid(arg1); - return; - } - void protected_setDevice(TQPaintDevice* arg1) { - TQGLContext::setDevice(arg1); - return; - } - ~TQGLContextJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGLContext_chooseContext__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->protected_chooseContext(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGLContext_chooseContext__Lorg_kde_qt_QGLContext_2(JNIEnv* env, jobject obj, jobject shareContext) -{ - jboolean xret = (jboolean) ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->protected_chooseContext((const TQGLContext*) QtSupport::getQt(env, shareContext)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QGLContext_colorIndex(JNIEnv* env, jobject obj, jobject c) -{ - jint xret = (jint) ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->protected_colorIndex((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGLContext_create__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQGLContext*) QtSupport::getQt(env, obj))->create(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGLContext_create__Lorg_kde_qt_QGLContext_2(JNIEnv* env, jobject obj, jobject shareContext) -{ - jboolean xret = (jboolean) ((TQGLContext*) QtSupport::getQt(env, obj))->create((const TQGLContext*) QtSupport::getQt(env, shareContext)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QGLContext_currentContext(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQGLContextJBridge::currentContext(), "org.kde.qt.TQGLContext"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGLContext_deviceIsPixmap(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->protected_deviceIsPixmap(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QGLContext_device(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQGLContext*) QtSupport::getQt(env, obj))->device(), "org.kde.qt.TQPaintDeviceInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLContext_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QGLContext_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLContext_doneCurrent(JNIEnv* env, jobject obj) -{ - ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->protected_doneCurrent(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLContext_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQGLContext*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QGLContext_format(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQGLFormat(((TQGLContext*) QtSupport::getQt(env, obj))->format()), "org.kde.qt.TQGLFormat", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLContext_generateFontDisplayLists(JNIEnv* env, jobject obj, jobject fnt, jint listBase) -{ - ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->protected_generateFontDisplayLists((const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt), (int) listBase); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGLContext_initialized(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->protected_initialized(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGLContext_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGLContext_isSharing(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQGLContext*) QtSupport::getQt(env, obj))->isSharing(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGLContext_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQGLContext*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLContext_makeCurrent(JNIEnv* env, jobject obj) -{ - ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->public_makeCurrent(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLContext_newTQGLContext__Lorg_kde_qt_QGLFormat_2(JNIEnv* env, jobject obj, jobject format) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGLContextJBridge((const TQGLFormat&)*(const TQGLFormat*) QtSupport::getQt(env, format))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLContext_newTQGLContext__Lorg_kde_qt_QGLFormat_2Lorg_kde_qt_QPaintDeviceInterface_2(JNIEnv* env, jobject obj, jobject format, jobject device) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGLContextJBridge((const TQGLFormat&)*(const TQGLFormat*) QtSupport::getQt(env, format), (TQPaintDevice*) QtSupport::paintDevice(env, device))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QGLContext_overlayTransparentColor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TQGLContext*) QtSupport::getQt(env, obj))->overlayTransparentColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QGLContext_requestedFormat(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQGLFormat(((TQGLContext*) QtSupport::getQt(env, obj))->requestedFormat()), "org.kde.qt.TQGLFormat", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLContext_reset(JNIEnv* env, jobject obj) -{ - ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->public_reset(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLContext_setDevice(JNIEnv* env, jobject obj, jobject pDev) -{ - ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->protected_setDevice((TQPaintDevice*) QtSupport::paintDevice(env, pDev)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLContext_setFormat(JNIEnv* env, jobject obj, jobject format) -{ - ((TQGLContext*) QtSupport::getQt(env, obj))->setFormat((const TQGLFormat&)*(const TQGLFormat*) QtSupport::getQt(env, format)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLContext_setInitialized(JNIEnv* env, jobject obj, jboolean on) -{ - ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->protected_setInitialized((bool) on); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLContext_setValid(JNIEnv* env, jobject obj, jboolean valid) -{ - ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->protected_setValid((bool) valid); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLContext_setWindowCreated(JNIEnv* env, jobject obj, jboolean on) -{ - ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->protected_setWindowCreated((bool) on); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLContext_swapBuffers(JNIEnv* env, jobject obj) -{ - ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->public_swapBuffers(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGLContext_windowCreated(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->protected_windowCreated(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QGLContext.h b/qtjava/javalib/qtjava/QGLContext.h deleted file mode 100644 index 7923d775..00000000 --- a/qtjava/javalib/qtjava/QGLContext.h +++ /dev/null @@ -1,48 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QGLContext__ -#define __org_kde_qt_QGLContext__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_newTQGLContext__Lorg_kde_qt_QGLFormat_2Lorg_kde_qt_QPaintDeviceInterface_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_newTQGLContext__Lorg_kde_qt_QGLFormat_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLContext_create__Lorg_kde_qt_QGLContext_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLContext_create__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLContext_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLContext_isSharing (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_reset (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLContext_format (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLContext_requestedFormat (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_setFormat (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_makeCurrent (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_swapBuffers (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLContext_device (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLContext_overlayTransparentColor (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLContext_currentContext (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLContext_chooseContext__Lorg_kde_qt_QGLContext_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLContext_chooseContext__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_doneCurrent (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLContext_deviceIsPixmap (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLContext_windowCreated (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_setWindowCreated (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLContext_initialized (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_setInitialized (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_generateFontDisplayLists (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGLContext_colorIndex (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_setValid (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_setDevice (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLContext_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QGLContext__ */ diff --git a/qtjava/javalib/qtjava/QGLFormat.cpp b/qtjava/javalib/qtjava/QGLFormat.cpp deleted file mode 100644 index a97012b9..00000000 --- a/qtjava/javalib/qtjava/QGLFormat.cpp +++ /dev/null @@ -1,272 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - -class TQGLFormatJBridge : public TQGLFormat -{ -public: - TQGLFormatJBridge() : TQGLFormat() {}; - TQGLFormatJBridge(int arg1,int arg2) : TQGLFormat(arg1,arg2) {}; - TQGLFormatJBridge(int arg1) : TQGLFormat(arg1) {}; - ~TQGLFormatJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGLFormat_accum(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQGLFormat*) QtSupport::getQt(env, obj))->accum(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGLFormat_alpha(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQGLFormat*) QtSupport::getQt(env, obj))->alpha(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QGLFormat_defaultFormat(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQGLFormat(TQGLFormatJBridge::defaultFormat()), "org.kde.qt.TQGLFormat", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QGLFormat_defaultOverlayFormat(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQGLFormat(TQGLFormatJBridge::defaultOverlayFormat()), "org.kde.qt.TQGLFormat", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGLFormat_depth(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQGLFormat*) QtSupport::getQt(env, obj))->depth(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGLFormat_directRendering(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQGLFormat*) QtSupport::getQt(env, obj))->directRendering(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLFormat_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QGLFormat_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGLFormat_doubleBuffer(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQGLFormat*) QtSupport::getQt(env, obj))->doubleBuffer(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLFormat_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQGLFormat*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGLFormat_hasOpenGLOverlays(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TQGLFormatJBridge::hasOpenGLOverlays(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGLFormat_hasOpenGL(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TQGLFormatJBridge::hasOpenGL(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGLFormat_hasOverlay(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQGLFormat*) QtSupport::getQt(env, obj))->hasOverlay(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGLFormat_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLFormat_newTQGLFormat__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGLFormatJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLFormat_newTQGLFormat__I(JNIEnv* env, jobject obj, jint options) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGLFormatJBridge((int) options)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLFormat_newTQGLFormat__II(JNIEnv* env, jobject obj, jint options, jint plane) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGLFormatJBridge((int) options, (int) plane)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QGLFormat_plane(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQGLFormat*) QtSupport::getQt(env, obj))->plane(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGLFormat_rgba(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQGLFormat*) QtSupport::getQt(env, obj))->rgba(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLFormat_setAccum(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQGLFormat*) QtSupport::getQt(env, obj))->setAccum((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLFormat_setAlpha(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQGLFormat*) QtSupport::getQt(env, obj))->setAlpha((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLFormat_setDefaultFormat(JNIEnv* env, jclass cls, jobject f) -{ - (void) cls; - TQGLFormatJBridge::setDefaultFormat((const TQGLFormat&)*(const TQGLFormat*) QtSupport::getQt(env, f)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLFormat_setDefaultOverlayFormat(JNIEnv* env, jclass cls, jobject f) -{ - (void) cls; - TQGLFormatJBridge::setDefaultOverlayFormat((const TQGLFormat&)*(const TQGLFormat*) QtSupport::getQt(env, f)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLFormat_setDepth(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQGLFormat*) QtSupport::getQt(env, obj))->setDepth((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLFormat_setDirectRendering(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQGLFormat*) QtSupport::getQt(env, obj))->setDirectRendering((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLFormat_setDoubleBuffer(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQGLFormat*) QtSupport::getQt(env, obj))->setDoubleBuffer((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLFormat_setOption(JNIEnv* env, jobject obj, jint opt) -{ - ((TQGLFormat*) QtSupport::getQt(env, obj))->setOption((TQGL::FormatOption) opt); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLFormat_setOverlay(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQGLFormat*) QtSupport::getQt(env, obj))->setOverlay((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLFormat_setPlane(JNIEnv* env, jobject obj, jint plane) -{ - ((TQGLFormat*) QtSupport::getQt(env, obj))->setPlane((int) plane); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLFormat_setRgba(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQGLFormat*) QtSupport::getQt(env, obj))->setRgba((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLFormat_setStencil(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQGLFormat*) QtSupport::getQt(env, obj))->setStencil((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLFormat_setStereo(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQGLFormat*) QtSupport::getQt(env, obj))->setStereo((bool) enable); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGLFormat_stencil(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQGLFormat*) QtSupport::getQt(env, obj))->stencil(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGLFormat_stereo(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQGLFormat*) QtSupport::getQt(env, obj))->stereo(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGLFormat_testOption(JNIEnv* env, jobject obj, jint opt) -{ - jboolean xret = (jboolean) ((TQGLFormat*) QtSupport::getQt(env, obj))->testOption((TQGL::FormatOption) opt); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QGLFormat.h b/qtjava/javalib/qtjava/QGLFormat.h deleted file mode 100644 index f580d9a9..00000000 --- a/qtjava/javalib/qtjava/QGLFormat.h +++ /dev/null @@ -1,52 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QGLFormat__ -#define __org_kde_qt_QGLFormat__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_newTQGLFormat__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_newTQGLFormat__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_newTQGLFormat__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_doubleBuffer (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setDoubleBuffer (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_depth (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setDepth (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_rgba (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setRgba (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_alpha (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setAlpha (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_accum (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setAccum (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_stencil (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setStencil (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_stereo (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setStereo (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_directRendering (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setDirectRendering (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_hasOverlay (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setOverlay (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGLFormat_plane (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setPlane (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setOption (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_testOption (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLFormat_defaultFormat (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setDefaultFormat (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLFormat_defaultOverlayFormat (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setDefaultOverlayFormat (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_hasOpenGL (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_hasOpenGLOverlays (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QGLFormat__ */ diff --git a/qtjava/javalib/qtjava/QGLWidget.cpp b/qtjava/javalib/qtjava/QGLWidget.cpp deleted file mode 100644 index 53225c68..00000000 --- a/qtjava/javalib/qtjava/QGLWidget.cpp +++ /dev/null @@ -1,1070 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQGLWidgetJBridge : public TQGLWidget -{ -public: - TQGLWidgetJBridge(TQWidget* arg1,const char* arg2,const TQGLWidget* arg3,TQt::WFlags arg4) : TQGLWidget(arg1,arg2,arg3,arg4) {}; - TQGLWidgetJBridge(TQWidget* arg1,const char* arg2,const TQGLWidget* arg3) : TQGLWidget(arg1,arg2,arg3) {}; - TQGLWidgetJBridge(TQWidget* arg1,const char* arg2) : TQGLWidget(arg1,arg2) {}; - TQGLWidgetJBridge(TQWidget* arg1) : TQGLWidget(arg1) {}; - TQGLWidgetJBridge() : TQGLWidget() {}; - TQGLWidgetJBridge(TQGLContext* arg1,TQWidget* arg2,const char* arg3,const TQGLWidget* arg4,TQt::WFlags arg5) : TQGLWidget(arg1,arg2,arg3,arg4,arg5) {}; - TQGLWidgetJBridge(TQGLContext* arg1,TQWidget* arg2,const char* arg3,const TQGLWidget* arg4) : TQGLWidget(arg1,arg2,arg3,arg4) {}; - TQGLWidgetJBridge(TQGLContext* arg1,TQWidget* arg2,const char* arg3) : TQGLWidget(arg1,arg2,arg3) {}; - TQGLWidgetJBridge(TQGLContext* arg1,TQWidget* arg2) : TQGLWidget(arg1,arg2) {}; - TQGLWidgetJBridge(const TQGLFormat& arg1,TQWidget* arg2,const char* arg3,const TQGLWidget* arg4,TQt::WFlags arg5) : TQGLWidget(arg1,arg2,arg3,arg4,arg5) {}; - TQGLWidgetJBridge(const TQGLFormat& arg1,TQWidget* arg2,const char* arg3,const TQGLWidget* arg4) : TQGLWidget(arg1,arg2,arg3,arg4) {}; - TQGLWidgetJBridge(const TQGLFormat& arg1,TQWidget* arg2,const char* arg3) : TQGLWidget(arg1,arg2,arg3) {}; - TQGLWidgetJBridge(const TQGLFormat& arg1,TQWidget* arg2) : TQGLWidget(arg1,arg2) {}; - TQGLWidgetJBridge(const TQGLFormat& arg1) : TQGLWidget(arg1) {}; - void public_makeCurrent() { - TQGLWidget::makeCurrent(); - return; - } - void public_swapBuffers() { - TQGLWidget::swapBuffers(); - return; - } - void public_makeOverlayCurrent() { - TQGLWidget::makeOverlayCurrent(); - return; - } - void public_updateGL() { - TQGLWidget::updateGL(); - return; - } - void public_updateOverlayGL() { - TQGLWidget::updateOverlayGL(); - return; - } - void protected_initializeGL() { - TQGLWidget::initializeGL(); - return; - } - void protected_resizeGL(int arg1,int arg2) { - TQGLWidget::resizeGL(arg1,arg2); - return; - } - void protected_paintGL() { - TQGLWidget::paintGL(); - return; - } - void protected_initializeOverlayGL() { - TQGLWidget::initializeOverlayGL(); - return; - } - void protected_resizeOverlayGL(int arg1,int arg2) { - TQGLWidget::resizeOverlayGL(arg1,arg2); - return; - } - void protected_paintOverlayGL() { - TQGLWidget::paintOverlayGL(); - return; - } - void protected_setAutoBufferSwap(bool arg1) { - TQGLWidget::setAutoBufferSwap(arg1); - return; - } - bool protected_autoBufferSwap() { - return (bool) TQGLWidget::autoBufferSwap(); - } - void protected_paintEvent(TQPaintEvent* arg1) { - TQGLWidget::paintEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQGLWidget::resizeEvent(arg1); - return; - } - void protected_glInit() { - TQGLWidget::glInit(); - return; - } - void protected_glDraw() { - TQGLWidget::glDraw(); - return; - } - ~TQGLWidgetJBridge() {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")) { - TQGLWidget::resizeEvent(arg1); - } - return; - } - void setFormat(const TQGLFormat& arg1) { - if (!QtSupport::eventDelegate(this,"setFormat",(void*)&arg1,"org.kde.qt.TQGLFormat")) { - TQGLWidget::setFormat(arg1); - } - return; - } - void glDraw() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","glDraw")) { - TQGLWidget::glDraw(); - } - 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.qt.TQGLWidget","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void updateGL() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","updateGL")) { - TQGLWidget::updateGL(); - } - 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.qt.TQGLWidget","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.qt.TQGLWidget","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void initializeGL() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","initializeGL")) { - TQGLWidget::initializeGL(); - } - return; - } - void paintOverlayGL() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","paintOverlayGL")) { - TQGLWidget::paintOverlayGL(); - } - 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.qt.TQGLWidget","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")) { - TQGLWidget::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.qt.TQGLWidget","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void makeOverlayCurrent() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","makeOverlayCurrent")) { - TQGLWidget::makeOverlayCurrent(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","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 swapBuffers() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","swapBuffers")) { - TQGLWidget::swapBuffers(); - } - return; - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void glInit() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","glInit")) { - TQGLWidget::glInit(); - } - 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 initializeOverlayGL() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","initializeOverlayGL")) { - TQGLWidget::initializeOverlayGL(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void makeCurrent() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","makeCurrent")) { - TQGLWidget::makeCurrent(); - } - 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.qt.TQGLWidget","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","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 updateOverlayGL() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","updateOverlayGL")) { - TQGLWidget::updateOverlayGL(); - } - 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.qt.TQGLWidget","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 paintGL() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","paintGL")) { - TQGLWidget::paintGL(); - } - 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.qt.TQGLWidget",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.qt.TQGLWidget","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGLWidget_autoBufferSwap(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_autoBufferSwap(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QGLWidget_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQGLWidget*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QGLWidget_colormap(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQGLColormap *) &((TQGLWidget*) QtSupport::getQt(env, obj))->colormap(), "org.kde.qt.TQGLColormap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QGLWidget_context(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQGLWidget*) QtSupport::getQt(env, obj))->context(), "org.kde.qt.TQGLContext"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QGLWidget_convertToGLFormat(JNIEnv* env, jclass cls, jobject img) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(TQGLWidgetJBridge::convertToGLFormat((const TQImage&)*(const TQImage*) QtSupport::getQt(env, img))), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QGLWidget_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_doneCurrent(JNIEnv* env, jobject obj) -{ - ((TQGLWidget*) QtSupport::getQt(env, obj))->doneCurrent(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGLWidget_doubleBuffer(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQGLWidget*) QtSupport::getQt(env, obj))->doubleBuffer(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQGLWidget*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQGLWidget*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QGLWidget_format(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQGLFormat(((TQGLWidget*) QtSupport::getQt(env, obj))->format()), "org.kde.qt.TQGLFormat", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_glDraw(JNIEnv* env, jobject obj) -{ - ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_glDraw(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_glInit(JNIEnv* env, jobject obj) -{ - ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_glInit(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QGLWidget_grabFrameBuffer__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQGLWidget*) QtSupport::getQt(env, obj))->grabFrameBuffer()), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QGLWidget_grabFrameBuffer__Z(JNIEnv* env, jobject obj, jboolean withAlpha) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQGLWidget*) QtSupport::getQt(env, obj))->grabFrameBuffer((bool) withAlpha)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_initializeGL(JNIEnv* env, jobject obj) -{ - ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_initializeGL(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_initializeOverlayGL(JNIEnv* env, jobject obj) -{ - ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_initializeOverlayGL(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGLWidget_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGLWidget_isSharing(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQGLWidget*) QtSupport::getQt(env, obj))->isSharing(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGLWidget_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQGLWidget*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_makeCurrent(JNIEnv* env, jobject obj) -{ - ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->public_makeCurrent(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_makeOverlayCurrent(JNIEnv* env, jobject obj) -{ - ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->public_makeOverlayCurrent(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QGLWidget_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQGLWidget*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_newTQGLWidget__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGLWidgetJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QGLContext_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject context, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGLWidgetJBridge((TQGLContext*) QtSupport::getQt(env, context), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QGLContext_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject context, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGLWidgetJBridge((TQGLContext*) QtSupport::getQt(env, context), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QGLContext_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QGLWidget_2(JNIEnv* env, jobject obj, jobject context, jobject parent, jstring name, jobject shareWidget) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGLWidgetJBridge((TQGLContext*) QtSupport::getQt(env, context), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQGLWidget*) QtSupport::getQt(env, shareWidget))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QGLContext_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QGLWidget_2I(JNIEnv* env, jobject obj, jobject context, jobject parent, jstring name, jobject shareWidget, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGLWidgetJBridge((TQGLContext*) QtSupport::getQt(env, context), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQGLWidget*) QtSupport::getQt(env, shareWidget), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QGLFormat_2(JNIEnv* env, jobject obj, jobject format) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGLWidgetJBridge((const TQGLFormat&)*(const TQGLFormat*) QtSupport::getQt(env, format))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QGLFormat_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject format, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGLWidgetJBridge((const TQGLFormat&)*(const TQGLFormat*) QtSupport::getQt(env, format), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QGLFormat_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject format, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGLWidgetJBridge((const TQGLFormat&)*(const TQGLFormat*) QtSupport::getQt(env, format), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QGLFormat_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QGLWidget_2(JNIEnv* env, jobject obj, jobject format, jobject parent, jstring name, jobject shareWidget) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGLWidgetJBridge((const TQGLFormat&)*(const TQGLFormat*) QtSupport::getQt(env, format), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQGLWidget*) QtSupport::getQt(env, shareWidget))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QGLFormat_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QGLWidget_2I(JNIEnv* env, jobject obj, jobject format, jobject parent, jstring name, jobject shareWidget, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGLWidgetJBridge((const TQGLFormat&)*(const TQGLFormat*) QtSupport::getQt(env, format), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQGLWidget*) QtSupport::getQt(env, shareWidget), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGLWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_newTQGLWidget__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 TQGLWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QGLWidget_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jobject shareWidget) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGLWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQGLWidget*) QtSupport::getQt(env, shareWidget))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QGLWidget_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jobject shareWidget, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGLWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQGLWidget*) QtSupport::getQt(env, shareWidget), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QGLWidget_overlayContext(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQGLWidget*) QtSupport::getQt(env, obj))->overlayContext(), "org.kde.qt.TQGLContext"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_paintEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_paintGL(JNIEnv* env, jobject obj) -{ - ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_paintGL(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_paintOverlayGL(JNIEnv* env, jobject obj) -{ - ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_paintOverlayGL(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_qglClearColor(JNIEnv* env, jobject obj, jobject c) -{ - ((TQGLWidget*) QtSupport::getQt(env, obj))->qglClearColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_qglColor(JNIEnv* env, jobject obj, jobject c) -{ - ((TQGLWidget*) QtSupport::getQt(env, obj))->qglColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QGLWidget_renderPixmap__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQGLWidget*) QtSupport::getQt(env, obj))->renderPixmap()), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QGLWidget_renderPixmap__I(JNIEnv* env, jobject obj, jint w) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQGLWidget*) QtSupport::getQt(env, obj))->renderPixmap((int) w)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QGLWidget_renderPixmap__II(JNIEnv* env, jobject obj, jint w, jint h) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQGLWidget*) QtSupport::getQt(env, obj))->renderPixmap((int) w, (int) h)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QGLWidget_renderPixmap__IIZ(JNIEnv* env, jobject obj, jint w, jint h, jboolean useContext) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQGLWidget*) QtSupport::getQt(env, obj))->renderPixmap((int) w, (int) h, (bool) useContext)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_renderText__DDDLjava_lang_String_2(JNIEnv* env, jobject obj, jdouble x, jdouble y, jdouble z, jstring str) -{ -static TQString* _qstring_str = 0; - ((TQGLWidget*) QtSupport::getQt(env, obj))->renderText((double) x, (double) y, (double) z, (const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_renderText__DDDLjava_lang_String_2Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jdouble x, jdouble y, jdouble z, jstring str, jobject fnt) -{ -static TQString* _qstring_str = 0; - ((TQGLWidget*) QtSupport::getQt(env, obj))->renderText((double) x, (double) y, (double) z, (const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_renderText__DDDLjava_lang_String_2Lorg_kde_qt_QFont_2I(JNIEnv* env, jobject obj, jdouble x, jdouble y, jdouble z, jstring str, jobject fnt, jint listBase) -{ -static TQString* _qstring_str = 0; - ((TQGLWidget*) QtSupport::getQt(env, obj))->renderText((double) x, (double) y, (double) z, (const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt), (int) listBase); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_renderText__IILjava_lang_String_2(JNIEnv* env, jobject obj, jint x, jint y, jstring str) -{ -static TQString* _qstring_str = 0; - ((TQGLWidget*) QtSupport::getQt(env, obj))->renderText((int) x, (int) y, (const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_renderText__IILjava_lang_String_2Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jint x, jint y, jstring str, jobject fnt) -{ -static TQString* _qstring_str = 0; - ((TQGLWidget*) QtSupport::getQt(env, obj))->renderText((int) x, (int) y, (const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_renderText__IILjava_lang_String_2Lorg_kde_qt_QFont_2I(JNIEnv* env, jobject obj, jint x, jint y, jstring str, jobject fnt, jint listBase) -{ -static TQString* _qstring_str = 0; - ((TQGLWidget*) QtSupport::getQt(env, obj))->renderText((int) x, (int) y, (const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt), (int) listBase); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_reparent__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject parent, jint f, jobject p) -{ - ((TQGLWidget*) QtSupport::getQt(env, obj))->reparent((TQWidget*) QtSupport::getQt(env, parent), (TQt::WFlags) f, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_reparent__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QPoint_2Z(JNIEnv* env, jobject obj, jobject parent, jint f, jobject p, jboolean showIt) -{ - ((TQGLWidget*) QtSupport::getQt(env, obj))->reparent((TQWidget*) QtSupport::getQt(env, parent), (TQt::WFlags) f, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p), (bool) showIt); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_resizeGL(JNIEnv* env, jobject obj, jint w, jint h) -{ - ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_resizeGL((int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_resizeOverlayGL(JNIEnv* env, jobject obj, jint w, jint h) -{ - ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_resizeOverlayGL((int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_setAutoBufferSwap(JNIEnv* env, jobject obj, jboolean on) -{ - ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setAutoBufferSwap((bool) on); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_setColormap(JNIEnv* env, jobject obj, jobject map) -{ - ((TQGLWidget*) QtSupport::getQt(env, obj))->setColormap((const TQGLColormap&)*(const TQGLColormap*) QtSupport::getQt(env, map)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_setContext__Lorg_kde_qt_QGLContext_2(JNIEnv* env, jobject obj, jobject context) -{ - ((TQGLWidget*) QtSupport::getQt(env, obj))->setContext((TQGLContext*) QtSupport::getQt(env, context)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_setContext__Lorg_kde_qt_QGLContext_2Lorg_kde_qt_QGLContext_2(JNIEnv* env, jobject obj, jobject context, jobject shareContext) -{ - ((TQGLWidget*) QtSupport::getQt(env, obj))->setContext((TQGLContext*) QtSupport::getQt(env, context), (const TQGLContext*) QtSupport::getQt(env, shareContext)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_setContext__Lorg_kde_qt_QGLContext_2Lorg_kde_qt_QGLContext_2Z(JNIEnv* env, jobject obj, jobject context, jobject shareContext, jboolean deleteOldContext) -{ - ((TQGLWidget*) QtSupport::getQt(env, obj))->setContext((TQGLContext*) QtSupport::getQt(env, context), (const TQGLContext*) QtSupport::getQt(env, shareContext), (bool) deleteOldContext); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_setFormat(JNIEnv* env, jobject obj, jobject format) -{ - ((TQGLWidget*) QtSupport::getQt(env, obj))->setFormat((const TQGLFormat&)*(const TQGLFormat*) QtSupport::getQt(env, format)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_setMouseTracking(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQGLWidget*) QtSupport::getQt(env, obj))->setMouseTracking((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_swapBuffers(JNIEnv* env, jobject obj) -{ - ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->public_swapBuffers(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QGLWidget_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQGLWidgetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QGLWidget_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQGLWidgetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_updateGL(JNIEnv* env, jobject obj) -{ - ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->public_updateGL(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_updateOverlayGL(JNIEnv* env, jobject obj) -{ - ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->public_updateOverlayGL(); - return; -} - diff --git a/qtjava/javalib/qtjava/QGLWidget.h b/qtjava/javalib/qtjava/QGLWidget.h deleted file mode 100644 index 76f5f2e3..00000000 --- a/qtjava/javalib/qtjava/QGLWidget.h +++ /dev/null @@ -1,87 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QGLWidget__ -#define __org_kde_qt_QGLWidget__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLWidget_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGLWidget_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QGLWidget_2I (JNIEnv *env, jobject, jobject, jstring, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QGLWidget_2 (JNIEnv *env, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_newTQGLWidget__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QGLContext_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QGLWidget_2I (JNIEnv *env, jobject, jobject, jobject, jstring, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QGLContext_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QGLWidget_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QGLContext_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QGLContext_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QGLFormat_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QGLWidget_2I (JNIEnv *env, jobject, jobject, jobject, jstring, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QGLFormat_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QGLWidget_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QGLFormat_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QGLFormat_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QGLFormat_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_qglColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_qglClearColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLWidget_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLWidget_isSharing (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_makeCurrent (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_doneCurrent (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLWidget_doubleBuffer (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_swapBuffers (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLWidget_format (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_setFormat (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLWidget_context (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_setContext__Lorg_kde_qt_QGLContext_2Lorg_kde_qt_QGLContext_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_setContext__Lorg_kde_qt_QGLContext_2Lorg_kde_qt_QGLContext_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_setContext__Lorg_kde_qt_QGLContext_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLWidget_renderPixmap__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLWidget_renderPixmap__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLWidget_renderPixmap__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLWidget_renderPixmap__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLWidget_grabFrameBuffer__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLWidget_grabFrameBuffer__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_makeOverlayCurrent (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLWidget_overlayContext (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_setMouseTracking (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_reparent__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QPoint_2Z (JNIEnv *env, jobject, jobject, jint, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_reparent__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLWidget_colormap (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_setColormap (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_renderText__IILjava_lang_String_2Lorg_kde_qt_QFont_2I (JNIEnv *env, jobject, jint, jint, jstring, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_renderText__IILjava_lang_String_2Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jint, jint, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_renderText__IILjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_renderText__DDDLjava_lang_String_2Lorg_kde_qt_QFont_2I (JNIEnv *env, jobject, jdouble, jdouble, jdouble, jstring, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_renderText__DDDLjava_lang_String_2Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jdouble, jdouble, jdouble, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_renderText__DDDLjava_lang_String_2 (JNIEnv *env, jobject, jdouble, jdouble, jdouble, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_updateGL (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_updateOverlayGL (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGLWidget_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGLWidget_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLWidget_convertToGLFormat (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_initializeGL (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_resizeGL (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_paintGL (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_initializeOverlayGL (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_resizeOverlayGL (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_paintOverlayGL (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_setAutoBufferSwap (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLWidget_autoBufferSwap (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_glInit (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_glDraw (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLWidget_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QGLWidget__ */ diff --git a/qtjava/javalib/qtjava/QGb18030Codec.cpp b/qtjava/javalib/qtjava/QGb18030Codec.cpp deleted file mode 100644 index a7297d4e..00000000 --- a/qtjava/javalib/qtjava/QGb18030Codec.cpp +++ /dev/null @@ -1,106 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQGb18030CodecJBridge : public TQGb18030Codec -{ -public: - TQGb18030CodecJBridge() : TQGb18030Codec() {}; - ~TQGb18030CodecJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGb18030Codec_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QGb18030Codec_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGb18030Codec_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQGb18030Codec*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QGb18030Codec_fromUnicode(JNIEnv* env, jobject obj, jstring uc, jintArray lenInOut) -{ - TQCString _qstring; -static TQString* _qstring_uc = 0; - int* _int_lenInOut = QtSupport::toIntPtr(env, lenInOut); - _qstring = ((TQGb18030Codec*) QtSupport::getQt(env, obj))->fromUnicode((const TQString&)*(TQString*) QtSupport::toTQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); - env->SetIntArrayRegion(lenInOut, 0, 1, (jint *) _int_lenInOut); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QGb18030Codec_heuristicContentMatch(JNIEnv* env, jobject obj, jstring chars, jint len) -{ -static TQCString* _qstring_chars = 0; - jint xret = (jint) ((TQGb18030Codec*) QtSupport::getQt(env, obj))->heuristicContentMatch((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QGb18030Codec_heuristicNameMatch(JNIEnv* env, jobject obj, jstring hint) -{ -static TQCString* _qstring_hint = 0; - jint xret = (jint) ((TQGb18030Codec*) QtSupport::getQt(env, obj))->heuristicNameMatch((const char*) QtSupport::toCharString(env, hint, &_qstring_hint)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGb18030Codec_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QGb18030Codec_makeDecoder(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQGb18030Codec*) QtSupport::getQt(env, obj))->makeDecoder(), "org.kde.qt.TQTextDecoder"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QGb18030Codec_mibEnum(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQGb18030Codec*) QtSupport::getQt(env, obj))->mibEnum(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QGb18030Codec_name(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQGb18030Codec*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGb18030Codec_newTQGb18030Codec(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGb18030CodecJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QGb18030Codec_toUnicode(JNIEnv* env, jobject obj, jstring chars, jint len) -{ - TQString _qstring; -static TQCString* _qstring_chars = 0; - _qstring = ((TQGb18030Codec*) QtSupport::getQt(env, obj))->toUnicode((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QGb18030Codec.h b/qtjava/javalib/qtjava/QGb18030Codec.h deleted file mode 100644 index acda2716..00000000 --- a/qtjava/javalib/qtjava/QGb18030Codec.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QGb18030Codec__ -#define __org_kde_qt_QGb18030Codec__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGb18030Codec_newTQGb18030Codec (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGb18030Codec_mibEnum (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGb18030Codec_name (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGb18030Codec_makeDecoder (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGb18030Codec_fromUnicode (JNIEnv *env, jobject, jstring, jintArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGb18030Codec_toUnicode (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGb18030Codec_heuristicContentMatch (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGb18030Codec_heuristicNameMatch (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGb18030Codec_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGb18030Codec_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGb18030Codec_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QGb18030Codec__ */ diff --git a/qtjava/javalib/qtjava/QGrid.cpp b/qtjava/javalib/qtjava/QGrid.cpp deleted file mode 100644 index 487d1185..00000000 --- a/qtjava/javalib/qtjava/QGrid.cpp +++ /dev/null @@ -1,549 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -class TQGridJBridge : public TQGrid -{ -public: - TQGridJBridge(int arg1,TQWidget* arg2,const char* arg3,TQt::WFlags arg4) : TQGrid(arg1,arg2,arg3,arg4) {}; - TQGridJBridge(int arg1,TQWidget* arg2,const char* arg3) : TQGrid(arg1,arg2,arg3) {}; - TQGridJBridge(int arg1,TQWidget* arg2) : TQGrid(arg1,arg2) {}; - TQGridJBridge(int arg1) : TQGrid(arg1) {}; - TQGridJBridge(int arg1,TQt::Orientation arg2,TQWidget* arg3,const char* arg4,TQt::WFlags arg5) : TQGrid(arg1,arg2,arg3,arg4,arg5) {}; - TQGridJBridge(int arg1,TQt::Orientation arg2,TQWidget* arg3,const char* arg4) : TQGrid(arg1,arg2,arg3,arg4) {}; - TQGridJBridge(int arg1,TQt::Orientation arg2,TQWidget* arg3) : TQGrid(arg1,arg2,arg3) {}; - TQGridJBridge(int arg1,TQt::Orientation arg2) : TQGrid(arg1,arg2) {}; - void protected_frameChanged() { - TQGrid::frameChanged(); - return; - } - ~TQGridJBridge() {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.qt.TQGrid","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.qt.TQGrid","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.qt.TQGrid","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.qt.TQGrid","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.qt.TQGrid","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.qt.TQGrid","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGrid","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.qt.TQGrid","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGrid","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.qt.TQGrid","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.qt.TQGrid",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.qt.TQGrid","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QGrid_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQGrid*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGrid_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QGrid_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGrid_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQGrid*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQGrid*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGrid_frameChanged(JNIEnv* env, jobject obj) -{ - ((TQGridJBridge*) QtSupport::getQt(env, obj))->protected_frameChanged(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGrid_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QGrid_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQGrid*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGrid_newTQGrid__I(JNIEnv* env, jobject obj, jint n) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGridJBridge((int) n)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGrid_newTQGrid__II(JNIEnv* env, jobject obj, jint n, jint orient) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGridJBridge((int) n, (TQt::Orientation) orient)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGrid_newTQGrid__IILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint n, jint orient, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGridJBridge((int) n, (TQt::Orientation) orient, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGrid_newTQGrid__IILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint n, jint orient, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGridJBridge((int) n, (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_qt_QGrid_newTQGrid__IILorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jint n, jint orient, jobject parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGridJBridge((int) n, (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_qt_QGrid_newTQGrid__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint n, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGridJBridge((int) n, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGrid_newTQGrid__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint n, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGridJBridge((int) n, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGrid_newTQGrid__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jint n, jobject parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGridJBridge((int) n, (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_qt_QGrid_setSpacing(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQGrid*) QtSupport::getQt(env, obj))->setSpacing((int) arg1); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QGrid_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQGrid*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QGrid_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQGridJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QGrid_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQGridJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QGrid.h b/qtjava/javalib/qtjava/QGrid.h deleted file mode 100644 index 949fb9fe..00000000 --- a/qtjava/javalib/qtjava/QGrid.h +++ /dev/null @@ -1,36 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QGrid__ -#define __org_kde_qt_QGrid__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGrid_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGrid_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGrid_newTQGrid__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jint, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGrid_newTQGrid__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGrid_newTQGrid__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGrid_newTQGrid__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGrid_newTQGrid__IILorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jint, jint, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGrid_newTQGrid__IILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGrid_newTQGrid__IILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGrid_newTQGrid__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGrid_setSpacing (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGrid_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGrid_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGrid_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGrid_frameChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGrid_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGrid_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGrid_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QGrid__ */ diff --git a/qtjava/javalib/qtjava/QGridLayout.cpp b/qtjava/javalib/qtjava/QGridLayout.cpp deleted file mode 100644 index 5937679a..00000000 --- a/qtjava/javalib/qtjava/QGridLayout.cpp +++ /dev/null @@ -1,567 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include - -class TQGridLayoutJBridge : public TQGridLayout -{ -public: - TQGridLayoutJBridge(TQWidget* arg1,int arg2,int arg3,int arg4,int arg5,const char* arg6) : TQGridLayout(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TQGridLayoutJBridge(TQWidget* arg1,int arg2,int arg3,int arg4,int arg5) : TQGridLayout(arg1,arg2,arg3,arg4,arg5) {}; - TQGridLayoutJBridge(TQWidget* arg1,int arg2,int arg3,int arg4) : TQGridLayout(arg1,arg2,arg3,arg4) {}; - TQGridLayoutJBridge(TQWidget* arg1,int arg2,int arg3) : TQGridLayout(arg1,arg2,arg3) {}; - TQGridLayoutJBridge(TQWidget* arg1,int arg2) : TQGridLayout(arg1,arg2) {}; - TQGridLayoutJBridge(TQWidget* arg1) : TQGridLayout(arg1) {}; - TQGridLayoutJBridge(int arg1,int arg2,int arg3,const char* arg4) : TQGridLayout(arg1,arg2,arg3,arg4) {}; - TQGridLayoutJBridge(int arg1,int arg2,int arg3) : TQGridLayout(arg1,arg2,arg3) {}; - TQGridLayoutJBridge(int arg1,int arg2) : TQGridLayout(arg1,arg2) {}; - TQGridLayoutJBridge(int arg1) : TQGridLayout(arg1) {}; - TQGridLayoutJBridge() : TQGridLayout() {}; - TQGridLayoutJBridge(TQLayout* arg1,int arg2,int arg3,int arg4,const char* arg5) : TQGridLayout(arg1,arg2,arg3,arg4,arg5) {}; - TQGridLayoutJBridge(TQLayout* arg1,int arg2,int arg3,int arg4) : TQGridLayout(arg1,arg2,arg3,arg4) {}; - TQGridLayoutJBridge(TQLayout* arg1,int arg2,int arg3) : TQGridLayout(arg1,arg2,arg3) {}; - TQGridLayoutJBridge(TQLayout* arg1,int arg2) : TQGridLayout(arg1,arg2) {}; - TQGridLayoutJBridge(TQLayout* arg1) : TQGridLayout(arg1) {}; - bool protected_findWidget(TQWidget* arg1,int* arg2,int* arg3) { - return (bool) TQGridLayout::findWidget(arg1,arg2,arg3); - } - void protected_add(TQLayoutItem* arg1,int arg2,int arg3) { - TQGridLayout::add(arg1,arg2,arg3); - return; - } - ~TQGridLayoutJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void setMenuBar(TQMenuBar* arg1) { - if (!QtSupport::eventDelegate(this,"setMenuBar",(void*)arg1,"org.kde.qt.TQMenuBar")) { - TQLayout::setMenuBar(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")) { - TQLayout::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_addColSpacing(JNIEnv* env, jobject obj, jint col, jint minsize) -{ - ((TQGridLayout*) QtSupport::getQt(env, obj))->addColSpacing((int) col, (int) minsize); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_addItem__Lorg_kde_qt_QLayoutItemInterface_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQGridLayout*) QtSupport::getQt(env, obj))->addItem((TQLayoutItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_addItem__Lorg_kde_qt_QLayoutItemInterface_2II(JNIEnv* env, jobject obj, jobject item, jint row, jint col) -{ - ((TQGridLayout*) QtSupport::getQt(env, obj))->addItem((TQLayoutItem*) QtSupport::getQt(env, item), (int) row, (int) col); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_addLayout(JNIEnv* env, jobject obj, jobject layout, jint row, jint col) -{ - ((TQGridLayout*) QtSupport::getQt(env, obj))->addLayout((TQLayout*) QtSupport::getQt(env, layout), (int) row, (int) col); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_addMultiCellLayout__Lorg_kde_qt_QLayout_2IIII(JNIEnv* env, jobject obj, jobject layout, jint fromRow, jint toRow, jint fromCol, jint toCol) -{ - ((TQGridLayout*) QtSupport::getQt(env, obj))->addMultiCellLayout((TQLayout*) QtSupport::getQt(env, layout), (int) fromRow, (int) toRow, (int) fromCol, (int) toCol); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_addMultiCellLayout__Lorg_kde_qt_QLayout_2IIIII(JNIEnv* env, jobject obj, jobject layout, jint fromRow, jint toRow, jint fromCol, jint toCol, jint align) -{ - ((TQGridLayout*) QtSupport::getQt(env, obj))->addMultiCellLayout((TQLayout*) QtSupport::getQt(env, layout), (int) fromRow, (int) toRow, (int) fromCol, (int) toCol, (int) align); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_addMultiCellWidget__Lorg_kde_qt_QWidget_2IIII(JNIEnv* env, jobject obj, jobject arg1, jint fromRow, jint toRow, jint fromCol, jint toCol) -{ - ((TQGridLayout*) QtSupport::getQt(env, obj))->addMultiCellWidget((TQWidget*) QtSupport::getQt(env, arg1), (int) fromRow, (int) toRow, (int) fromCol, (int) toCol); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_addMultiCellWidget__Lorg_kde_qt_QWidget_2IIIII(JNIEnv* env, jobject obj, jobject arg1, jint fromRow, jint toRow, jint fromCol, jint toCol, jint align) -{ - ((TQGridLayout*) QtSupport::getQt(env, obj))->addMultiCellWidget((TQWidget*) QtSupport::getQt(env, arg1), (int) fromRow, (int) toRow, (int) fromCol, (int) toCol, (int) align); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_addMultiCell__Lorg_kde_qt_QLayoutItemInterface_2IIII(JNIEnv* env, jobject obj, jobject arg1, jint fromRow, jint toRow, jint fromCol, jint toCol) -{ - ((TQGridLayout*) QtSupport::getQt(env, obj))->addMultiCell((TQLayoutItem*) QtSupport::getQt(env, arg1), (int) fromRow, (int) toRow, (int) fromCol, (int) toCol); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_addMultiCell__Lorg_kde_qt_QLayoutItemInterface_2IIIII(JNIEnv* env, jobject obj, jobject arg1, jint fromRow, jint toRow, jint fromCol, jint toCol, jint align) -{ - ((TQGridLayout*) QtSupport::getQt(env, obj))->addMultiCell((TQLayoutItem*) QtSupport::getQt(env, arg1), (int) fromRow, (int) toRow, (int) fromCol, (int) toCol, (int) align); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_addRowSpacing(JNIEnv* env, jobject obj, jint row, jint minsize) -{ - ((TQGridLayout*) QtSupport::getQt(env, obj))->addRowSpacing((int) row, (int) minsize); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_addWidget__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject arg1, jint row, jint col) -{ - ((TQGridLayout*) QtSupport::getQt(env, obj))->addWidget((TQWidget*) QtSupport::getQt(env, arg1), (int) row, (int) col); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_addWidget__Lorg_kde_qt_QWidget_2III(JNIEnv* env, jobject obj, jobject arg1, jint row, jint col, jint align) -{ - ((TQGridLayout*) QtSupport::getQt(env, obj))->addWidget((TQWidget*) QtSupport::getQt(env, arg1), (int) row, (int) col, (int) align); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_add(JNIEnv* env, jobject obj, jobject arg1, jint row, jint col) -{ - ((TQGridLayoutJBridge*) QtSupport::getQt(env, obj))->protected_add((TQLayoutItem*) QtSupport::getQt(env, arg1), (int) row, (int) col); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QGridLayout_cellGeometry(JNIEnv* env, jobject obj, jint row, jint col) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQGridLayout*) QtSupport::getQt(env, obj))->cellGeometry((int) row, (int) col)), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QGridLayout_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQGridLayout*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QGridLayout_colSpacing(JNIEnv* env, jobject obj, jint col) -{ - jint xret = (jint) ((TQGridLayout*) QtSupport::getQt(env, obj))->colSpacing((int) col); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QGridLayout_colStretch(JNIEnv* env, jobject obj, jint col) -{ - jint xret = (jint) ((TQGridLayout*) QtSupport::getQt(env, obj))->colStretch((int) col); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QGridLayout_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_expand(JNIEnv* env, jobject obj, jint rows, jint cols) -{ - ((TQGridLayout*) QtSupport::getQt(env, obj))->expand((int) rows, (int) cols); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QGridLayout_expanding(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQGridLayout*) QtSupport::getQt(env, obj))->expanding(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQLayoutItem*)(TQGridLayout*)QtSupport::getQt(env, obj))->layout() == 0 && ((TQLayoutItem*)(TQGridLayout*)QtSupport::getQt(env, obj))->widget() == 0 && ((TQLayoutItem*)(TQGridLayout*)QtSupport::getQt(env, obj))->spacerItem() == 0) { - delete (TQGridLayout*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGridLayout_findWidget(JNIEnv* env, jobject obj, jobject w, jintArray r, jintArray c) -{ - int* _int_r = QtSupport::toIntPtr(env, r); - int* _int_c = QtSupport::toIntPtr(env, c); - jboolean xret = (jboolean) ((TQGridLayoutJBridge*) QtSupport::getQt(env, obj))->protected_findWidget((TQWidget*) QtSupport::getQt(env, w), (int*) _int_r, (int*) _int_c); - env->SetIntArrayRegion(r, 0, 1, (jint *) _int_r); - env->SetIntArrayRegion(c, 0, 1, (jint *) _int_c); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGridLayout_hasHeightForWidth(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQGridLayout*) QtSupport::getQt(env, obj))->hasHeightForWidth(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QGridLayout_heightForWidth(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQGridLayout*) QtSupport::getQt(env, obj))->heightForWidth((int) arg1); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_invalidate(JNIEnv* env, jobject obj) -{ - ((TQGridLayout*) QtSupport::getQt(env, obj))->invalidate(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGridLayout_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QGridLayout_maximumSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQGridLayout*) QtSupport::getQt(env, obj))->maximumSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QGridLayout_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQGridLayout*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QGridLayout_minimumHeightForWidth(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQGridLayout*) QtSupport::getQt(env, obj))->minimumHeightForWidth((int) arg1); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QGridLayout_minimumSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQGridLayout*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_newTQGridLayout__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGridLayoutJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_newTQGridLayout__I(JNIEnv* env, jobject obj, jint nRows) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGridLayoutJBridge((int) nRows)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_newTQGridLayout__II(JNIEnv* env, jobject obj, jint nRows, jint nCols) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGridLayoutJBridge((int) nRows, (int) nCols)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_newTQGridLayout__III(JNIEnv* env, jobject obj, jint nRows, jint nCols, jint spacing) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGridLayoutJBridge((int) nRows, (int) nCols, (int) spacing)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_newTQGridLayout__IIILjava_lang_String_2(JNIEnv* env, jobject obj, jint nRows, jint nCols, jint spacing, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGridLayoutJBridge((int) nRows, (int) nCols, (int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QLayout_2(JNIEnv* env, jobject obj, jobject parentLayout) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGridLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QLayout_2I(JNIEnv* env, jobject obj, jobject parentLayout, jint nRows) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGridLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout), (int) nRows)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QLayout_2II(JNIEnv* env, jobject obj, jobject parentLayout, jint nRows, jint nCols) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGridLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout), (int) nRows, (int) nCols)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QLayout_2III(JNIEnv* env, jobject obj, jobject parentLayout, jint nRows, jint nCols, jint spacing) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGridLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout), (int) nRows, (int) nCols, (int) spacing)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QLayout_2IIILjava_lang_String_2(JNIEnv* env, jobject obj, jobject parentLayout, jint nRows, jint nCols, jint spacing, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGridLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout), (int) nRows, (int) nCols, (int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGridLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject parent, jint nRows) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGridLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) nRows)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject parent, jint nRows, jint nCols) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGridLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) nRows, (int) nCols)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QWidget_2III(JNIEnv* env, jobject obj, jobject parent, jint nRows, jint nCols, jint border) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGridLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) nRows, (int) nCols, (int) border)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QWidget_2IIII(JNIEnv* env, jobject obj, jobject parent, jint nRows, jint nCols, jint border, jint spacing) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGridLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) nRows, (int) nCols, (int) border, (int) spacing)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QWidget_2IIIILjava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jint nRows, jint nCols, jint border, jint spacing, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGridLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) nRows, (int) nCols, (int) border, (int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QGridLayout_numCols(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQGridLayout*) QtSupport::getQt(env, obj))->numCols(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QGridLayout_numRows(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQGridLayout*) QtSupport::getQt(env, obj))->numRows(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QGridLayout_origin(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQGridLayout*) QtSupport::getQt(env, obj))->origin(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QGridLayout_rowSpacing(JNIEnv* env, jobject obj, jint row) -{ - jint xret = (jint) ((TQGridLayout*) QtSupport::getQt(env, obj))->rowSpacing((int) row); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QGridLayout_rowStretch(JNIEnv* env, jobject obj, jint row) -{ - jint xret = (jint) ((TQGridLayout*) QtSupport::getQt(env, obj))->rowStretch((int) row); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_setColSpacing(JNIEnv* env, jobject obj, jint col, jint minSize) -{ - ((TQGridLayout*) QtSupport::getQt(env, obj))->setColSpacing((int) col, (int) minSize); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_setColStretch(JNIEnv* env, jobject obj, jint col, jint stretch) -{ - ((TQGridLayout*) QtSupport::getQt(env, obj))->setColStretch((int) col, (int) stretch); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_setGeometry(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQGridLayout*) QtSupport::getQt(env, obj))->setGeometry((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_setOrigin(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQGridLayout*) QtSupport::getQt(env, obj))->setOrigin((TQGridLayout::Corner) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_setRowSpacing(JNIEnv* env, jobject obj, jint row, jint minSize) -{ - ((TQGridLayout*) QtSupport::getQt(env, obj))->setRowSpacing((int) row, (int) minSize); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_setRowStretch(JNIEnv* env, jobject obj, jint row, jint stretch) -{ - ((TQGridLayout*) QtSupport::getQt(env, obj))->setRowStretch((int) row, (int) stretch); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QGridLayout_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQGridLayout*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QGridLayout_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQGridLayoutJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QGridLayout_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQGridLayoutJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QGridLayout.h b/qtjava/javalib/qtjava/QGridLayout.h deleted file mode 100644 index d0b4d387..00000000 --- a/qtjava/javalib/qtjava/QGridLayout.h +++ /dev/null @@ -1,79 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QGridLayout__ -#define __org_kde_qt_QGridLayout__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGridLayout_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGridLayout_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QWidget_2IIIILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jint, jint, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QWidget_2IIII (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QWidget_2III (JNIEnv *env, jobject, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QWidget_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newTQGridLayout__IIILjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newTQGridLayout__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newTQGridLayout__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newTQGridLayout__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newTQGridLayout__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QLayout_2IIILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jint, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QLayout_2III (JNIEnv *env, jobject, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QLayout_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QLayout_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QLayout_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGridLayout_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGridLayout_minimumSize (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGridLayout_maximumSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_setRowStretch (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_setColStretch (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGridLayout_rowStretch (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGridLayout_colStretch (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_setRowSpacing (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_setColSpacing (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGridLayout_rowSpacing (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGridLayout_colSpacing (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGridLayout_numRows (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGridLayout_numCols (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGridLayout_cellGeometry (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGridLayout_hasHeightForWidth (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGridLayout_heightForWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGridLayout_minimumHeightForWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGridLayout_expanding (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_invalidate (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_addItem__Lorg_kde_qt_QLayoutItemInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_addItem__Lorg_kde_qt_QLayoutItemInterface_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_addMultiCell__Lorg_kde_qt_QLayoutItemInterface_2IIIII (JNIEnv *env, jobject, jobject, jint, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_addMultiCell__Lorg_kde_qt_QLayoutItemInterface_2IIII (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_addWidget__Lorg_kde_qt_QWidget_2III (JNIEnv *env, jobject, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_addWidget__Lorg_kde_qt_QWidget_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_addMultiCellWidget__Lorg_kde_qt_QWidget_2IIIII (JNIEnv *env, jobject, jobject, jint, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_addMultiCellWidget__Lorg_kde_qt_QWidget_2IIII (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_addLayout (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_addMultiCellLayout__Lorg_kde_qt_QLayout_2IIIII (JNIEnv *env, jobject, jobject, jint, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_addMultiCellLayout__Lorg_kde_qt_QLayout_2IIII (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_addRowSpacing (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_addColSpacing (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_expand (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_setOrigin (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGridLayout_origin (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_setGeometry (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGridLayout_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGridLayout_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGridLayout_findWidget (JNIEnv *env, jobject, jobject, jintArray, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_add (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGridLayout_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QGridLayout__ */ diff --git a/qtjava/javalib/qtjava/QGridView.cpp b/qtjava/javalib/qtjava/QGridView.cpp deleted file mode 100644 index 70d108c2..00000000 --- a/qtjava/javalib/qtjava/QGridView.cpp +++ /dev/null @@ -1,165 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QGridView_cellGeometry(JNIEnv* env, jobject obj, jint row, jint column) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQGridView*) QtSupport::getQt(env, obj))->cellGeometry((int) row, (int) column)), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QGridView_cellHeight(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQGridView*) QtSupport::getQt(env, obj))->cellHeight(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QGridView_cellRect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQGridView*) QtSupport::getQt(env, obj))->cellRect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QGridView_cellWidth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQGridView*) QtSupport::getQt(env, obj))->cellWidth(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QGridView_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQGridView*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QGridView_columnAt(JNIEnv* env, jobject obj, jint x) -{ - jint xret = (jint) ((TQGridView*) QtSupport::getQt(env, obj))->columnAt((int) x); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridView_ensureCellVisible(JNIEnv* env, jobject obj, jint row, jint column) -{ - ((TQGridView*) QtSupport::getQt(env, obj))->ensureCellVisible((int) row, (int) column); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QGridView_gridSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQGridView*) QtSupport::getQt(env, obj))->gridSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QGridView_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQGridView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QGridView_numCols(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQGridView*) QtSupport::getQt(env, obj))->numCols(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QGridView_numRows(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQGridView*) QtSupport::getQt(env, obj))->numRows(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridView_repaintCell__II(JNIEnv* env, jobject obj, jint row, jint column) -{ - ((TQGridView*) QtSupport::getQt(env, obj))->repaintCell((int) row, (int) column); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridView_repaintCell__IIZ(JNIEnv* env, jobject obj, jint row, jint column, jboolean erase) -{ - ((TQGridView*) QtSupport::getQt(env, obj))->repaintCell((int) row, (int) column, (bool) erase); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QGridView_rowAt(JNIEnv* env, jobject obj, jint y) -{ - jint xret = (jint) ((TQGridView*) QtSupport::getQt(env, obj))->rowAt((int) y); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridView_setCellHeight(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQGridView*) QtSupport::getQt(env, obj))->setCellHeight((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridView_setCellWidth(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQGridView*) QtSupport::getQt(env, obj))->setCellWidth((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridView_setNumCols(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQGridView*) QtSupport::getQt(env, obj))->setNumCols((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridView_setNumRows(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQGridView*) QtSupport::getQt(env, obj))->setNumRows((int) arg1); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QGridView_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQGridView::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QGridView_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQGridView::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGridView_updateCell(JNIEnv* env, jobject obj, jint row, jint column) -{ - ((TQGridView*) QtSupport::getQt(env, obj))->updateCell((int) row, (int) column); - return; -} - diff --git a/qtjava/javalib/qtjava/QGridView.h b/qtjava/javalib/qtjava/QGridView.h deleted file mode 100644 index 710c0083..00000000 --- a/qtjava/javalib/qtjava/QGridView.h +++ /dev/null @@ -1,39 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QGridView__ -#define __org_kde_qt_QGridView__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGridView_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGridView_className (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGridView_numRows (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridView_setNumRows (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGridView_numCols (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridView_setNumCols (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGridView_cellWidth (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridView_setCellWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGridView_cellHeight (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridView_setCellHeight (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGridView_cellRect (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGridView_cellGeometry (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGridView_gridSize (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGridView_rowAt (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGridView_columnAt (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridView_repaintCell__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridView_repaintCell__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridView_updateCell (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridView_ensureCellVisible (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGridView_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGridView_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QGridView__ */ diff --git a/qtjava/javalib/qtjava/QGroupBox.cpp b/qtjava/javalib/qtjava/QGroupBox.cpp deleted file mode 100644 index 8006b47e..00000000 --- a/qtjava/javalib/qtjava/QGroupBox.cpp +++ /dev/null @@ -1,796 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include - -class TQGroupBoxJBridge : public TQGroupBox -{ -public: - TQGroupBoxJBridge(TQWidget* arg1,const char* arg2) : TQGroupBox(arg1,arg2) {}; - TQGroupBoxJBridge(TQWidget* arg1) : TQGroupBox(arg1) {}; - TQGroupBoxJBridge() : TQGroupBox() {}; - TQGroupBoxJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQGroupBox(arg1,arg2,arg3) {}; - TQGroupBoxJBridge(const TQString& arg1,TQWidget* arg2) : TQGroupBox(arg1,arg2) {}; - TQGroupBoxJBridge(const TQString& arg1) : TQGroupBox(arg1) {}; - TQGroupBoxJBridge(int arg1,TQt::Orientation arg2,TQWidget* arg3,const char* arg4) : TQGroupBox(arg1,arg2,arg3,arg4) {}; - TQGroupBoxJBridge(int arg1,TQt::Orientation arg2,TQWidget* arg3) : TQGroupBox(arg1,arg2,arg3) {}; - TQGroupBoxJBridge(int arg1,TQt::Orientation arg2) : TQGroupBox(arg1,arg2) {}; - TQGroupBoxJBridge(int arg1,TQt::Orientation arg2,const TQString& arg3,TQWidget* arg4,const char* arg5) : TQGroupBox(arg1,arg2,arg3,arg4,arg5) {}; - TQGroupBoxJBridge(int arg1,TQt::Orientation arg2,const TQString& arg3,TQWidget* arg4) : TQGroupBox(arg1,arg2,arg3,arg4) {}; - TQGroupBoxJBridge(int arg1,TQt::Orientation arg2,const TQString& arg3) : TQGroupBox(arg1,arg2,arg3) {}; - bool protected_event(TQEvent* arg1) { - return (bool) TQGroupBox::event(arg1); - } - void protected_childEvent(TQChildEvent* arg1) { - TQGroupBox::childEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQGroupBox::resizeEvent(arg1); - return; - } - void protected_paintEvent(TQPaintEvent* arg1) { - TQGroupBox::paintEvent(arg1); - return; - } - void protected_focusInEvent(TQFocusEvent* arg1) { - TQGroupBox::focusInEvent(arg1); - return; - } - void protected_fontChange(const TQFont& arg1) { - TQGroupBox::fontChange(arg1); - return; - } - ~TQGroupBoxJBridge() {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.qt.TQGroupBox","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.qt.TQGroupBox","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.qt.TQGroupBox","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.qt.TQGroupBox","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.qt.TQGroupBox","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.qt.TQGroupBox","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGroupBox","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.qt.TQGroupBox","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGroupBox","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.qt.TQGroupBox","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.qt.TQGroupBox",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.qt.TQGroupBox","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGroupBox","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGroupBox_addSpace(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQGroupBox*) QtSupport::getQt(env, obj))->addSpace((int) arg1); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QGroupBox_alignment(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQGroupBox*) QtSupport::getQt(env, obj))->alignment(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGroupBox_childEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQGroupBoxJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TQChildEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QGroupBox_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQGroupBox*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QGroupBox_columns(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQGroupBox*) QtSupport::getQt(env, obj))->columns(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGroupBox_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QGroupBox_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGroupBox_event(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQGroupBoxJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGroupBox_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQGroupBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQGroupBox*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGroupBox_focusInEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQGroupBoxJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGroupBox_fontChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQGroupBoxJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QGroupBox_insideMargin(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQGroupBox*) QtSupport::getQt(env, obj))->insideMargin(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QGroupBox_insideSpacing(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQGroupBox*) QtSupport::getQt(env, obj))->insideSpacing(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGroupBox_isCheckable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQGroupBox*) QtSupport::getQt(env, obj))->isCheckable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGroupBox_isChecked(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQGroupBox*) QtSupport::getQt(env, obj))->isChecked(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGroupBox_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QGroupBox_isFlat(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQGroupBox*) QtSupport::getQt(env, obj))->isFlat(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QGroupBox_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQGroupBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGroupBox_newTQGroupBox__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGroupBoxJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGroupBox_newTQGroupBox__II(JNIEnv* env, jobject obj, jint strips, jint o) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGroupBoxJBridge((int) strips, (TQt::Orientation) o)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGroupBox_newTQGroupBox__IILjava_lang_String_2(JNIEnv* env, jobject obj, jint strips, jint o, jstring title) -{ -static TQString* _qstring_title = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGroupBoxJBridge((int) strips, (TQt::Orientation) o, (const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGroupBox_newTQGroupBox__IILjava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint strips, jint o, jstring title, jobject parent) -{ -static TQString* _qstring_title = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGroupBoxJBridge((int) strips, (TQt::Orientation) o, (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_qt_QGroupBox_newTQGroupBox__IILjava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint strips, jint o, 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 TQGroupBoxJBridge((int) strips, (TQt::Orientation) o, (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_qt_QGroupBox_newTQGroupBox__IILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint strips, jint o, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGroupBoxJBridge((int) strips, (TQt::Orientation) o, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGroupBox_newTQGroupBox__IILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint strips, jint o, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGroupBoxJBridge((int) strips, (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_qt_QGroupBox_newTQGroupBox__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 TQGroupBoxJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGroupBox_newTQGroupBox__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 TQGroupBoxJBridge((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_qt_QGroupBox_newTQGroupBox__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 TQGroupBoxJBridge((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_qt_QGroupBox_newTQGroupBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQGroupBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGroupBox_newTQGroupBox__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 TQGroupBoxJBridge((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_qt_QGroupBox_orientation(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQGroupBox*) QtSupport::getQt(env, obj))->orientation(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGroupBox_paintEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQGroupBoxJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGroupBox_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQGroupBoxJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGroupBox_setAlignment(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQGroupBox*) QtSupport::getQt(env, obj))->setAlignment((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGroupBox_setCheckable(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQGroupBox*) QtSupport::getQt(env, obj))->setCheckable((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGroupBox_setChecked(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQGroupBox*) QtSupport::getQt(env, obj))->setChecked((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGroupBox_setColumnLayout(JNIEnv* env, jobject obj, jint strips, jint o) -{ - ((TQGroupBox*) QtSupport::getQt(env, obj))->setColumnLayout((int) strips, (TQt::Orientation) o); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGroupBox_setColumns(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQGroupBox*) QtSupport::getQt(env, obj))->setColumns((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGroupBox_setEnabled(JNIEnv* env, jobject obj, jboolean on) -{ - ((TQGroupBox*) QtSupport::getQt(env, obj))->setEnabled((bool) on); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGroupBox_setFlat(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQGroupBox*) QtSupport::getQt(env, obj))->setFlat((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGroupBox_setInsideMargin(JNIEnv* env, jobject obj, jint m) -{ - ((TQGroupBox*) QtSupport::getQt(env, obj))->setInsideMargin((int) m); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGroupBox_setInsideSpacing(JNIEnv* env, jobject obj, jint s) -{ - ((TQGroupBox*) QtSupport::getQt(env, obj))->setInsideSpacing((int) s); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGroupBox_setOrientation(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQGroupBox*) QtSupport::getQt(env, obj))->setOrientation((TQt::Orientation) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QGroupBox_setTitle(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQGroupBox*) QtSupport::getQt(env, obj))->setTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QGroupBox_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQGroupBox*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QGroupBox_title(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQGroupBox*) QtSupport::getQt(env, obj))->title(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QGroupBox_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQGroupBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QGroupBox_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQGroupBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QGroupBox.h b/qtjava/javalib/qtjava/QGroupBox.h deleted file mode 100644 index 657b741d..00000000 --- a/qtjava/javalib/qtjava/QGroupBox.h +++ /dev/null @@ -1,65 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QGroupBox__ -#define __org_kde_qt_QGroupBox__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGroupBox_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGroupBox_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_newTQGroupBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_newTQGroupBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_newTQGroupBox__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_newTQGroupBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_newTQGroupBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_newTQGroupBox__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_newTQGroupBox__IILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_newTQGroupBox__IILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_newTQGroupBox__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_newTQGroupBox__IILjava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_newTQGroupBox__IILjava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_newTQGroupBox__IILjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_setColumnLayout (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGroupBox_title (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_setTitle (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGroupBox_alignment (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_setAlignment (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGroupBox_columns (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_setColumns (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGroupBox_orientation (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_setOrientation (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGroupBox_insideMargin (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGroupBox_insideSpacing (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_setInsideMargin (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_setInsideSpacing (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_addSpace (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGroupBox_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGroupBox_isFlat (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_setFlat (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGroupBox_isCheckable (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_setCheckable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGroupBox_isChecked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_setEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_setChecked (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGroupBox_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGroupBox_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGroupBox_event (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_childEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_focusInEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_fontChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGroupBox_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QGroupBox__ */ diff --git a/qtjava/javalib/qtjava/QHBox.cpp b/qtjava/javalib/qtjava/QHBox.cpp deleted file mode 100644 index 3faf9220..00000000 --- a/qtjava/javalib/qtjava/QHBox.cpp +++ /dev/null @@ -1,534 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -class TQHBoxJBridge : public TQHBox -{ -public: - TQHBoxJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQHBox(arg1,arg2,arg3) {}; - TQHBoxJBridge(TQWidget* arg1,const char* arg2) : TQHBox(arg1,arg2) {}; - TQHBoxJBridge(TQWidget* arg1) : TQHBox(arg1) {}; - TQHBoxJBridge() : TQHBox() {}; - TQHBoxJBridge(bool arg1,TQWidget* arg2,const char* arg3,TQt::WFlags arg4) : TQHBox(arg1,arg2,arg3,arg4) {}; - TQHBoxJBridge(bool arg1,TQWidget* arg2,const char* arg3) : TQHBox(arg1,arg2,arg3) {}; - void protected_frameChanged() { - TQHBox::frameChanged(); - return; - } - ~TQHBoxJBridge() {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.qt.TQHBox","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.qt.TQHBox","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.qt.TQHBox","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.qt.TQHBox","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.qt.TQHBox","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.qt.TQHBox","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHBox","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.qt.TQHBox","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHBox","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.qt.TQHBox","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.qt.TQHBox",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.qt.TQHBox","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QHBox_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQHBox*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHBox_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QHBox_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHBox_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQHBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQHBox*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHBox_frameChanged(JNIEnv* env, jobject obj) -{ - ((TQHBoxJBridge*) QtSupport::getQt(env, obj))->protected_frameChanged(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QHBox_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QHBox_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQHBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHBox_newTQHBox__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHBoxJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHBox_newTQHBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHBox_newTQHBox__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 TQHBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHBox_newTQHBox__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 TQHBoxJBridge((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_qt_QHBox_newTQHBox__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jboolean horizontal, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHBoxJBridge((bool) horizontal, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHBox_newTQHBox__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jboolean horizontal, jobject parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHBoxJBridge((bool) horizontal, (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_qt_QHBox_setSpacing(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQHBox*) QtSupport::getQt(env, obj))->setSpacing((int) arg1); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QHBox_setStretchFactor(JNIEnv* env, jobject obj, jobject arg1, jint stretch) -{ - jboolean xret = (jboolean) ((TQHBox*) QtSupport::getQt(env, obj))->setStretchFactor((TQWidget*) QtSupport::getQt(env, arg1), (int) stretch); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QHBox_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQHBox*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QHBox_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQHBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QHBox_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQHBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QHBox.h b/qtjava/javalib/qtjava/QHBox.h deleted file mode 100644 index b9baf4b6..00000000 --- a/qtjava/javalib/qtjava/QHBox.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QHBox__ -#define __org_kde_qt_QHBox__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QHBox_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHBox_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBox_newTQHBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBox_newTQHBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBox_newTQHBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBox_newTQHBox__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBox_setSpacing (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHBox_setStretchFactor (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QHBox_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHBox_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHBox_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBox_newTQHBox__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jboolean, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBox_newTQHBox__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jboolean, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBox_frameChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBox_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBox_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHBox_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QHBox__ */ diff --git a/qtjava/javalib/qtjava/QHBoxLayout.cpp b/qtjava/javalib/qtjava/QHBoxLayout.cpp deleted file mode 100644 index 768f0f7b..00000000 --- a/qtjava/javalib/qtjava/QHBoxLayout.cpp +++ /dev/null @@ -1,221 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQHBoxLayoutJBridge : public TQHBoxLayout -{ -public: - TQHBoxLayoutJBridge(TQWidget* arg1,int arg2,int arg3,const char* arg4) : TQHBoxLayout(arg1,arg2,arg3,arg4) {}; - TQHBoxLayoutJBridge(TQWidget* arg1,int arg2,int arg3) : TQHBoxLayout(arg1,arg2,arg3) {}; - TQHBoxLayoutJBridge(TQWidget* arg1,int arg2) : TQHBoxLayout(arg1,arg2) {}; - TQHBoxLayoutJBridge(TQWidget* arg1) : TQHBoxLayout(arg1) {}; - TQHBoxLayoutJBridge(TQLayout* arg1,int arg2,const char* arg3) : TQHBoxLayout(arg1,arg2,arg3) {}; - TQHBoxLayoutJBridge(TQLayout* arg1,int arg2) : TQHBoxLayout(arg1,arg2) {}; - TQHBoxLayoutJBridge(TQLayout* arg1) : TQHBoxLayout(arg1) {}; - TQHBoxLayoutJBridge(int arg1,const char* arg2) : TQHBoxLayout(arg1,arg2) {}; - TQHBoxLayoutJBridge(int arg1) : TQHBoxLayout(arg1) {}; - TQHBoxLayoutJBridge() : TQHBoxLayout() {}; - ~TQHBoxLayoutJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void setMenuBar(TQMenuBar* arg1) { - if (!QtSupport::eventDelegate(this,"setMenuBar",(void*)arg1,"org.kde.qt.TQMenuBar")) { - TQLayout::setMenuBar(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")) { - TQLayout::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QHBoxLayout_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQHBoxLayout*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHBoxLayout_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QHBoxLayout_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHBoxLayout_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQLayoutItem*)(TQHBoxLayout*)QtSupport::getQt(env, obj))->layout() == 0 && ((TQLayoutItem*)(TQHBoxLayout*)QtSupport::getQt(env, obj))->widget() == 0 && ((TQLayoutItem*)(TQHBoxLayout*)QtSupport::getQt(env, obj))->spacerItem() == 0) { - delete (TQHBoxLayout*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QHBoxLayout_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QHBoxLayout_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQHBoxLayout*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHBoxLayoutJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__I(JNIEnv* env, jobject obj, jint spacing) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHBoxLayoutJBridge((int) spacing)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint spacing, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHBoxLayoutJBridge((int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__Lorg_kde_qt_QLayout_2(JNIEnv* env, jobject obj, jobject parentLayout) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHBoxLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__Lorg_kde_qt_QLayout_2I(JNIEnv* env, jobject obj, jobject parentLayout, jint spacing) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHBoxLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout), (int) spacing)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__Lorg_kde_qt_QLayout_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject parentLayout, jint spacing, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHBoxLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout), (int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHBoxLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject parent, jint border) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHBoxLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) border)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject parent, jint border, jint spacing) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHBoxLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) border, (int) spacing)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__Lorg_kde_qt_QWidget_2IILjava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jint border, jint spacing, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHBoxLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) border, (int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QHBoxLayout_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQHBoxLayoutJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QHBoxLayout_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQHBoxLayoutJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QHBoxLayout.h b/qtjava/javalib/qtjava/QHBoxLayout.h deleted file mode 100644 index 14b11710..00000000 --- a/qtjava/javalib/qtjava/QHBoxLayout.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QHBoxLayout__ -#define __org_kde_qt_QHBoxLayout__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QHBoxLayout_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHBoxLayout_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__Lorg_kde_qt_QWidget_2IILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__Lorg_kde_qt_QWidget_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__Lorg_kde_qt_QLayout_2ILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__Lorg_kde_qt_QLayout_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__Lorg_kde_qt_QLayout_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHBoxLayout_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHBoxLayout_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBoxLayout_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBoxLayout_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHBoxLayout_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QHBoxLayout__ */ diff --git a/qtjava/javalib/qtjava/QHButtonGroup.cpp b/qtjava/javalib/qtjava/QHButtonGroup.cpp deleted file mode 100644 index 05707925..00000000 --- a/qtjava/javalib/qtjava/QHButtonGroup.cpp +++ /dev/null @@ -1,501 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQHButtonGroupJBridge : public TQHButtonGroup -{ -public: - TQHButtonGroupJBridge(TQWidget* arg1,const char* arg2) : TQHButtonGroup(arg1,arg2) {}; - TQHButtonGroupJBridge(TQWidget* arg1) : TQHButtonGroup(arg1) {}; - TQHButtonGroupJBridge() : TQHButtonGroup() {}; - TQHButtonGroupJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQHButtonGroup(arg1,arg2,arg3) {}; - TQHButtonGroupJBridge(const TQString& arg1,TQWidget* arg2) : TQHButtonGroup(arg1,arg2) {}; - TQHButtonGroupJBridge(const TQString& arg1) : TQHButtonGroup(arg1) {}; - ~TQHButtonGroupJBridge() {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.qt.TQHButtonGroup","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.qt.TQHButtonGroup","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.qt.TQHButtonGroup","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.qt.TQHButtonGroup","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.qt.TQHButtonGroup","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.qt.TQHButtonGroup","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHButtonGroup","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.qt.TQHButtonGroup","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHButtonGroup","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.qt.TQHButtonGroup","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.qt.TQHButtonGroup",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.qt.TQHButtonGroup","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHButtonGroup","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QHButtonGroup_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQHButtonGroup*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHButtonGroup_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QHButtonGroup_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHButtonGroup_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQHButtonGroup*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQHButtonGroup*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QHButtonGroup_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QHButtonGroup_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQHButtonGroup*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHButtonGroup_newTQHButtonGroup__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHButtonGroupJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHButtonGroup_newTQHButtonGroup__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 TQHButtonGroupJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHButtonGroup_newTQHButtonGroup__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 TQHButtonGroupJBridge((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_qt_QHButtonGroup_newTQHButtonGroup__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 TQHButtonGroupJBridge((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_qt_QHButtonGroup_newTQHButtonGroup__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHButtonGroupJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHButtonGroup_newTQHButtonGroup__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 TQHButtonGroupJBridge((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_qt_QHButtonGroup_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQHButtonGroupJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QHButtonGroup_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQHButtonGroupJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QHButtonGroup.h b/qtjava/javalib/qtjava/QHButtonGroup.h deleted file mode 100644 index c255883c..00000000 --- a/qtjava/javalib/qtjava/QHButtonGroup.h +++ /dev/null @@ -1,31 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QHButtonGroup__ -#define __org_kde_qt_QHButtonGroup__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QHButtonGroup_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHButtonGroup_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHButtonGroup_newTQHButtonGroup__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHButtonGroup_newTQHButtonGroup__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHButtonGroup_newTQHButtonGroup__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHButtonGroup_newTQHButtonGroup__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHButtonGroup_newTQHButtonGroup__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHButtonGroup_newTQHButtonGroup__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHButtonGroup_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHButtonGroup_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHButtonGroup_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHButtonGroup_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHButtonGroup_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QHButtonGroup__ */ diff --git a/qtjava/javalib/qtjava/QHGroupBox.cpp b/qtjava/javalib/qtjava/QHGroupBox.cpp deleted file mode 100644 index 18fdf458..00000000 --- a/qtjava/javalib/qtjava/QHGroupBox.cpp +++ /dev/null @@ -1,501 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQHGroupBoxJBridge : public TQHGroupBox -{ -public: - TQHGroupBoxJBridge(TQWidget* arg1,const char* arg2) : TQHGroupBox(arg1,arg2) {}; - TQHGroupBoxJBridge(TQWidget* arg1) : TQHGroupBox(arg1) {}; - TQHGroupBoxJBridge() : TQHGroupBox() {}; - TQHGroupBoxJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQHGroupBox(arg1,arg2,arg3) {}; - TQHGroupBoxJBridge(const TQString& arg1,TQWidget* arg2) : TQHGroupBox(arg1,arg2) {}; - TQHGroupBoxJBridge(const TQString& arg1) : TQHGroupBox(arg1) {}; - ~TQHGroupBoxJBridge() {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.qt.TQHGroupBox","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.qt.TQHGroupBox","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.qt.TQHGroupBox","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.qt.TQHGroupBox","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.qt.TQHGroupBox","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.qt.TQHGroupBox","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHGroupBox","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.qt.TQHGroupBox","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHGroupBox","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.qt.TQHGroupBox","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.qt.TQHGroupBox",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.qt.TQHGroupBox","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHGroupBox","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QHGroupBox_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQHGroupBox*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHGroupBox_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QHGroupBox_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHGroupBox_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQHGroupBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQHGroupBox*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QHGroupBox_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QHGroupBox_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQHGroupBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHGroupBox_newTQHGroupBox__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHGroupBoxJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHGroupBox_newTQHGroupBox__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 TQHGroupBoxJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHGroupBox_newTQHGroupBox__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 TQHGroupBoxJBridge((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_qt_QHGroupBox_newTQHGroupBox__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 TQHGroupBoxJBridge((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_qt_QHGroupBox_newTQHGroupBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHGroupBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHGroupBox_newTQHGroupBox__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 TQHGroupBoxJBridge((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_qt_QHGroupBox_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQHGroupBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QHGroupBox_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQHGroupBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QHGroupBox.h b/qtjava/javalib/qtjava/QHGroupBox.h deleted file mode 100644 index 90176eb4..00000000 --- a/qtjava/javalib/qtjava/QHGroupBox.h +++ /dev/null @@ -1,31 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QHGroupBox__ -#define __org_kde_qt_QHGroupBox__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QHGroupBox_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHGroupBox_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHGroupBox_newTQHGroupBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHGroupBox_newTQHGroupBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHGroupBox_newTQHGroupBox__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHGroupBox_newTQHGroupBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHGroupBox_newTQHGroupBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHGroupBox_newTQHGroupBox__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHGroupBox_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHGroupBox_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHGroupBox_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHGroupBox_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHGroupBox_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QHGroupBox__ */ diff --git a/qtjava/javalib/qtjava/QHeader.cpp b/qtjava/javalib/qtjava/QHeader.cpp deleted file mode 100644 index 3de82560..00000000 --- a/qtjava/javalib/qtjava/QHeader.cpp +++ /dev/null @@ -1,1028 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQHeaderJBridge : public TQHeader -{ -public: - TQHeaderJBridge(TQWidget* arg1,const char* arg2) : TQHeader(arg1,arg2) {}; - TQHeaderJBridge(TQWidget* arg1) : TQHeader(arg1) {}; - TQHeaderJBridge() : TQHeader() {}; - TQHeaderJBridge(int arg1,TQWidget* arg2,const char* arg3) : TQHeader(arg1,arg2,arg3) {}; - TQHeaderJBridge(int arg1,TQWidget* arg2) : TQHeader(arg1,arg2) {}; - TQHeaderJBridge(int arg1) : TQHeader(arg1) {}; - void protected_paintEvent(TQPaintEvent* arg1) { - TQHeader::paintEvent(arg1); - return; - } - void protected_showEvent(TQShowEvent* arg1) { - TQHeader::showEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQHeader::resizeEvent(arg1); - return; - } - TQRect protected_sRect(int arg1) { - return (TQRect) TQHeader::sRect(arg1); - } - void protected_paintSection(TQPainter* arg1,int arg2,const TQRect& arg3) { - TQHeader::paintSection(arg1,arg2,arg3); - return; - } - void protected_paintSectionLabel(TQPainter* arg1,int arg2,const TQRect& arg3) { - TQHeader::paintSectionLabel(arg1,arg2,arg3); - return; - } - void protected_fontChange(const TQFont& arg1) { - TQHeader::fontChange(arg1); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TQHeader::mousePressEvent(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - TQHeader::mouseReleaseEvent(arg1); - return; - } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - TQHeader::mouseMoveEvent(arg1); - return; - } - void protected_mouseDoubleClickEvent(TQMouseEvent* arg1) { - TQHeader::mouseDoubleClickEvent(arg1); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQHeader::keyPressEvent(arg1); - return; - } - void protected_keyReleaseEvent(TQKeyEvent* arg1) { - TQHeader::keyReleaseEvent(arg1); - return; - } - ~TQHeaderJBridge() {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")) { - TQHeader::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQHeader::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.qt.TQHeader","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.qt.TQHeader","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.qt.TQHeader","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.qt.TQHeader","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")) { - TQHeader::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.qt.TQHeader","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.qt.TQHeader","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHeader","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")) { - TQHeader::showEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQHeader::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")) { - TQHeader::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.qt.TQHeader","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHeader","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")) { - TQHeader::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQHeader::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.qt.TQHeader","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")) { - TQHeader::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.qt.TQHeader",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.qt.TQHeader","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHeader_addLabel__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->addLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHeader_addLabel__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring arg1, jint size) -{ -static TQString* _qstring_arg1 = 0; - jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->addLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (int) size); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHeader_addLabel__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->addLabel((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHeader_addLabel__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject arg1, jstring arg2, jint size) -{ -static TQString* _qstring_arg2 = 0; - jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->addLabel((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (int) size); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_adjustHeaderSize(JNIEnv* env, jobject obj) -{ - ((TQHeader*) QtSupport::getQt(env, obj))->adjustHeaderSize(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHeader_cellAt(JNIEnv* env, jobject obj, jint pos) -{ - jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->cellAt((int) pos); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHeader_cellPos(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->cellPos((int) arg1); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHeader_cellSize(JNIEnv* env, jobject obj, jint i) -{ - jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->cellSize((int) i); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QHeader_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQHeader*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHeader_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QHeader_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQHeader*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQHeader*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_fontChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHeader_headerWidth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->headerWidth(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QHeader_iconSet(JNIEnv* env, jobject obj, jint section) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQHeader*) QtSupport::getQt(env, obj))->iconSet((int) section), "org.kde.qt.TQIconSet"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QHeader_isClickEnabled__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQHeader*) QtSupport::getQt(env, obj))->isClickEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QHeader_isClickEnabled__I(JNIEnv* env, jobject obj, jint section) -{ - jboolean xret = (jboolean) ((TQHeader*) QtSupport::getQt(env, obj))->isClickEnabled((int) section); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QHeader_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QHeader_isMovingEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQHeader*) QtSupport::getQt(env, obj))->isMovingEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QHeader_isResizeEnabled__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQHeader*) QtSupport::getQt(env, obj))->isResizeEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QHeader_isResizeEnabled__I(JNIEnv* env, jobject obj, jint section) -{ - jboolean xret = (jboolean) ((TQHeader*) QtSupport::getQt(env, obj))->isResizeEnabled((int) section); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QHeader_isStretchEnabled__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQHeader*) QtSupport::getQt(env, obj))->isStretchEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QHeader_isStretchEnabled__I(JNIEnv* env, jobject obj, jint section) -{ - jboolean xret = (jboolean) ((TQHeader*) QtSupport::getQt(env, obj))->isStretchEnabled((int) section); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_keyReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_keyReleaseEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QHeader_label(JNIEnv* env, jobject obj, jint section) -{ - TQString _qstring; - _qstring = ((TQHeader*) QtSupport::getQt(env, obj))->label((int) section); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHeader_mapToActual(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->mapToActual((int) arg1); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHeader_mapToIndex(JNIEnv* env, jobject obj, jint section) -{ - jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->mapToIndex((int) section); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHeader_mapToLogical(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->mapToLogical((int) arg1); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHeader_mapToSection(JNIEnv* env, jobject obj, jint index) -{ - jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->mapToSection((int) index); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QHeader_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQHeader*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_mouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_moveCell(JNIEnv* env, jobject obj, jint arg1, jint arg2) -{ - ((TQHeader*) QtSupport::getQt(env, obj))->moveCell((int) arg1, (int) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_moveSection(JNIEnv* env, jobject obj, jint section, jint toIndex) -{ - ((TQHeader*) QtSupport::getQt(env, obj))->moveSection((int) section, (int) toIndex); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_newTQHeader__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHeaderJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_newTQHeader__I(JNIEnv* env, jobject obj, jint arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHeaderJBridge((int) arg1)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_newTQHeader__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint arg1, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHeaderJBridge((int) arg1, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_newTQHeader__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint arg1, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHeaderJBridge((int) arg1, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_newTQHeader__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHeaderJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_newTQHeader__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 TQHeaderJBridge((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_qt_QHeader_offset(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->offset(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHeader_orientation(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->orientation(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_paintEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_paintSectionLabel(JNIEnv* env, jobject obj, jobject p, jint index, jobject fr) -{ - ((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_paintSectionLabel((TQPainter*) QtSupport::getQt(env, p), (int) index, (const TQRect&)*(const TQRect*) QtSupport::getQt(env, fr)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_paintSection(JNIEnv* env, jobject obj, jobject p, jint index, jobject fr) -{ - ((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_paintSection((TQPainter*) QtSupport::getQt(env, p), (int) index, (const TQRect&)*(const TQRect*) QtSupport::getQt(env, fr)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_removeLabel(JNIEnv* env, jobject obj, jint section) -{ - ((TQHeader*) QtSupport::getQt(env, obj))->removeLabel((int) section); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_resizeEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_resizeSection(JNIEnv* env, jobject obj, jint section, jint s) -{ - ((TQHeader*) QtSupport::getQt(env, obj))->resizeSection((int) section, (int) s); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QHeader_sRect(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_sRect((int) index)), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHeader_sectionAt(JNIEnv* env, jobject obj, jint pos) -{ - jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->sectionAt((int) pos); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHeader_sectionPos(JNIEnv* env, jobject obj, jint section) -{ - jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->sectionPos((int) section); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QHeader_sectionRect(JNIEnv* env, jobject obj, jint section) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQHeader*) QtSupport::getQt(env, obj))->sectionRect((int) section)), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHeader_sectionSize(JNIEnv* env, jobject obj, jint section) -{ - jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->sectionSize((int) section); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_setCellSize(JNIEnv* env, jobject obj, jint arg1, jint arg2) -{ - ((TQHeader*) QtSupport::getQt(env, obj))->setCellSize((int) arg1, (int) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_setClickEnabled__Z(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQHeader*) QtSupport::getQt(env, obj))->setClickEnabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_setClickEnabled__ZI(JNIEnv* env, jobject obj, jboolean arg1, jint section) -{ - ((TQHeader*) QtSupport::getQt(env, obj))->setClickEnabled((bool) arg1, (int) section); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_setLabel__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint arg1, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - ((TQHeader*) QtSupport::getQt(env, obj))->setLabel((int) arg1, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_setLabel__ILjava_lang_String_2I(JNIEnv* env, jobject obj, jint arg1, jstring arg2, jint size) -{ -static TQString* _qstring_arg2 = 0; - ((TQHeader*) QtSupport::getQt(env, obj))->setLabel((int) arg1, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (int) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_setLabel__ILorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint arg1, jobject arg2, jstring arg3) -{ -static TQString* _qstring_arg3 = 0; - ((TQHeader*) QtSupport::getQt(env, obj))->setLabel((int) arg1, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, arg2), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_setLabel__ILorg_kde_qt_QIconSet_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jint arg1, jobject arg2, jstring arg3, jint size) -{ -static TQString* _qstring_arg3 = 0; - ((TQHeader*) QtSupport::getQt(env, obj))->setLabel((int) arg1, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, arg2), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (int) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_setMovingEnabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQHeader*) QtSupport::getQt(env, obj))->setMovingEnabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_setOffset(JNIEnv* env, jobject obj, jint pos) -{ - ((TQHeader*) QtSupport::getQt(env, obj))->setOffset((int) pos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_setOrientation(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQHeader*) QtSupport::getQt(env, obj))->setOrientation((TQt::Orientation) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_setResizeEnabled__Z(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQHeader*) QtSupport::getQt(env, obj))->setResizeEnabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_setResizeEnabled__ZI(JNIEnv* env, jobject obj, jboolean arg1, jint section) -{ - ((TQHeader*) QtSupport::getQt(env, obj))->setResizeEnabled((bool) arg1, (int) section); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_setSortIndicator__I(JNIEnv* env, jobject obj, jint section) -{ - ((TQHeader*) QtSupport::getQt(env, obj))->setSortIndicator((int) section); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_setSortIndicator__II(JNIEnv* env, jobject obj, jint section, jint order) -{ - ((TQHeader*) QtSupport::getQt(env, obj))->setSortIndicator((int) section, (TQt::SortOrder) order); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_setSortIndicator__IZ(JNIEnv* env, jobject obj, jint section, jboolean ascending) -{ - ((TQHeader*) QtSupport::getQt(env, obj))->setSortIndicator((int) section, (bool) ascending); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_setStretchEnabled__Z(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQHeader*) QtSupport::getQt(env, obj))->setStretchEnabled((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_setStretchEnabled__ZI(JNIEnv* env, jobject obj, jboolean b, jint section) -{ - ((TQHeader*) QtSupport::getQt(env, obj))->setStretchEnabled((bool) b, (int) section); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_setTracking(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQHeader*) QtSupport::getQt(env, obj))->setTracking((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_setUpdatesEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQHeader*) QtSupport::getQt(env, obj))->setUpdatesEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_showEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QHeader_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQHeader*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHeader_sortIndicatorOrder(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->sortIndicatorOrder(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHeader_sortIndicatorSection(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->sortIndicatorSection(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QHeader_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQHeaderJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QHeader_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQHeaderJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QHeader_tracking(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQHeader*) QtSupport::getQt(env, obj))->tracking(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QHeader.h b/qtjava/javalib/qtjava/QHeader.h deleted file mode 100644 index 383cce7d..00000000 --- a/qtjava/javalib/qtjava/QHeader.h +++ /dev/null @@ -1,100 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QHeader__ -#define __org_kde_qt_QHeader__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QHeader_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHeader_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_newTQHeader__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_newTQHeader__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_newTQHeader__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_newTQHeader__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_newTQHeader__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_newTQHeader__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_addLabel__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_addLabel__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_addLabel__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_addLabel__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_removeLabel (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setLabel__ILjava_lang_String_2I (JNIEnv *env, jobject, jint, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setLabel__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setLabel__ILorg_kde_qt_QIconSet_2Ljava_lang_String_2I (JNIEnv *env, jobject, jint, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setLabel__ILorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHeader_label (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QHeader_iconSet (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setOrientation (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_orientation (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setTracking (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHeader_tracking (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setClickEnabled__ZI (JNIEnv *env, jobject, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setClickEnabled__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setResizeEnabled__ZI (JNIEnv *env, jobject, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setResizeEnabled__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setMovingEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setStretchEnabled__ZI (JNIEnv *env, jobject, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setStretchEnabled__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHeader_isClickEnabled__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHeader_isClickEnabled__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHeader_isResizeEnabled__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHeader_isResizeEnabled__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHeader_isMovingEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHeader_isStretchEnabled__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHeader_isStretchEnabled__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_resizeSection (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_sectionSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_sectionPos (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_sectionAt (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_count (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_headerWidth (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QHeader_sectionRect (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setCellSize (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_cellSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_cellPos (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_cellAt (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_offset (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QHeader_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_mapToSection (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_mapToIndex (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_mapToLogical (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_mapToActual (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_moveSection (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_moveCell (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setSortIndicator__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setSortIndicator__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setSortIndicator__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_sortIndicatorSection (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_sortIndicatorOrder (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_adjustHeaderSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setUpdatesEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setOffset (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHeader_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHeader_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_showEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QHeader_sRect (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_paintSection (JNIEnv *env, jobject, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_paintSectionLabel (JNIEnv *env, jobject, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_fontChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_mouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_mouseDoubleClickEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_keyReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHeader_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QHeader__ */ diff --git a/qtjava/javalib/qtjava/QHebrewCodec.cpp b/qtjava/javalib/qtjava/QHebrewCodec.cpp deleted file mode 100644 index 55bce54d..00000000 --- a/qtjava/javalib/qtjava/QHebrewCodec.cpp +++ /dev/null @@ -1,99 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQHebrewCodecJBridge : public TQHebrewCodec -{ -public: - TQHebrewCodecJBridge() : TQHebrewCodec() {}; - ~TQHebrewCodecJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHebrewCodec_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QHebrewCodec_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHebrewCodec_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQHebrewCodec*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QHebrewCodec_fromUnicode(JNIEnv* env, jobject obj, jstring uc, jintArray lenInOut) -{ - TQCString _qstring; -static TQString* _qstring_uc = 0; - int* _int_lenInOut = QtSupport::toIntPtr(env, lenInOut); - _qstring = ((TQHebrewCodec*) QtSupport::getQt(env, obj))->fromUnicode((const TQString&)*(TQString*) QtSupport::toTQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); - env->SetIntArrayRegion(lenInOut, 0, 1, (jint *) _int_lenInOut); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHebrewCodec_heuristicContentMatch(JNIEnv* env, jobject obj, jstring chars, jint len) -{ -static TQCString* _qstring_chars = 0; - jint xret = (jint) ((TQHebrewCodec*) QtSupport::getQt(env, obj))->heuristicContentMatch((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QHebrewCodec_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHebrewCodec_mibEnum(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQHebrewCodec*) QtSupport::getQt(env, obj))->mibEnum(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QHebrewCodec_mimeName(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQHebrewCodec*) QtSupport::getQt(env, obj))->mimeName(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QHebrewCodec_name(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQHebrewCodec*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHebrewCodec_newTQHebrewCodec(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHebrewCodecJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QHebrewCodec_toUnicode(JNIEnv* env, jobject obj, jstring chars, jint len) -{ - TQString _qstring; -static TQCString* _qstring_chars = 0; - _qstring = ((TQHebrewCodec*) QtSupport::getQt(env, obj))->toUnicode((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QHebrewCodec.h b/qtjava/javalib/qtjava/QHebrewCodec.h deleted file mode 100644 index 22e56f0d..00000000 --- a/qtjava/javalib/qtjava/QHebrewCodec.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QHebrewCodec__ -#define __org_kde_qt_QHebrewCodec__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHebrewCodec_mibEnum (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHebrewCodec_name (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHebrewCodec_mimeName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHebrewCodec_fromUnicode (JNIEnv *env, jobject, jstring, jintArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHebrewCodec_toUnicode (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHebrewCodec_heuristicContentMatch (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHebrewCodec_newTQHebrewCodec (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHebrewCodec_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHebrewCodec_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHebrewCodec_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QHebrewCodec__ */ diff --git a/qtjava/javalib/qtjava/QHideEvent.cpp b/qtjava/javalib/qtjava/QHideEvent.cpp deleted file mode 100644 index fb50a566..00000000 --- a/qtjava/javalib/qtjava/QHideEvent.cpp +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - -class TQHideEventJBridge : public TQHideEvent -{ -public: - TQHideEventJBridge() : TQHideEvent() {}; - ~TQHideEventJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHideEvent_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QHideEvent_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHideEvent_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQHideEvent*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QHideEvent_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHideEvent_newTQHideEvent(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHideEventJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/qtjava/javalib/qtjava/QHideEvent.h b/qtjava/javalib/qtjava/QHideEvent.h deleted file mode 100644 index ccfeb444..00000000 --- a/qtjava/javalib/qtjava/QHideEvent.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QHideEvent__ -#define __org_kde_qt_QHideEvent__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHideEvent_newTQHideEvent (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHideEvent_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHideEvent_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHideEvent_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QHideEvent__ */ diff --git a/qtjava/javalib/qtjava/QHostAddress.cpp b/qtjava/javalib/qtjava/QHostAddress.cpp deleted file mode 100644 index ed928e32..00000000 --- a/qtjava/javalib/qtjava/QHostAddress.cpp +++ /dev/null @@ -1,172 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQHostAddressJBridge : public TQHostAddress -{ -public: - TQHostAddressJBridge() : TQHostAddress() {}; - TQHostAddressJBridge(Q_UINT32 arg1) : TQHostAddress(arg1) {}; - TQHostAddressJBridge(Q_UINT8* arg1) : TQHostAddress(arg1) {}; - TQHostAddressJBridge(const TQString& arg1) : TQHostAddress(arg1) {}; - TQHostAddressJBridge(const TQHostAddress& arg1) : TQHostAddress(arg1) {}; - ~TQHostAddressJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHostAddress_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QHostAddress_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHostAddress_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQHostAddress*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHostAddress_ip4Addr(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQHostAddress*) QtSupport::getQt(env, obj))->ip4Addr(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QHostAddress_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QHostAddress_isIPv4Address(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQHostAddress*) QtSupport::getQt(env, obj))->isIPv4Address(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QHostAddress_isIPv6Address(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQHostAddress*) QtSupport::getQt(env, obj))->isIPv6Address(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QHostAddress_isIp4Addr(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQHostAddress*) QtSupport::getQt(env, obj))->isIp4Addr(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QHostAddress_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQHostAddress*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHostAddress_newTQHostAddress__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHostAddressJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHostAddress_newTQHostAddress__I(JNIEnv* env, jobject obj, jint ip4Addr) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHostAddressJBridge((Q_UINT32) ip4Addr)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHostAddress_newTQHostAddress__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring address) -{ -static TQString* _qstring_address = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHostAddressJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, address, &_qstring_address))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHostAddress_newTQHostAddress__Lorg_kde_qt_QHostAddress_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHostAddressJBridge((const TQHostAddress&)*(const TQHostAddress*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHostAddress_newTQHostAddress__S(JNIEnv* env, jobject obj, jshort ip6Addr) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHostAddressJBridge((Q_UINT8*) ip6Addr)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QHostAddress_op_1equals(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQHostAddress*) QtSupport::getQt(env, obj))->operator==((const TQHostAddress&)*(const TQHostAddress*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHostAddress_setAddress__I(JNIEnv* env, jobject obj, jint ip4Addr) -{ - ((TQHostAddress*) QtSupport::getQt(env, obj))->setAddress((Q_UINT32) ip4Addr); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QHostAddress_setAddress__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring address) -{ -static TQString* _qstring_address = 0; - jboolean xret = (jboolean) ((TQHostAddress*) QtSupport::getQt(env, obj))->setAddress((const TQString&)*(TQString*) QtSupport::toTQString(env, address, &_qstring_address)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHostAddress_setAddress__S(JNIEnv* env, jobject obj, jshort ip6Addr) -{ - ((TQHostAddress*) QtSupport::getQt(env, obj))->setAddress((Q_UINT8*) ip6Addr); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHostAddress_toIPv4Address(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQHostAddress*) QtSupport::getQt(env, obj))->toIPv4Address(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QHostAddress_toString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQHostAddress*) QtSupport::getQt(env, obj))->toString(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QHostAddress.h b/qtjava/javalib/qtjava/QHostAddress.h deleted file mode 100644 index 3752497c..00000000 --- a/qtjava/javalib/qtjava/QHostAddress.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QHostAddress__ -#define __org_kde_qt_QHostAddress__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHostAddress_newTQHostAddress__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHostAddress_newTQHostAddress__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHostAddress_newTQHostAddress__S (JNIEnv *env, jobject, jshort); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHostAddress_newTQHostAddress__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHostAddress_newTQHostAddress__Lorg_kde_qt_QHostAddress_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHostAddress_setAddress__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHostAddress_setAddress__S (JNIEnv *env, jobject, jshort); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHostAddress_setAddress__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHostAddress_isIp4Addr (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHostAddress_ip4Addr (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHostAddress_isIPv4Address (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHostAddress_toIPv4Address (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHostAddress_isIPv6Address (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHostAddress_toString (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHostAddress_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHostAddress_isNull (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHostAddress_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHostAddress_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHostAddress_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QHostAddress__ */ diff --git a/qtjava/javalib/qtjava/QHttp.cpp b/qtjava/javalib/qtjava/QHttp.cpp deleted file mode 100644 index 8530e508..00000000 --- a/qtjava/javalib/qtjava/QHttp.cpp +++ /dev/null @@ -1,509 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -class TQHttpJBridge : public TQHttp -{ -public: - TQHttpJBridge() : TQHttp() {}; - TQHttpJBridge(TQObject* arg1,const char* arg2) : TQHttp(arg1,arg2) {}; - TQHttpJBridge(TQObject* arg1) : TQHttp(arg1) {}; - TQHttpJBridge(const TQString& arg1,Q_UINT16 arg2,TQObject* arg3,const char* arg4) : TQHttp(arg1,arg2,arg3,arg4) {}; - TQHttpJBridge(const TQString& arg1,Q_UINT16 arg2,TQObject* arg3) : TQHttp(arg1,arg2,arg3) {}; - TQHttpJBridge(const TQString& arg1,Q_UINT16 arg2) : TQHttp(arg1,arg2) {}; - TQHttpJBridge(const TQString& arg1) : TQHttp(arg1) {}; - void protected_operationGet(TQNetworkOperation* arg1) { - TQHttp::operationGet(arg1); - return; - } - void protected_operationPut(TQNetworkOperation* arg1) { - TQHttp::operationPut(arg1); - return; - } - void protected_timerEvent(TQTimerEvent* arg1) { - TQHttp::timerEvent(arg1); - return; - } - ~TQHttpJBridge() {QtSupport::qtKeyDeleted(this);} - void operationRename(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationRename",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::operationRename(arg1); - } - return; - } - void operationPutChunk(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationPutChunk",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::operationPutChunk(arg1); - } - return; - } - void processOperation(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"processOperation",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::processOperation(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void operationListChildren(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationListChildren",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::operationListChildren(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void operationRemove(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationRemove",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::operationRemove(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQHttp::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void addOperation(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"addOperation",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::addOperation(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void clearOperationQueue() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHttp","clearOperationQueue")) { - TQNetworkProtocol::clearOperationQueue(); - } - return; - } - void operationMkDir(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationMkDir",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::operationMkDir(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQHttp",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void stop() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHttp","stop")) { - TQNetworkProtocol::stop(); - } - return; - } - void setUrl(TQUrlOperator* arg1) { - if (!QtSupport::eventDelegate(this,"setUrl",(void*)arg1,"org.kde.qt.TQUrlOperator")) { - TQNetworkProtocol::setUrl(arg1); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHttp_abort(JNIEnv* env, jobject obj) -{ - ((TQHttp*) QtSupport::getQt(env, obj))->abort(); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QHttp_bytesAvailable(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((TQHttp*) QtSupport::getQt(env, obj))->bytesAvailable(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QHttp_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQHttp*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHttp_clearPendingRequests(JNIEnv* env, jobject obj) -{ - ((TQHttp*) QtSupport::getQt(env, obj))->clearPendingRequests(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHttp_closeConnection(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->closeConnection(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QHttp_currentDestinationDevice(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQHttp*) QtSupport::getQt(env, obj))->currentDestinationDevice(), "org.kde.qt.TQIODeviceInterface"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHttp_currentId(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->currentId(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QHttp_currentRequest(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQHttpRequestHeader(((TQHttp*) QtSupport::getQt(env, obj))->currentRequest()), "org.kde.qt.TQHttpRequestHeader", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QHttp_currentSourceDevice(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQHttp*) QtSupport::getQt(env, obj))->currentSourceDevice(), "org.kde.qt.TQIODeviceInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHttp_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QHttp_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QHttp_errorString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQHttp*) QtSupport::getQt(env, obj))->errorString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHttp_error(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->error(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHttp_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQHttp*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQHttp*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHttp_get__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring path) -{ -static TQString* _qstring_path = 0; - jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->get((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHttp_get__Ljava_lang_String_2Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jstring path, jobject to) -{ -static TQString* _qstring_path = 0; - jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->get((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (TQIODevice*) QtSupport::getQt(env, to)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QHttp_hasPendingRequests(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQHttp*) QtSupport::getQt(env, obj))->hasPendingRequests(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHttp_head(JNIEnv* env, jobject obj, jstring path) -{ -static TQString* _qstring_path = 0; - jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->head((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QHttp_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QHttp_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQHttp*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHttp_newTQHttp__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHttpJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHttp_newTQHttp__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname) -{ -static TQString* _qstring_hostname = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHttpJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHttp_newTQHttp__Ljava_lang_String_2S(JNIEnv* env, jobject obj, jstring hostname, jshort port) -{ -static TQString* _qstring_hostname = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHttpJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname), (Q_UINT16) port)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHttp_newTQHttp__Ljava_lang_String_2SLorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring hostname, jshort port, jobject parent) -{ -static TQString* _qstring_hostname = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHttpJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname), (Q_UINT16) port, (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHttp_newTQHttp__Ljava_lang_String_2SLorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname, jshort port, jobject parent, jstring name) -{ -static TQString* _qstring_hostname = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHttpJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname), (Q_UINT16) port, (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_qt_QHttp_newTQHttp__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHttpJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHttp_newTQHttp__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 TQHttpJBridge((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_qt_QHttp_operationGet(JNIEnv* env, jobject obj, jobject op) -{ - ((TQHttpJBridge*) QtSupport::getQt(env, obj))->protected_operationGet((TQNetworkOperation*) QtSupport::getQt(env, op)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHttp_operationPut(JNIEnv* env, jobject obj, jobject op) -{ - ((TQHttpJBridge*) QtSupport::getQt(env, obj))->protected_operationPut((TQNetworkOperation*) QtSupport::getQt(env, op)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHttp_post__Ljava_lang_String_2Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jstring path, jobject data) -{ -static TQString* _qstring_path = 0; - jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->post((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (TQIODevice*) QtSupport::getQt(env, data)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHttp_post__Ljava_lang_String_2Lorg_kde_qt_QIODeviceInterface_2Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jstring path, jobject data, jobject to) -{ -static TQString* _qstring_path = 0; - jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->post((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (TQIODevice*) QtSupport::getQt(env, data), (TQIODevice*) QtSupport::getQt(env, to)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHttp_post__Ljava_lang_String_2_3B(JNIEnv* env, jobject obj, jstring path, jbyteArray data) -{ -static TQString* _qstring_path = 0; -static TQByteArray* _qbyteArray_data = 0; - jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->post((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHttp_post__Ljava_lang_String_2_3BLorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jstring path, jbyteArray data, jobject to) -{ -static TQString* _qstring_path = 0; -static TQByteArray* _qbyteArray_data = 0; - jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->post((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQIODevice*) QtSupport::getQt(env, to)); - return xret; -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_qt_QHttp_readAll(JNIEnv* env, jobject obj) -{ - TQByteArray _qbyteArray; - _qbyteArray = ((TQHttp*) QtSupport::getQt(env, obj))->readAll(); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QHttp_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) ((TQHttp*) QtSupport::getQt(env, obj))->readBlock((char*) _qstring_data->data(), (Q_ULONG) maxlen); - QtSupport::fromTQCStringToStringBuffer(env, _qstring_data, data); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHttp_request__Lorg_kde_qt_QHttpRequestHeader_2(JNIEnv* env, jobject obj, jobject header) -{ - jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->request((const TQHttpRequestHeader&)*(const TQHttpRequestHeader*) QtSupport::getQt(env, header)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHttp_request__Lorg_kde_qt_QHttpRequestHeader_2Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject header, jobject device) -{ - jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->request((const TQHttpRequestHeader&)*(const TQHttpRequestHeader*) QtSupport::getQt(env, header), (TQIODevice*) QtSupport::getQt(env, device)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHttp_request__Lorg_kde_qt_QHttpRequestHeader_2Lorg_kde_qt_QIODeviceInterface_2Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject header, jobject device, jobject to) -{ - jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->request((const TQHttpRequestHeader&)*(const TQHttpRequestHeader*) QtSupport::getQt(env, header), (TQIODevice*) QtSupport::getQt(env, device), (TQIODevice*) QtSupport::getQt(env, to)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHttp_request__Lorg_kde_qt_QHttpRequestHeader_2_3B(JNIEnv* env, jobject obj, jobject header, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->request((const TQHttpRequestHeader&)*(const TQHttpRequestHeader*) QtSupport::getQt(env, header), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHttp_request__Lorg_kde_qt_QHttpRequestHeader_2_3BLorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject header, jbyteArray data, jobject to) -{ -static TQByteArray* _qbyteArray_data = 0; - jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->request((const TQHttpRequestHeader&)*(const TQHttpRequestHeader*) QtSupport::getQt(env, header), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQIODevice*) QtSupport::getQt(env, to)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHttp_setHost__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname) -{ -static TQString* _qstring_hostname = 0; - jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->setHost((const TQString&)*(TQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHttp_setHost__Ljava_lang_String_2S(JNIEnv* env, jobject obj, jstring hostname, jshort port) -{ -static TQString* _qstring_hostname = 0; - jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->setHost((const TQString&)*(TQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname), (Q_UINT16) port); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHttp_state(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->state(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHttp_supportedOperations(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->supportedOperations(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHttp_timerEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQHttpJBridge*) QtSupport::getQt(env, obj))->protected_timerEvent((TQTimerEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QHttp_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQHttpJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QHttp_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQHttpJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QHttp.h b/qtjava/javalib/qtjava/QHttp.h deleted file mode 100644 index ab475917..00000000 --- a/qtjava/javalib/qtjava/QHttp.h +++ /dev/null @@ -1,64 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QHttp__ -#define __org_kde_qt_QHttp__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QHttp_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHttp_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttp_newTQHttp__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttp_newTQHttp__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttp_newTQHttp__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttp_newTQHttp__Ljava_lang_String_2SLorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jshort, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttp_newTQHttp__Ljava_lang_String_2SLorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jshort, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttp_newTQHttp__Ljava_lang_String_2S (JNIEnv *env, jobject, jstring, jshort); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttp_newTQHttp__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_supportedOperations (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_setHost__Ljava_lang_String_2S (JNIEnv *env, jobject, jstring, jshort); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_setHost__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_get__Ljava_lang_String_2Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_get__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_post__Ljava_lang_String_2Lorg_kde_qt_QIODeviceInterface_2Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_post__Ljava_lang_String_2Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_post__Ljava_lang_String_2_3BLorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jstring, jbyteArray, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_post__Ljava_lang_String_2_3B (JNIEnv *env, jobject, jstring, jbyteArray); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_head (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_request__Lorg_kde_qt_QHttpRequestHeader_2Lorg_kde_qt_QIODeviceInterface_2Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_request__Lorg_kde_qt_QHttpRequestHeader_2Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_request__Lorg_kde_qt_QHttpRequestHeader_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_request__Lorg_kde_qt_QHttpRequestHeader_2_3BLorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jobject, jbyteArray, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_request__Lorg_kde_qt_QHttpRequestHeader_2_3B (JNIEnv *env, jobject, jobject, jbyteArray); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_closeConnection (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QHttp_bytesAvailable (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QHttp_readBlock (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QHttp_readAll (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_currentId (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QHttp_currentSourceDevice (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QHttp_currentDestinationDevice (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QHttp_currentRequest (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHttp_hasPendingRequests (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttp_clearPendingRequests (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_state (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_error (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHttp_errorString (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttp_abort (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHttp_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHttp_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttp_operationGet (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttp_operationPut (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttp_timerEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttp_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttp_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHttp_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QHttp__ */ diff --git a/qtjava/javalib/qtjava/QHttpHeader.cpp b/qtjava/javalib/qtjava/QHttpHeader.cpp deleted file mode 100644 index 4a058486..00000000 --- a/qtjava/javalib/qtjava/QHttpHeader.cpp +++ /dev/null @@ -1,123 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHttpHeader_contentLength(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQHttpHeader*) QtSupport::getQt(env, obj))->contentLength(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QHttpHeader_contentType(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQHttpHeader*) QtSupport::getQt(env, obj))->contentType(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QHttpHeader_hasContentLength(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQHttpHeader*) QtSupport::getQt(env, obj))->hasContentLength(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QHttpHeader_hasContentType(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQHttpHeader*) QtSupport::getQt(env, obj))->hasContentType(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QHttpHeader_hasKey(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jboolean xret = (jboolean) ((TQHttpHeader*) QtSupport::getQt(env, obj))->hasKey((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QHttpHeader_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQHttpHeader*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QHttpHeader_keys(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TQHttpHeader*) QtSupport::getQt(env, obj))->keys(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHttpHeader_majorVersion(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQHttpHeader*) QtSupport::getQt(env, obj))->majorVersion(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHttpHeader_minorVersion(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQHttpHeader*) QtSupport::getQt(env, obj))->minorVersion(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHttpHeader_removeValue(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - ((TQHttpHeader*) QtSupport::getQt(env, obj))->removeValue((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHttpHeader_setContentLength(JNIEnv* env, jobject obj, jint len) -{ - ((TQHttpHeader*) QtSupport::getQt(env, obj))->setContentLength((int) len); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHttpHeader_setContentType(JNIEnv* env, jobject obj, jstring type) -{ -static TQString* _qstring_type = 0; - ((TQHttpHeader*) QtSupport::getQt(env, obj))->setContentType((const TQString&)*(TQString*) QtSupport::toTQString(env, type, &_qstring_type)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHttpHeader_setValue(JNIEnv* env, jobject obj, jstring key, jstring value) -{ -static TQString* _qstring_key = 0; -static TQString* _qstring_value = 0; - ((TQHttpHeader*) QtSupport::getQt(env, obj))->setValue((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QHttpHeader_toString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQHttpHeader*) QtSupport::getQt(env, obj))->toString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QHttpHeader_value(JNIEnv* env, jobject obj, jstring key) -{ - TQString _qstring; -static TQString* _qstring_key = 0; - _qstring = ((TQHttpHeader*) QtSupport::getQt(env, obj))->value((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QHttpHeader.h b/qtjava/javalib/qtjava/QHttpHeader.h deleted file mode 100644 index 76117776..00000000 --- a/qtjava/javalib/qtjava/QHttpHeader.h +++ /dev/null @@ -1,33 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QHttpHeader__ -#define __org_kde_qt_QHttpHeader__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHttpHeader_value (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpHeader_setValue (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpHeader_removeValue (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QHttpHeader_keys (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHttpHeader_hasKey (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHttpHeader_hasContentLength (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttpHeader_contentLength (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpHeader_setContentLength (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHttpHeader_hasContentType (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHttpHeader_contentType (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpHeader_setContentType (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHttpHeader_toString (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHttpHeader_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttpHeader_majorVersion (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttpHeader_minorVersion (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QHttpHeader__ */ diff --git a/qtjava/javalib/qtjava/QHttpRequestHeader.cpp b/qtjava/javalib/qtjava/QHttpRequestHeader.cpp deleted file mode 100644 index e2ab3b71..00000000 --- a/qtjava/javalib/qtjava/QHttpRequestHeader.cpp +++ /dev/null @@ -1,185 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQHttpRequestHeaderJBridge : public TQHttpRequestHeader -{ -public: - TQHttpRequestHeaderJBridge() : TQHttpRequestHeader() {}; - TQHttpRequestHeaderJBridge(const TQString& arg1,const TQString& arg2,int arg3,int arg4) : TQHttpRequestHeader(arg1,arg2,arg3,arg4) {}; - TQHttpRequestHeaderJBridge(const TQString& arg1,const TQString& arg2,int arg3) : TQHttpRequestHeader(arg1,arg2,arg3) {}; - TQHttpRequestHeaderJBridge(const TQString& arg1,const TQString& arg2) : TQHttpRequestHeader(arg1,arg2) {}; - TQHttpRequestHeaderJBridge(const TQHttpRequestHeader& arg1) : TQHttpRequestHeader(arg1) {}; - TQHttpRequestHeaderJBridge(const TQString& arg1) : TQHttpRequestHeader(arg1) {}; - bool protected_parseLine(const TQString& arg1,int arg2) { - return (bool) TQHttpRequestHeader::parseLine(arg1,arg2); - } - ~TQHttpRequestHeaderJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHttpRequestHeader_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QHttpRequestHeader_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHttpRequestHeader_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQHttpRequestHeader*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QHttpRequestHeader_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHttpRequestHeader_majorVersion(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQHttpRequestHeader*) QtSupport::getQt(env, obj))->majorVersion(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QHttpRequestHeader_method(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQHttpRequestHeader*) QtSupport::getQt(env, obj))->method(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHttpRequestHeader_minorVersion(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQHttpRequestHeader*) QtSupport::getQt(env, obj))->minorVersion(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHttpRequestHeader_newTQHttpRequestHeader__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHttpRequestHeaderJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHttpRequestHeader_newTQHttpRequestHeader__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring str) -{ -static TQString* _qstring_str = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHttpRequestHeaderJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHttpRequestHeader_newTQHttpRequestHeader__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring method, jstring path) -{ -static TQString* _qstring_method = 0; -static TQString* _qstring_path = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHttpRequestHeaderJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, method, &_qstring_method), (const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHttpRequestHeader_newTQHttpRequestHeader__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring method, jstring path, jint majorVer) -{ -static TQString* _qstring_method = 0; -static TQString* _qstring_path = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHttpRequestHeaderJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, method, &_qstring_method), (const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (int) majorVer)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHttpRequestHeader_newTQHttpRequestHeader__Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring method, jstring path, jint majorVer, jint minorVer) -{ -static TQString* _qstring_method = 0; -static TQString* _qstring_path = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHttpRequestHeaderJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, method, &_qstring_method), (const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (int) majorVer, (int) minorVer)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHttpRequestHeader_newTQHttpRequestHeader__Lorg_kde_qt_QHttpRequestHeader_2(JNIEnv* env, jobject obj, jobject header) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHttpRequestHeaderJBridge((const TQHttpRequestHeader&)*(const TQHttpRequestHeader*) QtSupport::getQt(env, header))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QHttpRequestHeader_parseLine(JNIEnv* env, jobject obj, jstring line, jint number) -{ -static TQString* _qstring_line = 0; - jboolean xret = (jboolean) ((TQHttpRequestHeaderJBridge*) QtSupport::getQt(env, obj))->protected_parseLine((const TQString&)*(TQString*) QtSupport::toTQString(env, line, &_qstring_line), (int) number); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QHttpRequestHeader_path(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQHttpRequestHeader*) QtSupport::getQt(env, obj))->path(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHttpRequestHeader_setRequest__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring method, jstring path) -{ -static TQString* _qstring_method = 0; -static TQString* _qstring_path = 0; - ((TQHttpRequestHeader*) QtSupport::getQt(env, obj))->setRequest((const TQString&)*(TQString*) QtSupport::toTQString(env, method, &_qstring_method), (const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHttpRequestHeader_setRequest__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring method, jstring path, jint majorVer) -{ -static TQString* _qstring_method = 0; -static TQString* _qstring_path = 0; - ((TQHttpRequestHeader*) QtSupport::getQt(env, obj))->setRequest((const TQString&)*(TQString*) QtSupport::toTQString(env, method, &_qstring_method), (const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (int) majorVer); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHttpRequestHeader_setRequest__Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring method, jstring path, jint majorVer, jint minorVer) -{ -static TQString* _qstring_method = 0; -static TQString* _qstring_path = 0; - ((TQHttpRequestHeader*) QtSupport::getQt(env, obj))->setRequest((const TQString&)*(TQString*) QtSupport::toTQString(env, method, &_qstring_method), (const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (int) majorVer, (int) minorVer); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QHttpRequestHeader_toString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQHttpRequestHeader*) QtSupport::getQt(env, obj))->toString(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QHttpRequestHeader.h b/qtjava/javalib/qtjava/QHttpRequestHeader.h deleted file mode 100644 index dafdbd76..00000000 --- a/qtjava/javalib/qtjava/QHttpRequestHeader.h +++ /dev/null @@ -1,36 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QHttpRequestHeader__ -#define __org_kde_qt_QHttpRequestHeader__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_newTQHttpRequestHeader__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_newTQHttpRequestHeader__Ljava_lang_String_2Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_newTQHttpRequestHeader__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_newTQHttpRequestHeader__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_newTQHttpRequestHeader__Lorg_kde_qt_QHttpRequestHeader_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_newTQHttpRequestHeader__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_setRequest__Ljava_lang_String_2Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_setRequest__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_setRequest__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHttpRequestHeader_method (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHttpRequestHeader_path (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttpRequestHeader_majorVersion (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttpRequestHeader_minorVersion (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHttpRequestHeader_toString (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHttpRequestHeader_parseLine (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHttpRequestHeader_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QHttpRequestHeader__ */ diff --git a/qtjava/javalib/qtjava/QHttpResponseHeader.cpp b/qtjava/javalib/qtjava/QHttpResponseHeader.cpp deleted file mode 100644 index 12228986..00000000 --- a/qtjava/javalib/qtjava/QHttpResponseHeader.cpp +++ /dev/null @@ -1,106 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQHttpResponseHeaderJBridge : public TQHttpResponseHeader -{ -public: - TQHttpResponseHeaderJBridge() : TQHttpResponseHeader() {}; - TQHttpResponseHeaderJBridge(const TQHttpResponseHeader& arg1) : TQHttpResponseHeader(arg1) {}; - bool protected_parseLine(const TQString& arg1,int arg2) { - return (bool) TQHttpResponseHeader::parseLine(arg1,arg2); - } - ~TQHttpResponseHeaderJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHttpResponseHeader_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QHttpResponseHeader_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHttpResponseHeader_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQHttpResponseHeader*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QHttpResponseHeader_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHttpResponseHeader_majorVersion(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQHttpResponseHeader*) QtSupport::getQt(env, obj))->majorVersion(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHttpResponseHeader_minorVersion(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQHttpResponseHeader*) QtSupport::getQt(env, obj))->minorVersion(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHttpResponseHeader_newTQHttpResponseHeader__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHttpResponseHeaderJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QHttpResponseHeader_newTQHttpResponseHeader__Lorg_kde_qt_QHttpResponseHeader_2(JNIEnv* env, jobject obj, jobject header) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHttpResponseHeaderJBridge((const TQHttpResponseHeader&)*(const TQHttpResponseHeader*) QtSupport::getQt(env, header))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QHttpResponseHeader_parseLine(JNIEnv* env, jobject obj, jstring line, jint number) -{ -static TQString* _qstring_line = 0; - jboolean xret = (jboolean) ((TQHttpResponseHeaderJBridge*) QtSupport::getQt(env, obj))->protected_parseLine((const TQString&)*(TQString*) QtSupport::toTQString(env, line, &_qstring_line), (int) number); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QHttpResponseHeader_reasonPhrase(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQHttpResponseHeader*) QtSupport::getQt(env, obj))->reasonPhrase(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QHttpResponseHeader_statusCode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQHttpResponseHeader*) QtSupport::getQt(env, obj))->statusCode(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QHttpResponseHeader_toString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQHttpResponseHeader*) QtSupport::getQt(env, obj))->toString(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QHttpResponseHeader.h b/qtjava/javalib/qtjava/QHttpResponseHeader.h deleted file mode 100644 index a0e3e874..00000000 --- a/qtjava/javalib/qtjava/QHttpResponseHeader.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QHttpResponseHeader__ -#define __org_kde_qt_QHttpResponseHeader__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpResponseHeader_newTQHttpResponseHeader__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpResponseHeader_newTQHttpResponseHeader__Lorg_kde_qt_QHttpResponseHeader_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttpResponseHeader_statusCode (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHttpResponseHeader_reasonPhrase (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttpResponseHeader_majorVersion (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttpResponseHeader_minorVersion (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHttpResponseHeader_toString (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHttpResponseHeader_parseLine (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpResponseHeader_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpResponseHeader_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHttpResponseHeader_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QHttpResponseHeader__ */ diff --git a/qtjava/javalib/qtjava/QIMEvent.cpp b/qtjava/javalib/qtjava/QIMEvent.cpp deleted file mode 100644 index 314ffdfb..00000000 --- a/qtjava/javalib/qtjava/QIMEvent.cpp +++ /dev/null @@ -1,91 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQIMEventJBridge : public TQIMEvent -{ -public: - TQIMEventJBridge(TQEvent::Type arg1,const TQString& arg2,int arg3) : TQIMEvent(arg1,arg2,arg3) {}; - ~TQIMEventJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIMEvent_accept(JNIEnv* env, jobject obj) -{ - ((TQIMEvent*) QtSupport::getQt(env, obj))->accept(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QIMEvent_cursorPos(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIMEvent*) QtSupport::getQt(env, obj))->cursorPos(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIMEvent_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QIMEvent_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIMEvent_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQIMEvent*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIMEvent_ignore(JNIEnv* env, jobject obj) -{ - ((TQIMEvent*) QtSupport::getQt(env, obj))->ignore(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIMEvent_isAccepted(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIMEvent*) QtSupport::getQt(env, obj))->isAccepted(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIMEvent_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIMEvent_newTQIMEvent(JNIEnv* env, jobject obj, jint type, jstring text, jint cursorPosition) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQIMEventJBridge((TQEvent::Type) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) cursorPosition)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QIMEvent_selectionLength(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIMEvent*) QtSupport::getQt(env, obj))->selectionLength(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QIMEvent_text(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQIMEvent*) QtSupport::getQt(env, obj))->text(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QIMEvent.h b/qtjava/javalib/qtjava/QIMEvent.h deleted file mode 100644 index 17971a80..00000000 --- a/qtjava/javalib/qtjava/QIMEvent.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QIMEvent__ -#define __org_kde_qt_QIMEvent__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIMEvent_newTQIMEvent (JNIEnv *env, jobject, jint, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QIMEvent_text (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIMEvent_cursorPos (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIMEvent_isAccepted (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIMEvent_accept (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIMEvent_ignore (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIMEvent_selectionLength (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIMEvent_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIMEvent_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIMEvent_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QIMEvent__ */ diff --git a/qtjava/javalib/qtjava/QIODevice.cpp b/qtjava/javalib/qtjava/QIODevice.cpp deleted file mode 100644 index 5cf1d55e..00000000 --- a/qtjava/javalib/qtjava/QIODevice.cpp +++ /dev/null @@ -1,254 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIODevice_atEnd(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*) QtSupport::getQt(env, obj))->atEnd(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QIODevice_at__(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((TQIODevice*) QtSupport::getQt(env, obj))->at(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIODevice_at__J(JNIEnv* env, jobject obj, jlong arg1) -{ - jboolean xret = (jboolean) ((TQIODevice*) QtSupport::getQt(env, obj))->at((TQIODevice::Offset) arg1); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIODevice_close(JNIEnv* env, jobject obj) -{ - ((TQIODevice*) QtSupport::getQt(env, obj))->close(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QIODevice_flags(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIODevice*) QtSupport::getQt(env, obj))->flags(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIODevice_flush(JNIEnv* env, jobject obj) -{ - ((TQIODevice*) QtSupport::getQt(env, obj))->flush(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QIODevice_getch(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIODevice*) QtSupport::getQt(env, obj))->getch(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIODevice_isAsynchronous(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*) QtSupport::getQt(env, obj))->isAsynchronous(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIODevice_isBuffered(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*) QtSupport::getQt(env, obj))->isBuffered(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIODevice_isCombinedAccess(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*) QtSupport::getQt(env, obj))->isCombinedAccess(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIODevice_isDirectAccess(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*) QtSupport::getQt(env, obj))->isDirectAccess(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIODevice_isInactive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*) QtSupport::getQt(env, obj))->isInactive(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIODevice_isOpen(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*) QtSupport::getQt(env, obj))->isOpen(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIODevice_isRaw(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*) QtSupport::getQt(env, obj))->isRaw(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIODevice_isReadWrite(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*) QtSupport::getQt(env, obj))->isReadWrite(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIODevice_isReadable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*) QtSupport::getQt(env, obj))->isReadable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIODevice_isSequentialAccess(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*) QtSupport::getQt(env, obj))->isSequentialAccess(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIODevice_isSynchronous(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*) QtSupport::getQt(env, obj))->isSynchronous(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIODevice_isTranslated(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*) QtSupport::getQt(env, obj))->isTranslated(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIODevice_isWritable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*) QtSupport::getQt(env, obj))->isWritable(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QIODevice_mode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIODevice*) QtSupport::getQt(env, obj))->mode(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIODevice_open(JNIEnv* env, jobject obj, jint mode) -{ - jboolean xret = (jboolean) ((TQIODevice*) QtSupport::getQt(env, obj))->open((int) mode); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QIODevice_putch(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQIODevice*) QtSupport::getQt(env, obj))->putch((int) arg1); - return xret; -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_qt_QIODevice_readAll(JNIEnv* env, jobject obj) -{ - TQByteArray _qbyteArray; - _qbyteArray = ((TQIODevice*) QtSupport::getQt(env, obj))->readAll(); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QIODevice_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*) QtSupport::getQt(env, obj))->readBlock((char*) _qstring_data->data(), (Q_ULONG) maxlen); - QtSupport::fromTQCStringToStringBuffer(env, _qstring_data, data); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QIODevice_readLine(JNIEnv* env, jobject obj, jstring data, jlong maxlen) -{ -static TQCString* _qstring_data = 0; - jlong xret = (jlong) ((TQIODevice*) QtSupport::getQt(env, obj))->readLine((char*) QtSupport::toCharString(env, data, &_qstring_data), (Q_ULONG) maxlen); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIODevice_resetStatus(JNIEnv* env, jobject obj) -{ - ((TQIODevice*) QtSupport::getQt(env, obj))->resetStatus(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIODevice_reset(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*) QtSupport::getQt(env, obj))->reset(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QIODevice_size(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((TQIODevice*) QtSupport::getQt(env, obj))->size(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QIODevice_state(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIODevice*) QtSupport::getQt(env, obj))->state(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QIODevice_status(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIODevice*) QtSupport::getQt(env, obj))->status(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QIODevice_ungetch(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQIODevice*) QtSupport::getQt(env, obj))->ungetch((int) arg1); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QIODevice_writeBlock__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring data, jlong len) -{ -static TQCString* _qstring_data = 0; - jlong xret = (jlong) ((TQIODevice*) QtSupport::getQt(env, obj))->writeBlock((const char*) QtSupport::toCharString(env, data, &_qstring_data), (Q_ULONG) len); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QIODevice_writeBlock___3B(JNIEnv* env, jobject obj, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - jlong xret = (jlong) ((TQIODevice*) QtSupport::getQt(env, obj))->writeBlock((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QIODevice.h b/qtjava/javalib/qtjava/QIODevice.h deleted file mode 100644 index 81e0ac58..00000000 --- a/qtjava/javalib/qtjava/QIODevice.h +++ /dev/null @@ -1,52 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QIODevice__ -#define __org_kde_qt_QIODevice__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIODevice_flags (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIODevice_mode (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIODevice_state (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODevice_isDirectAccess (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODevice_isSequentialAccess (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODevice_isCombinedAccess (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODevice_isBuffered (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODevice_isRaw (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODevice_isSynchronous (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODevice_isAsynchronous (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODevice_isTranslated (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODevice_isReadable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODevice_isWritable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODevice_isReadWrite (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODevice_isInactive (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODevice_isOpen (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIODevice_status (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIODevice_resetStatus (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODevice_open (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIODevice_close (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIODevice_flush (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QIODevice_size (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QIODevice_at__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODevice_at__J (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODevice_atEnd (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODevice_reset (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QIODevice_readBlock (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QIODevice_writeBlock__Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QIODevice_readLine (JNIEnv *env, jobject, jstring, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QIODevice_writeBlock___3B (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QIODevice_readAll (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIODevice_getch (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIODevice_putch (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIODevice_ungetch (JNIEnv *env, jobject, jint); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QIODevice__ */ diff --git a/qtjava/javalib/qtjava/QIODeviceSource.cpp b/qtjava/javalib/qtjava/QIODeviceSource.cpp deleted file mode 100644 index 2aa62db1..00000000 --- a/qtjava/javalib/qtjava/QIODeviceSource.cpp +++ /dev/null @@ -1,92 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - -class TQIODeviceSourceJBridge : public TQIODeviceSource -{ -public: - TQIODeviceSourceJBridge(TQIODevice* arg1,int arg2) : TQIODeviceSource(arg1,arg2) {}; - TQIODeviceSourceJBridge(TQIODevice* arg1) : TQIODeviceSource(arg1) {}; - ~TQIODeviceSourceJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIODeviceSource_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QIODeviceSource_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIODeviceSource_enableRewind(JNIEnv* env, jobject obj, jboolean on) -{ - ((TQIODeviceSource*) QtSupport::getQt(env, obj))->enableRewind((bool) on); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIODeviceSource_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQIODeviceSource*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIODeviceSource_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIODeviceSource_newTQIODeviceSource__Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQIODeviceSourceJBridge((TQIODevice*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIODeviceSource_newTQIODeviceSource__Lorg_kde_qt_QIODeviceInterface_2I(JNIEnv* env, jobject obj, jobject arg1, jint bufsize) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQIODeviceSourceJBridge((TQIODevice*) QtSupport::getQt(env, arg1), (int) bufsize)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QIODeviceSource_readyToSend(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIODeviceSource*) QtSupport::getQt(env, obj))->readyToSend(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIODeviceSource_rewind(JNIEnv* env, jobject obj) -{ - ((TQIODeviceSource*) QtSupport::getQt(env, obj))->rewind(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIODeviceSource_rewindable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODeviceSource*) QtSupport::getQt(env, obj))->rewindable(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIODeviceSource_sendTo(JNIEnv* env, jobject obj, jobject sink, jint n) -{ - ((TQIODeviceSource*) QtSupport::getQt(env, obj))->sendTo((TQDataSink*) QtSupport::getQt(env, sink), (int) n); - return; -} - diff --git a/qtjava/javalib/qtjava/QIODeviceSource.h b/qtjava/javalib/qtjava/QIODeviceSource.h deleted file mode 100644 index 4b895d39..00000000 --- a/qtjava/javalib/qtjava/QIODeviceSource.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QIODeviceSource__ -#define __org_kde_qt_QIODeviceSource__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIODeviceSource_newTQIODeviceSource__Lorg_kde_qt_QIODeviceInterface_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIODeviceSource_newTQIODeviceSource__Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIODeviceSource_readyToSend (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIODeviceSource_sendTo (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODeviceSource_rewindable (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIODeviceSource_enableRewind (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIODeviceSource_rewind (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIODeviceSource_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIODeviceSource_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODeviceSource_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QIODeviceSource__ */ diff --git a/qtjava/javalib/qtjava/QIconDrag.cpp b/qtjava/javalib/qtjava/QIconDrag.cpp deleted file mode 100644 index 1bdef2ed..00000000 --- a/qtjava/javalib/qtjava/QIconDrag.cpp +++ /dev/null @@ -1,166 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -class TQIconDragJBridge : public TQIconDrag -{ -public: - TQIconDragJBridge(TQWidget* arg1,const char* arg2) : TQIconDrag(arg1,arg2) {}; - TQIconDragJBridge(TQWidget* arg1) : TQIconDrag(arg1) {}; - ~TQIconDragJBridge() {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.qt.TQIconDrag",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconDrag_append(JNIEnv* env, jobject obj, jobject item, jobject pr, jobject tr) -{ - ((TQIconDrag*) QtSupport::getQt(env, obj))->append((const TQIconDragItem&)*(const TQIconDragItem*) QtSupport::getQt(env, item), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, pr), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, tr)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIconDrag_canDecode(JNIEnv* env, jclass cls, jobject e) -{ - (void) cls; - jboolean xret = (jboolean) TQIconDragJBridge::canDecode((TQMimeSource*) QtSupport::mimeSource(env, e)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QIconDrag_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQIconDrag*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconDrag_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QIconDrag_finalize(env, obj); - return; -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_qt_QIconDrag_encodedData(JNIEnv* env, jobject obj, jstring mime) -{ - TQByteArray _qbyteArray; -static TQCString* _qstring_mime = 0; - _qbyteArray = ((TQIconDrag*) QtSupport::getQt(env, obj))->encodedData((const char*) QtSupport::toCharString(env, mime, &_qstring_mime)); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconDrag_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQIconDrag*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQIconDrag*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QIconDrag_format(JNIEnv* env, jobject obj, jint i) -{ - const char* _qstring; - _qstring = ((TQIconDrag*) QtSupport::getQt(env, obj))->format((int) i); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIconDrag_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QIconDrag_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconDrag*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconDrag_newTQIconDrag__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject dragSource) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQIconDragJBridge((TQWidget*) QtSupport::getQt(env, dragSource))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconDrag_newTQIconDrag__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 TQIconDragJBridge((TQWidget*) QtSupport::getQt(env, dragSource), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QIconDrag_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQIconDragJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QIconDrag_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQIconDragJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QIconDrag.h b/qtjava/javalib/qtjava/QIconDrag.h deleted file mode 100644 index bb54c434..00000000 --- a/qtjava/javalib/qtjava/QIconDrag.h +++ /dev/null @@ -1,31 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QIconDrag__ -#define __org_kde_qt_QIconDrag__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconDrag_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QIconDrag_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconDrag_newTQIconDrag__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconDrag_newTQIconDrag__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconDrag_append (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QIconDrag_format (JNIEnv *env, jobject, jint); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QIconDrag_encodedData (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QIconDrag_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QIconDrag_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconDrag_canDecode (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconDrag_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconDrag_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconDrag_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QIconDrag__ */ diff --git a/qtjava/javalib/qtjava/QIconDragItem.cpp b/qtjava/javalib/qtjava/QIconDragItem.cpp deleted file mode 100644 index bc5de913..00000000 --- a/qtjava/javalib/qtjava/QIconDragItem.cpp +++ /dev/null @@ -1,70 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQIconDragItemJBridge : public TQIconDragItem -{ -public: - TQIconDragItemJBridge() : TQIconDragItem() {}; - ~TQIconDragItemJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_qt_QIconDragItem_data(JNIEnv* env, jobject obj) -{ - TQByteArray _qbyteArray; - _qbyteArray = ((TQIconDragItem*) QtSupport::getQt(env, obj))->data(); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconDragItem_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QIconDragItem_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconDragItem_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQIconDragItem*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIconDragItem_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconDragItem_newTQIconDragItem(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQIconDragItemJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIconDragItem_op_1equals(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQIconDragItem*) QtSupport::getQt(env, obj))->operator==((const TQIconDragItem&)*(const TQIconDragItem*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconDragItem_setData(JNIEnv* env, jobject obj, jbyteArray d) -{ -static TQByteArray* _qbyteArray_d = 0; - ((TQIconDragItem*) QtSupport::getQt(env, obj))->setData((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, d, &_qbyteArray_d)); - return; -} - diff --git a/qtjava/javalib/qtjava/QIconDragItem.h b/qtjava/javalib/qtjava/QIconDragItem.h deleted file mode 100644 index 3b36034a..00000000 --- a/qtjava/javalib/qtjava/QIconDragItem.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QIconDragItem__ -#define __org_kde_qt_QIconDragItem__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconDragItem_newTQIconDragItem (JNIEnv *env, jobject); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QIconDragItem_data (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconDragItem_setData (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconDragItem_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconDragItem_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconDragItem_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconDragItem_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QIconDragItem__ */ diff --git a/qtjava/javalib/qtjava/QIconSet.cpp b/qtjava/javalib/qtjava/QIconSet.cpp deleted file mode 100644 index f99013ca..00000000 --- a/qtjava/javalib/qtjava/QIconSet.cpp +++ /dev/null @@ -1,231 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -class TQIconSetJBridge : public TQIconSet -{ -public: - TQIconSetJBridge() : TQIconSet() {}; - TQIconSetJBridge(const TQPixmap& arg1,TQIconSet::Size arg2) : TQIconSet(arg1,arg2) {}; - TQIconSetJBridge(const TQPixmap& arg1) : TQIconSet(arg1) {}; - TQIconSetJBridge(const TQPixmap& arg1,const TQPixmap& arg2) : TQIconSet(arg1,arg2) {}; - TQIconSetJBridge(const TQIconSet& arg1) : TQIconSet(arg1) {}; - ~TQIconSetJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconSet_clearGenerated(JNIEnv* env, jobject obj) -{ - ((TQIconSet*) QtSupport::getQt(env, obj))->clearGenerated(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconSet_detach(JNIEnv* env, jobject obj) -{ - ((TQIconSet*) QtSupport::getQt(env, obj))->detach(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconSet_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QIconSet_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconSet_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQIconSet*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QIconSet_iconSize(JNIEnv* env, jclass cls, jint which) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQSize *) &TQIconSetJBridge::iconSize((TQIconSet::Size) which), "org.kde.qt.TQSize"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIconSet_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIconSet_isGenerated__II(JNIEnv* env, jobject obj, jint size, jint mode) -{ - jboolean xret = (jboolean) ((TQIconSet*) QtSupport::getQt(env, obj))->isGenerated((TQIconSet::Size) size, (TQIconSet::Mode) mode); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIconSet_isGenerated__III(JNIEnv* env, jobject obj, jint size, jint mode, jint state) -{ - jboolean xret = (jboolean) ((TQIconSet*) QtSupport::getQt(env, obj))->isGenerated((TQIconSet::Size) size, (TQIconSet::Mode) mode, (TQIconSet::State) state); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIconSet_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIconSet*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconSet_newTQIconSet__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQIconSetJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconSet_newTQIconSet__Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQIconSetJBridge((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconSet_newTQIconSet__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pixmap) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQIconSetJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconSet_newTQIconSet__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint size) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQIconSetJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQIconSet::Size) size)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconSet_newTQIconSet__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject smallPix, jobject largePix) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQIconSetJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, smallPix), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, largePix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QIconSet_pixmap__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQIconSet*) QtSupport::getQt(env, obj))->pixmap()), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QIconSet_pixmap__II(JNIEnv* env, jobject obj, jint size, jint mode) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQIconSet*) QtSupport::getQt(env, obj))->pixmap((TQIconSet::Size) size, (TQIconSet::Mode) mode)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QIconSet_pixmap__III(JNIEnv* env, jobject obj, jint size, jint mode, jint state) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQIconSet*) QtSupport::getQt(env, obj))->pixmap((TQIconSet::Size) size, (TQIconSet::Mode) mode, (TQIconSet::State) state)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QIconSet_pixmap__IZ(JNIEnv* env, jobject obj, jint size, jboolean enabled) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQIconSet*) QtSupport::getQt(env, obj))->pixmap((TQIconSet::Size) size, (bool) enabled)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QIconSet_pixmap__IZI(JNIEnv* env, jobject obj, jint size, jboolean enabled, jint state) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQIconSet*) QtSupport::getQt(env, obj))->pixmap((TQIconSet::Size) size, (bool) enabled, (TQIconSet::State) state)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconSet_reset(JNIEnv* env, jobject obj, jobject pixmap, jint size) -{ - ((TQIconSet*) QtSupport::getQt(env, obj))->reset((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQIconSet::Size) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconSet_setIconSize(JNIEnv* env, jclass cls, jint which, jobject size) -{ - (void) cls; - TQIconSetJBridge::setIconSize((TQIconSet::Size) which, (const TQSize&)*(const TQSize*) QtSupport::getQt(env, size)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconSet_setPixmap__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring fileName, jint size) -{ -static TQString* _qstring_fileName = 0; - ((TQIconSet*) QtSupport::getQt(env, obj))->setPixmap((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (TQIconSet::Size) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconSet_setPixmap__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring fileName, jint size, jint mode) -{ -static TQString* _qstring_fileName = 0; - ((TQIconSet*) QtSupport::getQt(env, obj))->setPixmap((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (TQIconSet::Size) size, (TQIconSet::Mode) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconSet_setPixmap__Ljava_lang_String_2III(JNIEnv* env, jobject obj, jstring fileName, jint size, jint mode, jint state) -{ -static TQString* _qstring_fileName = 0; - ((TQIconSet*) QtSupport::getQt(env, obj))->setPixmap((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (TQIconSet::Size) size, (TQIconSet::Mode) mode, (TQIconSet::State) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconSet_setPixmap__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint size) -{ - ((TQIconSet*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQIconSet::Size) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconSet_setPixmap__Lorg_kde_qt_QPixmap_2II(JNIEnv* env, jobject obj, jobject pixmap, jint size, jint mode) -{ - ((TQIconSet*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQIconSet::Size) size, (TQIconSet::Mode) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconSet_setPixmap__Lorg_kde_qt_QPixmap_2III(JNIEnv* env, jobject obj, jobject pixmap, jint size, jint mode, jint state) -{ - ((TQIconSet*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQIconSet::Size) size, (TQIconSet::Mode) mode, (TQIconSet::State) state); - return; -} - diff --git a/qtjava/javalib/qtjava/QIconSet.h b/qtjava/javalib/qtjava/QIconSet.h deleted file mode 100644 index 9773ceab..00000000 --- a/qtjava/javalib/qtjava/QIconSet.h +++ /dev/null @@ -1,45 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QIconSet__ -#define __org_kde_qt_QIconSet__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_newTQIconSet__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_newTQIconSet__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_newTQIconSet__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_newTQIconSet__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_newTQIconSet__Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_reset (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_setPixmap__Lorg_kde_qt_QPixmap_2III (JNIEnv *env, jobject, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_setPixmap__Lorg_kde_qt_QPixmap_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_setPixmap__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_setPixmap__Ljava_lang_String_2III (JNIEnv *env, jobject, jstring, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_setPixmap__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_setPixmap__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconSet_pixmap__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconSet_pixmap__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconSet_pixmap__IZI (JNIEnv *env, jobject, jint, jboolean, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconSet_pixmap__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconSet_pixmap__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconSet_isGenerated__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconSet_isGenerated__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_clearGenerated (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconSet_isNull (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_detach (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_setIconSize (JNIEnv *env, jclass, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconSet_iconSize (JNIEnv *env, jclass, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconSet_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QIconSet__ */ diff --git a/qtjava/javalib/qtjava/QIconView.cpp b/qtjava/javalib/qtjava/QIconView.cpp deleted file mode 100644 index 7ca57c6f..00000000 --- a/qtjava/javalib/qtjava/QIconView.cpp +++ /dev/null @@ -1,1522 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQIconViewJBridge : public TQIconView -{ -public: - TQIconViewJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQIconView(arg1,arg2,arg3) {}; - TQIconViewJBridge(TQWidget* arg1,const char* arg2) : TQIconView(arg1,arg2) {}; - TQIconViewJBridge(TQWidget* arg1) : TQIconView(arg1) {}; - TQIconViewJBridge() : TQIconView() {}; - void public_clearSelection() { - TQIconView::clearSelection(); - return; - } - void public_invertSelection() { - TQIconView::invertSelection(); - return; - } - void public_clear() { - TQIconView::clear(); - return; - } - void public_sort() { - TQIconView::sort(); - return; - } - void public_arrangeItemsInGrid() { - TQIconView::arrangeItemsInGrid(); - return; - } - void public_updateContents() { - TQIconView::updateContents(); - return; - } - void protected_drawContents(TQPainter* arg1,int arg2,int arg3,int arg4,int arg5) { - TQIconView::drawContents(arg1,arg2,arg3,arg4,arg5); - return; - } - void protected_contentsMousePressEvent(TQMouseEvent* arg1) { - TQIconView::contentsMousePressEvent(arg1); - return; - } - void protected_contentsMouseReleaseEvent(TQMouseEvent* arg1) { - TQIconView::contentsMouseReleaseEvent(arg1); - return; - } - void protected_contentsMouseMoveEvent(TQMouseEvent* arg1) { - TQIconView::contentsMouseMoveEvent(arg1); - return; - } - void protected_contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - TQIconView::contentsMouseDoubleClickEvent(arg1); - return; - } - void protected_contentsContextMenuEvent(TQContextMenuEvent* arg1) { - TQIconView::contentsContextMenuEvent(arg1); - return; - } - void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) { - TQIconView::contentsDragEnterEvent(arg1); - return; - } - void protected_contentsDragMoveEvent(TQDragMoveEvent* arg1) { - TQIconView::contentsDragMoveEvent(arg1); - return; - } - void protected_contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - TQIconView::contentsDragLeaveEvent(arg1); - return; - } - void protected_contentsDropEvent(TQDropEvent* arg1) { - TQIconView::contentsDropEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQIconView::resizeEvent(arg1); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQIconView::keyPressEvent(arg1); - return; - } - void protected_focusInEvent(TQFocusEvent* arg1) { - TQIconView::focusInEvent(arg1); - return; - } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TQIconView::focusOutEvent(arg1); - return; - } - void protected_enterEvent(TQEvent* arg1) { - TQIconView::enterEvent(arg1); - return; - } - void protected_drawRubber(TQPainter* arg1) { - TQIconView::drawRubber(arg1); - return; - } - TQDragObject* protected_dragObject() { - return (TQDragObject*) TQIconView::dragObject(); - } - void protected_startDrag() { - TQIconView::startDrag(); - return; - } - void protected_insertInGrid(TQIconViewItem* arg1) { - TQIconView::insertInGrid(arg1); - return; - } - void protected_drawBackground(TQPainter* arg1,const TQRect& arg2) { - TQIconView::drawBackground(arg1,arg2); - return; - } - void protected_emitSelectionChanged(TQIconViewItem* arg1) { - TQIconView::emitSelectionChanged(arg1); - return; - } - void protected_emitSelectionChanged() { - TQIconView::emitSelectionChanged(); - return; - } - void protected_emitRenamed(TQIconViewItem* arg1) { - TQIconView::emitRenamed(arg1); - return; - } - TQIconViewItem* protected_makeRowLayout(TQIconViewItem* arg1,int& arg2,bool& arg3) { - return (TQIconViewItem*) TQIconView::makeRowLayout(arg1,arg2,arg3); - } - void protected_styleChange(TQStyle& arg1) { - TQIconView::styleChange(arg1); - return; - } - void protected_windowActivationChange(bool arg1) { - TQIconView::windowActivationChange(arg1); - return; - } - void protected_doAutoScroll() { - TQIconView::doAutoScroll(); - return; - } - void protected_adjustItems() { - TQIconView::adjustItems(); - return; - } - void protected_slotUpdate() { - TQIconView::slotUpdate(); - return; - } - ~TQIconViewJBridge() {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.qt.TQIconView","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")) { - TQIconView::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")) { - TQIconView::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","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")) { - TQIconView::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","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.qt.TQIconView","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.qt.TQIconView","updateContents")) { - TQIconView::updateContents(); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","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.qt.TQIconView","clear")) { - TQIconView::clear(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQIconView::contentsDropEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","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")) { - TQIconView::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.qt.TQIconView","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")) { - TQIconView::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.qt.TQIconView","startDrag")) { - TQIconView::startDrag(); - } - return; - } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQIconView::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")) { - TQIconView::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.qt.TQIconView","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")) { - 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")) { - TQIconView::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","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.qt.TQIconView","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(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.qt.TQIconView","adjustItems")) { - TQIconView::adjustItems(); - } - return; - } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQIconView::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.qt.TQIconView","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_adjustItems(JNIEnv* env, jobject obj) -{ - ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_adjustItems(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_arrangeItemsInGrid__(JNIEnv* env, jobject obj) -{ - ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->public_arrangeItemsInGrid(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_arrangeItemsInGrid__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject grid) -{ - ((TQIconView*) QtSupport::getQt(env, obj))->arrangeItemsInGrid((const TQSize&)*(const TQSize*) QtSupport::getQt(env, grid)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_arrangeItemsInGrid__Lorg_kde_qt_QSize_2Z(JNIEnv* env, jobject obj, jobject grid, jboolean update) -{ - ((TQIconView*) QtSupport::getQt(env, obj))->arrangeItemsInGrid((const TQSize&)*(const TQSize*) QtSupport::getQt(env, grid), (bool) update); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_arrangeItemsInGrid__Z(JNIEnv* env, jobject obj, jboolean update) -{ - ((TQIconView*) QtSupport::getQt(env, obj))->arrangeItemsInGrid((bool) update); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QIconView_arrangement(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIconView*) QtSupport::getQt(env, obj))->arrangement(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIconView_autoArrange(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIconView*) QtSupport::getQt(env, obj))->autoArrange(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QIconView_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQIconView*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_clearSelection(JNIEnv* env, jobject obj) -{ - ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->public_clearSelection(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_clear(JNIEnv* env, jobject obj) -{ - ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->public_clear(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_contentsContextMenuEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_contentsDragLeaveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_contentsDragMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_contentsDropEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_contentsMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_contentsMouseMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_contentsMouseReleaseEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QIconView_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIconView*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QIconView_currentItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconView*) QtSupport::getQt(env, obj))->currentItem(), "org.kde.qt.TQIconViewItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QIconView_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_doAutoScroll(JNIEnv* env, jobject obj) -{ - ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_doAutoScroll(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QIconView_dragObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_dragObject(), "org.kde.qt.TQDragObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_drawBackground(JNIEnv* env, jobject obj, jobject p, jobject r) -{ - ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_drawBackground((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_drawContents(JNIEnv* env, jobject obj, jobject p, jint cx, jint cy, jint cw, jint ch) -{ - ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, p), (int) cx, (int) cy, (int) cw, (int) ch); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_drawRubber(JNIEnv* env, jobject obj, jobject p) -{ - ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_drawRubber((TQPainter*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_emitRenamed(JNIEnv* env, jobject obj, jobject item) -{ - ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_emitRenamed((TQIconViewItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_emitSelectionChanged__(JNIEnv* env, jobject obj) -{ - ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_emitSelectionChanged(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_emitSelectionChanged__Lorg_kde_qt_QIconViewItem_2(JNIEnv* env, jobject obj, jobject i) -{ - ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_emitSelectionChanged((TQIconViewItem*) QtSupport::getQt(env, i)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_ensureItemVisible(JNIEnv* env, jobject obj, jobject item) -{ - ((TQIconView*) QtSupport::getQt(env, obj))->ensureItemVisible((TQIconViewItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_enterEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_enterEvent((TQEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIconView_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject arg2) -{ - jboolean xret = (jboolean) ((TQIconView*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQIconView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQIconView*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QIconView_findFirstVisibleItem(JNIEnv* env, jobject obj, jobject r) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconView*) QtSupport::getQt(env, obj))->findFirstVisibleItem((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)), "org.kde.qt.TQIconViewItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QIconView_findItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconView*) QtSupport::getQt(env, obj))->findItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)), "org.kde.qt.TQIconViewItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QIconView_findItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint compare) -{ -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconView*) QtSupport::getQt(env, obj))->findItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQt::ComparisonFlags) compare), "org.kde.qt.TQIconViewItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QIconView_findItem__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject pos) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconView*) QtSupport::getQt(env, obj))->findItem((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)), "org.kde.qt.TQIconViewItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QIconView_findLastVisibleItem(JNIEnv* env, jobject obj, jobject r) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconView*) QtSupport::getQt(env, obj))->findLastVisibleItem((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)), "org.kde.qt.TQIconViewItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QIconView_firstItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconView*) QtSupport::getQt(env, obj))->firstItem(), "org.kde.qt.TQIconViewItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_focusInEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_focusOutEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QIconView_gridX(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIconView*) QtSupport::getQt(env, obj))->gridX(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QIconView_gridY(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIconView*) QtSupport::getQt(env, obj))->gridY(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QIconView_index(JNIEnv* env, jobject obj, jobject item) -{ - jint xret = (jint) ((TQIconView*) QtSupport::getQt(env, obj))->index((const TQIconViewItem*) QtSupport::getQt(env, item)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_insertInGrid(JNIEnv* env, jobject obj, jobject item) -{ - ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_insertInGrid((TQIconViewItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_insertItem__Lorg_kde_qt_QIconViewItem_2(JNIEnv* env, jobject obj, jobject item) -{ - ((TQIconView*) QtSupport::getQt(env, obj))->insertItem((TQIconViewItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_insertItem__Lorg_kde_qt_QIconViewItem_2Lorg_kde_qt_QIconViewItem_2(JNIEnv* env, jobject obj, jobject item, jobject after) -{ - ((TQIconView*) QtSupport::getQt(env, obj))->insertItem((TQIconViewItem*) QtSupport::getQt(env, item), (TQIconViewItem*) QtSupport::getQt(env, after)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_invertSelection(JNIEnv* env, jobject obj) -{ - ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->public_invertSelection(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIconView_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIconView_isRenaming(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIconView*) QtSupport::getQt(env, obj))->isRenaming(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QIconView_itemTextBackground(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQBrush(((TQIconView*) QtSupport::getQt(env, obj))->itemTextBackground()), "org.kde.qt.TQBrush", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QIconView_itemTextPos(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIconView*) QtSupport::getQt(env, obj))->itemTextPos(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIconView_itemsMovable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIconView*) QtSupport::getQt(env, obj))->itemsMovable(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_keyPressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QIconView_lastItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconView*) QtSupport::getQt(env, obj))->lastItem(), "org.kde.qt.TQIconViewItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QIconView_makeRowLayout(JNIEnv* env, jobject obj, jobject begin, jintArray y, jboolean changed) -{ - int* _int_y = QtSupport::toIntPtr(env, y); - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_makeRowLayout((TQIconViewItem*) QtSupport::getQt(env, begin), (int&) *_int_y, (bool&) changed), "org.kde.qt.TQIconViewItem"); - env->SetIntArrayRegion(y, 0, 1, (jint *) _int_y); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QIconView_maxItemTextLength(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIconView*) QtSupport::getQt(env, obj))->maxItemTextLength(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QIconView_maxItemWidth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIconView*) QtSupport::getQt(env, obj))->maxItemWidth(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QIconView_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QIconView_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQIconView*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_newTQIconView__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQIconViewJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_newTQIconView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQIconViewJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_newTQIconView__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 TQIconViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_newTQIconView__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 TQIconViewJBridge((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_qt_QIconView_repaintItem(JNIEnv* env, jobject obj, jobject item) -{ - ((TQIconView*) QtSupport::getQt(env, obj))->repaintItem((TQIconViewItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_repaintSelectedItems(JNIEnv* env, jobject obj) -{ - ((TQIconView*) QtSupport::getQt(env, obj))->repaintSelectedItems(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_resizeEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QIconView_resizeMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIconView*) QtSupport::getQt(env, obj))->resizeMode(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_selectAll(JNIEnv* env, jobject obj, jboolean select) -{ - ((TQIconView*) QtSupport::getQt(env, obj))->selectAll((bool) select); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QIconView_selectionMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIconView*) QtSupport::getQt(env, obj))->selectionMode(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_setArrangement(JNIEnv* env, jobject obj, jint am) -{ - ((TQIconView*) QtSupport::getQt(env, obj))->setArrangement((TQIconView::Arrangement) am); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_setAutoArrange(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQIconView*) QtSupport::getQt(env, obj))->setAutoArrange((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_setContentsPos(JNIEnv* env, jobject obj, jint x, jint y) -{ - ((TQIconView*) QtSupport::getQt(env, obj))->setContentsPos((int) x, (int) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_setCurrentItem(JNIEnv* env, jobject obj, jobject item) -{ - ((TQIconView*) QtSupport::getQt(env, obj))->setCurrentItem((TQIconViewItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_setFont(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQIconView*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_setGridX(JNIEnv* env, jobject obj, jint rx) -{ - ((TQIconView*) QtSupport::getQt(env, obj))->setGridX((int) rx); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_setGridY(JNIEnv* env, jobject obj, jint ry) -{ - ((TQIconView*) QtSupport::getQt(env, obj))->setGridY((int) ry); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_setItemTextBackground(JNIEnv* env, jobject obj, jobject b) -{ - ((TQIconView*) QtSupport::getQt(env, obj))->setItemTextBackground((const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, b)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_setItemTextPos(JNIEnv* env, jobject obj, jint pos) -{ - ((TQIconView*) QtSupport::getQt(env, obj))->setItemTextPos((TQIconView::ItemTextPos) pos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_setItemsMovable(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQIconView*) QtSupport::getQt(env, obj))->setItemsMovable((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_setMaxItemTextLength(JNIEnv* env, jobject obj, jint w) -{ - ((TQIconView*) QtSupport::getQt(env, obj))->setMaxItemTextLength((int) w); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_setMaxItemWidth(JNIEnv* env, jobject obj, jint w) -{ - ((TQIconView*) QtSupport::getQt(env, obj))->setMaxItemWidth((int) w); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_setPalette(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQIconView*) QtSupport::getQt(env, obj))->setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_setResizeMode(JNIEnv* env, jobject obj, jint am) -{ - ((TQIconView*) QtSupport::getQt(env, obj))->setResizeMode((TQIconView::ResizeMode) am); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_setSelected__Lorg_kde_qt_QIconViewItem_2Z(JNIEnv* env, jobject obj, jobject item, jboolean s) -{ - ((TQIconView*) QtSupport::getQt(env, obj))->setSelected((TQIconViewItem*) QtSupport::getQt(env, item), (bool) s); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_setSelected__Lorg_kde_qt_QIconViewItem_2ZZ(JNIEnv* env, jobject obj, jobject item, jboolean s, jboolean cb) -{ - ((TQIconView*) QtSupport::getQt(env, obj))->setSelected((TQIconViewItem*) QtSupport::getQt(env, item), (bool) s, (bool) cb); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_setSelectionMode(JNIEnv* env, jobject obj, jint m) -{ - ((TQIconView*) QtSupport::getQt(env, obj))->setSelectionMode((TQIconView::SelectionMode) m); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_setShowToolTips(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQIconView*) QtSupport::getQt(env, obj))->setShowToolTips((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_setSorting__Z(JNIEnv* env, jobject obj, jboolean sort) -{ - ((TQIconView*) QtSupport::getQt(env, obj))->setSorting((bool) sort); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_setSorting__ZZ(JNIEnv* env, jobject obj, jboolean sort, jboolean ascending) -{ - ((TQIconView*) QtSupport::getQt(env, obj))->setSorting((bool) sort, (bool) ascending); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_setSpacing(JNIEnv* env, jobject obj, jint sp) -{ - ((TQIconView*) QtSupport::getQt(env, obj))->setSpacing((int) sp); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_setWordWrapIconText(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQIconView*) QtSupport::getQt(env, obj))->setWordWrapIconText((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_showEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQIconView*) QtSupport::getQt(env, obj))->showEvent((TQShowEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIconView_showToolTips(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIconView*) QtSupport::getQt(env, obj))->showToolTips(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QIconView_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQIconView*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_slotUpdate(JNIEnv* env, jobject obj) -{ - ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_slotUpdate(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIconView_sortDirection(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIconView*) QtSupport::getQt(env, obj))->sortDirection(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIconView_sortOnInsert(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIconView*) QtSupport::getQt(env, obj))->sorting(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_sort__(JNIEnv* env, jobject obj) -{ - ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->public_sort(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_sort__Z(JNIEnv* env, jobject obj, jboolean ascending) -{ - ((TQIconView*) QtSupport::getQt(env, obj))->sort((bool) ascending); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QIconView_spacing(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIconView*) QtSupport::getQt(env, obj))->spacing(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_startDrag(JNIEnv* env, jobject obj) -{ - ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_startDrag(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_styleChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_takeItem(JNIEnv* env, jobject obj, jobject item) -{ - ((TQIconView*) QtSupport::getQt(env, obj))->takeItem((TQIconViewItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QIconView_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQIconViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QIconView_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQIconViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_updateContents(JNIEnv* env, jobject obj) -{ - ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->public_updateContents(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_windowActivationChange(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_windowActivationChange((bool) arg1); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIconView_wordWrapIconText(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIconView*) QtSupport::getQt(env, obj))->wordWrapIconText(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QIconView.h b/qtjava/javalib/qtjava/QIconView.h deleted file mode 100644 index fd0457ef..00000000 --- a/qtjava/javalib/qtjava/QIconView.h +++ /dev/null @@ -1,128 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QIconView__ -#define __org_kde_qt_QIconView__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconView_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QIconView_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_newTQIconView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_newTQIconView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_newTQIconView__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_newTQIconView__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_insertItem__Lorg_kde_qt_QIconViewItem_2Lorg_kde_qt_QIconViewItem_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_insertItem__Lorg_kde_qt_QIconViewItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_takeItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIconView_index (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconView_firstItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconView_lastItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconView_currentItem (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setCurrentItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setSelected__Lorg_kde_qt_QIconViewItem_2ZZ (JNIEnv *env, jobject, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setSelected__Lorg_kde_qt_QIconViewItem_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIconView_count (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_showEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setSelectionMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIconView_selectionMode (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconView_findItem__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconView_findItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconView_findItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_selectAll (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_clearSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_invertSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_repaintItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_repaintSelectedItems (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_ensureItemVisible (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconView_findFirstVisibleItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconView_findLastVisibleItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setGridX (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setGridY (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIconView_gridX (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIconView_gridY (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setSpacing (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIconView_spacing (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setItemTextPos (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIconView_itemTextPos (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setItemTextBackground (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconView_itemTextBackground (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setArrangement (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIconView_arrangement (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setResizeMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIconView_resizeMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setMaxItemWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIconView_maxItemWidth (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setMaxItemTextLength (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIconView_maxItemTextLength (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setAutoArrange (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconView_autoArrange (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setShowToolTips (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconView_showToolTips (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setSorting__ZZ (JNIEnv *env, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setSorting__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconView_sortOnInsert (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconView_sortDirection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setItemsMovable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconView_itemsMovable (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setWordWrapIconText (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconView_wordWrapIconText (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconView_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconView_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconView_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_sort__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_sort__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setFont (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setPalette (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconView_isRenaming (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_arrangeItemsInGrid__Lorg_kde_qt_QSize_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_arrangeItemsInGrid__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_arrangeItemsInGrid__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_arrangeItemsInGrid__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setContentsPos (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_updateContents (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QIconView_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QIconView_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_drawContents (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_contentsMousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_contentsMouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_contentsMouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_contentsMouseDoubleClickEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_contentsContextMenuEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_contentsDragEnterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_contentsDragMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_contentsDragLeaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_contentsDropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_focusInEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_focusOutEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_enterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_drawRubber (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconView_dragObject (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_startDrag (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_insertInGrid (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_drawBackground (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_emitSelectionChanged__Lorg_kde_qt_QIconViewItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_emitSelectionChanged__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_emitRenamed (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconView_makeRowLayout (JNIEnv *env, jobject, jobject, jintArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_styleChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_windowActivationChange (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_doAutoScroll (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_adjustItems (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_slotUpdate (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconView_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QIconView__ */ diff --git a/qtjava/javalib/qtjava/QIconViewItem.cpp b/qtjava/javalib/qtjava/QIconViewItem.cpp deleted file mode 100644 index 3b1cd0bc..00000000 --- a/qtjava/javalib/qtjava/QIconViewItem.cpp +++ /dev/null @@ -1,622 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQIconViewItemJBridge : public TQIconViewItem -{ -public: - TQIconViewItemJBridge(TQIconView* arg1) : TQIconViewItem(arg1) {}; - TQIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2) : TQIconViewItem(arg1,arg2) {}; - TQIconViewItemJBridge(TQIconView* arg1,const TQString& arg2) : TQIconViewItem(arg1,arg2) {}; - TQIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2,const TQString& arg3) : TQIconViewItem(arg1,arg2,arg3) {}; - TQIconViewItemJBridge(TQIconView* arg1,const TQString& arg2,const TQPixmap& arg3) : TQIconViewItem(arg1,arg2,arg3) {}; - TQIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2,const TQString& arg3,const TQPixmap& arg4) : TQIconViewItem(arg1,arg2,arg3,arg4) {}; - TQIconViewItemJBridge(TQIconView* arg1,const TQString& arg2,const TQPicture& arg3) : TQIconViewItem(arg1,arg2,arg3) {}; - TQIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2,const TQString& arg3,const TQPicture& arg4) : TQIconViewItem(arg1,arg2,arg3,arg4) {}; - void public_repaint() { - TQIconViewItem::repaint(); - return; - } - void protected_removeRenameBox() { - TQIconViewItem::removeRenameBox(); - return; - } - void protected_calcRect(const TQString& arg1) { - TQIconViewItem::calcRect(arg1); - return; - } - void protected_calcRect() { - TQIconViewItem::calcRect(); - return; - } - void protected_paintItem(TQPainter* arg1,const TQColorGroup& arg2) { - TQIconViewItem::paintItem(arg1,arg2); - return; - } - void protected_paintFocus(TQPainter* arg1,const TQColorGroup& arg2) { - TQIconViewItem::paintFocus(arg1,arg2); - return; - } - void protected_dragEntered() { - TQIconViewItem::dragEntered(); - return; - } - void protected_dragLeft() { - TQIconViewItem::dragLeft(); - return; - } - void protected_setItemRect(const TQRect& arg1) { - TQIconViewItem::setItemRect(arg1); - return; - } - void protected_setTextRect(const TQRect& arg1) { - TQIconViewItem::setTextRect(arg1); - return; - } - void protected_setPixmapRect(const TQRect& arg1) { - TQIconViewItem::setPixmapRect(arg1); - return; - } - void protected_calcTmpText() { - TQIconViewItem::calcTmpText(); - return; - } - TQString protected_tempText() { - return (TQString) TQIconViewItem::tempText(); - } - ~TQIconViewItemJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIconViewItem_acceptDrop(JNIEnv* env, jobject obj, jobject mime) -{ - jboolean xret = (jboolean) ((TQIconViewItem*) QtSupport::getQt(env, obj))->acceptDrop((const TQMimeSource*) QtSupport::mimeSource(env, mime)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_calcRect__(JNIEnv* env, jobject obj) -{ - ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_calcRect(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_calcRect__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text_) -{ -static TQString* _qstring_text_ = 0; - ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_calcRect((const TQString&)*(TQString*) QtSupport::toTQString(env, text_, &_qstring_text_)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_calcTmpText(JNIEnv* env, jobject obj) -{ - ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_calcTmpText(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QIconViewItem_compare(JNIEnv* env, jobject obj, jobject i) -{ - jint xret = (jint) ((TQIconViewItem*) QtSupport::getQt(env, obj))->compare((TQIconViewItem*) QtSupport::getQt(env, i)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIconViewItem_contains(JNIEnv* env, jobject obj, jobject pnt) -{ - jboolean xret = (jboolean) ((TQIconViewItem*) QtSupport::getQt(env, obj))->contains((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pnt)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QIconViewItem_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIconViewItem_dragEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIconViewItem*) QtSupport::getQt(env, obj))->dragEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_dragEntered(JNIEnv* env, jobject obj) -{ - ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_dragEntered(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_dragLeft(JNIEnv* env, jobject obj) -{ - ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_dragLeft(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIconViewItem_dropEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIconViewItem*) QtSupport::getQt(env, obj))->dropEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQIconViewItem*)(TQIconViewItem*)QtSupport::getQt(env, obj))->iconView() == 0) { - delete (TQIconViewItem*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QIconViewItem_height(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIconViewItem*) QtSupport::getQt(env, obj))->height(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QIconViewItem_iconView(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconViewItem*) QtSupport::getQt(env, obj))->iconView(), "org.kde.qt.TQIconView"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QIconViewItem_index(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIconViewItem*) QtSupport::getQt(env, obj))->index(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIconViewItem_intersects(JNIEnv* env, jobject obj, jobject r) -{ - jboolean xret = (jboolean) ((TQIconViewItem*) QtSupport::getQt(env, obj))->intersects((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIconViewItem_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIconViewItem_isSelectable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIconViewItem*) QtSupport::getQt(env, obj))->isSelectable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIconViewItem_isSelected(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIconViewItem*) QtSupport::getQt(env, obj))->isSelected(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QIconViewItem_key(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQIconViewItem*) QtSupport::getQt(env, obj))->key(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_moveBy__II(JNIEnv* env, jobject obj, jint dx, jint dy) -{ - ((TQIconViewItem*) QtSupport::getQt(env, obj))->moveBy((int) dx, (int) dy); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_moveBy__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject pnt) -{ - ((TQIconViewItem*) QtSupport::getQt(env, obj))->moveBy((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pnt)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIconViewItem_move__II(JNIEnv* env, jobject obj, jint x, jint y) -{ - jboolean xret = (jboolean) ((TQIconViewItem*) QtSupport::getQt(env, obj))->move((int) x, (int) y); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIconViewItem_move__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject pnt) -{ - jboolean xret = (jboolean) ((TQIconViewItem*) QtSupport::getQt(env, obj))->move((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pnt)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_newTQIconViewItem__Lorg_kde_qt_QIconView_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_newTQIconViewItem__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 TQIconViewItemJBridge((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_qt_QIconViewItem_newTQIconViewItem__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 TQIconViewItemJBridge((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_qt_QIconViewItem_newTQIconViewItem__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 TQIconViewItemJBridge((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_qt_QIconViewItem_newTQIconViewItem__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 TQIconViewItemJBridge((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_qt_QIconViewItem_newTQIconViewItem__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 TQIconViewItemJBridge((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_qt_QIconViewItem_newTQIconViewItem__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 TQIconViewItemJBridge((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_qt_QIconViewItem_newTQIconViewItem__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 TQIconViewItemJBridge((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 jobject JNICALL -Java_org_kde_qt_QIconViewItem_nextItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconViewItem*) QtSupport::getQt(env, obj))->nextItem(), "org.kde.qt.TQIconViewItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_paintFocus(JNIEnv* env, jobject obj, jobject p, jobject cg) -{ - ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_paintFocus((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_paintItem(JNIEnv* env, jobject obj, jobject p, jobject cg) -{ - ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_paintItem((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QIconViewItem_picture(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconViewItem*) QtSupport::getQt(env, obj))->picture(), "org.kde.qt.TQPicture"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QIconViewItem_pixmapRect__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQIconViewItem*) QtSupport::getQt(env, obj))->pixmapRect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QIconViewItem_pixmapRect__Z(JNIEnv* env, jobject obj, jboolean relative) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQIconViewItem*) QtSupport::getQt(env, obj))->pixmapRect((bool) relative)), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QIconViewItem_pixmap(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconViewItem*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QIconViewItem_pos(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQIconViewItem*) QtSupport::getQt(env, obj))->pos()), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QIconViewItem_prevItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconViewItem*) QtSupport::getQt(env, obj))->prevItem(), "org.kde.qt.TQIconViewItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QIconViewItem_rect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQIconViewItem*) QtSupport::getQt(env, obj))->rect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_removeRenameBox(JNIEnv* env, jobject obj) -{ - ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_removeRenameBox(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIconViewItem_renameEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIconViewItem*) QtSupport::getQt(env, obj))->renameEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_rename(JNIEnv* env, jobject obj) -{ - ((TQIconViewItem*) QtSupport::getQt(env, obj))->rename(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_repaint(JNIEnv* env, jobject obj) -{ - ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->public_repaint(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QIconViewItem_rtti(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIconViewItem*) QtSupport::getQt(env, obj))->rtti(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_setDragEnabled(JNIEnv* env, jobject obj, jboolean allow) -{ - ((TQIconViewItem*) QtSupport::getQt(env, obj))->setDragEnabled((bool) allow); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_setDropEnabled(JNIEnv* env, jobject obj, jboolean allow) -{ - ((TQIconViewItem*) QtSupport::getQt(env, obj))->setDropEnabled((bool) allow); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_setItemRect(JNIEnv* env, jobject obj, jobject r) -{ - ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_setItemRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_setKey(JNIEnv* env, jobject obj, jstring k) -{ -static TQString* _qstring_k = 0; - ((TQIconViewItem*) QtSupport::getQt(env, obj))->setKey((const TQString&)*(TQString*) QtSupport::toTQString(env, k, &_qstring_k)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_setPicture(JNIEnv* env, jobject obj, jobject icon) -{ - ((TQIconViewItem*) QtSupport::getQt(env, obj))->setPicture((const TQPicture&)*(const TQPicture*) QtSupport::getQt(env, icon)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_setPixmapRect(JNIEnv* env, jobject obj, jobject r) -{ - ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_setPixmapRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_setPixmap__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject icon) -{ - ((TQIconViewItem*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_setPixmap__Lorg_kde_qt_QPixmap_2Z(JNIEnv* env, jobject obj, jobject icon, jboolean recalc) -{ - ((TQIconViewItem*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (bool) recalc); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_setPixmap__Lorg_kde_qt_QPixmap_2ZZ(JNIEnv* env, jobject obj, jobject icon, jboolean recalc, jboolean redraw) -{ - ((TQIconViewItem*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (bool) recalc, (bool) redraw); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_setRenameEnabled(JNIEnv* env, jobject obj, jboolean allow) -{ - ((TQIconViewItem*) QtSupport::getQt(env, obj))->setRenameEnabled((bool) allow); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_setSelectable(JNIEnv* env, jobject obj, jboolean s) -{ - ((TQIconViewItem*) QtSupport::getQt(env, obj))->setSelectable((bool) s); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_setSelected__Z(JNIEnv* env, jobject obj, jboolean s) -{ - ((TQIconViewItem*) QtSupport::getQt(env, obj))->setSelected((bool) s); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_setSelected__ZZ(JNIEnv* env, jobject obj, jboolean s, jboolean cb) -{ - ((TQIconViewItem*) QtSupport::getQt(env, obj))->setSelected((bool) s, (bool) cb); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_setTextRect(JNIEnv* env, jobject obj, jobject r) -{ - ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_setTextRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_setText__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TQIconViewItem*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_setText__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring text, jboolean recalc) -{ -static TQString* _qstring_text = 0; - ((TQIconViewItem*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool) recalc); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_setText__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring text, jboolean recalc, jboolean redraw) -{ -static TQString* _qstring_text = 0; - ((TQIconViewItem*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool) recalc, (bool) redraw); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QIconViewItem_size(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQIconViewItem*) QtSupport::getQt(env, obj))->size()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QIconViewItem_tempText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_tempText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QIconViewItem_textRect__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQIconViewItem*) QtSupport::getQt(env, obj))->textRect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QIconViewItem_textRect__Z(JNIEnv* env, jobject obj, jboolean relative) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQIconViewItem*) QtSupport::getQt(env, obj))->textRect((bool) relative)), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QIconViewItem_text(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQIconViewItem*) QtSupport::getQt(env, obj))->text(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QIconViewItem_width(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIconViewItem*) QtSupport::getQt(env, obj))->width(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QIconViewItem_x(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIconViewItem*) QtSupport::getQt(env, obj))->x(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QIconViewItem_y(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIconViewItem*) QtSupport::getQt(env, obj))->y(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QIconViewItem.h b/qtjava/javalib/qtjava/QIconViewItem.h deleted file mode 100644 index 29f428d0..00000000 --- a/qtjava/javalib/qtjava/QIconViewItem.h +++ /dev/null @@ -1,90 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QIconViewItem__ -#define __org_kde_qt_QIconViewItem__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_newTQIconViewItem__Lorg_kde_qt_QIconView_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_newTQIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_newTQIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_newTQIconViewItem__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_qt_QIconViewItem_newTQIconViewItem__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_qt_QIconViewItem_newTQIconViewItem__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_qt_QIconViewItem_newTQIconViewItem__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_qt_QIconViewItem_newTQIconViewItem__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_qt_QIconViewItem_setRenameEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_setDragEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_setDropEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QIconViewItem_text (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconViewItem_pixmap (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconViewItem_picture (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QIconViewItem_key (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconViewItem_renameEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconViewItem_dragEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconViewItem_dropEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconViewItem_iconView (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconViewItem_prevItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconViewItem_nextItem (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIconViewItem_index (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_setSelected__ZZ (JNIEnv *env, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_setSelected__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_setSelectable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconViewItem_isSelected (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconViewItem_isSelectable (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_repaint (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconViewItem_move__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_moveBy__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconViewItem_move__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_moveBy__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconViewItem_rect (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIconViewItem_x (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIconViewItem_y (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIconViewItem_width (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIconViewItem_height (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconViewItem_size (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconViewItem_pos (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconViewItem_textRect__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconViewItem_textRect__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconViewItem_pixmapRect__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconViewItem_pixmapRect__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconViewItem_contains (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconViewItem_intersects (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconViewItem_acceptDrop (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_rename (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIconViewItem_compare (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_setText__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_setPixmap__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_setPicture (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_setText__Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_setText__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_setPixmap__Lorg_kde_qt_QPixmap_2ZZ (JNIEnv *env, jobject, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_setPixmap__Lorg_kde_qt_QPixmap_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_setKey (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIconViewItem_rtti (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_removeRenameBox (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_calcRect__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_calcRect__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_paintItem (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_paintFocus (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_dragEntered (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_dragLeft (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_setItemRect (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_setTextRect (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_setPixmapRect (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_calcTmpText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QIconViewItem_tempText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconViewItem_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QIconViewItem__ */ diff --git a/qtjava/javalib/qtjava/QImage.cpp b/qtjava/javalib/qtjava/QImage.cpp deleted file mode 100644 index ac79373b..00000000 --- a/qtjava/javalib/qtjava/QImage.cpp +++ /dev/null @@ -1,908 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQImageJBridge : public TQImage -{ -public: - TQImageJBridge() : TQImage() {}; - TQImageJBridge(int arg1,int arg2,int arg3,int arg4,TQImage::Endian arg5) : TQImage(arg1,arg2,arg3,arg4,arg5) {}; - TQImageJBridge(int arg1,int arg2,int arg3,int arg4) : TQImage(arg1,arg2,arg3,arg4) {}; - TQImageJBridge(int arg1,int arg2,int arg3) : TQImage(arg1,arg2,arg3) {}; - TQImageJBridge(const TQSize& arg1,int arg2,int arg3,TQImage::Endian arg4) : TQImage(arg1,arg2,arg3,arg4) {}; - TQImageJBridge(const TQSize& arg1,int arg2,int arg3) : TQImage(arg1,arg2,arg3) {}; - TQImageJBridge(const TQSize& arg1,int arg2) : TQImage(arg1,arg2) {}; - TQImageJBridge(const TQString& arg1,const char* arg2) : TQImage(arg1,arg2) {}; - TQImageJBridge(const TQString& arg1) : TQImage(arg1) {}; - TQImageJBridge(const TQByteArray& arg1) : TQImage(arg1) {}; - TQImageJBridge(uchar* arg1,int arg2,int arg3,int arg4,TQRgb* arg5,int arg6,TQImage::Endian arg7) : TQImage(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TQImageJBridge(const TQImage& arg1) : TQImage(arg1) {}; - ~TQImageJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QImage_allGray(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->allGray(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QImage_bitOrder(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->bitOrder(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QImage_bytesPerLine(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->bytesPerLine(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QImage_color(JNIEnv* env, jobject obj, jint i) -{ - jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->color((int) i); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImage_convertBitOrder(JNIEnv* env, jobject obj, jint arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->convertBitOrder((TQImage::Endian) arg1)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImage_convertDepthWithPalette__I_3II(JNIEnv* env, jobject obj, jint arg1, jintArray p, jint pc) -{ - int* _int_p = QtSupport::toIntPtr(env, p); - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->convertDepthWithPalette((int) arg1, (TQRgb*) _int_p, (int) pc)), "org.kde.qt.TQImage", TRUE); - env->SetIntArrayRegion(p, 0, 1, (jint *) _int_p); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImage_convertDepthWithPalette__I_3III(JNIEnv* env, jobject obj, jint arg1, jintArray p, jint pc, jint cf) -{ - int* _int_p = QtSupport::toIntPtr(env, p); - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->convertDepthWithPalette((int) arg1, (TQRgb*) _int_p, (int) pc, (int) cf)), "org.kde.qt.TQImage", TRUE); - env->SetIntArrayRegion(p, 0, 1, (jint *) _int_p); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImage_convertDepth__I(JNIEnv* env, jobject obj, jint arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->convertDepth((int) arg1)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImage_convertDepth__II(JNIEnv* env, jobject obj, jint arg1, jint conversion_flags) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->convertDepth((int) arg1, (int) conversion_flags)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImage_copy__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->copy()), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImage_copy__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->copy((int) x, (int) y, (int) w, (int) h)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImage_copy__IIIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint conversion_flags) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->copy((int) x, (int) y, (int) w, (int) h, (int) conversion_flags)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImage_copy__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->copy((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImage_createAlphaMask__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->createAlphaMask()), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImage_createAlphaMask__I(JNIEnv* env, jobject obj, jint conversion_flags) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->createAlphaMask((int) conversion_flags)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImage_createHeuristicMask__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->createHeuristicMask()), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImage_createHeuristicMask__Z(JNIEnv* env, jobject obj, jboolean clipTight) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->createHeuristicMask((bool) clipTight)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QImage_create__III(JNIEnv* env, jobject obj, jint width, jint height, jint depth) -{ - jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->create((int) width, (int) height, (int) depth); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QImage_create__IIII(JNIEnv* env, jobject obj, jint width, jint height, jint depth, jint numColors) -{ - jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->create((int) width, (int) height, (int) depth, (int) numColors); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QImage_create__IIIII(JNIEnv* env, jobject obj, jint width, jint height, jint depth, jint numColors, jint bitOrder) -{ - jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->create((int) width, (int) height, (int) depth, (int) numColors, (TQImage::Endian) bitOrder); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QImage_create__Lorg_kde_qt_QSize_2I(JNIEnv* env, jobject obj, jobject arg1, jint depth) -{ - jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->create((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (int) depth); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QImage_create__Lorg_kde_qt_QSize_2II(JNIEnv* env, jobject obj, jobject arg1, jint depth, jint numColors) -{ - jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->create((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (int) depth, (int) numColors); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QImage_create__Lorg_kde_qt_QSize_2III(JNIEnv* env, jobject obj, jobject arg1, jint depth, jint numColors, jint bitOrder) -{ - jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->create((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (int) depth, (int) numColors, (TQImage::Endian) bitOrder); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QImage_depth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->depth(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImage_detach(JNIEnv* env, jobject obj) -{ - ((TQImage*) QtSupport::getQt(env, obj))->detach(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImage_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QImage_finalize(env, obj); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QImage_dotsPerMeterX(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->dotsPerMeterX(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QImage_dotsPerMeterY(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->dotsPerMeterY(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImage_fill(JNIEnv* env, jobject obj, jint pixel) -{ - ((TQImage*) QtSupport::getQt(env, obj))->fill((uint) pixel); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImage_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQImage*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImage_fromMimeSource(JNIEnv* env, jclass cls, jstring abs_name) -{ - (void) cls; -static TQString* _qstring_abs_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(TQImageJBridge::fromMimeSource((const TQString&)*(TQString*) QtSupport::toTQString(env, abs_name, &_qstring_abs_name))), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QImage_hasAlphaBuffer(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->hasAlphaBuffer(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QImage_height(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->height(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QImage_imageFormat(JNIEnv* env, jclass cls, jstring fileName) -{ - const char* _qstring; - (void) cls; -static TQString* _qstring_fileName = 0; - _qstring = TQImageJBridge::imageFormat((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImage_inputFormatList(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = TQImageJBridge::inputFormatList(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImage_inputFormats(JNIEnv* env, jclass cls) -{ - TQStrList _qlist; - (void) cls; - _qlist = TQImageJBridge::inputFormats(); - return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImage_invertPixels__(JNIEnv* env, jobject obj) -{ - ((TQImage*) QtSupport::getQt(env, obj))->invertPixels(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImage_invertPixels__Z(JNIEnv* env, jobject obj, jboolean invertAlpha) -{ - ((TQImage*) QtSupport::getQt(env, obj))->invertPixels((bool) invertAlpha); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QImage_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QImage_isGrayscale(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->isGrayscale(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QImage_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImage_jumpTable(JNIEnv* env, jobject obj) -{ - uchar** _qlist; - _qlist = ((TQImage*) QtSupport::getQt(env, obj))->jumpTable(); - return (jobject) _qlist; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QImage_loadFromData___3B(JNIEnv* env, jobject obj, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->loadFromData((TQByteArray)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QImage_loadFromData___3BLjava_lang_String_2(JNIEnv* env, jobject obj, jbyteArray data, jstring format) -{ -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qstring_format = 0; - jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->loadFromData((TQByteArray)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (const char*) QtSupport::toCharString(env, format, &_qstring_format)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QImage_loadFromData___3CI(JNIEnv* env, jobject obj, jcharArray buf, jint len) -{ -static TQByteArray* _qbytearray_buf = 0; - jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->loadFromData((const uchar*) QtSupport::toUcharArray(env, buf, &_qbytearray_buf), (uint) len); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QImage_loadFromData___3CILjava_lang_String_2(JNIEnv* env, jobject obj, jcharArray buf, jint len, jstring format) -{ -static TQByteArray* _qbytearray_buf = 0; -static TQCString* _qstring_format = 0; - jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->loadFromData((const uchar*) QtSupport::toUcharArray(env, buf, &_qbytearray_buf), (uint) len, (const char*) QtSupport::toCharString(env, format, &_qstring_format)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QImage_load__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName) -{ -static TQString* _qstring_fileName = 0; - jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->load((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QImage_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) ((TQImage*) 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 jobject JNICALL -Java_org_kde_qt_QImage_mirror__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->mirror()), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImage_mirror__ZZ(JNIEnv* env, jobject obj, jboolean horizontally, jboolean vertically) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->mirror((bool) horizontally, (bool) vertically)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImage_newTQImage__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQImageJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImage_newTQImage__III(JNIEnv* env, jobject obj, jint width, jint height, jint depth) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQImageJBridge((int) width, (int) height, (int) depth)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImage_newTQImage__IIII(JNIEnv* env, jobject obj, jint width, jint height, jint depth, jint numColors) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQImageJBridge((int) width, (int) height, (int) depth, (int) numColors)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImage_newTQImage__IIIII(JNIEnv* env, jobject obj, jint width, jint height, jint depth, jint numColors, jint bitOrder) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQImageJBridge((int) width, (int) height, (int) depth, (int) numColors, (TQImage::Endian) bitOrder)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImage_newTQImage__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 TQImageJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImage_newTQImage__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; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQImageJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImage_newTQImage__Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQImageJBridge((const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImage_newTQImage__Lorg_kde_qt_QSize_2I(JNIEnv* env, jobject obj, jobject arg1, jint depth) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQImageJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (int) depth)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImage_newTQImage__Lorg_kde_qt_QSize_2II(JNIEnv* env, jobject obj, jobject arg1, jint depth, jint numColors) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQImageJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (int) depth, (int) numColors)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImage_newTQImage__Lorg_kde_qt_QSize_2III(JNIEnv* env, jobject obj, jobject arg1, jint depth, jint numColors, jint bitOrder) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQImageJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (int) depth, (int) numColors, (TQImage::Endian) bitOrder)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImage_newTQImage___3B(JNIEnv* env, jobject obj, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQImageJBridge((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImage_newTQImage___3CIII_3III(JNIEnv* env, jobject obj, jcharArray data, jint w, jint h, jint depth, jintArray colortable, jint numColors, jint bitOrder) -{ -static TQByteArray* _qbytearray_data = 0; - int* _int_colortable = QtSupport::toIntPtr(env, colortable); - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQImageJBridge((uchar*) QtSupport::toUcharArray(env, data, &_qbytearray_data), (int) w, (int) h, (int) depth, (TQRgb*) _int_colortable, (int) numColors, (TQImage::Endian) bitOrder)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - env->SetIntArrayRegion(colortable, 0, 1, (jint *) _int_colortable); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QImage_numBytes(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->numBytes(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QImage_numColors(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->numColors(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImage_offset(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQImage*) QtSupport::getQt(env, obj))->offset()), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QImage_op_1equals(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->operator==((const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QImage_op_1not_1equals(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->operator!=((const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImage_outputFormatList(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = TQImageJBridge::outputFormatList(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImage_outputFormats(JNIEnv* env, jclass cls) -{ - TQStrList _qlist; - (void) cls; - _qlist = TQImageJBridge::outputFormats(); - return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QImage_pixelIndex(JNIEnv* env, jobject obj, jint x, jint y) -{ - jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->pixelIndex((int) x, (int) y); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QImage_pixel(JNIEnv* env, jobject obj, jint x, jint y) -{ - jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->pixel((int) x, (int) y); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImage_rect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQImage*) QtSupport::getQt(env, obj))->rect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImage_reset(JNIEnv* env, jobject obj) -{ - ((TQImage*) QtSupport::getQt(env, obj))->reset(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QImage_save__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) ((TQImage*) QtSupport::getQt(env, obj))->save((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_qt_QImage_save__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring fileName, jstring format, jint quality) -{ -static TQString* _qstring_fileName = 0; -static TQCString* _qstring_format = 0; - jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->save((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format), (int) quality); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QImage_save__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject device, jstring format) -{ -static TQCString* _qstring_format = 0; - jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->save((TQIODevice*) QtSupport::getQt(env, device), (const char*) QtSupport::toCharString(env, format, &_qstring_format)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QImage_save__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject device, jstring format, jint quality) -{ -static TQCString* _qstring_format = 0; - jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->save((TQIODevice*) QtSupport::getQt(env, device), (const char*) QtSupport::toCharString(env, format, &_qstring_format), (int) quality); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImage_scaleHeight(JNIEnv* env, jobject obj, jint h) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->scaleHeight((int) h)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImage_scaleWidth(JNIEnv* env, jobject obj, jint w) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->scaleWidth((int) w)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImage_scale__II(JNIEnv* env, jobject obj, jint w, jint h) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->scale((int) w, (int) h)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImage_scale__III(JNIEnv* env, jobject obj, jint w, jint h, jint mode) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->scale((int) w, (int) h, (TQImage::ScaleMode) mode)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImage_scale__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject s) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->scale((const TQSize&)*(const TQSize*) QtSupport::getQt(env, s))), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImage_scale__Lorg_kde_qt_QSize_2I(JNIEnv* env, jobject obj, jobject s, jint mode) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->scale((const TQSize&)*(const TQSize*) QtSupport::getQt(env, s), (TQImage::ScaleMode) mode)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImage_setAlphaBuffer(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQImage*) QtSupport::getQt(env, obj))->setAlphaBuffer((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImage_setColor(JNIEnv* env, jobject obj, jint i, jint c) -{ - ((TQImage*) QtSupport::getQt(env, obj))->setColor((int) i, (TQRgb) c); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImage_setDotsPerMeterX(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQImage*) QtSupport::getQt(env, obj))->setDotsPerMeterX((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImage_setDotsPerMeterY(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQImage*) QtSupport::getQt(env, obj))->setDotsPerMeterY((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImage_setNumColors(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQImage*) QtSupport::getQt(env, obj))->setNumColors((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImage_setOffset(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQImage*) QtSupport::getQt(env, obj))->setOffset((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImage_setPixel(JNIEnv* env, jobject obj, jint x, jint y, jint index_or_rgb) -{ - ((TQImage*) QtSupport::getQt(env, obj))->setPixel((int) x, (int) y, (uint) index_or_rgb); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImage_setText(JNIEnv* env, jobject obj, jstring key, jstring lang, jstring arg3) -{ -static TQCString* _qstring_key = 0; -static TQCString* _qstring_lang = 0; -static TQString* _qstring_arg3 = 0; - ((TQImage*) QtSupport::getQt(env, obj))->setText((const char*) QtSupport::toCharString(env, key, &_qstring_key), (const char*) QtSupport::toCharString(env, lang, &_qstring_lang), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImage_size(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQImage*) QtSupport::getQt(env, obj))->size()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImage_smoothScale__II(JNIEnv* env, jobject obj, jint w, jint h) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->smoothScale((int) w, (int) h)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImage_smoothScale__III(JNIEnv* env, jobject obj, jint w, jint h, jint mode) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->smoothScale((int) w, (int) h, (TQImage::ScaleMode) mode)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImage_smoothScale__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject s) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->smoothScale((const TQSize&)*(const TQSize*) QtSupport::getQt(env, s))), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImage_smoothScale__Lorg_kde_qt_QSize_2I(JNIEnv* env, jobject obj, jobject s, jint mode) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->smoothScale((const TQSize&)*(const TQSize*) QtSupport::getQt(env, s), (TQImage::ScaleMode) mode)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImage_swapRGB(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->swapRGB()), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QImage_systemBitOrder(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TQImageJBridge::systemBitOrder(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QImage_systemByteOrder(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TQImageJBridge::systemByteOrder(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImage_textKeys(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TQImage*) QtSupport::getQt(env, obj))->textKeys(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImage_textLanguages(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TQImage*) QtSupport::getQt(env, obj))->textLanguages(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QImage_text__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring key) -{ - TQString _qstring; -static TQCString* _qstring_key = 0; - _qstring = ((TQImage*) QtSupport::getQt(env, obj))->text((const char*) QtSupport::toCharString(env, key, &_qstring_key)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QImage_text__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring key, jstring lang) -{ - TQString _qstring; -static TQCString* _qstring_key = 0; -static TQCString* _qstring_lang = 0; - _qstring = ((TQImage*) QtSupport::getQt(env, obj))->text((const char*) QtSupport::toCharString(env, key, &_qstring_key), (const char*) QtSupport::toCharString(env, lang, &_qstring_lang)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QImage_text__Lorg_kde_qt_QImageTextKeyLang_2(JNIEnv* env, jobject obj, jobject arg1) -{ - TQString _qstring; - _qstring = ((TQImage*) QtSupport::getQt(env, obj))->text((const TQImageTextKeyLang&)*(const TQImageTextKeyLang*) QtSupport::getQt(env, arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QImage_valid(JNIEnv* env, jobject obj, jint x, jint y) -{ - jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->valid((int) x, (int) y); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QImage_width(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->width(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImage_xForm(JNIEnv* env, jobject obj, jobject matrix) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->xForm((const TQWMatrix&)*(const TQWMatrix*) QtSupport::getQt(env, matrix))), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_qt_QImage_bits(JNIEnv *env, jobject obj) -{ -static uchar * ptr = 0; - ptr = ((TQImageJBridge*) QtSupport::getQt(env, obj))->bits(); - int len = ((TQImageJBridge*) QtSupport::getQt(env, obj))->numBytes(); - jbyteArray result = env->NewByteArray(len); - env->SetByteArrayRegion(result, 0, len, (jbyte *) ptr); - return result; -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_qt_QImage_scanLine(JNIEnv *env, jobject obj, jint arg1) -{ -static uchar * ptr = 0; - ptr = ((TQImageJBridge*) QtSupport::getQt(env, obj))->scanLine(arg1); - int len = ((TQImageJBridge*) QtSupport::getQt(env, obj))->numBytes() / ((TQImageJBridge*) QtSupport::getQt(env, obj))->height(); - jbyteArray result = env->NewByteArray(len); - env->SetByteArrayRegion(result, 0, len, (jbyte *) ptr); - return result; -} - -JNIEXPORT jintArray JNICALL -Java_org_kde_qt_QImage_colorTable(JNIEnv *env, jobject obj) -{ -static TQRgb * ptr = 0; - ptr = ((TQImageJBridge*) QtSupport::getQt(env, obj))->colorTable(); - int len = ((TQImageJBridge*) QtSupport::getQt(env, obj))->numColors(); - jintArray result = env->NewIntArray(len); - env->SetIntArrayRegion(result, 0, len, (jint *) ptr); - return result; -} - diff --git a/qtjava/javalib/qtjava/QImage.h b/qtjava/javalib/qtjava/QImage.h deleted file mode 100644 index 47b73253..00000000 --- a/qtjava/javalib/qtjava/QImage.h +++ /dev/null @@ -1,128 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QImage__ -#define __org_kde_qt_QImage__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_newTQImage__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_newTQImage__IIIII (JNIEnv *env, jobject, jint, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_newTQImage__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_newTQImage__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_newTQImage__Lorg_kde_qt_QSize_2III (JNIEnv *env, jobject, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_newTQImage__Lorg_kde_qt_QSize_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_newTQImage__Lorg_kde_qt_QSize_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_newTQImage__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_newTQImage__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_newTQImage___3B (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_newTQImage___3CIII_3III (JNIEnv *env, jobject, jcharArray, jint, jint, jint, jintArray, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_newTQImage__Lorg_kde_qt_QImage_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_op_1not_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_detach (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_copy__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_copy__IIIII (JNIEnv *env, jobject, jint, jint, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_copy__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_copy__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_isNull (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QImage_width (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QImage_height (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_size (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_rect (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QImage_depth (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QImage_numColors (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QImage_bitOrder (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QImage_color (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_setColor (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_setNumColors (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_hasAlphaBuffer (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_setAlphaBuffer (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_allGray (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_isGrayscale (JNIEnv *env, jobject); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QImage_bits (JNIEnv *env, jobject); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QImage_scanLine (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_jumpTable (JNIEnv *env, jobject); -extern JNIEXPORT jintArray JNICALL Java_org_kde_qt_QImage_colorTable (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QImage_numBytes (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QImage_bytesPerLine (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_create__IIIII (JNIEnv *env, jobject, jint, jint, jint, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_create__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_create__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_create__Lorg_kde_qt_QSize_2III (JNIEnv *env, jobject, jobject, jint, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_create__Lorg_kde_qt_QSize_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_create__Lorg_kde_qt_QSize_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_reset (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_fill (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_invertPixels__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_invertPixels__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_convertDepth__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_convertDepthWithPalette__I_3III (JNIEnv *env, jobject, jint, jintArray, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_convertDepthWithPalette__I_3II (JNIEnv *env, jobject, jint, jintArray, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_convertDepth__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_convertBitOrder (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_smoothScale__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_smoothScale__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_smoothScale__Lorg_kde_qt_QSize_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_smoothScale__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_scale__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_scale__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_scale__Lorg_kde_qt_QSize_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_scale__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_scaleWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_scaleHeight (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_xForm (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_createAlphaMask__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_createAlphaMask__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_createHeuristicMask__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_createHeuristicMask__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_mirror__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_mirror__ZZ (JNIEnv *env, jobject, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_swapRGB (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_load__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_load__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_loadFromData___3CILjava_lang_String_2 (JNIEnv *env, jobject, jcharArray, jint, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_loadFromData___3CI (JNIEnv *env, jobject, jcharArray, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_loadFromData___3BLjava_lang_String_2 (JNIEnv *env, jobject, jbyteArray, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_loadFromData___3B (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_save__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_save__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_save__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_save__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_valid (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QImage_pixelIndex (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QImage_pixel (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_setPixel (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QImage_dotsPerMeterX (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QImage_dotsPerMeterY (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_setDotsPerMeterX (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_setDotsPerMeterY (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_offset (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_setOffset (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_textLanguages (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_textKeys (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QImage_text__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QImage_text__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QImage_text__Lorg_kde_qt_QImageTextKeyLang_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_setText (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_fromMimeSource (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QImage_systemBitOrder (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QImage_systemByteOrder (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QImage_imageFormat (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_inputFormats (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_outputFormats (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_inputFormatList (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_outputFormatList (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QImage__ */ diff --git a/qtjava/javalib/qtjava/QImageConsumer.cpp b/qtjava/javalib/qtjava/QImageConsumer.cpp deleted file mode 100644 index 495c99ab..00000000 --- a/qtjava/javalib/qtjava/QImageConsumer.cpp +++ /dev/null @@ -1,57 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImageConsumer_changed(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQImageConsumer*) QtSupport::getQt(env, obj))->changed((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImageConsumer_end(JNIEnv* env, jobject obj) -{ - ((TQImageConsumer*) QtSupport::getQt(env, obj))->end(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImageConsumer_frameDone__(JNIEnv* env, jobject obj) -{ - ((TQImageConsumer*) QtSupport::getQt(env, obj))->frameDone(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImageConsumer_frameDone__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - ((TQImageConsumer*) QtSupport::getQt(env, obj))->frameDone((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImageConsumer_setFramePeriod(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQImageConsumer*) QtSupport::getQt(env, obj))->setFramePeriod((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImageConsumer_setLooping(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQImageConsumer*) QtSupport::getQt(env, obj))->setLooping((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImageConsumer_setSize(JNIEnv* env, jobject obj, jint arg1, jint arg2) -{ - ((TQImageConsumer*) QtSupport::getQt(env, obj))->setSize((int) arg1, (int) arg2); - return; -} - diff --git a/qtjava/javalib/qtjava/QImageConsumer.h b/qtjava/javalib/qtjava/QImageConsumer.h deleted file mode 100644 index cb071fdd..00000000 --- a/qtjava/javalib/qtjava/QImageConsumer.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QImageConsumer__ -#define __org_kde_qt_QImageConsumer__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageConsumer_end (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageConsumer_changed (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageConsumer_frameDone__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageConsumer_frameDone__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageConsumer_setLooping (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageConsumer_setFramePeriod (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageConsumer_setSize (JNIEnv *env, jobject, jint, jint); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QImageConsumer__ */ diff --git a/qtjava/javalib/qtjava/QImageDecoder.cpp b/qtjava/javalib/qtjava/QImageDecoder.cpp deleted file mode 100644 index b1d981d5..00000000 --- a/qtjava/javalib/qtjava/QImageDecoder.cpp +++ /dev/null @@ -1,107 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQImageDecoderJBridge : public TQImageDecoder -{ -public: - TQImageDecoderJBridge(TQImageConsumer* arg1) : TQImageDecoder(arg1) {}; - ~TQImageDecoderJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QImageDecoder_decode(JNIEnv* env, jobject obj, jcharArray buffer, jint length) -{ -static TQByteArray* _qbytearray_buffer = 0; - jint xret = (jint) ((TQImageDecoder*) QtSupport::getQt(env, obj))->decode((const uchar*) QtSupport::toUcharArray(env, buffer, &_qbytearray_buffer), (int) length); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImageDecoder_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QImageDecoder_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImageDecoder_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQImageDecoder*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QImageDecoder_formatName(JNIEnv* env, jclass cls, jcharArray buffer, jint length) -{ - const char* _qstring; - (void) cls; -static TQByteArray* _qbytearray_buffer = 0; - _qstring = TQImageDecoderJBridge::formatName((const uchar*) QtSupport::toUcharArray(env, buffer, &_qbytearray_buffer), (int) length); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImageDecoder_format(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQImageDecoderJBridge::format((const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.qt.TQImageFormatType"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImageDecoder_image(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &((TQImageDecoder*) QtSupport::getQt(env, obj))->image(), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImageDecoder_inputFormats(JNIEnv* env, jclass cls) -{ - TQStrList _qlist; - (void) cls; - _qlist = TQImageDecoderJBridge::inputFormats(); - return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QImageDecoder_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImageDecoder_newTQImageDecoder(JNIEnv* env, jobject obj, jobject c) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQImageDecoderJBridge((TQImageConsumer*) QtSupport::getQt(env, c))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImageDecoder_registerDecoderFactory(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - TQImageDecoderJBridge::registerDecoderFactory((TQImageFormatType*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImageDecoder_unregisterDecoderFactory(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - TQImageDecoderJBridge::unregisterDecoderFactory((TQImageFormatType*) QtSupport::getQt(env, arg1)); - return; -} - diff --git a/qtjava/javalib/qtjava/QImageDecoder.h b/qtjava/javalib/qtjava/QImageDecoder.h deleted file mode 100644 index f7921501..00000000 --- a/qtjava/javalib/qtjava/QImageDecoder.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QImageDecoder__ -#define __org_kde_qt_QImageDecoder__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageDecoder_newTQImageDecoder (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImageDecoder_image (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QImageDecoder_decode (JNIEnv *env, jobject, jcharArray, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QImageDecoder_formatName (JNIEnv *env, jclass, jcharArray, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImageDecoder_format (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImageDecoder_inputFormats (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageDecoder_registerDecoderFactory (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageDecoder_unregisterDecoderFactory (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageDecoder_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageDecoder_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImageDecoder_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QImageDecoder__ */ diff --git a/qtjava/javalib/qtjava/QImageDrag.cpp b/qtjava/javalib/qtjava/QImageDrag.cpp deleted file mode 100644 index 4aa4e8d8..00000000 --- a/qtjava/javalib/qtjava/QImageDrag.cpp +++ /dev/null @@ -1,234 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include - -class TQImageDragJBridge : public TQImageDrag -{ -public: - TQImageDragJBridge(TQImage arg1,TQWidget* arg2,const char* arg3) : TQImageDrag(arg1,arg2,arg3) {}; - TQImageDragJBridge(TQImage arg1,TQWidget* arg2) : TQImageDrag(arg1,arg2) {}; - TQImageDragJBridge(TQImage arg1) : TQImageDrag(arg1) {}; - TQImageDragJBridge(TQWidget* arg1,const char* arg2) : TQImageDrag(arg1,arg2) {}; - TQImageDragJBridge(TQWidget* arg1) : TQImageDrag(arg1) {}; - TQImageDragJBridge() : TQImageDrag() {}; - ~TQImageDragJBridge() {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 setImage(TQImage arg1) { - if (!QtSupport::eventDelegate(this,"setImage",(void*)&arg1,"org.kde.qt.TQImage")) { - TQImageDrag::setImage(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQImageDrag",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QImageDrag_canDecode(JNIEnv* env, jclass cls, jobject e) -{ - (void) cls; - jboolean xret = (jboolean) TQImageDragJBridge::canDecode((const TQMimeSource*) QtSupport::mimeSource(env, e)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QImageDrag_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQImageDrag*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QImageDrag_decode__Lorg_kde_qt_QMimeSourceInterface_2Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject e, jobject i) -{ - (void) cls; - jboolean xret = (jboolean) TQImageDragJBridge::decode((const TQMimeSource*) QtSupport::mimeSource(env, e), (TQImage&)*(TQImage*) QtSupport::getQt(env, i)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QImageDrag_decode__Lorg_kde_qt_QMimeSourceInterface_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jclass cls, jobject e, jobject i) -{ - (void) cls; - jboolean xret = (jboolean) TQImageDragJBridge::decode((const TQMimeSource*) QtSupport::mimeSource(env, e), (TQPixmap&)*(TQPixmap*) QtSupport::getQt(env, i)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImageDrag_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QImageDrag_finalize(env, obj); - return; -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_qt_QImageDrag_encodedData(JNIEnv* env, jobject obj, jstring arg1) -{ - TQByteArray _qbyteArray; -static TQCString* _qstring_arg1 = 0; - _qbyteArray = ((TQImageDrag*) QtSupport::getQt(env, obj))->encodedData((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImageDrag_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQImageDrag*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQImageDrag*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QImageDrag_format(JNIEnv* env, jobject obj, jint i) -{ - const char* _qstring; - _qstring = ((TQImageDrag*) QtSupport::getQt(env, obj))->format((int) i); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QImageDrag_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImageDrag_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQImageDrag*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImageDrag_newTQImageDrag__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQImageDragJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImageDrag_newTQImageDrag__Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject image) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQImageDragJBridge((TQImage)*(TQImage*) QtSupport::getQt(env, image))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImageDrag_newTQImageDrag__Lorg_kde_qt_QImage_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject image, jobject dragSource) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQImageDragJBridge((TQImage)*(TQImage*) QtSupport::getQt(env, image), (TQWidget*) QtSupport::getQt(env, dragSource))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImageDrag_newTQImageDrag__Lorg_kde_qt_QImage_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject image, jobject dragSource, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQImageDragJBridge((TQImage)*(TQImage*) QtSupport::getQt(env, image), (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_qt_QImageDrag_newTQImageDrag__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject dragSource) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQImageDragJBridge((TQWidget*) QtSupport::getQt(env, dragSource))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImageDrag_newTQImageDrag__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 TQImageDragJBridge((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_qt_QImageDrag_setImage(JNIEnv* env, jobject obj, jobject image) -{ - ((TQImageDrag*) QtSupport::getQt(env, obj))->setImage((TQImage)*(TQImage*) QtSupport::getQt(env, image)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QImageDrag_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQImageDragJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QImageDrag_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQImageDragJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QImageDrag.h b/qtjava/javalib/qtjava/QImageDrag.h deleted file mode 100644 index 5fd18d6f..00000000 --- a/qtjava/javalib/qtjava/QImageDrag.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QImageDrag__ -#define __org_kde_qt_QImageDrag__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImageDrag_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QImageDrag_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageDrag_newTQImageDrag__Lorg_kde_qt_QImage_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageDrag_newTQImageDrag__Lorg_kde_qt_QImage_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageDrag_newTQImageDrag__Lorg_kde_qt_QImage_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageDrag_newTQImageDrag__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageDrag_newTQImageDrag__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageDrag_newTQImageDrag__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageDrag_setImage (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QImageDrag_format (JNIEnv *env, jobject, jint); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QImageDrag_encodedData (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QImageDrag_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QImageDrag_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImageDrag_canDecode (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImageDrag_decode__Lorg_kde_qt_QMimeSourceInterface_2Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImageDrag_decode__Lorg_kde_qt_QMimeSourceInterface_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageDrag_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageDrag_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImageDrag_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QImageDrag__ */ diff --git a/qtjava/javalib/qtjava/QImageFormat.cpp b/qtjava/javalib/qtjava/QImageFormat.cpp deleted file mode 100644 index e26a7523..00000000 --- a/qtjava/javalib/qtjava/QImageFormat.cpp +++ /dev/null @@ -1,15 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QImageFormat_decode(JNIEnv* env, jobject obj, jobject img, jobject consumer, jcharArray buffer, jint length) -{ -static TQByteArray* _qbytearray_buffer = 0; - jint xret = (jint) ((TQImageFormat*) QtSupport::getQt(env, obj))->decode((TQImage&)*(TQImage*) QtSupport::getQt(env, img), (TQImageConsumer*) QtSupport::getQt(env, consumer), (const uchar*) QtSupport::toUcharArray(env, buffer, &_qbytearray_buffer), (int) length); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QImageFormat.h b/qtjava/javalib/qtjava/QImageFormat.h deleted file mode 100644 index 70deaa98..00000000 --- a/qtjava/javalib/qtjava/QImageFormat.h +++ /dev/null @@ -1,19 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QImageFormat__ -#define __org_kde_qt_QImageFormat__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QImageFormat_decode (JNIEnv *env, jobject, jobject, jobject, jcharArray, jint); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QImageFormat__ */ diff --git a/qtjava/javalib/qtjava/QImageFormatType.cpp b/qtjava/javalib/qtjava/QImageFormatType.cpp deleted file mode 100644 index e41d4f6d..00000000 --- a/qtjava/javalib/qtjava/QImageFormatType.cpp +++ /dev/null @@ -1,22 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImageFormatType_decoderFor(JNIEnv* env, jobject obj, jcharArray buffer, jint length) -{ -static TQByteArray* _qbytearray_buffer = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQImageFormatType*) QtSupport::getQt(env, obj))->decoderFor((const uchar*) QtSupport::toUcharArray(env, buffer, &_qbytearray_buffer), (int) length), "org.kde.qt.TQImageFormat"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QImageFormatType_formatName(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQImageFormatType*) QtSupport::getQt(env, obj))->formatName(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - diff --git a/qtjava/javalib/qtjava/QImageFormatType.h b/qtjava/javalib/qtjava/QImageFormatType.h deleted file mode 100644 index 11b91e26..00000000 --- a/qtjava/javalib/qtjava/QImageFormatType.h +++ /dev/null @@ -1,20 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QImageFormatType__ -#define __org_kde_qt_QImageFormatType__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImageFormatType_decoderFor (JNIEnv *env, jobject, jcharArray, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QImageFormatType_formatName (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QImageFormatType__ */ diff --git a/qtjava/javalib/qtjava/QImageIO.cpp b/qtjava/javalib/qtjava/QImageIO.cpp deleted file mode 100644 index 95c8fb73..00000000 --- a/qtjava/javalib/qtjava/QImageIO.cpp +++ /dev/null @@ -1,258 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQImageIOJBridge : public TQImageIO -{ -public: - TQImageIOJBridge() : TQImageIO() {}; - TQImageIOJBridge(TQIODevice* arg1,const char* arg2) : TQImageIO(arg1,arg2) {}; - TQImageIOJBridge(const TQString& arg1,const char* arg2) : TQImageIO(arg1,arg2) {}; - ~TQImageIOJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QImageIO_description(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQImageIO*) QtSupport::getQt(env, obj))->description(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImageIO_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QImageIO_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QImageIO_fileName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQImageIO*) QtSupport::getQt(env, obj))->fileName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImageIO_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQImageIO*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QImageIO_format(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQImageIO*) QtSupport::getQt(env, obj))->format(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jfloat JNICALL -Java_org_kde_qt_QImageIO_gamma(JNIEnv* env, jobject obj) -{ - jfloat xret = (jfloat) ((TQImageIO*) QtSupport::getQt(env, obj))->gamma(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QImageIO_imageFormat__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring fileName) -{ - const char* _qstring; - (void) cls; -static TQString* _qstring_fileName = 0; - _qstring = TQImageIOJBridge::imageFormat((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QImageIO_imageFormat__Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jclass cls, jobject arg1) -{ - const char* _qstring; - (void) cls; - _qstring = TQImageIOJBridge::imageFormat((TQIODevice*) QtSupport::getQt(env, arg1)); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImageIO_image(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &((TQImageIO*) QtSupport::getQt(env, obj))->image(), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImageIO_inputFormats(JNIEnv* env, jclass cls) -{ - TQStrList _qlist; - (void) cls; - _qlist = TQImageIOJBridge::inputFormats(); - return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImageIO_ioDevice(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQImageIO*) QtSupport::getQt(env, obj))->ioDevice(), "org.kde.qt.TQIODeviceInterface"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QImageIO_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImageIO_newTQImageIO__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQImageIOJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImageIO_newTQImageIO__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; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQImageIOJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImageIO_newTQImageIO__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject ioDevice, jstring format) -{ -static TQCString* _qstring_format = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQImageIOJBridge((TQIODevice*) QtSupport::getQt(env, ioDevice), (const char*) QtSupport::toCharString(env, format, &_qstring_format))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImageIO_outputFormats(JNIEnv* env, jclass cls) -{ - TQStrList _qlist; - (void) cls; - _qlist = TQImageIOJBridge::outputFormats(); - return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QImageIO_parameters(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQImageIO*) QtSupport::getQt(env, obj))->parameters(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QImageIO_quality(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQImageIO*) QtSupport::getQt(env, obj))->quality(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QImageIO_read(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQImageIO*) QtSupport::getQt(env, obj))->read(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImageIO_setDescription(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQImageIO*) QtSupport::getQt(env, obj))->setDescription((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImageIO_setFileName(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQImageIO*) QtSupport::getQt(env, obj))->setFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImageIO_setFormat(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQCString* _qstring_arg1 = 0; - ((TQImageIO*) QtSupport::getQt(env, obj))->setFormat((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImageIO_setGamma(JNIEnv* env, jobject obj, jfloat arg1) -{ - ((TQImageIO*) QtSupport::getQt(env, obj))->setGamma((float) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImageIO_setIODevice(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQImageIO*) QtSupport::getQt(env, obj))->setIODevice((TQIODevice*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImageIO_setImage(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQImageIO*) QtSupport::getQt(env, obj))->setImage((const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImageIO_setParameters(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQCString* _qstring_arg1 = 0; - ((TQImageIO*) QtSupport::getQt(env, obj))->setParameters((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImageIO_setQuality(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQImageIO*) QtSupport::getQt(env, obj))->setQuality((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImageIO_setStatus(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQImageIO*) QtSupport::getQt(env, obj))->setStatus((int) arg1); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QImageIO_status(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQImageIO*) QtSupport::getQt(env, obj))->status(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QImageIO_write(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQImageIO*) QtSupport::getQt(env, obj))->write(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QImageIO.h b/qtjava/javalib/qtjava/QImageIO.h deleted file mode 100644 index 2fc79d2e..00000000 --- a/qtjava/javalib/qtjava/QImageIO.h +++ /dev/null @@ -1,48 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QImageIO__ -#define __org_kde_qt_QImageIO__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageIO_newTQImageIO__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageIO_newTQImageIO__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageIO_newTQImageIO__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImageIO_image (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QImageIO_status (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QImageIO_format (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImageIO_ioDevice (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QImageIO_fileName (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QImageIO_quality (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QImageIO_description (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QImageIO_parameters (JNIEnv *env, jobject); -extern JNIEXPORT jfloat JNICALL Java_org_kde_qt_QImageIO_gamma (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageIO_setImage (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageIO_setStatus (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageIO_setFormat (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageIO_setIODevice (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageIO_setFileName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageIO_setQuality (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageIO_setDescription (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageIO_setParameters (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageIO_setGamma (JNIEnv *env, jobject, jfloat); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImageIO_read (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImageIO_write (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QImageIO_imageFormat__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QImageIO_imageFormat__Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImageIO_inputFormats (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImageIO_outputFormats (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageIO_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageIO_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImageIO_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QImageIO__ */ diff --git a/qtjava/javalib/qtjava/QImageTextKeyLang.cpp b/qtjava/javalib/qtjava/QImageTextKeyLang.cpp deleted file mode 100644 index f4fed913..00000000 --- a/qtjava/javalib/qtjava/QImageTextKeyLang.cpp +++ /dev/null @@ -1,73 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - -class TQImageTextKeyLangJBridge : public TQImageTextKeyLang -{ -public: - TQImageTextKeyLangJBridge(const char* arg1,const char* arg2) : TQImageTextKeyLang(arg1,arg2) {}; - TQImageTextKeyLangJBridge() : TQImageTextKeyLang() {}; - ~TQImageTextKeyLangJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImageTextKeyLang_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QImageTextKeyLang_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImageTextKeyLang_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQImageTextKeyLang*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QImageTextKeyLang_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImageTextKeyLang_newTQImageTextKeyLang__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQImageTextKeyLangJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QImageTextKeyLang_newTQImageTextKeyLang__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring k, jstring l) -{ -static TQCString* _qstring_k = 0; -static TQCString* _qstring_l = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQImageTextKeyLangJBridge((const char*) QtSupport::toCharString(env, k, &_qstring_k), (const char*) QtSupport::toCharString(env, l, &_qstring_l))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QImageTextKeyLang_op_1equals(JNIEnv* env, jobject obj, jobject other) -{ - jboolean xret = (jboolean) ((TQImageTextKeyLang*) QtSupport::getQt(env, obj))->operator==((const TQImageTextKeyLang&)*(const TQImageTextKeyLang*) QtSupport::getQt(env, other)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QImageTextKeyLang_op_1lt(JNIEnv* env, jobject obj, jobject other) -{ - jboolean xret = (jboolean) ((TQImageTextKeyLang*) QtSupport::getQt(env, obj))->operator<((const TQImageTextKeyLang&)*(const TQImageTextKeyLang*) QtSupport::getQt(env, other)); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QImageTextKeyLang.h b/qtjava/javalib/qtjava/QImageTextKeyLang.h deleted file mode 100644 index b0f0b9be..00000000 --- a/qtjava/javalib/qtjava/QImageTextKeyLang.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QImageTextKeyLang__ -#define __org_kde_qt_QImageTextKeyLang__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageTextKeyLang_newTQImageTextKeyLang__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageTextKeyLang_newTQImageTextKeyLang__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImageTextKeyLang_op_1lt (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImageTextKeyLang_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageTextKeyLang_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageTextKeyLang_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImageTextKeyLang_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QImageTextKeyLang__ */ diff --git a/qtjava/javalib/qtjava/QInputDialog.cpp b/qtjava/javalib/qtjava/QInputDialog.cpp deleted file mode 100644 index 481e1c79..00000000 --- a/qtjava/javalib/qtjava/QInputDialog.cpp +++ /dev/null @@ -1,375 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QInputDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQInputDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_qt_QInputDialog_getDouble__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; - jdouble xret = (jdouble) TQInputDialog::getDouble((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_qt_QInputDialog_getDouble__Ljava_lang_String_2Ljava_lang_String_2D(JNIEnv* env, jclass cls, jstring caption, jstring label, jdouble value) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; - jdouble xret = (jdouble) TQInputDialog::getDouble((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (double) value); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_qt_QInputDialog_getDouble__Ljava_lang_String_2Ljava_lang_String_2DD(JNIEnv* env, jclass cls, jstring caption, jstring label, jdouble value, jdouble minValue) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; - jdouble xret = (jdouble) TQInputDialog::getDouble((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (double) value, (double) minValue); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_qt_QInputDialog_getDouble__Ljava_lang_String_2Ljava_lang_String_2DDD(JNIEnv* env, jclass cls, jstring caption, jstring label, jdouble value, jdouble minValue, jdouble maxValue) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; - jdouble xret = (jdouble) TQInputDialog::getDouble((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (double) value, (double) minValue, (double) maxValue); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_qt_QInputDialog_getDouble__Ljava_lang_String_2Ljava_lang_String_2DDDI(JNIEnv* env, jclass cls, jstring caption, jstring label, jdouble value, jdouble minValue, jdouble maxValue, jint decimals) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; - jdouble xret = (jdouble) TQInputDialog::getDouble((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (double) value, (double) minValue, (double) maxValue, (int) decimals); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_qt_QInputDialog_getDouble__Ljava_lang_String_2Ljava_lang_String_2DDDI_3Z(JNIEnv* env, jclass cls, jstring caption, jstring label, jdouble value, jdouble minValue, jdouble maxValue, jint decimals, jbooleanArray ok) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jdouble xret = (jdouble) TQInputDialog::getDouble((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (double) value, (double) minValue, (double) maxValue, (int) decimals, (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_qt_QInputDialog_getDouble__Ljava_lang_String_2Ljava_lang_String_2DDDI_3ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jdouble value, jdouble minValue, jdouble maxValue, jint decimals, jbooleanArray ok, jobject parent) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jdouble xret = (jdouble) TQInputDialog::getDouble((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (double) value, (double) minValue, (double) maxValue, (int) decimals, (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent)); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_qt_QInputDialog_getDouble__Ljava_lang_String_2Ljava_lang_String_2DDDI_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jdouble value, jdouble minValue, jdouble maxValue, jint decimals, jbooleanArray ok, jobject parent, jstring name) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); -static TQCString* _qstring_name = 0; - jdouble xret = (jdouble) TQInputDialog::getDouble((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (double) value, (double) minValue, (double) maxValue, (int) decimals, (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 xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QInputDialog_getInteger__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; - jint xret = (jint) TQInputDialog::getInteger((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QInputDialog_getInteger__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring caption, jstring label, jint value) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; - jint xret = (jint) TQInputDialog::getInteger((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) value); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QInputDialog_getInteger__Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv* env, jclass cls, jstring caption, jstring label, jint value, jint minValue) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; - jint xret = (jint) TQInputDialog::getInteger((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) value, (int) minValue); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QInputDialog_getInteger__Ljava_lang_String_2Ljava_lang_String_2III(JNIEnv* env, jclass cls, jstring caption, jstring label, jint value, jint minValue, jint maxValue) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; - jint xret = (jint) TQInputDialog::getInteger((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) value, (int) minValue, (int) maxValue); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QInputDialog_getInteger__Ljava_lang_String_2Ljava_lang_String_2IIII(JNIEnv* env, jclass cls, jstring caption, jstring label, jint value, jint minValue, jint maxValue, jint step) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; - jint xret = (jint) TQInputDialog::getInteger((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) value, (int) minValue, (int) maxValue, (int) step); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QInputDialog_getInteger__Ljava_lang_String_2Ljava_lang_String_2IIII_3Z(JNIEnv* env, jclass cls, jstring caption, jstring label, jint value, jint minValue, jint maxValue, jint step, jbooleanArray ok) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jint xret = (jint) TQInputDialog::getInteger((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) value, (int) minValue, (int) maxValue, (int) step, (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QInputDialog_getInteger__Ljava_lang_String_2Ljava_lang_String_2IIII_3ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jint value, jint minValue, jint maxValue, jint step, jbooleanArray ok, jobject parent) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jint xret = (jint) TQInputDialog::getInteger((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) value, (int) minValue, (int) maxValue, (int) step, (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent)); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QInputDialog_getInteger__Ljava_lang_String_2Ljava_lang_String_2IIII_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jint value, jint minValue, jint maxValue, jint step, jbooleanArray ok, jobject parent, jstring name) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); -static TQCString* _qstring_name = 0; - jint xret = (jint) TQInputDialog::getInteger((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) value, (int) minValue, (int) maxValue, (int) step, (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 xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QInputDialog_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 = TQInputDialog::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_qt_QInputDialog_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 = TQInputDialog::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_qt_QInputDialog_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 = TQInputDialog::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_qt_QInputDialog_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 = TQInputDialog::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_qt_QInputDialog_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 = TQInputDialog::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_qt_QInputDialog_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 = TQInputDialog::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_qt_QInputDialog_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 = TQInputDialog::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_qt_QInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring caption, jstring label, jint echo) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; - _qstring = TQInputDialog::getText((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (TQLineEdit::EchoMode) echo); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jint echo, jstring text) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_text = 0; - _qstring = TQInputDialog::getText((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (TQLineEdit::EchoMode) echo, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2_3Z(JNIEnv* env, jclass cls, jstring caption, jstring label, jint echo, jstring text, jbooleanArray ok) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_text = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qstring = TQInputDialog::getText((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (TQLineEdit::EchoMode) echo, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2_3ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jint echo, jstring text, jbooleanArray ok, jobject parent) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_text = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qstring = TQInputDialog::getText((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (TQLineEdit::EchoMode) echo, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (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_qt_QInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jint echo, jstring text, jbooleanArray ok, jobject parent, jstring name) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_text = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); -static TQCString* _qstring_name = 0; - _qstring = TQInputDialog::getText((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (TQLineEdit::EchoMode) echo, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (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 jobject JNICALL -Java_org_kde_qt_QInputDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQInputDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QInputDialog_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQInputDialog::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QInputDialog_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQInputDialog::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QInputDialog.h b/qtjava/javalib/qtjava/QInputDialog.h deleted file mode 100644 index 2050c763..00000000 --- a/qtjava/javalib/qtjava/QInputDialog.h +++ /dev/null @@ -1,50 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QInputDialog__ -#define __org_kde_qt_QInputDialog__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QInputDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QInputDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QInputDialog_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QInputDialog_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jint, jstring, jbooleanArray, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2_3ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jstring, jint, jstring, jbooleanArray, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2_3Z (JNIEnv *env, jclass, jstring, jstring, jint, jstring, jbooleanArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jint, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QInputDialog_getInteger__Ljava_lang_String_2Ljava_lang_String_2IIII_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jint, jint, jint, jint, jbooleanArray, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QInputDialog_getInteger__Ljava_lang_String_2Ljava_lang_String_2IIII_3ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jstring, jint, jint, jint, jint, jbooleanArray, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QInputDialog_getInteger__Ljava_lang_String_2Ljava_lang_String_2IIII_3Z (JNIEnv *env, jclass, jstring, jstring, jint, jint, jint, jint, jbooleanArray); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QInputDialog_getInteger__Ljava_lang_String_2Ljava_lang_String_2IIII (JNIEnv *env, jclass, jstring, jstring, jint, jint, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QInputDialog_getInteger__Ljava_lang_String_2Ljava_lang_String_2III (JNIEnv *env, jclass, jstring, jstring, jint, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QInputDialog_getInteger__Ljava_lang_String_2Ljava_lang_String_2II (JNIEnv *env, jclass, jstring, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QInputDialog_getInteger__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QInputDialog_getInteger__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QInputDialog_getDouble__Ljava_lang_String_2Ljava_lang_String_2DDDI_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jdouble, jdouble, jdouble, jint, jbooleanArray, jobject, jstring); -extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QInputDialog_getDouble__Ljava_lang_String_2Ljava_lang_String_2DDDI_3ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jstring, jdouble, jdouble, jdouble, jint, jbooleanArray, jobject); -extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QInputDialog_getDouble__Ljava_lang_String_2Ljava_lang_String_2DDDI_3Z (JNIEnv *env, jclass, jstring, jstring, jdouble, jdouble, jdouble, jint, jbooleanArray); -extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QInputDialog_getDouble__Ljava_lang_String_2Ljava_lang_String_2DDDI (JNIEnv *env, jclass, jstring, jstring, jdouble, jdouble, jdouble, jint); -extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QInputDialog_getDouble__Ljava_lang_String_2Ljava_lang_String_2DDD (JNIEnv *env, jclass, jstring, jstring, jdouble, jdouble, jdouble); -extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QInputDialog_getDouble__Ljava_lang_String_2Ljava_lang_String_2DD (JNIEnv *env, jclass, jstring, jstring, jdouble, jdouble); -extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QInputDialog_getDouble__Ljava_lang_String_2Ljava_lang_String_2D (JNIEnv *env, jclass, jstring, jstring, jdouble); -extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QInputDialog_getDouble__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QInputDialog_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_qt_QInputDialog_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_qt_QInputDialog_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_qt_QInputDialog_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_qt_QInputDialog_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_qt_QInputDialog_getItem__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobjectArray); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QInputDialog__ */ diff --git a/qtjava/javalib/qtjava/QIntValidator.cpp b/qtjava/javalib/qtjava/QIntValidator.cpp deleted file mode 100644 index 840aecd8..00000000 --- a/qtjava/javalib/qtjava/QIntValidator.cpp +++ /dev/null @@ -1,201 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQIntValidatorJBridge : public TQIntValidator -{ -public: - TQIntValidatorJBridge(TQObject* arg1,const char* arg2) : TQIntValidator(arg1,arg2) {}; - TQIntValidatorJBridge(TQObject* arg1) : TQIntValidator(arg1) {}; - TQIntValidatorJBridge(int arg1,int arg2,TQObject* arg3,const char* arg4) : TQIntValidator(arg1,arg2,arg3,arg4) {}; - TQIntValidatorJBridge(int arg1,int arg2,TQObject* arg3) : TQIntValidator(arg1,arg2,arg3) {}; - ~TQIntValidatorJBridge() {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.qt.TQIntValidator",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QIntValidator_bottom(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIntValidator*) QtSupport::getQt(env, obj))->bottom(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QIntValidator_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQIntValidator*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIntValidator_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QIntValidator_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIntValidator_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQIntValidator*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQIntValidator*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QIntValidator_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QIntValidator_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIntValidator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIntValidator_newTQIntValidator__IILorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jint bottom, jint top, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQIntValidatorJBridge((int) bottom, (int) top, (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIntValidator_newTQIntValidator__IILorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint bottom, jint top, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQIntValidatorJBridge((int) bottom, (int) top, (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_qt_QIntValidator_newTQIntValidator__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQIntValidatorJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIntValidator_newTQIntValidator__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 TQIntValidatorJBridge((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_qt_QIntValidator_setBottom(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQIntValidator*) QtSupport::getQt(env, obj))->setBottom((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIntValidator_setRange(JNIEnv* env, jobject obj, jint bottom, jint top) -{ - ((TQIntValidator*) QtSupport::getQt(env, obj))->setRange((int) bottom, (int) top); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QIntValidator_setTop(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQIntValidator*) QtSupport::getQt(env, obj))->setTop((int) arg1); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QIntValidator_top(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIntValidator*) QtSupport::getQt(env, obj))->top(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QIntValidator_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQIntValidatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QIntValidator_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQIntValidatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QIntValidator_validate(JNIEnv* env, jobject obj, jobject arg1, jintArray arg2) -{ -static TQString* _qstring_arg1 = 0; - int* _int_arg2 = QtSupport::toIntPtr(env, arg2); - jint xret = (jint) ((TQIntValidator*) 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/qtjava/javalib/qtjava/QIntValidator.h b/qtjava/javalib/qtjava/QIntValidator.h deleted file mode 100644 index c0c7d630..00000000 --- a/qtjava/javalib/qtjava/QIntValidator.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QIntValidator__ -#define __org_kde_qt_QIntValidator__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIntValidator_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QIntValidator_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIntValidator_newTQIntValidator__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIntValidator_newTQIntValidator__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIntValidator_newTQIntValidator__IILorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIntValidator_newTQIntValidator__IILorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIntValidator_validate (JNIEnv *env, jobject, jobject, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIntValidator_setBottom (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIntValidator_setTop (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIntValidator_setRange (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIntValidator_bottom (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIntValidator_top (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QIntValidator_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QIntValidator_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIntValidator_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIntValidator_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIntValidator_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QIntValidator__ */ diff --git a/qtjava/javalib/qtjava/QJisCodec.cpp b/qtjava/javalib/qtjava/QJisCodec.cpp deleted file mode 100644 index 4b411871..00000000 --- a/qtjava/javalib/qtjava/QJisCodec.cpp +++ /dev/null @@ -1,114 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQJisCodecJBridge : public TQJisCodec -{ -public: - TQJisCodecJBridge() : TQJisCodec() {}; - ~TQJisCodecJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QJisCodec_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QJisCodec_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QJisCodec_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQJisCodec*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QJisCodec_fromUnicode(JNIEnv* env, jobject obj, jstring uc, jintArray lenInOut) -{ - TQCString _qstring; -static TQString* _qstring_uc = 0; - int* _int_lenInOut = QtSupport::toIntPtr(env, lenInOut); - _qstring = ((TQJisCodec*) QtSupport::getQt(env, obj))->fromUnicode((const TQString&)*(TQString*) QtSupport::toTQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); - env->SetIntArrayRegion(lenInOut, 0, 1, (jint *) _int_lenInOut); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QJisCodec_heuristicContentMatch(JNIEnv* env, jobject obj, jstring chars, jint len) -{ -static TQCString* _qstring_chars = 0; - jint xret = (jint) ((TQJisCodec*) QtSupport::getQt(env, obj))->heuristicContentMatch((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QJisCodec_heuristicNameMatch(JNIEnv* env, jobject obj, jstring hint) -{ -static TQCString* _qstring_hint = 0; - jint xret = (jint) ((TQJisCodec*) QtSupport::getQt(env, obj))->heuristicNameMatch((const char*) QtSupport::toCharString(env, hint, &_qstring_hint)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QJisCodec_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QJisCodec_makeDecoder(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQJisCodec*) QtSupport::getQt(env, obj))->makeDecoder(), "org.kde.qt.TQTextDecoder"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QJisCodec_mibEnum(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQJisCodec*) QtSupport::getQt(env, obj))->mibEnum(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QJisCodec_mimeName(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQJisCodec*) QtSupport::getQt(env, obj))->mimeName(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QJisCodec_name(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQJisCodec*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QJisCodec_newTQJisCodec(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQJisCodecJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QJisCodec_toUnicode(JNIEnv* env, jobject obj, jstring chars, jint len) -{ - TQString _qstring; -static TQCString* _qstring_chars = 0; - _qstring = ((TQJisCodec*) QtSupport::getQt(env, obj))->toUnicode((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QJisCodec.h b/qtjava/javalib/qtjava/QJisCodec.h deleted file mode 100644 index 36d29fd2..00000000 --- a/qtjava/javalib/qtjava/QJisCodec.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QJisCodec__ -#define __org_kde_qt_QJisCodec__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJisCodec_mibEnum (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QJisCodec_name (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QJisCodec_mimeName (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QJisCodec_makeDecoder (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QJisCodec_fromUnicode (JNIEnv *env, jobject, jstring, jintArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QJisCodec_toUnicode (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJisCodec_heuristicContentMatch (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJisCodec_heuristicNameMatch (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QJisCodec_newTQJisCodec (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QJisCodec_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QJisCodec_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QJisCodec_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QJisCodec__ */ diff --git a/qtjava/javalib/qtjava/QJpUnicodeConv.cpp b/qtjava/javalib/qtjava/QJpUnicodeConv.cpp deleted file mode 100644 index ad8d43fc..00000000 --- a/qtjava/javalib/qtjava/QJpUnicodeConv.cpp +++ /dev/null @@ -1,250 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - -class TQJpUnicodeConvJBridge : public TQJpUnicodeConv -{ -public: - TQJpUnicodeConvJBridge(int arg1) : TQJpUnicodeConv(arg1) {}; - ~TQJpUnicodeConvJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QJpUnicodeConv_asciiToUnicode__I(JNIEnv* env, jobject obj, jint ascii) -{ - jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->asciiToUnicode((uint) ascii); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QJpUnicodeConv_asciiToUnicode__II(JNIEnv* env, jobject obj, jint h, jint l) -{ - jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->asciiToUnicode((uint) h, (uint) l); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QJpUnicodeConv_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QJpUnicodeConv_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QJpUnicodeConv_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQJpUnicodeConv*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QJpUnicodeConv_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QJpUnicodeConv_jisx0201KanaToUnicode__I(JNIEnv* env, jobject obj, jint jis) -{ - jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->jisx0201KanaToUnicode((uint) jis); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QJpUnicodeConv_jisx0201KanaToUnicode__II(JNIEnv* env, jobject obj, jint h, jint l) -{ - jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->jisx0201KanaToUnicode((uint) h, (uint) l); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QJpUnicodeConv_jisx0201LatinToUnicode__I(JNIEnv* env, jobject obj, jint jis) -{ - jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->jisx0201LatinToUnicode((uint) jis); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QJpUnicodeConv_jisx0201LatinToUnicode__II(JNIEnv* env, jobject obj, jint h, jint l) -{ - jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->jisx0201LatinToUnicode((uint) h, (uint) l); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QJpUnicodeConv_jisx0201ToUnicode__I(JNIEnv* env, jobject obj, jint jis) -{ - jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->jisx0201ToUnicode((uint) jis); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QJpUnicodeConv_jisx0201ToUnicode__II(JNIEnv* env, jobject obj, jint h, jint l) -{ - jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->jisx0201ToUnicode((uint) h, (uint) l); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QJpUnicodeConv_jisx0208ToUnicode__I(JNIEnv* env, jobject obj, jint jis) -{ - jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->jisx0208ToUnicode((uint) jis); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QJpUnicodeConv_jisx0208ToUnicode__II(JNIEnv* env, jobject obj, jint h, jint l) -{ - jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->jisx0208ToUnicode((uint) h, (uint) l); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QJpUnicodeConv_jisx0212ToUnicode__I(JNIEnv* env, jobject obj, jint jis) -{ - jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->jisx0212ToUnicode((uint) jis); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QJpUnicodeConv_jisx0212ToUnicode__II(JNIEnv* env, jobject obj, jint h, jint l) -{ - jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->jisx0212ToUnicode((uint) h, (uint) l); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QJpUnicodeConv_newConverter(JNIEnv* env, jclass cls, jint rule) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQJpUnicodeConvJBridge::newConverter((int) rule), "org.kde.qt.TQJpUnicodeConv"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QJpUnicodeConv_newTQJpUnicodeConv(JNIEnv* env, jobject obj, jint r) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQJpUnicodeConvJBridge((int) r)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QJpUnicodeConv_sjisToUnicode__I(JNIEnv* env, jobject obj, jint sjis) -{ - jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->sjisToUnicode((uint) sjis); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QJpUnicodeConv_sjisToUnicode__II(JNIEnv* env, jobject obj, jint h, jint l) -{ - jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->sjisToUnicode((uint) h, (uint) l); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QJpUnicodeConv_unicodeToAscii__I(JNIEnv* env, jobject obj, jint unicode) -{ - jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->unicodeToAscii((uint) unicode); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QJpUnicodeConv_unicodeToAscii__II(JNIEnv* env, jobject obj, jint h, jint l) -{ - jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->unicodeToAscii((uint) h, (uint) l); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0201Kana__I(JNIEnv* env, jobject obj, jint unicode) -{ - jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->unicodeToJisx0201Kana((uint) unicode); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0201Kana__II(JNIEnv* env, jobject obj, jint h, jint l) -{ - jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->unicodeToJisx0201Kana((uint) h, (uint) l); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0201Latin__I(JNIEnv* env, jobject obj, jint unicode) -{ - jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->unicodeToJisx0201Latin((uint) unicode); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0201Latin__II(JNIEnv* env, jobject obj, jint h, jint l) -{ - jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->unicodeToJisx0201Latin((uint) h, (uint) l); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0201__I(JNIEnv* env, jobject obj, jint unicode) -{ - jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->unicodeToJisx0201((uint) unicode); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0201__II(JNIEnv* env, jobject obj, jint h, jint l) -{ - jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->unicodeToJisx0201((uint) h, (uint) l); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0208__I(JNIEnv* env, jobject obj, jint unicode) -{ - jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->unicodeToJisx0208((uint) unicode); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0208__II(JNIEnv* env, jobject obj, jint h, jint l) -{ - jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->unicodeToJisx0208((uint) h, (uint) l); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0212__I(JNIEnv* env, jobject obj, jint unicode) -{ - jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->unicodeToJisx0212((uint) unicode); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0212__II(JNIEnv* env, jobject obj, jint h, jint l) -{ - jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->unicodeToJisx0212((uint) h, (uint) l); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QJpUnicodeConv_unicodeToSjis__I(JNIEnv* env, jobject obj, jint unicode) -{ - jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->unicodeToSjis((uint) unicode); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QJpUnicodeConv_unicodeToSjis__II(JNIEnv* env, jobject obj, jint h, jint l) -{ - jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->unicodeToSjis((uint) h, (uint) l); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QJpUnicodeConv.h b/qtjava/javalib/qtjava/QJpUnicodeConv.h deleted file mode 100644 index 77c6cb94..00000000 --- a/qtjava/javalib/qtjava/QJpUnicodeConv.h +++ /dev/null @@ -1,51 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QJpUnicodeConv__ -#define __org_kde_qt_QJpUnicodeConv__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_asciiToUnicode__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_jisx0201ToUnicode__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_jisx0201LatinToUnicode__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_jisx0201KanaToUnicode__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_jisx0208ToUnicode__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_jisx0212ToUnicode__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_asciiToUnicode__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_jisx0201ToUnicode__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_jisx0201LatinToUnicode__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_jisx0201KanaToUnicode__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_jisx0208ToUnicode__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_jisx0212ToUnicode__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_unicodeToAscii__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0201__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0201Latin__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0201Kana__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0208__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0212__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_unicodeToAscii__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0201__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0201Latin__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0201Kana__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0208__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0212__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_sjisToUnicode__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_unicodeToSjis__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_sjisToUnicode__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_unicodeToSjis__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QJpUnicodeConv_newConverter (JNIEnv *env, jclass, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QJpUnicodeConv_newTQJpUnicodeConv (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QJpUnicodeConv_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QJpUnicodeConv_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QJpUnicodeConv_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QJpUnicodeConv__ */ diff --git a/qtjava/javalib/qtjava/QKeyEvent.cpp b/qtjava/javalib/qtjava/QKeyEvent.cpp deleted file mode 100644 index 4da782d5..00000000 --- a/qtjava/javalib/qtjava/QKeyEvent.cpp +++ /dev/null @@ -1,155 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQKeyEventJBridge : public TQKeyEvent -{ -public: - TQKeyEventJBridge(TQEvent::Type arg1,int arg2,int arg3,int arg4,const TQString& arg5,bool arg6,ushort arg7) : TQKeyEvent(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TQKeyEventJBridge(TQEvent::Type arg1,int arg2,int arg3,int arg4,const TQString& arg5,bool arg6) : TQKeyEvent(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TQKeyEventJBridge(TQEvent::Type arg1,int arg2,int arg3,int arg4,const TQString& arg5) : TQKeyEvent(arg1,arg2,arg3,arg4,arg5) {}; - TQKeyEventJBridge(TQEvent::Type arg1,int arg2,int arg3,int arg4) : TQKeyEvent(arg1,arg2,arg3,arg4) {}; - ~TQKeyEventJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QKeyEvent_accept(JNIEnv* env, jobject obj) -{ - ((TQKeyEvent*) QtSupport::getQt(env, obj))->accept(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QKeyEvent_ascii(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQKeyEvent*) QtSupport::getQt(env, obj))->ascii(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QKeyEvent_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQKeyEvent*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QKeyEvent_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QKeyEvent_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QKeyEvent_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQKeyEvent*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QKeyEvent_ignore(JNIEnv* env, jobject obj) -{ - ((TQKeyEvent*) QtSupport::getQt(env, obj))->ignore(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QKeyEvent_isAccepted(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQKeyEvent*) QtSupport::getQt(env, obj))->isAccepted(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QKeyEvent_isAutoRepeat(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQKeyEvent*) QtSupport::getQt(env, obj))->isAutoRepeat(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QKeyEvent_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QKeyEvent_key(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQKeyEvent*) QtSupport::getQt(env, obj))->key(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QKeyEvent_newTQKeyEvent__IIII(JNIEnv* env, jobject obj, jint type, jint key, jint ascii, jint state) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQKeyEventJBridge((TQEvent::Type) type, (int) key, (int) ascii, (int) state)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QKeyEvent_newTQKeyEvent__IIIILjava_lang_String_2(JNIEnv* env, jobject obj, jint type, jint key, jint ascii, jint state, jstring text) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQKeyEventJBridge((TQEvent::Type) type, (int) key, (int) ascii, (int) state, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QKeyEvent_newTQKeyEvent__IIIILjava_lang_String_2Z(JNIEnv* env, jobject obj, jint type, jint key, jint ascii, jint state, jstring text, jboolean autorep) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQKeyEventJBridge((TQEvent::Type) type, (int) key, (int) ascii, (int) state, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool) autorep)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QKeyEvent_newTQKeyEvent__IIIILjava_lang_String_2ZS(JNIEnv* env, jobject obj, jint type, jint key, jint ascii, jint state, jstring text, jboolean autorep, jshort count) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQKeyEventJBridge((TQEvent::Type) type, (int) key, (int) ascii, (int) state, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool) autorep, (ushort) count)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QKeyEvent_stateAfter(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQKeyEvent*) QtSupport::getQt(env, obj))->stateAfter(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QKeyEvent_state(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQKeyEvent*) QtSupport::getQt(env, obj))->state(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QKeyEvent_text(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQKeyEvent*) QtSupport::getQt(env, obj))->text(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QKeyEvent.h b/qtjava/javalib/qtjava/QKeyEvent.h deleted file mode 100644 index e0f25e7f..00000000 --- a/qtjava/javalib/qtjava/QKeyEvent.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QKeyEvent__ -#define __org_kde_qt_QKeyEvent__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeyEvent_newTQKeyEvent__IIIILjava_lang_String_2ZS (JNIEnv *env, jobject, jint, jint, jint, jint, jstring, jboolean, jshort); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeyEvent_newTQKeyEvent__IIIILjava_lang_String_2Z (JNIEnv *env, jobject, jint, jint, jint, jint, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeyEvent_newTQKeyEvent__IIIILjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeyEvent_newTQKeyEvent__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QKeyEvent_key (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QKeyEvent_ascii (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QKeyEvent_state (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QKeyEvent_stateAfter (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QKeyEvent_isAccepted (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QKeyEvent_text (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QKeyEvent_isAutoRepeat (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QKeyEvent_count (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeyEvent_accept (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeyEvent_ignore (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeyEvent_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeyEvent_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QKeyEvent_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QKeyEvent__ */ diff --git a/qtjava/javalib/qtjava/QKeySequence.cpp b/qtjava/javalib/qtjava/QKeySequence.cpp deleted file mode 100644 index d7844a67..00000000 --- a/qtjava/javalib/qtjava/QKeySequence.cpp +++ /dev/null @@ -1,157 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQKeySequenceJBridge : public TQKeySequence -{ -public: - TQKeySequenceJBridge() : TQKeySequence() {}; - TQKeySequenceJBridge(const TQString& arg1) : TQKeySequence(arg1) {}; - TQKeySequenceJBridge(int arg1) : TQKeySequence(arg1) {}; - TQKeySequenceJBridge(int arg1,int arg2,int arg3,int arg4) : TQKeySequence(arg1,arg2,arg3,arg4) {}; - TQKeySequenceJBridge(int arg1,int arg2,int arg3) : TQKeySequence(arg1,arg2,arg3) {}; - TQKeySequenceJBridge(int arg1,int arg2) : TQKeySequence(arg1,arg2) {}; - TQKeySequenceJBridge(const TQKeySequence& arg1) : TQKeySequence(arg1) {}; - ~TQKeySequenceJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QKeySequence_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQKeySequence*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QKeySequence_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QKeySequence_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QKeySequence_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQKeySequence*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QKeySequence_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QKeySequence_isEmpty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQKeySequence*) QtSupport::getQt(env, obj))->isEmpty(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QKeySequence_matches(JNIEnv* env, jobject obj, jobject arg1) -{ - jint xret = (jint) ((TQKeySequence*) QtSupport::getQt(env, obj))->matches((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QKeySequence_newTQKeySequence__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQKeySequenceJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QKeySequence_newTQKeySequence__I(JNIEnv* env, jobject obj, jint key) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQKeySequenceJBridge((int) key)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QKeySequence_newTQKeySequence__II(JNIEnv* env, jobject obj, jint k1, jint k2) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQKeySequenceJBridge((int) k1, (int) k2)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QKeySequence_newTQKeySequence__III(JNIEnv* env, jobject obj, jint k1, jint k2, jint k3) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQKeySequenceJBridge((int) k1, (int) k2, (int) k3)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QKeySequence_newTQKeySequence__IIII(JNIEnv* env, jobject obj, jint k1, jint k2, jint k3, jint k4) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQKeySequenceJBridge((int) k1, (int) k2, (int) k3, (int) k4)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QKeySequence_newTQKeySequence__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 TQKeySequenceJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QKeySequence_newTQKeySequence__Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQKeySequenceJBridge((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QKeySequence_op_1at(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQKeySequence*) QtSupport::getQt(env, obj))->operator[]((uint) arg1); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QKeySequence_op_1equals(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQKeySequence*) QtSupport::getQt(env, obj))->operator==((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QKeySequence_op_1not_1equals(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQKeySequence*) QtSupport::getQt(env, obj))->operator!=((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, arg1)); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QKeySequence.h b/qtjava/javalib/qtjava/QKeySequence.h deleted file mode 100644 index ec48c817..00000000 --- a/qtjava/javalib/qtjava/QKeySequence.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QKeySequence__ -#define __org_kde_qt_QKeySequence__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeySequence_newTQKeySequence__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeySequence_newTQKeySequence__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeySequence_newTQKeySequence__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeySequence_newTQKeySequence__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeySequence_newTQKeySequence__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeySequence_newTQKeySequence__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeySequence_newTQKeySequence__Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QKeySequence_count (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QKeySequence_isEmpty (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QKeySequence_matches (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QKeySequence_op_1at (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QKeySequence_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QKeySequence_op_1not_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeySequence_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeySequence_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QKeySequence_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QKeySequence__ */ diff --git a/qtjava/javalib/qtjava/QLCDNumber.cpp b/qtjava/javalib/qtjava/QLCDNumber.cpp deleted file mode 100644 index cc473117..00000000 --- a/qtjava/javalib/qtjava/QLCDNumber.cpp +++ /dev/null @@ -1,691 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQLCDNumberJBridge : public TQLCDNumber -{ -public: - TQLCDNumberJBridge(TQWidget* arg1,const char* arg2) : TQLCDNumber(arg1,arg2) {}; - TQLCDNumberJBridge(TQWidget* arg1) : TQLCDNumber(arg1) {}; - TQLCDNumberJBridge() : TQLCDNumber() {}; - TQLCDNumberJBridge(uint arg1,TQWidget* arg2,const char* arg3) : TQLCDNumber(arg1,arg2,arg3) {}; - TQLCDNumberJBridge(uint arg1,TQWidget* arg2) : TQLCDNumber(arg1,arg2) {}; - TQLCDNumberJBridge(uint arg1) : TQLCDNumber(arg1) {}; - void public_setHexMode() { - TQLCDNumber::setHexMode(); - return; - } - void public_setDecMode() { - TQLCDNumber::setDecMode(); - return; - } - void public_setOctMode() { - TQLCDNumber::setOctMode(); - return; - } - void public_setBinMode() { - TQLCDNumber::setBinMode(); - return; - } - void protected_drawContents(TQPainter* arg1) { - TQLCDNumber::drawContents(arg1); - return; - } - ~TQLCDNumberJBridge() {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 setHexMode() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLCDNumber","setHexMode")) { - TQLCDNumber::setHexMode(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLCDNumber","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.qt.TQLCDNumber","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.qt.TQLCDNumber","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void setDecMode() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLCDNumber","setDecMode")) { - TQLCDNumber::setDecMode(); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLCDNumber","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.qt.TQLCDNumber","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.qt.TQLCDNumber","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLCDNumber","showMaximized")) { - TQWidget::showMaximized(); - } - return; - } - void setOctMode() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLCDNumber","setOctMode")) { - TQLCDNumber::setOctMode(); - } - 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.qt.TQLCDNumber","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLCDNumber","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.qt.TQLCDNumber","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.qt.TQLCDNumber",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setBinMode() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLCDNumber","setBinMode")) { - TQLCDNumber::setBinMode(); - } - 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.qt.TQLCDNumber","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLCDNumber","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLCDNumber_checkOverflow__D(JNIEnv* env, jobject obj, jdouble num) -{ - jboolean xret = (jboolean) ((TQLCDNumber*) QtSupport::getQt(env, obj))->checkOverflow((double) num); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLCDNumber_checkOverflow__I(JNIEnv* env, jobject obj, jint num) -{ - jboolean xret = (jboolean) ((TQLCDNumber*) QtSupport::getQt(env, obj))->checkOverflow((int) num); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QLCDNumber_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQLCDNumber*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLCDNumber_display__D(JNIEnv* env, jobject obj, jdouble num) -{ - ((TQLCDNumber*) QtSupport::getQt(env, obj))->display((double) num); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLCDNumber_display__I(JNIEnv* env, jobject obj, jint num) -{ - ((TQLCDNumber*) QtSupport::getQt(env, obj))->display((int) num); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLCDNumber_display__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring str) -{ -static TQString* _qstring_str = 0; - ((TQLCDNumber*) QtSupport::getQt(env, obj))->display((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLCDNumber_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QLCDNumber_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLCDNumber_drawContents(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLCDNumberJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLCDNumber_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQLCDNumber*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQLCDNumber*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QLCDNumber_intValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQLCDNumber*) QtSupport::getQt(env, obj))->intValue(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLCDNumber_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QLCDNumber_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLCDNumber*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QLCDNumber_mode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQLCDNumber*) QtSupport::getQt(env, obj))->mode(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLCDNumber_newTQLCDNumber__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQLCDNumberJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLCDNumber_newTQLCDNumber__I(JNIEnv* env, jobject obj, jint numDigits) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQLCDNumberJBridge((uint) numDigits)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLCDNumber_newTQLCDNumber__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint numDigits, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQLCDNumberJBridge((uint) numDigits, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLCDNumber_newTQLCDNumber__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint numDigits, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQLCDNumberJBridge((uint) numDigits, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLCDNumber_newTQLCDNumber__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQLCDNumberJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLCDNumber_newTQLCDNumber__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 TQLCDNumberJBridge((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_qt_QLCDNumber_numDigits(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQLCDNumber*) QtSupport::getQt(env, obj))->numDigits(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QLCDNumber_segmentStyle(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQLCDNumber*) QtSupport::getQt(env, obj))->segmentStyle(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLCDNumber_setBinMode(JNIEnv* env, jobject obj) -{ - ((TQLCDNumberJBridge*) QtSupport::getQt(env, obj))->public_setBinMode(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLCDNumber_setDecMode(JNIEnv* env, jobject obj) -{ - ((TQLCDNumberJBridge*) QtSupport::getQt(env, obj))->public_setDecMode(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLCDNumber_setHexMode(JNIEnv* env, jobject obj) -{ - ((TQLCDNumberJBridge*) QtSupport::getQt(env, obj))->public_setHexMode(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLCDNumber_setMode(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQLCDNumber*) QtSupport::getQt(env, obj))->setMode((TQLCDNumber::Mode) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLCDNumber_setNumDigits(JNIEnv* env, jobject obj, jint nDigits) -{ - ((TQLCDNumber*) QtSupport::getQt(env, obj))->setNumDigits((int) nDigits); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLCDNumber_setOctMode(JNIEnv* env, jobject obj) -{ - ((TQLCDNumberJBridge*) QtSupport::getQt(env, obj))->public_setOctMode(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLCDNumber_setSegmentStyle(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQLCDNumber*) QtSupport::getQt(env, obj))->setSegmentStyle((TQLCDNumber::SegmentStyle) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLCDNumber_setSmallDecimalPoint(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQLCDNumber*) QtSupport::getQt(env, obj))->setSmallDecimalPoint((bool) arg1); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QLCDNumber_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQLCDNumber*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLCDNumber_smallDecimalPoint(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQLCDNumber*) QtSupport::getQt(env, obj))->smallDecimalPoint(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QLCDNumber_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQLCDNumberJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QLCDNumber_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQLCDNumberJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_qt_QLCDNumber_value(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((TQLCDNumber*) QtSupport::getQt(env, obj))->value(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QLCDNumber.h b/qtjava/javalib/qtjava/QLCDNumber.h deleted file mode 100644 index 7b46b78f..00000000 --- a/qtjava/javalib/qtjava/QLCDNumber.h +++ /dev/null @@ -1,52 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QLCDNumber__ -#define __org_kde_qt_QLCDNumber__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLCDNumber_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLCDNumber_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_newTQLCDNumber__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_newTQLCDNumber__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_newTQLCDNumber__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_newTQLCDNumber__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_newTQLCDNumber__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_newTQLCDNumber__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLCDNumber_smallDecimalPoint (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLCDNumber_numDigits (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_setNumDigits (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLCDNumber_checkOverflow__D (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLCDNumber_checkOverflow__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLCDNumber_mode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_setMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLCDNumber_segmentStyle (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_setSegmentStyle (JNIEnv *env, jobject, jint); -extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QLCDNumber_value (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLCDNumber_intValue (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLCDNumber_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_display__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_display__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_display__D (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_setHexMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_setDecMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_setOctMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_setBinMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_setSmallDecimalPoint (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLCDNumber_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLCDNumber_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_drawContents (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLCDNumber_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QLCDNumber__ */ diff --git a/qtjava/javalib/qtjava/QLabel.cpp b/qtjava/javalib/qtjava/QLabel.cpp deleted file mode 100644 index 121d88ef..00000000 --- a/qtjava/javalib/qtjava/QLabel.cpp +++ /dev/null @@ -1,789 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQLabelJBridge : public TQLabel -{ -public: - TQLabelJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQLabel(arg1,arg2,arg3) {}; - TQLabelJBridge(TQWidget* arg1,const char* arg2) : TQLabel(arg1,arg2) {}; - TQLabelJBridge(TQWidget* arg1) : TQLabel(arg1) {}; - TQLabelJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3,TQt::WFlags arg4) : TQLabel(arg1,arg2,arg3,arg4) {}; - TQLabelJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQLabel(arg1,arg2,arg3) {}; - TQLabelJBridge(const TQString& arg1,TQWidget* arg2) : TQLabel(arg1,arg2) {}; - TQLabelJBridge(TQWidget* arg1,const TQString& arg2,TQWidget* arg3,const char* arg4,TQt::WFlags arg5) : TQLabel(arg1,arg2,arg3,arg4,arg5) {}; - TQLabelJBridge(TQWidget* arg1,const TQString& arg2,TQWidget* arg3,const char* arg4) : TQLabel(arg1,arg2,arg3,arg4) {}; - TQLabelJBridge(TQWidget* arg1,const TQString& arg2,TQWidget* arg3) : TQLabel(arg1,arg2,arg3) {}; - void protected_drawContents(TQPainter* arg1) { - TQLabel::drawContents(arg1); - return; - } - void protected_fontChange(const TQFont& arg1) { - TQLabel::fontChange(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQLabel::resizeEvent(arg1); - return; - } - ~TQLabelJBridge() {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.qt.TQLabel","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.qt.TQLabel","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.qt.TQLabel","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.qt.TQLabel","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.qt.TQLabel","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.qt.TQLabel","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLabel","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.qt.TQLabel","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLabel","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.qt.TQLabel","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.qt.TQLabel",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.qt.TQLabel","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLabel","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QLabel_alignment(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQLabel*) QtSupport::getQt(env, obj))->alignment(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLabel_autoResize(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQLabel*) QtSupport::getQt(env, obj))->autoResize(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QLabel_buddy(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLabel*) QtSupport::getQt(env, obj))->buddy(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QLabel_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQLabel*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLabel_clear(JNIEnv* env, jobject obj) -{ - ((TQLabel*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLabel_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QLabel_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLabel_drawContents(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLabelJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLabel_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQLabel*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQLabel*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLabel_fontChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLabelJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLabel_hasScaledContents(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQLabel*) QtSupport::getQt(env, obj))->hasScaledContents(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QLabel_heightForWidth(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQLabel*) QtSupport::getQt(env, obj))->heightForWidth((int) arg1); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QLabel_indent(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQLabel*) QtSupport::getQt(env, obj))->indent(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLabel_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QLabel_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLabel*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QLabel_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQLabel*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QLabel_movie(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLabel*) QtSupport::getQt(env, obj))->movie(), "org.kde.qt.TQMovie"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLabel_newTQLabel__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 TQLabelJBridge((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_qt_QLabel_newTQLabel__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 TQLabelJBridge((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_qt_QLabel_newTQLabel__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jobject parent, jstring name, jint f) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQLabelJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (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_qt_QLabel_newTQLabel__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQLabelJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLabel_newTQLabel__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 TQLabelJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLabel_newTQLabel__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 TQLabelJBridge((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_qt_QLabel_newTQLabel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject buddy, jstring arg2, jobject parent) -{ -static TQString* _qstring_arg2 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQLabelJBridge((TQWidget*) QtSupport::getQt(env, buddy), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLabel_newTQLabel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject buddy, jstring arg2, jobject parent, jstring name) -{ -static TQString* _qstring_arg2 = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQLabelJBridge((TQWidget*) QtSupport::getQt(env, buddy), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLabel_newTQLabel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject buddy, jstring arg2, jobject parent, jstring name, jint f) -{ -static TQString* _qstring_arg2 = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQLabelJBridge((TQWidget*) QtSupport::getQt(env, buddy), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (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_qt_QLabel_picture(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLabel*) QtSupport::getQt(env, obj))->picture(), "org.kde.qt.TQPicture"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QLabel_pixmap(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLabel*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLabel_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLabelJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLabel_setAlignment(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQLabel*) QtSupport::getQt(env, obj))->setAlignment((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLabel_setAutoResize(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQLabel*) QtSupport::getQt(env, obj))->setAutoResize((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLabel_setBuddy(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLabel*) QtSupport::getQt(env, obj))->setBuddy((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLabel_setFont(JNIEnv* env, jobject obj, jobject f) -{ - ((TQLabel*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, f)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLabel_setIndent(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQLabel*) QtSupport::getQt(env, obj))->setIndent((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLabel_setMovie(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLabel*) QtSupport::getQt(env, obj))->setMovie((const TQMovie&)*(const TQMovie*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLabel_setNum__D(JNIEnv* env, jobject obj, jdouble arg1) -{ - ((TQLabel*) QtSupport::getQt(env, obj))->setNum((double) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLabel_setNum__I(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQLabel*) QtSupport::getQt(env, obj))->setNum((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLabel_setPicture(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLabel*) QtSupport::getQt(env, obj))->setPicture((const TQPicture&)*(const TQPicture*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLabel_setPixmap(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLabel*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLabel_setScaledContents(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQLabel*) QtSupport::getQt(env, obj))->setScaledContents((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLabel_setTextFormat(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQLabel*) QtSupport::getQt(env, obj))->setTextFormat((TQt::TextFormat) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLabel_setText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQLabel*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QLabel_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQLabel*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QLabel_textFormat(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQLabel*) QtSupport::getQt(env, obj))->textFormat(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QLabel_text(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQLabel*) QtSupport::getQt(env, obj))->text(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QLabel_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQLabelJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QLabel_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQLabelJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QLabel.h b/qtjava/javalib/qtjava/QLabel.h deleted file mode 100644 index c14cb429..00000000 --- a/qtjava/javalib/qtjava/QLabel.h +++ /dev/null @@ -1,64 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QLabel__ -#define __org_kde_qt_QLabel__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLabel_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLabel_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_newTQLabel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_newTQLabel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_newTQLabel__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_newTQLabel__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_qt_QLabel_newTQLabel__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_newTQLabel__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_newTQLabel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_newTQLabel__Lorg_kde_qt_QWidget_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_qt_QLabel_newTQLabel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLabel_text (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLabel_pixmap (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLabel_picture (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLabel_movie (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLabel_textFormat (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_setTextFormat (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLabel_alignment (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_setAlignment (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLabel_indent (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_setIndent (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLabel_autoResize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_setAutoResize (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLabel_hasScaledContents (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_setScaledContents (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLabel_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLabel_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_setBuddy (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLabel_buddy (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLabel_heightForWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_setFont (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_setPixmap (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_setPicture (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_setMovie (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_setNum__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_setNum__D (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_clear (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLabel_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLabel_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_drawContents (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_fontChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLabel_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QLabel__ */ diff --git a/qtjava/javalib/qtjava/QLayout.cpp b/qtjava/javalib/qtjava/QLayout.cpp deleted file mode 100644 index 60b1e409..00000000 --- a/qtjava/javalib/qtjava/QLayout.cpp +++ /dev/null @@ -1,340 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLayout_activate(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQLayout*) QtSupport::getQt(env, obj))->activate(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLayout_addItem(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLayout*) QtSupport::getQt(env, obj))->addItem((TQLayoutItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLayout_add(JNIEnv* env, jobject obj, jobject w) -{ - ((TQLayout*) QtSupport::getQt(env, obj))->add((TQWidget*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QLayout_alignment(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQLayoutItem*)(TQLayout*) QtSupport::getQt(env, obj))->alignment(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLayout_autoAdd(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQLayout*) QtSupport::getQt(env, obj))->autoAdd(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QLayout_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQLayout*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QLayout_defaultBorder(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQLayout*) QtSupport::getQt(env, obj))->defaultBorder(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QLayout_expanding(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQLayout*) QtSupport::getQt(env, obj))->expanding(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLayout_freeze__(JNIEnv* env, jobject obj) -{ - ((TQLayout*) QtSupport::getQt(env, obj))->freeze(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLayout_freeze__II(JNIEnv* env, jobject obj, jint w, jint h) -{ - ((TQLayout*) QtSupport::getQt(env, obj))->freeze((int) w, (int) h); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QLayout_geometry(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQLayout*) QtSupport::getQt(env, obj))->geometry()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLayout_hasHeightForWidth(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQLayoutItem*)(TQLayout*) QtSupport::getQt(env, obj))->hasHeightForWidth(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QLayout_heightForWidth(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQLayoutItem*)(TQLayout*) QtSupport::getQt(env, obj))->heightForWidth((int) arg1); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLayout_invalidate(JNIEnv* env, jobject obj) -{ - ((TQLayout*) QtSupport::getQt(env, obj))->invalidate(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLayout_isEmpty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQLayout*) QtSupport::getQt(env, obj))->isEmpty(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLayout_isEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQLayout*) QtSupport::getQt(env, obj))->isEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLayout_isTopLevel(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQLayout*) QtSupport::getQt(env, obj))->isTopLevel(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QLayout_layout(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLayout*) QtSupport::getQt(env, obj))->layout(), "org.kde.qt.TQLayout"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QLayout_mainWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLayout*) QtSupport::getQt(env, obj))->mainWidget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QLayout_margin(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQLayout*) QtSupport::getQt(env, obj))->margin(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QLayout_maximumSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQLayout*) QtSupport::getQt(env, obj))->maximumSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QLayout_menuBar(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLayout*) QtSupport::getQt(env, obj))->menuBar(), "org.kde.qt.TQMenuBar"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QLayout_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLayout*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QLayout_minimumSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQLayout*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLayout_removeItem(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLayout*) QtSupport::getQt(env, obj))->removeItem((TQLayoutItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLayout_remove(JNIEnv* env, jobject obj, jobject w) -{ - ((TQLayout*) QtSupport::getQt(env, obj))->remove((TQWidget*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QLayout_resizeMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQLayout*) QtSupport::getQt(env, obj))->resizeMode(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLayout_setAlignment(JNIEnv* env, jobject obj, jint a) -{ - ((TQLayoutItem*)(TQLayout*) QtSupport::getQt(env, obj))->setAlignment((int) a); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLayout_setAutoAdd(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQLayout*) QtSupport::getQt(env, obj))->setAutoAdd((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLayout_setEnabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQLayout*) QtSupport::getQt(env, obj))->setEnabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLayout_setGeometry(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLayout*) QtSupport::getQt(env, obj))->setGeometry((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLayout_setMargin(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQLayout*) QtSupport::getQt(env, obj))->setMargin((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLayout_setMenuBar(JNIEnv* env, jobject obj, jobject w) -{ - ((TQLayout*) QtSupport::getQt(env, obj))->setMenuBar((TQMenuBar*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLayout_setResizeMode(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQLayout*) QtSupport::getQt(env, obj))->setResizeMode((TQLayout::ResizeMode) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLayout_setSpacing(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQLayout*) QtSupport::getQt(env, obj))->setSpacing((int) arg1); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QLayout_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQLayoutItem*)(TQLayout*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QLayout_spacerItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLayoutItem*)(TQLayout*) QtSupport::getQt(env, obj))->spacerItem(), "org.kde.qt.TQSpacerItem"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QLayout_spacing(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQLayout*) QtSupport::getQt(env, obj))->spacing(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLayout_supportsMargin(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQLayout*) QtSupport::getQt(env, obj))->supportsMargin(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QLayout_totalHeightForWidth(JNIEnv* env, jobject obj, jint w) -{ - jint xret = (jint) ((TQLayout*) QtSupport::getQt(env, obj))->totalHeightForWidth((int) w); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QLayout_totalMaximumSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQLayout*) QtSupport::getQt(env, obj))->totalMaximumSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QLayout_totalMinimumSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQLayout*) QtSupport::getQt(env, obj))->totalMinimumSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QLayout_totalSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQLayout*) QtSupport::getQt(env, obj))->totalSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QLayout_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQLayout::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QLayout_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQLayout::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QLayout_widget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLayoutItem*)(TQLayout*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget"); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QLayout.h b/qtjava/javalib/qtjava/QLayout.h deleted file mode 100644 index d6db25ce..00000000 --- a/qtjava/javalib/qtjava/QLayout.h +++ /dev/null @@ -1,64 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QLayout__ -#define __org_kde_qt_QLayout__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayout_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLayout_className (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLayout_margin (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLayout_spacing (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLayout_setMargin (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLayout_setSpacing (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLayout_defaultBorder (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLayout_freeze__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLayout_freeze__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLayout_setResizeMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLayout_resizeMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLayout_setMenuBar (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayout_menuBar (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayout_mainWidget (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLayout_isTopLevel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLayout_setAutoAdd (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLayout_autoAdd (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLayout_invalidate (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayout_geometry (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLayout_activate (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLayout_add (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLayout_addItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLayout_remove (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLayout_removeItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLayout_expanding (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayout_minimumSize (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayout_maximumSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLayout_setGeometry (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLayout_isEmpty (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLayout_totalHeightForWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayout_totalMinimumSize (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayout_totalMaximumSize (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayout_totalSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayout_layout (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLayout_supportsMargin (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLayout_setEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLayout_isEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLayout_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLayout_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayout_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLayout_hasHeightForWidth (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLayout_heightForWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayout_widget (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayout_spacerItem (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLayout_alignment (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLayout_setAlignment (JNIEnv *env, jobject, jint); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QLayout__ */ diff --git a/qtjava/javalib/qtjava/QLayoutItem.cpp b/qtjava/javalib/qtjava/QLayoutItem.cpp deleted file mode 100644 index d5e61b0e..00000000 --- a/qtjava/javalib/qtjava/QLayoutItem.cpp +++ /dev/null @@ -1,114 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QLayoutItem_alignment(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQLayoutItem*) QtSupport::getQt(env, obj))->alignment(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QLayoutItem_expanding(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQLayoutItem*) QtSupport::getQt(env, obj))->expanding(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QLayoutItem_geometry(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQLayoutItem*) QtSupport::getQt(env, obj))->geometry()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLayoutItem_hasHeightForWidth(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQLayoutItem*) QtSupport::getQt(env, obj))->hasHeightForWidth(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QLayoutItem_heightForWidth(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQLayoutItem*) QtSupport::getQt(env, obj))->heightForWidth((int) arg1); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLayoutItem_invalidate(JNIEnv* env, jobject obj) -{ - ((TQLayoutItem*) QtSupport::getQt(env, obj))->invalidate(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLayoutItem_isEmpty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQLayoutItem*) QtSupport::getQt(env, obj))->isEmpty(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QLayoutItem_layout(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLayoutItem*) QtSupport::getQt(env, obj))->layout(), "org.kde.qt.TQLayout"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QLayoutItem_maximumSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQLayoutItem*) QtSupport::getQt(env, obj))->maximumSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QLayoutItem_minimumSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQLayoutItem*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLayoutItem_setAlignment(JNIEnv* env, jobject obj, jint a) -{ - ((TQLayoutItem*) QtSupport::getQt(env, obj))->setAlignment((int) a); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLayoutItem_setGeometry(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLayoutItem*) QtSupport::getQt(env, obj))->setGeometry((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QLayoutItem_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQLayoutItem*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QLayoutItem_spacerItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLayoutItem*) QtSupport::getQt(env, obj))->spacerItem(), "org.kde.qt.TQSpacerItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QLayoutItem_widget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLayoutItem*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget"); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QLayoutItem.h b/qtjava/javalib/qtjava/QLayoutItem.h deleted file mode 100644 index 31f21f9b..00000000 --- a/qtjava/javalib/qtjava/QLayoutItem.h +++ /dev/null @@ -1,33 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QLayoutItem__ -#define __org_kde_qt_QLayoutItem__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayoutItem_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayoutItem_minimumSize (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayoutItem_maximumSize (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLayoutItem_expanding (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLayoutItem_setGeometry (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayoutItem_geometry (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLayoutItem_isEmpty (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLayoutItem_hasHeightForWidth (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLayoutItem_heightForWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLayoutItem_invalidate (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayoutItem_widget (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayoutItem_layout (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayoutItem_spacerItem (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLayoutItem_alignment (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLayoutItem_setAlignment (JNIEnv *env, jobject, jint); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QLayoutItem__ */ diff --git a/qtjava/javalib/qtjava/QLibrary.cpp b/qtjava/javalib/qtjava/QLibrary.cpp deleted file mode 100644 index 43ef6f4f..00000000 --- a/qtjava/javalib/qtjava/QLibrary.cpp +++ /dev/null @@ -1,91 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQLibraryJBridge : public TQLibrary -{ -public: - TQLibraryJBridge(const TQString& arg1) : TQLibrary(arg1) {}; - ~TQLibraryJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLibrary_autoUnload(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQLibrary*) QtSupport::getQt(env, obj))->autoUnload(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLibrary_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QLibrary_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLibrary_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQLibrary*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLibrary_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLibrary_isLoaded(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQLibrary*) QtSupport::getQt(env, obj))->isLoaded(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QLibrary_library(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQLibrary*) QtSupport::getQt(env, obj))->library(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLibrary_load(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQLibrary*) QtSupport::getQt(env, obj))->load(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLibrary_newTQLibrary(JNIEnv* env, jobject obj, jstring filename) -{ -static TQString* _qstring_filename = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQLibraryJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLibrary_setAutoUnload(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQLibrary*) QtSupport::getQt(env, obj))->setAutoUnload((bool) enable); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLibrary_unload(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQLibrary*) QtSupport::getQt(env, obj))->unload(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QLibrary.h b/qtjava/javalib/qtjava/QLibrary.h deleted file mode 100644 index 9c53f676..00000000 --- a/qtjava/javalib/qtjava/QLibrary.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QLibrary__ -#define __org_kde_qt_QLibrary__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLibrary_newTQLibrary (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLibrary_load (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLibrary_unload (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLibrary_isLoaded (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLibrary_autoUnload (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLibrary_setAutoUnload (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLibrary_library (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLibrary_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLibrary_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLibrary_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QLibrary__ */ diff --git a/qtjava/javalib/qtjava/QLineEdit.cpp b/qtjava/javalib/qtjava/QLineEdit.cpp deleted file mode 100644 index ca73e0a1..00000000 --- a/qtjava/javalib/qtjava/QLineEdit.cpp +++ /dev/null @@ -1,1314 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include - -class TQLineEditJBridge : public TQLineEdit -{ -public: - TQLineEditJBridge(TQWidget* arg1,const char* arg2) : TQLineEdit(arg1,arg2) {}; - TQLineEditJBridge(TQWidget* arg1) : TQLineEdit(arg1) {}; - TQLineEditJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQLineEdit(arg1,arg2,arg3) {}; - TQLineEditJBridge(const TQString& arg1,TQWidget* arg2) : TQLineEdit(arg1,arg2) {}; - TQLineEditJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4) : TQLineEdit(arg1,arg2,arg3,arg4) {}; - TQLineEditJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3) : TQLineEdit(arg1,arg2,arg3) {}; - void public_selectAll() { - TQLineEdit::selectAll(); - return; - } - void public_deselect() { - TQLineEdit::deselect(); - return; - } - void public_clearValidator() { - TQLineEdit::clearValidator(); - return; - } - void public_clear() { - TQLineEdit::clear(); - return; - } - void public_undo() { - TQLineEdit::undo(); - return; - } - void public_redo() { - TQLineEdit::redo(); - return; - } - void public_cut() { - TQLineEdit::cut(); - return; - } - void public_copy() { - TQLineEdit::copy(); - return; - } - void public_paste() { - TQLineEdit::paste(); - return; - } - bool protected_event(TQEvent* arg1) { - return (bool) TQLineEdit::event(arg1); - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TQLineEdit::mousePressEvent(arg1); - return; - } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - TQLineEdit::mouseMoveEvent(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - TQLineEdit::mouseReleaseEvent(arg1); - return; - } - void protected_mouseDoubleClickEvent(TQMouseEvent* arg1) { - TQLineEdit::mouseDoubleClickEvent(arg1); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQLineEdit::keyPressEvent(arg1); - return; - } - void protected_imStartEvent(TQIMEvent* arg1) { - TQLineEdit::imStartEvent(arg1); - return; - } - void protected_imComposeEvent(TQIMEvent* arg1) { - TQLineEdit::imComposeEvent(arg1); - return; - } - void protected_imEndEvent(TQIMEvent* arg1) { - TQLineEdit::imEndEvent(arg1); - return; - } - void protected_focusInEvent(TQFocusEvent* arg1) { - TQLineEdit::focusInEvent(arg1); - return; - } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TQLineEdit::focusOutEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQLineEdit::resizeEvent(arg1); - return; - } - void protected_drawContents(TQPainter* arg1) { - TQLineEdit::drawContents(arg1); - return; - } - void protected_dragEnterEvent(TQDragEnterEvent* arg1) { - TQLineEdit::dragEnterEvent(arg1); - return; - } - void protected_dragMoveEvent(TQDragMoveEvent* arg1) { - TQLineEdit::dragMoveEvent(arg1); - return; - } - void protected_dragLeaveEvent(TQDragLeaveEvent* arg1) { - TQLineEdit::dragLeaveEvent(arg1); - return; - } - void protected_dropEvent(TQDropEvent* arg1) { - TQLineEdit::dropEvent(arg1); - return; - } - void protected_contextMenuEvent(TQContextMenuEvent* arg1) { - TQLineEdit::contextMenuEvent(arg1); - return; - } - TQPopupMenu* protected_createPopupMenu() { - return (TQPopupMenu*) TQLineEdit::createPopupMenu(); - } - void protected_windowActivationChange(bool arg1) { - TQLineEdit::windowActivationChange(arg1); - return; - } - void protected_repaintArea(int arg1,int arg2) { - TQLineEdit::repaintArea(arg1,arg2); - return; - } - ~TQLineEditJBridge() {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.qt.TQLineEdit","selectAll")) { - TQLineEdit::selectAll(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","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.qt.TQLineEdit","undo")) { - TQLineEdit::undo(); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","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.qt.TQLineEdit","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.qt.TQLineEdit","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.qt.TQLineEdit","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.qt.TQLineEdit","cut")) { - TQLineEdit::cut(); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","clear")) { - TQLineEdit::clear(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","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.qt.TQLineEdit","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","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")) { - TQLineEdit::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.qt.TQLineEdit","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.qt.TQLineEdit","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.qt.TQLineEdit","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","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.qt.TQLineEdit","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")) { - TQLineEdit::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.qt.TQLineEdit",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void paste() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","paste")) { - TQLineEdit::paste(); - } - return; - } - void redo() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","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.qt.TQLineEdit","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QLineEdit_alignment(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQLineEdit*) QtSupport::getQt(env, obj))->alignment(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_backspace(JNIEnv* env, jobject obj) -{ - ((TQLineEdit*) QtSupport::getQt(env, obj))->backspace(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QLineEdit_characterAt(JNIEnv* env, jobject obj, jint arg1, jchar arg2) -{ -static TQChar* _qchar_arg2 = 0; - jint xret = (jint) ((TQLineEdit*) QtSupport::getQt(env, obj))->characterAt((int) arg1, (TQChar*) QtSupport::toTQChar(env, arg2, &_qchar_arg2)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QLineEdit_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQLineEdit*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_clearModified(JNIEnv* env, jobject obj) -{ - ((TQLineEdit*) QtSupport::getQt(env, obj))->clearModified(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_clearValidator(JNIEnv* env, jobject obj) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->public_clearValidator(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_clear(JNIEnv* env, jobject obj) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->public_clear(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_contextMenuEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_copy(JNIEnv* env, jobject obj) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->public_copy(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QLineEdit_createPopupMenu(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_createPopupMenu(), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_cursorBackward__Z(JNIEnv* env, jobject obj, jboolean mark) -{ - ((TQLineEdit*) QtSupport::getQt(env, obj))->cursorBackward((bool) mark); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_cursorBackward__ZI(JNIEnv* env, jobject obj, jboolean mark, jint steps) -{ - ((TQLineEdit*) QtSupport::getQt(env, obj))->cursorBackward((bool) mark, (int) steps); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_cursorForward__Z(JNIEnv* env, jobject obj, jboolean mark) -{ - ((TQLineEdit*) QtSupport::getQt(env, obj))->cursorForward((bool) mark); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_cursorForward__ZI(JNIEnv* env, jobject obj, jboolean mark, jint steps) -{ - ((TQLineEdit*) QtSupport::getQt(env, obj))->cursorForward((bool) mark, (int) steps); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_cursorLeft__Z(JNIEnv* env, jobject obj, jboolean mark) -{ - ((TQLineEdit*) QtSupport::getQt(env, obj))->cursorLeft((bool) mark); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_cursorLeft__ZI(JNIEnv* env, jobject obj, jboolean mark, jint steps) -{ - ((TQLineEdit*) QtSupport::getQt(env, obj))->cursorLeft((bool) mark, (int) steps); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QLineEdit_cursorPosition(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQLineEdit*) QtSupport::getQt(env, obj))->cursorPosition(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_cursorRight__Z(JNIEnv* env, jobject obj, jboolean mark) -{ - ((TQLineEdit*) QtSupport::getQt(env, obj))->cursorRight((bool) mark); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_cursorRight__ZI(JNIEnv* env, jobject obj, jboolean mark, jint steps) -{ - ((TQLineEdit*) QtSupport::getQt(env, obj))->cursorRight((bool) mark, (int) steps); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_cursorWordBackward(JNIEnv* env, jobject obj, jboolean mark) -{ - ((TQLineEdit*) QtSupport::getQt(env, obj))->cursorWordBackward((bool) mark); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_cursorWordForward(JNIEnv* env, jobject obj, jboolean mark) -{ - ((TQLineEdit*) QtSupport::getQt(env, obj))->cursorWordForward((bool) mark); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_cut(JNIEnv* env, jobject obj) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->public_cut(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_del(JNIEnv* env, jobject obj) -{ - ((TQLineEdit*) QtSupport::getQt(env, obj))->del(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_deselect(JNIEnv* env, jobject obj) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->public_deselect(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QLineEdit_displayText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQLineEdit*) QtSupport::getQt(env, obj))->displayText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QLineEdit_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLineEdit_dragEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->dragEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_dragEnterEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_dragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_dragLeaveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_dragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_dragMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_dragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_drawContents(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_dropEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_dropEvent((TQDropEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QLineEdit_echoMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQLineEdit*) QtSupport::getQt(env, obj))->echoMode(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLineEdit_edited(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->edited(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_end(JNIEnv* env, jobject obj, jboolean mark) -{ - ((TQLineEdit*) QtSupport::getQt(env, obj))->end((bool) mark); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLineEdit_event(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQLineEdit*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQLineEdit*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_focusInEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_focusOutEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLineEdit_frame(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->frame(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLineEdit_getSelection(JNIEnv* env, jobject obj, jintArray arg1, jintArray arg2) -{ - int* _int_arg1 = QtSupport::toIntPtr(env, arg1); - int* _int_arg2 = QtSupport::toIntPtr(env, arg2); - jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->getSelection( (int*) _int_arg1, (int*) _int_arg2); - env->SetIntArrayRegion(arg1, 0, 1, (jint *) _int_arg1); - env->SetIntArrayRegion(arg2, 0, 1, (jint *) _int_arg2); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLineEdit_hasAcceptableInput(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->hasAcceptableInput(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLineEdit_hasMarkedText(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->hasMarkedText(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLineEdit_hasSelectedText(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->hasSelectedText(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_home(JNIEnv* env, jobject obj, jboolean mark) -{ - ((TQLineEdit*) QtSupport::getQt(env, obj))->home((bool) mark); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_imComposeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_imComposeEvent((TQIMEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_imEndEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_imEndEvent((TQIMEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_imStartEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_imStartEvent((TQIMEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QLineEdit_inputMask(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQLineEdit*) QtSupport::getQt(env, obj))->inputMask(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_insert(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQLineEdit*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLineEdit_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLineEdit_isModified(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->isModified(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLineEdit_isReadOnly(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->isReadOnly(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLineEdit_isRedoAvailable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->isRedoAvailable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLineEdit_isUndoAvailable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->isUndoAvailable(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QLineEdit_markedText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQLineEdit*) QtSupport::getQt(env, obj))->markedText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QLineEdit_maxLength(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQLineEdit*) QtSupport::getQt(env, obj))->maxLength(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QLineEdit_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLineEdit*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QLineEdit_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQLineEdit*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_mouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_newTQLineEdit__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jobject parent) -{ -static TQString* _qstring_arg1 = 0; -static TQString* _qstring_arg2 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQLineEditJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_newTQLineEdit__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jobject parent, jstring name) -{ -static TQString* _qstring_arg1 = 0; -static TQString* _qstring_arg2 = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQLineEditJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_newTQLineEdit__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring arg1, jobject parent) -{ -static TQString* _qstring_arg1 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQLineEditJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_newTQLineEdit__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jobject parent, jstring name) -{ -static TQString* _qstring_arg1 = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQLineEditJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_newTQLineEdit__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQLineEditJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_newTQLineEdit__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 TQLineEditJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_paste(JNIEnv* env, jobject obj) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->public_paste(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_redo(JNIEnv* env, jobject obj) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->public_redo(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_repaintArea(JNIEnv* env, jobject obj, jint arg1, jint arg2) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_repaintArea((int) arg1, (int) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_selectAll(JNIEnv* env, jobject obj) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->public_selectAll(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QLineEdit_selectedText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQLineEdit*) QtSupport::getQt(env, obj))->selectedText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QLineEdit_selectionStart(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQLineEdit*) QtSupport::getQt(env, obj))->selectionStart(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_setAlignment(JNIEnv* env, jobject obj, jint flag) -{ - ((TQLineEdit*) QtSupport::getQt(env, obj))->setAlignment((int) flag); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_setCursorPosition(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQLineEdit*) QtSupport::getQt(env, obj))->setCursorPosition((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_setDragEnabled(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQLineEdit*) QtSupport::getQt(env, obj))->setDragEnabled((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_setEchoMode(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQLineEdit*) QtSupport::getQt(env, obj))->setEchoMode((TQLineEdit::EchoMode) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_setEdited(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQLineEdit*) QtSupport::getQt(env, obj))->setEdited((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_setFont(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLineEdit*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_setFrame(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQLineEdit*) QtSupport::getQt(env, obj))->setFrame((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_setInputMask(JNIEnv* env, jobject obj, jstring inputMask) -{ -static TQString* _qstring_inputMask = 0; - ((TQLineEdit*) QtSupport::getQt(env, obj))->setInputMask((const TQString&)*(TQString*) QtSupport::toTQString(env, inputMask, &_qstring_inputMask)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_setMaxLength(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQLineEdit*) QtSupport::getQt(env, obj))->setMaxLength((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_setPalette(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLineEdit*) QtSupport::getQt(env, obj))->setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_setReadOnly(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQLineEdit*) QtSupport::getQt(env, obj))->setReadOnly((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_setSelection(JNIEnv* env, jobject obj, jint arg1, jint arg2) -{ - ((TQLineEdit*) QtSupport::getQt(env, obj))->setSelection((int) arg1, (int) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_setText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQLineEdit*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_setValidator(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQLineEdit*) QtSupport::getQt(env, obj))->setValidator((const TQValidator*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QLineEdit_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQLineEdit*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QLineEdit_text(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQLineEdit*) QtSupport::getQt(env, obj))->text(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QLineEdit_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQLineEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QLineEdit_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQLineEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_undo(JNIEnv* env, jobject obj) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->public_undo(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLineEdit_validateAndSet(JNIEnv* env, jobject obj, jstring arg1, jint arg2, jint arg3, jint arg4) -{ -static TQString* _qstring_arg1 = 0; - jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->validateAndSet((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (int) arg2, (int) arg3, (int) arg4); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QLineEdit_validator(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLineEdit*) QtSupport::getQt(env, obj))->validator(), "org.kde.qt.TQValidator"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_windowActivationChange(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_windowActivationChange((bool) arg1); - return; -} - diff --git a/qtjava/javalib/qtjava/QLineEdit.h b/qtjava/javalib/qtjava/QLineEdit.h deleted file mode 100644 index 63aad0e7..00000000 --- a/qtjava/javalib/qtjava/QLineEdit.h +++ /dev/null @@ -1,117 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QLineEdit__ -#define __org_kde_qt_QLineEdit__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLineEdit_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLineEdit_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_newTQLineEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_newTQLineEdit__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_newTQLineEdit__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_newTQLineEdit__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_newTQLineEdit__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_qt_QLineEdit_newTQLineEdit__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLineEdit_text (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLineEdit_displayText (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLineEdit_maxLength (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_frame (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLineEdit_echoMode (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_isReadOnly (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLineEdit_validator (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLineEdit_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLineEdit_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLineEdit_cursorPosition (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_validateAndSet (JNIEnv *env, jobject, jstring, jint, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLineEdit_alignment (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_cursorLeft__ZI (JNIEnv *env, jobject, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_cursorLeft__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_cursorRight__ZI (JNIEnv *env, jobject, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_cursorRight__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_cursorForward__ZI (JNIEnv *env, jobject, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_cursorForward__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_cursorBackward__ZI (JNIEnv *env, jobject, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_cursorBackward__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_cursorWordForward (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_cursorWordBackward (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_backspace (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_del (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_home (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_end (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_isModified (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_clearModified (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_edited (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setEdited (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_hasSelectedText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLineEdit_selectedText (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLineEdit_selectionStart (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_isUndoAvailable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_isRedoAvailable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_hasMarkedText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLineEdit_markedText (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_dragEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLineEdit_inputMask (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setInputMask (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_hasAcceptableInput (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLineEdit_characterAt (JNIEnv *env, jobject, jint, jchar); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_getSelection (JNIEnv *env, jobject, jintArray, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_selectAll (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_deselect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_clearValidator (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_insert (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_undo (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_redo (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setMaxLength (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setFrame (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setEchoMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setReadOnly (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setValidator (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setFont (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setPalette (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setSelection (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setCursorPosition (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setAlignment (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_cut (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_copy (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_paste (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setDragEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLineEdit_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLineEdit_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_event (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_mouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_mouseDoubleClickEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_imStartEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_imComposeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_imEndEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_focusInEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_focusOutEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_drawContents (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_dragEnterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_dragMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_dragLeaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_dropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_contextMenuEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLineEdit_createPopupMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_windowActivationChange (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_repaintArea (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QLineEdit__ */ diff --git a/qtjava/javalib/qtjava/QListBox.cpp b/qtjava/javalib/qtjava/QListBox.cpp deleted file mode 100644 index 4efe5465..00000000 --- a/qtjava/javalib/qtjava/QListBox.cpp +++ /dev/null @@ -1,1601 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQListBoxJBridge : public TQListBox -{ -public: - TQListBoxJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQListBox(arg1,arg2,arg3) {}; - TQListBoxJBridge(TQWidget* arg1,const char* arg2) : TQListBox(arg1,arg2) {}; - TQListBoxJBridge(TQWidget* arg1) : TQListBox(arg1) {}; - TQListBoxJBridge() : TQListBox() {}; - void public_ensureCurrentVisible() { - TQListBox::ensureCurrentVisible(); - return; - } - void public_clearSelection() { - TQListBox::clearSelection(); - return; - } - void public_invertSelection() { - TQListBox::invertSelection(); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TQListBox::mousePressEvent(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - TQListBox::mouseReleaseEvent(arg1); - return; - } - void protected_mouseDoubleClickEvent(TQMouseEvent* arg1) { - TQListBox::mouseDoubleClickEvent(arg1); - return; - } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - TQListBox::mouseMoveEvent(arg1); - return; - } - void protected_contentsContextMenuEvent(TQContextMenuEvent* arg1) { - TQListBox::contentsContextMenuEvent(arg1); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQListBox::keyPressEvent(arg1); - return; - } - void protected_focusInEvent(TQFocusEvent* arg1) { - TQListBox::focusInEvent(arg1); - return; - } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TQListBox::focusOutEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQListBox::resizeEvent(arg1); - return; - } - void protected_showEvent(TQShowEvent* arg1) { - TQListBox::showEvent(arg1); - return; - } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) TQListBox::eventFilter(arg1,arg2); - } - void protected_updateItem(int arg1) { - TQListBox::updateItem(arg1); - return; - } - void protected_updateItem(TQListBoxItem* arg1) { - TQListBox::updateItem(arg1); - return; - } - void protected_updateCellWidth() { - TQListBox::updateCellWidth(); - return; - } - int protected_totalWidth() { - return (int) TQListBox::totalWidth(); - } - int protected_totalHeight() { - return (int) TQListBox::totalHeight(); - } - void protected_paintCell(TQPainter* arg1,int arg2,int arg3) { - TQListBox::paintCell(arg1,arg2,arg3); - return; - } - void protected_toggleCurrentItem() { - TQListBox::toggleCurrentItem(); - return; - } - bool protected_isRubberSelecting() { - return (bool) TQListBox::isRubberSelecting(); - } - void protected_doLayout() { - TQListBox::doLayout(); - return; - } - void protected_windowActivationChange(bool arg1) { - TQListBox::windowActivationChange(arg1); - return; - } - bool protected_itemYPos(int arg1,int* arg2) { - return (bool) TQListBox::itemYPos(arg1,arg2); - } - int protected_findItem(int arg1) { - return (int) TQListBox::findItem(arg1); - } - void protected_clearInputString() { - TQListBox::clearInputString(); - return; - } - ~TQListBoxJBridge() {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.qt.TQListBox","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")) { - TQListBox::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListBox","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.qt.TQListBox","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.qt.TQListBox","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.qt.TQListBox","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.qt.TQListBox","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListBox","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")) { - TQListBox::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void clearSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListBox","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.qt.TQListBox","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")) { - 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.qt.TQListBox","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListBox","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.qt.TQListBox","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")) { - 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")) { - 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.qt.TQListBox","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListBox_autoBottomScrollBar(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQListBox*) QtSupport::getQt(env, obj))->autoBottomScrollBar(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListBox_autoScrollBar(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQListBox*) QtSupport::getQt(env, obj))->autoScrollBar(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListBox_autoScroll(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQListBox*) QtSupport::getQt(env, obj))->autoScroll(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListBox_autoUpdate(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQListBox*) QtSupport::getQt(env, obj))->autoUpdate(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListBox_bottomScrollBar(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQListBox*) QtSupport::getQt(env, obj))->bottomScrollBar(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListBox_cellHeight__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->cellHeight(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListBox_cellHeight__I(JNIEnv* env, jobject obj, jint i) -{ - jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->cellHeight((int) i); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListBox_cellWidth__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->cellWidth(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListBox_cellWidth__I(JNIEnv* env, jobject obj, jint i) -{ - jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->cellWidth((int) i); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_centerCurrentItem(JNIEnv* env, jobject obj) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->centerCurrentItem(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_changeItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint index) -{ -static TQString* _qstring_text = 0; - ((TQListBox*) QtSupport::getQt(env, obj))->changeItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_changeItem__Lorg_kde_qt_QListBoxItem_2I(JNIEnv* env, jobject obj, jobject arg1, jint index) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->changeItem((const TQListBoxItem*) QtSupport::getQt(env, arg1), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_changeItem__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint index) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->changeItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_changeItem__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject pixmap, jstring text, jint index) -{ -static TQString* _qstring_text = 0; - ((TQListBox*) QtSupport::getQt(env, obj))->changeItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QListBox_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQListBox*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_clearInputString(JNIEnv* env, jobject obj) -{ - ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_clearInputString(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_clearSelection(JNIEnv* env, jobject obj) -{ - ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->public_clearSelection(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_clear(JNIEnv* env, jobject obj) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListBox_columnMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->columnMode(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_contentsContextMenuEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListBox_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListBox_currentItem(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->currentItem(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QListBox_currentText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQListBox*) QtSupport::getQt(env, obj))->currentText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QListBox_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_doLayout(JNIEnv* env, jobject obj) -{ - ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_doLayout(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListBox_dragSelect(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQListBox*) QtSupport::getQt(env, obj))->dragSelect(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_ensureCurrentVisible(JNIEnv* env, jobject obj) -{ - ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->public_ensureCurrentVisible(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListBox_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject e) -{ - jboolean xret = (jboolean) ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQListBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQListBox*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListBox_findItem__I(JNIEnv* env, jobject obj, jint yPos) -{ - jint xret = (jint) ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_findItem((int) yPos); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QListBox_findItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBox*) QtSupport::getQt(env, obj))->findItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)), "org.kde.qt.TQListBoxItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QListBox_findItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint compare) -{ -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBox*) QtSupport::getQt(env, obj))->findItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQt::ComparisonFlags) compare), "org.kde.qt.TQListBoxItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QListBox_firstItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBox*) QtSupport::getQt(env, obj))->firstItem(), "org.kde.qt.TQListBoxItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_focusInEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_focusOutEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListBox_inSort__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->inSort((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListBox_inSort__Lorg_kde_qt_QListBoxItem_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->inSort((const TQListBoxItem*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListBox_index(JNIEnv* env, jobject obj, jobject arg1) -{ - jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->index((const TQListBoxItem*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_insertItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TQListBox*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_insertItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint index) -{ -static TQString* _qstring_text = 0; - ((TQListBox*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_insertItem__Lorg_kde_qt_QListBoxItem_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->insertItem((const TQListBoxItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_insertItem__Lorg_kde_qt_QListBoxItem_2I(JNIEnv* env, jobject obj, jobject arg1, jint index) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->insertItem((const TQListBoxItem*) QtSupport::getQt(env, arg1), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_insertItem__Lorg_kde_qt_QListBoxItem_2Lorg_kde_qt_QListBoxItem_2(JNIEnv* env, jobject obj, jobject arg1, jobject after) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->insertItem((const TQListBoxItem*) QtSupport::getQt(env, arg1), (const TQListBoxItem*) QtSupport::getQt(env, after)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_insertItem__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pixmap) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_insertItem__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint index) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_insertItem__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject pixmap, jstring text) -{ -static TQString* _qstring_text = 0; - ((TQListBox*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_insertItem__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject pixmap, jstring text, jint index) -{ -static TQString* _qstring_text = 0; - ((TQListBox*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_insertStrList___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray arg1) -{ -static TQStrList* _qlist_arg1 = 0; - ((TQListBox*) QtSupport::getQt(env, obj))->insertStrList((const TQStrList*) QtSupport::toTQStrList(env, arg1, &_qlist_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_insertStrList___3Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobjectArray arg1, jint index) -{ -static TQStrList* _qlist_arg1 = 0; - ((TQListBox*) QtSupport::getQt(env, obj))->insertStrList((const TQStrList*) QtSupport::toTQStrList(env, arg1, &_qlist_arg1), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_insertStrList___3Ljava_lang_String_2II(JNIEnv* env, jobject obj, jobjectArray arg1, jint numStrings, jint index) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->insertStrList((const char**) QtSupport::toStringArray(env, arg1), (int) numStrings, (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_insertStringList___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray arg1) -{ -static TQStringList* _qlist_arg1 = 0; - ((TQListBox*) QtSupport::getQt(env, obj))->insertStringList((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, arg1, &_qlist_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_insertStringList___3Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobjectArray arg1, jint index) -{ -static TQStringList* _qlist_arg1 = 0; - ((TQListBox*) QtSupport::getQt(env, obj))->insertStringList((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, arg1, &_qlist_arg1), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_invertSelection(JNIEnv* env, jobject obj) -{ - ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->public_invertSelection(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListBox_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListBox_isMultiSelection(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQListBox*) QtSupport::getQt(env, obj))->isMultiSelection(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListBox_isRubberSelecting(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_isRubberSelecting(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListBox_isSelected__I(JNIEnv* env, jobject obj, jint arg1) -{ - jboolean xret = (jboolean) ((TQListBox*) QtSupport::getQt(env, obj))->isSelected((int) arg1); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListBox_isSelected__Lorg_kde_qt_QListBoxItem_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQListBox*) QtSupport::getQt(env, obj))->isSelected((const TQListBoxItem*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QListBox_itemAt(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBox*) QtSupport::getQt(env, obj))->itemAt((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQListBoxItem"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListBox_itemHeight__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->itemHeight(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListBox_itemHeight__I(JNIEnv* env, jobject obj, jint index) -{ - jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->itemHeight((int) index); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QListBox_itemRect(JNIEnv* env, jobject obj, jobject item) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQListBox*) QtSupport::getQt(env, obj))->itemRect((TQListBoxItem*) QtSupport::getQt(env, item))), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListBox_itemVisible__I(JNIEnv* env, jobject obj, jint index) -{ - jboolean xret = (jboolean) ((TQListBox*) QtSupport::getQt(env, obj))->itemVisible((int) index); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListBox_itemVisible__Lorg_kde_qt_QListBoxItem_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQListBox*) QtSupport::getQt(env, obj))->itemVisible((const TQListBoxItem*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListBox_itemYPos(JNIEnv* env, jobject obj, jint index, jintArray yPos) -{ - int* _int_yPos = QtSupport::toIntPtr(env, yPos); - jboolean xret = (jboolean) ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_itemYPos((int) index, (int*) _int_yPos); - env->SetIntArrayRegion(yPos, 0, 1, (jint *) _int_yPos); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QListBox_item(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBox*) QtSupport::getQt(env, obj))->item((int) index), "org.kde.qt.TQListBoxItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_keyPressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QListBox_maxItemWidth(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((TQListBox*) QtSupport::getQt(env, obj))->maxItemWidth(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QListBox_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QListBox_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQListBox*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_mouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_newTQListBox__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQListBoxJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_newTQListBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQListBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_newTQListBox__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 TQListBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_newTQListBox__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 TQListBoxJBridge((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_qt_QListBox_numCols(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->numCols(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListBox_numColumns(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->numColumns(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListBox_numItemsVisible(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->numItemsVisible(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListBox_numRows(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->numRows(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_paintCell(JNIEnv* env, jobject obj, jobject arg1, jint row, jint col) -{ - ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_paintCell((TQPainter*) QtSupport::getQt(env, arg1), (int) row, (int) col); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QListBox_pixmap(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBox*) QtSupport::getQt(env, obj))->pixmap((int) index), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_removeItem(JNIEnv* env, jobject obj, jint index) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->removeItem((int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListBox_rowMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->rowMode(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListBox_scrollBar(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQListBox*) QtSupport::getQt(env, obj))->scrollBar(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_selectAll(JNIEnv* env, jobject obj, jboolean select) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->selectAll((bool) select); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QListBox_selectedItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBox*) QtSupport::getQt(env, obj))->selectedItem(), "org.kde.qt.TQListBoxItem"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListBox_selectionMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->selectionMode(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_setAutoBottomScrollBar(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->setAutoBottomScrollBar((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_setAutoScrollBar(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->setAutoScrollBar((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_setAutoScroll(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->setAutoScroll((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_setAutoUpdate(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->setAutoUpdate((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_setBottomItem(JNIEnv* env, jobject obj, jint index) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->setBottomItem((int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_setBottomScrollBar(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->setBottomScrollBar((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_setColumnMode(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->setColumnMode((TQListBox::LayoutMode) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_setCurrentItem__I(JNIEnv* env, jobject obj, jint index) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->setCurrentItem((int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_setCurrentItem__Lorg_kde_qt_QListBoxItem_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->setCurrentItem((TQListBoxItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_setDragSelect(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->setDragSelect((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_setFixedVisibleLines(JNIEnv* env, jobject obj, jint lines) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->setFixedVisibleLines((int) lines); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_setFont(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_setMultiSelection(JNIEnv* env, jobject obj, jboolean multi) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->setMultiSelection((bool) multi); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_setRowMode(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->setRowMode((TQListBox::LayoutMode) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_setScrollBar(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->setScrollBar((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_setSelected__IZ(JNIEnv* env, jobject obj, jint arg1, jboolean arg2) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->setSelected((int) arg1, (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_setSelected__Lorg_kde_qt_QListBoxItem_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->setSelected((TQListBoxItem*) QtSupport::getQt(env, arg1), (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_setSelectionMode(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->setSelectionMode((TQListBox::SelectionMode) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_setSmoothScrolling(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->setSmoothScrolling((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_setTopItem(JNIEnv* env, jobject obj, jint index) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->setTopItem((int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_setVariableHeight(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->setVariableHeight((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_setVariableWidth(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->setVariableWidth((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_showEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QListBox_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQListBox*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListBox_smoothScrolling(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQListBox*) QtSupport::getQt(env, obj))->smoothScrolling(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_sort__(JNIEnv* env, jobject obj) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->sort(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_sort__Z(JNIEnv* env, jobject obj, jboolean ascending) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->sort((bool) ascending); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_takeItem(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->takeItem((const TQListBoxItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QListBox_text(JNIEnv* env, jobject obj, jint index) -{ - TQString _qstring; - _qstring = ((TQListBox*) QtSupport::getQt(env, obj))->text((int) index); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_toggleCurrentItem(JNIEnv* env, jobject obj) -{ - ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_toggleCurrentItem(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListBox_topItem(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->topItem(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListBox_totalHeight(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_totalHeight(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListBox_totalWidth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_totalWidth(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QListBox_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQListBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QListBox_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQListBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_triggerUpdate(JNIEnv* env, jobject obj, jboolean doLayout) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->triggerUpdate((bool) doLayout); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_updateCellWidth(JNIEnv* env, jobject obj) -{ - ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_updateCellWidth(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_updateItem__I(JNIEnv* env, jobject obj, jint index) -{ - ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_updateItem((int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_updateItem__Lorg_kde_qt_QListBoxItem_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_updateItem((TQListBoxItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListBox_variableHeight(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQListBox*) QtSupport::getQt(env, obj))->variableHeight(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListBox_variableWidth(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQListBox*) QtSupport::getQt(env, obj))->variableWidth(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_viewportPaintEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQListBox*) QtSupport::getQt(env, obj))->viewportPaintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_windowActivationChange(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_windowActivationChange((bool) arg1); - return; -} - diff --git a/qtjava/javalib/qtjava/QListBox.h b/qtjava/javalib/qtjava/QListBox.h deleted file mode 100644 index f04e9b9b..00000000 --- a/qtjava/javalib/qtjava/QListBox.h +++ /dev/null @@ -1,152 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QListBox__ -#define __org_kde_qt_QListBox__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListBox_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QListBox_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_newTQListBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_newTQListBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_newTQListBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_newTQListBox__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setFont (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_count (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_insertStringList___3Ljava_lang_String_2I (JNIEnv *env, jobject, jobjectArray, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_insertStringList___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_insertStrList___3Ljava_lang_String_2I (JNIEnv *env, jobject, jobjectArray, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_insertStrList___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_insertStrList___3Ljava_lang_String_2II (JNIEnv *env, jobject, jobjectArray, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_insertItem__Lorg_kde_qt_QListBoxItem_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_insertItem__Lorg_kde_qt_QListBoxItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_insertItem__Lorg_kde_qt_QListBoxItem_2Lorg_kde_qt_QListBoxItem_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_insertItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_insertItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_insertItem__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_insertItem__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_insertItem__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_insertItem__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_removeItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QListBox_text (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListBox_pixmap (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_changeItem__Lorg_kde_qt_QListBoxItem_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_changeItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_changeItem__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_changeItem__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_takeItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_numItemsVisible (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_currentItem (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QListBox_currentText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setCurrentItem__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setCurrentItem__Lorg_kde_qt_QListBoxItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_centerCurrentItem (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_topItem (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setTopItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setBottomItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QListBox_maxItemWidth (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setSelectionMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_selectionMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setMultiSelection (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_isMultiSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setSelected__Lorg_kde_qt_QListBoxItem_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setSelected__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_isSelected__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_isSelected__Lorg_kde_qt_QListBoxItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListBox_selectedItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListBox_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListBox_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListBox_item (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_index (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListBox_findItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListBox_findItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_triggerUpdate (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_itemVisible__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_itemVisible__Lorg_kde_qt_QListBoxItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setColumnMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setRowMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_columnMode (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_rowMode (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_numColumns (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_numRows (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_variableWidth (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setVariableWidth (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_variableHeight (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setVariableHeight (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_viewportPaintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_dragSelect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setDragSelect (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_autoScroll (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setAutoScroll (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_autoScrollBar (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setAutoScrollBar (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_scrollBar (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setScrollBar (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_autoBottomScrollBar (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setAutoBottomScrollBar (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_bottomScrollBar (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setBottomScrollBar (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_smoothScrolling (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setSmoothScrolling (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_autoUpdate (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setAutoUpdate (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setFixedVisibleLines (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_inSort__Lorg_kde_qt_QListBoxItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_inSort__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_cellHeight__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_cellHeight__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_cellWidth__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_cellWidth__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_numCols (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_itemHeight__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_itemHeight__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListBox_itemAt (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListBox_itemRect (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListBox_firstItem (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_sort__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_sort__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_ensureCurrentVisible (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_clearSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_selectAll (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_invertSelection (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QListBox_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QListBox_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_mouseDoubleClickEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_mouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_contentsContextMenuEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_focusInEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_focusOutEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_showEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_updateItem__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_updateItem__Lorg_kde_qt_QListBoxItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_updateCellWidth (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_totalWidth (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_totalHeight (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_paintCell (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_toggleCurrentItem (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_isRubberSelecting (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_doLayout (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_windowActivationChange (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_itemYPos (JNIEnv *env, jobject, jint, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_findItem__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_clearInputString (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QListBox__ */ diff --git a/qtjava/javalib/qtjava/QListBoxItem.cpp b/qtjava/javalib/qtjava/QListBoxItem.cpp deleted file mode 100644 index 97297c91..00000000 --- a/qtjava/javalib/qtjava/QListBoxItem.cpp +++ /dev/null @@ -1,106 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListBoxItem_current(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQListBoxItem*) QtSupport::getQt(env, obj))->current(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListBoxItem_height(JNIEnv* env, jobject obj, jobject arg1) -{ - jint xret = (jint) ((TQListBoxItem*) QtSupport::getQt(env, obj))->height((const TQListBox*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListBoxItem_isCurrent(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQListBoxItem*) QtSupport::getQt(env, obj))->isCurrent(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListBoxItem_isSelectable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQListBoxItem*) QtSupport::getQt(env, obj))->isSelectable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListBoxItem_isSelected(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQListBoxItem*) QtSupport::getQt(env, obj))->isSelected(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QListBoxItem_listBox(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBoxItem*) QtSupport::getQt(env, obj))->listBox(), "org.kde.qt.TQListBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QListBoxItem_next(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBoxItem*) QtSupport::getQt(env, obj))->next(), "org.kde.qt.TQListBoxItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QListBoxItem_pixmap(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBoxItem*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QListBoxItem_prev(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBoxItem*) QtSupport::getQt(env, obj))->prev(), "org.kde.qt.TQListBoxItem"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListBoxItem_rtti(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQListBoxItem*) QtSupport::getQt(env, obj))->rtti(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListBoxItem_selected(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQListBoxItem*) QtSupport::getQt(env, obj))->selected(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBoxItem_setSelectable(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQListBoxItem*) QtSupport::getQt(env, obj))->setSelectable((bool) b); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QListBoxItem_text(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQListBoxItem*) QtSupport::getQt(env, obj))->text(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListBoxItem_width(JNIEnv* env, jobject obj, jobject arg1) -{ - jint xret = (jint) ((TQListBoxItem*) QtSupport::getQt(env, obj))->width((const TQListBox*) QtSupport::getQt(env, arg1)); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QListBoxItem.h b/qtjava/javalib/qtjava/QListBoxItem.h deleted file mode 100644 index dd489260..00000000 --- a/qtjava/javalib/qtjava/QListBoxItem.h +++ /dev/null @@ -1,32 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QListBoxItem__ -#define __org_kde_qt_QListBoxItem__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QListBoxItem_text (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListBoxItem_pixmap (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBoxItem_height (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBoxItem_width (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBoxItem_isSelected (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBoxItem_isCurrent (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBoxItem_selected (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBoxItem_current (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListBoxItem_listBox (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxItem_setSelectable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBoxItem_isSelectable (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListBoxItem_next (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListBoxItem_prev (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBoxItem_rtti (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QListBoxItem__ */ diff --git a/qtjava/javalib/qtjava/QListBoxPixmap.cpp b/qtjava/javalib/qtjava/QListBoxPixmap.cpp deleted file mode 100644 index d575736a..00000000 --- a/qtjava/javalib/qtjava/QListBoxPixmap.cpp +++ /dev/null @@ -1,145 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQListBoxPixmapJBridge : public TQListBoxPixmap -{ -public: - TQListBoxPixmapJBridge(TQListBox* arg1,const TQPixmap& arg2) : TQListBoxPixmap(arg1,arg2) {}; - TQListBoxPixmapJBridge(const TQPixmap& arg1) : TQListBoxPixmap(arg1) {}; - TQListBoxPixmapJBridge(TQListBox* arg1,const TQPixmap& arg2,TQListBoxItem* arg3) : TQListBoxPixmap(arg1,arg2,arg3) {}; - TQListBoxPixmapJBridge(TQListBox* arg1,const TQPixmap& arg2,const TQString& arg3) : TQListBoxPixmap(arg1,arg2,arg3) {}; - TQListBoxPixmapJBridge(const TQPixmap& arg1,const TQString& arg2) : TQListBoxPixmap(arg1,arg2) {}; - TQListBoxPixmapJBridge(TQListBox* arg1,const TQPixmap& arg2,const TQString& arg3,TQListBoxItem* arg4) : TQListBoxPixmap(arg1,arg2,arg3,arg4) {}; - void protected_paint(TQPainter* arg1) { - TQListBoxPixmap::paint(arg1); - return; - } - ~TQListBoxPixmapJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBoxPixmap_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QListBoxPixmap_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBoxPixmap_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQListBoxPixmap*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListBoxPixmap_height(JNIEnv* env, jobject obj, jobject arg1) -{ - jint xret = (jint) ((TQListBoxPixmap*) QtSupport::getQt(env, obj))->height((const TQListBox*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListBoxPixmap_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBoxPixmap_newTQListBoxPixmap__Lorg_kde_qt_QListBox_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject listbox, jobject arg2) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQListBoxPixmapJBridge((TQListBox*) QtSupport::getQt(env, listbox), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg2))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBoxPixmap_newTQListBoxPixmap__Lorg_kde_qt_QListBox_2Lorg_kde_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject listbox, jobject arg2, jstring arg3) -{ -static TQString* _qstring_arg3 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQListBoxPixmapJBridge((TQListBox*) QtSupport::getQt(env, listbox), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg2), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBoxPixmap_newTQListBoxPixmap__Lorg_kde_qt_QListBox_2Lorg_kde_qt_QPixmap_2Ljava_lang_String_2Lorg_kde_qt_QListBoxItem_2(JNIEnv* env, jobject obj, jobject listbox, jobject pix, jstring arg3, jobject after) -{ -static TQString* _qstring_arg3 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQListBoxPixmapJBridge((TQListBox*) QtSupport::getQt(env, listbox), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQListBoxItem*) QtSupport::getQt(env, after))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBoxPixmap_newTQListBoxPixmap__Lorg_kde_qt_QListBox_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QListBoxItem_2(JNIEnv* env, jobject obj, jobject listbox, jobject pix, jobject after) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQListBoxPixmapJBridge((TQListBox*) QtSupport::getQt(env, listbox), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix), (TQListBoxItem*) QtSupport::getQt(env, after))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBoxPixmap_newTQListBoxPixmap__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQListBoxPixmapJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBoxPixmap_newTQListBoxPixmap__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQListBoxPixmapJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBoxPixmap_paint(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQListBoxPixmapJBridge*) QtSupport::getQt(env, obj))->protected_paint((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QListBoxPixmap_pixmap(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBoxPixmap*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListBoxPixmap_rtti(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQListBoxPixmap*) QtSupport::getQt(env, obj))->rtti(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListBoxPixmap_width(JNIEnv* env, jobject obj, jobject arg1) -{ - jint xret = (jint) ((TQListBoxPixmap*) QtSupport::getQt(env, obj))->width((const TQListBox*) QtSupport::getQt(env, arg1)); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QListBoxPixmap.h b/qtjava/javalib/qtjava/QListBoxPixmap.h deleted file mode 100644 index 90b2381c..00000000 --- a/qtjava/javalib/qtjava/QListBoxPixmap.h +++ /dev/null @@ -1,32 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QListBoxPixmap__ -#define __org_kde_qt_QListBoxPixmap__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxPixmap_newTQListBoxPixmap__Lorg_kde_qt_QListBox_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxPixmap_newTQListBoxPixmap__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxPixmap_newTQListBoxPixmap__Lorg_kde_qt_QListBox_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QListBoxItem_2 (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxPixmap_newTQListBoxPixmap__Lorg_kde_qt_QListBox_2Lorg_kde_qt_QPixmap_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxPixmap_newTQListBoxPixmap__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxPixmap_newTQListBoxPixmap__Lorg_kde_qt_QListBox_2Lorg_kde_qt_QPixmap_2Ljava_lang_String_2Lorg_kde_qt_QListBoxItem_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListBoxPixmap_pixmap (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBoxPixmap_height (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBoxPixmap_width (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBoxPixmap_rtti (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxPixmap_paint (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxPixmap_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxPixmap_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBoxPixmap_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QListBoxPixmap__ */ diff --git a/qtjava/javalib/qtjava/QListBoxText.cpp b/qtjava/javalib/qtjava/QListBoxText.cpp deleted file mode 100644 index b89a8dfd..00000000 --- a/qtjava/javalib/qtjava/QListBoxText.cpp +++ /dev/null @@ -1,126 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQListBoxTextJBridge : public TQListBoxText -{ -public: - TQListBoxTextJBridge(TQListBox* arg1,const TQString& arg2) : TQListBoxText(arg1,arg2) {}; - TQListBoxTextJBridge(TQListBox* arg1) : TQListBoxText(arg1) {}; - TQListBoxTextJBridge(const TQString& arg1) : TQListBoxText(arg1) {}; - TQListBoxTextJBridge() : TQListBoxText() {}; - TQListBoxTextJBridge(TQListBox* arg1,const TQString& arg2,TQListBoxItem* arg3) : TQListBoxText(arg1,arg2,arg3) {}; - void protected_paint(TQPainter* arg1) { - TQListBoxText::paint(arg1); - return; - } - ~TQListBoxTextJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBoxText_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QListBoxText_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBoxText_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQListBoxText*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListBoxText_height(JNIEnv* env, jobject obj, jobject arg1) -{ - jint xret = (jint) ((TQListBoxText*) QtSupport::getQt(env, obj))->height((const TQListBox*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListBoxText_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBoxText_newTQListBoxText__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQListBoxTextJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBoxText_newTQListBoxText__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 TQListBoxTextJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBoxText_newTQListBoxText__Lorg_kde_qt_QListBox_2(JNIEnv* env, jobject obj, jobject listbox) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQListBoxTextJBridge((TQListBox*) QtSupport::getQt(env, listbox))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBoxText_newTQListBoxText__Lorg_kde_qt_QListBox_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject listbox, jstring text) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQListBoxTextJBridge((TQListBox*) QtSupport::getQt(env, listbox), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBoxText_newTQListBoxText__Lorg_kde_qt_QListBox_2Ljava_lang_String_2Lorg_kde_qt_QListBoxItem_2(JNIEnv* env, jobject obj, jobject listbox, jstring text, jobject after) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQListBoxTextJBridge((TQListBox*) QtSupport::getQt(env, listbox), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQListBoxItem*) QtSupport::getQt(env, after))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListBoxText_paint(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQListBoxTextJBridge*) QtSupport::getQt(env, obj))->protected_paint((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListBoxText_rtti(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQListBoxText*) QtSupport::getQt(env, obj))->rtti(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListBoxText_width(JNIEnv* env, jobject obj, jobject arg1) -{ - jint xret = (jint) ((TQListBoxText*) QtSupport::getQt(env, obj))->width((const TQListBox*) QtSupport::getQt(env, arg1)); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QListBoxText.h b/qtjava/javalib/qtjava/QListBoxText.h deleted file mode 100644 index f4ec0e86..00000000 --- a/qtjava/javalib/qtjava/QListBoxText.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QListBoxText__ -#define __org_kde_qt_QListBoxText__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxText_newTQListBoxText__Lorg_kde_qt_QListBox_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxText_newTQListBoxText__Lorg_kde_qt_QListBox_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxText_newTQListBoxText__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxText_newTQListBoxText__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxText_newTQListBoxText__Lorg_kde_qt_QListBox_2Ljava_lang_String_2Lorg_kde_qt_QListBoxItem_2 (JNIEnv *env, jobject, jobject, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBoxText_height (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBoxText_width (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBoxText_rtti (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxText_paint (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxText_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxText_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBoxText_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QListBoxText__ */ diff --git a/qtjava/javalib/qtjava/QListView.cpp b/qtjava/javalib/qtjava/QListView.cpp deleted file mode 100644 index 847f5e78..00000000 --- a/qtjava/javalib/qtjava/QListView.cpp +++ /dev/null @@ -1,1494 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQListViewJBridge : public TQListView -{ -public: - TQListViewJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQListView(arg1,arg2,arg3) {}; - TQListViewJBridge(TQWidget* arg1,const char* arg2) : TQListView(arg1,arg2) {}; - TQListViewJBridge(TQWidget* arg1) : TQListView(arg1) {}; - TQListViewJBridge() : TQListView() {}; - void public_clearSelection() { - TQListView::clearSelection(); - return; - } - void public_sort() { - TQListView::sort(); - return; - } - void public_clear() { - TQListView::clear(); - return; - } - void public_invertSelection() { - TQListView::invertSelection(); - return; - } - void protected_contentsMousePressEvent(TQMouseEvent* arg1) { - TQListView::contentsMousePressEvent(arg1); - return; - } - void protected_contentsMouseReleaseEvent(TQMouseEvent* arg1) { - TQListView::contentsMouseReleaseEvent(arg1); - return; - } - void protected_contentsMouseMoveEvent(TQMouseEvent* arg1) { - TQListView::contentsMouseMoveEvent(arg1); - return; - } - void protected_contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - TQListView::contentsMouseDoubleClickEvent(arg1); - return; - } - void protected_contentsContextMenuEvent(TQContextMenuEvent* arg1) { - TQListView::contentsContextMenuEvent(arg1); - return; - } - void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) { - TQListView::contentsDragEnterEvent(arg1); - return; - } - void protected_contentsDragMoveEvent(TQDragMoveEvent* arg1) { - TQListView::contentsDragMoveEvent(arg1); - return; - } - void protected_contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - TQListView::contentsDragLeaveEvent(arg1); - return; - } - void protected_contentsDropEvent(TQDropEvent* arg1) { - TQListView::contentsDropEvent(arg1); - return; - } - TQDragObject* protected_dragObject() { - return (TQDragObject*) TQListView::dragObject(); - } - void protected_startDrag() { - TQListView::startDrag(); - return; - } - void protected_focusInEvent(TQFocusEvent* arg1) { - TQListView::focusInEvent(arg1); - return; - } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TQListView::focusOutEvent(arg1); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQListView::keyPressEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQListView::resizeEvent(arg1); - return; - } - void protected_viewportResizeEvent(TQResizeEvent* arg1) { - TQListView::viewportResizeEvent(arg1); - return; - } - void protected_showEvent(TQShowEvent* arg1) { - TQListView::showEvent(arg1); - return; - } - void protected_drawContentsOffset(TQPainter* arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7) { - TQListView::drawContentsOffset(arg1,arg2,arg3,arg4,arg5,arg6,arg7); - return; - } - void protected_paintEmptyArea(TQPainter* arg1,const TQRect& arg2) { - TQListView::paintEmptyArea(arg1,arg2); - return; - } - void protected_styleChange(TQStyle& arg1) { - TQListView::styleChange(arg1); - return; - } - void protected_windowActivationChange(bool arg1) { - TQListView::windowActivationChange(arg1); - return; - } - void protected_updateContents() { - TQListView::updateContents(); - return; - } - void protected_doAutoScroll() { - TQListView::doAutoScroll(); - return; - } - ~TQListViewJBridge() {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")) { - TQListView::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")) { - TQListView::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","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")) { - TQListView::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","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.qt.TQListView","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")) { - TQListView::viewportResizeEvent(arg1); - } - return; - } - void sort() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","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.qt.TQListView","clear")) { - TQListView::clear(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQListView::contentsDropEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","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")) { - TQListView::takeItem(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQListView::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void clearSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","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")) { - TQListView::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.qt.TQListView","startDrag")) { - TQListView::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 contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQListView::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")) { - TQListView::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.qt.TQListView","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")) { - 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")) { - TQListView::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","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.qt.TQListView","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")) { - TQListView::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")) { - TQListView::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.qt.TQListView","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListView_addColumn__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring label) -{ -static TQString* _qstring_label = 0; - jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->addColumn((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListView_addColumn__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring label, jint size) -{ -static TQString* _qstring_label = 0; - jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->addColumn((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) size); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListView_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) ((TQListView*) 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_qt_QListView_addColumn__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject iconset, jstring label, jint size) -{ -static TQString* _qstring_label = 0; - jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->addColumn((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) size); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_adjustColumn(JNIEnv* env, jobject obj, jint col) -{ - ((TQListView*) QtSupport::getQt(env, obj))->adjustColumn((int) col); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListView_allColumnsShowFocus(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQListView*) QtSupport::getQt(env, obj))->allColumnsShowFocus(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListView_childCount(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->childCount(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QListView_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQListView*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_clearSelection(JNIEnv* env, jobject obj) -{ - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->public_clearSelection(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_clear(JNIEnv* env, jobject obj) -{ - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->public_clear(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListView_columnAlignment(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->columnAlignment((int) arg1); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QListView_columnText(JNIEnv* env, jobject obj, jint column) -{ - TQString _qstring; - _qstring = ((TQListView*) QtSupport::getQt(env, obj))->columnText((int) column); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListView_columnWidthMode(JNIEnv* env, jobject obj, jint column) -{ - jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->columnWidthMode((int) column); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListView_columnWidth(JNIEnv* env, jobject obj, jint column) -{ - jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->columnWidth((int) column); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListView_columns(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->columns(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_contentsContextMenuEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_contentsDragLeaveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_contentsDragMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_contentsDropEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_contentsMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_contentsMouseMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_contentsMouseReleaseEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QListView_currentItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListView*) QtSupport::getQt(env, obj))->currentItem(), "org.kde.qt.TQListViewItem"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListView_defaultRenameAction(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->defaultRenameAction(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QListView_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_doAutoScroll(JNIEnv* env, jobject obj) -{ - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_doAutoScroll(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QListView_dragObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_dragObject(), "org.kde.qt.TQDragObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_drawContentsOffset(JNIEnv* env, jobject obj, jobject arg1, jint ox, jint oy, jint cx, jint cy, jint cw, jint ch) -{ - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_drawContentsOffset((TQPainter*) QtSupport::getQt(env, arg1), (int) ox, (int) oy, (int) cx, (int) cy, (int) cw, (int) ch); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_ensureItemVisible(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQListView*) QtSupport::getQt(env, obj))->ensureItemVisible((const TQListViewItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListView_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject arg2) -{ - jboolean xret = (jboolean) ((TQListView*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQListView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQListView*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QListView_findItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint column) -{ -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListView*) QtSupport::getQt(env, obj))->findItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) column), "org.kde.qt.TQListViewItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QListView_findItem__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring text, jint column, jint compare) -{ -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListView*) QtSupport::getQt(env, obj))->findItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) column, (TQt::ComparisonFlags) compare), "org.kde.qt.TQListViewItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QListView_firstChild(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListView*) QtSupport::getQt(env, obj))->firstChild(), "org.kde.qt.TQListViewItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_focusInEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_focusOutEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QListView_header(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListView*) QtSupport::getQt(env, obj))->header(), "org.kde.qt.TQHeader"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_hideColumn(JNIEnv* env, jobject obj, jint column) -{ - ((TQListView*) QtSupport::getQt(env, obj))->hideColumn((int) column); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_insertItem(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQListView*) QtSupport::getQt(env, obj))->insertItem((TQListViewItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_invertSelection(JNIEnv* env, jobject obj) -{ - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->public_invertSelection(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListView_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListView_isMultiSelection(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQListView*) QtSupport::getQt(env, obj))->isMultiSelection(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListView_isOpen(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQListView*) QtSupport::getQt(env, obj))->isOpen((const TQListViewItem*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListView_isRenaming(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQListView*) QtSupport::getQt(env, obj))->isRenaming(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListView_isSelected(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQListView*) QtSupport::getQt(env, obj))->isSelected((const TQListViewItem*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QListView_itemAt(JNIEnv* env, jobject obj, jobject screenPos) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListView*) QtSupport::getQt(env, obj))->itemAt((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, screenPos)), "org.kde.qt.TQListViewItem"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListView_itemMargin(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->itemMargin(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListView_itemPos(JNIEnv* env, jobject obj, jobject arg1) -{ - jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->itemPos((const TQListViewItem*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QListView_itemRect(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQListView*) QtSupport::getQt(env, obj))->itemRect((const TQListViewItem*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_keyPressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QListView_lastItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListView*) QtSupport::getQt(env, obj))->lastItem(), "org.kde.qt.TQListViewItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QListView_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QListView_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQListView*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_newTQListView__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQListViewJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_newTQListView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQListViewJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_newTQListView__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 TQListViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_newTQListView__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 TQListViewJBridge((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_qt_QListView_paintEmptyArea(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_paintEmptyArea((TQPainter*) QtSupport::getQt(env, arg1), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_removeColumn(JNIEnv* env, jobject obj, jint index) -{ - ((TQListView*) QtSupport::getQt(env, obj))->removeColumn((int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_removeItem(JNIEnv* env, jobject obj, jobject item) -{ - ((TQListView*) QtSupport::getQt(env, obj))->removeItem((TQListViewItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_repaintItem(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQListView*) QtSupport::getQt(env, obj))->repaintItem((const TQListViewItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_resizeEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListView_resizeMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->resizeMode(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListView_rootIsDecorated(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQListView*) QtSupport::getQt(env, obj))->rootIsDecorated(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_selectAll(JNIEnv* env, jobject obj, jboolean select) -{ - ((TQListView*) QtSupport::getQt(env, obj))->selectAll((bool) select); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QListView_selectedItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListView*) QtSupport::getQt(env, obj))->selectedItem(), "org.kde.qt.TQListViewItem"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListView_selectionMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->selectionMode(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_setAllColumnsShowFocus(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQListView*) QtSupport::getQt(env, obj))->setAllColumnsShowFocus((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_setColumnAlignment(JNIEnv* env, jobject obj, jint arg1, jint arg2) -{ - ((TQListView*) QtSupport::getQt(env, obj))->setColumnAlignment((int) arg1, (int) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_setColumnText__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint column, jstring label) -{ -static TQString* _qstring_label = 0; - ((TQListView*) QtSupport::getQt(env, obj))->setColumnText((int) column, (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_setColumnText__ILorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint column, jobject iconset, jstring label) -{ -static TQString* _qstring_label = 0; - ((TQListView*) QtSupport::getQt(env, obj))->setColumnText((int) column, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_setColumnWidthMode(JNIEnv* env, jobject obj, jint column, jint arg2) -{ - ((TQListView*) QtSupport::getQt(env, obj))->setColumnWidthMode((int) column, (TQListView::WidthMode) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_setColumnWidth(JNIEnv* env, jobject obj, jint column, jint width) -{ - ((TQListView*) QtSupport::getQt(env, obj))->setColumnWidth((int) column, (int) width); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_setContentsPos(JNIEnv* env, jobject obj, jint x, jint y) -{ - ((TQListView*) QtSupport::getQt(env, obj))->setContentsPos((int) x, (int) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_setCurrentItem(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQListView*) QtSupport::getQt(env, obj))->setCurrentItem((TQListViewItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_setDefaultRenameAction(JNIEnv* env, jobject obj, jint a) -{ - ((TQListView*) QtSupport::getQt(env, obj))->setDefaultRenameAction((TQListView::RenameAction) a); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_setFont(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQListView*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_setItemMargin(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQListView*) QtSupport::getQt(env, obj))->setItemMargin((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_setMultiSelection(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQListView*) QtSupport::getQt(env, obj))->setMultiSelection((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_setOpen(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) -{ - ((TQListView*) QtSupport::getQt(env, obj))->setOpen((TQListViewItem*) QtSupport::getQt(env, arg1), (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_setPalette(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQListView*) QtSupport::getQt(env, obj))->setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_setResizeMode(JNIEnv* env, jobject obj, jint m) -{ - ((TQListView*) QtSupport::getQt(env, obj))->setResizeMode((TQListView::ResizeMode) m); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_setRootIsDecorated(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQListView*) QtSupport::getQt(env, obj))->setRootIsDecorated((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_setSelected(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) -{ - ((TQListView*) QtSupport::getQt(env, obj))->setSelected((TQListViewItem*) QtSupport::getQt(env, arg1), (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_setSelectionAnchor(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQListView*) QtSupport::getQt(env, obj))->setSelectionAnchor((TQListViewItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_setSelectionMode(JNIEnv* env, jobject obj, jint mode) -{ - ((TQListView*) QtSupport::getQt(env, obj))->setSelectionMode((TQListView::SelectionMode) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_setShowSortIndicator(JNIEnv* env, jobject obj, jboolean show) -{ - ((TQListView*) QtSupport::getQt(env, obj))->setShowSortIndicator((bool) show); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_setShowToolTips(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQListView*) QtSupport::getQt(env, obj))->setShowToolTips((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_setSortColumn(JNIEnv* env, jobject obj, jint column) -{ - ((TQListView*) QtSupport::getQt(env, obj))->setSortColumn((int) column); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_setSortOrder(JNIEnv* env, jobject obj, jint order) -{ - ((TQListView*) QtSupport::getQt(env, obj))->setSortOrder((TQt::SortOrder) order); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_setSorting__I(JNIEnv* env, jobject obj, jint column) -{ - ((TQListView*) QtSupport::getQt(env, obj))->setSorting((int) column); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_setSorting__IZ(JNIEnv* env, jobject obj, jint column, jboolean ascending) -{ - ((TQListView*) QtSupport::getQt(env, obj))->setSorting((int) column, (bool) ascending); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_setTreeStepSize(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQListView*) QtSupport::getQt(env, obj))->setTreeStepSize((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_showEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListView_showSortIndicator(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQListView*) QtSupport::getQt(env, obj))->showSortIndicator(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListView_showToolTips(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQListView*) QtSupport::getQt(env, obj))->showToolTips(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_show(JNIEnv* env, jobject obj) -{ - ((TQListView*) QtSupport::getQt(env, obj))->show(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QListView_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQListView*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListView_sortColumn(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->sortColumn(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListView_sortOrder(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->sortOrder(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_sort(JNIEnv* env, jobject obj) -{ - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->public_sort(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_startDrag(JNIEnv* env, jobject obj) -{ - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_startDrag(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_styleChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_takeItem(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQListView*) QtSupport::getQt(env, obj))->takeItem((TQListViewItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QListView_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQListViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QListView_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQListViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListView_treeStepSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->treeStepSize(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_triggerUpdate(JNIEnv* env, jobject obj) -{ - ((TQListView*) QtSupport::getQt(env, obj))->triggerUpdate(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_updateContents(JNIEnv* env, jobject obj) -{ - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_updateContents(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_viewportResizeEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportResizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_windowActivationChange(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_windowActivationChange((bool) arg1); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QListView_itemList(JNIEnv *env, jobject obj) -{ - TQListViewItemIterator iterator((TQListView*) QtSupport::getQt(env, obj)); - return QtSupport::arrayWithTQListViewItemList(env, &iterator); -} - diff --git a/qtjava/javalib/qtjava/QListView.h b/qtjava/javalib/qtjava/QListView.h deleted file mode 100644 index a496e645..00000000 --- a/qtjava/javalib/qtjava/QListView.h +++ /dev/null @@ -1,132 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QListView__ -#define __org_kde_qt_QListView__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QListView_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_newTQListView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_newTQListView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_newTQListView__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_newTQListView__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_treeStepSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setTreeStepSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_insertItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_takeItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_removeItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_header (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_addColumn__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_addColumn__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_addColumn__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_addColumn__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_removeColumn (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setColumnText__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setColumnText__ILorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QListView_columnText (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setColumnWidth (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_columnWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setColumnWidthMode (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_columnWidthMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_columns (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setColumnAlignment (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_columnAlignment (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_show (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_itemAt (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_itemRect (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_itemPos (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_ensureItemVisible (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_repaintItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setMultiSelection (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListView_isMultiSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setSelectionMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_selectionMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_clearSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setSelected (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setSelectionAnchor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListView_isSelected (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_selectedItem (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setOpen (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListView_isOpen (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setCurrentItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_currentItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_firstChild (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_lastItem (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_childCount (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setAllColumnsShowFocus (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListView_allColumnsShowFocus (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setItemMargin (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_itemMargin (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setRootIsDecorated (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListView_rootIsDecorated (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setSorting__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setSorting__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_sortColumn (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setSortColumn (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_sortOrder (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setSortOrder (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_sort (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setFont (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setPalette (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListView_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setShowSortIndicator (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListView_showSortIndicator (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setShowToolTips (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListView_showToolTips (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setResizeMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_resizeMode (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_findItem__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_findItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setDefaultRenameAction (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_defaultRenameAction (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListView_isRenaming (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_hideColumn (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_invertSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_selectAll (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_triggerUpdate (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setContentsPos (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_adjustColumn (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QListView_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QListView_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_contentsMousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_contentsMouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_contentsMouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_contentsMouseDoubleClickEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_contentsContextMenuEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_contentsDragEnterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_contentsDragMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_contentsDragLeaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_contentsDropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_dragObject (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_startDrag (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_focusInEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_focusOutEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_viewportResizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_showEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_drawContentsOffset (JNIEnv *env, jobject, jobject, jint, jint, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_paintEmptyArea (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_styleChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_windowActivationChange (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_updateContents (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_doAutoScroll (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListView_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_itemList (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QListView__ */ diff --git a/qtjava/javalib/qtjava/QListViewItem.cpp b/qtjava/javalib/qtjava/QListViewItem.cpp deleted file mode 100644 index 6fe9e4ab..00000000 --- a/qtjava/javalib/qtjava/QListViewItem.cpp +++ /dev/null @@ -1,1097 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQListViewItemJBridge : public TQListViewItem -{ -public: - TQListViewItemJBridge(TQListView* arg1) : TQListViewItem(arg1) {}; - TQListViewItemJBridge(TQListViewItem* arg1) : TQListViewItem(arg1) {}; - TQListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2) : TQListViewItem(arg1,arg2) {}; - TQListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2) : TQListViewItem(arg1,arg2) {}; - TQListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8,TQString arg9) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - TQListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - TQListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TQListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TQListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5) : TQListViewItem(arg1,arg2,arg3,arg4,arg5) {}; - TQListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4) : TQListViewItem(arg1,arg2,arg3,arg4) {}; - TQListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3) : TQListViewItem(arg1,arg2,arg3) {}; - TQListViewItemJBridge(TQListView* arg1,TQString arg2) : TQListViewItem(arg1,arg2) {}; - TQListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8,TQString arg9) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - TQListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - TQListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TQListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TQListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5) : TQListViewItem(arg1,arg2,arg3,arg4,arg5) {}; - TQListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4) : TQListViewItem(arg1,arg2,arg3,arg4) {}; - TQListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3) : TQListViewItem(arg1,arg2,arg3) {}; - TQListViewItemJBridge(TQListViewItem* arg1,TQString arg2) : TQListViewItem(arg1,arg2) {}; - TQListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8,TQString arg9,TQString arg10) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {}; - TQListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8,TQString arg9) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - TQListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - TQListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TQListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TQListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5) : TQListViewItem(arg1,arg2,arg3,arg4,arg5) {}; - TQListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4) : TQListViewItem(arg1,arg2,arg3,arg4) {}; - TQListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3) : TQListViewItem(arg1,arg2,arg3) {}; - TQListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8,TQString arg9,TQString arg10) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {}; - TQListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8,TQString arg9) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - TQListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - TQListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TQListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TQListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5) : TQListViewItem(arg1,arg2,arg3,arg4,arg5) {}; - TQListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4) : TQListViewItem(arg1,arg2,arg3,arg4) {}; - TQListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3) : TQListViewItem(arg1,arg2,arg3) {}; - void public_invalidateHeight() { - TQListViewItem::invalidateHeight(); - return; - } - void public_setup() { - TQListViewItem::setup(); - return; - } - void public_sort() { - TQListViewItem::sort(); - return; - } - void protected_enforceSortOrder() { - TQListViewItem::enforceSortOrder(); - return; - } - void protected_setHeight(int arg1) { - TQListViewItem::setHeight(arg1); - return; - } - void protected_activate() { - TQListViewItem::activate(); - return; - } - bool protected_activatedPos(TQPoint& arg1) { - return (bool) TQListViewItem::activatedPos(arg1); - } - void protected_dropped(TQDropEvent* arg1) { - TQListViewItem::dropped(arg1); - return; - } - void protected_dragEntered() { - TQListViewItem::dragEntered(); - return; - } - void protected_dragLeft() { - TQListViewItem::dragLeft(); - return; - } - void protected_okRename(int arg1) { - TQListViewItem::okRename(arg1); - return; - } - void protected_cancelRename(int arg1) { - TQListViewItem::cancelRename(arg1); - return; - } - void protected_ignoreDoubleClick() { - TQListViewItem::ignoreDoubleClick(); - return; - } - ~TQListViewItemJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListViewItem_acceptDrop(JNIEnv* env, jobject obj, jobject mime) -{ - jboolean xret = (jboolean) ((TQListViewItem*) QtSupport::getQt(env, obj))->acceptDrop((const TQMimeSource*) QtSupport::mimeSource(env, mime)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_activate(JNIEnv* env, jobject obj) -{ - ((TQListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_activate(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListViewItem_activatedPos(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_activatedPos((TQPoint&)*(TQPoint*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_cancelRename(JNIEnv* env, jobject obj, jint col) -{ - ((TQListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_cancelRename((int) col); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListViewItem_childCount(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQListViewItem*) QtSupport::getQt(env, obj))->childCount(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListViewItem_compare(JNIEnv* env, jobject obj, jobject i, jint col, jboolean arg3) -{ - jint xret = (jint) ((TQListViewItem*) QtSupport::getQt(env, obj))->compare((TQListViewItem*) QtSupport::getQt(env, i), (int) col, (bool) arg3); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListViewItem_depth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQListViewItem*) QtSupport::getQt(env, obj))->depth(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QListViewItem_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListViewItem_dragEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQListViewItem*) QtSupport::getQt(env, obj))->dragEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_dragEntered(JNIEnv* env, jobject obj) -{ - ((TQListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_dragEntered(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_dragLeft(JNIEnv* env, jobject obj) -{ - ((TQListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_dragLeft(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListViewItem_dropEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQListViewItem*) QtSupport::getQt(env, obj))->dropEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_dropped(JNIEnv* env, jobject obj, jobject e) -{ - ((TQListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_dropped((TQDropEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_enforceSortOrder(JNIEnv* env, jobject obj) -{ - ((TQListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_enforceSortOrder(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQListViewItem*)(TQListViewItem*)QtSupport::getQt(env, obj))->parent() == 0 && ((TQListViewItem*)(TQListViewItem*)QtSupport::getQt(env, obj))->listView() == 0) { - delete (TQListViewItem*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QListViewItem_firstChild(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListViewItem*) QtSupport::getQt(env, obj))->firstChild(), "org.kde.qt.TQListViewItem"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListViewItem_height(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQListViewItem*) QtSupport::getQt(env, obj))->height(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_ignoreDoubleClick(JNIEnv* env, jobject obj) -{ - ((TQListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_ignoreDoubleClick(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_insertItem(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQListViewItem*) QtSupport::getQt(env, obj))->insertItem((TQListViewItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_invalidateHeight(JNIEnv* env, jobject obj) -{ - ((TQListViewItemJBridge*) QtSupport::getQt(env, obj))->public_invalidateHeight(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListViewItem_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListViewItem_isEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQListViewItem*) QtSupport::getQt(env, obj))->isEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListViewItem_isExpandable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQListViewItem*) QtSupport::getQt(env, obj))->isExpandable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListViewItem_isOpen(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQListViewItem*) QtSupport::getQt(env, obj))->isOpen(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListViewItem_isSelectable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQListViewItem*) QtSupport::getQt(env, obj))->isSelectable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListViewItem_isSelected(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQListViewItem*) QtSupport::getQt(env, obj))->isSelected(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListViewItem_isVisible(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQListViewItem*) QtSupport::getQt(env, obj))->isVisible(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QListViewItem_itemAbove(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListViewItem*) QtSupport::getQt(env, obj))->itemAbove(), "org.kde.qt.TQListViewItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QListViewItem_itemBelow(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListViewItem*) QtSupport::getQt(env, obj))->itemBelow(), "org.kde.qt.TQListViewItem"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListViewItem_itemPos(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQListViewItem*) QtSupport::getQt(env, obj))->itemPos(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QListViewItem_key(JNIEnv* env, jobject obj, jint arg1, jboolean arg2) -{ - TQString _qstring; - _qstring = ((TQListViewItem*) QtSupport::getQt(env, obj))->key((int) arg1, (bool) arg2); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QListViewItem_listView(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListViewItem*) QtSupport::getQt(env, obj))->listView(), "org.kde.qt.TQListView"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_moveItem(JNIEnv* env, jobject obj, jobject after) -{ - ((TQListViewItem*) QtSupport::getQt(env, obj))->moveItem((TQListViewItem*) QtSupport::getQt(env, after)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListViewItem_multiLinesEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQListViewItem*) QtSupport::getQt(env, obj))->multiLinesEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newTQListViewItem__Lorg_kde_qt_QListViewItem_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__Lorg_kde_qt_QListView_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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 jobject JNICALL -Java_org_kde_qt_QListViewItem_nextSibling(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListViewItem*) QtSupport::getQt(env, obj))->nextSibling(), "org.kde.qt.TQListViewItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_okRename(JNIEnv* env, jobject obj, jint col) -{ - ((TQListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_okRename((int) col); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_paintBranches(JNIEnv* env, jobject obj, jobject p, jobject cg, jint w, jint y, jint h) -{ - ((TQListViewItem*) QtSupport::getQt(env, obj))->paintBranches((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (int) w, (int) y, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_paintCell(JNIEnv* env, jobject obj, jobject arg1, jobject cg, jint column, jint width, jint alignment) -{ - ((TQListViewItem*) QtSupport::getQt(env, obj))->paintCell((TQPainter*) QtSupport::getQt(env, arg1), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (int) column, (int) width, (int) alignment); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_paintFocus(JNIEnv* env, jobject obj, jobject arg1, jobject cg, jobject r) -{ - ((TQListViewItem*) QtSupport::getQt(env, obj))->paintFocus((TQPainter*) QtSupport::getQt(env, arg1), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QListViewItem_parent(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListViewItem*) QtSupport::getQt(env, obj))->parent(), "org.kde.qt.TQListViewItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QListViewItem_pixmap(JNIEnv* env, jobject obj, jint arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListViewItem*) QtSupport::getQt(env, obj))->pixmap((int) arg1), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_removeItem(JNIEnv* env, jobject obj, jobject item) -{ - ((TQListViewItem*) QtSupport::getQt(env, obj))->removeItem((TQListViewItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QListViewItem_renameEnabled(JNIEnv* env, jobject obj, jint col) -{ - jboolean xret = (jboolean) ((TQListViewItem*) QtSupport::getQt(env, obj))->renameEnabled((int) col); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_repaint(JNIEnv* env, jobject obj) -{ - ((TQListViewItem*) QtSupport::getQt(env, obj))->repaint(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListViewItem_rtti(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQListViewItem*) QtSupport::getQt(env, obj))->rtti(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_setDragEnabled(JNIEnv* env, jobject obj, jboolean allow) -{ - ((TQListViewItem*) QtSupport::getQt(env, obj))->setDragEnabled((bool) allow); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_setDropEnabled(JNIEnv* env, jobject obj, jboolean allow) -{ - ((TQListViewItem*) QtSupport::getQt(env, obj))->setDropEnabled((bool) allow); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_setEnabled(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQListViewItem*) QtSupport::getQt(env, obj))->setEnabled((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_setExpandable(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQListViewItem*) QtSupport::getQt(env, obj))->setExpandable((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_setHeight(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_setHeight((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_setMultiLinesEnabled(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQListViewItem*) QtSupport::getQt(env, obj))->setMultiLinesEnabled((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_setOpen(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQListViewItem*) QtSupport::getQt(env, obj))->setOpen((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_setPixmap(JNIEnv* env, jobject obj, jint arg1, jobject arg2) -{ - ((TQListViewItem*) QtSupport::getQt(env, obj))->setPixmap((int) arg1, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_setRenameEnabled(JNIEnv* env, jobject obj, jint col, jboolean b) -{ - ((TQListViewItem*) QtSupport::getQt(env, obj))->setRenameEnabled((int) col, (bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_setSelectable(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQListViewItem*) QtSupport::getQt(env, obj))->setSelectable((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_setSelected(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQListViewItem*) QtSupport::getQt(env, obj))->setSelected((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_setText(JNIEnv* env, jobject obj, jint arg1, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - ((TQListViewItem*) QtSupport::getQt(env, obj))->setText((int) arg1, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_setVisible(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQListViewItem*) QtSupport::getQt(env, obj))->setVisible((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_setup(JNIEnv* env, jobject obj) -{ - ((TQListViewItemJBridge*) QtSupport::getQt(env, obj))->public_setup(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_sortChildItems(JNIEnv* env, jobject obj, jint arg1, jboolean arg2) -{ - ((TQListViewItem*) QtSupport::getQt(env, obj))->sortChildItems((int) arg1, (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_sort(JNIEnv* env, jobject obj) -{ - ((TQListViewItemJBridge*) QtSupport::getQt(env, obj))->public_sort(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_startRename(JNIEnv* env, jobject obj, jint col) -{ - ((TQListViewItem*) QtSupport::getQt(env, obj))->startRename((int) col); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_takeItem(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQListViewItem*) QtSupport::getQt(env, obj))->takeItem((TQListViewItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QListViewItem_text(JNIEnv* env, jobject obj, jint arg1) -{ - TQString _qstring; - _qstring = ((TQListViewItem*) QtSupport::getQt(env, obj))->text((int) arg1); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListViewItem_totalHeight(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQListViewItem*) QtSupport::getQt(env, obj))->totalHeight(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_widthChanged__(JNIEnv* env, jobject obj) -{ - ((TQListViewItem*) QtSupport::getQt(env, obj))->widthChanged(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_widthChanged__I(JNIEnv* env, jobject obj, jint column) -{ - ((TQListViewItem*) QtSupport::getQt(env, obj))->widthChanged((int) column); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QListViewItem_width(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jint column) -{ - jint xret = (jint) ((TQListViewItem*) QtSupport::getQt(env, obj))->width((const TQFontMetrics&)*(const TQFontMetrics*) QtSupport::getQt(env, arg1), (const TQListView*) QtSupport::getQt(env, arg2), (int) column); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QListViewItem_itemList(JNIEnv *env, jobject obj) -{ - TQListViewItemIterator iterator((TQListViewItem*) QtSupport::getQt(env, obj)); - return QtSupport::arrayWithTQListViewItemList(env, &iterator); -} - diff --git a/qtjava/javalib/qtjava/QListViewItem.h b/qtjava/javalib/qtjava/QListViewItem.h deleted file mode 100644 index 69fe48c4..00000000 --- a/qtjava/javalib/qtjava/QListViewItem.h +++ /dev/null @@ -1,123 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QListViewItem__ -#define __org_kde_qt_QListViewItem__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_newTQListViewItem__Lorg_kde_qt_QListView_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_newTQListViewItem__Lorg_kde_qt_QListViewItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_newTQListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_newTQListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_newTQListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_newTQListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_insertItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_takeItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_removeItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListViewItem_height (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_invalidateHeight (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListViewItem_totalHeight (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListViewItem_width (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_widthChanged__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_widthChanged__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListViewItem_depth (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_setText (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QListViewItem_text (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_setPixmap (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListViewItem_pixmap (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QListViewItem_key (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListViewItem_compare (JNIEnv *env, jobject, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_sortChildItems (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListViewItem_childCount (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListViewItem_isOpen (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_setOpen (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_setup (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_setSelected (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListViewItem_isSelected (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_paintCell (JNIEnv *env, jobject, jobject, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_paintBranches (JNIEnv *env, jobject, jobject, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_paintFocus (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListViewItem_firstChild (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListViewItem_nextSibling (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListViewItem_parent (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListViewItem_itemAbove (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListViewItem_itemBelow (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListViewItem_itemPos (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListViewItem_listView (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_setSelectable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListViewItem_isSelectable (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_setExpandable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListViewItem_isExpandable (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_repaint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_sort (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_moveItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_setDragEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_setDropEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListViewItem_dragEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListViewItem_dropEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListViewItem_acceptDrop (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_setVisible (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListViewItem_isVisible (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_setRenameEnabled (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListViewItem_renameEnabled (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_startRename (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_setEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListViewItem_isEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListViewItem_rtti (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_setMultiLinesEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListViewItem_multiLinesEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_enforceSortOrder (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_setHeight (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_activate (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListViewItem_activatedPos (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_dropped (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_dragEntered (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_dragLeft (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_okRename (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_cancelRename (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_ignoreDoubleClick (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListViewItem_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListViewItem_itemList (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QListViewItem__ */ diff --git a/qtjava/javalib/qtjava/QLocalFs.cpp b/qtjava/javalib/qtjava/QLocalFs.cpp deleted file mode 100644 index 9a46d453..00000000 --- a/qtjava/javalib/qtjava/QLocalFs.cpp +++ /dev/null @@ -1,265 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQLocalFsJBridge : public TQLocalFs -{ -public: - TQLocalFsJBridge() : TQLocalFs() {}; - void protected_operationListChildren(TQNetworkOperation* arg1) { - TQLocalFs::operationListChildren(arg1); - return; - } - void protected_operationMkDir(TQNetworkOperation* arg1) { - TQLocalFs::operationMkDir(arg1); - return; - } - void protected_operationRemove(TQNetworkOperation* arg1) { - TQLocalFs::operationRemove(arg1); - return; - } - void protected_operationRename(TQNetworkOperation* arg1) { - TQLocalFs::operationRename(arg1); - return; - } - void protected_operationGet(TQNetworkOperation* arg1) { - TQLocalFs::operationGet(arg1); - return; - } - void protected_operationPut(TQNetworkOperation* arg1) { - TQLocalFs::operationPut(arg1); - return; - } - ~TQLocalFsJBridge() {QtSupport::qtKeyDeleted(this);} - void operationRename(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationRename",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQLocalFs::operationRename(arg1); - } - return; - } - void operationPutChunk(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationPutChunk",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::operationPutChunk(arg1); - } - return; - } - void processOperation(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"processOperation",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::processOperation(arg1); - } - return; - } - void operationGet(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationGet",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQLocalFs::operationGet(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void operationPut(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationPut",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQLocalFs::operationPut(arg1); - } - return; - } - void operationListChildren(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationListChildren",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQLocalFs::operationListChildren(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void operationRemove(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationRemove",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQLocalFs::operationRemove(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 addOperation(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"addOperation",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::addOperation(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void clearOperationQueue() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLocalFs","clearOperationQueue")) { - TQNetworkProtocol::clearOperationQueue(); - } - return; - } - void operationMkDir(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationMkDir",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQLocalFs::operationMkDir(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQLocalFs",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void stop() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLocalFs","stop")) { - TQNetworkProtocol::stop(); - } - return; - } - void setUrl(TQUrlOperator* arg1) { - if (!QtSupport::eventDelegate(this,"setUrl",(void*)arg1,"org.kde.qt.TQUrlOperator")) { - TQNetworkProtocol::setUrl(arg1); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QLocalFs_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQLocalFs*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLocalFs_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QLocalFs_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLocalFs_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQLocalFs*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQLocalFs*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QLocalFs_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QLocalFs_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLocalFs*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLocalFs_newTQLocalFs(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQLocalFsJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLocalFs_operationGet(JNIEnv* env, jobject obj, jobject op) -{ - ((TQLocalFsJBridge*) QtSupport::getQt(env, obj))->protected_operationGet((TQNetworkOperation*) QtSupport::getQt(env, op)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLocalFs_operationListChildren(JNIEnv* env, jobject obj, jobject op) -{ - ((TQLocalFsJBridge*) QtSupport::getQt(env, obj))->protected_operationListChildren((TQNetworkOperation*) QtSupport::getQt(env, op)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLocalFs_operationMkDir(JNIEnv* env, jobject obj, jobject op) -{ - ((TQLocalFsJBridge*) QtSupport::getQt(env, obj))->protected_operationMkDir((TQNetworkOperation*) QtSupport::getQt(env, op)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLocalFs_operationPut(JNIEnv* env, jobject obj, jobject op) -{ - ((TQLocalFsJBridge*) QtSupport::getQt(env, obj))->protected_operationPut((TQNetworkOperation*) QtSupport::getQt(env, op)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLocalFs_operationRemove(JNIEnv* env, jobject obj, jobject op) -{ - ((TQLocalFsJBridge*) QtSupport::getQt(env, obj))->protected_operationRemove((TQNetworkOperation*) QtSupport::getQt(env, op)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QLocalFs_operationRename(JNIEnv* env, jobject obj, jobject op) -{ - ((TQLocalFsJBridge*) QtSupport::getQt(env, obj))->protected_operationRename((TQNetworkOperation*) QtSupport::getQt(env, op)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QLocalFs_supportedOperations(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQLocalFs*) QtSupport::getQt(env, obj))->supportedOperations(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QLocalFs_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQLocalFsJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QLocalFs_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQLocalFsJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QLocalFs.h b/qtjava/javalib/qtjava/QLocalFs.h deleted file mode 100644 index 0fcc5211..00000000 --- a/qtjava/javalib/qtjava/QLocalFs.h +++ /dev/null @@ -1,33 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QLocalFs__ -#define __org_kde_qt_QLocalFs__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLocalFs_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLocalFs_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLocalFs_newTQLocalFs (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLocalFs_supportedOperations (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLocalFs_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLocalFs_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLocalFs_operationListChildren (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLocalFs_operationMkDir (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLocalFs_operationRemove (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLocalFs_operationRename (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLocalFs_operationGet (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLocalFs_operationPut (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLocalFs_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLocalFs_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLocalFs_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QLocalFs__ */ diff --git a/qtjava/javalib/qtjava/QMainWindow.cpp b/qtjava/javalib/qtjava/QMainWindow.cpp deleted file mode 100644 index 85be774a..00000000 --- a/qtjava/javalib/qtjava/QMainWindow.cpp +++ /dev/null @@ -1,1059 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQMainWindowJBridge : public TQMainWindow -{ -public: - TQMainWindowJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQMainWindow(arg1,arg2,arg3) {}; - TQMainWindowJBridge(TQWidget* arg1,const char* arg2) : TQMainWindow(arg1,arg2) {}; - TQMainWindowJBridge(TQWidget* arg1) : TQMainWindow(arg1) {}; - TQMainWindowJBridge() : TQMainWindow() {}; - void public_whatsThis() { - TQMainWindow::whatsThis(); - return; - } - void public_customize() { - TQMainWindow::customize(); - return; - } - void protected_paintEvent(TQPaintEvent* arg1) { - TQMainWindow::paintEvent(arg1); - return; - } - void protected_childEvent(TQChildEvent* arg1) { - TQMainWindow::childEvent(arg1); - return; - } - bool protected_event(TQEvent* arg1) { - return (bool) TQMainWindow::event(arg1); - } - void protected_styleChange(TQStyle& arg1) { - TQMainWindow::styleChange(arg1); - return; - } - void protected_setUpLayout() { - TQMainWindow::setUpLayout(); - return; - } - bool protected_showDockMenu(const TQPoint& arg1) { - return (bool) TQMainWindow::showDockMenu(arg1); - } - void protected_menuAboutToShow() { - TQMainWindow::menuAboutToShow(); - return; - } - ~TQMainWindowJBridge() {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 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.qt.TQMainWindow","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.qt.TQMainWindow","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")) { - TQMainWindow::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.qt.TQMainWindow","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.qt.TQMainWindow","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMainWindow","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 setUpLayout() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMainWindow","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")) { - TQMainWindow::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.qt.TQMainWindow","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMainWindow","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.qt.TQMainWindow","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.qt.TQMainWindow","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.qt.TQMainWindow","customize")) { - TQMainWindow::customize(); - } - 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.qt.TQMainWindow","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_addDockWindow__Lorg_kde_qt_QDockWindow_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQMainWindow*) QtSupport::getQt(env, obj))->addDockWindow((TQDockWindow*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_addDockWindow__Lorg_kde_qt_QDockWindow_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2) -{ - ((TQMainWindow*) QtSupport::getQt(env, obj))->addDockWindow((TQDockWindow*) QtSupport::getQt(env, arg1), (TQt::Dock) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_addDockWindow__Lorg_kde_qt_QDockWindow_2IZ(JNIEnv* env, jobject obj, jobject arg1, jint arg2, jboolean newLine) -{ - ((TQMainWindow*) QtSupport::getQt(env, obj))->addDockWindow((TQDockWindow*) QtSupport::getQt(env, arg1), (TQt::Dock) arg2, (bool) newLine); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_addDockWindow__Lorg_kde_qt_QDockWindow_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring label) -{ -static TQString* _qstring_label = 0; - ((TQMainWindow*) QtSupport::getQt(env, obj))->addDockWindow((TQDockWindow*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_addDockWindow__Lorg_kde_qt_QDockWindow_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject arg1, jstring label, jint arg3) -{ -static TQString* _qstring_label = 0; - ((TQMainWindow*) QtSupport::getQt(env, obj))->addDockWindow((TQDockWindow*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (TQt::Dock) arg3); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_addDockWindow__Lorg_kde_qt_QDockWindow_2Ljava_lang_String_2IZ(JNIEnv* env, jobject obj, jobject arg1, jstring label, jint arg3, jboolean newLine) -{ -static TQString* _qstring_label = 0; - ((TQMainWindow*) QtSupport::getQt(env, obj))->addDockWindow((TQDockWindow*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (TQt::Dock) arg3, (bool) newLine); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_addToolBar__Lorg_kde_qt_QDockWindow_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQMainWindow*) QtSupport::getQt(env, obj))->addToolBar((TQDockWindow*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_addToolBar__Lorg_kde_qt_QDockWindow_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2) -{ - ((TQMainWindow*) QtSupport::getQt(env, obj))->addToolBar((TQDockWindow*) QtSupport::getQt(env, arg1), (TQt::Dock) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_addToolBar__Lorg_kde_qt_QDockWindow_2IZ(JNIEnv* env, jobject obj, jobject arg1, jint arg2, jboolean newLine) -{ - ((TQMainWindow*) QtSupport::getQt(env, obj))->addToolBar((TQDockWindow*) QtSupport::getQt(env, arg1), (TQt::Dock) arg2, (bool) newLine); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_addToolBar__Lorg_kde_qt_QDockWindow_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring label) -{ -static TQString* _qstring_label = 0; - ((TQMainWindow*) QtSupport::getQt(env, obj))->addToolBar((TQDockWindow*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_addToolBar__Lorg_kde_qt_QDockWindow_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject arg1, jstring label, jint arg3) -{ -static TQString* _qstring_label = 0; - ((TQMainWindow*) QtSupport::getQt(env, obj))->addToolBar((TQDockWindow*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (TQt::Dock) arg3); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_addToolBar__Lorg_kde_qt_QDockWindow_2Ljava_lang_String_2IZ(JNIEnv* env, jobject obj, jobject arg1, jstring label, jint arg3, jboolean newLine) -{ -static TQString* _qstring_label = 0; - ((TQMainWindow*) QtSupport::getQt(env, obj))->addToolBar((TQDockWindow*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (TQt::Dock) arg3, (bool) newLine); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMainWindow_appropriate(JNIEnv* env, jobject obj, jobject dw) -{ - jboolean xret = (jboolean) ((TQMainWindow*) QtSupport::getQt(env, obj))->appropriate((TQDockWindow*) QtSupport::getQt(env, dw)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMainWindow_bottomDock(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMainWindow*) QtSupport::getQt(env, obj))->bottomDock(), "org.kde.qt.TQDockArea"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMainWindow_centralWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMainWindow*) QtSupport::getQt(env, obj))->centralWidget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_childEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TQChildEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QMainWindow_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQMainWindow*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMainWindow_createDockWindowMenu__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMainWindow*) QtSupport::getQt(env, obj))->createDockWindowMenu(), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMainWindow_createDockWindowMenu__I(JNIEnv* env, jobject obj, jint dockWindows) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMainWindow*) QtSupport::getQt(env, obj))->createDockWindowMenu((TQMainWindow::DockWindows) dockWindows), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_customize(JNIEnv* env, jobject obj) -{ - ((TQMainWindowJBridge*) QtSupport::getQt(env, obj))->public_customize(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QMainWindow_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMainWindow_dockWindowsMovable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQMainWindow*) QtSupport::getQt(env, obj))->dockWindowsMovable(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMainWindow_dockingArea(JNIEnv* env, jobject obj, jobject p) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMainWindow*) QtSupport::getQt(env, obj))->dockingArea((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)), "org.kde.qt.TQDockArea"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMainWindow_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - jboolean xret = (jboolean) ((TQMainWindow*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMainWindow_event(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQMainWindow*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQMainWindow*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMainWindow_getLocation(JNIEnv* env, jobject obj, jobject tb, jint dock, jintArray index, jboolean nl, jintArray extraOffset) -{ - int* _int_index = QtSupport::toIntPtr(env, index); - int* _int_extraOffset = QtSupport::toIntPtr(env, extraOffset); - jboolean xret = (jboolean) ((TQMainWindow*) QtSupport::getQt(env, obj))->getLocation((TQDockWindow*) QtSupport::getQt(env, tb), (TQt::Dock&) dock, (int&) *_int_index, (bool&) nl, (int&) *_int_extraOffset); - env->SetIntArrayRegion(index, 0, 1, (jint *) _int_index); - env->SetIntArrayRegion(extraOffset, 0, 1, (jint *) _int_extraOffset); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMainWindow_hasDockWindow(JNIEnv* env, jobject obj, jobject dw) -{ - jboolean xret = (jboolean) ((TQMainWindow*) QtSupport::getQt(env, obj))->hasDockWindow((TQDockWindow*) QtSupport::getQt(env, dw)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_hide(JNIEnv* env, jobject obj) -{ - ((TQMainWindow*) QtSupport::getQt(env, obj))->hide(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMainWindow_isCustomizable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQMainWindow*) QtSupport::getQt(env, obj))->isCustomizable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMainWindow_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMainWindow_isDockEnabled__I(JNIEnv* env, jobject obj, jint dock) -{ - jboolean xret = (jboolean) ((TQMainWindow*) QtSupport::getQt(env, obj))->isDockEnabled((TQt::Dock) dock); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMainWindow_isDockEnabled__Lorg_kde_qt_QDockArea_2(JNIEnv* env, jobject obj, jobject area) -{ - jboolean xret = (jboolean) ((TQMainWindow*) QtSupport::getQt(env, obj))->isDockEnabled((TQDockArea*) QtSupport::getQt(env, area)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMainWindow_isDockEnabled__Lorg_kde_qt_QDockWindow_2I(JNIEnv* env, jobject obj, jobject tb, jint dock) -{ - jboolean xret = (jboolean) ((TQMainWindow*) QtSupport::getQt(env, obj))->isDockEnabled((TQDockWindow*) QtSupport::getQt(env, tb), (TQt::Dock) dock); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMainWindow_isDockEnabled__Lorg_kde_qt_QDockWindow_2Lorg_kde_qt_QDockArea_2(JNIEnv* env, jobject obj, jobject tb, jobject area) -{ - jboolean xret = (jboolean) ((TQMainWindow*) QtSupport::getQt(env, obj))->isDockEnabled((TQDockWindow*) QtSupport::getQt(env, tb), (TQDockArea*) QtSupport::getQt(env, area)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMainWindow_isDockMenuEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQMainWindow*) QtSupport::getQt(env, obj))->isDockMenuEnabled(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMainWindow_leftDock(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMainWindow*) QtSupport::getQt(env, obj))->leftDock(), "org.kde.qt.TQDockArea"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_lineUpDockWindows__(JNIEnv* env, jobject obj) -{ - ((TQMainWindow*) QtSupport::getQt(env, obj))->lineUpDockWindows(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_lineUpDockWindows__Z(JNIEnv* env, jobject obj, jboolean keepNewLines) -{ - ((TQMainWindow*) QtSupport::getQt(env, obj))->lineUpDockWindows((bool) keepNewLines); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_lineUpToolBars__(JNIEnv* env, jobject obj) -{ - ((TQMainWindow*) QtSupport::getQt(env, obj))->lineUpToolBars(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_lineUpToolBars__Z(JNIEnv* env, jobject obj, jboolean keepNewLines) -{ - ((TQMainWindow*) QtSupport::getQt(env, obj))->lineUpToolBars((bool) keepNewLines); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_menuAboutToShow(JNIEnv* env, jobject obj) -{ - ((TQMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_menuAboutToShow(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMainWindow_menuBar(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMainWindow*) QtSupport::getQt(env, obj))->menuBar(), "org.kde.qt.TQMenuBar"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMainWindow_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMainWindow*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMainWindow_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQMainWindow*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_moveDockWindow__Lorg_kde_qt_QDockWindow_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQMainWindow*) QtSupport::getQt(env, obj))->moveDockWindow((TQDockWindow*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_moveDockWindow__Lorg_kde_qt_QDockWindow_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2) -{ - ((TQMainWindow*) QtSupport::getQt(env, obj))->moveDockWindow((TQDockWindow*) QtSupport::getQt(env, arg1), (TQt::Dock) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_moveDockWindow__Lorg_kde_qt_QDockWindow_2IZI(JNIEnv* env, jobject obj, jobject arg1, jint arg2, jboolean nl, jint index) -{ - ((TQMainWindow*) QtSupport::getQt(env, obj))->moveDockWindow((TQDockWindow*) QtSupport::getQt(env, arg1), (TQt::Dock) arg2, (bool) nl, (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_moveDockWindow__Lorg_kde_qt_QDockWindow_2IZII(JNIEnv* env, jobject obj, jobject arg1, jint arg2, jboolean nl, jint index, jint extraOffset) -{ - ((TQMainWindow*) QtSupport::getQt(env, obj))->moveDockWindow((TQDockWindow*) QtSupport::getQt(env, arg1), (TQt::Dock) arg2, (bool) nl, (int) index, (int) extraOffset); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_moveToolBar__Lorg_kde_qt_QDockWindow_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQMainWindow*) QtSupport::getQt(env, obj))->moveToolBar((TQDockWindow*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_moveToolBar__Lorg_kde_qt_QDockWindow_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2) -{ - ((TQMainWindow*) QtSupport::getQt(env, obj))->moveToolBar((TQDockWindow*) QtSupport::getQt(env, arg1), (TQt::Dock) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_moveToolBar__Lorg_kde_qt_QDockWindow_2IZI(JNIEnv* env, jobject obj, jobject arg1, jint arg2, jboolean nl, jint index) -{ - ((TQMainWindow*) QtSupport::getQt(env, obj))->moveToolBar((TQDockWindow*) QtSupport::getQt(env, arg1), (TQt::Dock) arg2, (bool) nl, (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_moveToolBar__Lorg_kde_qt_QDockWindow_2IZII(JNIEnv* env, jobject obj, jobject arg1, jint arg2, jboolean nl, jint index, jint extraOffset) -{ - ((TQMainWindow*) QtSupport::getQt(env, obj))->moveToolBar((TQDockWindow*) QtSupport::getQt(env, arg1), (TQt::Dock) arg2, (bool) nl, (int) index, (int) extraOffset); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_newTQMainWindow__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQMainWindowJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_newTQMainWindow__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQMainWindowJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_newTQMainWindow__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 TQMainWindowJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_newTQMainWindow__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 TQMainWindowJBridge((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 jboolean JNICALL -Java_org_kde_qt_QMainWindow_opaqueMoving(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQMainWindow*) QtSupport::getQt(env, obj))->opaqueMoving(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_paintEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_removeDockWindow(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQMainWindow*) QtSupport::getQt(env, obj))->removeDockWindow((TQDockWindow*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_removeToolBar(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQMainWindow*) QtSupport::getQt(env, obj))->removeToolBar((TQDockWindow*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMainWindow_rightDock(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMainWindow*) QtSupport::getQt(env, obj))->rightDock(), "org.kde.qt.TQDockArea"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMainWindow_rightJustification(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQMainWindow*) QtSupport::getQt(env, obj))->rightJustification(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_setAppropriate(JNIEnv* env, jobject obj, jobject dw, jboolean a) -{ - ((TQMainWindow*) QtSupport::getQt(env, obj))->setAppropriate((TQDockWindow*) QtSupport::getQt(env, dw), (bool) a); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_setCentralWidget(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQMainWindow*) QtSupport::getQt(env, obj))->setCentralWidget((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_setDockEnabled__IZ(JNIEnv* env, jobject obj, jint dock, jboolean enable) -{ - ((TQMainWindow*) QtSupport::getQt(env, obj))->setDockEnabled((TQt::Dock) dock, (bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_setDockEnabled__Lorg_kde_qt_QDockWindow_2IZ(JNIEnv* env, jobject obj, jobject tb, jint dock, jboolean enable) -{ - ((TQMainWindow*) QtSupport::getQt(env, obj))->setDockEnabled((TQDockWindow*) QtSupport::getQt(env, tb), (TQt::Dock) dock, (bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_setDockMenuEnabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQMainWindow*) QtSupport::getQt(env, obj))->setDockMenuEnabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_setDockWindowsMovable(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQMainWindow*) QtSupport::getQt(env, obj))->setDockWindowsMovable((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_setOpaqueMoving(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQMainWindow*) QtSupport::getQt(env, obj))->setOpaqueMoving((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_setRightJustification(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQMainWindow*) QtSupport::getQt(env, obj))->setRightJustification((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_setToolBarsMovable(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQMainWindow*) QtSupport::getQt(env, obj))->setToolBarsMovable((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_setUpLayout(JNIEnv* env, jobject obj) -{ - ((TQMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setUpLayout(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_setUsesBigPixmaps(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQMainWindow*) QtSupport::getQt(env, obj))->setUsesBigPixmaps((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_setUsesTextLabel(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQMainWindow*) QtSupport::getQt(env, obj))->setUsesTextLabel((bool) arg1); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMainWindow_showDockMenu(JNIEnv* env, jobject obj, jobject globalPos) -{ - jboolean xret = (jboolean) ((TQMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_showDockMenu((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, globalPos)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_show(JNIEnv* env, jobject obj) -{ - ((TQMainWindow*) QtSupport::getQt(env, obj))->show(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMainWindow_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQMainWindow*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMainWindow_statusBar(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMainWindow*) QtSupport::getQt(env, obj))->statusBar(), "org.kde.qt.TQStatusBar"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_styleChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMainWindow_toolBarsMovable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQMainWindow*) QtSupport::getQt(env, obj))->toolBarsMovable(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMainWindow_toolTipGroup(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMainWindow*) QtSupport::getQt(env, obj))->toolTipGroup(), "org.kde.qt.TQToolTipGroup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMainWindow_topDock(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMainWindow*) QtSupport::getQt(env, obj))->topDock(), "org.kde.qt.TQDockArea"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QMainWindow_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQMainWindowJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QMainWindow_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQMainWindowJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMainWindow_usesBigPixmaps(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQMainWindow*) QtSupport::getQt(env, obj))->usesBigPixmaps(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMainWindow_usesTextLabel(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQMainWindow*) QtSupport::getQt(env, obj))->usesTextLabel(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_whatsThis(JNIEnv* env, jobject obj) -{ - ((TQMainWindowJBridge*) QtSupport::getQt(env, obj))->public_whatsThis(); - return; -} - diff --git a/qtjava/javalib/qtjava/QMainWindow.h b/qtjava/javalib/qtjava/QMainWindow.h deleted file mode 100644 index 0cde5479..00000000 --- a/qtjava/javalib/qtjava/QMainWindow.h +++ /dev/null @@ -1,106 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QMainWindow__ -#define __org_kde_qt_QMainWindow__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMainWindow_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMainWindow_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_newTQMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_newTQMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_newTQMainWindow__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_newTQMainWindow__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMainWindow_menuBar (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMainWindow_statusBar (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMainWindow_toolTipGroup (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_setCentralWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMainWindow_centralWidget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_setDockEnabled__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_isDockEnabled__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_isDockEnabled__Lorg_kde_qt_QDockArea_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_setDockEnabled__Lorg_kde_qt_QDockWindow_2IZ (JNIEnv *env, jobject, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_isDockEnabled__Lorg_kde_qt_QDockWindow_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_isDockEnabled__Lorg_kde_qt_QDockWindow_2Lorg_kde_qt_QDockArea_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_addDockWindow__Lorg_kde_qt_QDockWindow_2IZ (JNIEnv *env, jobject, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_addDockWindow__Lorg_kde_qt_QDockWindow_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_addDockWindow__Lorg_kde_qt_QDockWindow_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_addDockWindow__Lorg_kde_qt_QDockWindow_2Ljava_lang_String_2IZ (JNIEnv *env, jobject, jobject, jstring, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_addDockWindow__Lorg_kde_qt_QDockWindow_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_addDockWindow__Lorg_kde_qt_QDockWindow_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_moveDockWindow__Lorg_kde_qt_QDockWindow_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_moveDockWindow__Lorg_kde_qt_QDockWindow_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_moveDockWindow__Lorg_kde_qt_QDockWindow_2IZII (JNIEnv *env, jobject, jobject, jint, jboolean, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_moveDockWindow__Lorg_kde_qt_QDockWindow_2IZI (JNIEnv *env, jobject, jobject, jint, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_removeDockWindow (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_show (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_hide (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMainWindow_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMainWindow_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_rightJustification (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_usesBigPixmaps (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_usesTextLabel (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_dockWindowsMovable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_opaqueMoving (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_getLocation (JNIEnv *env, jobject, jobject, jint, jintArray, jboolean, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_lineUpDockWindows__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_lineUpDockWindows__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_isDockMenuEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_hasDockWindow (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_addToolBar__Lorg_kde_qt_QDockWindow_2IZ (JNIEnv *env, jobject, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_addToolBar__Lorg_kde_qt_QDockWindow_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_addToolBar__Lorg_kde_qt_QDockWindow_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_addToolBar__Lorg_kde_qt_QDockWindow_2Ljava_lang_String_2IZ (JNIEnv *env, jobject, jobject, jstring, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_addToolBar__Lorg_kde_qt_QDockWindow_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_addToolBar__Lorg_kde_qt_QDockWindow_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_moveToolBar__Lorg_kde_qt_QDockWindow_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_moveToolBar__Lorg_kde_qt_QDockWindow_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_moveToolBar__Lorg_kde_qt_QDockWindow_2IZII (JNIEnv *env, jobject, jobject, jint, jboolean, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_moveToolBar__Lorg_kde_qt_QDockWindow_2IZI (JNIEnv *env, jobject, jobject, jint, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_removeToolBar (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_toolBarsMovable (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_lineUpToolBars__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_lineUpToolBars__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMainWindow_dockingArea (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMainWindow_leftDock (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMainWindow_rightDock (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMainWindow_topDock (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMainWindow_bottomDock (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_isCustomizable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_appropriate (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMainWindow_createDockWindowMenu__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMainWindow_createDockWindowMenu__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_setRightJustification (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_setUsesBigPixmaps (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_setUsesTextLabel (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_setDockWindowsMovable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_setOpaqueMoving (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_setDockMenuEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_whatsThis (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_setAppropriate (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_customize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_setToolBarsMovable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMainWindow_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMainWindow_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_childEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_event (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_styleChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_setUpLayout (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_showDockMenu (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_menuAboutToShow (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QMainWindow__ */ diff --git a/qtjava/javalib/qtjava/QMenuBar.cpp b/qtjava/javalib/qtjava/QMenuBar.cpp deleted file mode 100644 index 3a2fb258..00000000 --- a/qtjava/javalib/qtjava/QMenuBar.cpp +++ /dev/null @@ -1,1393 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class TQMenuBarJBridge : public TQMenuBar -{ -public: - TQMenuBarJBridge(TQWidget* arg1,const char* arg2) : TQMenuBar(arg1,arg2) {}; - TQMenuBarJBridge(TQWidget* arg1) : TQMenuBar(arg1) {}; - TQMenuBarJBridge() : TQMenuBar() {}; - void protected_drawContents(TQPainter* arg1) { - TQMenuBar::drawContents(arg1); - return; - } - void protected_fontChange(const TQFont& arg1) { - TQMenuBar::fontChange(arg1); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TQMenuBar::mousePressEvent(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - TQMenuBar::mouseReleaseEvent(arg1); - return; - } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - TQMenuBar::mouseMoveEvent(arg1); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQMenuBar::keyPressEvent(arg1); - return; - } - void protected_focusInEvent(TQFocusEvent* arg1) { - TQMenuBar::focusInEvent(arg1); - return; - } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TQMenuBar::focusOutEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQMenuBar::resizeEvent(arg1); - return; - } - void protected_leaveEvent(TQEvent* arg1) { - TQMenuBar::leaveEvent(arg1); - return; - } - void protected_menuContentsChanged() { - TQMenuBar::menuContentsChanged(); - return; - } - void protected_menuStateChanged() { - TQMenuBar::menuStateChanged(); - return; - } - void protected_styleChange(TQStyle& arg1) { - TQMenuBar::styleChange(arg1); - return; - } - int protected_itemAtPos(const TQPoint& arg1) { - return (int) TQMenuBar::itemAtPos(arg1); - } - void protected_hidePopups() { - TQMenuBar::hidePopups(); - return; - } - TQRect protected_itemRect(int arg1) { - return (TQRect) TQMenuBar::itemRect(arg1); - } - ~TQMenuBarJBridge() {QtSupport::qtKeyDeleted(this);} - void protected_menuInsPopup(TQPopupMenu* arg1) { - TQMenuData::menuInsPopup(arg1); - return; - } - void protected_menuDelPopup(TQPopupMenu* arg1) { - TQMenuData::menuDelPopup(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")) { - TQMenuBar::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.qt.TQMenuBar","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")) { - TQMenuBar::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMenuBar","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.qt.TQMenuBar","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.qt.TQMenuBar","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMenuBar","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")) { - 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")) { - 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")) { - 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.qt.TQMenuBar","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMenuBar","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.qt.TQMenuBar","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; - } - 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.qt.TQMenuBar","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMenuBar_accel(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQKeySequence(((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->accel((int) id)), "org.kde.qt.TQKeySequence", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_activateItemAt(JNIEnv* env, jobject obj, jint index) -{ - ((TQMenuBar*) QtSupport::getQt(env, obj))->activateItemAt((int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_changeItem__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint id, jstring text) -{ -static TQString* _qstring_text = 0; - ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_changeItem__ILorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint id, jobject icon, jstring text) -{ -static TQString* _qstring_text = 0; - ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_changeItem__ILorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jint id, jobject icon, jobject pixmap) -{ - ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_changeItem__ILorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jint id, jobject pixmap) -{ - ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_changeItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id) -{ -static TQString* _qstring_text = 0; - ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->changeItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_changeItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id) -{ -static TQString* _qstring_text = 0; - ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->changeItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_changeItem__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint id) -{ - ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->changeItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QMenuBar_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQMenuBar*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_clear(JNIEnv* env, jobject obj) -{ - ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMenuBar_customWhatsThis(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQMenuBar*) QtSupport::getQt(env, obj))->customWhatsThis(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QMenuBar_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_drawContents(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMenuBar_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - jboolean xret = (jboolean) ((TQMenuBar*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQMenuBar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQMenuBar*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMenuBar_findItem(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->findItem((int) id), "org.kde.qt.TQMenuItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMenuBar_findPopup__Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->findPopup((TQPopupMenu*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQMenuItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMenuBar_findPopup__Lorg_kde_qt_QPopupMenu_2_3I(JNIEnv* env, jobject obj, jobject arg1, jintArray index) -{ - int* _int_index = QtSupport::toIntPtr(env, index); - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->findPopup((TQPopupMenu*) QtSupport::getQt(env, arg1), (int*) _int_index), "org.kde.qt.TQMenuItem"); - env->SetIntArrayRegion(index, 0, 1, (jint *) _int_index); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_focusInEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_focusOutEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_fontChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_heightForWidth(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQMenuBar*) QtSupport::getQt(env, obj))->heightForWidth((int) arg1); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_hidePopups(JNIEnv* env, jobject obj) -{ - ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_hidePopups(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_hide(JNIEnv* env, jobject obj) -{ - ((TQMenuBar*) QtSupport::getQt(env, obj))->hide(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMenuBar_iconSet(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->iconSet((int) id), "org.kde.qt.TQIconSet"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_idAt(JNIEnv* env, jobject obj, jint index) -{ - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->idAt((int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_indexOf(JNIEnv* env, jobject obj, jint id) -{ - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->indexOf((int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring text, jint id, jint index) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jstring text, jobject receiver, jstring member, jobject accel) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jstring text, jobject receiver, jstring member, jobject accel, jint id) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jstring text, jobject popup) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jstring text, jobject popup, jint id) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jstring text, jobject popup, jint id, jint index) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QCustomMenuItem_2(JNIEnv* env, jobject obj, jobject custom) -{ - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((TQCustomMenuItem*) QtSupport::getQt(env, custom)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QCustomMenuItem_2I(JNIEnv* env, jobject obj, jobject custom, jint id) -{ - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((TQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QCustomMenuItem_2II(JNIEnv* env, jobject obj, jobject custom, jint id, jint index) -{ - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((TQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject icon, jstring text) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id, jint index) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member, jobject accel) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member, jobject accel, jint id) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member, jobject accel, jint id, jint index) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject popup) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject popup, jint id) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject popup, jint id, jint index) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2(JNIEnv* env, jobject obj, jobject icon, jobject custom) -{ - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (TQCustomMenuItem*) QtSupport::getQt(env, custom)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2I(JNIEnv* env, jobject obj, jobject icon, jobject custom, jint id) -{ - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (TQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2II(JNIEnv* env, jobject obj, jobject icon, jobject custom, jint id, jint index) -{ - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (TQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject icon, jobject pixmap) -{ - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jint id) -{ - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2II(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jint id, jint index) -{ - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member, jobject accel) -{ - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id) -{ - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id, jint index) -{ - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject popup) -{ - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject popup, jint id) -{ - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject popup, jint id, jint index) -{ - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pixmap) -{ - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint id) -{ - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2II(JNIEnv* env, jobject obj, jobject pixmap, jint id, jint index) -{ - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject pixmap, jobject receiver, jstring member, jobject accel) -{ - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id) -{ - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv* env, jobject obj, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id, jint index) -{ - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject pixmap, jobject popup) -{ - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jobject pixmap, jobject popup, jint id) -{ - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jobject pixmap, jobject popup, jint id, jint index) -{ - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint id) -{ - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((TQWidget*) QtSupport::getQt(env, widget), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject widget, jint id, jint index) -{ - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((TQWidget*) QtSupport::getQt(env, widget), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertSeparator__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertSeparator(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertSeparator__I(JNIEnv* env, jobject obj, jint index) -{ - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertSeparator((int) index); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMenuBar_isDefaultUp(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQMenuBar*) QtSupport::getQt(env, obj))->isDefaultUp(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMenuBar_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMenuBar_isItemActive(JNIEnv* env, jobject obj, jint id) -{ - jboolean xret = (jboolean) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->isItemActive((int) id); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMenuBar_isItemChecked(JNIEnv* env, jobject obj, jint id) -{ - jboolean xret = (jboolean) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->isItemChecked((int) id); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMenuBar_isItemEnabled(JNIEnv* env, jobject obj, jint id) -{ - jboolean xret = (jboolean) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->isItemEnabled((int) id); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMenuBar_isItemVisible(JNIEnv* env, jobject obj, jint id) -{ - jboolean xret = (jboolean) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->isItemVisible((int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_itemAtPos(JNIEnv* env, jobject obj, jobject arg1) -{ - jint xret = (jint) ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_itemAtPos((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_itemParameter(JNIEnv* env, jobject obj, jint id) -{ - jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->itemParameter((int) id); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMenuBar_itemRect(JNIEnv* env, jobject obj, jint item) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_itemRect((int) item)), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_leaveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_menuContentsChanged(JNIEnv* env, jobject obj) -{ - ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_menuContentsChanged(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_menuDelPopup(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_menuDelPopup((TQPopupMenu*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_menuInsPopup(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_menuInsPopup((TQPopupMenu*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_menuStateChanged(JNIEnv* env, jobject obj) -{ - ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_menuStateChanged(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMenuBar_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuBar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMenuBar_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQMenuBar*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMenuBar_minimumSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQMenuBar*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_newTQMenuBar__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQMenuBarJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_newTQMenuBar__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQMenuBarJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_newTQMenuBar__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 TQMenuBarJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMenuBar_pixmap(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->pixmap((int) id), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_removeItemAt(JNIEnv* env, jobject obj, jint index) -{ - ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->removeItemAt((int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_removeItem(JNIEnv* env, jobject obj, jint id) -{ - ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->removeItem((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_separator(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMenuBar*) QtSupport::getQt(env, obj))->separator(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_setAccel(JNIEnv* env, jobject obj, jobject key, jint id) -{ - ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->setAccel((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, key), (int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_setDefaultUp(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQMenuBar*) QtSupport::getQt(env, obj))->setDefaultUp((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_setId(JNIEnv* env, jobject obj, jint index, jint id) -{ - ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->setId((int) index, (int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_setItemChecked(JNIEnv* env, jobject obj, jint id, jboolean check) -{ - ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->setItemChecked((int) id, (bool) check); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_setItemEnabled(JNIEnv* env, jobject obj, jint id, jboolean enable) -{ - ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->setItemEnabled((int) id, (bool) enable); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMenuBar_setItemParameter(JNIEnv* env, jobject obj, jint id, jint param) -{ - jboolean xret = (jboolean) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->setItemParameter((int) id, (int) param); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_setItemVisible(JNIEnv* env, jobject obj, jint id, jboolean visible) -{ - ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->setItemVisible((int) id, (bool) visible); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_setSeparator(JNIEnv* env, jobject obj, jint when) -{ - ((TQMenuBar*) QtSupport::getQt(env, obj))->setSeparator((TQMenuBar::Separator) when); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_setWhatsThis(JNIEnv* env, jobject obj, jint id, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->setWhatsThis((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_show(JNIEnv* env, jobject obj) -{ - ((TQMenuBar*) QtSupport::getQt(env, obj))->show(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMenuBar_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQMenuBar*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_styleChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QMenuBar_text(JNIEnv* env, jobject obj, jint id) -{ - TQString _qstring; - _qstring = ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->text((int) id); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QMenuBar_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQMenuBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QMenuBar_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQMenuBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_updateItem(JNIEnv* env, jobject obj, jint id) -{ - ((TQMenuBar*) QtSupport::getQt(env, obj))->updateItem((int) id); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QMenuBar_whatsThis(JNIEnv* env, jobject obj, jint id) -{ - TQString _qstring; - _qstring = ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->whatsThis((int) id); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv *env, jobject obj, jstring text, jobject receiver, jstring member, jobject accel, jint identifier, jint index) -{ - identifier = Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2II(env, obj, text, identifier, index); - - if ((bool) Java_org_kde_qt_QMenuBar_connectItem(env, obj, identifier, receiver, member)) { - Java_org_kde_qt_QMenuBar_setAccel(env, obj, accel, identifier); - } - - return identifier; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jstring text, jobject receiver, jstring member) -{ - jint identifier = Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2II(env, obj, text, -1, -1); - Java_org_kde_qt_QMenuBar_connectItem(env, obj, identifier, receiver, member); - - return identifier; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member) -{ -static TQString * _qstring_text = 0; - jint identifier = Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2II(env, obj, icon, text, -1, -1); - Java_org_kde_qt_QMenuBar_connectItem(env, obj, identifier, receiver, member); - - return identifier; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject pixmap, jobject receiver, jstring member) -{ - jint identifier = Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2II(env, obj, pixmap, -1, -1); - Java_org_kde_qt_QMenuBar_connectItem(env, obj, identifier, receiver, member); - - return identifier; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member) -{ - jint identifier = Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2II(env, obj, icon, pixmap, -1, -1); - Java_org_kde_qt_QMenuBar_connectItem(env, obj, identifier, receiver, member); - - return identifier; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMenuBar_connectItem(JNIEnv *env, jobject obj, jint identifier, jobject receiver, jstring member) -{ - JavaSlot * javaSlot = QtSupport::slotForReceiver(env, receiver, member); - - if ( ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->connectItem( identifier, - javaSlot, - javaSlot->javaToQtSlotName(env, member) ) ) - { - return(jboolean) JNI_TRUE; - } else { - return (jboolean) JNI_FALSE; - } -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMenuBar_disconnectItem(JNIEnv *env, jobject obj, jint identifier, jobject receiver, jstring member) -{ - JavaSlot * javaSlot = QtSupport::slotForReceiver(env, receiver, member); - - if ( ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->disconnectItem( identifier, - javaSlot, - javaSlot->javaToQtSlotName(env, member) ) ) - { - return(jboolean) JNI_TRUE; - } else { - return (jboolean) JNI_FALSE; - } -} - - diff --git a/qtjava/javalib/qtjava/QMenuBar.h b/qtjava/javalib/qtjava/QMenuBar.h deleted file mode 100644 index 41cb59c7..00000000 --- a/qtjava/javalib/qtjava/QMenuBar.h +++ /dev/null @@ -1,146 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QMenuBar__ -#define __org_kde_qt_QMenuBar__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuBar_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMenuBar_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_newTQMenuBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_newTQMenuBar__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_newTQMenuBar__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_updateItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_show (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_hide (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuBar_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_heightForWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_separator (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_setSeparator (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_setDefaultUp (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuBar_isDefaultUp (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuBar_customWhatsThis (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuBar_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuBar_minimumSize (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuBar_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_activateItemAt (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMenuBar_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMenuBar_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_drawContents (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_fontChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_mouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_focusInEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_focusOutEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_leaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_menuContentsChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_menuStateChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_styleChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_itemAtPos (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_hidePopups (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuBar_itemRect (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuBar_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_count (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II (JNIEnv *env, jobject, jstring, jobject, jstring, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I (JNIEnv *env, jobject, jstring, jobject, jstring, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jstring, jobject, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II (JNIEnv *env, jobject, jobject, jobject, jstring, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I (JNIEnv *env, jobject, jobject, jobject, jstring, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II (JNIEnv *env, jobject, jobject, jobject, jobject, jstring, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I (JNIEnv *env, jobject, jobject, jobject, jobject, jstring, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2II (JNIEnv *env, jobject, jobject, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2II (JNIEnv *env, jobject, jstring, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2I (JNIEnv *env, jobject, jstring, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2II (JNIEnv *env, jobject, jobject, jstring, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2I (JNIEnv *env, jobject, jobject, jstring, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jobject, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2II (JNIEnv *env, jobject, jobject, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2II (JNIEnv *env, jobject, jobject, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2I (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2II (JNIEnv *env, jobject, jobject, jobject, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2I (JNIEnv *env, jobject, jobject, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QWidget_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2II (JNIEnv *env, jobject, jobject, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2I (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QCustomMenuItem_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QCustomMenuItem_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QCustomMenuItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertSeparator__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertSeparator__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_removeItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_removeItemAt (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_clear (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuBar_accel (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_setAccel (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuBar_iconSet (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMenuBar_text (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuBar_pixmap (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_setWhatsThis (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMenuBar_whatsThis (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_changeItem__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_changeItem__ILorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_changeItem__ILorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_changeItem__ILorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jint, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_changeItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_changeItem__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_changeItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuBar_isItemActive (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuBar_isItemEnabled (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_setItemEnabled (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuBar_isItemChecked (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_setItemChecked (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuBar_isItemVisible (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_setItemVisible (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_indexOf (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_idAt (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_setId (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuBar_connectItem (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuBar_disconnectItem (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuBar_setItemParameter (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_itemParameter (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuBar_findItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuBar_findPopup__Lorg_kde_qt_QPopupMenu_2_3I (JNIEnv *env, jobject, jobject, jintArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuBar_findPopup__Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_menuInsPopup (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_menuDelPopup (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QMenuBar__ */ diff --git a/qtjava/javalib/qtjava/QMenuData.cpp b/qtjava/javalib/qtjava/QMenuData.cpp deleted file mode 100644 index fd1076a4..00000000 --- a/qtjava/javalib/qtjava/QMenuData.cpp +++ /dev/null @@ -1,767 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class TQMenuDataJBridge : public TQMenuData -{ -public: - TQMenuDataJBridge() : TQMenuData() {}; - void protected_menuContentsChanged() { - TQMenuData::menuContentsChanged(); - return; - } - void protected_menuStateChanged() { - TQMenuData::menuStateChanged(); - return; - } - void protected_menuInsPopup(TQPopupMenu* arg1) { - TQMenuData::menuInsPopup(arg1); - return; - } - void protected_menuDelPopup(TQPopupMenu* arg1) { - TQMenuData::menuDelPopup(arg1); - return; - } - ~TQMenuDataJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMenuData_accel(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQKeySequence(((TQMenuData*) QtSupport::getQt(env, obj))->accel((int) id)), "org.kde.qt.TQKeySequence", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuData_activateItemAt(JNIEnv* env, jobject obj, jint index) -{ - ((TQMenuData*) QtSupport::getQt(env, obj))->activateItemAt((int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuData_changeItem__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint id, jstring text) -{ -static TQString* _qstring_text = 0; - ((TQMenuData*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuData_changeItem__ILorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint id, jobject icon, jstring text) -{ -static TQString* _qstring_text = 0; - ((TQMenuData*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuData_changeItem__ILorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jint id, jobject icon, jobject pixmap) -{ - ((TQMenuData*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuData_changeItem__ILorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jint id, jobject pixmap) -{ - ((TQMenuData*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuData_changeItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id) -{ -static TQString* _qstring_text = 0; - ((TQMenuData*) QtSupport::getQt(env, obj))->changeItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuData_changeItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id) -{ -static TQString* _qstring_text = 0; - ((TQMenuData*) QtSupport::getQt(env, obj))->changeItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuData_changeItem__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint id) -{ - ((TQMenuData*) QtSupport::getQt(env, obj))->changeItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuData_clear(JNIEnv* env, jobject obj) -{ - ((TQMenuData*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuData_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QMenuData_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuData_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQMenuData*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMenuData_findItem(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*) QtSupport::getQt(env, obj))->findItem((int) id), "org.kde.qt.TQMenuItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMenuData_findPopup__Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*) QtSupport::getQt(env, obj))->findPopup((TQPopupMenu*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQMenuItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMenuData_findPopup__Lorg_kde_qt_QPopupMenu_2_3I(JNIEnv* env, jobject obj, jobject arg1, jintArray index) -{ - int* _int_index = QtSupport::toIntPtr(env, index); - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*) QtSupport::getQt(env, obj))->findPopup((TQPopupMenu*) QtSupport::getQt(env, arg1), (int*) _int_index), "org.kde.qt.TQMenuItem"); - env->SetIntArrayRegion(index, 0, 1, (jint *) _int_index); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMenuData_iconSet(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*) QtSupport::getQt(env, obj))->iconSet((int) id), "org.kde.qt.TQIconSet"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_idAt(JNIEnv* env, jobject obj, jint index) -{ - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->idAt((int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_indexOf(JNIEnv* env, jobject obj, jint id) -{ - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->indexOf((int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring text, jint id, jint index) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jstring text, jobject receiver, jstring member, jobject accel) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jstring text, jobject receiver, jstring member, jobject accel, jint id) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jstring text, jobject popup) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jstring text, jobject popup, jint id) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jstring text, jobject popup, jint id, jint index) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QCustomMenuItem_2(JNIEnv* env, jobject obj, jobject custom) -{ - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((TQCustomMenuItem*) QtSupport::getQt(env, custom)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QCustomMenuItem_2I(JNIEnv* env, jobject obj, jobject custom, jint id) -{ - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((TQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QCustomMenuItem_2II(JNIEnv* env, jobject obj, jobject custom, jint id, jint index) -{ - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((TQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject icon, jstring text) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id, jint index) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member, jobject accel) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member, jobject accel, jint id) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member, jobject accel, jint id, jint index) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject popup) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject popup, jint id) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject popup, jint id, jint index) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2(JNIEnv* env, jobject obj, jobject icon, jobject custom) -{ - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (TQCustomMenuItem*) QtSupport::getQt(env, custom)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2I(JNIEnv* env, jobject obj, jobject icon, jobject custom, jint id) -{ - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (TQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2II(JNIEnv* env, jobject obj, jobject icon, jobject custom, jint id, jint index) -{ - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (TQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject icon, jobject pixmap) -{ - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jint id) -{ - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2II(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jint id, jint index) -{ - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member, jobject accel) -{ - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id) -{ - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id, jint index) -{ - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject popup) -{ - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject popup, jint id) -{ - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject popup, jint id, jint index) -{ - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pixmap) -{ - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint id) -{ - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2II(JNIEnv* env, jobject obj, jobject pixmap, jint id, jint index) -{ - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject pixmap, jobject receiver, jstring member, jobject accel) -{ - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id) -{ - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv* env, jobject obj, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id, jint index) -{ - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject pixmap, jobject popup) -{ - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jobject pixmap, jobject popup, jint id) -{ - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jobject pixmap, jobject popup, jint id, jint index) -{ - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint id) -{ - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((TQWidget*) QtSupport::getQt(env, widget), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject widget, jint id, jint index) -{ - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((TQWidget*) QtSupport::getQt(env, widget), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertSeparator__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertSeparator(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertSeparator__I(JNIEnv* env, jobject obj, jint index) -{ - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertSeparator((int) index); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMenuData_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMenuData_isItemActive(JNIEnv* env, jobject obj, jint id) -{ - jboolean xret = (jboolean) ((TQMenuData*) QtSupport::getQt(env, obj))->isItemActive((int) id); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMenuData_isItemChecked(JNIEnv* env, jobject obj, jint id) -{ - jboolean xret = (jboolean) ((TQMenuData*) QtSupport::getQt(env, obj))->isItemChecked((int) id); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMenuData_isItemEnabled(JNIEnv* env, jobject obj, jint id) -{ - jboolean xret = (jboolean) ((TQMenuData*) QtSupport::getQt(env, obj))->isItemEnabled((int) id); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMenuData_isItemVisible(JNIEnv* env, jobject obj, jint id) -{ - jboolean xret = (jboolean) ((TQMenuData*) QtSupport::getQt(env, obj))->isItemVisible((int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_itemParameter(JNIEnv* env, jobject obj, jint id) -{ - jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->itemParameter((int) id); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuData_menuContentsChanged(JNIEnv* env, jobject obj) -{ - ((TQMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuContentsChanged(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuData_menuDelPopup(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuDelPopup((TQPopupMenu*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuData_menuInsPopup(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuInsPopup((TQPopupMenu*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuData_menuStateChanged(JNIEnv* env, jobject obj) -{ - ((TQMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuStateChanged(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuData_newTQMenuData(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQMenuDataJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMenuData_pixmap(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*) QtSupport::getQt(env, obj))->pixmap((int) id), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuData_removeItemAt(JNIEnv* env, jobject obj, jint index) -{ - ((TQMenuData*) QtSupport::getQt(env, obj))->removeItemAt((int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuData_removeItem(JNIEnv* env, jobject obj, jint id) -{ - ((TQMenuData*) QtSupport::getQt(env, obj))->removeItem((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuData_setAccel(JNIEnv* env, jobject obj, jobject key, jint id) -{ - ((TQMenuData*) QtSupport::getQt(env, obj))->setAccel((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, key), (int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuData_setId(JNIEnv* env, jobject obj, jint index, jint id) -{ - ((TQMenuData*) QtSupport::getQt(env, obj))->setId((int) index, (int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuData_setItemChecked(JNIEnv* env, jobject obj, jint id, jboolean check) -{ - ((TQMenuData*) QtSupport::getQt(env, obj))->setItemChecked((int) id, (bool) check); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuData_setItemEnabled(JNIEnv* env, jobject obj, jint id, jboolean enable) -{ - ((TQMenuData*) QtSupport::getQt(env, obj))->setItemEnabled((int) id, (bool) enable); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMenuData_setItemParameter(JNIEnv* env, jobject obj, jint id, jint param) -{ - jboolean xret = (jboolean) ((TQMenuData*) QtSupport::getQt(env, obj))->setItemParameter((int) id, (int) param); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuData_setItemVisible(JNIEnv* env, jobject obj, jint id, jboolean visible) -{ - ((TQMenuData*) QtSupport::getQt(env, obj))->setItemVisible((int) id, (bool) visible); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuData_setWhatsThis(JNIEnv* env, jobject obj, jint id, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - ((TQMenuData*) QtSupport::getQt(env, obj))->setWhatsThis((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QMenuData_text(JNIEnv* env, jobject obj, jint id) -{ - TQString _qstring; - _qstring = ((TQMenuData*) QtSupport::getQt(env, obj))->text((int) id); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuData_updateItem(JNIEnv* env, jobject obj, jint id) -{ - ((TQMenuData*) QtSupport::getQt(env, obj))->updateItem((int) id); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QMenuData_whatsThis(JNIEnv* env, jobject obj, jint id) -{ - TQString _qstring; - _qstring = ((TQMenuData*) QtSupport::getQt(env, obj))->whatsThis((int) id); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv *env, jobject obj, jstring text, jobject receiver, jstring member, jobject accel, jint identifier, jint index) -{ - identifier = Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2II(env, obj, text, identifier, index); - - if ((bool) Java_org_kde_qt_QMenuData_connectItem(env, obj, identifier, receiver, member)) { - Java_org_kde_qt_QMenuData_setAccel(env, obj, accel, identifier); - } - - return identifier; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jstring text, jobject receiver, jstring member) -{ - jint identifier = Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2II(env, obj, text, -1, -1); - Java_org_kde_qt_QMenuData_connectItem(env, obj, identifier, receiver, member); - - return identifier; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member) -{ -static TQString * _qstring_text = 0; - jint identifier = Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2II(env, obj, icon, text, -1, -1); - Java_org_kde_qt_QMenuData_connectItem(env, obj, identifier, receiver, member); - - return identifier; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject pixmap, jobject receiver, jstring member) -{ - jint identifier = Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2II(env, obj, pixmap, -1, -1); - Java_org_kde_qt_QMenuData_connectItem(env, obj, identifier, receiver, member); - - return identifier; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member) -{ - jint identifier = Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2II(env, obj, icon, pixmap, -1, -1); - Java_org_kde_qt_QMenuData_connectItem(env, obj, identifier, receiver, member); - - return identifier; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMenuData_connectItem(JNIEnv *env, jobject obj, jint identifier, jobject receiver, jstring member) -{ - JavaSlot * javaSlot = QtSupport::slotForReceiver(env, receiver, member); - - if ( ((TQMenuDataJBridge*) QtSupport::getQt(env, obj))->connectItem( identifier, - javaSlot, - javaSlot->javaToQtSlotName(env, member) ) ) - { - return(jboolean) JNI_TRUE; - } else { - return (jboolean) JNI_FALSE; - } -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMenuData_disconnectItem(JNIEnv *env, jobject obj, jint identifier, jobject receiver, jstring member) -{ - JavaSlot * javaSlot = QtSupport::slotForReceiver(env, receiver, member); - - if ( ((TQMenuDataJBridge*) QtSupport::getQt(env, obj))->disconnectItem( identifier, - javaSlot, - javaSlot->javaToQtSlotName(env, member) ) ) - { - return(jboolean) JNI_TRUE; - } else { - return (jboolean) JNI_FALSE; - } -} - diff --git a/qtjava/javalib/qtjava/QMenuData.h b/qtjava/javalib/qtjava/QMenuData.h deleted file mode 100644 index 7217ca9c..00000000 --- a/qtjava/javalib/qtjava/QMenuData.h +++ /dev/null @@ -1,114 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QMenuData__ -#define __org_kde_qt_QMenuData__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_newTQMenuData (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_count (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II (JNIEnv *env, jobject, jstring, jobject, jstring, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I (JNIEnv *env, jobject, jstring, jobject, jstring, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jstring, jobject, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II (JNIEnv *env, jobject, jobject, jobject, jstring, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I (JNIEnv *env, jobject, jobject, jobject, jstring, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II (JNIEnv *env, jobject, jobject, jobject, jobject, jstring, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I (JNIEnv *env, jobject, jobject, jobject, jobject, jstring, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2II (JNIEnv *env, jobject, jobject, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2II (JNIEnv *env, jobject, jstring, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2I (JNIEnv *env, jobject, jstring, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2II (JNIEnv *env, jobject, jobject, jstring, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2I (JNIEnv *env, jobject, jobject, jstring, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jobject, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2II (JNIEnv *env, jobject, jobject, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2II (JNIEnv *env, jobject, jobject, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2I (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2II (JNIEnv *env, jobject, jobject, jobject, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2I (JNIEnv *env, jobject, jobject, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QWidget_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2II (JNIEnv *env, jobject, jobject, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2I (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QCustomMenuItem_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QCustomMenuItem_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QCustomMenuItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertSeparator__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertSeparator__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_removeItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_removeItemAt (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_clear (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuData_accel (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_setAccel (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuData_iconSet (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMenuData_text (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuData_pixmap (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_setWhatsThis (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMenuData_whatsThis (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_changeItem__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_changeItem__ILorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_changeItem__ILorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_changeItem__ILorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jint, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_changeItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_changeItem__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_changeItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuData_isItemActive (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuData_isItemEnabled (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_setItemEnabled (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuData_isItemChecked (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_setItemChecked (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuData_isItemVisible (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_setItemVisible (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_updateItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_indexOf (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_idAt (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_setId (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuData_connectItem (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuData_disconnectItem (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuData_setItemParameter (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_itemParameter (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuData_findItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuData_findPopup__Lorg_kde_qt_QPopupMenu_2_3I (JNIEnv *env, jobject, jobject, jintArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuData_findPopup__Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_activateItemAt (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_menuContentsChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_menuStateChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_menuInsPopup (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_menuDelPopup (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuData_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QMenuData__ */ diff --git a/qtjava/javalib/qtjava/QMenuItem.cpp b/qtjava/javalib/qtjava/QMenuItem.cpp deleted file mode 100644 index 7a403a02..00000000 --- a/qtjava/javalib/qtjava/QMenuItem.cpp +++ /dev/null @@ -1,192 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQMenuItemJBridge : public TQMenuItem -{ -public: - TQMenuItemJBridge() : TQMenuItem() {}; - ~TQMenuItemJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMenuItem_custom(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuItem*) QtSupport::getQt(env, obj))->custom(), "org.kde.qt.TQCustomMenuItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuItem_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QMenuItem_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuItem_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQMenuItem*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMenuItem_iconSet(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuItem*) QtSupport::getQt(env, obj))->iconSet(), "org.kde.qt.TQIconSet"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMenuItem_id(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMenuItem*) QtSupport::getQt(env, obj))->id(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMenuItem_isChecked(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQMenuItem*) QtSupport::getQt(env, obj))->isChecked(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMenuItem_isDirty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQMenuItem*) QtSupport::getQt(env, obj))->isDirty(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMenuItem_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMenuItem_isEnabledAndVisible(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQMenuItem*) QtSupport::getQt(env, obj))->isEnabledAndVisible(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMenuItem_isEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQMenuItem*) QtSupport::getQt(env, obj))->isEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMenuItem_isSeparator(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQMenuItem*) QtSupport::getQt(env, obj))->isSeparator(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMenuItem_isVisible(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQMenuItem*) QtSupport::getQt(env, obj))->isVisible(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMenuItem_key(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQKeySequence(((TQMenuItem*) QtSupport::getQt(env, obj))->key()), "org.kde.qt.TQKeySequence", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuItem_newTQMenuItem(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQMenuItemJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMenuItem_pixmap(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuItem*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMenuItem_popup(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuItem*) QtSupport::getQt(env, obj))->popup(), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuItem_setDirty(JNIEnv* env, jobject obj, jboolean dirty) -{ - ((TQMenuItem*) QtSupport::getQt(env, obj))->setDirty((bool) dirty); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuItem_setText(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TQMenuItem*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuItem_setVisible(JNIEnv* env, jobject obj, jboolean visible) -{ - ((TQMenuItem*) QtSupport::getQt(env, obj))->setVisible((bool) visible); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuItem_setWhatsThis(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TQMenuItem*) QtSupport::getQt(env, obj))->setWhatsThis((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMenuItem_signal(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuItem*) QtSupport::getQt(env, obj))->signal(), "org.kde.qt.TQSignal"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QMenuItem_text(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQMenuItem*) QtSupport::getQt(env, obj))->text(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QMenuItem_whatsThis(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQMenuItem*) QtSupport::getQt(env, obj))->whatsThis(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMenuItem_widget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuItem*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget"); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QMenuItem.h b/qtjava/javalib/qtjava/QMenuItem.h deleted file mode 100644 index 29417086..00000000 --- a/qtjava/javalib/qtjava/QMenuItem.h +++ /dev/null @@ -1,42 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QMenuItem__ -#define __org_kde_qt_QMenuItem__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuItem_newTQMenuItem (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuItem_id (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuItem_iconSet (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMenuItem_text (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMenuItem_whatsThis (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuItem_pixmap (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuItem_popup (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuItem_widget (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuItem_custom (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuItem_key (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuItem_signal (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuItem_isSeparator (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuItem_isEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuItem_isChecked (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuItem_isDirty (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuItem_isVisible (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuItem_isEnabledAndVisible (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuItem_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuItem_setDirty (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuItem_setVisible (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuItem_setWhatsThis (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuItem_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuItem_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuItem_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QMenuItem__ */ diff --git a/qtjava/javalib/qtjava/QMessageBox.cpp b/qtjava/javalib/qtjava/QMessageBox.cpp deleted file mode 100644 index 0316cc87..00000000 --- a/qtjava/javalib/qtjava/QMessageBox.cpp +++ /dev/null @@ -1,1174 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include - -class TQMessageBoxJBridge : public TQMessageBox -{ -public: - TQMessageBoxJBridge(TQWidget* arg1,const char* arg2) : TQMessageBox(arg1,arg2) {}; - TQMessageBoxJBridge(TQWidget* arg1) : TQMessageBox(arg1) {}; - TQMessageBoxJBridge() : TQMessageBox() {}; - TQMessageBoxJBridge(const TQString& arg1,const TQString& arg2,TQMessageBox::Icon arg3,int arg4,int arg5,int arg6,TQWidget* arg7,const char* arg8,bool arg9,TQt::WFlags arg10) : TQMessageBox(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {}; - TQMessageBoxJBridge(const TQString& arg1,const TQString& arg2,TQMessageBox::Icon arg3,int arg4,int arg5,int arg6,TQWidget* arg7,const char* arg8,bool arg9) : TQMessageBox(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - TQMessageBoxJBridge(const TQString& arg1,const TQString& arg2,TQMessageBox::Icon arg3,int arg4,int arg5,int arg6,TQWidget* arg7,const char* arg8) : TQMessageBox(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - TQMessageBoxJBridge(const TQString& arg1,const TQString& arg2,TQMessageBox::Icon arg3,int arg4,int arg5,int arg6,TQWidget* arg7) : TQMessageBox(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TQMessageBoxJBridge(const TQString& arg1,const TQString& arg2,TQMessageBox::Icon arg3,int arg4,int arg5,int arg6) : TQMessageBox(arg1,arg2,arg3,arg4,arg5,arg6) {}; - void protected_resizeEvent(TQResizeEvent* arg1) { - TQMessageBox::resizeEvent(arg1); - return; - } - void protected_showEvent(TQShowEvent* arg1) { - TQMessageBox::showEvent(arg1); - return; - } - void protected_closeEvent(TQCloseEvent* arg1) { - TQMessageBox::closeEvent(arg1); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQMessageBox::keyPressEvent(arg1); - return; - } - void protected_styleChanged(TQStyle& arg1) { - TQMessageBox::styleChanged(arg1); - return; - } - ~TQMessageBoxJBridge() {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")) { - TQMessageBox::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.qt.TQMessageBox","accept")) { - TQDialog::accept(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMessageBox","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.qt.TQMessageBox","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.qt.TQMessageBox","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.qt.TQMessageBox","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMessageBox","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")) { - TQMessageBox::showEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQMessageBox::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")) { - TQMessageBox::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.qt.TQMessageBox","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMessageBox","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 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.qt.TQMessageBox","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.qt.TQMessageBox","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMessageBox_aboutTQt__Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject parent) -{ - (void) cls; - TQMessageBoxJBridge::aboutTQt((TQWidget*) QtSupport::getQt(env, parent)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMessageBox_aboutTQt__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring caption) -{ - (void) cls; -static TQString* _qstring_caption = 0; - TQMessageBoxJBridge::aboutTQt((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMessageBox_about(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - TQMessageBoxJBridge::about((TQWidget*) QtSupport::getQt(env, parent), (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_qt_QMessageBox_adjustSize(JNIEnv* env, jobject obj) -{ - ((TQMessageBox*) QtSupport::getQt(env, obj))->adjustSize(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QMessageBox_buttonText(JNIEnv* env, jobject obj, jint button) -{ - TQString _qstring; - _qstring = ((TQMessageBox*) QtSupport::getQt(env, obj))->buttonText((int) button); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QMessageBox_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQMessageBox*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMessageBox_closeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQMessageBoxJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TQCloseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_critical__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) TQMessageBoxJBridge::critical((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_critical__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jint button0, jint button1) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) TQMessageBoxJBridge::critical((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) button0, (int) button1); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_critical__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2III(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jint button0, jint button1, jint button2) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) TQMessageBoxJBridge::critical((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) button0, (int) button1, (int) button2); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_critical__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQString* _qstring_button0Text = 0; - jint xret = (jint) TQMessageBoxJBridge::critical((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_critical__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text, jstring button1Text) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQString* _qstring_button0Text = 0; -static TQString* _qstring_button1Text = 0; - jint xret = (jint) TQMessageBoxJBridge::critical((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_critical__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text, jstring button1Text, jstring button2Text) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQString* _qstring_button0Text = 0; -static TQString* _qstring_button1Text = 0; -static TQString* _qstring_button2Text = 0; - jint xret = (jint) TQMessageBoxJBridge::critical((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button2Text, &_qstring_button2Text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_critical__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text, jstring button1Text, jstring button2Text, jint defaultButtonNumber) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQString* _qstring_button0Text = 0; -static TQString* _qstring_button1Text = 0; -static TQString* _qstring_button2Text = 0; - jint xret = (jint) TQMessageBoxJBridge::critical((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button2Text, &_qstring_button2Text), (int) defaultButtonNumber); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_critical__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text, jstring button1Text, jstring button2Text, jint defaultButtonNumber, jint escapeButtonNumber) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQString* _qstring_button0Text = 0; -static TQString* _qstring_button1Text = 0; -static TQString* _qstring_button2Text = 0; - jint xret = (jint) TQMessageBoxJBridge::critical((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button2Text, &_qstring_button2Text), (int) defaultButtonNumber, (int) escapeButtonNumber); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMessageBox_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QMessageBox_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMessageBox_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQMessageBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQMessageBox*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_iconId(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMessageBox*) QtSupport::getQt(env, obj))->icon(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMessageBox_iconPixmap(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMessageBox*) QtSupport::getQt(env, obj))->iconPixmap(), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) TQMessageBoxJBridge::information((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jint button0) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) TQMessageBoxJBridge::information((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) button0); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jint button0, jint button1) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) TQMessageBoxJBridge::information((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) button0, (int) button1); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2III(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jint button0, jint button1, jint button2) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) TQMessageBoxJBridge::information((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) button0, (int) button1, (int) button2); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQString* _qstring_button0Text = 0; - jint xret = (jint) TQMessageBoxJBridge::information((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text, jstring button1Text) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQString* _qstring_button0Text = 0; -static TQString* _qstring_button1Text = 0; - jint xret = (jint) TQMessageBoxJBridge::information((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text, jstring button1Text, jstring button2Text) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQString* _qstring_button0Text = 0; -static TQString* _qstring_button1Text = 0; -static TQString* _qstring_button2Text = 0; - jint xret = (jint) TQMessageBoxJBridge::information((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button2Text, &_qstring_button2Text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text, jstring button1Text, jstring button2Text, jint defaultButtonNumber) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQString* _qstring_button0Text = 0; -static TQString* _qstring_button1Text = 0; -static TQString* _qstring_button2Text = 0; - jint xret = (jint) TQMessageBoxJBridge::information((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button2Text, &_qstring_button2Text), (int) defaultButtonNumber); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text, jstring button1Text, jstring button2Text, jint defaultButtonNumber, jint escapeButtonNumber) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQString* _qstring_button0Text = 0; -static TQString* _qstring_button1Text = 0; -static TQString* _qstring_button2Text = 0; - jint xret = (jint) TQMessageBoxJBridge::information((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button2Text, &_qstring_button2Text), (int) defaultButtonNumber, (int) escapeButtonNumber); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMessageBox_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMessageBox_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQMessageBoxJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_message__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring text) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) TQMessageBoxJBridge::message((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_message__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring text, jstring buttonText) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQString* _qstring_buttonText = 0; - jint xret = (jint) TQMessageBoxJBridge::message((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, buttonText, &_qstring_buttonText)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_message__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring caption, jstring text, jstring buttonText, jobject parent) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQString* _qstring_buttonText = 0; - jint xret = (jint) TQMessageBoxJBridge::message((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, buttonText, &_qstring_buttonText), (TQWidget*) QtSupport::getQt(env, parent)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_message__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring text, jstring buttonText, jobject parent, jstring arg5) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQString* _qstring_buttonText = 0; -static TQCString* _qstring_arg5 = 0; - jint xret = (jint) TQMessageBoxJBridge::message((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, buttonText, &_qstring_buttonText), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, arg5, &_qstring_arg5)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMessageBox_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMessageBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMessageBox_newTQMessageBox__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQMessageBoxJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMessageBox_newTQMessageBox__Ljava_lang_String_2Ljava_lang_String_2IIII(JNIEnv* env, jobject obj, jstring caption, jstring text, jint icon, jint button0, jint button1, jint button2) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQMessageBoxJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQMessageBox::Icon) icon, (int) button0, (int) button1, (int) button2)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMessageBox_newTQMessageBox__Ljava_lang_String_2Ljava_lang_String_2IIIILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring caption, jstring text, jint icon, jint button0, jint button1, jint button2, jobject parent) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQMessageBoxJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQMessageBox::Icon) icon, (int) button0, (int) button1, (int) button2, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMessageBox_newTQMessageBox__Ljava_lang_String_2Ljava_lang_String_2IIIILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring caption, jstring text, jint icon, jint button0, jint button1, jint button2, jobject parent, jstring name) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQMessageBoxJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQMessageBox::Icon) icon, (int) button0, (int) button1, (int) button2, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMessageBox_newTQMessageBox__Ljava_lang_String_2Ljava_lang_String_2IIIILorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring caption, jstring text, jint icon, jint button0, jint button1, jint button2, jobject parent, jstring name, jboolean modal) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQMessageBoxJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQMessageBox::Icon) icon, (int) button0, (int) button1, (int) button2, (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_qt_QMessageBox_newTQMessageBox__Ljava_lang_String_2Ljava_lang_String_2IIIILorg_kde_qt_QWidget_2Ljava_lang_String_2ZI(JNIEnv* env, jobject obj, jstring caption, jstring text, jint icon, jint button0, jint button1, jint button2, jobject parent, jstring name, jboolean modal, jint f) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQMessageBoxJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQMessageBox::Icon) icon, (int) button0, (int) button1, (int) button2, (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_qt_QMessageBox_newTQMessageBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQMessageBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMessageBox_newTQMessageBox__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 TQMessageBoxJBridge((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_qt_QMessageBox_query__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring text) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - jboolean xret = (jboolean) TQMessageBoxJBridge::query((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMessageBox_query__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring text, jstring yesButtonText) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQString* _qstring_yesButtonText = 0; - jboolean xret = (jboolean) TQMessageBoxJBridge::query((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, yesButtonText, &_qstring_yesButtonText)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMessageBox_query__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring text, jstring yesButtonText, jstring noButtonText) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQString* _qstring_yesButtonText = 0; -static TQString* _qstring_noButtonText = 0; - jboolean xret = (jboolean) TQMessageBoxJBridge::query((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, yesButtonText, &_qstring_yesButtonText), (const TQString&)*(TQString*) QtSupport::toTQString(env, noButtonText, &_qstring_noButtonText)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMessageBox_query__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring caption, jstring text, jstring yesButtonText, jstring noButtonText, jobject parent) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQString* _qstring_yesButtonText = 0; -static TQString* _qstring_noButtonText = 0; - jboolean xret = (jboolean) TQMessageBoxJBridge::query((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, yesButtonText, &_qstring_yesButtonText), (const TQString&)*(TQString*) QtSupport::toTQString(env, noButtonText, &_qstring_noButtonText), (TQWidget*) QtSupport::getQt(env, parent)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMessageBox_query__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring text, jstring yesButtonText, jstring noButtonText, jobject parent, jstring arg6) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQString* _qstring_yesButtonText = 0; -static TQString* _qstring_noButtonText = 0; -static TQCString* _qstring_arg6 = 0; - jboolean xret = (jboolean) TQMessageBoxJBridge::query((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, yesButtonText, &_qstring_yesButtonText), (const TQString&)*(TQString*) QtSupport::toTQString(env, noButtonText, &_qstring_noButtonText), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, arg6, &_qstring_arg6)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_question__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) TQMessageBoxJBridge::question((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_question__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jint button0) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) TQMessageBoxJBridge::question((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) button0); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_question__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jint button0, jint button1) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) TQMessageBoxJBridge::question((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) button0, (int) button1); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_question__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2III(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jint button0, jint button1, jint button2) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) TQMessageBoxJBridge::question((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) button0, (int) button1, (int) button2); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_question__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQString* _qstring_button0Text = 0; - jint xret = (jint) TQMessageBoxJBridge::question((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_question__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text, jstring button1Text) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQString* _qstring_button0Text = 0; -static TQString* _qstring_button1Text = 0; - jint xret = (jint) TQMessageBoxJBridge::question((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_question__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text, jstring button1Text, jstring button2Text) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQString* _qstring_button0Text = 0; -static TQString* _qstring_button1Text = 0; -static TQString* _qstring_button2Text = 0; - jint xret = (jint) TQMessageBoxJBridge::question((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button2Text, &_qstring_button2Text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_question__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text, jstring button1Text, jstring button2Text, jint defaultButtonNumber) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQString* _qstring_button0Text = 0; -static TQString* _qstring_button1Text = 0; -static TQString* _qstring_button2Text = 0; - jint xret = (jint) TQMessageBoxJBridge::question((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button2Text, &_qstring_button2Text), (int) defaultButtonNumber); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_question__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text, jstring button1Text, jstring button2Text, jint defaultButtonNumber, jint escapeButtonNumber) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQString* _qstring_button0Text = 0; -static TQString* _qstring_button1Text = 0; -static TQString* _qstring_button2Text = 0; - jint xret = (jint) TQMessageBoxJBridge::question((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button2Text, &_qstring_button2Text), (int) defaultButtonNumber, (int) escapeButtonNumber); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMessageBox_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQMessageBoxJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMessageBox_setButtonText(JNIEnv* env, jobject obj, jint button, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - ((TQMessageBox*) QtSupport::getQt(env, obj))->setButtonText((int) button, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMessageBox_setIconPixmap(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQMessageBox*) QtSupport::getQt(env, obj))->setIconPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMessageBox_setIcon__I(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQMessageBox*) QtSupport::getQt(env, obj))->setIcon((TQMessageBox::Icon) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMessageBox_setIcon__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQMessageBox*) QtSupport::getQt(env, obj))->setIcon((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMessageBox_setTextFormat(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQMessageBox*) QtSupport::getQt(env, obj))->setTextFormat((TQt::TextFormat) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMessageBox_setText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQMessageBox*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMessageBox_showEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQMessageBoxJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMessageBox_standardIcon__I(JNIEnv* env, jclass cls, jint icon) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(TQMessageBoxJBridge::standardIcon((TQMessageBox::Icon) icon)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMessageBox_standardIcon__II(JNIEnv* env, jclass cls, jint icon, jint arg2) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(TQMessageBoxJBridge::standardIcon((TQMessageBox::Icon) icon, (TQt::GUIStyle) arg2)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMessageBox_styleChanged(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQMessageBoxJBridge*) QtSupport::getQt(env, obj))->protected_styleChanged((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_textFormat(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMessageBox*) QtSupport::getQt(env, obj))->textFormat(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QMessageBox_text(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQMessageBox*) QtSupport::getQt(env, obj))->text(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QMessageBox_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQMessageBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QMessageBox_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQMessageBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_warning__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) TQMessageBoxJBridge::warning((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_warning__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jint button0, jint button1) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) TQMessageBoxJBridge::warning((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) button0, (int) button1); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_warning__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2III(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jint button0, jint button1, jint button2) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) TQMessageBoxJBridge::warning((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) button0, (int) button1, (int) button2); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_warning__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQString* _qstring_button0Text = 0; - jint xret = (jint) TQMessageBoxJBridge::warning((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_warning__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text, jstring button1Text) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQString* _qstring_button0Text = 0; -static TQString* _qstring_button1Text = 0; - jint xret = (jint) TQMessageBoxJBridge::warning((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_warning__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text, jstring button1Text, jstring button2Text) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQString* _qstring_button0Text = 0; -static TQString* _qstring_button1Text = 0; -static TQString* _qstring_button2Text = 0; - jint xret = (jint) TQMessageBoxJBridge::warning((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button2Text, &_qstring_button2Text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_warning__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text, jstring button1Text, jstring button2Text, jint defaultButtonNumber) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQString* _qstring_button0Text = 0; -static TQString* _qstring_button1Text = 0; -static TQString* _qstring_button2Text = 0; - jint xret = (jint) TQMessageBoxJBridge::warning((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button2Text, &_qstring_button2Text), (int) defaultButtonNumber); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMessageBox_warning__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text, jstring button1Text, jstring button2Text, jint defaultButtonNumber, jint escapeButtonNumber) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQString* _qstring_button0Text = 0; -static TQString* _qstring_button1Text = 0; -static TQString* _qstring_button2Text = 0; - jint xret = (jint) TQMessageBoxJBridge::warning((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button2Text, &_qstring_button2Text), (int) defaultButtonNumber, (int) escapeButtonNumber); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QMessageBox.h b/qtjava/javalib/qtjava/QMessageBox.h deleted file mode 100644 index b97e2ddc..00000000 --- a/qtjava/javalib/qtjava/QMessageBox.h +++ /dev/null @@ -1,98 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QMessageBox__ -#define __org_kde_qt_QMessageBox__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMessageBox_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMessageBox_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_newTQMessageBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_newTQMessageBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_newTQMessageBox__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_newTQMessageBox__Ljava_lang_String_2Ljava_lang_String_2IIIILorg_kde_qt_QWidget_2Ljava_lang_String_2ZI (JNIEnv *env, jobject, jstring, jstring, jint, jint, jint, jint, jobject, jstring, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_newTQMessageBox__Ljava_lang_String_2Ljava_lang_String_2IIIILorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jint, jint, jint, jint, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_newTQMessageBox__Ljava_lang_String_2Ljava_lang_String_2IIIILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jint, jint, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_newTQMessageBox__Ljava_lang_String_2Ljava_lang_String_2IIIILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jstring, jint, jint, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_newTQMessageBox__Ljava_lang_String_2Ljava_lang_String_2IIII (JNIEnv *env, jobject, jstring, jstring, jint, jint, jint, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMessageBox_text (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_iconId (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_setIcon__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_setIcon__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMessageBox_iconPixmap (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_setIconPixmap (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMessageBox_buttonText (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_setButtonText (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_adjustSize (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_textFormat (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_setTextFormat (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMessageBox_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMessageBox_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2III (JNIEnv *env, jclass, jobject, jstring, jstring, jint, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2II (JNIEnv *env, jclass, jobject, jstring, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2II (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jstring, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jstring, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_question__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2III (JNIEnv *env, jclass, jobject, jstring, jstring, jint, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_question__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2II (JNIEnv *env, jclass, jobject, jstring, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_question__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_question__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2II (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jstring, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_question__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jstring, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_question__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_question__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_question__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_question__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_warning__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2III (JNIEnv *env, jclass, jobject, jstring, jstring, jint, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_warning__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2II (JNIEnv *env, jclass, jobject, jstring, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_warning__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2II (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jstring, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_warning__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jstring, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_warning__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_warning__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_warning__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_warning__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_critical__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2III (JNIEnv *env, jclass, jobject, jstring, jstring, jint, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_critical__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2II (JNIEnv *env, jclass, jobject, jstring, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_critical__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2II (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jstring, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_critical__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jstring, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_critical__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_critical__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_critical__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_critical__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_about (JNIEnv *env, jclass, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_aboutTQt__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_aboutTQt__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_message__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_message__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jstring, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_message__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_message__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMessageBox_query__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jstring, jstring, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMessageBox_query__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jstring, jstring, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMessageBox_query__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMessageBox_query__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMessageBox_query__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMessageBox_standardIcon__II (JNIEnv *env, jclass, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMessageBox_standardIcon__I (JNIEnv *env, jclass, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_showEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_closeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_styleChanged (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMessageBox_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QMessageBox__ */ diff --git a/qtjava/javalib/qtjava/QMetaData.cpp b/qtjava/javalib/qtjava/QMetaData.cpp deleted file mode 100644 index cb66c162..00000000 --- a/qtjava/javalib/qtjava/QMetaData.cpp +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - -class TQMetaDataJBridge : public TQMetaData -{ -public: - TQMetaDataJBridge() : TQMetaData() {}; - ~TQMetaDataJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMetaData_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QMetaData_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMetaData_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQMetaData*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMetaData_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMetaData_newTQMetaData(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQMetaDataJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/qtjava/javalib/qtjava/QMetaData.h b/qtjava/javalib/qtjava/QMetaData.h deleted file mode 100644 index b913671a..00000000 --- a/qtjava/javalib/qtjava/QMetaData.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QMetaData__ -#define __org_kde_qt_QMetaData__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMetaData_newTQMetaData (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMetaData_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMetaData_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaData_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QMetaData__ */ diff --git a/qtjava/javalib/qtjava/QMetaEnum.cpp b/qtjava/javalib/qtjava/QMetaEnum.cpp deleted file mode 100644 index c85a6b85..00000000 --- a/qtjava/javalib/qtjava/QMetaEnum.cpp +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - -class TQMetaEnumJBridge : public TQMetaEnum -{ -public: - TQMetaEnumJBridge() : TQMetaEnum() {}; - ~TQMetaEnumJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMetaEnum_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QMetaEnum_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMetaEnum_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQMetaEnum*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMetaEnum_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMetaEnum_newTQMetaEnum(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQMetaEnumJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/qtjava/javalib/qtjava/QMetaEnum.h b/qtjava/javalib/qtjava/QMetaEnum.h deleted file mode 100644 index 97ace9ba..00000000 --- a/qtjava/javalib/qtjava/QMetaEnum.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QMetaEnum__ -#define __org_kde_qt_QMetaEnum__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMetaEnum_newTQMetaEnum (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMetaEnum_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMetaEnum_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaEnum_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QMetaEnum__ */ diff --git a/qtjava/javalib/qtjava/QMetaObject.cpp b/qtjava/javalib/qtjava/QMetaObject.cpp deleted file mode 100644 index 1a7d04b0..00000000 --- a/qtjava/javalib/qtjava/QMetaObject.cpp +++ /dev/null @@ -1,384 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMetaObject_classInfo__I(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMetaObject*) QtSupport::getQt(env, obj))->classInfo((int) index), "org.kde.qt.TQClassInfo"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMetaObject_classInfo__IZ(JNIEnv* env, jobject obj, jint index, jboolean arg2) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMetaObject*) QtSupport::getQt(env, obj))->classInfo((int) index, (bool) arg2), "org.kde.qt.TQClassInfo"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QMetaObject_classInfo__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ - const char* _qstring; -static TQCString* _qstring_name = 0; - _qstring = ((TQMetaObject*) QtSupport::getQt(env, obj))->classInfo((const char*) QtSupport::toCharString(env, name, &_qstring_name)); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QMetaObject_classInfo__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring name, jboolean arg2) -{ - const char* _qstring; -static TQCString* _qstring_name = 0; - _qstring = ((TQMetaObject*) QtSupport::getQt(env, obj))->classInfo((const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) arg2); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QMetaObject_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQMetaObject*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMetaObject_enumeratorNames__(JNIEnv* env, jobject obj) -{ - TQStrList _qlist; - _qlist = ((TQMetaObject*) QtSupport::getQt(env, obj))->enumeratorNames(); - return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMetaObject_enumeratorNames__Z(JNIEnv* env, jobject obj, jboolean arg1) -{ - TQStrList _qlist; - _qlist = ((TQMetaObject*) QtSupport::getQt(env, obj))->enumeratorNames((bool) arg1); - return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMetaObject_enumerator__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMetaObject*) QtSupport::getQt(env, obj))->enumerator((const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.qt.TQMetaEnum"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMetaObject_enumerator__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring name, jboolean arg2) -{ -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMetaObject*) QtSupport::getQt(env, obj))->enumerator((const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) arg2), "org.kde.qt.TQMetaEnum"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMetaObject_findProperty__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQCString* _qstring_name = 0; - jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->findProperty((const char*) QtSupport::toCharString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMetaObject_findProperty__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring name, jboolean arg2) -{ -static TQCString* _qstring_name = 0; - jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->findProperty((const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) arg2); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMetaObject_findSignal__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQCString* _qstring_arg1 = 0; - jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->findSignal((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMetaObject_findSignal__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring arg1, jboolean arg2) -{ -static TQCString* _qstring_arg1 = 0; - jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->findSignal((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (bool) arg2); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMetaObject_findSlot__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQCString* _qstring_arg1 = 0; - jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->findSlot((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMetaObject_findSlot__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring arg1, jboolean arg2) -{ -static TQCString* _qstring_arg1 = 0; - jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->findSlot((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (bool) arg2); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMetaObject_hasMetaObject(JNIEnv* env, jclass cls, jstring class_name) -{ - (void) cls; -static TQCString* _qstring_class_name = 0; - jboolean xret = (jboolean) TQMetaObject::hasMetaObject((const char*) QtSupport::toCharString(env, class_name, &_qstring_class_name)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMetaObject_indexOfProperty__Lorg_kde_qt_QMetaProperty_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->indexOfProperty((const TQMetaProperty*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMetaObject_indexOfProperty__Lorg_kde_qt_QMetaProperty_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) -{ - jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->indexOfProperty((const TQMetaProperty*) QtSupport::getQt(env, arg1), (bool) arg2); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMetaObject_inherits(JNIEnv* env, jobject obj, jstring clname) -{ -static TQCString* _qstring_clname = 0; - jboolean xret = (jboolean) ((TQMetaObject*) QtSupport::getQt(env, obj))->inherits((const char*) QtSupport::toCharString(env, clname, &_qstring_clname)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMetaObject_metaObject(JNIEnv* env, jclass cls, jstring class_name) -{ - (void) cls; -static TQCString* _qstring_class_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQMetaObject::metaObject((const char*) QtSupport::toCharString(env, class_name, &_qstring_class_name)), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMetaObject_numClassInfo__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->numClassInfo(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMetaObject_numClassInfo__Z(JNIEnv* env, jobject obj, jboolean arg1) -{ - jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->numClassInfo((bool) arg1); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMetaObject_numEnumerators__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->numEnumerators(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMetaObject_numEnumerators__Z(JNIEnv* env, jobject obj, jboolean arg1) -{ - jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->numEnumerators((bool) arg1); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMetaObject_numProperties__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->numProperties(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMetaObject_numProperties__Z(JNIEnv* env, jobject obj, jboolean arg1) -{ - jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->numProperties((bool) arg1); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMetaObject_numSignals__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->numSignals(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMetaObject_numSignals__Z(JNIEnv* env, jobject obj, jboolean arg1) -{ - jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->numSignals((bool) arg1); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMetaObject_numSlots__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->numSlots(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMetaObject_numSlots__Z(JNIEnv* env, jobject obj, jboolean arg1) -{ - jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->numSlots((bool) arg1); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMetaObject_propertyNames__(JNIEnv* env, jobject obj) -{ - TQStrList _qlist; - _qlist = ((TQMetaObject*) QtSupport::getQt(env, obj))->propertyNames(); - return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMetaObject_propertyNames__Z(JNIEnv* env, jobject obj, jboolean arg1) -{ - TQStrList _qlist; - _qlist = ((TQMetaObject*) QtSupport::getQt(env, obj))->propertyNames((bool) arg1); - return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMetaObject_propertyOffset(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->propertyOffset(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMetaObject_property__I(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMetaObject*) QtSupport::getQt(env, obj))->property((int) index), "org.kde.qt.TQMetaProperty"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMetaObject_property__IZ(JNIEnv* env, jobject obj, jint index, jboolean arg2) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMetaObject*) QtSupport::getQt(env, obj))->property((int) index, (bool) arg2), "org.kde.qt.TQMetaProperty"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMetaObject_qt_1static_1property(JNIEnv* env, jobject obj, jobject o, jint id, jint f, jobject v) -{ - jboolean xret = (jboolean) ((TQMetaObject*) QtSupport::getQt(env, obj))->qt_static_property((TQObject*) QtSupport::getQt(env, o), (int) id, (int) f, (TQVariant*) QtSupport::getQt(env, v)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMetaObject_resolveProperty__I(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->resolveProperty((int) arg1); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMetaObject_resolveProperty__Lorg_kde_qt_QMetaProperty_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMetaObject*) QtSupport::getQt(env, obj))->resolveProperty((const TQMetaProperty*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQMetaProperty"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMetaObject_signalNames__(JNIEnv* env, jobject obj) -{ - TQStrList _qlist; - _qlist = ((TQMetaObject*) QtSupport::getQt(env, obj))->signalNames(); - return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMetaObject_signalNames__Z(JNIEnv* env, jobject obj, jboolean arg1) -{ - TQStrList _qlist; - _qlist = ((TQMetaObject*) QtSupport::getQt(env, obj))->signalNames((bool) arg1); - return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMetaObject_signalOffset(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->signalOffset(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMetaObject_signal__I(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMetaObject*) QtSupport::getQt(env, obj))->signal((int) index), "org.kde.qt.TQMetaData"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMetaObject_signal__IZ(JNIEnv* env, jobject obj, jint index, jboolean arg2) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMetaObject*) QtSupport::getQt(env, obj))->signal((int) index, (bool) arg2), "org.kde.qt.TQMetaData"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMetaObject_slotNames__(JNIEnv* env, jobject obj) -{ - TQStrList _qlist; - _qlist = ((TQMetaObject*) QtSupport::getQt(env, obj))->slotNames(); - return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMetaObject_slotNames__Z(JNIEnv* env, jobject obj, jboolean arg1) -{ - TQStrList _qlist; - _qlist = ((TQMetaObject*) QtSupport::getQt(env, obj))->slotNames((bool) arg1); - return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMetaObject_slotOffset(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->slotOffset(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMetaObject_slot__I(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMetaObject*) QtSupport::getQt(env, obj))->slot((int) index), "org.kde.qt.TQMetaData"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMetaObject_slot__IZ(JNIEnv* env, jobject obj, jint index, jboolean arg2) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMetaObject*) QtSupport::getQt(env, obj))->slot((int) index, (bool) arg2), "org.kde.qt.TQMetaData"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QMetaObject_superClassName(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQMetaObject*) QtSupport::getQt(env, obj))->superClassName(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMetaObject_superClass(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMetaObject*) QtSupport::getQt(env, obj))->superClass(), "org.kde.qt.TQMetaObject"); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QMetaObject.h b/qtjava/javalib/qtjava/QMetaObject.h deleted file mode 100644 index c0e2f91c..00000000 --- a/qtjava/javalib/qtjava/QMetaObject.h +++ /dev/null @@ -1,68 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QMetaObject__ -#define __org_kde_qt_QMetaObject__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMetaObject_className (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMetaObject_superClassName (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_superClass (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaObject_inherits (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_numSlots__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_numSlots__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_numSignals__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_numSignals__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_findSlot__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_findSlot__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_findSignal__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_findSignal__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_slot__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_slot__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_signal__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_signal__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_slotNames__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_slotNames__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_signalNames__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_signalNames__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_slotOffset (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_signalOffset (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_propertyOffset (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_numClassInfo__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_numClassInfo__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_classInfo__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_classInfo__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMetaObject_classInfo__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMetaObject_classInfo__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_property__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_property__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_findProperty__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_findProperty__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_indexOfProperty__Lorg_kde_qt_QMetaProperty_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_indexOfProperty__Lorg_kde_qt_QMetaProperty_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_resolveProperty__Lorg_kde_qt_QMetaProperty_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_resolveProperty__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_propertyNames__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_propertyNames__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_numProperties__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_numProperties__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_enumeratorNames__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_enumeratorNames__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_numEnumerators__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_numEnumerators__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_enumerator__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_enumerator__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaObject_qt_1static_1property (JNIEnv *env, jobject, jobject, jint, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_metaObject (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaObject_hasMetaObject (JNIEnv *env, jclass, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QMetaObject__ */ diff --git a/qtjava/javalib/qtjava/QMetaProperty.cpp b/qtjava/javalib/qtjava/QMetaProperty.cpp deleted file mode 100644 index e4c8f194..00000000 --- a/qtjava/javalib/qtjava/QMetaProperty.cpp +++ /dev/null @@ -1,208 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQMetaPropertyJBridge : public TQMetaProperty -{ -public: - TQMetaPropertyJBridge() : TQMetaProperty() {}; - ~TQMetaPropertyJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMetaProperty_clear(JNIEnv* env, jobject obj) -{ - ((TQMetaProperty*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMetaProperty_designable__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->designable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMetaProperty_designable__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->designable((TQObject*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMetaProperty_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QMetaProperty_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMetaProperty_enumKeys(JNIEnv* env, jobject obj) -{ - TQStrList _qlist; - _qlist = ((TQMetaProperty*) QtSupport::getQt(env, obj))->enumKeys(); - return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMetaProperty_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQMetaProperty*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMetaProperty_id(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMetaProperty*) QtSupport::getQt(env, obj))->id(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMetaProperty_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMetaProperty_isEnumType(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->isEnumType(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMetaProperty_isSetType(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->isSetType(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMetaProperty_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMetaProperty_keyToValue(JNIEnv* env, jobject obj, jstring key) -{ -static TQCString* _qstring_key = 0; - jint xret = (jint) ((TQMetaProperty*) QtSupport::getQt(env, obj))->keyToValue((const char*) QtSupport::toCharString(env, key, &_qstring_key)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMetaProperty_keysToValue(JNIEnv* env, jobject obj, jobjectArray keys) -{ -static TQStrList* _qlist_keys = 0; - jint xret = (jint) ((TQMetaProperty*) QtSupport::getQt(env, obj))->keysToValue((const TQStrList&)*(TQStrList*) QtSupport::toTQStrList(env, keys, &_qlist_keys)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QMetaProperty_name(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQMetaProperty*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMetaProperty_newTQMetaProperty(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQMetaPropertyJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMetaProperty_reset(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->reset((TQObject*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMetaProperty_scriptable__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->scriptable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMetaProperty_scriptable__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->scriptable((TQObject*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMetaProperty_stdSet(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->stdSet(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMetaProperty_stored__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->stored(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMetaProperty_stored__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->stored((TQObject*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMetaProperty_testFlags(JNIEnv* env, jobject obj, jint f) -{ - jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->testFlags((uint) f); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QMetaProperty_type(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQMetaProperty*) QtSupport::getQt(env, obj))->type(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QMetaProperty_valueToKey(JNIEnv* env, jobject obj, jint value) -{ - const char* _qstring; - _qstring = ((TQMetaProperty*) QtSupport::getQt(env, obj))->valueToKey((int) value); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMetaProperty_valueToKeys(JNIEnv* env, jobject obj, jint value) -{ - TQStrList _qlist; - _qlist = ((TQMetaProperty*) QtSupport::getQt(env, obj))->valueToKeys((int) value); - return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMetaProperty_writable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->writable(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QMetaProperty.h b/qtjava/javalib/qtjava/QMetaProperty.h deleted file mode 100644 index 6132a20c..00000000 --- a/qtjava/javalib/qtjava/QMetaProperty.h +++ /dev/null @@ -1,44 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QMetaProperty__ -#define __org_kde_qt_QMetaProperty__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMetaProperty_type (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMetaProperty_name (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_writable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_isSetType (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_isEnumType (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaProperty_enumKeys (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaProperty_keyToValue (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMetaProperty_valueToKey (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaProperty_keysToValue (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaProperty_valueToKeys (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_designable__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_designable__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_scriptable__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_scriptable__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_stored__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_stored__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_reset (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_testFlags (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_stdSet (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaProperty_id (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMetaProperty_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMetaProperty_newTQMetaProperty (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMetaProperty_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMetaProperty_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QMetaProperty__ */ diff --git a/qtjava/javalib/qtjava/QMimeSource.cpp b/qtjava/javalib/qtjava/QMimeSource.cpp deleted file mode 100644 index 10f828b4..00000000 --- a/qtjava/javalib/qtjava/QMimeSource.cpp +++ /dev/null @@ -1,53 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_qt_QMimeSource_encodedData(JNIEnv* env, jobject obj, jstring arg1) -{ - TQByteArray _qbyteArray; -static TQCString* _qstring_arg1 = 0; - _qbyteArray = ((TQMimeSource*) QtSupport::getQt(env, obj))->encodedData((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QMimeSource_format__(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQMimeSource*) QtSupport::getQt(env, obj))->format(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QMimeSource_format__I(JNIEnv* env, jobject obj, jint n) -{ - const char* _qstring; - _qstring = ((TQMimeSource*) QtSupport::getQt(env, obj))->format((int) n); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMimeSource_provides(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQCString* _qstring_arg1 = 0; - jboolean xret = (jboolean) ((TQMimeSource*) QtSupport::getQt(env, obj))->provides((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMimeSource_serialNumber(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMimeSource*) QtSupport::getQt(env, obj))->serialNumber(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QMimeSource_mimeSource(JNIEnv* env, jobject obj) -{ - return (jlong) (TQMimeSource *) QtSupport::getQt(env, obj); -} - diff --git a/qtjava/javalib/qtjava/QMimeSource.h b/qtjava/javalib/qtjava/QMimeSource.h deleted file mode 100644 index 4fa18d40..00000000 --- a/qtjava/javalib/qtjava/QMimeSource.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QMimeSource__ -#define __org_kde_qt_QMimeSource__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMimeSource_format__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMimeSource_format__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMimeSource_provides (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QMimeSource_encodedData (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMimeSource_serialNumber (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QMimeSource_mimeSource (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QMimeSource__ */ diff --git a/qtjava/javalib/qtjava/QMimeSourceFactory.cpp b/qtjava/javalib/qtjava/QMimeSourceFactory.cpp deleted file mode 100644 index 521f9067..00000000 --- a/qtjava/javalib/qtjava/QMimeSourceFactory.cpp +++ /dev/null @@ -1,183 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include - -class TQMimeSourceFactoryJBridge : public TQMimeSourceFactory -{ -public: - TQMimeSourceFactoryJBridge() : TQMimeSourceFactory() {}; - ~TQMimeSourceFactoryJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMimeSourceFactory_addFactory(JNIEnv* env, jclass cls, jobject f) -{ - (void) cls; - TQMimeSourceFactoryJBridge::addFactory((TQMimeSourceFactory*) QtSupport::getQt(env, f)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMimeSourceFactory_addFilePath(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQMimeSourceFactory*) QtSupport::getQt(env, obj))->addFilePath((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMimeSourceFactory_data__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring abs_name) -{ -static TQString* _qstring_abs_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMimeSourceFactory*) QtSupport::getQt(env, obj))->data((const TQString&)*(TQString*) QtSupport::toTQString(env, abs_name, &_qstring_abs_name)), "org.kde.qt.TQMimeSourceInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMimeSourceFactory_data__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring abs_or_rel_name, jstring context) -{ -static TQString* _qstring_abs_or_rel_name = 0; -static TQString* _qstring_context = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMimeSourceFactory*) QtSupport::getQt(env, obj))->data((const TQString&)*(TQString*) QtSupport::toTQString(env, abs_or_rel_name, &_qstring_abs_or_rel_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context)), "org.kde.qt.TQMimeSourceInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMimeSourceFactory_defaultFactory(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQMimeSourceFactoryJBridge::defaultFactory(), "org.kde.qt.TQMimeSourceFactory"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMimeSourceFactory_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QMimeSourceFactory_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMimeSourceFactory_filePath(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TQMimeSourceFactory*) QtSupport::getQt(env, obj))->filePath(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMimeSourceFactory_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQMimeSourceFactory*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMimeSourceFactory_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QMimeSourceFactory_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 = ((TQMimeSourceFactory*) 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_qt_QMimeSourceFactory_newTQMimeSourceFactory(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQMimeSourceFactoryJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMimeSourceFactory_removeFactory(JNIEnv* env, jclass cls, jobject f) -{ - (void) cls; - TQMimeSourceFactoryJBridge::removeFactory((TQMimeSourceFactory*) QtSupport::getQt(env, f)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMimeSourceFactory_setData(JNIEnv* env, jobject obj, jstring abs_name, jobject data) -{ -static TQString* _qstring_abs_name = 0; - ((TQMimeSourceFactory*) QtSupport::getQt(env, obj))->setData((const TQString&)*(TQString*) QtSupport::toTQString(env, abs_name, &_qstring_abs_name), (TQMimeSource*) QtSupport::mimeSource(env, data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMimeSourceFactory_setDefaultFactory(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - TQMimeSourceFactoryJBridge::setDefaultFactory((TQMimeSourceFactory*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMimeSourceFactory_setExtensionType(JNIEnv* env, jobject obj, jstring ext, jstring mimetype) -{ -static TQString* _qstring_ext = 0; -static TQCString* _qstring_mimetype = 0; - ((TQMimeSourceFactory*) QtSupport::getQt(env, obj))->setExtensionType((const TQString&)*(TQString*) QtSupport::toTQString(env, ext, &_qstring_ext), (const char*) QtSupport::toCharString(env, mimetype, &_qstring_mimetype)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMimeSourceFactory_setFilePath(JNIEnv* env, jobject obj, jobjectArray arg1) -{ -static TQStringList* _qlist_arg1 = 0; - ((TQMimeSourceFactory*) QtSupport::getQt(env, obj))->setFilePath((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, arg1, &_qlist_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMimeSourceFactory_setImage(JNIEnv* env, jobject obj, jstring abs_name, jobject im) -{ -static TQString* _qstring_abs_name = 0; - ((TQMimeSourceFactory*) QtSupport::getQt(env, obj))->setImage((const TQString&)*(TQString*) QtSupport::toTQString(env, abs_name, &_qstring_abs_name), (const TQImage&)*(const TQImage*) QtSupport::getQt(env, im)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMimeSourceFactory_setPixmap(JNIEnv* env, jobject obj, jstring abs_name, jobject pm) -{ -static TQString* _qstring_abs_name = 0; - ((TQMimeSourceFactory*) QtSupport::getQt(env, obj))->setPixmap((const TQString&)*(TQString*) QtSupport::toTQString(env, abs_name, &_qstring_abs_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pm)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMimeSourceFactory_setText(JNIEnv* env, jobject obj, jstring abs_name, jstring text) -{ -static TQString* _qstring_abs_name = 0; -static TQString* _qstring_text = 0; - ((TQMimeSourceFactory*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, abs_name, &_qstring_abs_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMimeSourceFactory_takeDefaultFactory(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQMimeSourceFactoryJBridge::takeDefaultFactory(), "org.kde.qt.TQMimeSourceFactory"); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QMimeSourceFactory.h b/qtjava/javalib/qtjava/QMimeSourceFactory.h deleted file mode 100644 index eee55198..00000000 --- a/qtjava/javalib/qtjava/QMimeSourceFactory.h +++ /dev/null @@ -1,38 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QMimeSourceFactory__ -#define __org_kde_qt_QMimeSourceFactory__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMimeSourceFactory_newTQMimeSourceFactory (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMimeSourceFactory_data__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMimeSourceFactory_makeAbsolute (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMimeSourceFactory_data__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMimeSourceFactory_setText (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMimeSourceFactory_setImage (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMimeSourceFactory_setPixmap (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMimeSourceFactory_setData (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMimeSourceFactory_setFilePath (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMimeSourceFactory_filePath (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMimeSourceFactory_addFilePath (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMimeSourceFactory_setExtensionType (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMimeSourceFactory_defaultFactory (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMimeSourceFactory_setDefaultFactory (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMimeSourceFactory_takeDefaultFactory (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMimeSourceFactory_addFactory (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMimeSourceFactory_removeFactory (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMimeSourceFactory_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMimeSourceFactory_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMimeSourceFactory_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QMimeSourceFactory__ */ diff --git a/qtjava/javalib/qtjava/QMouseEvent.cpp b/qtjava/javalib/qtjava/QMouseEvent.cpp deleted file mode 100644 index 437256e8..00000000 --- a/qtjava/javalib/qtjava/QMouseEvent.cpp +++ /dev/null @@ -1,143 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQMouseEventJBridge : public TQMouseEvent -{ -public: - TQMouseEventJBridge(TQEvent::Type arg1,const TQPoint& arg2,int arg3,int arg4) : TQMouseEvent(arg1,arg2,arg3,arg4) {}; - TQMouseEventJBridge(TQEvent::Type arg1,const TQPoint& arg2,const TQPoint& arg3,int arg4,int arg5) : TQMouseEvent(arg1,arg2,arg3,arg4,arg5) {}; - ~TQMouseEventJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMouseEvent_accept(JNIEnv* env, jobject obj) -{ - ((TQMouseEvent*) QtSupport::getQt(env, obj))->accept(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMouseEvent_button(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMouseEvent*) QtSupport::getQt(env, obj))->button(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMouseEvent_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QMouseEvent_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMouseEvent_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQMouseEvent*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMouseEvent_globalPos(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQMouseEvent*) QtSupport::getQt(env, obj))->globalPos(), "org.kde.qt.TQPoint"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMouseEvent_globalX(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMouseEvent*) QtSupport::getQt(env, obj))->globalX(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMouseEvent_globalY(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMouseEvent*) QtSupport::getQt(env, obj))->globalY(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMouseEvent_ignore(JNIEnv* env, jobject obj) -{ - ((TQMouseEvent*) QtSupport::getQt(env, obj))->ignore(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMouseEvent_isAccepted(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQMouseEvent*) QtSupport::getQt(env, obj))->isAccepted(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMouseEvent_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMouseEvent_newTQMouseEvent__ILorg_kde_qt_QPoint_2II(JNIEnv* env, jobject obj, jint type, jobject pos, jint button, jint state) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQMouseEventJBridge((TQEvent::Type) type, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (int) button, (int) state)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMouseEvent_newTQMouseEvent__ILorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2II(JNIEnv* env, jobject obj, jint type, jobject pos, jobject globalPos, jint button, jint state) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQMouseEventJBridge((TQEvent::Type) type, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, globalPos), (int) button, (int) state)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMouseEvent_pos(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQMouseEvent*) QtSupport::getQt(env, obj))->pos(), "org.kde.qt.TQPoint"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMouseEvent_stateAfter(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMouseEvent*) QtSupport::getQt(env, obj))->stateAfter(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMouseEvent_state(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMouseEvent*) QtSupport::getQt(env, obj))->state(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMouseEvent_x(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMouseEvent*) QtSupport::getQt(env, obj))->x(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMouseEvent_y(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMouseEvent*) QtSupport::getQt(env, obj))->y(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QMouseEvent.h b/qtjava/javalib/qtjava/QMouseEvent.h deleted file mode 100644 index 6b6d9233..00000000 --- a/qtjava/javalib/qtjava/QMouseEvent.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QMouseEvent__ -#define __org_kde_qt_QMouseEvent__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMouseEvent_newTQMouseEvent__ILorg_kde_qt_QPoint_2II (JNIEnv *env, jobject, jint, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMouseEvent_newTQMouseEvent__ILorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2II (JNIEnv *env, jobject, jint, jobject, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMouseEvent_pos (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMouseEvent_globalPos (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMouseEvent_x (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMouseEvent_y (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMouseEvent_globalX (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMouseEvent_globalY (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMouseEvent_button (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMouseEvent_state (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMouseEvent_stateAfter (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMouseEvent_isAccepted (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMouseEvent_accept (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMouseEvent_ignore (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMouseEvent_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMouseEvent_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMouseEvent_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QMouseEvent__ */ diff --git a/qtjava/javalib/qtjava/QMoveEvent.cpp b/qtjava/javalib/qtjava/QMoveEvent.cpp deleted file mode 100644 index fb509f2d..00000000 --- a/qtjava/javalib/qtjava/QMoveEvent.cpp +++ /dev/null @@ -1,61 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQMoveEventJBridge : public TQMoveEvent -{ -public: - TQMoveEventJBridge(const TQPoint& arg1,const TQPoint& arg2) : TQMoveEvent(arg1,arg2) {}; - ~TQMoveEventJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMoveEvent_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QMoveEvent_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMoveEvent_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQMoveEvent*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMoveEvent_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMoveEvent_newTQMoveEvent(JNIEnv* env, jobject obj, jobject pos, jobject oldPos) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQMoveEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, oldPos))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMoveEvent_oldPos(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQMoveEvent*) QtSupport::getQt(env, obj))->oldPos(), "org.kde.qt.TQPoint"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMoveEvent_pos(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQMoveEvent*) QtSupport::getQt(env, obj))->pos(), "org.kde.qt.TQPoint"); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QMoveEvent.h b/qtjava/javalib/qtjava/QMoveEvent.h deleted file mode 100644 index 9dab5a9a..00000000 --- a/qtjava/javalib/qtjava/QMoveEvent.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QMoveEvent__ -#define __org_kde_qt_QMoveEvent__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMoveEvent_newTQMoveEvent (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMoveEvent_pos (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMoveEvent_oldPos (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMoveEvent_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMoveEvent_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMoveEvent_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QMoveEvent__ */ diff --git a/qtjava/javalib/qtjava/QMovie.cpp b/qtjava/javalib/qtjava/QMovie.cpp deleted file mode 100644 index 23d4497b..00000000 --- a/qtjava/javalib/qtjava/QMovie.cpp +++ /dev/null @@ -1,348 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQMovieJBridge : public TQMovie -{ -public: - TQMovieJBridge() : TQMovie() {}; - TQMovieJBridge(int arg1) : TQMovie(arg1) {}; - TQMovieJBridge(TQDataSource* arg1,int arg2) : TQMovie(arg1,arg2) {}; - TQMovieJBridge(TQDataSource* arg1) : TQMovie(arg1) {}; - TQMovieJBridge(const TQString& arg1,int arg2) : TQMovie(arg1,arg2) {}; - TQMovieJBridge(const TQString& arg1) : TQMovie(arg1) {}; - TQMovieJBridge(TQByteArray arg1,int arg2) : TQMovie(arg1,arg2) {}; - TQMovieJBridge(TQByteArray arg1) : TQMovie(arg1) {}; - TQMovieJBridge(const TQMovie& arg1) : TQMovie(arg1) {}; - ~TQMovieJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMovie_backgroundColor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQMovie*) QtSupport::getQt(env, obj))->backgroundColor(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMovie_connectResize(JNIEnv* env, jobject obj, jobject receiver, jstring member) -{ - ((TQMovie*) QtSupport::getQt(env, obj))->connectResize((TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke(const TQSize&)"); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMovie_connectStatus(JNIEnv* env, jobject obj, jobject receiver, jstring member) -{ - ((TQMovie*) QtSupport::getQt(env, obj))->connectStatus((TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke(int)"); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMovie_connectUpdate(JNIEnv* env, jobject obj, jobject receiver, jstring member) -{ - ((TQMovie*) QtSupport::getQt(env, obj))->connectUpdate((TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke(const TQRect&)"); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMovie_disconnectResize__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject receiver) -{ - ((TQMovie*) QtSupport::getQt(env, obj))->disconnectResize((TQObject*) QtSupport::getQt(env, receiver)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMovie_disconnectResize__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject receiver, jstring member) -{ - ((TQMovie*) QtSupport::getQt(env, obj))->disconnectResize((TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke(const TQSize&)"); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMovie_disconnectStatus__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject receiver) -{ - ((TQMovie*) QtSupport::getQt(env, obj))->disconnectStatus((TQObject*) QtSupport::getQt(env, receiver)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMovie_disconnectStatus__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject receiver, jstring member) -{ - ((TQMovie*) QtSupport::getQt(env, obj))->disconnectStatus((TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke(int)"); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMovie_disconnectUpdate__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject receiver) -{ - ((TQMovie*) QtSupport::getQt(env, obj))->disconnectUpdate((TQObject*) QtSupport::getQt(env, receiver)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMovie_disconnectUpdate__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject receiver, jstring member) -{ - ((TQMovie*) QtSupport::getQt(env, obj))->disconnectUpdate((TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke(const TQRect&)"); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMovie_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QMovie_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMovie_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQMovie*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMovie_finished(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQMovie*) QtSupport::getQt(env, obj))->finished(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMovie_frameImage(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &((TQMovie*) QtSupport::getQt(env, obj))->frameImage(), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMovie_frameNumber(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMovie*) QtSupport::getQt(env, obj))->frameNumber(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMovie_framePixmap(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPixmap *) &((TQMovie*) QtSupport::getQt(env, obj))->framePixmap(), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMovie_getValidRect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRect *) &((TQMovie*) QtSupport::getQt(env, obj))->getValidRect(), "org.kde.qt.TQRect"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMovie_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMovie_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQMovie*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMovie_newTQMovie__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQMovieJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMovie_newTQMovie__I(JNIEnv* env, jobject obj, jint bufsize) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQMovieJBridge((int) bufsize)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMovie_newTQMovie__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 TQMovieJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMovie_newTQMovie__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring fileName, jint bufsize) -{ -static TQString* _qstring_fileName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQMovieJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (int) bufsize)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMovie_newTQMovie__Lorg_kde_qt_QDataSource_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQMovieJBridge((TQDataSource*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMovie_newTQMovie__Lorg_kde_qt_QDataSource_2I(JNIEnv* env, jobject obj, jobject arg1, jint bufsize) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQMovieJBridge((TQDataSource*) QtSupport::getQt(env, arg1), (int) bufsize)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMovie_newTQMovie__Lorg_kde_qt_QMovie_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQMovieJBridge((const TQMovie&)*(const TQMovie*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMovie_newTQMovie___3B(JNIEnv* env, jobject obj, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQMovieJBridge((TQByteArray)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMovie_newTQMovie___3BI(JNIEnv* env, jobject obj, jbyteArray data, jint bufsize) -{ -static TQByteArray* _qbyteArray_data = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQMovieJBridge((TQByteArray)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (int) bufsize)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMovie_pause(JNIEnv* env, jobject obj) -{ - ((TQMovie*) QtSupport::getQt(env, obj))->pause(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMovie_paused(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQMovie*) QtSupport::getQt(env, obj))->paused(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMovie_pushData(JNIEnv* env, jobject obj, jcharArray data, jint length) -{ -static TQByteArray* _qbytearray_data = 0; - ((TQMovie*) QtSupport::getQt(env, obj))->pushData((const uchar*) QtSupport::toUcharArray(env, data, &_qbytearray_data), (int) length); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMovie_pushSpace(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMovie*) QtSupport::getQt(env, obj))->pushSpace(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMovie_restart(JNIEnv* env, jobject obj) -{ - ((TQMovie*) QtSupport::getQt(env, obj))->restart(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMovie_running(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQMovie*) QtSupport::getQt(env, obj))->running(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMovie_setBackgroundColor(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQMovie*) QtSupport::getQt(env, obj))->setBackgroundColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMovie_setSpeed(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQMovie*) QtSupport::getQt(env, obj))->setSpeed((int) arg1); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMovie_speed(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMovie*) QtSupport::getQt(env, obj))->speed(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMovie_step__(JNIEnv* env, jobject obj) -{ - ((TQMovie*) QtSupport::getQt(env, obj))->step(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMovie_step__I(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQMovie*) QtSupport::getQt(env, obj))->step((int) arg1); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMovie_steps(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMovie*) QtSupport::getQt(env, obj))->steps(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMovie_unpause(JNIEnv* env, jobject obj) -{ - ((TQMovie*) QtSupport::getQt(env, obj))->unpause(); - return; -} - diff --git a/qtjava/javalib/qtjava/QMovie.h b/qtjava/javalib/qtjava/QMovie.h deleted file mode 100644 index 317f6caf..00000000 --- a/qtjava/javalib/qtjava/QMovie.h +++ /dev/null @@ -1,59 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QMovie__ -#define __org_kde_qt_QMovie__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_newTQMovie__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_newTQMovie__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_newTQMovie__Lorg_kde_qt_QDataSource_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_newTQMovie__Lorg_kde_qt_QDataSource_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_newTQMovie__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_newTQMovie__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_newTQMovie___3BI (JNIEnv *env, jobject, jbyteArray, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_newTQMovie___3B (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_newTQMovie__Lorg_kde_qt_QMovie_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMovie_pushSpace (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_pushData (JNIEnv *env, jobject, jcharArray, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMovie_backgroundColor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_setBackgroundColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMovie_getValidRect (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMovie_framePixmap (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMovie_frameImage (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMovie_isNull (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMovie_frameNumber (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMovie_steps (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMovie_paused (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMovie_finished (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMovie_running (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_unpause (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_pause (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_step__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_step__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_restart (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMovie_speed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_setSpeed (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_connectResize (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_disconnectResize__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_disconnectResize__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_connectUpdate (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_disconnectUpdate__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_disconnectUpdate__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_connectStatus (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_disconnectStatus__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_disconnectStatus__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMovie_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QMovie__ */ diff --git a/qtjava/javalib/qtjava/QMultiLineEdit.cpp b/qtjava/javalib/qtjava/QMultiLineEdit.cpp deleted file mode 100644 index 255e32f3..00000000 --- a/qtjava/javalib/qtjava/QMultiLineEdit.cpp +++ /dev/null @@ -1,1185 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQMultiLineEditJBridge : public TQMultiLineEdit -{ -public: - TQMultiLineEditJBridge(TQWidget* arg1,const char* arg2) : TQMultiLineEdit(arg1,arg2) {}; - TQMultiLineEditJBridge(TQWidget* arg1) : TQMultiLineEdit(arg1) {}; - TQMultiLineEditJBridge() : TQMultiLineEdit() {}; - TQPoint protected_cursorPoint() { - return (TQPoint) TQMultiLineEdit::cursorPoint(); - } - void protected_insertAndMark(const TQString& arg1,bool arg2) { - TQMultiLineEdit::insertAndMark(arg1,arg2); - return; - } - void protected_newLine() { - TQMultiLineEdit::newLine(); - return; - } - void protected_killLine() { - TQMultiLineEdit::killLine(); - return; - } - void protected_pageUp(bool arg1) { - TQMultiLineEdit::pageUp(arg1); - return; - } - void protected_pageUp() { - TQMultiLineEdit::pageUp(); - return; - } - void protected_pageDown(bool arg1) { - TQMultiLineEdit::pageDown(arg1); - return; - } - void protected_pageDown() { - TQMultiLineEdit::pageDown(); - return; - } - void protected_cursorLeft(bool arg1,bool arg2) { - TQMultiLineEdit::cursorLeft(arg1,arg2); - return; - } - void protected_cursorLeft(bool arg1) { - TQMultiLineEdit::cursorLeft(arg1); - return; - } - void protected_cursorLeft() { - TQMultiLineEdit::cursorLeft(); - return; - } - void protected_cursorRight(bool arg1,bool arg2) { - TQMultiLineEdit::cursorRight(arg1,arg2); - return; - } - void protected_cursorRight(bool arg1) { - TQMultiLineEdit::cursorRight(arg1); - return; - } - void protected_cursorRight() { - TQMultiLineEdit::cursorRight(); - return; - } - void protected_cursorUp(bool arg1) { - TQMultiLineEdit::cursorUp(arg1); - return; - } - void protected_cursorUp() { - TQMultiLineEdit::cursorUp(); - return; - } - void protected_cursorDown(bool arg1) { - TQMultiLineEdit::cursorDown(arg1); - return; - } - void protected_cursorDown() { - TQMultiLineEdit::cursorDown(); - return; - } - void protected_backspace() { - TQMultiLineEdit::backspace(); - return; - } - void protected_home(bool arg1) { - TQMultiLineEdit::home(arg1); - return; - } - void protected_home() { - TQMultiLineEdit::home(); - return; - } - void protected_end(bool arg1) { - TQMultiLineEdit::end(arg1); - return; - } - void protected_end() { - TQMultiLineEdit::end(); - return; - } - bool protected_getMarkedRegion(int* arg1,int* arg2,int* arg3,int* arg4) { - return (bool) TQMultiLineEdit::getMarkedRegion(arg1,arg2,arg3,arg4); - } - int protected_lineLength(int arg1) { - return (int) TQMultiLineEdit::lineLength(arg1); - } - ~TQMultiLineEditJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void setColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQTextEdit::setColor(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQTextEdit::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void contentsMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMouseReleaseEvent(arg1); - } - return; - } - void setMimeSourceFactory(TQMimeSourceFactory* arg1) { - if (!QtSupport::eventDelegate(this,"setMimeSourceFactory",(void*)arg1,"org.kde.qt.TQMimeSourceFactory")) { - TQTextEdit::setMimeSourceFactory(arg1); - } - return; - } - void zoomOut() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","zoomOut")) { - TQTextEdit::zoomOut(); - } - return; - } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQScrollView::viewportPaintEvent(arg1); - } - return; - } - void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); - } - return; - } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseReleaseEvent(arg1); - } - return; - } - void del() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","del")) { - TQTextEdit::del(); - } - return; - } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQTextEdit::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void undo() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","undo")) { - TQTextEdit::undo(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setPaper(const TQBrush& arg1) { - if (!QtSupport::eventDelegate(this,"setPaper",(void*)&arg1,"org.kde.qt.TQBrush")) { - TQTextEdit::setPaper(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void resetFormat() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","resetFormat")) { - TQTextEdit::resetFormat(); - } - return; - } - void zoomIn() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","zoomIn")) { - TQTextEdit::zoomIn(); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void viewportResizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQTextEdit::viewportResizeEvent(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQTextEdit::imStartEvent(arg1); - } - return; - } - void cut() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","cut")) { - TQTextEdit::cut(); - } - return; - } - void scrollToBottom() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","scrollToBottom")) { - TQTextEdit::scrollToBottom(); - } - return; - } - void killLine() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","killLine")) { - TQMultiLineEdit::killLine(); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","clear")) { - TQTextEdit::clear(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQTextEdit::contentsDropEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","showMaximized")) { - TQWidget::showMaximized(); - } - return; - } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); - } - return; - } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); - } - return; - } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); - } - return; - } - void setStyleSheet(TQStyleSheet* arg1) { - if (!QtSupport::eventDelegate(this,"setStyleSheet",(void*)arg1,"org.kde.qt.TQStyleSheet")) { - TQTextEdit::setStyleSheet(arg1); - } - return; - } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQTextEdit::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void indent() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","indent")) { - TQTextEdit::indent(); - } - return; - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setCornerWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQScrollView::setCornerWidget(arg1); - } - return; - } - void contentsDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQTextEdit::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQTextEdit::contentsWheelEvent(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void copy() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","copy")) { - TQTextEdit::copy(); - } - return; - } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQTextEdit::setFont(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQTextEdit::contentsDragMoveEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMouseMoveEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void doChangeInterval() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","doChangeInterval")) { - TQTextEdit::doChangeInterval(); - } - return; - } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","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.qt.TQMultiLineEdit","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.qt.TQMultiLineEdit","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 newLine() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","newLine")) { - TQMultiLineEdit::newLine(); - } - return; - } - void sync() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","sync")) { - TQTextEdit::sync(); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void viewportDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::viewportDropEvent(arg1); - } - return; - } - void viewportDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::viewportDragMoveEvent(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQTextEdit::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); - } - return; - } - void paste() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","paste")) { - TQTextEdit::paste(); - } - return; - } - void redo() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","redo")) { - TQTextEdit::redo(); - } - return; - } - void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::viewportDragLeaveEvent(arg1); - } - return; - } - void contentsContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQTextEdit::contentsContextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMultiLineEdit_alignment(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->alignment(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMultiLineEdit_atBeginning(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->atBeginning(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMultiLineEdit_atEnd(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->atEnd(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMultiLineEdit_autoUpdate(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->autoUpdate(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_backspace(JNIEnv* env, jobject obj) -{ - ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_backspace(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QMultiLineEdit_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_cursorDown__(JNIEnv* env, jobject obj) -{ - ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorDown(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_cursorDown__Z(JNIEnv* env, jobject obj, jboolean mark) -{ - ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorDown((bool) mark); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_cursorLeft__(JNIEnv* env, jobject obj) -{ - ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorLeft(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_cursorLeft__Z(JNIEnv* env, jobject obj, jboolean mark) -{ - ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorLeft((bool) mark); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_cursorLeft__ZZ(JNIEnv* env, jobject obj, jboolean mark, jboolean wrap) -{ - ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorLeft((bool) mark, (bool) wrap); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMultiLineEdit_cursorPoint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorPoint()), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_cursorRight__(JNIEnv* env, jobject obj) -{ - ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorRight(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_cursorRight__Z(JNIEnv* env, jobject obj, jboolean mark) -{ - ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorRight((bool) mark); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_cursorRight__ZZ(JNIEnv* env, jobject obj, jboolean mark, jboolean wrap) -{ - ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorRight((bool) mark, (bool) wrap); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_cursorUp__(JNIEnv* env, jobject obj) -{ - ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorUp(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_cursorUp__Z(JNIEnv* env, jobject obj, jboolean mark) -{ - ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorUp((bool) mark); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_cursorWordBackward(JNIEnv* env, jobject obj, jboolean mark) -{ - ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->cursorWordBackward((bool) mark); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_cursorWordForward(JNIEnv* env, jobject obj, jboolean mark) -{ - ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->cursorWordForward((bool) mark); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_deselect(JNIEnv* env, jobject obj) -{ - ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->deselect(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QMultiLineEdit_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMultiLineEdit_edited(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->edited(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_end__(JNIEnv* env, jobject obj) -{ - ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_end(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_end__Z(JNIEnv* env, jobject obj, jboolean mark) -{ - ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_end((bool) mark); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQMultiLineEdit*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQMultiLineEdit*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMultiLineEdit_getMarkedRegion(JNIEnv* env, jobject obj, jintArray line1, jintArray col1, jintArray line2, jintArray col2) -{ - int* _int_line1 = QtSupport::toIntPtr(env, line1); - int* _int_col1 = QtSupport::toIntPtr(env, col1); - int* _int_line2 = QtSupport::toIntPtr(env, line2); - int* _int_col2 = QtSupport::toIntPtr(env, col2); - jboolean xret = (jboolean) ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_getMarkedRegion( (int*) _int_line1, (int*) _int_col1, (int*) _int_line2, (int*) _int_col2); - env->SetIntArrayRegion(line1, 0, 1, (jint *) _int_line1); - env->SetIntArrayRegion(col1, 0, 1, (jint *) _int_col1); - env->SetIntArrayRegion(line2, 0, 1, (jint *) _int_line2); - env->SetIntArrayRegion(col2, 0, 1, (jint *) _int_col2); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMultiLineEdit_hasMarkedText(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->hasMarkedText(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_home__(JNIEnv* env, jobject obj) -{ - ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_home(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_home__Z(JNIEnv* env, jobject obj, jboolean mark) -{ - ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_home((bool) mark); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_insertAndMark(JNIEnv* env, jobject obj, jstring arg1, jboolean mark) -{ -static TQString* _qstring_arg1 = 0; - ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_insertAndMark((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) mark); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_insertAt__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring s, jint line, jint col) -{ -static TQString* _qstring_s = 0; - ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->insertAt((const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s), (int) line, (int) col); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_insertAt__Ljava_lang_String_2IIZ(JNIEnv* env, jobject obj, jstring s, jint line, jint col, jboolean mark) -{ -static TQString* _qstring_s = 0; - ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->insertAt((const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s), (int) line, (int) col, (bool) mark); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_insertLine__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring s) -{ -static TQString* _qstring_s = 0; - ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->insertLine((const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_insertLine__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring s, jint line) -{ -static TQString* _qstring_s = 0; - ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->insertLine((const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s), (int) line); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMultiLineEdit_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_killLine(JNIEnv* env, jobject obj) -{ - ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_killLine(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMultiLineEdit_lineLength(JNIEnv* env, jobject obj, jint row) -{ - jint xret = (jint) ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_lineLength((int) row); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QMultiLineEdit_markedText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->markedText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMultiLineEdit_maxLines(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->maxLines(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMultiLineEdit_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMultiLineEdit*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_newLine(JNIEnv* env, jobject obj) -{ - ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_newLine(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_newTQMultiLineEdit__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQMultiLineEditJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_newTQMultiLineEdit__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQMultiLineEditJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_newTQMultiLineEdit__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 TQMultiLineEditJBridge((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_qt_QMultiLineEdit_numLines(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->numLines(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_pageDown__(JNIEnv* env, jobject obj) -{ - ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_pageDown(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_pageDown__Z(JNIEnv* env, jobject obj, jboolean mark) -{ - ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_pageDown((bool) mark); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_pageUp__(JNIEnv* env, jobject obj) -{ - ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_pageUp(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_pageUp__Z(JNIEnv* env, jobject obj, jboolean mark) -{ - ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_pageUp((bool) mark); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_removeLine(JNIEnv* env, jobject obj, jint line) -{ - ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->removeLine((int) line); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_setAlignment(JNIEnv* env, jobject obj, jint flags) -{ - ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->setAlignment((int) flags); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_setAutoUpdate(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->setAutoUpdate((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_setCursorPosition__II(JNIEnv* env, jobject obj, jint line, jint col) -{ - ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->setCursorPosition((int) line, (int) col); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_setCursorPosition__IIZ(JNIEnv* env, jobject obj, jint line, jint col, jboolean mark) -{ - ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->setCursorPosition((int) line, (int) col, (bool) mark); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_setEdited(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->setEdited((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_setMaxLines(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->setMaxLines((int) arg1); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QMultiLineEdit_textLine(JNIEnv* env, jobject obj, jint line) -{ - TQString _qstring; - _qstring = ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->textLine((int) line); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMultiLineEdit_totalHeight(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->totalHeight(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMultiLineEdit_totalWidth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->totalWidth(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QMultiLineEdit_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQMultiLineEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QMultiLineEdit_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQMultiLineEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QMultiLineEdit.h b/qtjava/javalib/qtjava/QMultiLineEdit.h deleted file mode 100644 index 536bf85c..00000000 --- a/qtjava/javalib/qtjava/QMultiLineEdit.h +++ /dev/null @@ -1,79 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QMultiLineEdit__ -#define __org_kde_qt_QMultiLineEdit__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMultiLineEdit_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMultiLineEdit_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_newTQMultiLineEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_newTQMultiLineEdit__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_newTQMultiLineEdit__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMultiLineEdit_textLine (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMultiLineEdit_numLines (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_insertLine__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_insertLine__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_insertAt__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_insertAt__Ljava_lang_String_2IIZ (JNIEnv *env, jobject, jstring, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_removeLine (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_setCursorPosition__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_setCursorPosition__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMultiLineEdit_atBeginning (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMultiLineEdit_atEnd (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_setAlignment (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMultiLineEdit_alignment (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_setEdited (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMultiLineEdit_edited (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMultiLineEdit_hasMarkedText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMultiLineEdit_markedText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_cursorWordForward (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_cursorWordBackward (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMultiLineEdit_autoUpdate (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_setAutoUpdate (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMultiLineEdit_totalWidth (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMultiLineEdit_totalHeight (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMultiLineEdit_maxLines (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_setMaxLines (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_deselect (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMultiLineEdit_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMultiLineEdit_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMultiLineEdit_cursorPoint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_insertAndMark (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_newLine (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_killLine (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_pageUp__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_pageUp__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_pageDown__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_pageDown__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_cursorLeft__ZZ (JNIEnv *env, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_cursorLeft__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_cursorLeft__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_cursorRight__ZZ (JNIEnv *env, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_cursorRight__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_cursorRight__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_cursorUp__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_cursorUp__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_cursorDown__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_cursorDown__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_backspace (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_home__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_home__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_end__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_end__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMultiLineEdit_getMarkedRegion (JNIEnv *env, jobject, jintArray, jintArray, jintArray, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMultiLineEdit_lineLength (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMultiLineEdit_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QMultiLineEdit__ */ diff --git a/qtjava/javalib/qtjava/QNetworkOperation.cpp b/qtjava/javalib/qtjava/QNetworkOperation.cpp deleted file mode 100644 index 05479bfe..00000000 --- a/qtjava/javalib/qtjava/QNetworkOperation.cpp +++ /dev/null @@ -1,228 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQNetworkOperationJBridge : public TQNetworkOperation -{ -public: - TQNetworkOperationJBridge(TQNetworkProtocol::Operation arg1,const TQString& arg2,const TQString& arg3,const TQString& arg4) : TQNetworkOperation(arg1,arg2,arg3,arg4) {}; - TQNetworkOperationJBridge(TQNetworkProtocol::Operation arg1,const TQByteArray& arg2,const TQByteArray& arg3,const TQByteArray& arg4) : TQNetworkOperation(arg1,arg2,arg3,arg4) {}; - ~TQNetworkOperationJBridge() {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.qt.TQNetworkOperation",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QNetworkOperation_arg(JNIEnv* env, jobject obj, jint num) -{ - TQString _qstring; - _qstring = ((TQNetworkOperation*) QtSupport::getQt(env, obj))->arg((int) num); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QNetworkOperation_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQNetworkOperation*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QNetworkOperation_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QNetworkOperation_finalize(env, obj); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QNetworkOperation_errorCode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQNetworkOperation*) QtSupport::getQt(env, obj))->errorCode(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QNetworkOperation_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQNetworkOperation*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQNetworkOperation*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QNetworkOperation_free(JNIEnv* env, jobject obj) -{ - ((TQNetworkOperation*) QtSupport::getQt(env, obj))->free(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QNetworkOperation_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QNetworkOperation_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQNetworkOperation*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QNetworkOperation_newTQNetworkOperation__ILjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint operation, jstring arg0, jstring arg1, jstring arg2) -{ -static TQString* _qstring_arg0 = 0; -static TQString* _qstring_arg1 = 0; -static TQString* _qstring_arg2 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQNetworkOperationJBridge((TQNetworkProtocol::Operation) operation, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg0, &_qstring_arg0), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QNetworkOperation_newTQNetworkOperation__I_3B_3B_3B(JNIEnv* env, jobject obj, jint operation, jbyteArray arg0, jbyteArray arg1, jbyteArray arg2) -{ -static TQByteArray* _qbyteArray_arg0 = 0; -static TQByteArray* _qbyteArray_arg1 = 0; -static TQByteArray* _qbyteArray_arg2 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQNetworkOperationJBridge((TQNetworkProtocol::Operation) operation, (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, arg0, &_qbyteArray_arg0), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, arg1, &_qbyteArray_arg1), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, arg2, &_qbyteArray_arg2))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QNetworkOperation_operation(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQNetworkOperation*) QtSupport::getQt(env, obj))->operation(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QNetworkOperation_protocolDetail(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQNetworkOperation*) QtSupport::getQt(env, obj))->protocolDetail(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_qt_QNetworkOperation_rawArg(JNIEnv* env, jobject obj, jint num) -{ - TQByteArray _qbyteArray; - _qbyteArray = ((TQNetworkOperation*) QtSupport::getQt(env, obj))->rawArg((int) num); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QNetworkOperation_setArg(JNIEnv* env, jobject obj, jint num, jstring arg) -{ -static TQString* _qstring_arg = 0; - ((TQNetworkOperation*) QtSupport::getQt(env, obj))->setArg((int) num, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg, &_qstring_arg)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QNetworkOperation_setErrorCode(JNIEnv* env, jobject obj, jint ec) -{ - ((TQNetworkOperation*) QtSupport::getQt(env, obj))->setErrorCode((int) ec); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QNetworkOperation_setProtocolDetail(JNIEnv* env, jobject obj, jstring detail) -{ -static TQString* _qstring_detail = 0; - ((TQNetworkOperation*) QtSupport::getQt(env, obj))->setProtocolDetail((const TQString&)*(TQString*) QtSupport::toTQString(env, detail, &_qstring_detail)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QNetworkOperation_setRawArg(JNIEnv* env, jobject obj, jint num, jbyteArray arg) -{ -static TQByteArray* _qbyteArray_arg = 0; - ((TQNetworkOperation*) QtSupport::getQt(env, obj))->setRawArg((int) num, (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, arg, &_qbyteArray_arg)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QNetworkOperation_setState(JNIEnv* env, jobject obj, jint state) -{ - ((TQNetworkOperation*) QtSupport::getQt(env, obj))->setState((TQNetworkProtocol::State) state); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QNetworkOperation_state(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQNetworkOperation*) QtSupport::getQt(env, obj))->state(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QNetworkOperation_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQNetworkOperationJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QNetworkOperation_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQNetworkOperationJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QNetworkOperation.h b/qtjava/javalib/qtjava/QNetworkOperation.h deleted file mode 100644 index d0c5dc2b..00000000 --- a/qtjava/javalib/qtjava/QNetworkOperation.h +++ /dev/null @@ -1,39 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QNetworkOperation__ -#define __org_kde_qt_QNetworkOperation__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QNetworkOperation_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QNetworkOperation_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkOperation_newTQNetworkOperation__ILjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkOperation_newTQNetworkOperation__I_3B_3B_3B (JNIEnv *env, jobject, jint, jbyteArray, jbyteArray, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkOperation_setState (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkOperation_setProtocolDetail (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkOperation_setErrorCode (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkOperation_setArg (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkOperation_setRawArg (JNIEnv *env, jobject, jint, jbyteArray); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QNetworkOperation_operation (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QNetworkOperation_state (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QNetworkOperation_arg (JNIEnv *env, jobject, jint); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QNetworkOperation_rawArg (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QNetworkOperation_protocolDetail (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QNetworkOperation_errorCode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkOperation_free (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QNetworkOperation_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QNetworkOperation_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkOperation_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkOperation_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QNetworkOperation_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QNetworkOperation__ */ diff --git a/qtjava/javalib/qtjava/QNetworkProtocol.cpp b/qtjava/javalib/qtjava/QNetworkProtocol.cpp deleted file mode 100644 index e4b86565..00000000 --- a/qtjava/javalib/qtjava/QNetworkProtocol.cpp +++ /dev/null @@ -1,388 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -class TQNetworkProtocolJBridge : public TQNetworkProtocol -{ -public: - TQNetworkProtocolJBridge() : TQNetworkProtocol() {}; - void public_clearOperationQueue() { - TQNetworkProtocol::clearOperationQueue(); - return; - } - void public_stop() { - TQNetworkProtocol::stop(); - return; - } - void protected_processOperation(TQNetworkOperation* arg1) { - TQNetworkProtocol::processOperation(arg1); - return; - } - void protected_operationListChildren(TQNetworkOperation* arg1) { - TQNetworkProtocol::operationListChildren(arg1); - return; - } - void protected_operationMkDir(TQNetworkOperation* arg1) { - TQNetworkProtocol::operationMkDir(arg1); - return; - } - void protected_operationRemove(TQNetworkOperation* arg1) { - TQNetworkProtocol::operationRemove(arg1); - return; - } - void protected_operationRename(TQNetworkOperation* arg1) { - TQNetworkProtocol::operationRename(arg1); - return; - } - void protected_operationGet(TQNetworkOperation* arg1) { - TQNetworkProtocol::operationGet(arg1); - return; - } - void protected_operationPut(TQNetworkOperation* arg1) { - TQNetworkProtocol::operationPut(arg1); - return; - } - void protected_operationPutChunk(TQNetworkOperation* arg1) { - TQNetworkProtocol::operationPutChunk(arg1); - return; - } - bool protected_checkConnection(TQNetworkOperation* arg1) { - return (bool) TQNetworkProtocol::checkConnection(arg1); - } - ~TQNetworkProtocolJBridge() {QtSupport::qtKeyDeleted(this);} - void operationRename(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationRename",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::operationRename(arg1); - } - return; - } - void operationPutChunk(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationPutChunk",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::operationPutChunk(arg1); - } - return; - } - void processOperation(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"processOperation",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::processOperation(arg1); - } - return; - } - void operationGet(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationGet",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::operationGet(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void operationPut(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationPut",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::operationPut(arg1); - } - return; - } - void operationListChildren(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationListChildren",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::operationListChildren(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void operationRemove(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationRemove",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::operationRemove(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 addOperation(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"addOperation",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::addOperation(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void clearOperationQueue() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQNetworkProtocol","clearOperationQueue")) { - TQNetworkProtocol::clearOperationQueue(); - } - return; - } - void operationMkDir(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationMkDir",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::operationMkDir(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQNetworkProtocol",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void stop() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQNetworkProtocol","stop")) { - TQNetworkProtocol::stop(); - } - return; - } - void setUrl(TQUrlOperator* arg1) { - if (!QtSupport::eventDelegate(this,"setUrl",(void*)arg1,"org.kde.qt.TQUrlOperator")) { - TQNetworkProtocol::setUrl(arg1); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QNetworkProtocol_addOperation(JNIEnv* env, jobject obj, jobject op) -{ - ((TQNetworkProtocol*) QtSupport::getQt(env, obj))->addOperation((TQNetworkOperation*) QtSupport::getQt(env, op)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QNetworkProtocol_autoDelete(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQNetworkProtocol*) QtSupport::getQt(env, obj))->autoDelete(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QNetworkProtocol_checkConnection(JNIEnv* env, jobject obj, jobject op) -{ - jboolean xret = (jboolean) ((TQNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->protected_checkConnection((TQNetworkOperation*) QtSupport::getQt(env, op)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QNetworkProtocol_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQNetworkProtocol*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QNetworkProtocol_clearOperationQueue(JNIEnv* env, jobject obj) -{ - ((TQNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->public_clearOperationQueue(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QNetworkProtocol_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QNetworkProtocol_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QNetworkProtocol_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQNetworkProtocol*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQNetworkProtocol*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QNetworkProtocol_getNetworkProtocol(JNIEnv* env, jclass cls, jstring protocol) -{ - (void) cls; -static TQString* _qstring_protocol = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQNetworkProtocolJBridge::getNetworkProtocol((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)), "org.kde.qt.TQNetworkProtocol"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QNetworkProtocol_hasOnlyLocalFileSystem(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TQNetworkProtocolJBridge::hasOnlyLocalFileSystem(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QNetworkProtocol_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QNetworkProtocol_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQNetworkProtocol*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QNetworkProtocol_newTQNetworkProtocol(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQNetworkProtocolJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QNetworkProtocol_operationGet(JNIEnv* env, jobject obj, jobject op) -{ - ((TQNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->protected_operationGet((TQNetworkOperation*) QtSupport::getQt(env, op)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QNetworkProtocol_operationInProgress(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQNetworkProtocol*) QtSupport::getQt(env, obj))->operationInProgress(), "org.kde.qt.TQNetworkOperation"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QNetworkProtocol_operationListChildren(JNIEnv* env, jobject obj, jobject op) -{ - ((TQNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->protected_operationListChildren((TQNetworkOperation*) QtSupport::getQt(env, op)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QNetworkProtocol_operationMkDir(JNIEnv* env, jobject obj, jobject op) -{ - ((TQNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->protected_operationMkDir((TQNetworkOperation*) QtSupport::getQt(env, op)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QNetworkProtocol_operationPutChunk(JNIEnv* env, jobject obj, jobject op) -{ - ((TQNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->protected_operationPutChunk((TQNetworkOperation*) QtSupport::getQt(env, op)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QNetworkProtocol_operationPut(JNIEnv* env, jobject obj, jobject op) -{ - ((TQNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->protected_operationPut((TQNetworkOperation*) QtSupport::getQt(env, op)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QNetworkProtocol_operationRemove(JNIEnv* env, jobject obj, jobject op) -{ - ((TQNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->protected_operationRemove((TQNetworkOperation*) QtSupport::getQt(env, op)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QNetworkProtocol_operationRename(JNIEnv* env, jobject obj, jobject op) -{ - ((TQNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->protected_operationRename((TQNetworkOperation*) QtSupport::getQt(env, op)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QNetworkProtocol_processOperation(JNIEnv* env, jobject obj, jobject op) -{ - ((TQNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->protected_processOperation((TQNetworkOperation*) QtSupport::getQt(env, op)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QNetworkProtocol_setAutoDelete__Z(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQNetworkProtocol*) QtSupport::getQt(env, obj))->setAutoDelete((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QNetworkProtocol_setAutoDelete__ZI(JNIEnv* env, jobject obj, jboolean b, jint i) -{ - ((TQNetworkProtocol*) QtSupport::getQt(env, obj))->setAutoDelete((bool) b, (int) i); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QNetworkProtocol_setUrl(JNIEnv* env, jobject obj, jobject u) -{ - ((TQNetworkProtocol*) QtSupport::getQt(env, obj))->setUrl((TQUrlOperator*) QtSupport::getQt(env, u)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QNetworkProtocol_stop(JNIEnv* env, jobject obj) -{ - ((TQNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->public_stop(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QNetworkProtocol_supportedOperations(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQNetworkProtocol*) QtSupport::getQt(env, obj))->supportedOperations(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QNetworkProtocol_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQNetworkProtocolJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QNetworkProtocol_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQNetworkProtocolJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QNetworkProtocol_url(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQNetworkProtocol*) QtSupport::getQt(env, obj))->url(), "org.kde.qt.TQUrlOperator"); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QNetworkProtocol.h b/qtjava/javalib/qtjava/QNetworkProtocol.h deleted file mode 100644 index 56da473a..00000000 --- a/qtjava/javalib/qtjava/QNetworkProtocol.h +++ /dev/null @@ -1,47 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QNetworkProtocol__ -#define __org_kde_qt_QNetworkProtocol__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QNetworkProtocol_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QNetworkProtocol_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_newTQNetworkProtocol (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_setUrl (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_setAutoDelete__ZI (JNIEnv *env, jobject, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_setAutoDelete__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QNetworkProtocol_autoDelete (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QNetworkProtocol_supportedOperations (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_addOperation (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QNetworkProtocol_url (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QNetworkProtocol_operationInProgress (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_clearOperationQueue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_stop (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QNetworkProtocol_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QNetworkProtocol_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QNetworkProtocol_getNetworkProtocol (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QNetworkProtocol_hasOnlyLocalFileSystem (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_processOperation (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_operationListChildren (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_operationMkDir (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_operationRemove (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_operationRename (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_operationGet (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_operationPut (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_operationPutChunk (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QNetworkProtocol_checkConnection (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QNetworkProtocol_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QNetworkProtocol__ */ diff --git a/qtjava/javalib/qtjava/QObject.cpp b/qtjava/javalib/qtjava/QObject.cpp deleted file mode 100644 index ff232a2b..00000000 --- a/qtjava/javalib/qtjava/QObject.cpp +++ /dev/null @@ -1,663 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -class TQObjectJBridge : public TQObject -{ -public: - TQObjectJBridge(TQObject* arg1,const char* arg2) : TQObject(arg1,arg2) {}; - TQObjectJBridge(TQObject* arg1) : TQObject(arg1) {}; - TQObjectJBridge() : TQObject() {}; - bool protected_activate_filters(TQEvent* arg1) { - return (bool) TQObject::activate_filters(arg1); - } - void protected_activate_signal(int arg1) { - TQObject::activate_signal(arg1); - return; - } - void protected_activate_signal(int arg1,int arg2) { - TQObject::activate_signal(arg1,arg2); - return; - } - void protected_activate_signal(int arg1,double arg2) { - TQObject::activate_signal(arg1,arg2); - return; - } - void protected_activate_signal(int arg1,TQString arg2) { - TQObject::activate_signal(arg1,arg2); - return; - } - void protected_activate_signal_bool(int arg1,bool arg2) { - TQObject::activate_signal_bool(arg1,arg2); - return; - } - const TQObject* protected_sender() { - return (const TQObject*) TQObject::sender(); - } - void protected_timerEvent(TQTimerEvent* arg1) { - TQObject::timerEvent(arg1); - return; - } - void protected_childEvent(TQChildEvent* arg1) { - TQObject::childEvent(arg1); - return; - } - void protected_customEvent(TQCustomEvent* arg1) { - TQObject::customEvent(arg1); - return; - } - void protected_connectNotify(const char* arg1) { - TQObject::connectNotify(arg1); - return; - } - void protected_disconnectNotify(const char* arg1) { - TQObject::disconnectNotify(arg1); - return; - } - bool protected_checkConnectArgs(const char* arg1,const TQObject* arg2,const char* arg3) { - return (bool) TQObject::checkConnectArgs(arg1,arg2,arg3); - } - static TQCString protected_normalizeSignalSlot(const char* arg1) { - return (TQCString) TQObject::normalizeSignalSlot(arg1); - } - ~TQObjectJBridge() {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.qt.TQObject",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QObject_activate_1filters(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_activate_filters((TQEvent*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QObject_activate_1signal_1bool(JNIEnv* env, jobject obj, jint signal, jboolean arg2) -{ - ((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_activate_signal_bool((int) signal, (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QObject_activate_1signal__I(JNIEnv* env, jobject obj, jint signal) -{ - ((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_activate_signal((int) signal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QObject_activate_1signal__ID(JNIEnv* env, jobject obj, jint signal, jdouble arg2) -{ - ((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_activate_signal((int) signal, (double) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QObject_activate_1signal__II(JNIEnv* env, jobject obj, jint signal, jint arg2) -{ - ((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_activate_signal((int) signal, (int) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QObject_activate_1signal__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint signal, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - ((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_activate_signal((int) signal, (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QObject_blockSignals(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQObject*) QtSupport::getQt(env, obj))->blockSignals((bool) b); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QObject_checkConnectArgs(JNIEnv* env, jobject obj, jstring signal, jobject receiver, jstring member) -{ -static TQCString* _qstring_signal = 0; - jboolean xret = (jboolean) ((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_checkConnectArgs((const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QObject_childEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TQChildEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QObject_child__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring objName) -{ -static TQCString* _qstring_objName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQObject*) QtSupport::getQt(env, obj))->child((const char*) QtSupport::toCharString(env, objName, &_qstring_objName)), "org.kde.qt.TQObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QObject_child__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring objName, jstring inheritsClass) -{ -static TQCString* _qstring_objName = 0; -static TQCString* _qstring_inheritsClass = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQObject*) QtSupport::getQt(env, obj))->child((const char*) QtSupport::toCharString(env, objName, &_qstring_objName), (const char*) QtSupport::toCharString(env, inheritsClass, &_qstring_inheritsClass)), "org.kde.qt.TQObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QObject_child__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring objName, jstring inheritsClass, jboolean recursiveSearch) -{ -static TQCString* _qstring_objName = 0; -static TQCString* _qstring_inheritsClass = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQObject*) QtSupport::getQt(env, obj))->child((const char*) QtSupport::toCharString(env, objName, &_qstring_objName), (const char*) QtSupport::toCharString(env, inheritsClass, &_qstring_inheritsClass), (bool) recursiveSearch), "org.kde.qt.TQObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QObject_children(JNIEnv* env, jobject obj) -{ - const TQObjectList* _qlist; - _qlist = ((TQObject*) QtSupport::getQt(env, obj))->children(); - return (jobject) QtSupport::arrayWithTQObjectList(env, (TQObjectList*) _qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QObject_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQObject*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QObject_connectInternal(JNIEnv* env, jclass cls, jobject sender, jint signal_index, jobject receiver, jint membcode, jint member_index) -{ - (void) cls; - TQObjectJBridge::connectInternal((const TQObject*) QtSupport::getQt(env, sender), (int) signal_index, (const TQObject*) QtSupport::getQt(env, receiver), (int) membcode, (int) member_index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QObject_connectNotify(JNIEnv* env, jobject obj, jstring signal) -{ -static TQCString* _qstring_signal = 0; - ((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_connectNotify((const char*) QtSupport::toCharString(env, signal, &_qstring_signal)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QObject_customEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_customEvent((TQCustomEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QObject_deleteLater(JNIEnv* env, jobject obj) -{ - ((TQObject*) QtSupport::getQt(env, obj))->deleteLater(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QObject_disconnectInternal(JNIEnv* env, jclass cls, jobject sender, jint signal_index, jobject receiver, jint membcode, jint member_index) -{ - (void) cls; - jboolean xret = (jboolean) TQObjectJBridge::disconnectInternal((const TQObject*) QtSupport::getQt(env, sender), (int) signal_index, (const TQObject*) QtSupport::getQt(env, receiver), (int) membcode, (int) member_index); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QObject_disconnectNotify(JNIEnv* env, jobject obj, jstring signal) -{ -static TQCString* _qstring_signal = 0; - ((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_disconnectNotify((const char*) QtSupport::toCharString(env, signal, &_qstring_signal)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QObject_disconnect__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->disconnect(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QObject_disconnect__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring signal) -{ -static TQCString* _qstring_signal = 0; - jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->disconnect((const char*) QtSupport::toCharString(env, signal, &_qstring_signal)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QObject_disconnect__Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring signal, jobject receiver) -{ -static TQCString* _qstring_signal = 0; - jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->disconnect((const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::getQt(env, receiver)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QObject_disconnect__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject receiver) -{ - jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->disconnect((const TQObject*) QtSupport::getQt(env, receiver)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QObject_disconnect__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject receiver, jstring member) -{ - jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->disconnect((const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QObject_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QObject_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QObject_dumpObjectInfo(JNIEnv* env, jobject obj) -{ - ((TQObject*) QtSupport::getQt(env, obj))->dumpObjectInfo(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QObject_dumpObjectTree(JNIEnv* env, jobject obj) -{ - ((TQObject*) QtSupport::getQt(env, obj))->dumpObjectTree(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QObject_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QObject_event(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->event((TQEvent*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QObject_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQObject*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQObject*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QObject_highPriority(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->highPriority(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QObject_inherits(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQCString* _qstring_arg1 = 0; - jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->inherits((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QObject_insertChild(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQObject*) QtSupport::getQt(env, obj))->insertChild((TQObject*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QObject_installEventFilter(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQObject*) QtSupport::getQt(env, obj))->installEventFilter((const TQObject*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QObject_isA(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQCString* _qstring_arg1 = 0; - jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->isA((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QObject_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QObject_isWidgetType(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->isWidgetType(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QObject_killTimer(JNIEnv* env, jobject obj, jint id) -{ - ((TQObject*) QtSupport::getQt(env, obj))->killTimer((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QObject_killTimers(JNIEnv* env, jobject obj) -{ - ((TQObject*) QtSupport::getQt(env, obj))->killTimers(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QObject_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQObject*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QObject_name__(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQObject*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QObject_name__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring defaultName) -{ - const char* _qstring; -static TQCString* _qstring_defaultName = 0; - _qstring = ((TQObject*) QtSupport::getQt(env, obj))->name((const char*) QtSupport::toCharString(env, defaultName, &_qstring_defaultName)); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QObject_newTQObject__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQObjectJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QObject_newTQObject__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQObjectJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QObject_newTQObject__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 TQObjectJBridge((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_qt_QObject_normalizeSignalSlot(JNIEnv* env, jclass cls, jstring signalSlot) -{ - TQCString _qstring; - (void) cls; -static TQCString* _qstring_signalSlot = 0; - _qstring = TQObjectJBridge::protected_normalizeSignalSlot((const char*) QtSupport::toCharString(env, signalSlot, &_qstring_signalSlot)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QObject_objectTrees(JNIEnv* env, jclass cls) -{ - const TQObjectList* _qlist; - (void) cls; - _qlist = TQObjectJBridge::objectTrees(); - return (jobject) QtSupport::arrayWithTQObjectList(env, (TQObjectList*) _qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QObject_parent(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQObject*) QtSupport::getQt(env, obj))->parent(), "org.kde.qt.TQObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QObject_property(JNIEnv* env, jobject obj, jstring name) -{ -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQObject*) QtSupport::getQt(env, obj))->property((const char*) QtSupport::toCharString(env, name, &_qstring_name))), "org.kde.qt.TQVariant", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QObject_queryList__(JNIEnv* env, jobject obj) -{ - TQObjectList* _qlist; - _qlist = ((TQObject*) QtSupport::getQt(env, obj))->queryList(); - return (jobject) QtSupport::arrayWithTQObjectList(env, (TQObjectList*) _qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QObject_queryList__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring inheritsClass) -{ - TQObjectList* _qlist; -static TQCString* _qstring_inheritsClass = 0; - _qlist = ((TQObject*) QtSupport::getQt(env, obj))->queryList((const char*) QtSupport::toCharString(env, inheritsClass, &_qstring_inheritsClass)); - return (jobject) QtSupport::arrayWithTQObjectList(env, (TQObjectList*) _qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QObject_queryList__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring inheritsClass, jstring objName) -{ - TQObjectList* _qlist; -static TQCString* _qstring_inheritsClass = 0; -static TQCString* _qstring_objName = 0; - _qlist = ((TQObject*) QtSupport::getQt(env, obj))->queryList((const char*) QtSupport::toCharString(env, inheritsClass, &_qstring_inheritsClass), (const char*) QtSupport::toCharString(env, objName, &_qstring_objName)); - return (jobject) QtSupport::arrayWithTQObjectList(env, (TQObjectList*) _qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QObject_queryList__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring inheritsClass, jstring objName, jboolean regexpMatch) -{ - TQObjectList* _qlist; -static TQCString* _qstring_inheritsClass = 0; -static TQCString* _qstring_objName = 0; - _qlist = ((TQObject*) QtSupport::getQt(env, obj))->queryList((const char*) QtSupport::toCharString(env, inheritsClass, &_qstring_inheritsClass), (const char*) QtSupport::toCharString(env, objName, &_qstring_objName), (bool) regexpMatch); - return (jobject) QtSupport::arrayWithTQObjectList(env, (TQObjectList*) _qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QObject_queryList__Ljava_lang_String_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring inheritsClass, jstring objName, jboolean regexpMatch, jboolean recursiveSearch) -{ - TQObjectList* _qlist; -static TQCString* _qstring_inheritsClass = 0; -static TQCString* _qstring_objName = 0; - _qlist = ((TQObject*) QtSupport::getQt(env, obj))->queryList((const char*) QtSupport::toCharString(env, inheritsClass, &_qstring_inheritsClass), (const char*) QtSupport::toCharString(env, objName, &_qstring_objName), (bool) regexpMatch, (bool) recursiveSearch); - return (jobject) QtSupport::arrayWithTQObjectList(env, (TQObjectList*) _qlist); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QObject_registerUserData(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TQObjectJBridge::registerUserData(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QObject_removeChild(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQObject*) QtSupport::getQt(env, obj))->removeChild((TQObject*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QObject_removeEventFilter(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQObject*) QtSupport::getQt(env, obj))->removeEventFilter((const TQObject*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QObject_sender(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_sender(), "org.kde.qt.TQObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QObject_setName(JNIEnv* env, jobject obj, jstring name) -{ -static TQCString* _qstring_name = 0; - ((TQObject*) QtSupport::getQt(env, obj))->setName((const char*) QtSupport::toCharString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QObject_setProperty(JNIEnv* env, jobject obj, jstring name, jobject value) -{ -static TQCString* _qstring_name = 0; - jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->setProperty((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, value)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QObject_signalsBlocked(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->signalsBlocked(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QObject_startTimer(JNIEnv* env, jobject obj, jint interval) -{ - jint xret = (jint) ((TQObject*) QtSupport::getQt(env, obj))->startTimer((int) interval); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QObject_timerEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_timerEvent((TQTimerEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QObject_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQObjectJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QObject_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQObjectJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QObject_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; - return (jboolean) QtSupport::connect(env, sender, signal, receiver, member); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QObject_connect__Lorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject sender, jstring signal, jstring member) -{ - return (jboolean) QtSupport::connect(env, sender, signal, obj, member); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QObject_disconnect__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; - return (jboolean) QtSupport::disconnect(env, sender, signal, receiver, member); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QObject_disconnect__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring signal, jobject receiver, jstring member) -{ - return (jboolean) QtSupport::disconnect(env, obj, signal, receiver, member); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QObject_emit(JNIEnv* env, jobject obj, jstring signal, jobjectArray args) -{ - QtSupport::emitJavaSignal(env, obj, signal, args); - return; -} - diff --git a/qtjava/javalib/qtjava/QObject.h b/qtjava/javalib/qtjava/QObject.h deleted file mode 100644 index f87c9299..00000000 --- a/qtjava/javalib/qtjava/QObject.h +++ /dev/null @@ -1,89 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QObject__ -#define __org_kde_qt_QObject__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QObject_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QObject_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_newTQObject__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_newTQObject__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_newTQObject__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_event (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_isA (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_inherits (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QObject_name__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QObject_name__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_isWidgetType (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_highPriority (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_signalsBlocked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_blockSignals (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QObject_startTimer (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_killTimer (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_killTimers (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QObject_child__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QObject_child__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QObject_child__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QObject_children (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QObject_queryList__Ljava_lang_String_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jstring, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QObject_queryList__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QObject_queryList__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QObject_queryList__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QObject_queryList__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_insertChild (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_removeChild (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_installEventFilter (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_removeEventFilter (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_connect__Lorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_disconnect__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_disconnect__Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_disconnect__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_disconnect__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_disconnect__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_disconnect__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_dumpObjectTree (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_dumpObjectInfo (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_setProperty (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QObject_property (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QObject_parent (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_deleteLater (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QObject_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QObject_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QObject_objectTrees (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_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_qt_QObject_disconnect__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_connectInternal (JNIEnv *env, jclass, jobject, jint, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_disconnectInternal (JNIEnv *env, jclass, jobject, jint, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QObject_registerUserData (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_activate_1filters (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_activate_1signal__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_activate_1signal__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_activate_1signal__ID (JNIEnv *env, jobject, jint, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_activate_1signal__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_activate_1signal_1bool (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QObject_sender (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_timerEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_childEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_customEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_connectNotify (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_disconnectNotify (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_checkConnectArgs (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QObject_normalizeSignalSlot (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_emit__Ljava_lang_String_2_3Ljava_lang_Object_2 (JNIEnv *env, jobject, jstring, jobjectArray); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QObject__ */ diff --git a/qtjava/javalib/qtjava/QObjectCleanupHandler.cpp b/qtjava/javalib/qtjava/QObjectCleanupHandler.cpp deleted file mode 100644 index 8e6cd3f7..00000000 --- a/qtjava/javalib/qtjava/QObjectCleanupHandler.cpp +++ /dev/null @@ -1,148 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQObjectCleanupHandlerJBridge : public TQObjectCleanupHandler -{ -public: - TQObjectCleanupHandlerJBridge() : TQObjectCleanupHandler() {}; - ~TQObjectCleanupHandlerJBridge() {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.qt.TQObjectCleanupHandler",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QObjectCleanupHandler_add(JNIEnv* env, jobject obj, jobject object) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQObjectCleanupHandler*) QtSupport::getQt(env, obj))->add((TQObject*) QtSupport::getQt(env, object)), "org.kde.qt.TQObject"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QObjectCleanupHandler_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQObjectCleanupHandler*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QObjectCleanupHandler_clear(JNIEnv* env, jobject obj) -{ - ((TQObjectCleanupHandler*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QObjectCleanupHandler_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QObjectCleanupHandler_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QObjectCleanupHandler_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQObjectCleanupHandler*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQObjectCleanupHandler*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QObjectCleanupHandler_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QObjectCleanupHandler_isEmpty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQObjectCleanupHandler*) QtSupport::getQt(env, obj))->isEmpty(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QObjectCleanupHandler_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQObjectCleanupHandler*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QObjectCleanupHandler_newTQObjectCleanupHandler(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQObjectCleanupHandlerJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QObjectCleanupHandler_remove(JNIEnv* env, jobject obj, jobject object) -{ - ((TQObjectCleanupHandler*) QtSupport::getQt(env, obj))->remove((TQObject*) QtSupport::getQt(env, object)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QObjectCleanupHandler_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQObjectCleanupHandlerJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QObjectCleanupHandler_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQObjectCleanupHandlerJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QObjectCleanupHandler.h b/qtjava/javalib/qtjava/QObjectCleanupHandler.h deleted file mode 100644 index 066b3c88..00000000 --- a/qtjava/javalib/qtjava/QObjectCleanupHandler.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QObjectCleanupHandler__ -#define __org_kde_qt_QObjectCleanupHandler__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QObjectCleanupHandler_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QObjectCleanupHandler_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QObjectCleanupHandler_newTQObjectCleanupHandler (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QObjectCleanupHandler_add (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QObjectCleanupHandler_remove (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObjectCleanupHandler_isEmpty (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QObjectCleanupHandler_clear (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QObjectCleanupHandler_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QObjectCleanupHandler_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QObjectCleanupHandler_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QObjectCleanupHandler_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObjectCleanupHandler_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QObjectCleanupHandler__ */ diff --git a/qtjava/javalib/qtjava/QPaintDevice.cpp b/qtjava/javalib/qtjava/QPaintDevice.cpp deleted file mode 100644 index 60a8e8ec..00000000 --- a/qtjava/javalib/qtjava/QPaintDevice.cpp +++ /dev/null @@ -1,139 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - -class TQPaintDeviceJBridge : public TQPaintDevice -{ -public: - TQPaintDeviceJBridge(uint arg1) : TQPaintDevice(arg1) {}; - int protected_metric(int arg1) { - return (int) TQPaintDevice::metric(arg1); - } - int protected_fontMet(TQFont* arg1,int arg2,const char* arg3,int arg4) { - return (int) TQPaintDevice::fontMet(arg1,arg2,arg3,arg4); - } - int protected_fontMet(TQFont* arg1,int arg2,const char* arg3) { - return (int) TQPaintDevice::fontMet(arg1,arg2,arg3); - } - int protected_fontMet(TQFont* arg1,int arg2) { - return (int) TQPaintDevice::fontMet(arg1,arg2); - } - int protected_fontInf(TQFont* arg1,int arg2) { - return (int) TQPaintDevice::fontInf(arg1,arg2); - } - ~TQPaintDeviceJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPaintDevice_devType(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPaintDevice*) QtSupport::getQt(env, obj))->devType(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPaintDevice_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QPaintDevice_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPaintDevice_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQPaintDevice*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPaintDevice_fontInf(JNIEnv* env, jobject obj, jobject arg1, jint arg2) -{ - jint xret = (jint) ((TQPaintDeviceJBridge*) QtSupport::getQt(env, obj))->protected_fontInf((TQFont*) QtSupport::getQt(env, arg1), (int) arg2); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPaintDevice_fontMet__Lorg_kde_qt_QFont_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2) -{ - jint xret = (jint) ((TQPaintDeviceJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TQFont*) QtSupport::getQt(env, arg1), (int) arg2); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPaintDevice_fontMet__Lorg_kde_qt_QFont_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jint arg2, jstring arg3) -{ -static TQCString* _qstring_arg3 = 0; - jint xret = (jint) ((TQPaintDeviceJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TQFont*) QtSupport::getQt(env, arg1), (int) arg2, (const char*) QtSupport::toCharString(env, arg3, &_qstring_arg3)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPaintDevice_fontMet__Lorg_kde_qt_QFont_2ILjava_lang_String_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2, jstring arg3, jint arg4) -{ -static TQCString* _qstring_arg3 = 0; - jint xret = (jint) ((TQPaintDeviceJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TQFont*) QtSupport::getQt(env, arg1), (int) arg2, (const char*) QtSupport::toCharString(env, arg3, &_qstring_arg3), (int) arg4); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPaintDevice_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPaintDevice_isExtDev(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQPaintDevice*) QtSupport::getQt(env, obj))->isExtDev(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPaintDevice_metric(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQPaintDeviceJBridge*) QtSupport::getQt(env, obj))->protected_metric((int) arg1); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPaintDevice_newTQPaintDevice(JNIEnv* env, jobject obj, jint devflags) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPaintDeviceJBridge((uint) devflags)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPaintDevice_paintingActive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQPaintDevice*) QtSupport::getQt(env, obj))->paintingActive(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPaintDevice_resolution(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPaintDevice*) QtSupport::getQt(env, obj))->resolution(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPaintDevice_setResolution(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQPaintDevice*) QtSupport::getQt(env, obj))->setResolution((int) arg1); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QPaintDevice_paintDevice(JNIEnv* env, jobject obj) -{ - return (jlong) (TQPaintDevice *) QtSupport::getQt(env, obj); -} - diff --git a/qtjava/javalib/qtjava/QPaintDevice.h b/qtjava/javalib/qtjava/QPaintDevice.h deleted file mode 100644 index baf6abea..00000000 --- a/qtjava/javalib/qtjava/QPaintDevice.h +++ /dev/null @@ -1,33 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QPaintDevice__ -#define __org_kde_qt_QPaintDevice__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDevice_devType (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPaintDevice_isExtDev (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPaintDevice_paintingActive (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPaintDevice_setResolution (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDevice_resolution (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPaintDevice_newTQPaintDevice (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDevice_metric (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDevice_fontMet__Lorg_kde_qt_QFont_2ILjava_lang_String_2I (JNIEnv *env, jobject, jobject, jint, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDevice_fontMet__Lorg_kde_qt_QFont_2ILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDevice_fontMet__Lorg_kde_qt_QFont_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDevice_fontInf (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPaintDevice_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPaintDevice_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPaintDevice_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QPaintDevice_paintDevice (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QPaintDevice__ */ diff --git a/qtjava/javalib/qtjava/QPaintDeviceMetrics.cpp b/qtjava/javalib/qtjava/QPaintDeviceMetrics.cpp deleted file mode 100644 index 82e152e5..00000000 --- a/qtjava/javalib/qtjava/QPaintDeviceMetrics.cpp +++ /dev/null @@ -1,116 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - -class TQPaintDeviceMetricsJBridge : public TQPaintDeviceMetrics -{ -public: - TQPaintDeviceMetricsJBridge(const TQPaintDevice* arg1) : TQPaintDeviceMetrics(arg1) {}; - ~TQPaintDeviceMetricsJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPaintDeviceMetrics_depth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPaintDeviceMetrics*) QtSupport::getQt(env, obj))->depth(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPaintDeviceMetrics_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QPaintDeviceMetrics_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPaintDeviceMetrics_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQPaintDeviceMetrics*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPaintDeviceMetrics_heightMM(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPaintDeviceMetrics*) QtSupport::getQt(env, obj))->heightMM(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPaintDeviceMetrics_height(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPaintDeviceMetrics*) QtSupport::getQt(env, obj))->height(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPaintDeviceMetrics_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPaintDeviceMetrics_logicalDpiX(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPaintDeviceMetrics*) QtSupport::getQt(env, obj))->logicalDpiX(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPaintDeviceMetrics_logicalDpiY(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPaintDeviceMetrics*) QtSupport::getQt(env, obj))->logicalDpiY(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPaintDeviceMetrics_newTQPaintDeviceMetrics(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPaintDeviceMetricsJBridge((const TQPaintDevice*) QtSupport::paintDevice(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPaintDeviceMetrics_numColors(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPaintDeviceMetrics*) QtSupport::getQt(env, obj))->numColors(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPaintDeviceMetrics_physicalDpiX(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPaintDeviceMetrics*) QtSupport::getQt(env, obj))->physicalDpiX(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPaintDeviceMetrics_physicalDpiY(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPaintDeviceMetrics*) QtSupport::getQt(env, obj))->physicalDpiY(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPaintDeviceMetrics_widthMM(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPaintDeviceMetrics*) QtSupport::getQt(env, obj))->widthMM(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPaintDeviceMetrics_width(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPaintDeviceMetrics*) QtSupport::getQt(env, obj))->width(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QPaintDeviceMetrics.h b/qtjava/javalib/qtjava/QPaintDeviceMetrics.h deleted file mode 100644 index fcbf8278..00000000 --- a/qtjava/javalib/qtjava/QPaintDeviceMetrics.h +++ /dev/null @@ -1,32 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QPaintDeviceMetrics__ -#define __org_kde_qt_QPaintDeviceMetrics__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPaintDeviceMetrics_newTQPaintDeviceMetrics (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDeviceMetrics_width (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDeviceMetrics_height (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDeviceMetrics_widthMM (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDeviceMetrics_heightMM (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDeviceMetrics_logicalDpiX (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDeviceMetrics_logicalDpiY (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDeviceMetrics_physicalDpiX (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDeviceMetrics_physicalDpiY (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDeviceMetrics_numColors (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDeviceMetrics_depth (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPaintDeviceMetrics_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPaintDeviceMetrics_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPaintDeviceMetrics_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QPaintDeviceMetrics__ */ diff --git a/qtjava/javalib/qtjava/QPaintEvent.cpp b/qtjava/javalib/qtjava/QPaintEvent.cpp deleted file mode 100644 index cc2cdacb..00000000 --- a/qtjava/javalib/qtjava/QPaintEvent.cpp +++ /dev/null @@ -1,124 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQPaintEventJBridge : public TQPaintEvent -{ -public: - TQPaintEventJBridge(const TQRegion& arg1,bool arg2) : TQPaintEvent(arg1,arg2) {}; - TQPaintEventJBridge(const TQRegion& arg1) : TQPaintEvent(arg1) {}; - TQPaintEventJBridge(const TQRect& arg1,bool arg2) : TQPaintEvent(arg1,arg2) {}; - TQPaintEventJBridge(const TQRect& arg1) : TQPaintEvent(arg1) {}; - TQPaintEventJBridge(const TQRegion& arg1,const TQRect& arg2,bool arg3) : TQPaintEvent(arg1,arg2,arg3) {}; - TQPaintEventJBridge(const TQRegion& arg1,const TQRect& arg2) : TQPaintEvent(arg1,arg2) {}; - ~TQPaintEventJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPaintEvent_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QPaintEvent_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPaintEvent_erased(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQPaintEvent*) QtSupport::getQt(env, obj))->erased(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPaintEvent_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQPaintEvent*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPaintEvent_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPaintEvent_newTQPaintEvent__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject paintRect) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPaintEventJBridge((const TQRect&)*(const TQRect*) QtSupport::getQt(env, paintRect))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPaintEvent_newTQPaintEvent__Lorg_kde_qt_QRect_2Z(JNIEnv* env, jobject obj, jobject paintRect, jboolean erased) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPaintEventJBridge((const TQRect&)*(const TQRect*) QtSupport::getQt(env, paintRect), (bool) erased)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPaintEvent_newTQPaintEvent__Lorg_kde_qt_QRegion_2(JNIEnv* env, jobject obj, jobject paintRegion) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPaintEventJBridge((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, paintRegion))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPaintEvent_newTQPaintEvent__Lorg_kde_qt_QRegion_2Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject paintRegion, jobject paintRect) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPaintEventJBridge((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, paintRegion), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, paintRect))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPaintEvent_newTQPaintEvent__Lorg_kde_qt_QRegion_2Lorg_kde_qt_QRect_2Z(JNIEnv* env, jobject obj, jobject paintRegion, jobject paintRect, jboolean erased) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPaintEventJBridge((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, paintRegion), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, paintRect), (bool) erased)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPaintEvent_newTQPaintEvent__Lorg_kde_qt_QRegion_2Z(JNIEnv* env, jobject obj, jobject paintRegion, jboolean erased) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPaintEventJBridge((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, paintRegion), (bool) erased)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPaintEvent_rect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRect *) &((TQPaintEvent*) QtSupport::getQt(env, obj))->rect(), "org.kde.qt.TQRect"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPaintEvent_region(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRegion *) &((TQPaintEvent*) QtSupport::getQt(env, obj))->region(), "org.kde.qt.TQRegion"); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QPaintEvent.h b/qtjava/javalib/qtjava/QPaintEvent.h deleted file mode 100644 index e0002747..00000000 --- a/qtjava/javalib/qtjava/QPaintEvent.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QPaintEvent__ -#define __org_kde_qt_QPaintEvent__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPaintEvent_newTQPaintEvent__Lorg_kde_qt_QRegion_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPaintEvent_newTQPaintEvent__Lorg_kde_qt_QRegion_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPaintEvent_newTQPaintEvent__Lorg_kde_qt_QRect_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPaintEvent_newTQPaintEvent__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPaintEvent_newTQPaintEvent__Lorg_kde_qt_QRegion_2Lorg_kde_qt_QRect_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPaintEvent_newTQPaintEvent__Lorg_kde_qt_QRegion_2Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPaintEvent_rect (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPaintEvent_region (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPaintEvent_erased (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPaintEvent_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPaintEvent_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPaintEvent_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QPaintEvent__ */ diff --git a/qtjava/javalib/qtjava/QPainter.cpp b/qtjava/javalib/qtjava/QPainter.cpp deleted file mode 100644 index 7cfc164c..00000000 --- a/qtjava/javalib/qtjava/QPainter.cpp +++ /dev/null @@ -1,1372 +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 - -class TQPainterJBridge : public TQPainter -{ -public: - TQPainterJBridge() : TQPainter() {}; - TQPainterJBridge(const TQPaintDevice* arg1,bool arg2) : TQPainter(arg1,arg2) {}; - TQPainterJBridge(const TQPaintDevice* arg1) : TQPainter(arg1) {}; - TQPainterJBridge(const TQPaintDevice* arg1,const TQWidget* arg2,bool arg3) : TQPainter(arg1,arg2,arg3) {}; - TQPainterJBridge(const TQPaintDevice* arg1,const TQWidget* arg2) : TQPainter(arg1,arg2) {}; - ~TQPainterJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPainter_backgroundColor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQPainter*) QtSupport::getQt(env, obj))->backgroundColor(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPainter_backgroundMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPainter*) QtSupport::getQt(env, obj))->backgroundMode(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPainter_begin__Lorg_kde_qt_QPaintDeviceInterface_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQPainter*) QtSupport::getQt(env, obj))->begin((const TQPaintDevice*) QtSupport::paintDevice(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPainter_begin__Lorg_kde_qt_QPaintDeviceInterface_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - jboolean xret = (jboolean) ((TQPainter*) QtSupport::getQt(env, obj))->begin((const TQPaintDevice*) QtSupport::paintDevice(env, arg1), (const TQWidget*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPainter_begin__Lorg_kde_qt_QPaintDeviceInterface_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jboolean unclipped) -{ - jboolean xret = (jboolean) ((TQPainter*) QtSupport::getQt(env, obj))->begin((const TQPaintDevice*) QtSupport::paintDevice(env, arg1), (const TQWidget*) QtSupport::getQt(env, arg2), (bool) unclipped); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPainter_begin__Lorg_kde_qt_QPaintDeviceInterface_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean unclipped) -{ - jboolean xret = (jboolean) ((TQPainter*) QtSupport::getQt(env, obj))->begin((const TQPaintDevice*) QtSupport::paintDevice(env, arg1), (bool) unclipped); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPainter_boundingRect__IIIIILjava_lang_String_2(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint flags, jstring arg6) -{ -static TQString* _qstring_arg6 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQPainter*) QtSupport::getQt(env, obj))->boundingRect((int) x, (int) y, (int) w, (int) h, (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6))), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPainter_boundingRect__IIIIILjava_lang_String_2I(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint flags, jstring arg6, jint len) -{ -static TQString* _qstring_arg6 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQPainter*) QtSupport::getQt(env, obj))->boundingRect((int) x, (int) y, (int) w, (int) h, (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (int) len)), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPainter_boundingRect__Lorg_kde_qt_QRect_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jint flags, jstring arg3) -{ -static TQString* _qstring_arg3 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQPainter*) QtSupport::getQt(env, obj))->boundingRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3))), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPainter_boundingRect__Lorg_kde_qt_QRect_2ILjava_lang_String_2I(JNIEnv* env, jobject obj, jobject arg1, jint flags, jstring arg3, jint len) -{ -static TQString* _qstring_arg3 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQPainter*) QtSupport::getQt(env, obj))->boundingRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (int) len)), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPainter_brushOrigin(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQPainter*) QtSupport::getQt(env, obj))->brushOrigin(), "org.kde.qt.TQPoint"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPainter_brush(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQBrush *) &((TQPainter*) QtSupport::getQt(env, obj))->brush(), "org.kde.qt.TQBrush"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_cleanup(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TQPainterJBridge::cleanup(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPainter_clipRegion__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQPainter*) QtSupport::getQt(env, obj))->clipRegion()), "org.kde.qt.TQRegion", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPainter_clipRegion__I(JNIEnv* env, jobject obj, jint arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQPainter*) QtSupport::getQt(env, obj))->clipRegion((TQPainter::CoordinateMode) arg1)), "org.kde.qt.TQRegion", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPainter_device(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQPainter*) QtSupport::getQt(env, obj))->device(), "org.kde.qt.TQPaintDeviceInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QPainter_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawArc__IIIIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint a, jint alen) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawArc((int) x, (int) y, (int) w, (int) h, (int) a, (int) alen); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawArc__Lorg_kde_qt_QRect_2II(JNIEnv* env, jobject obj, jobject arg1, jint a, jint alen) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawArc((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (int) a, (int) alen); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawChord__IIIIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint a, jint alen) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawChord((int) x, (int) y, (int) w, (int) h, (int) a, (int) alen); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawChord__Lorg_kde_qt_QRect_2II(JNIEnv* env, jobject obj, jobject arg1, jint a, jint alen) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawChord((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (int) a, (int) alen); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawConvexPolygon__Lorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawConvexPolygon((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawConvexPolygon__Lorg_kde_qt_QPointArray_2I(JNIEnv* env, jobject obj, jobject arg1, jint index) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawConvexPolygon((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawConvexPolygon__Lorg_kde_qt_QPointArray_2II(JNIEnv* env, jobject obj, jobject arg1, jint index, jint npoints) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawConvexPolygon((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (int) index, (int) npoints); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawCubicBezier__Lorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawCubicBezier((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawCubicBezier__Lorg_kde_qt_QPointArray_2I(JNIEnv* env, jobject obj, jobject arg1, jint index) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawCubicBezier((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawEllipse__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawEllipse((int) x, (int) y, (int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawEllipse__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawEllipse((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawImage__IILorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jint x, jint y, jobject arg3) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawImage((int) x, (int) y, (const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg3)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawImage__IILorg_kde_qt_QImage_2I(JNIEnv* env, jobject obj, jint x, jint y, jobject arg3, jint sx) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawImage((int) x, (int) y, (const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg3), (int) sx); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawImage__IILorg_kde_qt_QImage_2II(JNIEnv* env, jobject obj, jint x, jint y, jobject arg3, jint sx, jint sy) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawImage((int) x, (int) y, (const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg3), (int) sx, (int) sy); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawImage__IILorg_kde_qt_QImage_2III(JNIEnv* env, jobject obj, jint x, jint y, jobject arg3, jint sx, jint sy, jint sw) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawImage((int) x, (int) y, (const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg3), (int) sx, (int) sy, (int) sw); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawImage__IILorg_kde_qt_QImage_2IIII(JNIEnv* env, jobject obj, jint x, jint y, jobject arg3, jint sx, jint sy, jint sw, jint sh) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawImage((int) x, (int) y, (const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg3), (int) sx, (int) sy, (int) sw, (int) sh); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawImage__IILorg_kde_qt_QImage_2IIIII(JNIEnv* env, jobject obj, jint x, jint y, jobject arg3, jint sx, jint sy, jint sw, jint sh, jint conversionFlags) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawImage((int) x, (int) y, (const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg3), (int) sx, (int) sy, (int) sw, (int) sh, (int) conversionFlags); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawImage__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawImage((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawImage__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QImage_2I(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jint conversion_flags) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawImage((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg2), (int) conversion_flags); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawImage__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QImage_2Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jobject sr) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawImage((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg2), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, sr)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawImage__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QImage_2Lorg_kde_qt_QRect_2I(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jobject sr, jint conversionFlags) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawImage((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg2), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, sr), (int) conversionFlags); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawImage__Lorg_kde_qt_QRect_2Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawImage((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawLineSegments__Lorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawLineSegments((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawLineSegments__Lorg_kde_qt_QPointArray_2I(JNIEnv* env, jobject obj, jobject arg1, jint index) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawLineSegments((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawLineSegments__Lorg_kde_qt_QPointArray_2II(JNIEnv* env, jobject obj, jobject arg1, jint index, jint nlines) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawLineSegments((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (int) index, (int) nlines); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawLine__IIII(JNIEnv* env, jobject obj, jint x1, jint y1, jint x2, jint y2) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawLine((int) x1, (int) y1, (int) x2, (int) y2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawLine__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawLine((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawPicture__IILorg_kde_qt_QPicture_2(JNIEnv* env, jobject obj, jint x, jint y, jobject arg3) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawPicture((int) x, (int) y, (const TQPicture&)*(const TQPicture*) QtSupport::getQt(env, arg3)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawPicture__Lorg_kde_qt_QPicture_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawPicture((const TQPicture&)*(const TQPicture*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawPicture__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPicture_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawPicture((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQPicture&)*(const TQPicture*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawPie__IIIIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint a, jint alen) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawPie((int) x, (int) y, (int) w, (int) h, (int) a, (int) alen); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawPie__Lorg_kde_qt_QRect_2II(JNIEnv* env, jobject obj, jobject arg1, jint a, jint alen) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawPie((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (int) a, (int) alen); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawPixmap__IILorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jint x, jint y, jobject arg3) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawPixmap((int) x, (int) y, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg3)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawPixmap__IILorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jint x, jint y, jobject arg3, jint sx) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawPixmap((int) x, (int) y, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg3), (int) sx); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawPixmap__IILorg_kde_qt_QPixmap_2II(JNIEnv* env, jobject obj, jint x, jint y, jobject arg3, jint sx, jint sy) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawPixmap((int) x, (int) y, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg3), (int) sx, (int) sy); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawPixmap__IILorg_kde_qt_QPixmap_2III(JNIEnv* env, jobject obj, jint x, jint y, jobject arg3, jint sx, jint sy, jint sw) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawPixmap((int) x, (int) y, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg3), (int) sx, (int) sy, (int) sw); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawPixmap__IILorg_kde_qt_QPixmap_2IIII(JNIEnv* env, jobject obj, jint x, jint y, jobject arg3, jint sx, jint sy, jint sw, jint sh) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawPixmap((int) x, (int) y, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg3), (int) sx, (int) sy, (int) sw, (int) sh); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawPixmap__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawPixmap((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawPixmap__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jobject sr) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawPixmap((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg2), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, sr)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawPixmap__Lorg_kde_qt_QRect_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawPixmap((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawPoint__II(JNIEnv* env, jobject obj, jint x, jint y) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawPoint((int) x, (int) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawPoint__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawPoint((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawPoints__Lorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject a) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawPoints((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, a)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawPoints__Lorg_kde_qt_QPointArray_2I(JNIEnv* env, jobject obj, jobject a, jint index) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawPoints((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, a), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawPoints__Lorg_kde_qt_QPointArray_2II(JNIEnv* env, jobject obj, jobject a, jint index, jint npoints) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawPoints((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, a), (int) index, (int) npoints); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawPolygon__Lorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawPolygon((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawPolygon__Lorg_kde_qt_QPointArray_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean winding) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawPolygon((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (bool) winding); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawPolygon__Lorg_kde_qt_QPointArray_2ZI(JNIEnv* env, jobject obj, jobject arg1, jboolean winding, jint index) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawPolygon((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (bool) winding, (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawPolygon__Lorg_kde_qt_QPointArray_2ZII(JNIEnv* env, jobject obj, jobject arg1, jboolean winding, jint index, jint npoints) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawPolygon((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (bool) winding, (int) index, (int) npoints); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawPolyline__Lorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawPolyline((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawPolyline__Lorg_kde_qt_QPointArray_2I(JNIEnv* env, jobject obj, jobject arg1, jint index) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawPolyline((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawPolyline__Lorg_kde_qt_QPointArray_2II(JNIEnv* env, jobject obj, jobject arg1, jint index, jint npoints) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawPolyline((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (int) index, (int) npoints); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawRect__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawRect((int) x, (int) y, (int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawRect__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawRoundRect__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawRoundRect((int) x, (int) y, (int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawRoundRect__IIIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint arg5) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawRoundRect((int) x, (int) y, (int) w, (int) h, (int) arg5); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawRoundRect__IIIIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint arg5, jint arg6) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawRoundRect((int) x, (int) y, (int) w, (int) h, (int) arg5, (int) arg6); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawRoundRect__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawRoundRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawRoundRect__Lorg_kde_qt_QRect_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawRoundRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (int) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawRoundRect__Lorg_kde_qt_QRect_2II(JNIEnv* env, jobject obj, jobject arg1, jint arg2, jint arg3) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawRoundRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (int) arg2, (int) arg3); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawText__IIIIILjava_lang_String_2(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint flags, jstring arg6) -{ -static TQString* _qstring_arg6 = 0; - ((TQPainter*) QtSupport::getQt(env, obj))->drawText((int) x, (int) y, (int) w, (int) h, (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawText__IIIIILjava_lang_String_2I(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint flags, jstring arg6, jint len) -{ -static TQString* _qstring_arg6 = 0; - ((TQPainter*) QtSupport::getQt(env, obj))->drawText((int) x, (int) y, (int) w, (int) h, (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (int) len); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawText__IIIIILjava_lang_String_2ILorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint flags, jstring arg6, jint len, jobject br) -{ -static TQString* _qstring_arg6 = 0; - ((TQPainter*) QtSupport::getQt(env, obj))->drawText((int) x, (int) y, (int) w, (int) h, (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (int) len, (TQRect*) QtSupport::getQt(env, br)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawText__IILjava_lang_String_2(JNIEnv* env, jobject obj, jint x, jint y, jstring arg3) -{ -static TQString* _qstring_arg3 = 0; - ((TQPainter*) QtSupport::getQt(env, obj))->drawText((int) x, (int) y, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawText__IILjava_lang_String_2I(JNIEnv* env, jobject obj, jint x, jint y, jstring arg3, jint len) -{ -static TQString* _qstring_arg3 = 0; - ((TQPainter*) QtSupport::getQt(env, obj))->drawText((int) x, (int) y, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (int) len); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawText__IILjava_lang_String_2II(JNIEnv* env, jobject obj, jint x, jint y, jstring arg3, jint len, jint dir) -{ -static TQString* _qstring_arg3 = 0; - ((TQPainter*) QtSupport::getQt(env, obj))->drawText((int) x, (int) y, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (int) len, (TQPainter::TextDirection) dir); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawText__IILjava_lang_String_2III(JNIEnv* env, jobject obj, jint x, jint y, jstring arg3, jint pos, jint len, jint dir) -{ -static TQString* _qstring_arg3 = 0; - ((TQPainter*) QtSupport::getQt(env, obj))->drawText((int) x, (int) y, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (int) pos, (int) len, (TQPainter::TextDirection) dir); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawText__Lorg_kde_qt_QPoint_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - ((TQPainter*) QtSupport::getQt(env, obj))->drawText((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawText__Lorg_kde_qt_QPoint_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject arg1, jstring arg2, jint len) -{ -static TQString* _qstring_arg2 = 0; - ((TQPainter*) QtSupport::getQt(env, obj))->drawText((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (int) len); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawText__Lorg_kde_qt_QPoint_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jobject arg1, jstring arg2, jint len, jint dir) -{ -static TQString* _qstring_arg2 = 0; - ((TQPainter*) QtSupport::getQt(env, obj))->drawText((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (int) len, (TQPainter::TextDirection) dir); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawText__Lorg_kde_qt_QPoint_2Ljava_lang_String_2III(JNIEnv* env, jobject obj, jobject p, jstring arg2, jint pos, jint len, jint dir) -{ -static TQString* _qstring_arg2 = 0; - ((TQPainter*) QtSupport::getQt(env, obj))->drawText((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (int) pos, (int) len, (TQPainter::TextDirection) dir); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawText__Lorg_kde_qt_QRect_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jint flags, jstring arg3) -{ -static TQString* _qstring_arg3 = 0; - ((TQPainter*) QtSupport::getQt(env, obj))->drawText((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawText__Lorg_kde_qt_QRect_2ILjava_lang_String_2I(JNIEnv* env, jobject obj, jobject arg1, jint flags, jstring arg3, jint len) -{ -static TQString* _qstring_arg3 = 0; - ((TQPainter*) QtSupport::getQt(env, obj))->drawText((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (int) len); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawText__Lorg_kde_qt_QRect_2ILjava_lang_String_2ILorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1, jint flags, jstring arg3, jint len, jobject br) -{ -static TQString* _qstring_arg3 = 0; - ((TQPainter*) QtSupport::getQt(env, obj))->drawText((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (int) len, (TQRect*) QtSupport::getQt(env, br)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawTiledPixmap__IIIILorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jobject arg5) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawTiledPixmap((int) x, (int) y, (int) w, (int) h, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg5)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawTiledPixmap__IIIILorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jobject arg5, jint sx) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawTiledPixmap((int) x, (int) y, (int) w, (int) h, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg5), (int) sx); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawTiledPixmap__IIIILorg_kde_qt_QPixmap_2II(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jobject arg5, jint sx, jint sy) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawTiledPixmap((int) x, (int) y, (int) w, (int) h, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg5), (int) sx, (int) sy); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawTiledPixmap__Lorg_kde_qt_QRect_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawTiledPixmap((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawTiledPixmap__Lorg_kde_qt_QRect_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jobject arg3) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawTiledPixmap((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg2), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg3)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawWinFocusRect__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawWinFocusRect((int) x, (int) y, (int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawWinFocusRect__IIIILorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jobject bgColor) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawWinFocusRect((int) x, (int) y, (int) w, (int) h, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, bgColor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawWinFocusRect__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawWinFocusRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_drawWinFocusRect__Lorg_kde_qt_QRect_2Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject arg1, jobject bgColor) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->drawWinFocusRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, bgColor)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPainter_end(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQPainter*) QtSupport::getQt(env, obj))->end(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_eraseRect__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->eraseRect((int) x, (int) y, (int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_eraseRect__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->eraseRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_fillRect__IIIILorg_kde_qt_QBrush_2(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jobject arg5) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->fillRect((int) x, (int) y, (int) w, (int) h, (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, arg5)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_fillRect__Lorg_kde_qt_QRect_2Lorg_kde_qt_QBrush_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->fillRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQPainter*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_flush__(JNIEnv* env, jobject obj) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->flush(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_flush__Lorg_kde_qt_QRegion_2(JNIEnv* env, jobject obj, jobject region) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->flush((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, region)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_flush__Lorg_kde_qt_QRegion_2I(JNIEnv* env, jobject obj, jobject region, jint cm) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->flush((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, region), (TQPainter::CoordinateMode) cm); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPainter_fontInfo(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFontInfo(((TQPainter*) QtSupport::getQt(env, obj))->fontInfo()), "org.kde.qt.TQFontInfo", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPainter_fontMetrics(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFontMetrics(((TQPainter*) QtSupport::getQt(env, obj))->fontMetrics()), "org.kde.qt.TQFontMetrics", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPainter_font(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQFont *) &((TQPainter*) QtSupport::getQt(env, obj))->font(), "org.kde.qt.TQFont"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPainter_hasClipping(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQPainter*) QtSupport::getQt(env, obj))->hasClipping(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPainter_hasViewXForm(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQPainter*) QtSupport::getQt(env, obj))->hasViewXForm(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPainter_hasWorldXForm(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQPainter*) QtSupport::getQt(env, obj))->hasWorldXForm(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_initialize(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TQPainterJBridge::initialize(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPainter_isActive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQPainter*) QtSupport::getQt(env, obj))->isActive(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPainter_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_lineTo__II(JNIEnv* env, jobject obj, jint x, jint y) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->lineTo((int) x, (int) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_lineTo__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->lineTo((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_moveTo__II(JNIEnv* env, jobject obj, jint x, jint y) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->moveTo((int) x, (int) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_moveTo__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->moveTo((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_newTQPainter__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPainterJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_newTQPainter__Lorg_kde_qt_QPaintDeviceInterface_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPainterJBridge((const TQPaintDevice*) QtSupport::paintDevice(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_newTQPainter__Lorg_kde_qt_QPaintDeviceInterface_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPainterJBridge((const TQPaintDevice*) QtSupport::paintDevice(env, arg1), (const TQWidget*) QtSupport::getQt(env, arg2))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_newTQPainter__Lorg_kde_qt_QPaintDeviceInterface_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jboolean unclipped) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPainterJBridge((const TQPaintDevice*) QtSupport::paintDevice(env, arg1), (const TQWidget*) QtSupport::getQt(env, arg2), (bool) unclipped)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_newTQPainter__Lorg_kde_qt_QPaintDeviceInterface_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean unclipped) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPainterJBridge((const TQPaintDevice*) QtSupport::paintDevice(env, arg1), (bool) unclipped)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPainter_pen(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPen *) &((TQPainter*) QtSupport::getQt(env, obj))->pen(), "org.kde.qt.TQPen"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPainter_pos(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQPainter*) QtSupport::getQt(env, obj))->pos()), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPainter_rasterOp(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPainter*) QtSupport::getQt(env, obj))->rasterOp(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPainter_redirect__Lorg_kde_qt_QPaintDeviceInterface_2(JNIEnv* env, jclass cls, jobject pdev) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQPainterJBridge::redirect((TQPaintDevice*) QtSupport::paintDevice(env, pdev)), "org.kde.qt.TQPaintDeviceInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_redirect__Lorg_kde_qt_QPaintDeviceInterface_2Lorg_kde_qt_QPaintDeviceInterface_2(JNIEnv* env, jclass cls, jobject pdev, jobject replacement) -{ - (void) cls; - TQPainterJBridge::redirect((TQPaintDevice*) QtSupport::paintDevice(env, pdev), (TQPaintDevice*) QtSupport::paintDevice(env, replacement)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_resetXForm(JNIEnv* env, jobject obj) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->resetXForm(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_restoreWorldMatrix(JNIEnv* env, jobject obj) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->restoreWorldMatrix(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_restore(JNIEnv* env, jobject obj) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->restore(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_rotate(JNIEnv* env, jobject obj, jdouble a) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->rotate((double) a); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_saveWorldMatrix(JNIEnv* env, jobject obj) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->saveWorldMatrix(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_save(JNIEnv* env, jobject obj) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->save(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_scale(JNIEnv* env, jobject obj, jdouble sx, jdouble sy) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->scale((double) sx, (double) sy); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_setBackgroundColor(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->setBackgroundColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_setBackgroundMode(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->setBackgroundMode((TQt::BGMode) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_setBrushOrigin__II(JNIEnv* env, jobject obj, jint x, jint y) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->setBrushOrigin((int) x, (int) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_setBrushOrigin__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->setBrushOrigin((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_setBrush__I(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->setBrush((TQt::BrushStyle) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_setBrush__Lorg_kde_qt_QBrush_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->setBrush((const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_setBrush__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->setBrush((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_setClipRect__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->setClipRect((int) x, (int) y, (int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_setClipRect__IIIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint arg5) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->setClipRect((int) x, (int) y, (int) w, (int) h, (TQPainter::CoordinateMode) arg5); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_setClipRect__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->setClipRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_setClipRect__Lorg_kde_qt_QRect_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->setClipRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (TQPainter::CoordinateMode) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_setClipRegion__Lorg_kde_qt_QRegion_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->setClipRegion((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_setClipRegion__Lorg_kde_qt_QRegion_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->setClipRegion((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1), (TQPainter::CoordinateMode) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_setClipping(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->setClipping((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_setFont(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_setPen__I(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->setPen((TQt::PenStyle) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_setPen__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->setPen((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_setPen__Lorg_kde_qt_QPen_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->setPen((const TQPen&)*(const TQPen*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_setRasterOp(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->setRasterOp((TQt::RasterOp) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_setTabArray(JNIEnv* env, jobject obj, jintArray arg1) -{ - int* _int_arg1 = QtSupport::toIntPtr(env, arg1); - ((TQPainter*) QtSupport::getQt(env, obj))->setTabArray( (int*) _int_arg1); - env->SetIntArrayRegion(arg1, 0, 1, (jint *) _int_arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_setTabStops(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->setTabStops((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_setViewXForm(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->setViewXForm((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_setViewport__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->setViewport((int) x, (int) y, (int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_setViewport__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->setViewport((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_setWindow__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->setWindow((int) x, (int) y, (int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_setWindow__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->setWindow((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_setWorldMatrix__Lorg_kde_qt_QWMatrix_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->setWorldMatrix((const TQWMatrix&)*(const TQWMatrix*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_setWorldMatrix__Lorg_kde_qt_QWMatrix_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean combine) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->setWorldMatrix((const TQWMatrix&)*(const TQWMatrix*) QtSupport::getQt(env, arg1), (bool) combine); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_setWorldXForm(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->setWorldXForm((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_shear(JNIEnv* env, jobject obj, jdouble sh, jdouble sv) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->shear((double) sh, (double) sv); - return; -} - -JNIEXPORT jintArray JNICALL -Java_org_kde_qt_QPainter_tabArray(JNIEnv* env, jobject obj) -{ - int* _qint; - _qint = ((TQPainter*) QtSupport::getQt(env, obj))->tabArray(); - return QtSupport::fromIntPtr(env, (int*)_qint); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPainter_tabStops(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPainter*) QtSupport::getQt(env, obj))->tabStops(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_translate(JNIEnv* env, jobject obj, jdouble dx, jdouble dy) -{ - ((TQPainter*) QtSupport::getQt(env, obj))->translate((double) dx, (double) dy); - return; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_qt_QPainter_translationX(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((TQPainter*) QtSupport::getQt(env, obj))->translationX(); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_qt_QPainter_translationY(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((TQPainter*) QtSupport::getQt(env, obj))->translationY(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPainter_viewport(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQPainter*) QtSupport::getQt(env, obj))->viewport()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPainter_window(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQPainter*) QtSupport::getQt(env, obj))->window()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPainter_worldMatrix(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQWMatrix *) &((TQPainter*) QtSupport::getQt(env, obj))->worldMatrix(), "org.kde.qt.TQWMatrix"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPainter_xFormDev__Lorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQPainter*) QtSupport::getQt(env, obj))->xFormDev((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQPointArray", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPainter_xFormDev__Lorg_kde_qt_QPointArray_2II(JNIEnv* env, jobject obj, jobject arg1, jint index, jint npoints) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQPainter*) QtSupport::getQt(env, obj))->xFormDev((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (int) index, (int) npoints)), "org.kde.qt.TQPointArray", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPainter_xFormDev__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQPainter*) QtSupport::getQt(env, obj))->xFormDev((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPainter_xFormDev__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQPainter*) QtSupport::getQt(env, obj))->xFormDev((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPainter_xForm__Lorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQPainter*) QtSupport::getQt(env, obj))->xForm((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQPointArray", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPainter_xForm__Lorg_kde_qt_QPointArray_2II(JNIEnv* env, jobject obj, jobject arg1, jint index, jint npoints) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQPainter*) QtSupport::getQt(env, obj))->xForm((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (int) index, (int) npoints)), "org.kde.qt.TQPointArray", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPainter_xForm__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQPainter*) QtSupport::getQt(env, obj))->xForm((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPainter_xForm__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQPainter*) QtSupport::getQt(env, obj))->xForm((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQRect", TRUE); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QPainter.h b/qtjava/javalib/qtjava/QPainter.h deleted file mode 100644 index 54120f50..00000000 --- a/qtjava/javalib/qtjava/QPainter.h +++ /dev/null @@ -1,203 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QPainter__ -#define __org_kde_qt_QPainter__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_newTQPainter__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_newTQPainter__Lorg_kde_qt_QPaintDeviceInterface_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_newTQPainter__Lorg_kde_qt_QPaintDeviceInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_newTQPainter__Lorg_kde_qt_QPaintDeviceInterface_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_newTQPainter__Lorg_kde_qt_QPaintDeviceInterface_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPainter_begin__Lorg_kde_qt_QPaintDeviceInterface_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPainter_begin__Lorg_kde_qt_QPaintDeviceInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPainter_begin__Lorg_kde_qt_QPaintDeviceInterface_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPainter_begin__Lorg_kde_qt_QPaintDeviceInterface_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPainter_end (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_device (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPainter_isActive (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_flush__Lorg_kde_qt_QRegion_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_flush__Lorg_kde_qt_QRegion_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_flush__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_save (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_restore (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_fontMetrics (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_fontInfo (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_font (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setFont (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_pen (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setPen__Lorg_kde_qt_QPen_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setPen__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setPen__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_brush (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setBrush__Lorg_kde_qt_QBrush_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setBrush__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setBrush__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_pos (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_backgroundColor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setBackgroundColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPainter_backgroundMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setBackgroundMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPainter_rasterOp (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setRasterOp (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_brushOrigin (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setBrushOrigin__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setBrushOrigin__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPainter_hasViewXForm (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPainter_hasWorldXForm (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setViewXForm (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_window (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setWindow__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setWindow__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_viewport (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setViewport__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setViewport__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setWorldXForm (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_worldMatrix (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setWorldMatrix__Lorg_kde_qt_QWMatrix_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setWorldMatrix__Lorg_kde_qt_QWMatrix_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_saveWorldMatrix (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_restoreWorldMatrix (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_scale (JNIEnv *env, jobject, jdouble, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_shear (JNIEnv *env, jobject, jdouble, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_rotate (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_translate (JNIEnv *env, jobject, jdouble, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_resetXForm (JNIEnv *env, jobject); -extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QPainter_translationX (JNIEnv *env, jobject); -extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QPainter_translationY (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_xForm__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_xForm__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_xForm__Lorg_kde_qt_QPointArray_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_xForm__Lorg_kde_qt_QPointArray_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_xFormDev__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_xFormDev__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_xFormDev__Lorg_kde_qt_QPointArray_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_xFormDev__Lorg_kde_qt_QPointArray_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setClipping (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPainter_hasClipping (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_clipRegion__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_clipRegion__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setClipRect__Lorg_kde_qt_QRect_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setClipRect__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setClipRect__IIIII (JNIEnv *env, jobject, jint, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setClipRect__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setClipRegion__Lorg_kde_qt_QRegion_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setClipRegion__Lorg_kde_qt_QRegion_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPoint__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPoint__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPoints__Lorg_kde_qt_QPointArray_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPoints__Lorg_kde_qt_QPointArray_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPoints__Lorg_kde_qt_QPointArray_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_moveTo__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_moveTo__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_lineTo__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_lineTo__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawLine__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawLine__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawRect__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawRect__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawWinFocusRect__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawWinFocusRect__IIIILorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawWinFocusRect__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawWinFocusRect__Lorg_kde_qt_QRect_2Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawRoundRect__IIIIII (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawRoundRect__IIIII (JNIEnv *env, jobject, jint, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawRoundRect__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawRoundRect__Lorg_kde_qt_QRect_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawRoundRect__Lorg_kde_qt_QRect_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawRoundRect__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawEllipse__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawEllipse__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawArc__IIIIII (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawArc__Lorg_kde_qt_QRect_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPie__IIIIII (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPie__Lorg_kde_qt_QRect_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawChord__IIIIII (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawChord__Lorg_kde_qt_QRect_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawLineSegments__Lorg_kde_qt_QPointArray_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawLineSegments__Lorg_kde_qt_QPointArray_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawLineSegments__Lorg_kde_qt_QPointArray_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPolyline__Lorg_kde_qt_QPointArray_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPolyline__Lorg_kde_qt_QPointArray_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPolyline__Lorg_kde_qt_QPointArray_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPolygon__Lorg_kde_qt_QPointArray_2ZII (JNIEnv *env, jobject, jobject, jboolean, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPolygon__Lorg_kde_qt_QPointArray_2ZI (JNIEnv *env, jobject, jobject, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPolygon__Lorg_kde_qt_QPointArray_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPolygon__Lorg_kde_qt_QPointArray_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawConvexPolygon__Lorg_kde_qt_QPointArray_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawConvexPolygon__Lorg_kde_qt_QPointArray_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawConvexPolygon__Lorg_kde_qt_QPointArray_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawCubicBezier__Lorg_kde_qt_QPointArray_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawCubicBezier__Lorg_kde_qt_QPointArray_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPixmap__IILorg_kde_qt_QPixmap_2IIII (JNIEnv *env, jobject, jint, jint, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPixmap__IILorg_kde_qt_QPixmap_2III (JNIEnv *env, jobject, jint, jint, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPixmap__IILorg_kde_qt_QPixmap_2II (JNIEnv *env, jobject, jint, jint, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPixmap__IILorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jint, jint, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPixmap__IILorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPixmap__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPixmap__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPixmap__Lorg_kde_qt_QRect_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawImage__IILorg_kde_qt_QImage_2IIIII (JNIEnv *env, jobject, jint, jint, jobject, jint, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawImage__IILorg_kde_qt_QImage_2IIII (JNIEnv *env, jobject, jint, jint, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawImage__IILorg_kde_qt_QImage_2III (JNIEnv *env, jobject, jint, jint, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawImage__IILorg_kde_qt_QImage_2II (JNIEnv *env, jobject, jint, jint, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawImage__IILorg_kde_qt_QImage_2I (JNIEnv *env, jobject, jint, jint, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawImage__IILorg_kde_qt_QImage_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawImage__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QImage_2Lorg_kde_qt_QRect_2I (JNIEnv *env, jobject, jobject, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawImage__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QImage_2Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawImage__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QImage_2I (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawImage__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QImage_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawImage__Lorg_kde_qt_QRect_2Lorg_kde_qt_QImage_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawTiledPixmap__IIIILorg_kde_qt_QPixmap_2II (JNIEnv *env, jobject, jint, jint, jint, jint, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawTiledPixmap__IIIILorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jint, jint, jint, jint, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawTiledPixmap__IIIILorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawTiledPixmap__Lorg_kde_qt_QRect_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawTiledPixmap__Lorg_kde_qt_QRect_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPicture__Lorg_kde_qt_QPicture_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPicture__IILorg_kde_qt_QPicture_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPicture__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPicture_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_fillRect__IIIILorg_kde_qt_QBrush_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_fillRect__Lorg_kde_qt_QRect_2Lorg_kde_qt_QBrush_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_eraseRect__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_eraseRect__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawText__IILjava_lang_String_2II (JNIEnv *env, jobject, jint, jint, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawText__IILjava_lang_String_2I (JNIEnv *env, jobject, jint, jint, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawText__IILjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawText__Lorg_kde_qt_QPoint_2Ljava_lang_String_2II (JNIEnv *env, jobject, jobject, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawText__Lorg_kde_qt_QPoint_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawText__Lorg_kde_qt_QPoint_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawText__IILjava_lang_String_2III (JNIEnv *env, jobject, jint, jint, jstring, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawText__Lorg_kde_qt_QPoint_2Ljava_lang_String_2III (JNIEnv *env, jobject, jobject, jstring, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawText__IIIIILjava_lang_String_2ILorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jstring, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawText__IIIIILjava_lang_String_2I (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawText__IIIIILjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawText__Lorg_kde_qt_QRect_2ILjava_lang_String_2ILorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject, jint, jstring, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawText__Lorg_kde_qt_QRect_2ILjava_lang_String_2I (JNIEnv *env, jobject, jobject, jint, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawText__Lorg_kde_qt_QRect_2ILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_boundingRect__IIIIILjava_lang_String_2I (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_boundingRect__IIIIILjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_boundingRect__Lorg_kde_qt_QRect_2ILjava_lang_String_2I (JNIEnv *env, jobject, jobject, jint, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_boundingRect__Lorg_kde_qt_QRect_2ILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPainter_tabStops (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setTabStops (JNIEnv *env, jobject, jint); -extern JNIEXPORT jintArray JNICALL Java_org_kde_qt_QPainter_tabArray (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setTabArray (JNIEnv *env, jobject, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_redirect__Lorg_kde_qt_QPaintDeviceInterface_2Lorg_kde_qt_QPaintDeviceInterface_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_redirect__Lorg_kde_qt_QPaintDeviceInterface_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_initialize (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_cleanup (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPainter_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QPainter__ */ diff --git a/qtjava/javalib/qtjava/QPalette.cpp b/qtjava/javalib/qtjava/QPalette.cpp deleted file mode 100644 index 7a6cd7d3..00000000 --- a/qtjava/javalib/qtjava/QPalette.cpp +++ /dev/null @@ -1,244 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -class TQPaletteJBridge : public TQPalette -{ -public: - TQPaletteJBridge() : TQPalette() {}; - TQPaletteJBridge(const TQColor& arg1) : TQPalette(arg1) {}; - TQPaletteJBridge(const TQColor& arg1,const TQColor& arg2) : TQPalette(arg1,arg2) {}; - TQPaletteJBridge(const TQColorGroup& arg1,const TQColorGroup& arg2,const TQColorGroup& arg3) : TQPalette(arg1,arg2,arg3) {}; - TQPaletteJBridge(const TQPalette& arg1) : TQPalette(arg1) {}; - ~TQPaletteJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPalette_active(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColorGroup *) &((TQPalette*) QtSupport::getQt(env, obj))->active(), "org.kde.qt.TQColorGroup"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPalette_backgroundRoleFromMode(JNIEnv* env, jclass cls, jint mode) -{ - (void) cls; - (void) env; - jint xret = (jint) TQPaletteJBridge::backgroundRoleFromMode((TQt::BackgroundMode) mode); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPalette_brush(JNIEnv* env, jobject obj, jint arg1, jint arg2) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQBrush *) &((TQPalette*) QtSupport::getQt(env, obj))->brush((TQPalette::ColorGroup) arg1, (TQColorGroup::ColorRole) arg2), "org.kde.qt.TQBrush"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPalette_color(JNIEnv* env, jobject obj, jint arg1, jint arg2) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQPalette*) QtSupport::getQt(env, obj))->color((TQPalette::ColorGroup) arg1, (TQColorGroup::ColorRole) arg2), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPalette_copy(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPalette(((TQPalette*) QtSupport::getQt(env, obj))->copy()), "org.kde.qt.TQPalette", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPalette_disabled(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColorGroup *) &((TQPalette*) QtSupport::getQt(env, obj))->disabled(), "org.kde.qt.TQColorGroup"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPalette_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QPalette_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPalette_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQPalette*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPalette_foregroundRoleFromMode(JNIEnv* env, jclass cls, jint mode) -{ - (void) cls; - (void) env; - jint xret = (jint) TQPaletteJBridge::foregroundRoleFromMode((TQt::BackgroundMode) mode); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPalette_inactive(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColorGroup *) &((TQPalette*) QtSupport::getQt(env, obj))->inactive(), "org.kde.qt.TQColorGroup"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPalette_isCopyOf(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQPalette*) QtSupport::getQt(env, obj))->isCopyOf((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPalette_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPalette_newTQPalette__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPaletteJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPalette_newTQPalette__Lorg_kde_qt_QColorGroup_2Lorg_kde_qt_QColorGroup_2Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jobject obj, jobject active, jobject disabled, jobject inactive) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPaletteJBridge((const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, active), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, disabled), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, inactive))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPalette_newTQPalette__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject button) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPaletteJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, button))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPalette_newTQPalette__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject button, jobject background) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPaletteJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, button), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, background))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPalette_newTQPalette__Lorg_kde_qt_QPalette_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPaletteJBridge((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPalette_normal(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColorGroup *) &((TQPalette*) QtSupport::getQt(env, obj))->normal(), "org.kde.qt.TQColorGroup"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPalette_op_1equals(JNIEnv* env, jobject obj, jobject p) -{ - jboolean xret = (jboolean) ((TQPalette*) QtSupport::getQt(env, obj))->operator==((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, p)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPalette_op_1not_1equals(JNIEnv* env, jobject obj, jobject p) -{ - jboolean xret = (jboolean) ((TQPalette*) QtSupport::getQt(env, obj))->operator!=((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, p)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPalette_serialNumber(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPalette*) QtSupport::getQt(env, obj))->serialNumber(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPalette_setActive(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPalette*) QtSupport::getQt(env, obj))->setActive((const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPalette_setBrush__IILorg_kde_qt_QBrush_2(JNIEnv* env, jobject obj, jint arg1, jint arg2, jobject arg3) -{ - ((TQPalette*) QtSupport::getQt(env, obj))->setBrush((TQPalette::ColorGroup) arg1, (TQColorGroup::ColorRole) arg2, (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, arg3)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPalette_setBrush__ILorg_kde_qt_QBrush_2(JNIEnv* env, jobject obj, jint arg1, jobject arg2) -{ - ((TQPalette*) QtSupport::getQt(env, obj))->setBrush((TQColorGroup::ColorRole) arg1, (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPalette_setColor__IILorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jint arg1, jint arg2, jobject arg3) -{ - ((TQPalette*) QtSupport::getQt(env, obj))->setColor((TQPalette::ColorGroup) arg1, (TQColorGroup::ColorRole) arg2, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg3)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPalette_setColor__ILorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jint arg1, jobject arg2) -{ - ((TQPalette*) QtSupport::getQt(env, obj))->setColor((TQColorGroup::ColorRole) arg1, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPalette_setDisabled(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPalette*) QtSupport::getQt(env, obj))->setDisabled((const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPalette_setInactive(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPalette*) QtSupport::getQt(env, obj))->setInactive((const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPalette_setNormal(JNIEnv* env, jobject obj, jobject cg) -{ - ((TQPalette*) QtSupport::getQt(env, obj))->setNormal((const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg)); - return; -} - diff --git a/qtjava/javalib/qtjava/QPalette.h b/qtjava/javalib/qtjava/QPalette.h deleted file mode 100644 index 4417a42a..00000000 --- a/qtjava/javalib/qtjava/QPalette.h +++ /dev/null @@ -1,47 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QPalette__ -#define __org_kde_qt_QPalette__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPalette_newTQPalette__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPalette_newTQPalette__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPalette_newTQPalette__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPalette_newTQPalette__Lorg_kde_qt_QColorGroup_2Lorg_kde_qt_QColorGroup_2Lorg_kde_qt_QColorGroup_2 (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPalette_newTQPalette__Lorg_kde_qt_QPalette_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPalette_color (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPalette_brush (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPalette_setColor__IILorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPalette_setBrush__IILorg_kde_qt_QBrush_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPalette_setColor__ILorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPalette_setBrush__ILorg_kde_qt_QBrush_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPalette_copy (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPalette_active (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPalette_disabled (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPalette_inactive (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPalette_normal (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPalette_setActive (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPalette_setDisabled (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPalette_setInactive (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPalette_setNormal (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPalette_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPalette_op_1not_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPalette_isCopyOf (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPalette_serialNumber (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPalette_foregroundRoleFromMode (JNIEnv *env, jclass, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPalette_backgroundRoleFromMode (JNIEnv *env, jclass, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPalette_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPalette_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPalette_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QPalette__ */ diff --git a/qtjava/javalib/qtjava/QPen.cpp b/qtjava/javalib/qtjava/QPen.cpp deleted file mode 100644 index c2d55bf7..00000000 --- a/qtjava/javalib/qtjava/QPen.cpp +++ /dev/null @@ -1,198 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQPenJBridge : public TQPen -{ -public: - TQPenJBridge() : TQPen() {}; - TQPenJBridge(TQt::PenStyle arg1) : TQPen(arg1) {}; - TQPenJBridge(const TQColor& arg1,uint arg2,TQt::PenStyle arg3) : TQPen(arg1,arg2,arg3) {}; - TQPenJBridge(const TQColor& arg1,uint arg2) : TQPen(arg1,arg2) {}; - TQPenJBridge(const TQColor& arg1) : TQPen(arg1) {}; - TQPenJBridge(const TQColor& arg1,uint arg2,TQt::PenStyle arg3,TQt::PenCapStyle arg4,TQt::PenJoinStyle arg5) : TQPen(arg1,arg2,arg3,arg4,arg5) {}; - TQPenJBridge(const TQPen& arg1) : TQPen(arg1) {}; - ~TQPenJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPen_capStyle(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPen*) QtSupport::getQt(env, obj))->capStyle(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPen_color(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQPen*) QtSupport::getQt(env, obj))->color(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPen_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QPen_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPen_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQPen*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPen_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPen_joinStyle(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPen*) QtSupport::getQt(env, obj))->joinStyle(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPen_newTQPen__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPenJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPen_newTQPen__I(JNIEnv* env, jobject obj, jint arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPenJBridge((TQt::PenStyle) arg1)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPen_newTQPen__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject color) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPenJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, color))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPen_newTQPen__Lorg_kde_qt_QColor_2I(JNIEnv* env, jobject obj, jobject color, jint width) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPenJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, color), (uint) width)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPen_newTQPen__Lorg_kde_qt_QColor_2II(JNIEnv* env, jobject obj, jobject color, jint width, jint style) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPenJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, color), (uint) width, (TQt::PenStyle) style)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPen_newTQPen__Lorg_kde_qt_QColor_2IIII(JNIEnv* env, jobject obj, jobject cl, jint w, jint s, jint c, jint j) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPenJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, cl), (uint) w, (TQt::PenStyle) s, (TQt::PenCapStyle) c, (TQt::PenJoinStyle) j)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPen_newTQPen__Lorg_kde_qt_QPen_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPenJBridge((const TQPen&)*(const TQPen*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPen_op_1equals(JNIEnv* env, jobject obj, jobject p) -{ - jboolean xret = (jboolean) ((TQPen*) QtSupport::getQt(env, obj))->operator==((const TQPen&)*(const TQPen*) QtSupport::getQt(env, p)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPen_op_1not_1equals(JNIEnv* env, jobject obj, jobject p) -{ - jboolean xret = (jboolean) ((TQPen*) QtSupport::getQt(env, obj))->operator!=((const TQPen&)*(const TQPen*) QtSupport::getQt(env, p)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPen_setCapStyle(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQPen*) QtSupport::getQt(env, obj))->setCapStyle((TQt::PenCapStyle) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPen_setColor(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPen*) QtSupport::getQt(env, obj))->setColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPen_setJoinStyle(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQPen*) QtSupport::getQt(env, obj))->setJoinStyle((TQt::PenJoinStyle) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPen_setStyle(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQPen*) QtSupport::getQt(env, obj))->setStyle((TQt::PenStyle) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPen_setWidth(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQPen*) QtSupport::getQt(env, obj))->setWidth((uint) arg1); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPen_style(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPen*) QtSupport::getQt(env, obj))->style(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPen_width(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPen*) QtSupport::getQt(env, obj))->width(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QPen.h b/qtjava/javalib/qtjava/QPen.h deleted file mode 100644 index 37ad104b..00000000 --- a/qtjava/javalib/qtjava/QPen.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QPen__ -#define __org_kde_qt_QPen__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPen_newTQPen__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPen_newTQPen__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPen_newTQPen__Lorg_kde_qt_QColor_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPen_newTQPen__Lorg_kde_qt_QColor_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPen_newTQPen__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPen_newTQPen__Lorg_kde_qt_QColor_2IIII (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPen_newTQPen__Lorg_kde_qt_QPen_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPen_style (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPen_setStyle (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPen_width (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPen_setWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPen_color (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPen_setColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPen_capStyle (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPen_setCapStyle (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPen_joinStyle (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPen_setJoinStyle (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPen_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPen_op_1not_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPen_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPen_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPen_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QPen__ */ diff --git a/qtjava/javalib/qtjava/QPicture.cpp b/qtjava/javalib/qtjava/QPicture.cpp deleted file mode 100644 index 02d04b84..00000000 --- a/qtjava/javalib/qtjava/QPicture.cpp +++ /dev/null @@ -1,216 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQPictureJBridge : public TQPicture -{ -public: - TQPictureJBridge(int arg1) : TQPicture(arg1) {}; - TQPictureJBridge() : TQPicture() {}; - TQPictureJBridge(const TQPicture& arg1) : TQPicture(arg1) {}; - int protected_metric(int arg1) { - return (int) TQPicture::metric(arg1); - } - void protected_detach() { - TQPicture::detach(); - return; - } - TQPicture protected_copy() { - return (TQPicture) TQPicture::copy(); - } - ~TQPictureJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPicture_boundingRect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQPicture*) QtSupport::getQt(env, obj))->boundingRect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPicture_copy(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPicture(((TQPictureJBridge*) QtSupport::getQt(env, obj))->protected_copy()), "org.kde.qt.TQPicture", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QPicture_data(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQPicture*) QtSupport::getQt(env, obj))->data(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPicture_detach(JNIEnv* env, jobject obj) -{ - ((TQPictureJBridge*) QtSupport::getQt(env, obj))->protected_detach(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPicture_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QPicture_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPicture_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQPicture*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPicture_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPicture_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQPicture*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPicture_load__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName) -{ -static TQString* _qstring_fileName = 0; - jboolean xret = (jboolean) ((TQPicture*) QtSupport::getQt(env, obj))->load((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPicture_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) ((TQPicture*) 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_qt_QPicture_load__Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject dev) -{ - jboolean xret = (jboolean) ((TQPicture*) QtSupport::getQt(env, obj))->load((TQIODevice*) QtSupport::getQt(env, dev)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPicture_load__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject dev, jstring format) -{ -static TQCString* _qstring_format = 0; - jboolean xret = (jboolean) ((TQPicture*) QtSupport::getQt(env, obj))->load((TQIODevice*) QtSupport::getQt(env, dev), (const char*) QtSupport::toCharString(env, format, &_qstring_format)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPicture_metric(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQPictureJBridge*) QtSupport::getQt(env, obj))->protected_metric((int) arg1); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPicture_newTQPicture__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPictureJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPicture_newTQPicture__I(JNIEnv* env, jobject obj, jint formatVersion) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPictureJBridge((int) formatVersion)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPicture_newTQPicture__Lorg_kde_qt_QPicture_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPictureJBridge((const TQPicture&)*(const TQPicture*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPicture_play(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQPicture*) QtSupport::getQt(env, obj))->play((TQPainter*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPicture_save__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName) -{ -static TQString* _qstring_fileName = 0; - jboolean xret = (jboolean) ((TQPicture*) QtSupport::getQt(env, obj))->save((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPicture_save__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) ((TQPicture*) QtSupport::getQt(env, obj))->save((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_qt_QPicture_save__Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject dev) -{ - jboolean xret = (jboolean) ((TQPicture*) QtSupport::getQt(env, obj))->save((TQIODevice*) QtSupport::getQt(env, dev)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPicture_save__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject dev, jstring format) -{ -static TQCString* _qstring_format = 0; - jboolean xret = (jboolean) ((TQPicture*) QtSupport::getQt(env, obj))->save((TQIODevice*) QtSupport::getQt(env, dev), (const char*) QtSupport::toCharString(env, format, &_qstring_format)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPicture_setBoundingRect(JNIEnv* env, jobject obj, jobject r) -{ - ((TQPicture*) QtSupport::getQt(env, obj))->setBoundingRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPicture_setData(JNIEnv* env, jobject obj, jstring data, jint size) -{ -static TQCString* _qstring_data = 0; - ((TQPicture*) QtSupport::getQt(env, obj))->setData((const char*) QtSupport::toCharString(env, data, &_qstring_data), (uint) size); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPicture_size(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPicture*) QtSupport::getQt(env, obj))->size(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QPicture.h b/qtjava/javalib/qtjava/QPicture.h deleted file mode 100644 index a78c76d2..00000000 --- a/qtjava/javalib/qtjava/QPicture.h +++ /dev/null @@ -1,42 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QPicture__ -#define __org_kde_qt_QPicture__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPicture_newTQPicture__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPicture_newTQPicture__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPicture_newTQPicture__Lorg_kde_qt_QPicture_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPicture_isNull (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPicture_size (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPicture_data (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPicture_setData (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPicture_play (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPicture_load__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPicture_load__Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPicture_load__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPicture_load__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPicture_save__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPicture_save__Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPicture_save__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPicture_save__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPicture_boundingRect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPicture_setBoundingRect (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPicture_metric (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPicture_detach (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPicture_copy (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPicture_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPicture_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPicture_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QPicture__ */ diff --git a/qtjava/javalib/qtjava/QPixmap.cpp b/qtjava/javalib/qtjava/QPixmap.cpp deleted file mode 100644 index 76f9c7bb..00000000 --- a/qtjava/javalib/qtjava/QPixmap.cpp +++ /dev/null @@ -1,763 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQPixmapJBridge : public TQPixmap -{ -public: - TQPixmapJBridge() : TQPixmap() {}; - TQPixmapJBridge(const TQImage& arg1) : TQPixmap(arg1) {}; - TQPixmapJBridge(int arg1,int arg2,int arg3,TQPixmap::Optimization arg4) : TQPixmap(arg1,arg2,arg3,arg4) {}; - TQPixmapJBridge(int arg1,int arg2,int arg3) : TQPixmap(arg1,arg2,arg3) {}; - TQPixmapJBridge(int arg1,int arg2) : TQPixmap(arg1,arg2) {}; - TQPixmapJBridge(const TQSize& arg1,int arg2,TQPixmap::Optimization arg3) : TQPixmap(arg1,arg2,arg3) {}; - TQPixmapJBridge(const TQSize& arg1,int arg2) : TQPixmap(arg1,arg2) {}; - TQPixmapJBridge(const TQSize& arg1) : TQPixmap(arg1) {}; - TQPixmapJBridge(const TQString& arg1,const char* arg2,TQPixmap::ColorMode arg3) : TQPixmap(arg1,arg2,arg3) {}; - TQPixmapJBridge(const TQString& arg1,const char* arg2) : TQPixmap(arg1,arg2) {}; - TQPixmapJBridge(const TQString& arg1) : TQPixmap(arg1) {}; - TQPixmapJBridge(const char** arg1) : TQPixmap(arg1) {}; - TQPixmapJBridge(const TQByteArray& arg1) : TQPixmap(arg1) {}; - TQPixmapJBridge(const TQPixmap& arg1) : TQPixmap(arg1) {}; - void public_detach() { - TQPixmap::detach(); - return; - } - TQPixmapJBridge(int arg1,int arg2,const uchar* arg3,bool arg4) : TQPixmap(arg1,arg2,arg3,arg4) {}; - int protected_metric(int arg1) { - return (int) TQPixmap::metric(arg1); - } - ~TQPixmapJBridge() {QtSupport::qtKeyDeleted(this);} - int protected_fontMet(TQFont* arg1,int arg2,const char* arg3,int arg4) { - return (int) TQPaintDevice::fontMet(arg1,arg2,arg3,arg4); - } - int protected_fontMet(TQFont* arg1,int arg2,const char* arg3) { - return (int) TQPaintDevice::fontMet(arg1,arg2,arg3); - } - int protected_fontMet(TQFont* arg1,int arg2) { - return (int) TQPaintDevice::fontMet(arg1,arg2); - } - int protected_fontInf(TQFont* arg1,int arg2) { - return (int) TQPaintDevice::fontInf(arg1,arg2); - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPixmap_convertFromImage__Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQPixmap*) QtSupport::getQt(env, obj))->convertFromImage((const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPixmap_convertFromImage__Lorg_kde_qt_QImage_2I(JNIEnv* env, jobject obj, jobject arg1, jint mode) -{ - jboolean xret = (jboolean) ((TQPixmap*) QtSupport::getQt(env, obj))->convertFromImage((const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg1), (TQPixmap::ColorMode) mode); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPixmap_convertToImage(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQPixmap*) QtSupport::getQt(env, obj))->convertToImage()), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPixmap_createHeuristicMask__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQBitmap(((TQPixmap*) QtSupport::getQt(env, obj))->createHeuristicMask()), "org.kde.qt.TQBitmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPixmap_createHeuristicMask__Z(JNIEnv* env, jobject obj, jboolean clipTight) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQBitmap(((TQPixmap*) QtSupport::getQt(env, obj))->createHeuristicMask((bool) clipTight)), "org.kde.qt.TQBitmap", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPixmap_defaultDepth(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TQPixmapJBridge::defaultDepth(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPixmap_defaultOptimization(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TQPixmapJBridge::defaultOptimization(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPixmap_depth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPixmap*) QtSupport::getQt(env, obj))->depth(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_detach(JNIEnv* env, jobject obj) -{ - ((TQPixmapJBridge*) QtSupport::getQt(env, obj))->public_detach(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPixmap_devType(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPaintDevice*)(TQPixmap*) QtSupport::getQt(env, obj))->devType(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QPixmap_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_fill__(JNIEnv* env, jobject obj) -{ - ((TQPixmap*) QtSupport::getQt(env, obj))->fill(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_fill__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject fillColor) -{ - ((TQPixmap*) QtSupport::getQt(env, obj))->fill((const TQColor&)*(const TQColor*) QtSupport::getQt(env, fillColor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_fill__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject arg1, jint xofs, jint yofs) -{ - ((TQPixmap*) QtSupport::getQt(env, obj))->fill((const TQWidget*) QtSupport::getQt(env, arg1), (int) xofs, (int) yofs); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_fill__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1, jobject ofs) -{ - ((TQPixmap*) QtSupport::getQt(env, obj))->fill((const TQWidget*) QtSupport::getQt(env, arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, ofs)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQPixmap*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPixmap_fontInf(JNIEnv* env, jobject obj, jobject arg1, jint arg2) -{ - jint xret = (jint) ((TQPixmapJBridge*) QtSupport::getQt(env, obj))->protected_fontInf((TQFont*) QtSupport::getQt(env, arg1), (int) arg2); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPixmap_fontMet__Lorg_kde_qt_QFont_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2) -{ - jint xret = (jint) ((TQPixmapJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TQFont*) QtSupport::getQt(env, arg1), (int) arg2); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPixmap_fontMet__Lorg_kde_qt_QFont_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jint arg2, jstring arg3) -{ -static TQCString* _qstring_arg3 = 0; - jint xret = (jint) ((TQPixmapJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TQFont*) QtSupport::getQt(env, arg1), (int) arg2, (const char*) QtSupport::toCharString(env, arg3, &_qstring_arg3)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPixmap_fontMet__Lorg_kde_qt_QFont_2ILjava_lang_String_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2, jstring arg3, jint arg4) -{ -static TQCString* _qstring_arg3 = 0; - jint xret = (jint) ((TQPixmapJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TQFont*) QtSupport::getQt(env, arg1), (int) arg2, (const char*) QtSupport::toCharString(env, arg3, &_qstring_arg3), (int) arg4); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPixmap_fromMimeSource(JNIEnv* env, jclass cls, jstring abs_name) -{ - (void) cls; -static TQString* _qstring_abs_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(TQPixmapJBridge::fromMimeSource((const TQString&)*(TQString*) QtSupport::toTQString(env, abs_name, &_qstring_abs_name))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPixmap_grabWidget__Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject widget) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(TQPixmapJBridge::grabWidget((TQWidget*) QtSupport::getQt(env, widget))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPixmap_grabWidget__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jclass cls, jobject widget, jint x) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(TQPixmapJBridge::grabWidget((TQWidget*) QtSupport::getQt(env, widget), (int) x)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPixmap_grabWidget__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jclass cls, jobject widget, jint x, jint y) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(TQPixmapJBridge::grabWidget((TQWidget*) QtSupport::getQt(env, widget), (int) x, (int) y)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPixmap_grabWidget__Lorg_kde_qt_QWidget_2III(JNIEnv* env, jclass cls, jobject widget, jint x, jint y, jint w) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(TQPixmapJBridge::grabWidget((TQWidget*) QtSupport::getQt(env, widget), (int) x, (int) y, (int) w)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPixmap_grabWidget__Lorg_kde_qt_QWidget_2IIII(JNIEnv* env, jclass cls, jobject widget, jint x, jint y, jint w, jint h) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(TQPixmapJBridge::grabWidget((TQWidget*) QtSupport::getQt(env, widget), (int) x, (int) y, (int) w, (int) h)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPixmap_grabWindow__J(JNIEnv* env, jclass cls, jlong arg1) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(TQPixmapJBridge::grabWindow((WId) arg1)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPixmap_grabWindow__JI(JNIEnv* env, jclass cls, jlong arg1, jint x) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(TQPixmapJBridge::grabWindow((WId) arg1, (int) x)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPixmap_grabWindow__JII(JNIEnv* env, jclass cls, jlong arg1, jint x, jint y) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(TQPixmapJBridge::grabWindow((WId) arg1, (int) x, (int) y)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPixmap_grabWindow__JIII(JNIEnv* env, jclass cls, jlong arg1, jint x, jint y, jint w) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(TQPixmapJBridge::grabWindow((WId) arg1, (int) x, (int) y, (int) w)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPixmap_grabWindow__JIIII(JNIEnv* env, jclass cls, jlong arg1, jint x, jint y, jint w, jint h) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(TQPixmapJBridge::grabWindow((WId) arg1, (int) x, (int) y, (int) w, (int) h)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPixmap_hasAlphaChannel(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQPixmap*) QtSupport::getQt(env, obj))->hasAlphaChannel(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPixmap_hasAlpha(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQPixmap*) QtSupport::getQt(env, obj))->hasAlpha(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPixmap_height(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPixmap*) QtSupport::getQt(env, obj))->height(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QPixmap_imageFormat(JNIEnv* env, jclass cls, jstring fileName) -{ - const char* _qstring; - (void) cls; -static TQString* _qstring_fileName = 0; - _qstring = TQPixmapJBridge::imageFormat((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPixmap_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPixmap_isExtDev(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQPaintDevice*)(TQPixmap*) QtSupport::getQt(env, obj))->isExtDev(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPixmap_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQPixmap*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPixmap_isTQBitmap(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQPixmap*) QtSupport::getQt(env, obj))->isTQBitmap(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPixmap_loadFromData___3B(JNIEnv* env, jobject obj, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - jboolean xret = (jboolean) ((TQPixmap*) QtSupport::getQt(env, obj))->loadFromData((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPixmap_loadFromData___3BLjava_lang_String_2(JNIEnv* env, jobject obj, jbyteArray data, jstring format) -{ -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qstring_format = 0; - jboolean xret = (jboolean) ((TQPixmap*) QtSupport::getQt(env, obj))->loadFromData((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (const char*) QtSupport::toCharString(env, format, &_qstring_format)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPixmap_loadFromData___3BLjava_lang_String_2I(JNIEnv* env, jobject obj, jbyteArray data, jstring format, jint conversion_flags) -{ -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qstring_format = 0; - jboolean xret = (jboolean) ((TQPixmap*) QtSupport::getQt(env, obj))->loadFromData((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (const char*) QtSupport::toCharString(env, format, &_qstring_format), (int) conversion_flags); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPixmap_loadFromData___3CI(JNIEnv* env, jobject obj, jcharArray buf, jint len) -{ -static TQByteArray* _qbytearray_buf = 0; - jboolean xret = (jboolean) ((TQPixmap*) QtSupport::getQt(env, obj))->loadFromData((const uchar*) QtSupport::toUcharArray(env, buf, &_qbytearray_buf), (uint) len); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPixmap_loadFromData___3CILjava_lang_String_2(JNIEnv* env, jobject obj, jcharArray buf, jint len, jstring format) -{ -static TQByteArray* _qbytearray_buf = 0; -static TQCString* _qstring_format = 0; - jboolean xret = (jboolean) ((TQPixmap*) QtSupport::getQt(env, obj))->loadFromData((const uchar*) QtSupport::toUcharArray(env, buf, &_qbytearray_buf), (uint) len, (const char*) QtSupport::toCharString(env, format, &_qstring_format)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPixmap_loadFromData___3CILjava_lang_String_2I(JNIEnv* env, jobject obj, jcharArray buf, jint len, jstring format, jint mode) -{ -static TQByteArray* _qbytearray_buf = 0; -static TQCString* _qstring_format = 0; - jboolean xret = (jboolean) ((TQPixmap*) QtSupport::getQt(env, obj))->loadFromData((const uchar*) QtSupport::toUcharArray(env, buf, &_qbytearray_buf), (uint) len, (const char*) QtSupport::toCharString(env, format, &_qstring_format), (TQPixmap::ColorMode) mode); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPixmap_load__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName) -{ -static TQString* _qstring_fileName = 0; - jboolean xret = (jboolean) ((TQPixmap*) QtSupport::getQt(env, obj))->load((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPixmap_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) ((TQPixmap*) 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_qt_QPixmap_load__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring fileName, jstring format, jint mode) -{ -static TQString* _qstring_fileName = 0; -static TQCString* _qstring_format = 0; - jboolean xret = (jboolean) ((TQPixmap*) QtSupport::getQt(env, obj))->load((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format), (TQPixmap::ColorMode) mode); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPixmap_mask(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQPixmap*) QtSupport::getQt(env, obj))->mask(), "org.kde.qt.TQBitmap"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPixmap_metric(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQPixmapJBridge*) QtSupport::getQt(env, obj))->protected_metric((int) arg1); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_newTQPixmap__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPixmapJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_newTQPixmap__II(JNIEnv* env, jobject obj, jint w, jint h) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPixmapJBridge((int) w, (int) h)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_newTQPixmap__III(JNIEnv* env, jobject obj, jint w, jint h, jint depth) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPixmapJBridge((int) w, (int) h, (int) depth)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_newTQPixmap__IIII(JNIEnv* env, jobject obj, jint w, jint h, jint depth, jint arg4) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPixmapJBridge((int) w, (int) h, (int) depth, (TQPixmap::Optimization) arg4)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_newTQPixmap__II_3CZ(JNIEnv* env, jobject obj, jint w, jint h, jcharArray data, jboolean isXbitmap) -{ -static TQByteArray* _qbytearray_data = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPixmapJBridge((int) w, (int) h, (const uchar*) QtSupport::toUcharArray(env, data, &_qbytearray_data), (bool) isXbitmap)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_newTQPixmap__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 TQPixmapJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_newTQPixmap__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; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPixmapJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_newTQPixmap__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring fileName, jstring format, jint mode) -{ -static TQString* _qstring_fileName = 0; -static TQCString* _qstring_format = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPixmapJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format), (TQPixmap::ColorMode) mode)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_newTQPixmap__Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject image) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPixmapJBridge((const TQImage&)*(const TQImage*) QtSupport::getQt(env, image))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_newTQPixmap__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPixmapJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_newTQPixmap__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPixmapJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_newTQPixmap__Lorg_kde_qt_QSize_2I(JNIEnv* env, jobject obj, jobject arg1, jint depth) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPixmapJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (int) depth)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_newTQPixmap__Lorg_kde_qt_QSize_2II(JNIEnv* env, jobject obj, jobject arg1, jint depth, jint arg3) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPixmapJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (int) depth, (TQPixmap::Optimization) arg3)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_newTQPixmap___3B(JNIEnv* env, jobject obj, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPixmapJBridge((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_newTQPixmap___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray xpm) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPixmapJBridge((const char**) QtSupport::toStringArray(env, xpm))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPixmap_optimization(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPixmap*) QtSupport::getQt(env, obj))->optimization(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPixmap_paintingActive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQPaintDevice*)(TQPixmap*) QtSupport::getQt(env, obj))->paintingActive(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPixmap_rect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQPixmap*) QtSupport::getQt(env, obj))->rect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_resize__II(JNIEnv* env, jobject obj, jint width, jint height) -{ - ((TQPixmap*) QtSupport::getQt(env, obj))->resize((int) width, (int) height); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_resize__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPixmap*) QtSupport::getQt(env, obj))->resize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPixmap_resolution(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPaintDevice*)(TQPixmap*) QtSupport::getQt(env, obj))->resolution(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPixmap_save__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) ((TQPixmap*) QtSupport::getQt(env, obj))->save((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_qt_QPixmap_save__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring fileName, jstring format, jint quality) -{ -static TQString* _qstring_fileName = 0; -static TQCString* _qstring_format = 0; - jboolean xret = (jboolean) ((TQPixmap*) QtSupport::getQt(env, obj))->save((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format), (int) quality); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPixmap_save__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject device, jstring format) -{ -static TQCString* _qstring_format = 0; - jboolean xret = (jboolean) ((TQPixmap*) QtSupport::getQt(env, obj))->save((TQIODevice*) QtSupport::getQt(env, device), (const char*) QtSupport::toCharString(env, format, &_qstring_format)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPixmap_save__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject device, jstring format, jint quality) -{ -static TQCString* _qstring_format = 0; - jboolean xret = (jboolean) ((TQPixmap*) QtSupport::getQt(env, obj))->save((TQIODevice*) QtSupport::getQt(env, device), (const char*) QtSupport::toCharString(env, format, &_qstring_format), (int) quality); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPixmap_selfMask(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQPixmap*) QtSupport::getQt(env, obj))->selfMask(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPixmap_serialNumber(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPixmap*) QtSupport::getQt(env, obj))->serialNumber(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_setDefaultOptimization(JNIEnv* env, jclass cls, jint arg1) -{ - (void) cls; - (void) env; - TQPixmapJBridge::setDefaultOptimization((TQPixmap::Optimization) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_setMask(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPixmap*) QtSupport::getQt(env, obj))->setMask((const TQBitmap&)*(const TQBitmap*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_setOptimization(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQPixmap*) QtSupport::getQt(env, obj))->setOptimization((TQPixmap::Optimization) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_setResolution(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQPaintDevice*)(TQPixmap*) QtSupport::getQt(env, obj))->setResolution((int) arg1); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPixmap_size(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQPixmap*) QtSupport::getQt(env, obj))->size()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPixmap_trueMatrix(JNIEnv* env, jclass cls, jobject arg1, jint w, jint h) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQWMatrix(TQPixmapJBridge::trueMatrix((const TQWMatrix&)*(const TQWMatrix*) QtSupport::getQt(env, arg1), (int) w, (int) h)), "org.kde.qt.TQWMatrix", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPixmap_width(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPixmap*) QtSupport::getQt(env, obj))->width(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPixmap_xForm(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQPixmap*) QtSupport::getQt(env, obj))->xForm((const TQWMatrix&)*(const TQWMatrix*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPixmap_loadFromData___3C(JNIEnv *env, jobject obj, jcharArray data) -{ -static TQByteArray * _qbyteArray_data = 0; - return (jboolean) ((TQPixmapJBridge*) QtSupport::getQt(env, obj))->loadFromData((uchar *) QtSupport::toUcharArray(env, data, &_qbyteArray_data), env->GetArrayLength(data), 0, 0); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QPixmap_paintDevice(JNIEnv* env, jobject obj) -{ - return (jlong) (TQPaintDevice*)(TQPixmap*) QtSupport::getQt(env, obj); -} - diff --git a/qtjava/javalib/qtjava/QPixmap.h b/qtjava/javalib/qtjava/QPixmap.h deleted file mode 100644 index a18774fd..00000000 --- a/qtjava/javalib/qtjava/QPixmap.h +++ /dev/null @@ -1,105 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QPixmap__ -#define __org_kde_qt_QPixmap__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newTQPixmap__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newTQPixmap__Lorg_kde_qt_QImage_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newTQPixmap__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newTQPixmap__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newTQPixmap__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newTQPixmap__Lorg_kde_qt_QSize_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newTQPixmap__Lorg_kde_qt_QSize_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newTQPixmap__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newTQPixmap__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newTQPixmap__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newTQPixmap__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newTQPixmap___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newTQPixmap___3B (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newTQPixmap__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_isNull (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPixmap_width (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPixmap_height (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_size (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_rect (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPixmap_depth (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_fill__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_fill__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_fill__Lorg_kde_qt_QWidget_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_fill__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_resize__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_resize__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_mask (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_setMask (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_selfMask (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_hasAlpha (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_hasAlphaChannel (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_createHeuristicMask__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_createHeuristicMask__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_xForm (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_convertToImage (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_convertFromImage__Lorg_kde_qt_QImage_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_convertFromImage__Lorg_kde_qt_QImage_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_load__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_load__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_load__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_loadFromData___3CILjava_lang_String_2I (JNIEnv *env, jobject, jcharArray, jint, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_loadFromData___3CILjava_lang_String_2 (JNIEnv *env, jobject, jcharArray, jint, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_loadFromData___3CI (JNIEnv *env, jobject, jcharArray, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_loadFromData___3BLjava_lang_String_2I (JNIEnv *env, jobject, jbyteArray, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_loadFromData___3BLjava_lang_String_2 (JNIEnv *env, jobject, jbyteArray, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_loadFromData___3B (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_save__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_save__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_save__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_save__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPixmap_serialNumber (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPixmap_optimization (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_setOptimization (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_detach (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_isTQBitmap (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPixmap_defaultDepth (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_fromMimeSource (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_grabWindow__JIIII (JNIEnv *env, jclass, jlong, jint, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_grabWindow__JIII (JNIEnv *env, jclass, jlong, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_grabWindow__JII (JNIEnv *env, jclass, jlong, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_grabWindow__JI (JNIEnv *env, jclass, jlong, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_grabWindow__J (JNIEnv *env, jclass, jlong); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_grabWidget__Lorg_kde_qt_QWidget_2IIII (JNIEnv *env, jclass, jobject, jint, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_grabWidget__Lorg_kde_qt_QWidget_2III (JNIEnv *env, jclass, jobject, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_grabWidget__Lorg_kde_qt_QWidget_2II (JNIEnv *env, jclass, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_grabWidget__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jclass, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_grabWidget__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_trueMatrix (JNIEnv *env, jclass, jobject, jint, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPixmap_imageFormat (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPixmap_defaultOptimization (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_setDefaultOptimization (JNIEnv *env, jclass, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newTQPixmap__II_3CZ (JNIEnv *env, jobject, jint, jint, jcharArray, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPixmap_metric (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPixmap_devType (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_isExtDev (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_paintingActive (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_setResolution (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPixmap_resolution (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPixmap_fontMet__Lorg_kde_qt_QFont_2ILjava_lang_String_2I (JNIEnv *env, jobject, jobject, jint, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPixmap_fontMet__Lorg_kde_qt_QFont_2ILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPixmap_fontMet__Lorg_kde_qt_QFont_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPixmap_fontInf (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_loadFromData___3C (JNIEnv *env, jobject, jcharArray); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QPixmap_paintDevice (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QPixmap__ */ diff --git a/qtjava/javalib/qtjava/QPoint.cpp b/qtjava/javalib/qtjava/QPoint.cpp deleted file mode 100644 index 4a991371..00000000 --- a/qtjava/javalib/qtjava/QPoint.cpp +++ /dev/null @@ -1,156 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQPointJBridge : public TQPoint -{ -public: - TQPointJBridge() : TQPoint() {}; - TQPointJBridge(int arg1,int arg2) : TQPoint(arg1,arg2) {}; - ~TQPointJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPoint_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QPoint_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPoint_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQPoint*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPoint_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPoint_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQPoint*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPoint_manhattanLength(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPoint*) QtSupport::getQt(env, obj))->manhattanLength(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPoint_newTQPoint__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPointJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPoint_newTQPoint__II(JNIEnv* env, jobject obj, jint xpos, jint ypos) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPointJBridge((int) xpos, (int) ypos)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPoint_op_1div_1assign__D(JNIEnv* env, jobject obj, jdouble c) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQPoint*) QtSupport::getQt(env, obj))->operator/=((double) c), "org.kde.qt.TQPoint"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPoint_op_1div_1assign__I(JNIEnv* env, jobject obj, jint c) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQPoint*) QtSupport::getQt(env, obj))->operator/=((int) c), "org.kde.qt.TQPoint"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPoint_op_1minus_1assign(JNIEnv* env, jobject obj, jobject p) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQPoint*) QtSupport::getQt(env, obj))->operator-=((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)), "org.kde.qt.TQPoint"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPoint_op_1mult_1assign__D(JNIEnv* env, jobject obj, jdouble c) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQPoint*) QtSupport::getQt(env, obj))->operator*=((double) c), "org.kde.qt.TQPoint"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPoint_op_1mult_1assign__I(JNIEnv* env, jobject obj, jint c) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQPoint*) QtSupport::getQt(env, obj))->operator*=((int) c), "org.kde.qt.TQPoint"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPoint_op_1plus_1assign(JNIEnv* env, jobject obj, jobject p) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQPoint*) QtSupport::getQt(env, obj))->operator+=((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)), "org.kde.qt.TQPoint"); - return xret; -} - -JNIEXPORT jshort JNICALL -Java_org_kde_qt_QPoint_rx(JNIEnv* env, jobject obj) -{ - jshort xret = (jshort) ((TQPoint*) QtSupport::getQt(env, obj))->rx(); - return xret; -} - -JNIEXPORT jshort JNICALL -Java_org_kde_qt_QPoint_ry(JNIEnv* env, jobject obj) -{ - jshort xret = (jshort) ((TQPoint*) QtSupport::getQt(env, obj))->ry(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPoint_setX(JNIEnv* env, jobject obj, jint x) -{ - ((TQPoint*) QtSupport::getQt(env, obj))->setX((int) x); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPoint_setY(JNIEnv* env, jobject obj, jint y) -{ - ((TQPoint*) QtSupport::getQt(env, obj))->setY((int) y); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPoint_x(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPoint*) QtSupport::getQt(env, obj))->x(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPoint_y(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPoint*) QtSupport::getQt(env, obj))->y(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QPoint.h b/qtjava/javalib/qtjava/QPoint.h deleted file mode 100644 index bc6b0c85..00000000 --- a/qtjava/javalib/qtjava/QPoint.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QPoint__ -#define __org_kde_qt_QPoint__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPoint_newTQPoint__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPoint_newTQPoint__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPoint_isNull (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPoint_x (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPoint_y (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPoint_setX (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPoint_setY (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPoint_manhattanLength (JNIEnv *env, jobject); -extern JNIEXPORT jshort JNICALL Java_org_kde_qt_QPoint_rx (JNIEnv *env, jobject); -extern JNIEXPORT jshort JNICALL Java_org_kde_qt_QPoint_ry (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPoint_op_1plus_1assign (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPoint_op_1minus_1assign (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPoint_op_1mult_1assign__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPoint_op_1mult_1assign__D (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPoint_op_1div_1assign__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPoint_op_1div_1assign__D (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPoint_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPoint_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPoint_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QPoint__ */ diff --git a/qtjava/javalib/qtjava/QPointArray.cpp b/qtjava/javalib/qtjava/QPointArray.cpp deleted file mode 100644 index d33dbca9..00000000 --- a/qtjava/javalib/qtjava/QPointArray.cpp +++ /dev/null @@ -1,282 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -class TQPointArrayJBridge : public TQPointArray -{ -public: - TQPointArrayJBridge() : TQPointArray() {}; - TQPointArrayJBridge(int arg1) : TQPointArray(arg1) {}; - TQPointArrayJBridge(const TQPointArray& arg1) : TQPointArray(arg1) {}; - TQPointArrayJBridge(const TQRect& arg1,bool arg2) : TQPointArray(arg1,arg2) {}; - TQPointArrayJBridge(const TQRect& arg1) : TQPointArray(arg1) {}; - TQPointArrayJBridge(int arg1,const TQCOORD* arg2) : TQPointArray(arg1,arg2) {}; - ~TQPointArrayJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPointArray_boundingRect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQPointArray*) QtSupport::getQt(env, obj))->boundingRect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPointArray_cleanBuffers(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TQPointArrayJBridge::cleanBuffers(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPointArray_copy(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQPointArray*) QtSupport::getQt(env, obj))->copy()), "org.kde.qt.TQPointArray", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPointArray_cubicBezier(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQPointArray*) QtSupport::getQt(env, obj))->cubicBezier()), "org.kde.qt.TQPointArray", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPointArray_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QPointArray_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPointArray_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQPointArray*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPointArray_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPointArray_makeArc__IIIIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint a1, jint a2) -{ - ((TQPointArray*) QtSupport::getQt(env, obj))->makeArc((int) x, (int) y, (int) w, (int) h, (int) a1, (int) a2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPointArray_makeArc__IIIIIILorg_kde_qt_QWMatrix_2(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint a1, jint a2, jobject arg7) -{ - ((TQPointArray*) QtSupport::getQt(env, obj))->makeArc((int) x, (int) y, (int) w, (int) h, (int) a1, (int) a2, (const TQWMatrix&)*(const TQWMatrix*) QtSupport::getQt(env, arg7)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPointArray_makeEllipse(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) -{ - ((TQPointArray*) QtSupport::getQt(env, obj))->makeEllipse((int) x, (int) y, (int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPointArray_newTQPointArray__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPointArrayJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPointArray_newTQPointArray__I(JNIEnv* env, jobject obj, jint size) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPointArrayJBridge((int) size)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPointArray_newTQPointArray__I_3S(JNIEnv* env, jobject obj, jint nPoints, jshortArray points) -{ - short* _short_points = QtSupport::toShortPtr(env, points); - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPointArrayJBridge((int) nPoints, (const TQCOORD*) _short_points)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - env->SetShortArrayRegion(points, 0, 1, (jshort*) _short_points); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPointArray_newTQPointArray__Lorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject a) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPointArrayJBridge((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, a))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPointArray_newTQPointArray__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject r) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPointArrayJBridge((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPointArray_newTQPointArray__Lorg_kde_qt_QRect_2Z(JNIEnv* env, jobject obj, jobject r, jboolean closed) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPointArrayJBridge((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (bool) closed)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPointArray_point__I(JNIEnv* env, jobject obj, jint i) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQPointArray*) QtSupport::getQt(env, obj))->point((uint) i)), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPointArray_putPoints__IILorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jint index, jint nPoints, jobject from) -{ - jboolean xret = (jboolean) ((TQPointArray*) QtSupport::getQt(env, obj))->putPoints((int) index, (int) nPoints, (const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, from)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPointArray_putPoints__IILorg_kde_qt_QPointArray_2I(JNIEnv* env, jobject obj, jint index, jint nPoints, jobject from, jint fromIndex) -{ - jboolean xret = (jboolean) ((TQPointArray*) QtSupport::getQt(env, obj))->putPoints((int) index, (int) nPoints, (const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, from), (int) fromIndex); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPointArray_setPoint__III(JNIEnv* env, jobject obj, jint i, jint x, jint y) -{ - ((TQPointArray*) QtSupport::getQt(env, obj))->setPoint((uint) i, (int) x, (int) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPointArray_setPoint__ILorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jint i, jobject p) -{ - ((TQPointArray*) QtSupport::getQt(env, obj))->setPoint((uint) i, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPointArray_translate(JNIEnv* env, jobject obj, jint dx, jint dy) -{ - ((TQPointArray*) QtSupport::getQt(env, obj))->translate((int) dx, (int) dy); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPointArray_point__I_3I_3I(JNIEnv *env, jobject obj, jint i, jintArray x, jintArray y) -{ - int argx; - int argy; - ((TQPointArrayJBridge*) QtSupport::getQt(env, obj))->point((uint) i, &argx, &argy); - env->SetIntArrayRegion(x, 0, 1, (jint *) &argx); - env->SetIntArrayRegion(y, 0, 1, (jint *) &argy); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPointArray_setPoints(JNIEnv *env, jobject obj, jint nPoints, jshortArray points) -{ - if (!((TQPointArrayJBridge*) QtSupport::getQt(env, obj))->resize((uint)nPoints)) { - return JNI_FALSE; - } - - short * shortArray = QtSupport::toShortPtr(env, points); - for (int index = 0; index < nPoints; index++) { - ((TQPointArrayJBridge*) QtSupport::getQt(env, obj))->setPoint(index, shortArray[index * 2], shortArray[(index * 2) + 1]); - } - return JNI_TRUE; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPointArray_putPoints__II_3S(JNIEnv *env, jobject obj, jint index, jint nPoints, jshortArray points) -{ - if ( ((TQPointArrayJBridge*) QtSupport::getQt(env, obj))->size() < (uint) nPoints - && !((TQPointArrayJBridge*) QtSupport::getQt(env, obj))->resize((uint) nPoints) ) - { - return JNI_FALSE; - } - - short * shortArray = QtSupport::toShortPtr(env, points); - for (int i = (int) index; nPoints > 0; i++, nPoints--) { - ((TQPointArrayJBridge*) QtSupport::getQt(env, obj))->setPoint(i, shortArray[i * 2], shortArray[(i * 2) + 1]); - } - return JNI_TRUE; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPointArray_size(JNIEnv* env, jobject obj) -{ - return (jint) ((TQPointArrayJBridge*) QtSupport::getQt(env, obj))->size(); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPointArray_count(JNIEnv* env, jobject obj) -{ - return (jint) ((TQPointArrayJBridge*) QtSupport::getQt(env, obj))->count(); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPointArray_isEmpty(JNIEnv* env, jobject obj) -{ - return (jboolean) ((TQPointArrayJBridge*) QtSupport::getQt(env, obj))->isEmpty(); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPointArray_isNull(JNIEnv* env, jobject obj) -{ - return (jboolean) ((TQPointArrayJBridge*) QtSupport::getQt(env, obj))->isNull(); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPointArray_resize(JNIEnv* env, jobject obj, jint size) -{ - return (jboolean) ((TQPointArrayJBridge*) QtSupport::getQt(env, obj))->resize((uint) size); -} -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPointArray_truncate(JNIEnv *env, jobject obj, jint pos) -{ - return (jboolean) ((TQPointArrayJBridge*) QtSupport::getQt(env, obj))->truncate((uint) pos); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPointArray_at(JNIEnv * env, jobject obj, jint index) -{ - TQPoint _p= ((TQPointArrayJBridge*) QtSupport::getQt(env, obj))->at((uint) index); - return (jobject) QtSupport::objectForQtKey(env, (void *)new TQPoint(_p.x(),_p.y()), "org.kde.qt.TQPoint", TRUE); -} - diff --git a/qtjava/javalib/qtjava/QPointArray.h b/qtjava/javalib/qtjava/QPointArray.h deleted file mode 100644 index ab84eacb..00000000 --- a/qtjava/javalib/qtjava/QPointArray.h +++ /dev/null @@ -1,50 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QPointArray__ -#define __org_kde_qt_QPointArray__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_newTQPointArray__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_newTQPointArray__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_newTQPointArray__Lorg_kde_qt_QPointArray_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_newTQPointArray__Lorg_kde_qt_QRect_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_newTQPointArray__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_newTQPointArray__I_3S (JNIEnv *env, jobject, jint, jshortArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPointArray_copy (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_translate (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPointArray_boundingRect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_point__I_3I_3I (JNIEnv *env, jobject, jint, jintArray, jintArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPointArray_point__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_setPoint__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_setPoint__ILorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPointArray_setPoints (JNIEnv *env, jobject, jint, jshortArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPointArray_putPoints__II_3S (JNIEnv *env, jobject, jint, jint, jshortArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPointArray_putPoints__IILorg_kde_qt_QPointArray_2I (JNIEnv *env, jobject, jint, jint, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPointArray_putPoints__IILorg_kde_qt_QPointArray_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_makeArc__IIIIII (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_makeEllipse (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_makeArc__IIIIIILorg_kde_qt_QWMatrix_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPointArray_cubicBezier (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_cleanBuffers (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPointArray_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPointArray_size (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPointArray_count (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPointArray_isEmpty (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPointArray_isNull (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPointArray_resize (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPointArray_truncate (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPointArray_at (JNIEnv *env, jobject, jint); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QPointArray__ */ diff --git a/qtjava/javalib/qtjava/QPolygonScanner.cpp b/qtjava/javalib/qtjava/QPolygonScanner.cpp deleted file mode 100644 index 8fb9827c..00000000 --- a/qtjava/javalib/qtjava/QPolygonScanner.cpp +++ /dev/null @@ -1,51 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPolygonScanner_processSpans(JNIEnv* env, jobject obj, jint n, jobject point, jintArray width) -{ - int* _int_width = QtSupport::toIntPtr(env, width); - ((TQPolygonScanner*) QtSupport::getQt(env, obj))->processSpans((int) n, (TQPoint*) QtSupport::getQt(env, point), (int*) _int_width); - env->SetIntArrayRegion(width, 0, 1, (jint *) _int_width); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPolygonScanner_scan__Lorg_kde_qt_QPointArray_2Z(JNIEnv* env, jobject obj, jobject pa, jboolean winding) -{ - ((TQPolygonScanner*) QtSupport::getQt(env, obj))->scan((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, pa), (bool) winding); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPolygonScanner_scan__Lorg_kde_qt_QPointArray_2ZI(JNIEnv* env, jobject obj, jobject pa, jboolean winding, jint index) -{ - ((TQPolygonScanner*) QtSupport::getQt(env, obj))->scan((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, pa), (bool) winding, (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPolygonScanner_scan__Lorg_kde_qt_QPointArray_2ZII(JNIEnv* env, jobject obj, jobject pa, jboolean winding, jint index, jint npoints) -{ - ((TQPolygonScanner*) QtSupport::getQt(env, obj))->scan((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, pa), (bool) winding, (int) index, (int) npoints); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPolygonScanner_scan__Lorg_kde_qt_QPointArray_2ZIII(JNIEnv* env, jobject obj, jobject pa, jboolean winding, jint index, jint npoints, jint edges) -{ - ((TQPolygonScanner*) QtSupport::getQt(env, obj))->scan((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, pa), (bool) winding, (int) index, (int) npoints, (TQPolygonScanner::Edge) edges); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPolygonScanner_scan__Lorg_kde_qt_QPointArray_2ZIIZ(JNIEnv* env, jobject obj, jobject pa, jboolean winding, jint index, jint npoints, jboolean stitchable) -{ - ((TQPolygonScanner*) QtSupport::getQt(env, obj))->scan((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, pa), (bool) winding, (int) index, (int) npoints, (bool) stitchable); - return; -} - diff --git a/qtjava/javalib/qtjava/QPolygonScanner.h b/qtjava/javalib/qtjava/QPolygonScanner.h deleted file mode 100644 index ab20ddc2..00000000 --- a/qtjava/javalib/qtjava/QPolygonScanner.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QPolygonScanner__ -#define __org_kde_qt_QPolygonScanner__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPolygonScanner_scan__Lorg_kde_qt_QPointArray_2ZII (JNIEnv *env, jobject, jobject, jboolean, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPolygonScanner_scan__Lorg_kde_qt_QPointArray_2ZI (JNIEnv *env, jobject, jobject, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPolygonScanner_scan__Lorg_kde_qt_QPointArray_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPolygonScanner_scan__Lorg_kde_qt_QPointArray_2ZIIZ (JNIEnv *env, jobject, jobject, jboolean, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPolygonScanner_scan__Lorg_kde_qt_QPointArray_2ZIII (JNIEnv *env, jobject, jobject, jboolean, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPolygonScanner_processSpans (JNIEnv *env, jobject, jint, jobject, jintArray); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QPolygonScanner__ */ diff --git a/qtjava/javalib/qtjava/QPopupMenu.cpp b/qtjava/javalib/qtjava/QPopupMenu.cpp deleted file mode 100644 index 71c114ca..00000000 --- a/qtjava/javalib/qtjava/QPopupMenu.cpp +++ /dev/null @@ -1,1509 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class TQPopupMenuJBridge : public TQPopupMenu -{ -public: - TQPopupMenuJBridge(TQWidget* arg1,const char* arg2) : TQPopupMenu(arg1,arg2) {}; - TQPopupMenuJBridge(TQWidget* arg1) : TQPopupMenu(arg1) {}; - TQPopupMenuJBridge() : TQPopupMenu() {}; - int protected_itemHeight(int arg1) { - return (int) TQPopupMenu::itemHeight(arg1); - } - int protected_itemHeight(TQMenuItem* arg1) { - return (int) TQPopupMenu::itemHeight(arg1); - } - void protected_drawItem(TQPainter* arg1,int arg2,TQMenuItem* arg3,bool arg4,int arg5,int arg6,int arg7,int arg8) { - TQPopupMenu::drawItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8); - return; - } - void protected_drawContents(TQPainter* arg1) { - TQPopupMenu::drawContents(arg1); - return; - } - void protected_closeEvent(TQCloseEvent* arg1) { - TQPopupMenu::closeEvent(arg1); - return; - } - void protected_paintEvent(TQPaintEvent* arg1) { - TQPopupMenu::paintEvent(arg1); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TQPopupMenu::mousePressEvent(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - TQPopupMenu::mouseReleaseEvent(arg1); - return; - } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - TQPopupMenu::mouseMoveEvent(arg1); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQPopupMenu::keyPressEvent(arg1); - return; - } - void protected_focusInEvent(TQFocusEvent* arg1) { - TQPopupMenu::focusInEvent(arg1); - return; - } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TQPopupMenu::focusOutEvent(arg1); - return; - } - void protected_timerEvent(TQTimerEvent* arg1) { - TQPopupMenu::timerEvent(arg1); - return; - } - void protected_leaveEvent(TQEvent* arg1) { - TQPopupMenu::leaveEvent(arg1); - return; - } - void protected_styleChange(TQStyle& arg1) { - TQPopupMenu::styleChange(arg1); - return; - } - void protected_enabledChange(bool arg1) { - TQPopupMenu::enabledChange(arg1); - return; - } - int protected_columns() { - return (int) TQPopupMenu::columns(); - } - bool protected_focusNextPrevChild(bool arg1) { - return (bool) TQPopupMenu::focusNextPrevChild(arg1); - } - int protected_itemAtPos(const TQPoint& arg1,bool arg2) { - return (int) TQPopupMenu::itemAtPos(arg1,arg2); - } - int protected_itemAtPos(const TQPoint& arg1) { - return (int) TQPopupMenu::itemAtPos(arg1); - } - ~TQPopupMenuJBridge() {QtSupport::qtKeyDeleted(this);} - void protected_menuContentsChanged() { - TQMenuData::menuContentsChanged(); - return; - } - void protected_menuStateChanged() { - TQMenuData::menuStateChanged(); - return; - } - void protected_menuInsPopup(TQPopupMenu* arg1) { - TQMenuData::menuInsPopup(arg1); - return; - } - void protected_menuDelPopup(TQPopupMenu* arg1) { - TQMenuData::menuDelPopup(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.qt.TQPopupMenu","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.qt.TQPopupMenu","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.qt.TQPopupMenu","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.qt.TQPopupMenu","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPopupMenu","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")) { - TQPopupMenu::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")) { - TQPopupMenu::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")) { - TQPopupMenu::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.qt.TQPopupMenu","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPopupMenu","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")) { - TQPopupMenu::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.qt.TQPopupMenu","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")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQPopupMenu",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.qt.TQPopupMenu","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPopupMenu_accel(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQKeySequence(((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->accel((int) id)), "org.kde.qt.TQKeySequence", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_activateItemAt(JNIEnv* env, jobject obj, jint index) -{ - ((TQPopupMenu*) QtSupport::getQt(env, obj))->activateItemAt((int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_changeItem__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint id, jstring text) -{ -static TQString* _qstring_text = 0; - ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_changeItem__ILorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint id, jobject icon, jstring text) -{ -static TQString* _qstring_text = 0; - ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_changeItem__ILorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jint id, jobject icon, jobject pixmap) -{ - ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_changeItem__ILorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jint id, jobject pixmap) -{ - ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_changeItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id) -{ -static TQString* _qstring_text = 0; - ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->changeItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_changeItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id) -{ -static TQString* _qstring_text = 0; - ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->changeItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_changeItem__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint id) -{ - ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->changeItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QPopupMenu_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQPopupMenu*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_clear(JNIEnv* env, jobject obj) -{ - ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_closeEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TQCloseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_columns(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_columns(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPopupMenu_customWhatsThis(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQPopupMenu*) QtSupport::getQt(env, obj))->customWhatsThis(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QPopupMenu_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_drawContents(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_drawItem(JNIEnv* env, jobject obj, jobject p, jint tab, jobject mi, jboolean act, jint x, jint y, jint w, jint h) -{ - ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_drawItem((TQPainter*) QtSupport::getQt(env, p), (int) tab, (TQMenuItem*) QtSupport::getQt(env, mi), (bool) act, (int) x, (int) y, (int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_enabledChange(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_enabledChange((bool) arg1); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_exec__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPopupMenu*) QtSupport::getQt(env, obj))->exec(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_exec__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject pos) -{ - jint xret = (jint) ((TQPopupMenu*) QtSupport::getQt(env, obj))->exec((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_exec__Lorg_kde_qt_QPoint_2I(JNIEnv* env, jobject obj, jobject pos, jint indexAtPoint) -{ - jint xret = (jint) ((TQPopupMenu*) QtSupport::getQt(env, obj))->exec((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (int) indexAtPoint); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQPopupMenu*)(TQPopupMenu*)QtSupport::getQt(env, obj))->parentWidget(FALSE) == 0) { - delete (TQPopupMenu*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPopupMenu_findItem(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->findItem((int) id), "org.kde.qt.TQMenuItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPopupMenu_findPopup__Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->findPopup((TQPopupMenu*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQMenuItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPopupMenu_findPopup__Lorg_kde_qt_QPopupMenu_2_3I(JNIEnv* env, jobject obj, jobject arg1, jintArray index) -{ - int* _int_index = QtSupport::toIntPtr(env, index); - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->findPopup((TQPopupMenu*) QtSupport::getQt(env, arg1), (int*) _int_index), "org.kde.qt.TQMenuItem"); - env->SetIntArrayRegion(index, 0, 1, (jint *) _int_index); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_focusInEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPopupMenu_focusNextPrevChild(JNIEnv* env, jobject obj, jboolean next) -{ - jboolean xret = (jboolean) ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_focusNextPrevChild((bool) next); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_focusOutEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_hide(JNIEnv* env, jobject obj) -{ - ((TQPopupMenu*) QtSupport::getQt(env, obj))->hide(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPopupMenu_iconSet(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->iconSet((int) id), "org.kde.qt.TQIconSet"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_idAt__I(JNIEnv* env, jobject obj, jint index) -{ - jint xret = (jint) ((TQPopupMenu*) QtSupport::getQt(env, obj))->idAt((int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_idAt__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject pos) -{ - jint xret = (jint) ((TQPopupMenu*) QtSupport::getQt(env, obj))->idAt((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_indexOf(JNIEnv* env, jobject obj, jint id) -{ - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->indexOf((int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring text, jint id, jint index) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jstring text, jobject receiver, jstring member, jobject accel) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jstring text, jobject receiver, jstring member, jobject accel, jint id) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jstring text, jobject popup) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jstring text, jobject popup, jint id) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jstring text, jobject popup, jint id, jint index) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QCustomMenuItem_2(JNIEnv* env, jobject obj, jobject custom) -{ - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((TQCustomMenuItem*) QtSupport::getQt(env, custom)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QCustomMenuItem_2I(JNIEnv* env, jobject obj, jobject custom, jint id) -{ - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((TQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QCustomMenuItem_2II(JNIEnv* env, jobject obj, jobject custom, jint id, jint index) -{ - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((TQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject icon, jstring text) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id, jint index) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member, jobject accel) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member, jobject accel, jint id) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member, jobject accel, jint id, jint index) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject popup) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject popup, jint id) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject popup, jint id, jint index) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2(JNIEnv* env, jobject obj, jobject icon, jobject custom) -{ - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (TQCustomMenuItem*) QtSupport::getQt(env, custom)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2I(JNIEnv* env, jobject obj, jobject icon, jobject custom, jint id) -{ - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (TQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2II(JNIEnv* env, jobject obj, jobject icon, jobject custom, jint id, jint index) -{ - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (TQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject icon, jobject pixmap) -{ - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jint id) -{ - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2II(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jint id, jint index) -{ - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member, jobject accel) -{ - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id) -{ - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id, jint index) -{ - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject popup) -{ - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject popup, jint id) -{ - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject popup, jint id, jint index) -{ - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pixmap) -{ - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint id) -{ - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2II(JNIEnv* env, jobject obj, jobject pixmap, jint id, jint index) -{ - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject pixmap, jobject receiver, jstring member, jobject accel) -{ - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id) -{ - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv* env, jobject obj, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id, jint index) -{ - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject pixmap, jobject popup) -{ - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jobject pixmap, jobject popup, jint id) -{ - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jobject pixmap, jobject popup, jint id, jint index) -{ - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint id) -{ - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((TQWidget*) QtSupport::getQt(env, widget), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject widget, jint id, jint index) -{ - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((TQWidget*) QtSupport::getQt(env, widget), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertSeparator__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertSeparator(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertSeparator__I(JNIEnv* env, jobject obj, jint index) -{ - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertSeparator((int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertTearOffHandle__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPopupMenu*) QtSupport::getQt(env, obj))->insertTearOffHandle(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertTearOffHandle__I(JNIEnv* env, jobject obj, jint id) -{ - jint xret = (jint) ((TQPopupMenu*) QtSupport::getQt(env, obj))->insertTearOffHandle((int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertTearOffHandle__II(JNIEnv* env, jobject obj, jint id, jint index) -{ - jint xret = (jint) ((TQPopupMenu*) QtSupport::getQt(env, obj))->insertTearOffHandle((int) id, (int) index); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPopupMenu_isCheckable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQPopupMenu*) QtSupport::getQt(env, obj))->isCheckable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPopupMenu_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPopupMenu_isItemActive(JNIEnv* env, jobject obj, jint id) -{ - jboolean xret = (jboolean) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->isItemActive((int) id); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPopupMenu_isItemChecked(JNIEnv* env, jobject obj, jint id) -{ - jboolean xret = (jboolean) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->isItemChecked((int) id); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPopupMenu_isItemEnabled(JNIEnv* env, jobject obj, jint id) -{ - jboolean xret = (jboolean) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->isItemEnabled((int) id); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPopupMenu_isItemVisible(JNIEnv* env, jobject obj, jint id) -{ - jboolean xret = (jboolean) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->isItemVisible((int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_itemAtPos__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jint xret = (jint) ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_itemAtPos((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_itemAtPos__Lorg_kde_qt_QPoint_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean ignoreSeparator) -{ - jint xret = (jint) ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_itemAtPos((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (bool) ignoreSeparator); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPopupMenu_itemGeometry(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQPopupMenu*) QtSupport::getQt(env, obj))->itemGeometry((int) index)), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_itemHeight__I(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_itemHeight((int) arg1); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_itemHeight__Lorg_kde_qt_QMenuItem_2(JNIEnv* env, jobject obj, jobject mi) -{ - jint xret = (jint) ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_itemHeight((TQMenuItem*) QtSupport::getQt(env, mi)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_itemParameter(JNIEnv* env, jobject obj, jint id) -{ - jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->itemParameter((int) id); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_leaveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_menuContentsChanged(JNIEnv* env, jobject obj) -{ - ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_menuContentsChanged(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_menuDelPopup(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_menuDelPopup((TQPopupMenu*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_menuInsPopup(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_menuInsPopup((TQPopupMenu*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_menuStateChanged(JNIEnv* env, jobject obj) -{ - ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_menuStateChanged(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPopupMenu_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQPopupMenu*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_newTQPopupMenu__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPopupMenuJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_newTQPopupMenu__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPopupMenuJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_newTQPopupMenu__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 TQPopupMenuJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_paintEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPopupMenu_pixmap(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->pixmap((int) id), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_popup__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject pos) -{ - ((TQPopupMenu*) QtSupport::getQt(env, obj))->popup((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_popup__Lorg_kde_qt_QPoint_2I(JNIEnv* env, jobject obj, jobject pos, jint indexAtPoint) -{ - ((TQPopupMenu*) QtSupport::getQt(env, obj))->popup((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (int) indexAtPoint); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_removeItemAt(JNIEnv* env, jobject obj, jint index) -{ - ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->removeItemAt((int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_removeItem(JNIEnv* env, jobject obj, jint id) -{ - ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->removeItem((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_setAccel(JNIEnv* env, jobject obj, jobject key, jint id) -{ - ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->setAccel((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, key), (int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_setActiveItem(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQPopupMenu*) QtSupport::getQt(env, obj))->setActiveItem((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_setCheckable(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQPopupMenu*) QtSupport::getQt(env, obj))->setCheckable((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_setFont(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPopupMenu*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_setId(JNIEnv* env, jobject obj, jint index, jint id) -{ - ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->setId((int) index, (int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_setItemChecked(JNIEnv* env, jobject obj, jint id, jboolean check) -{ - ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->setItemChecked((int) id, (bool) check); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_setItemEnabled(JNIEnv* env, jobject obj, jint id, jboolean enable) -{ - ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->setItemEnabled((int) id, (bool) enable); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPopupMenu_setItemParameter(JNIEnv* env, jobject obj, jint id, jint param) -{ - jboolean xret = (jboolean) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->setItemParameter((int) id, (int) param); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_setItemVisible(JNIEnv* env, jobject obj, jint id, jboolean visible) -{ - ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->setItemVisible((int) id, (bool) visible); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_setWhatsThis(JNIEnv* env, jobject obj, jint id, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->setWhatsThis((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_show(JNIEnv* env, jobject obj) -{ - ((TQPopupMenu*) QtSupport::getQt(env, obj))->show(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPopupMenu_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQPopupMenu*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_styleChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QPopupMenu_text(JNIEnv* env, jobject obj, jint id) -{ - TQString _qstring; - _qstring = ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->text((int) id); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_timerEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_timerEvent((TQTimerEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QPopupMenu_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQPopupMenuJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QPopupMenu_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQPopupMenuJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_updateItem(JNIEnv* env, jobject obj, jint id) -{ - ((TQPopupMenu*) QtSupport::getQt(env, obj))->updateItem((int) id); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QPopupMenu_whatsThis(JNIEnv* env, jobject obj, jint id) -{ - TQString _qstring; - _qstring = ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->whatsThis((int) id); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv *env, jobject obj, jstring text, jobject receiver, jstring member, jobject accel, jint identifier, jint index) -{ - identifier = Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2II(env, obj, text, identifier, index); - - if ((bool) Java_org_kde_qt_QPopupMenu_connectItem(env, obj, identifier, receiver, member)) { - Java_org_kde_qt_QPopupMenu_setAccel(env, obj, accel, identifier); - } - - return identifier; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jstring text, jobject receiver, jstring member) -{ - jint identifier = Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2II(env, obj, text, -1, -1); - Java_org_kde_qt_QPopupMenu_connectItem(env, obj, identifier, receiver, member); - - return identifier; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member) -{ -static TQString * _qstring_text = 0; - jint identifier = Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2II(env, obj, icon, text, -1, -1); - Java_org_kde_qt_QPopupMenu_connectItem(env, obj, identifier, receiver, member); - - return identifier; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject pixmap, jobject receiver, jstring member) -{ - jint identifier = Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2II(env, obj, pixmap, -1, -1); - Java_org_kde_qt_QPopupMenu_connectItem(env, obj, identifier, receiver, member); - - return identifier; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member) -{ - jint identifier = Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2II(env, obj, icon, pixmap, -1, -1); - Java_org_kde_qt_QPopupMenu_connectItem(env, obj, identifier, receiver, member); - - return identifier; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPopupMenu_connectItem(JNIEnv *env, jobject obj, jint identifier, jobject receiver, jstring member) -{ - JavaSlot * javaSlot = QtSupport::slotForReceiver(env, receiver, member); - - if ( ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->connectItem( identifier, - javaSlot, - javaSlot->javaToQtSlotName(env, member) ) ) - { - return(jboolean) JNI_TRUE; - } else { - return (jboolean) JNI_FALSE; - } -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPopupMenu_disconnectItem(JNIEnv *env, jobject obj, jint identifier, jobject receiver, jstring member) -{ - JavaSlot * javaSlot = QtSupport::slotForReceiver(env, receiver, member); - - if ( ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->disconnectItem( identifier, - javaSlot, - javaSlot->javaToQtSlotName(env, member) ) ) - { - return(jboolean) JNI_TRUE; - } else { - return (jboolean) JNI_FALSE; - } -} - diff --git a/qtjava/javalib/qtjava/QPopupMenu.h b/qtjava/javalib/qtjava/QPopupMenu.h deleted file mode 100644 index 1412a8f6..00000000 --- a/qtjava/javalib/qtjava/QPopupMenu.h +++ /dev/null @@ -1,158 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QPopupMenu__ -#define __org_kde_qt_QPopupMenu__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPopupMenu_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPopupMenu_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_newTQPopupMenu__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_newTQPopupMenu__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_newTQPopupMenu__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_popup__Lorg_kde_qt_QPoint_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_popup__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_updateItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_setCheckable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPopupMenu_isCheckable (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_setFont (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_show (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_hide (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_exec__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_exec__Lorg_kde_qt_QPoint_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_exec__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_setActiveItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPopupMenu_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_idAt__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_idAt__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPopupMenu_customWhatsThis (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertTearOffHandle__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertTearOffHandle__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertTearOffHandle__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_activateItemAt (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPopupMenu_itemGeometry (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPopupMenu_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPopupMenu_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_itemHeight__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_itemHeight__Lorg_kde_qt_QMenuItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_drawItem (JNIEnv *env, jobject, jobject, jint, jobject, jboolean, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_drawContents (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_closeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_mouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_focusInEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_focusOutEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_timerEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_leaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_styleChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_enabledChange (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_columns (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPopupMenu_focusNextPrevChild (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_itemAtPos__Lorg_kde_qt_QPoint_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_itemAtPos__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPopupMenu_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_count (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II (JNIEnv *env, jobject, jstring, jobject, jstring, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I (JNIEnv *env, jobject, jstring, jobject, jstring, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jstring, jobject, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II (JNIEnv *env, jobject, jobject, jobject, jstring, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I (JNIEnv *env, jobject, jobject, jobject, jstring, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II (JNIEnv *env, jobject, jobject, jobject, jobject, jstring, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I (JNIEnv *env, jobject, jobject, jobject, jobject, jstring, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2II (JNIEnv *env, jobject, jobject, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2II (JNIEnv *env, jobject, jstring, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2I (JNIEnv *env, jobject, jstring, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2II (JNIEnv *env, jobject, jobject, jstring, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2I (JNIEnv *env, jobject, jobject, jstring, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jobject, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2II (JNIEnv *env, jobject, jobject, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2II (JNIEnv *env, jobject, jobject, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2I (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2II (JNIEnv *env, jobject, jobject, jobject, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2I (JNIEnv *env, jobject, jobject, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QWidget_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2II (JNIEnv *env, jobject, jobject, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2I (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QCustomMenuItem_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QCustomMenuItem_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QCustomMenuItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertSeparator__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertSeparator__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_removeItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_removeItemAt (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_clear (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPopupMenu_accel (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_setAccel (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPopupMenu_iconSet (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPopupMenu_text (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPopupMenu_pixmap (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_setWhatsThis (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPopupMenu_whatsThis (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_changeItem__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_changeItem__ILorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_changeItem__ILorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_changeItem__ILorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jint, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_changeItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_changeItem__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_changeItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPopupMenu_isItemActive (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPopupMenu_isItemEnabled (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_setItemEnabled (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPopupMenu_isItemChecked (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_setItemChecked (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPopupMenu_isItemVisible (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_setItemVisible (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_indexOf (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_setId (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPopupMenu_connectItem (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPopupMenu_disconnectItem (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPopupMenu_setItemParameter (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_itemParameter (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPopupMenu_findItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPopupMenu_findPopup__Lorg_kde_qt_QPopupMenu_2_3I (JNIEnv *env, jobject, jobject, jintArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPopupMenu_findPopup__Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_menuContentsChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_menuStateChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_menuInsPopup (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_menuDelPopup (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QPopupMenu__ */ diff --git a/qtjava/javalib/qtjava/QPrintDialog.cpp b/qtjava/javalib/qtjava/QPrintDialog.cpp deleted file mode 100644 index 08b888ef..00000000 --- a/qtjava/javalib/qtjava/QPrintDialog.cpp +++ /dev/null @@ -1,491 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQPrintDialogJBridge : public TQPrintDialog -{ -public: - TQPrintDialogJBridge(TQPrinter* arg1,TQWidget* arg2,const char* arg3) : TQPrintDialog(arg1,arg2,arg3) {}; - TQPrintDialogJBridge(TQPrinter* arg1,TQWidget* arg2) : TQPrintDialog(arg1,arg2) {}; - TQPrintDialogJBridge(TQPrinter* arg1) : TQPrintDialog(arg1) {}; - ~TQPrintDialogJBridge() {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.qt.TQPrintDialog","accept")) { - TQDialog::accept(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPrintDialog","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.qt.TQPrintDialog","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.qt.TQPrintDialog","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.qt.TQPrintDialog","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPrintDialog","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.qt.TQPrintDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPrintDialog","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.qt.TQPrintDialog","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.qt.TQPrintDialog","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.qt.TQPrintDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPrintDialog_addButton(JNIEnv* env, jobject obj, jobject but) -{ - ((TQPrintDialog*) QtSupport::getQt(env, obj))->addButton((TQPushButton*) QtSupport::getQt(env, but)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QPrintDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQPrintDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPrintDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QPrintDialog_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPrintDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQPrintDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQPrintDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPrintDialog_getPrinterSetup__Lorg_kde_qt_QPrinter_2(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - jboolean xret = (jboolean) TQPrintDialogJBridge::getPrinterSetup((TQPrinter*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPrintDialog_getPrinterSetup__Lorg_kde_qt_QPrinter_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) -{ - (void) cls; - jboolean xret = (jboolean) TQPrintDialogJBridge::getPrinterSetup((TQPrinter*) QtSupport::getQt(env, arg1), (TQWidget*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPrintDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPrintDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQPrintDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPrintDialog_newTQPrintDialog__Lorg_kde_qt_QPrinter_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPrintDialogJBridge((TQPrinter*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPrintDialog_newTQPrintDialog__Lorg_kde_qt_QPrinter_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPrintDialogJBridge((TQPrinter*) QtSupport::getQt(env, arg1), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPrintDialog_newTQPrintDialog__Lorg_kde_qt_QPrinter_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPrintDialogJBridge((TQPrinter*) QtSupport::getQt(env, arg1), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPrintDialog_printer(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQPrintDialog*) QtSupport::getQt(env, obj))->printer(), "org.kde.qt.TQPrinter"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPrintDialog_setGlobalPrintDialog(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - TQPrintDialogJBridge::setGlobalPrintDialog((TQPrintDialog*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPrintDialog_setPrinter__Lorg_kde_qt_QPrinter_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPrintDialog*) QtSupport::getQt(env, obj))->setPrinter((TQPrinter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPrintDialog_setPrinter__Lorg_kde_qt_QPrinter_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) -{ - ((TQPrintDialog*) QtSupport::getQt(env, obj))->setPrinter((TQPrinter*) QtSupport::getQt(env, arg1), (bool) arg2); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QPrintDialog_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQPrintDialogJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QPrintDialog_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQPrintDialogJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QPrintDialog.h b/qtjava/javalib/qtjava/QPrintDialog.h deleted file mode 100644 index 4a8866bc..00000000 --- a/qtjava/javalib/qtjava/QPrintDialog.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QPrintDialog__ -#define __org_kde_qt_QPrintDialog__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPrintDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPrintDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrintDialog_newTQPrintDialog__Lorg_kde_qt_QPrinter_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrintDialog_newTQPrintDialog__Lorg_kde_qt_QPrinter_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrintDialog_newTQPrintDialog__Lorg_kde_qt_QPrinter_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrintDialog_setPrinter__Lorg_kde_qt_QPrinter_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrintDialog_setPrinter__Lorg_kde_qt_QPrinter_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPrintDialog_printer (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrintDialog_addButton (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPrintDialog_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPrintDialog_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPrintDialog_getPrinterSetup__Lorg_kde_qt_QPrinter_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPrintDialog_getPrinterSetup__Lorg_kde_qt_QPrinter_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrintDialog_setGlobalPrintDialog (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrintDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrintDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPrintDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QPrintDialog__ */ diff --git a/qtjava/javalib/qtjava/QPrinter.cpp b/qtjava/javalib/qtjava/QPrinter.cpp deleted file mode 100644 index 684b0bbe..00000000 --- a/qtjava/javalib/qtjava/QPrinter.cpp +++ /dev/null @@ -1,453 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQPrinterJBridge : public TQPrinter -{ -public: - TQPrinterJBridge(TQPrinter::PrinterMode arg1) : TQPrinter(arg1) {}; - TQPrinterJBridge() : TQPrinter() {}; - int protected_metric(int arg1) { - return (int) TQPrinter::metric(arg1); - } - ~TQPrinterJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPrinter_abort(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQPrinter*) QtSupport::getQt(env, obj))->abort(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPrinter_aborted(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQPrinter*) QtSupport::getQt(env, obj))->aborted(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPrinter_collateCopiesEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQPrinter*) QtSupport::getQt(env, obj))->collateCopiesEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPrinter_collateCopies(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQPrinter*) QtSupport::getQt(env, obj))->collateCopies(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPrinter_colorMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPrinter*) QtSupport::getQt(env, obj))->colorMode(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QPrinter_creator(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQPrinter*) QtSupport::getQt(env, obj))->creator(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPrinter_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QPrinter_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QPrinter_docName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQPrinter*) QtSupport::getQt(env, obj))->docName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPrinter_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQPrinter*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPrinter_fromPage(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPrinter*) QtSupport::getQt(env, obj))->fromPage(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPrinter_fullPage(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQPrinter*) QtSupport::getQt(env, obj))->fullPage(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPrinter_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPrinter_isOptionEnabled(JNIEnv* env, jobject obj, jint arg1) -{ - jboolean xret = (jboolean) ((TQPrinter*) QtSupport::getQt(env, obj))->isOptionEnabled((TQPrinter::PrinterOption) arg1); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPrinter_margins__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQPrinter*) QtSupport::getQt(env, obj))->margins()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPrinter_margins___3I_3I_3I_3I(JNIEnv* env, jobject obj, jintArray top, jintArray left, jintArray bottom, jintArray right) -{ - int* _int_top = QtSupport::toIntPtr(env, top); - int* _int_left = QtSupport::toIntPtr(env, left); - int* _int_bottom = QtSupport::toIntPtr(env, bottom); - int* _int_right = QtSupport::toIntPtr(env, right); - ((TQPrinter*) QtSupport::getQt(env, obj))->margins( (uint*) _int_top, (uint*) _int_left, (uint*) _int_bottom, (uint*) _int_right); - env->SetIntArrayRegion(top, 0, 1, (jint *) _int_top); - env->SetIntArrayRegion(left, 0, 1, (jint *) _int_left); - env->SetIntArrayRegion(bottom, 0, 1, (jint *) _int_bottom); - env->SetIntArrayRegion(right, 0, 1, (jint *) _int_right); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPrinter_maxPage(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPrinter*) QtSupport::getQt(env, obj))->maxPage(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPrinter_metric(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQPrinterJBridge*) QtSupport::getQt(env, obj))->protected_metric((int) arg1); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPrinter_minPage(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPrinter*) QtSupport::getQt(env, obj))->minPage(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPrinter_newPage(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQPrinter*) QtSupport::getQt(env, obj))->newPage(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPrinter_newTQPrinter__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPrinterJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPrinter_newTQPrinter__I(JNIEnv* env, jobject obj, jint mode) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPrinterJBridge((TQPrinter::PrinterMode) mode)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPrinter_numCopies(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPrinter*) QtSupport::getQt(env, obj))->numCopies(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPrinter_orientation(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPrinter*) QtSupport::getQt(env, obj))->orientation(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QPrinter_outputFileName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQPrinter*) QtSupport::getQt(env, obj))->outputFileName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPrinter_outputToFile(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQPrinter*) QtSupport::getQt(env, obj))->outputToFile(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPrinter_pageOrder(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPrinter*) QtSupport::getQt(env, obj))->pageOrder(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPrinter_pageSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPrinter*) QtSupport::getQt(env, obj))->pageSize(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPrinter_paperSource(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPrinter*) QtSupport::getQt(env, obj))->paperSource(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QPrinter_printProgram(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQPrinter*) QtSupport::getQt(env, obj))->printProgram(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPrinter_printRange(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPrinter*) QtSupport::getQt(env, obj))->printRange(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QPrinter_printerName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQPrinter*) QtSupport::getQt(env, obj))->printerName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QPrinter_printerSelectionOption(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQPrinter*) QtSupport::getQt(env, obj))->printerSelectionOption(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPrinter_resolution(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPrinter*) QtSupport::getQt(env, obj))->resolution(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPrinter_setCollateCopiesEnabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQPrinter*) QtSupport::getQt(env, obj))->setCollateCopiesEnabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPrinter_setCollateCopies(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQPrinter*) QtSupport::getQt(env, obj))->setCollateCopies((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPrinter_setColorMode(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQPrinter*) QtSupport::getQt(env, obj))->setColorMode((TQPrinter::ColorMode) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPrinter_setCreator(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQPrinter*) QtSupport::getQt(env, obj))->setCreator((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPrinter_setDocName(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQPrinter*) QtSupport::getQt(env, obj))->setDocName((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPrinter_setFromTo(JNIEnv* env, jobject obj, jint fromPage, jint toPage) -{ - ((TQPrinter*) QtSupport::getQt(env, obj))->setFromTo((int) fromPage, (int) toPage); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPrinter_setFullPage(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQPrinter*) QtSupport::getQt(env, obj))->setFullPage((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPrinter_setMargins(JNIEnv* env, jobject obj, jint top, jint left, jint bottom, jint right) -{ - ((TQPrinter*) QtSupport::getQt(env, obj))->setMargins((uint) top, (uint) left, (uint) bottom, (uint) right); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPrinter_setMinMax(JNIEnv* env, jobject obj, jint minPage, jint maxPage) -{ - ((TQPrinter*) QtSupport::getQt(env, obj))->setMinMax((int) minPage, (int) maxPage); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPrinter_setNumCopies(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQPrinter*) QtSupport::getQt(env, obj))->setNumCopies((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPrinter_setOptionEnabled(JNIEnv* env, jobject obj, jint arg1, jboolean enable) -{ - ((TQPrinter*) QtSupport::getQt(env, obj))->setOptionEnabled((TQPrinter::PrinterOption) arg1, (bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPrinter_setOrientation(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQPrinter*) QtSupport::getQt(env, obj))->setOrientation((TQPrinter::Orientation) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPrinter_setOutputFileName(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQPrinter*) QtSupport::getQt(env, obj))->setOutputFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPrinter_setOutputToFile(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQPrinter*) QtSupport::getQt(env, obj))->setOutputToFile((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPrinter_setPageOrder(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQPrinter*) QtSupport::getQt(env, obj))->setPageOrder((TQPrinter::PageOrder) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPrinter_setPageSize(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQPrinter*) QtSupport::getQt(env, obj))->setPageSize((TQPrinter::PageSize) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPrinter_setPaperSource(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQPrinter*) QtSupport::getQt(env, obj))->setPaperSource((TQPrinter::PaperSource) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPrinter_setPrintProgram(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQPrinter*) QtSupport::getQt(env, obj))->setPrintProgram((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPrinter_setPrintRange(JNIEnv* env, jobject obj, jint range) -{ - ((TQPrinter*) QtSupport::getQt(env, obj))->setPrintRange((TQPrinter::PrintRange) range); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPrinter_setPrinterName(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQPrinter*) QtSupport::getQt(env, obj))->setPrinterName((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPrinter_setPrinterSelectionOption(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQPrinter*) QtSupport::getQt(env, obj))->setPrinterSelectionOption((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPrinter_setResolution(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQPrinter*) QtSupport::getQt(env, obj))->setResolution((int) arg1); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPrinter_setup__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQPrinter*) QtSupport::getQt(env, obj))->setup(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPrinter_setup__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - jboolean xret = (jboolean) ((TQPrinter*) QtSupport::getQt(env, obj))->setup((TQWidget*) QtSupport::getQt(env, parent)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QPrinter_toPage(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPrinter*) QtSupport::getQt(env, obj))->toPage(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QPrinter.h b/qtjava/javalib/qtjava/QPrinter.h deleted file mode 100644 index 1a711b02..00000000 --- a/qtjava/javalib/qtjava/QPrinter.h +++ /dev/null @@ -1,76 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QPrinter__ -#define __org_kde_qt_QPrinter__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_newTQPrinter__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_newTQPrinter__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPrinter_printerName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setPrinterName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPrinter_outputToFile (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setOutputToFile (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPrinter_outputFileName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setOutputFileName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPrinter_printProgram (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setPrintProgram (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPrinter_printerSelectionOption (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setPrinterSelectionOption (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPrinter_docName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setDocName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPrinter_creator (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setCreator (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPrinter_orientation (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setOrientation (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPrinter_pageSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setPageSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setPageOrder (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPrinter_pageOrder (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setResolution (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPrinter_resolution (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setColorMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPrinter_colorMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setFullPage (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPrinter_fullPage (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPrinter_margins__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setMargins (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_margins___3I_3I_3I_3I (JNIEnv *env, jobject, jintArray, jintArray, jintArray, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPrinter_fromPage (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPrinter_toPage (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setFromTo (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPrinter_minPage (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPrinter_maxPage (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setMinMax (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPrinter_numCopies (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setNumCopies (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPrinter_collateCopiesEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setCollateCopiesEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPrinter_collateCopies (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setCollateCopies (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPrinter_printRange (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setPrintRange (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPrinter_newPage (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPrinter_abort (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPrinter_aborted (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPrinter_setup__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPrinter_setup__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPrinter_paperSource (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setPaperSource (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setOptionEnabled (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPrinter_isOptionEnabled (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPrinter_metric (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPrinter_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QPrinter__ */ diff --git a/qtjava/javalib/qtjava/QProcess.cpp b/qtjava/javalib/qtjava/QProcess.cpp deleted file mode 100644 index 62f8774b..00000000 --- a/qtjava/javalib/qtjava/QProcess.cpp +++ /dev/null @@ -1,486 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include - -class TQProcessJBridge : public TQProcess -{ -public: - TQProcessJBridge(TQObject* arg1,const char* arg2) : TQProcess(arg1,arg2) {}; - TQProcessJBridge(TQObject* arg1) : TQProcess(arg1) {}; - TQProcessJBridge() : TQProcess() {}; - TQProcessJBridge(const TQString& arg1,TQObject* arg2,const char* arg3) : TQProcess(arg1,arg2,arg3) {}; - TQProcessJBridge(const TQString& arg1,TQObject* arg2) : TQProcess(arg1,arg2) {}; - TQProcessJBridge(const TQString& arg1) : TQProcess(arg1) {}; - TQProcessJBridge(const TQStringList& arg1,TQObject* arg2,const char* arg3) : TQProcess(arg1,arg2,arg3) {}; - TQProcessJBridge(const TQStringList& arg1,TQObject* arg2) : TQProcess(arg1,arg2) {}; - TQProcessJBridge(const TQStringList& arg1) : TQProcess(arg1) {}; - void public_closeStdin() { - TQProcess::closeStdin(); - return; - } - void protected_connectNotify(const char* arg1) { - TQProcess::connectNotify(arg1); - return; - } - void protected_disconnectNotify(const char* arg1) { - TQProcess::disconnectNotify(arg1); - return; - } - ~TQProcessJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void setWorkingDirectory(const TQDir& arg1) { - if (!QtSupport::eventDelegate(this,"setWorkingDirectory",(void*)&arg1,"org.kde.qt.TQDir")) { - TQProcess::setWorkingDirectory(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void closeStdin() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQProcess","closeStdin")) { - TQProcess::closeStdin(); - } - 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.qt.TQProcess",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProcess_addArgument(JNIEnv* env, jobject obj, jstring arg) -{ -static TQString* _qstring_arg = 0; - ((TQProcess*) QtSupport::getQt(env, obj))->addArgument((const TQString&)*(TQString*) QtSupport::toTQString(env, arg, &_qstring_arg)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QProcess_arguments(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TQProcess*) QtSupport::getQt(env, obj))->arguments(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QProcess_canReadLineStderr(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQProcess*) QtSupport::getQt(env, obj))->canReadLineStderr(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QProcess_canReadLineStdout(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQProcess*) QtSupport::getQt(env, obj))->canReadLineStdout(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QProcess_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQProcess*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProcess_clearArguments(JNIEnv* env, jobject obj) -{ - ((TQProcess*) QtSupport::getQt(env, obj))->clearArguments(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProcess_closeStdin(JNIEnv* env, jobject obj) -{ - ((TQProcessJBridge*) QtSupport::getQt(env, obj))->public_closeStdin(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QProcess_communication(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQProcess*) QtSupport::getQt(env, obj))->communication(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProcess_connectNotify(JNIEnv* env, jobject obj, jstring signal) -{ -static TQCString* _qstring_signal = 0; - ((TQProcessJBridge*) QtSupport::getQt(env, obj))->protected_connectNotify((const char*) QtSupport::toCharString(env, signal, &_qstring_signal)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProcess_disconnectNotify(JNIEnv* env, jobject obj, jstring signal) -{ -static TQCString* _qstring_signal = 0; - ((TQProcessJBridge*) QtSupport::getQt(env, obj))->protected_disconnectNotify((const char*) QtSupport::toCharString(env, signal, &_qstring_signal)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProcess_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QProcess_finalize(env, obj); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QProcess_exitStatus(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQProcess*) QtSupport::getQt(env, obj))->exitStatus(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProcess_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQProcess*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQProcess*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProcess_flushStdin(JNIEnv* env, jobject obj) -{ - ((TQProcess*) QtSupport::getQt(env, obj))->flushStdin(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QProcess_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QProcess_isRunning(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQProcess*) QtSupport::getQt(env, obj))->isRunning(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProcess_kill(JNIEnv* env, jobject obj) -{ - ((TQProcess*) QtSupport::getQt(env, obj))->kill(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QProcess_launch__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring buf) -{ -static TQString* _qstring_buf = 0; - jboolean xret = (jboolean) ((TQProcess*) QtSupport::getQt(env, obj))->launch((const TQString&)*(TQString*) QtSupport::toTQString(env, buf, &_qstring_buf)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QProcess_launch__Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring buf, jobjectArray arg2) -{ -static TQString* _qstring_buf = 0; -static TQStringList* _qlist_arg2 = 0; - jboolean xret = (jboolean) ((TQProcess*) QtSupport::getQt(env, obj))->launch((const TQString&)*(TQString*) QtSupport::toTQString(env, buf, &_qstring_buf), (TQStringList*) QtSupport::toTQStringList(env, arg2, &_qlist_arg2)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QProcess_launch___3B(JNIEnv* env, jobject obj, jbyteArray buf) -{ -static TQByteArray* _qbyteArray_buf = 0; - jboolean xret = (jboolean) ((TQProcess*) QtSupport::getQt(env, obj))->launch((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, buf, &_qbyteArray_buf)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QProcess_launch___3B_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jbyteArray buf, jobjectArray arg2) -{ -static TQByteArray* _qbyteArray_buf = 0; -static TQStringList* _qlist_arg2 = 0; - jboolean xret = (jboolean) ((TQProcess*) QtSupport::getQt(env, obj))->launch((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, buf, &_qbyteArray_buf), (TQStringList*) QtSupport::toTQStringList(env, arg2, &_qlist_arg2)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QProcess_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQProcess*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProcess_newTQProcess__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQProcessJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProcess_newTQProcess__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg0) -{ -static TQString* _qstring_arg0 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQProcessJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, arg0, &_qstring_arg0))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProcess_newTQProcess__Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring arg0, jobject parent) -{ -static TQString* _qstring_arg0 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQProcessJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, arg0, &_qstring_arg0), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProcess_newTQProcess__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg0, jobject parent, jstring name) -{ -static TQString* _qstring_arg0 = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQProcessJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, arg0, &_qstring_arg0), (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_qt_QProcess_newTQProcess__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQProcessJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProcess_newTQProcess__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 TQProcessJBridge((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_qt_QProcess_newTQProcess___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray args) -{ -static TQStringList* _qlist_args = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQProcessJBridge((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProcess_newTQProcess___3Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobjectArray args, jobject parent) -{ -static TQStringList* _qlist_args = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQProcessJBridge((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProcess_newTQProcess___3Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray args, jobject parent, jstring name) -{ -static TQStringList* _qlist_args = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQProcessJBridge((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args), (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_qt_QProcess_normalExit(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQProcess*) QtSupport::getQt(env, obj))->normalExit(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QProcess_processIdentifier(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((TQProcess*) QtSupport::getQt(env, obj))->processIdentifier(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QProcess_readLineStderr(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQProcess*) QtSupport::getQt(env, obj))->readLineStderr(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QProcess_readLineStdout(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQProcess*) QtSupport::getQt(env, obj))->readLineStdout(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_qt_QProcess_readStderr(JNIEnv* env, jobject obj) -{ - TQByteArray _qbyteArray; - _qbyteArray = ((TQProcess*) QtSupport::getQt(env, obj))->readStderr(); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_qt_QProcess_readStdout(JNIEnv* env, jobject obj) -{ - TQByteArray _qbyteArray; - _qbyteArray = ((TQProcess*) QtSupport::getQt(env, obj))->readStdout(); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProcess_setArguments(JNIEnv* env, jobject obj, jobjectArray args) -{ -static TQStringList* _qlist_args = 0; - ((TQProcess*) QtSupport::getQt(env, obj))->setArguments((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProcess_setCommunication(JNIEnv* env, jobject obj, jint c) -{ - ((TQProcess*) QtSupport::getQt(env, obj))->setCommunication((int) c); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProcess_setWorkingDirectory(JNIEnv* env, jobject obj, jobject dir) -{ - ((TQProcess*) QtSupport::getQt(env, obj))->setWorkingDirectory((const TQDir&)*(const TQDir*) QtSupport::getQt(env, dir)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QProcess_start__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQProcess*) QtSupport::getQt(env, obj))->start(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QProcess_start___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray arg1) -{ -static TQStringList* _qlist_arg1 = 0; - jboolean xret = (jboolean) ((TQProcess*) QtSupport::getQt(env, obj))->start((TQStringList*) QtSupport::toTQStringList(env, arg1, &_qlist_arg1)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QProcess_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQProcessJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QProcess_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQProcessJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProcess_tryTerminate(JNIEnv* env, jobject obj) -{ - ((TQProcess*) QtSupport::getQt(env, obj))->tryTerminate(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QProcess_workingDirectory(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDir(((TQProcess*) QtSupport::getQt(env, obj))->workingDirectory()), "org.kde.qt.TQDir", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProcess_writeToStdin__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring buf) -{ -static TQString* _qstring_buf = 0; - ((TQProcess*) QtSupport::getQt(env, obj))->writeToStdin((const TQString&)*(TQString*) QtSupport::toTQString(env, buf, &_qstring_buf)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProcess_writeToStdin___3B(JNIEnv* env, jobject obj, jbyteArray buf) -{ -static TQByteArray* _qbyteArray_buf = 0; - ((TQProcess*) QtSupport::getQt(env, obj))->writeToStdin((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, buf, &_qbyteArray_buf)); - return; -} - diff --git a/qtjava/javalib/qtjava/QProcess.h b/qtjava/javalib/qtjava/QProcess.h deleted file mode 100644 index 990c66d6..00000000 --- a/qtjava/javalib/qtjava/QProcess.h +++ /dev/null @@ -1,66 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QProcess__ -#define __org_kde_qt_QProcess__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QProcess_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QProcess_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_newTQProcess__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_newTQProcess__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_newTQProcess__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_newTQProcess__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_newTQProcess__Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_newTQProcess__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_newTQProcess___3Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_newTQProcess___3Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobjectArray, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_newTQProcess___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QProcess_arguments (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_clearArguments (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_setArguments (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_addArgument (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QProcess_workingDirectory (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_setWorkingDirectory (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_setCommunication (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QProcess_communication (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProcess_start___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProcess_start__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProcess_launch__Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobjectArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProcess_launch__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProcess_launch___3B_3Ljava_lang_String_2 (JNIEnv *env, jobject, jbyteArray, jobjectArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProcess_launch___3B (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProcess_isRunning (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProcess_normalExit (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QProcess_exitStatus (JNIEnv *env, jobject); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QProcess_readStdout (JNIEnv *env, jobject); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QProcess_readStderr (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProcess_canReadLineStdout (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProcess_canReadLineStderr (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QProcess_readLineStdout (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QProcess_readLineStderr (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QProcess_processIdentifier (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_flushStdin (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_tryTerminate (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_kill (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_writeToStdin___3B (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_writeToStdin__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_closeStdin (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QProcess_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QProcess_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_connectNotify (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_disconnectNotify (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProcess_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QProcess__ */ diff --git a/qtjava/javalib/qtjava/QProgressBar.cpp b/qtjava/javalib/qtjava/QProgressBar.cpp deleted file mode 100644 index caaf18d4..00000000 --- a/qtjava/javalib/qtjava/QProgressBar.cpp +++ /dev/null @@ -1,666 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include - -class TQProgressBarJBridge : public TQProgressBar -{ -public: - TQProgressBarJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQProgressBar(arg1,arg2,arg3) {}; - TQProgressBarJBridge(TQWidget* arg1,const char* arg2) : TQProgressBar(arg1,arg2) {}; - TQProgressBarJBridge(TQWidget* arg1) : TQProgressBar(arg1) {}; - TQProgressBarJBridge() : TQProgressBar() {}; - TQProgressBarJBridge(int arg1,TQWidget* arg2,const char* arg3,TQt::WFlags arg4) : TQProgressBar(arg1,arg2,arg3,arg4) {}; - TQProgressBarJBridge(int arg1,TQWidget* arg2,const char* arg3) : TQProgressBar(arg1,arg2,arg3) {}; - TQProgressBarJBridge(int arg1,TQWidget* arg2) : TQProgressBar(arg1,arg2) {}; - TQProgressBarJBridge(int arg1) : TQProgressBar(arg1) {}; - void protected_drawContents(TQPainter* arg1) { - TQProgressBar::drawContents(arg1); - return; - } - bool protected_setIndicator(TQString& arg1,int arg2,int arg3) { - return (bool) TQProgressBar::setIndicator(arg1,arg2,arg3); - } - void protected_styleChange(TQStyle& arg1) { - TQProgressBar::styleChange(arg1); - return; - } - ~TQProgressBarJBridge() {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.qt.TQProgressBar","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.qt.TQProgressBar","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.qt.TQProgressBar","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.qt.TQProgressBar","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.qt.TQProgressBar","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQProgressBar","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.qt.TQProgressBar","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQProgressBar","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.qt.TQProgressBar","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.qt.TQProgressBar",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.qt.TQProgressBar","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQProgressBar","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QProgressBar_centerIndicator(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQProgressBar*) QtSupport::getQt(env, obj))->centerIndicator(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QProgressBar_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQProgressBar*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressBar_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QProgressBar_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressBar_drawContents(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQProgressBarJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressBar_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQProgressBar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQProgressBar*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QProgressBar_indicatorFollowsStyle(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQProgressBar*) QtSupport::getQt(env, obj))->indicatorFollowsStyle(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QProgressBar_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QProgressBar_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQProgressBar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QProgressBar_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQProgressBar*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressBar_newTQProgressBar__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQProgressBarJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressBar_newTQProgressBar__I(JNIEnv* env, jobject obj, jint totalSteps) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQProgressBarJBridge((int) totalSteps)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressBar_newTQProgressBar__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint totalSteps, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQProgressBarJBridge((int) totalSteps, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressBar_newTQProgressBar__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 TQProgressBarJBridge((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_qt_QProgressBar_newTQProgressBar__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 TQProgressBarJBridge((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_qt_QProgressBar_newTQProgressBar__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQProgressBarJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressBar_newTQProgressBar__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 TQProgressBarJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressBar_newTQProgressBar__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 TQProgressBarJBridge((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 jboolean JNICALL -Java_org_kde_qt_QProgressBar_percentageVisible(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQProgressBar*) QtSupport::getQt(env, obj))->percentageVisible(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QProgressBar_progressString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQProgressBar*) QtSupport::getQt(env, obj))->progressString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QProgressBar_progress(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQProgressBar*) QtSupport::getQt(env, obj))->progress(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressBar_reset(JNIEnv* env, jobject obj) -{ - ((TQProgressBar*) QtSupport::getQt(env, obj))->reset(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressBar_setCenterIndicator(JNIEnv* env, jobject obj, jboolean on) -{ - ((TQProgressBar*) QtSupport::getQt(env, obj))->setCenterIndicator((bool) on); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressBar_setIndicatorFollowsStyle(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQProgressBar*) QtSupport::getQt(env, obj))->setIndicatorFollowsStyle((bool) arg1); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QProgressBar_setIndicator(JNIEnv* env, jobject obj, jobject progress_str, jint progress, jint totalSteps) -{ -static TQString* _qstring_progress_str = 0; - jboolean xret = (jboolean) ((TQProgressBarJBridge*) QtSupport::getQt(env, obj))->protected_setIndicator((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, progress_str, &_qstring_progress_str), (int) progress, (int) totalSteps); - QtSupport::fromTQStringToStringBuffer(env, _qstring_progress_str, progress_str); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressBar_setPercentageVisible(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQProgressBar*) QtSupport::getQt(env, obj))->setPercentageVisible((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressBar_setProgress__I(JNIEnv* env, jobject obj, jint progress) -{ - ((TQProgressBar*) QtSupport::getQt(env, obj))->setProgress((int) progress); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressBar_setProgress__II(JNIEnv* env, jobject obj, jint progress, jint totalSteps) -{ - ((TQProgressBar*) QtSupport::getQt(env, obj))->setProgress((int) progress, (int) totalSteps); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressBar_setTotalSteps(JNIEnv* env, jobject obj, jint totalSteps) -{ - ((TQProgressBar*) QtSupport::getQt(env, obj))->setTotalSteps((int) totalSteps); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressBar_show(JNIEnv* env, jobject obj) -{ - ((TQProgressBar*) QtSupport::getQt(env, obj))->show(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QProgressBar_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQProgressBar*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressBar_styleChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQProgressBarJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QProgressBar_totalSteps(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQProgressBar*) QtSupport::getQt(env, obj))->totalSteps(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QProgressBar_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQProgressBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QProgressBar_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQProgressBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QProgressBar.h b/qtjava/javalib/qtjava/QProgressBar.h deleted file mode 100644 index 2c4b6090..00000000 --- a/qtjava/javalib/qtjava/QProgressBar.h +++ /dev/null @@ -1,52 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QProgressBar__ -#define __org_kde_qt_QProgressBar__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QProgressBar_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QProgressBar_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_newTQProgressBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_newTQProgressBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_newTQProgressBar__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_newTQProgressBar__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_newTQProgressBar__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jint, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_newTQProgressBar__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_newTQProgressBar__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_newTQProgressBar__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QProgressBar_totalSteps (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QProgressBar_progress (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QProgressBar_progressString (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QProgressBar_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QProgressBar_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_setCenterIndicator (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProgressBar_centerIndicator (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_setIndicatorFollowsStyle (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProgressBar_indicatorFollowsStyle (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProgressBar_percentageVisible (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_setPercentageVisible (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_show (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_reset (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_setTotalSteps (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_setProgress__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_setProgress__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QProgressBar_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QProgressBar_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_drawContents (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProgressBar_setIndicator (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_styleChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProgressBar_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QProgressBar__ */ diff --git a/qtjava/javalib/qtjava/QProgressDialog.cpp b/qtjava/javalib/qtjava/QProgressDialog.cpp deleted file mode 100644 index 48b82910..00000000 --- a/qtjava/javalib/qtjava/QProgressDialog.cpp +++ /dev/null @@ -1,740 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include - -class TQProgressDialogJBridge : public TQProgressDialog -{ -public: - TQProgressDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3,TQt::WFlags arg4) : TQProgressDialog(arg1,arg2,arg3,arg4) {}; - TQProgressDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3) : TQProgressDialog(arg1,arg2,arg3) {}; - TQProgressDialogJBridge(TQWidget* arg1,const char* arg2) : TQProgressDialog(arg1,arg2) {}; - TQProgressDialogJBridge(TQWidget* arg1) : TQProgressDialog(arg1) {}; - TQProgressDialogJBridge() : TQProgressDialog() {}; - TQProgressDialogJBridge(const TQString& arg1,const TQString& arg2,int arg3,TQWidget* arg4,const char* arg5,bool arg6,TQt::WFlags arg7) : TQProgressDialog(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TQProgressDialogJBridge(const TQString& arg1,const TQString& arg2,int arg3,TQWidget* arg4,const char* arg5,bool arg6) : TQProgressDialog(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TQProgressDialogJBridge(const TQString& arg1,const TQString& arg2,int arg3,TQWidget* arg4,const char* arg5) : TQProgressDialog(arg1,arg2,arg3,arg4,arg5) {}; - TQProgressDialogJBridge(const TQString& arg1,const TQString& arg2,int arg3,TQWidget* arg4) : TQProgressDialog(arg1,arg2,arg3,arg4) {}; - TQProgressDialogJBridge(const TQString& arg1,const TQString& arg2,int arg3) : TQProgressDialog(arg1,arg2,arg3) {}; - void protected_resizeEvent(TQResizeEvent* arg1) { - TQProgressDialog::resizeEvent(arg1); - return; - } - void protected_closeEvent(TQCloseEvent* arg1) { - TQProgressDialog::closeEvent(arg1); - return; - } - void protected_styleChange(TQStyle& arg1) { - TQProgressDialog::styleChange(arg1); - return; - } - void protected_showEvent(TQShowEvent* arg1) { - TQProgressDialog::showEvent(arg1); - return; - } - void protected_forceShow() { - TQProgressDialog::forceShow(); - return; - } - ~TQProgressDialogJBridge() {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")) { - TQProgressDialog::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.qt.TQProgressDialog","accept")) { - TQDialog::accept(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQProgressDialog","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.qt.TQProgressDialog","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")) { - 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.qt.TQProgressDialog","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.qt.TQProgressDialog","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQProgressDialog","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")) { - TQProgressDialog::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")) { - TQProgressDialog::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.qt.TQProgressDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQProgressDialog","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.qt.TQProgressDialog","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.qt.TQProgressDialog","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.qt.TQProgressDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QProgressDialog_autoClose(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQProgressDialog*) QtSupport::getQt(env, obj))->autoClose(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QProgressDialog_autoReset(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQProgressDialog*) QtSupport::getQt(env, obj))->autoReset(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressDialog_cancel(JNIEnv* env, jobject obj) -{ - ((TQProgressDialog*) QtSupport::getQt(env, obj))->cancel(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QProgressDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQProgressDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressDialog_closeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQProgressDialogJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TQCloseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QProgressDialog_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQProgressDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQProgressDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressDialog_forceShow(JNIEnv* env, jobject obj) -{ - ((TQProgressDialogJBridge*) QtSupport::getQt(env, obj))->protected_forceShow(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QProgressDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QProgressDialog_labelText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQProgressDialog*) QtSupport::getQt(env, obj))->labelText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QProgressDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQProgressDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QProgressDialog_minimumDuration(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQProgressDialog*) QtSupport::getQt(env, obj))->minimumDuration(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressDialog_newTQProgressDialog__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQProgressDialogJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressDialog_newTQProgressDialog__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring labelText, jstring cancelButtonText, jint totalSteps) -{ -static TQString* _qstring_labelText = 0; -static TQString* _qstring_cancelButtonText = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQProgressDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, labelText, &_qstring_labelText), (const TQString&)*(TQString*) QtSupport::toTQString(env, cancelButtonText, &_qstring_cancelButtonText), (int) totalSteps)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressDialog_newTQProgressDialog__Ljava_lang_String_2Ljava_lang_String_2ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring labelText, jstring cancelButtonText, jint totalSteps, jobject parent) -{ -static TQString* _qstring_labelText = 0; -static TQString* _qstring_cancelButtonText = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQProgressDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, labelText, &_qstring_labelText), (const TQString&)*(TQString*) QtSupport::toTQString(env, cancelButtonText, &_qstring_cancelButtonText), (int) totalSteps, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressDialog_newTQProgressDialog__Ljava_lang_String_2Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring labelText, jstring cancelButtonText, jint totalSteps, jobject parent, jstring name) -{ -static TQString* _qstring_labelText = 0; -static TQString* _qstring_cancelButtonText = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQProgressDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, labelText, &_qstring_labelText), (const TQString&)*(TQString*) QtSupport::toTQString(env, cancelButtonText, &_qstring_cancelButtonText), (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_qt_QProgressDialog_newTQProgressDialog__Ljava_lang_String_2Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring labelText, jstring cancelButtonText, jint totalSteps, jobject parent, jstring name, jboolean modal) -{ -static TQString* _qstring_labelText = 0; -static TQString* _qstring_cancelButtonText = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQProgressDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, labelText, &_qstring_labelText), (const TQString&)*(TQString*) QtSupport::toTQString(env, cancelButtonText, &_qstring_cancelButtonText), (int) totalSteps, (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_qt_QProgressDialog_newTQProgressDialog__Ljava_lang_String_2Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2ZI(JNIEnv* env, jobject obj, jstring labelText, jstring cancelButtonText, jint totalSteps, jobject parent, jstring name, jboolean modal, jint f) -{ -static TQString* _qstring_labelText = 0; -static TQString* _qstring_cancelButtonText = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQProgressDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, labelText, &_qstring_labelText), (const TQString&)*(TQString*) QtSupport::toTQString(env, cancelButtonText, &_qstring_cancelButtonText), (int) totalSteps, (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_qt_QProgressDialog_newTQProgressDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQProgressDialogJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressDialog_newTQProgressDialog__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 TQProgressDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressDialog_newTQProgressDialog__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 TQProgressDialogJBridge((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_qt_QProgressDialog_newTQProgressDialog__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 TQProgressDialogJBridge((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 jint JNICALL -Java_org_kde_qt_QProgressDialog_progress(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQProgressDialog*) QtSupport::getQt(env, obj))->progress(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressDialog_reset(JNIEnv* env, jobject obj) -{ - ((TQProgressDialog*) QtSupport::getQt(env, obj))->reset(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressDialog_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQProgressDialogJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressDialog_setAutoClose(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQProgressDialog*) QtSupport::getQt(env, obj))->setAutoClose((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressDialog_setAutoReset(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQProgressDialog*) QtSupport::getQt(env, obj))->setAutoReset((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressDialog_setBar(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQProgressDialog*) QtSupport::getQt(env, obj))->setBar((TQProgressBar*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressDialog_setCancelButtonText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQProgressDialog*) QtSupport::getQt(env, obj))->setCancelButtonText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressDialog_setCancelButton(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQProgressDialog*) QtSupport::getQt(env, obj))->setCancelButton((TQPushButton*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressDialog_setLabelText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQProgressDialog*) QtSupport::getQt(env, obj))->setLabelText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressDialog_setLabel(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQProgressDialog*) QtSupport::getQt(env, obj))->setLabel((TQLabel*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressDialog_setMinimumDuration(JNIEnv* env, jobject obj, jint ms) -{ - ((TQProgressDialog*) QtSupport::getQt(env, obj))->setMinimumDuration((int) ms); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressDialog_setProgress__I(JNIEnv* env, jobject obj, jint progress) -{ - ((TQProgressDialog*) QtSupport::getQt(env, obj))->setProgress((int) progress); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressDialog_setProgress__II(JNIEnv* env, jobject obj, jint progress, jint totalSteps) -{ - ((TQProgressDialog*) QtSupport::getQt(env, obj))->setProgress((int) progress, (int) totalSteps); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressDialog_setTotalSteps(JNIEnv* env, jobject obj, jint totalSteps) -{ - ((TQProgressDialog*) QtSupport::getQt(env, obj))->setTotalSteps((int) totalSteps); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressDialog_showEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQProgressDialogJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QProgressDialog_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQProgressDialog*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressDialog_styleChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQProgressDialogJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QProgressDialog_totalSteps(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQProgressDialog*) QtSupport::getQt(env, obj))->totalSteps(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QProgressDialog_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQProgressDialogJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QProgressDialog_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQProgressDialogJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QProgressDialog_wasCanceled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQProgressDialog*) QtSupport::getQt(env, obj))->wasCanceled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QProgressDialog_wasCancelled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQProgressDialog*) QtSupport::getQt(env, obj))->wasCancelled(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QProgressDialog.h b/qtjava/javalib/qtjava/QProgressDialog.h deleted file mode 100644 index 79daba7d..00000000 --- a/qtjava/javalib/qtjava/QProgressDialog.h +++ /dev/null @@ -1,62 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QProgressDialog__ -#define __org_kde_qt_QProgressDialog__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QProgressDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QProgressDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_newTQProgressDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZI (JNIEnv *env, jobject, jobject, jstring, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_newTQProgressDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_newTQProgressDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_newTQProgressDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_newTQProgressDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_newTQProgressDialog__Ljava_lang_String_2Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2ZI (JNIEnv *env, jobject, jstring, jstring, jint, jobject, jstring, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_newTQProgressDialog__Ljava_lang_String_2Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jint, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_newTQProgressDialog__Ljava_lang_String_2Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_newTQProgressDialog__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_qt_QProgressDialog_newTQProgressDialog__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_setLabel (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_setCancelButton (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_setBar (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProgressDialog_wasCancelled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProgressDialog_wasCanceled (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QProgressDialog_totalSteps (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QProgressDialog_progress (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QProgressDialog_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QProgressDialog_labelText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_setAutoReset (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProgressDialog_autoReset (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_setAutoClose (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProgressDialog_autoClose (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QProgressDialog_minimumDuration (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_cancel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_reset (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_setTotalSteps (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_setProgress__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_setProgress__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_setLabelText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_setCancelButtonText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_setMinimumDuration (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QProgressDialog_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QProgressDialog_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_closeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_styleChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_showEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_forceShow (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProgressDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QProgressDialog__ */ diff --git a/qtjava/javalib/qtjava/QPushButton.cpp b/qtjava/javalib/qtjava/QPushButton.cpp deleted file mode 100644 index 9ce29f1e..00000000 --- a/qtjava/javalib/qtjava/QPushButton.cpp +++ /dev/null @@ -1,708 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQPushButtonJBridge : public TQPushButton -{ -public: - TQPushButtonJBridge(TQWidget* arg1,const char* arg2) : TQPushButton(arg1,arg2) {}; - TQPushButtonJBridge(TQWidget* arg1) : TQPushButton(arg1) {}; - TQPushButtonJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQPushButton(arg1,arg2,arg3) {}; - TQPushButtonJBridge(const TQString& arg1,TQWidget* arg2) : TQPushButton(arg1,arg2) {}; - TQPushButtonJBridge(const TQIconSet& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4) : TQPushButton(arg1,arg2,arg3,arg4) {}; - TQPushButtonJBridge(const TQIconSet& arg1,const TQString& arg2,TQWidget* arg3) : TQPushButton(arg1,arg2,arg3) {}; - void protected_drawButton(TQPainter* arg1) { - TQPushButton::drawButton(arg1); - return; - } - void protected_drawButtonLabel(TQPainter* arg1) { - TQPushButton::drawButtonLabel(arg1); - return; - } - void protected_focusInEvent(TQFocusEvent* arg1) { - TQPushButton::focusInEvent(arg1); - return; - } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TQPushButton::focusOutEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQPushButton::resizeEvent(arg1); - return; - } - void protected_updateMask() { - TQPushButton::updateMask(); - return; - } - ~TQPushButtonJBridge() {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.qt.TQPushButton","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.qt.TQPushButton","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.qt.TQPushButton","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.qt.TQPushButton","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.qt.TQPushButton","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.qt.TQPushButton","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPushButton","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.qt.TQPushButton","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.qt.TQPushButton","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.qt.TQPushButton",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPushButton","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPushButton_autoDefault(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQPushButton*) QtSupport::getQt(env, obj))->autoDefault(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QPushButton_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQPushButton*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPushButton_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QPushButton_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPushButton_drawButtonLabel(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPushButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButtonLabel((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPushButton_drawButton(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPushButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButton((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPushButton_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQPushButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQPushButton*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPushButton_focusInEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPushButtonJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPushButton_focusOutEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPushButtonJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPushButton_iconSet(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQPushButton*) QtSupport::getQt(env, obj))->iconSet(), "org.kde.qt.TQIconSet"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPushButton_isDefault(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQPushButton*) QtSupport::getQt(env, obj))->isDefault(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPushButton_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPushButton_isFlat(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQPushButton*) QtSupport::getQt(env, obj))->isFlat(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPushButton_isMenuButton(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQPushButton*) QtSupport::getQt(env, obj))->isMenuButton(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPushButton_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQPushButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPushButton_move__II(JNIEnv* env, jobject obj, jint x, jint y) -{ - ((TQPushButton*) QtSupport::getQt(env, obj))->move((int) x, (int) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPushButton_move__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject p) -{ - ((TQPushButton*) QtSupport::getQt(env, obj))->move((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPushButton_newTQPushButton__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 TQPushButtonJBridge((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_qt_QPushButton_newTQPushButton__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 TQPushButtonJBridge((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_qt_QPushButton_newTQPushButton__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 TQPushButtonJBridge((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_qt_QPushButton_newTQPushButton__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 TQPushButtonJBridge((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_qt_QPushButton_newTQPushButton__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQPushButtonJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPushButton_newTQPushButton__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 TQPushButtonJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPushButton_popup(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQPushButton*) QtSupport::getQt(env, obj))->popup(), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPushButton_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPushButtonJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPushButton_resize__II(JNIEnv* env, jobject obj, jint w, jint h) -{ - ((TQPushButton*) QtSupport::getQt(env, obj))->resize((int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPushButton_resize__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPushButton*) QtSupport::getQt(env, obj))->resize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPushButton_setAutoDefault(JNIEnv* env, jobject obj, jboolean autoDef) -{ - ((TQPushButton*) QtSupport::getQt(env, obj))->setAutoDefault((bool) autoDef); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPushButton_setDefault(JNIEnv* env, jobject obj, jboolean def) -{ - ((TQPushButton*) QtSupport::getQt(env, obj))->setDefault((bool) def); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPushButton_setFlat(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQPushButton*) QtSupport::getQt(env, obj))->setFlat((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPushButton_setGeometry__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) -{ - ((TQPushButton*) QtSupport::getQt(env, obj))->setGeometry((int) x, (int) y, (int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPushButton_setGeometry__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPushButton*) QtSupport::getQt(env, obj))->setGeometry((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPushButton_setIconSet(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQPushButton*) QtSupport::getQt(env, obj))->setIconSet((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPushButton_setIsMenuButton(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQPushButton*) QtSupport::getQt(env, obj))->setIsMenuButton((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPushButton_setOn(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQPushButton*) QtSupport::getQt(env, obj))->setOn((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPushButton_setPopup(JNIEnv* env, jobject obj, jobject popup) -{ - ((TQPushButton*) QtSupport::getQt(env, obj))->setPopup((TQPopupMenu*) QtSupport::getQt(env, popup)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPushButton_setToggleButton(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQPushButton*) QtSupport::getQt(env, obj))->setToggleButton((bool) arg1); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QPushButton_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQPushButton*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QPushButton_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQPushButtonJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QPushButton_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQPushButtonJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QPushButton_updateMask(JNIEnv* env, jobject obj) -{ - ((TQPushButtonJBridge*) QtSupport::getQt(env, obj))->protected_updateMask(); - return; -} - diff --git a/qtjava/javalib/qtjava/QPushButton.h b/qtjava/javalib/qtjava/QPushButton.h deleted file mode 100644 index 52cbc5fc..00000000 --- a/qtjava/javalib/qtjava/QPushButton.h +++ /dev/null @@ -1,58 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QPushButton__ -#define __org_kde_qt_QPushButton__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPushButton_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPushButton_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_newTQPushButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_newTQPushButton__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_newTQPushButton__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_newTQPushButton__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_newTQPushButton__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_qt_QPushButton_newTQPushButton__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPushButton_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_move__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_move__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_resize__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_resize__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_setGeometry__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_setGeometry__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_setToggleButton (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPushButton_autoDefault (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_setAutoDefault (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPushButton_isDefault (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_setDefault (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_setIsMenuButton (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPushButton_isMenuButton (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_setPopup (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPushButton_popup (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_setIconSet (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPushButton_iconSet (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_setFlat (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPushButton_isFlat (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_setOn (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPushButton_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPushButton_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_drawButton (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_drawButtonLabel (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_focusInEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_focusOutEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_updateMask (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPushButton_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QPushButton__ */ diff --git a/qtjava/javalib/qtjava/QRadioButton.cpp b/qtjava/javalib/qtjava/QRadioButton.cpp deleted file mode 100644 index aad456ae..00000000 --- a/qtjava/javalib/qtjava/QRadioButton.cpp +++ /dev/null @@ -1,549 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -class TQRadioButtonJBridge : public TQRadioButton -{ -public: - TQRadioButtonJBridge(TQWidget* arg1,const char* arg2) : TQRadioButton(arg1,arg2) {}; - TQRadioButtonJBridge(TQWidget* arg1) : TQRadioButton(arg1) {}; - TQRadioButtonJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQRadioButton(arg1,arg2,arg3) {}; - TQRadioButtonJBridge(const TQString& arg1,TQWidget* arg2) : TQRadioButton(arg1,arg2) {}; - bool protected_hitButton(const TQPoint& arg1) { - return (bool) TQRadioButton::hitButton(arg1); - } - void protected_drawButton(TQPainter* arg1) { - TQRadioButton::drawButton(arg1); - return; - } - void protected_drawButtonLabel(TQPainter* arg1) { - TQRadioButton::drawButtonLabel(arg1); - return; - } - void protected_updateMask() { - TQRadioButton::updateMask(); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQRadioButton::resizeEvent(arg1); - return; - } - ~TQRadioButtonJBridge() {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")) { - TQRadioButton::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.qt.TQRadioButton","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.qt.TQRadioButton","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.qt.TQRadioButton","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.qt.TQRadioButton","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.qt.TQRadioButton","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.qt.TQRadioButton","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQRadioButton","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.qt.TQRadioButton","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.qt.TQRadioButton","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; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQRadioButton",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.qt.TQRadioButton","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QRadioButton_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQRadioButton*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRadioButton_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QRadioButton_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRadioButton_drawButtonLabel(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQRadioButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButtonLabel((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRadioButton_drawButton(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQRadioButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButton((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRadioButton_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQRadioButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQRadioButton*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QRadioButton_hitButton(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQRadioButtonJBridge*) QtSupport::getQt(env, obj))->protected_hitButton((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QRadioButton_isChecked(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQRadioButton*) QtSupport::getQt(env, obj))->isChecked(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QRadioButton_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QRadioButton_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQRadioButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRadioButton_newTQRadioButton__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 TQRadioButtonJBridge((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_qt_QRadioButton_newTQRadioButton__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 TQRadioButtonJBridge((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_qt_QRadioButton_newTQRadioButton__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQRadioButtonJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRadioButton_newTQRadioButton__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 TQRadioButtonJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRadioButton_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQRadioButtonJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRadioButton_setChecked(JNIEnv* env, jobject obj, jboolean check) -{ - ((TQRadioButton*) QtSupport::getQt(env, obj))->setChecked((bool) check); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QRadioButton_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQRadioButton*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QRadioButton_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQRadioButtonJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QRadioButton_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQRadioButtonJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRadioButton_updateMask(JNIEnv* env, jobject obj) -{ - ((TQRadioButtonJBridge*) QtSupport::getQt(env, obj))->protected_updateMask(); - return; -} - diff --git a/qtjava/javalib/qtjava/QRadioButton.h b/qtjava/javalib/qtjava/QRadioButton.h deleted file mode 100644 index 9118d2da..00000000 --- a/qtjava/javalib/qtjava/QRadioButton.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QRadioButton__ -#define __org_kde_qt_QRadioButton__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRadioButton_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QRadioButton_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRadioButton_newTQRadioButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRadioButton_newTQRadioButton__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRadioButton_newTQRadioButton__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRadioButton_newTQRadioButton__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRadioButton_isChecked (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRadioButton_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRadioButton_setChecked (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QRadioButton_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QRadioButton_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRadioButton_hitButton (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRadioButton_drawButton (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRadioButton_drawButtonLabel (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRadioButton_updateMask (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRadioButton_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRadioButton_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRadioButton_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRadioButton_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QRadioButton__ */ diff --git a/qtjava/javalib/qtjava/QRangeControl.cpp b/qtjava/javalib/qtjava/QRangeControl.cpp deleted file mode 100644 index fae1e5f8..00000000 --- a/qtjava/javalib/qtjava/QRangeControl.cpp +++ /dev/null @@ -1,236 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - -class TQRangeControlJBridge : public TQRangeControl -{ -public: - TQRangeControlJBridge() : TQRangeControl() {}; - TQRangeControlJBridge(int arg1,int arg2,int arg3,int arg4,int arg5) : TQRangeControl(arg1,arg2,arg3,arg4,arg5) {}; - 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_valueChange() { - TQRangeControl::valueChange(); - return; - } - void protected_rangeChange() { - TQRangeControl::rangeChange(); - return; - } - void protected_stepChange() { - TQRangeControl::stepChange(); - return; - } - ~TQRangeControlJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRangeControl_addLine(JNIEnv* env, jobject obj) -{ - ((TQRangeControl*) QtSupport::getQt(env, obj))->addLine(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRangeControl_addPage(JNIEnv* env, jobject obj) -{ - ((TQRangeControl*) QtSupport::getQt(env, obj))->addPage(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRangeControl_bound(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQRangeControl*) QtSupport::getQt(env, obj))->bound((int) arg1); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRangeControl_directSetValue(JNIEnv* env, jobject obj, jint val) -{ - ((TQRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_directSetValue((int) val); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRangeControl_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QRangeControl_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRangeControl_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQRangeControl*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QRangeControl_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRangeControl_lineStep(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQRangeControl*) QtSupport::getQt(env, obj))->lineStep(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRangeControl_maxValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQRangeControl*) QtSupport::getQt(env, obj))->maxValue(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRangeControl_minValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQRangeControl*) QtSupport::getQt(env, obj))->minValue(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRangeControl_newTQRangeControl__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQRangeControlJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRangeControl_newTQRangeControl__IIIII(JNIEnv* env, jobject obj, jint minValue, jint maxValue, jint lineStep, jint pageStep, jint value) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQRangeControlJBridge((int) minValue, (int) maxValue, (int) lineStep, (int) pageStep, (int) value)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRangeControl_pageStep(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQRangeControl*) QtSupport::getQt(env, obj))->pageStep(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRangeControl_positionFromValue(JNIEnv* env, jobject obj, jint val, jint space) -{ - jint xret = (jint) ((TQRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_positionFromValue((int) val, (int) space); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRangeControl_prevValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_prevValue(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRangeControl_rangeChange(JNIEnv* env, jobject obj) -{ - ((TQRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_rangeChange(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRangeControl_setMaxValue(JNIEnv* env, jobject obj, jint minVal) -{ - ((TQRangeControl*) QtSupport::getQt(env, obj))->setMaxValue((int) minVal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRangeControl_setMinValue(JNIEnv* env, jobject obj, jint minVal) -{ - ((TQRangeControl*) QtSupport::getQt(env, obj))->setMinValue((int) minVal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRangeControl_setRange(JNIEnv* env, jobject obj, jint minValue, jint maxValue) -{ - ((TQRangeControl*) QtSupport::getQt(env, obj))->setRange((int) minValue, (int) maxValue); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRangeControl_setSteps(JNIEnv* env, jobject obj, jint line, jint page) -{ - ((TQRangeControl*) QtSupport::getQt(env, obj))->setSteps((int) line, (int) page); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRangeControl_setValue(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQRangeControl*) QtSupport::getQt(env, obj))->setValue((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRangeControl_stepChange(JNIEnv* env, jobject obj) -{ - ((TQRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_stepChange(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRangeControl_subtractLine(JNIEnv* env, jobject obj) -{ - ((TQRangeControl*) QtSupport::getQt(env, obj))->subtractLine(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRangeControl_subtractPage(JNIEnv* env, jobject obj) -{ - ((TQRangeControl*) QtSupport::getQt(env, obj))->subtractPage(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRangeControl_valueChange(JNIEnv* env, jobject obj) -{ - ((TQRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_valueChange(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRangeControl_valueFromPosition(JNIEnv* env, jobject obj, jint pos, jint space) -{ - jint xret = (jint) ((TQRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_valueFromPosition((int) pos, (int) space); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRangeControl_value(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQRangeControl*) QtSupport::getQt(env, obj))->value(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QRangeControl.h b/qtjava/javalib/qtjava/QRangeControl.h deleted file mode 100644 index fb15b2d9..00000000 --- a/qtjava/javalib/qtjava/QRangeControl.h +++ /dev/null @@ -1,45 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QRangeControl__ -#define __org_kde_qt_QRangeControl__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_newTQRangeControl__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_newTQRangeControl__IIIII (JNIEnv *env, jobject, jint, jint, jint, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRangeControl_value (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_setValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_addPage (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_subtractPage (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_addLine (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_subtractLine (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRangeControl_minValue (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRangeControl_maxValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_setRange (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_setMinValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_setMaxValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRangeControl_lineStep (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRangeControl_pageStep (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_setSteps (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRangeControl_bound (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRangeControl_positionFromValue (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRangeControl_valueFromPosition (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_directSetValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRangeControl_prevValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_valueChange (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_rangeChange (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_stepChange (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRangeControl_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QRangeControl__ */ diff --git a/qtjava/javalib/qtjava/QRect.cpp b/qtjava/javalib/qtjava/QRect.cpp deleted file mode 100644 index 9c681365..00000000 --- a/qtjava/javalib/qtjava/QRect.cpp +++ /dev/null @@ -1,539 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -class TQRectJBridge : public TQRect -{ -public: - TQRectJBridge() : TQRect() {}; - TQRectJBridge(const TQPoint& arg1,const TQPoint& arg2) : TQRect(arg1,arg2) {}; - TQRectJBridge(const TQPoint& arg1,const TQSize& arg2) : TQRect(arg1,arg2) {}; - TQRectJBridge(int arg1,int arg2,int arg3,int arg4) : TQRect(arg1,arg2,arg3,arg4) {}; - ~TQRectJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRect_addCoords(JNIEnv* env, jobject obj, jint x1, jint y1, jint x2, jint y2) -{ - ((TQRect*) QtSupport::getQt(env, obj))->addCoords((int) x1, (int) y1, (int) x2, (int) y2); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QRect_bottomLeft(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQRect*) QtSupport::getQt(env, obj))->bottomLeft()), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QRect_bottomRight(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQRect*) QtSupport::getQt(env, obj))->bottomRight()), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRect_bottom(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQRect*) QtSupport::getQt(env, obj))->bottom(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QRect_center(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQRect*) QtSupport::getQt(env, obj))->center()), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QRect_contains__II(JNIEnv* env, jobject obj, jint x, jint y) -{ - jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->contains((int) x, (int) y); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QRect_contains__IIZ(JNIEnv* env, jobject obj, jint x, jint y, jboolean proper) -{ - jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->contains((int) x, (int) y, (bool) proper); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QRect_contains__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject p) -{ - jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->contains((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QRect_contains__Lorg_kde_qt_QPoint_2Z(JNIEnv* env, jobject obj, jobject p, jboolean proper) -{ - jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->contains((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p), (bool) proper); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QRect_contains__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject r) -{ - jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->contains((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QRect_contains__Lorg_kde_qt_QRect_2Z(JNIEnv* env, jobject obj, jobject r, jboolean proper) -{ - jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->contains((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (bool) proper); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRect_coords(JNIEnv* env, jobject obj, jintArray x1, jintArray y1, jintArray x2, jintArray y2) -{ - int* _int_x1 = QtSupport::toIntPtr(env, x1); - int* _int_y1 = QtSupport::toIntPtr(env, y1); - int* _int_x2 = QtSupport::toIntPtr(env, x2); - int* _int_y2 = QtSupport::toIntPtr(env, y2); - ((TQRect*) QtSupport::getQt(env, obj))->coords( (int*) _int_x1, (int*) _int_y1, (int*) _int_x2, (int*) _int_y2); - env->SetIntArrayRegion(x1, 0, 1, (jint *) _int_x1); - env->SetIntArrayRegion(y1, 0, 1, (jint *) _int_y1); - env->SetIntArrayRegion(x2, 0, 1, (jint *) _int_x2); - env->SetIntArrayRegion(y2, 0, 1, (jint *) _int_y2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRect_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QRect_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRect_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQRect*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRect_height(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQRect*) QtSupport::getQt(env, obj))->height(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QRect_intersect(JNIEnv* env, jobject obj, jobject r) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQRect*) QtSupport::getQt(env, obj))->intersect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r))), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QRect_intersects(JNIEnv* env, jobject obj, jobject r) -{ - jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->intersects((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QRect_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QRect_isEmpty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->isEmpty(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QRect_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QRect_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRect_left(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQRect*) QtSupport::getQt(env, obj))->left(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRect_moveBottomLeft(JNIEnv* env, jobject obj, jobject p) -{ - ((TQRect*) QtSupport::getQt(env, obj))->moveBottomLeft((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRect_moveBottomRight(JNIEnv* env, jobject obj, jobject p) -{ - ((TQRect*) QtSupport::getQt(env, obj))->moveBottomRight((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRect_moveBottom(JNIEnv* env, jobject obj, jint pos) -{ - ((TQRect*) QtSupport::getQt(env, obj))->moveBottom((int) pos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRect_moveBy(JNIEnv* env, jobject obj, jint dx, jint dy) -{ - ((TQRect*) QtSupport::getQt(env, obj))->moveBy((int) dx, (int) dy); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRect_moveCenter(JNIEnv* env, jobject obj, jobject p) -{ - ((TQRect*) QtSupport::getQt(env, obj))->moveCenter((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRect_moveLeft(JNIEnv* env, jobject obj, jint pos) -{ - ((TQRect*) QtSupport::getQt(env, obj))->moveLeft((int) pos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRect_moveRight(JNIEnv* env, jobject obj, jint pos) -{ - ((TQRect*) QtSupport::getQt(env, obj))->moveRight((int) pos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRect_moveTopLeft(JNIEnv* env, jobject obj, jobject p) -{ - ((TQRect*) QtSupport::getQt(env, obj))->moveTopLeft((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRect_moveTopRight(JNIEnv* env, jobject obj, jobject p) -{ - ((TQRect*) QtSupport::getQt(env, obj))->moveTopRight((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRect_moveTop(JNIEnv* env, jobject obj, jint pos) -{ - ((TQRect*) QtSupport::getQt(env, obj))->moveTop((int) pos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRect_newTQRect__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQRectJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRect_newTQRect__IIII(JNIEnv* env, jobject obj, jint left, jint top, jint width, jint height) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQRectJBridge((int) left, (int) top, (int) width, (int) height)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRect_newTQRect__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject topleft, jobject bottomright) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQRectJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, topleft), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, bottomright))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRect_newTQRect__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject topleft, jobject size) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQRectJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, topleft), (const TQSize&)*(const TQSize*) QtSupport::getQt(env, size))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QRect_normalize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQRect*) QtSupport::getQt(env, obj))->normalize()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QRect_op_1and_1assign(JNIEnv* env, jobject obj, jobject r) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRect *) &((TQRect*) QtSupport::getQt(env, obj))->operator&=((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)), "org.kde.qt.TQRect"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QRect_op_1and(JNIEnv* env, jobject obj, jobject r) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQRect*) QtSupport::getQt(env, obj))->operator&((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r))), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QRect_op_1or_1assign(JNIEnv* env, jobject obj, jobject r) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRect *) &((TQRect*) QtSupport::getQt(env, obj))->operator|=((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)), "org.kde.qt.TQRect"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QRect_op_1or(JNIEnv* env, jobject obj, jobject r) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQRect*) QtSupport::getQt(env, obj))->operator|((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r))), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jshort JNICALL -Java_org_kde_qt_QRect_rBottom(JNIEnv* env, jobject obj) -{ - jshort xret = (jshort) ((TQRect*) QtSupport::getQt(env, obj))->rBottom(); - return xret; -} - -JNIEXPORT jshort JNICALL -Java_org_kde_qt_QRect_rLeft(JNIEnv* env, jobject obj) -{ - jshort xret = (jshort) ((TQRect*) QtSupport::getQt(env, obj))->rLeft(); - return xret; -} - -JNIEXPORT jshort JNICALL -Java_org_kde_qt_QRect_rRight(JNIEnv* env, jobject obj) -{ - jshort xret = (jshort) ((TQRect*) QtSupport::getQt(env, obj))->rRight(); - return xret; -} - -JNIEXPORT jshort JNICALL -Java_org_kde_qt_QRect_rTop(JNIEnv* env, jobject obj) -{ - jshort xret = (jshort) ((TQRect*) QtSupport::getQt(env, obj))->rTop(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRect_rect(JNIEnv* env, jobject obj, jintArray x, jintArray y, jintArray w, jintArray h) -{ - int* _int_x = QtSupport::toIntPtr(env, x); - int* _int_y = QtSupport::toIntPtr(env, y); - int* _int_w = QtSupport::toIntPtr(env, w); - int* _int_h = QtSupport::toIntPtr(env, h); - ((TQRect*) QtSupport::getQt(env, obj))->rect( (int*) _int_x, (int*) _int_y, (int*) _int_w, (int*) _int_h); - env->SetIntArrayRegion(x, 0, 1, (jint *) _int_x); - env->SetIntArrayRegion(y, 0, 1, (jint *) _int_y); - env->SetIntArrayRegion(w, 0, 1, (jint *) _int_w); - env->SetIntArrayRegion(h, 0, 1, (jint *) _int_h); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRect_right(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQRect*) QtSupport::getQt(env, obj))->right(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRect_setBottomLeft(JNIEnv* env, jobject obj, jobject p) -{ - ((TQRect*) QtSupport::getQt(env, obj))->setBottomLeft((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRect_setBottomRight(JNIEnv* env, jobject obj, jobject p) -{ - ((TQRect*) QtSupport::getQt(env, obj))->setBottomRight((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRect_setBottom(JNIEnv* env, jobject obj, jint pos) -{ - ((TQRect*) QtSupport::getQt(env, obj))->setBottom((int) pos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRect_setCoords(JNIEnv* env, jobject obj, jint x1, jint y1, jint x2, jint y2) -{ - ((TQRect*) QtSupport::getQt(env, obj))->setCoords((int) x1, (int) y1, (int) x2, (int) y2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRect_setHeight(JNIEnv* env, jobject obj, jint h) -{ - ((TQRect*) QtSupport::getQt(env, obj))->setHeight((int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRect_setLeft(JNIEnv* env, jobject obj, jint pos) -{ - ((TQRect*) QtSupport::getQt(env, obj))->setLeft((int) pos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRect_setRect(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) -{ - ((TQRect*) QtSupport::getQt(env, obj))->setRect((int) x, (int) y, (int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRect_setRight(JNIEnv* env, jobject obj, jint pos) -{ - ((TQRect*) QtSupport::getQt(env, obj))->setRight((int) pos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRect_setSize(JNIEnv* env, jobject obj, jobject s) -{ - ((TQRect*) QtSupport::getQt(env, obj))->setSize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, s)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRect_setTopLeft(JNIEnv* env, jobject obj, jobject p) -{ - ((TQRect*) QtSupport::getQt(env, obj))->setTopLeft((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRect_setTopRight(JNIEnv* env, jobject obj, jobject p) -{ - ((TQRect*) QtSupport::getQt(env, obj))->setTopRight((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRect_setTop(JNIEnv* env, jobject obj, jint pos) -{ - ((TQRect*) QtSupport::getQt(env, obj))->setTop((int) pos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRect_setWidth(JNIEnv* env, jobject obj, jint w) -{ - ((TQRect*) QtSupport::getQt(env, obj))->setWidth((int) w); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRect_setX(JNIEnv* env, jobject obj, jint x) -{ - ((TQRect*) QtSupport::getQt(env, obj))->setX((int) x); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRect_setY(JNIEnv* env, jobject obj, jint y) -{ - ((TQRect*) QtSupport::getQt(env, obj))->setY((int) y); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QRect_size(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQRect*) QtSupport::getQt(env, obj))->size()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QRect_topLeft(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQRect*) QtSupport::getQt(env, obj))->topLeft()), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QRect_topRight(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQRect*) QtSupport::getQt(env, obj))->topRight()), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRect_top(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQRect*) QtSupport::getQt(env, obj))->top(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QRect_unite(JNIEnv* env, jobject obj, jobject r) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQRect*) QtSupport::getQt(env, obj))->unite((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r))), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRect_width(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQRect*) QtSupport::getQt(env, obj))->width(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRect_x(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQRect*) QtSupport::getQt(env, obj))->x(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRect_y(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQRect*) QtSupport::getQt(env, obj))->y(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QRect.h b/qtjava/javalib/qtjava/QRect.h deleted file mode 100644 index 63d57c3e..00000000 --- a/qtjava/javalib/qtjava/QRect.h +++ /dev/null @@ -1,88 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QRect__ -#define __org_kde_qt_QRect__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_newTQRect__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_newTQRect__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_newTQRect__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_newTQRect__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRect_isNull (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRect_isEmpty (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRect_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRect_normalize (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRect_left (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRect_top (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRect_right (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRect_bottom (JNIEnv *env, jobject); -extern JNIEXPORT jshort JNICALL Java_org_kde_qt_QRect_rLeft (JNIEnv *env, jobject); -extern JNIEXPORT jshort JNICALL Java_org_kde_qt_QRect_rTop (JNIEnv *env, jobject); -extern JNIEXPORT jshort JNICALL Java_org_kde_qt_QRect_rRight (JNIEnv *env, jobject); -extern JNIEXPORT jshort JNICALL Java_org_kde_qt_QRect_rBottom (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRect_x (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRect_y (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_setLeft (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_setTop (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_setRight (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_setBottom (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_setX (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_setY (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_setTopLeft (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_setBottomRight (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_setTopRight (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_setBottomLeft (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRect_topLeft (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRect_bottomRight (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRect_topRight (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRect_bottomLeft (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRect_center (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_rect (JNIEnv *env, jobject, jintArray, jintArray, jintArray, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_coords (JNIEnv *env, jobject, jintArray, jintArray, jintArray, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_moveLeft (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_moveTop (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_moveRight (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_moveBottom (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_moveTopLeft (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_moveBottomRight (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_moveTopRight (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_moveBottomLeft (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_moveCenter (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_moveBy (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_setRect (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_setCoords (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_addCoords (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRect_size (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRect_width (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRect_height (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_setWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_setHeight (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_setSize (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRect_op_1or (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRect_op_1and (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRect_op_1or_1assign (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRect_op_1and_1assign (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRect_contains__Lorg_kde_qt_QPoint_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRect_contains__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRect_contains__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRect_contains__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRect_contains__Lorg_kde_qt_QRect_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRect_contains__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRect_unite (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRect_intersect (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRect_intersects (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRect_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QRect__ */ diff --git a/qtjava/javalib/qtjava/QRegExp.cpp b/qtjava/javalib/qtjava/QRegExp.cpp deleted file mode 100644 index dbdc938e..00000000 --- a/qtjava/javalib/qtjava/QRegExp.cpp +++ /dev/null @@ -1,343 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQRegExpJBridge : public TQRegExp -{ -public: - TQRegExpJBridge() : TQRegExp() {}; - TQRegExpJBridge(const TQString& arg1,bool arg2,bool arg3) : TQRegExp(arg1,arg2,arg3) {}; - TQRegExpJBridge(const TQString& arg1,bool arg2) : TQRegExp(arg1,arg2) {}; - TQRegExpJBridge(const TQString& arg1) : TQRegExp(arg1) {}; - TQRegExpJBridge(const TQRegExp& arg1) : TQRegExp(arg1) {}; - ~TQRegExpJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QRegExp_cap__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQRegExp*) QtSupport::getQt(env, obj))->cap(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QRegExp_cap__I(JNIEnv* env, jobject obj, jint nth) -{ - TQString _qstring; - _qstring = ((TQRegExp*) QtSupport::getQt(env, obj))->cap((int) nth); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QRegExp_capturedTexts(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TQRegExp*) QtSupport::getQt(env, obj))->capturedTexts(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QRegExp_caseSensitive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQRegExp*) QtSupport::getQt(env, obj))->caseSensitive(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRegExp_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QRegExp_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QRegExp_errorString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQRegExp*) QtSupport::getQt(env, obj))->errorString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QRegExp_escape(JNIEnv* env, jclass cls, jstring str) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_str = 0; - _qstring = TQRegExpJBridge::escape((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QRegExp_exactMatch(JNIEnv* env, jobject obj, jstring str) -{ -static TQString* _qstring_str = 0; - jboolean xret = (jboolean) ((TQRegExp*) QtSupport::getQt(env, obj))->exactMatch((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRegExp_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQRegExp*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QRegExp_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QRegExp_isEmpty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQRegExp*) QtSupport::getQt(env, obj))->isEmpty(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QRegExp_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQRegExp*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRegExp_match__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring str) -{ -static TQString* _qstring_str = 0; - jint xret = (jint) ((TQRegExp*) QtSupport::getQt(env, obj))->match((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRegExp_match__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring str, jint index) -{ -static TQString* _qstring_str = 0; - jint xret = (jint) ((TQRegExp*) QtSupport::getQt(env, obj))->match((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRegExp_match__Ljava_lang_String_2I_3I(JNIEnv* env, jobject obj, jstring str, jint index, jintArray len) -{ -static TQString* _qstring_str = 0; - int* _int_len = QtSupport::toIntPtr(env, len); - jint xret = (jint) ((TQRegExp*) QtSupport::getQt(env, obj))->match((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) index, (int*) _int_len); - env->SetIntArrayRegion(len, 0, 1, (jint *) _int_len); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRegExp_match__Ljava_lang_String_2I_3IZ(JNIEnv* env, jobject obj, jstring str, jint index, jintArray len, jboolean indexIsStart) -{ -static TQString* _qstring_str = 0; - int* _int_len = QtSupport::toIntPtr(env, len); - jint xret = (jint) ((TQRegExp*) QtSupport::getQt(env, obj))->match((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) index, (int*) _int_len, (bool) indexIsStart); - env->SetIntArrayRegion(len, 0, 1, (jint *) _int_len); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRegExp_matchedLength(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQRegExp*) QtSupport::getQt(env, obj))->matchedLength(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QRegExp_minimal(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQRegExp*) QtSupport::getQt(env, obj))->minimal(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRegExp_newTQRegExp__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQRegExpJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRegExp_newTQRegExp__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pattern) -{ -static TQString* _qstring_pattern = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQRegExpJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, pattern, &_qstring_pattern))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRegExp_newTQRegExp__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring pattern, jboolean caseSensitive) -{ -static TQString* _qstring_pattern = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQRegExpJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, pattern, &_qstring_pattern), (bool) caseSensitive)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRegExp_newTQRegExp__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring pattern, jboolean caseSensitive, jboolean wildcard) -{ -static TQString* _qstring_pattern = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQRegExpJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, pattern, &_qstring_pattern), (bool) caseSensitive, (bool) wildcard)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRegExp_newTQRegExp__Lorg_kde_qt_QRegExp_2(JNIEnv* env, jobject obj, jobject rx) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQRegExpJBridge((const TQRegExp&)*(const TQRegExp*) QtSupport::getQt(env, rx))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRegExp_numCaptures(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQRegExp*) QtSupport::getQt(env, obj))->numCaptures(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QRegExp_op_1equals(JNIEnv* env, jobject obj, jobject rx) -{ - jboolean xret = (jboolean) ((TQRegExp*) QtSupport::getQt(env, obj))->operator==((const TQRegExp&)*(const TQRegExp*) QtSupport::getQt(env, rx)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QRegExp_op_1not_1equals(JNIEnv* env, jobject obj, jobject rx) -{ - jboolean xret = (jboolean) ((TQRegExp*) QtSupport::getQt(env, obj))->operator!=((const TQRegExp&)*(const TQRegExp*) QtSupport::getQt(env, rx)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QRegExp_pattern(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQRegExp*) QtSupport::getQt(env, obj))->pattern(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRegExp_pos__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQRegExp*) QtSupport::getQt(env, obj))->pos(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRegExp_pos__I(JNIEnv* env, jobject obj, jint nth) -{ - jint xret = (jint) ((TQRegExp*) QtSupport::getQt(env, obj))->pos((int) nth); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRegExp_searchRev__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring str) -{ -static TQString* _qstring_str = 0; - jint xret = (jint) ((TQRegExp*) QtSupport::getQt(env, obj))->searchRev((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRegExp_searchRev__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring str, jint offset) -{ -static TQString* _qstring_str = 0; - jint xret = (jint) ((TQRegExp*) QtSupport::getQt(env, obj))->searchRev((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) offset); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRegExp_searchRev__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring str, jint offset, jint caretMode) -{ -static TQString* _qstring_str = 0; - jint xret = (jint) ((TQRegExp*) QtSupport::getQt(env, obj))->searchRev((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) offset, (TQRegExp::CaretMode) caretMode); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRegExp_search__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring str) -{ -static TQString* _qstring_str = 0; - jint xret = (jint) ((TQRegExp*) QtSupport::getQt(env, obj))->search((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRegExp_search__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring str, jint offset) -{ -static TQString* _qstring_str = 0; - jint xret = (jint) ((TQRegExp*) QtSupport::getQt(env, obj))->search((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) offset); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRegExp_search__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring str, jint offset, jint caretMode) -{ -static TQString* _qstring_str = 0; - jint xret = (jint) ((TQRegExp*) QtSupport::getQt(env, obj))->search((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) offset, (TQRegExp::CaretMode) caretMode); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRegExp_setCaseSensitive(JNIEnv* env, jobject obj, jboolean sensitive) -{ - ((TQRegExp*) QtSupport::getQt(env, obj))->setCaseSensitive((bool) sensitive); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRegExp_setMinimal(JNIEnv* env, jobject obj, jboolean minimal) -{ - ((TQRegExp*) QtSupport::getQt(env, obj))->setMinimal((bool) minimal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRegExp_setPattern(JNIEnv* env, jobject obj, jstring pattern) -{ -static TQString* _qstring_pattern = 0; - ((TQRegExp*) QtSupport::getQt(env, obj))->setPattern((const TQString&)*(TQString*) QtSupport::toTQString(env, pattern, &_qstring_pattern)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRegExp_setWildcard(JNIEnv* env, jobject obj, jboolean wildcard) -{ - ((TQRegExp*) QtSupport::getQt(env, obj))->setWildcard((bool) wildcard); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QRegExp_wildcard(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQRegExp*) QtSupport::getQt(env, obj))->wildcard(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QRegExp.h b/qtjava/javalib/qtjava/QRegExp.h deleted file mode 100644 index 813093ea..00000000 --- a/qtjava/javalib/qtjava/QRegExp.h +++ /dev/null @@ -1,58 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QRegExp__ -#define __org_kde_qt_QRegExp__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExp_newTQRegExp__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExp_newTQRegExp__Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExp_newTQRegExp__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExp_newTQRegExp__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExp_newTQRegExp__Lorg_kde_qt_QRegExp_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRegExp_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRegExp_op_1not_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRegExp_isEmpty (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRegExp_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QRegExp_pattern (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExp_setPattern (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRegExp_caseSensitive (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExp_setCaseSensitive (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRegExp_wildcard (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExp_setWildcard (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRegExp_minimal (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExp_setMinimal (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRegExp_exactMatch (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRegExp_match__Ljava_lang_String_2I_3IZ (JNIEnv *env, jobject, jstring, jint, jintArray, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRegExp_match__Ljava_lang_String_2I_3I (JNIEnv *env, jobject, jstring, jint, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRegExp_match__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRegExp_match__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRegExp_search__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRegExp_search__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRegExp_search__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRegExp_searchRev__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRegExp_searchRev__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRegExp_searchRev__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRegExp_matchedLength (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRegExp_numCaptures (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegExp_capturedTexts (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QRegExp_cap__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QRegExp_cap__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRegExp_pos__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRegExp_pos__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QRegExp_errorString (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QRegExp_escape (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExp_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExp_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRegExp_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QRegExp__ */ diff --git a/qtjava/javalib/qtjava/QRegExpValidator.cpp b/qtjava/javalib/qtjava/QRegExpValidator.cpp deleted file mode 100644 index 91b1fbc1..00000000 --- a/qtjava/javalib/qtjava/QRegExpValidator.cpp +++ /dev/null @@ -1,181 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQRegExpValidatorJBridge : public TQRegExpValidator -{ -public: - TQRegExpValidatorJBridge(TQObject* arg1,const char* arg2) : TQRegExpValidator(arg1,arg2) {}; - TQRegExpValidatorJBridge(TQObject* arg1) : TQRegExpValidator(arg1) {}; - TQRegExpValidatorJBridge(const TQRegExp& arg1,TQObject* arg2,const char* arg3) : TQRegExpValidator(arg1,arg2,arg3) {}; - TQRegExpValidatorJBridge(const TQRegExp& arg1,TQObject* arg2) : TQRegExpValidator(arg1,arg2) {}; - ~TQRegExpValidatorJBridge() {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.qt.TQRegExpValidator",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QRegExpValidator_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQRegExpValidator*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRegExpValidator_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QRegExpValidator_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRegExpValidator_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQRegExpValidator*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQRegExpValidator*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QRegExpValidator_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QRegExpValidator_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQRegExpValidator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRegExpValidator_newTQRegExpValidator__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQRegExpValidatorJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRegExpValidator_newTQRegExpValidator__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 TQRegExpValidatorJBridge((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_qt_QRegExpValidator_newTQRegExpValidator__Lorg_kde_qt_QRegExp_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject rx, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQRegExpValidatorJBridge((const TQRegExp&)*(const TQRegExp*) QtSupport::getQt(env, rx), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRegExpValidator_newTQRegExpValidator__Lorg_kde_qt_QRegExp_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject rx, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQRegExpValidatorJBridge((const TQRegExp&)*(const TQRegExp*) QtSupport::getQt(env, rx), (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_qt_QRegExpValidator_regExp(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRegExp *) &((TQRegExpValidator*) QtSupport::getQt(env, obj))->regExp(), "org.kde.qt.TQRegExp"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRegExpValidator_setRegExp(JNIEnv* env, jobject obj, jobject rx) -{ - ((TQRegExpValidator*) QtSupport::getQt(env, obj))->setRegExp((const TQRegExp&)*(const TQRegExp*) QtSupport::getQt(env, rx)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QRegExpValidator_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQRegExpValidatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QRegExpValidator_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQRegExpValidatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRegExpValidator_validate(JNIEnv* env, jobject obj, jobject input, jintArray pos) -{ -static TQString* _qstring_input = 0; - int* _int_pos = QtSupport::toIntPtr(env, pos); - jint xret = (jint) ((TQRegExpValidator*) 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/qtjava/javalib/qtjava/QRegExpValidator.h b/qtjava/javalib/qtjava/QRegExpValidator.h deleted file mode 100644 index 5d2ba2e6..00000000 --- a/qtjava/javalib/qtjava/QRegExpValidator.h +++ /dev/null @@ -1,32 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QRegExpValidator__ -#define __org_kde_qt_QRegExpValidator__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegExpValidator_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QRegExpValidator_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExpValidator_newTQRegExpValidator__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExpValidator_newTQRegExpValidator__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExpValidator_newTQRegExpValidator__Lorg_kde_qt_QRegExp_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExpValidator_newTQRegExpValidator__Lorg_kde_qt_QRegExp_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRegExpValidator_validate (JNIEnv *env, jobject, jobject, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExpValidator_setRegExp (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegExpValidator_regExp (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QRegExpValidator_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QRegExpValidator_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExpValidator_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExpValidator_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRegExpValidator_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QRegExpValidator__ */ diff --git a/qtjava/javalib/qtjava/QRegion.cpp b/qtjava/javalib/qtjava/QRegion.cpp deleted file mode 100644 index d81cade7..00000000 --- a/qtjava/javalib/qtjava/QRegion.cpp +++ /dev/null @@ -1,307 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include - -class TQRegionJBridge : public TQRegion -{ -public: - TQRegionJBridge() : TQRegion() {}; - TQRegionJBridge(int arg1,int arg2,int arg3,int arg4,TQRegion::RegionType arg5) : TQRegion(arg1,arg2,arg3,arg4,arg5) {}; - TQRegionJBridge(int arg1,int arg2,int arg3,int arg4) : TQRegion(arg1,arg2,arg3,arg4) {}; - TQRegionJBridge(const TQRect& arg1,TQRegion::RegionType arg2) : TQRegion(arg1,arg2) {}; - TQRegionJBridge(const TQRect& arg1) : TQRegion(arg1) {}; - TQRegionJBridge(const TQPointArray& arg1,bool arg2) : TQRegion(arg1,arg2) {}; - TQRegionJBridge(const TQPointArray& arg1) : TQRegion(arg1) {}; - TQRegionJBridge(const TQRegion& arg1) : TQRegion(arg1) {}; - TQRegionJBridge(const TQBitmap& arg1) : TQRegion(arg1) {}; - ~TQRegionJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QRegion_boundingRect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQRegion*) QtSupport::getQt(env, obj))->boundingRect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QRegion_contains__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject p) -{ - jboolean xret = (jboolean) ((TQRegion*) QtSupport::getQt(env, obj))->contains((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QRegion_contains__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject r) -{ - jboolean xret = (jboolean) ((TQRegion*) QtSupport::getQt(env, obj))->contains((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRegion_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QRegion_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QRegion_eor(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQRegion*) QtSupport::getQt(env, obj))->eor((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQRegion", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRegion_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQRegion*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QRegion_intersect(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQRegion*) QtSupport::getQt(env, obj))->intersect((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQRegion", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QRegion_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QRegion_isEmpty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQRegion*) QtSupport::getQt(env, obj))->isEmpty(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QRegion_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQRegion*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRegion_newTQRegion__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQRegionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRegion_newTQRegion__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQRegionJBridge((int) x, (int) y, (int) w, (int) h)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRegion_newTQRegion__IIIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint arg5) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQRegionJBridge((int) x, (int) y, (int) w, (int) h, (TQRegion::RegionType) arg5)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRegion_newTQRegion__Lorg_kde_qt_QBitmap_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQRegionJBridge((const TQBitmap&)*(const TQBitmap*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRegion_newTQRegion__Lorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQRegionJBridge((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRegion_newTQRegion__Lorg_kde_qt_QPointArray_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean winding) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQRegionJBridge((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (bool) winding)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRegion_newTQRegion__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQRegionJBridge((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRegion_newTQRegion__Lorg_kde_qt_QRect_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQRegionJBridge((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (TQRegion::RegionType) arg2)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRegion_newTQRegion__Lorg_kde_qt_QRegion_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQRegionJBridge((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QRegion_op_1and_1assign(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRegion *) &((TQRegion*) QtSupport::getQt(env, obj))->operator&=((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQRegion"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QRegion_op_1and(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQRegion*) QtSupport::getQt(env, obj))->operator&((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQRegion", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QRegion_op_1equals(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQRegion*) QtSupport::getQt(env, obj))->operator==((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QRegion_op_1minus_1assign(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRegion *) &((TQRegion*) QtSupport::getQt(env, obj))->operator-=((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQRegion"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QRegion_op_1minus(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQRegion*) QtSupport::getQt(env, obj))->operator-((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQRegion", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QRegion_op_1not_1equals(JNIEnv* env, jobject obj, jobject r) -{ - jboolean xret = (jboolean) ((TQRegion*) QtSupport::getQt(env, obj))->operator!=((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, r)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QRegion_op_1or_1assign(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRegion *) &((TQRegion*) QtSupport::getQt(env, obj))->operator|=((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQRegion"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QRegion_op_1or(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQRegion*) QtSupport::getQt(env, obj))->operator|((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQRegion", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QRegion_op_1plus_1assign(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRegion *) &((TQRegion*) QtSupport::getQt(env, obj))->operator+=((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQRegion"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QRegion_op_1plus(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQRegion*) QtSupport::getQt(env, obj))->operator+((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQRegion", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QRegion_op_1xor_1assign(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRegion *) &((TQRegion*) QtSupport::getQt(env, obj))->operator^=((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQRegion"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QRegion_op_1xor(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQRegion*) QtSupport::getQt(env, obj))->operator^((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQRegion", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QRegion_rects(JNIEnv* env, jobject obj) -{ - TQMemArray _qlist; - _qlist = ((TQRegion*) QtSupport::getQt(env, obj))->rects(); - return (jobject) QtSupport::arrayWithTQRectList(env, (TQMemArray*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRegion_setRects(JNIEnv* env, jobject obj, jobject arg1, jint arg2) -{ - ((TQRegion*) QtSupport::getQt(env, obj))->setRects((const TQRect*) QtSupport::getQt(env, arg1), (int) arg2); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QRegion_subtract(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQRegion*) QtSupport::getQt(env, obj))->subtract((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQRegion", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRegion_translate(JNIEnv* env, jobject obj, jint dx, jint dy) -{ - ((TQRegion*) QtSupport::getQt(env, obj))->translate((int) dx, (int) dy); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QRegion_unite(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQRegion*) QtSupport::getQt(env, obj))->unite((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQRegion", TRUE); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QRegion.h b/qtjava/javalib/qtjava/QRegion.h deleted file mode 100644 index dcb9281e..00000000 --- a/qtjava/javalib/qtjava/QRegion.h +++ /dev/null @@ -1,54 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QRegion__ -#define __org_kde_qt_QRegion__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegion_newTQRegion__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegion_newTQRegion__IIIII (JNIEnv *env, jobject, jint, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegion_newTQRegion__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegion_newTQRegion__Lorg_kde_qt_QRect_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegion_newTQRegion__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegion_newTQRegion__Lorg_kde_qt_QPointArray_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegion_newTQRegion__Lorg_kde_qt_QPointArray_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegion_newTQRegion__Lorg_kde_qt_QRegion_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegion_newTQRegion__Lorg_kde_qt_QBitmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRegion_isNull (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRegion_isEmpty (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRegion_contains__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRegion_contains__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegion_translate (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegion_unite (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegion_intersect (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegion_subtract (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegion_eor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegion_boundingRect (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegion_rects (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegion_setRects (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegion_op_1or (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegion_op_1plus (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegion_op_1and (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegion_op_1minus (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegion_op_1xor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegion_op_1or_1assign (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegion_op_1plus_1assign (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegion_op_1and_1assign (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegion_op_1minus_1assign (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegion_op_1xor_1assign (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRegion_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRegion_op_1not_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegion_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegion_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRegion_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QRegion__ */ diff --git a/qtjava/javalib/qtjava/QResizeEvent.cpp b/qtjava/javalib/qtjava/QResizeEvent.cpp deleted file mode 100644 index dca68e82..00000000 --- a/qtjava/javalib/qtjava/QResizeEvent.cpp +++ /dev/null @@ -1,61 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQResizeEventJBridge : public TQResizeEvent -{ -public: - TQResizeEventJBridge(const TQSize& arg1,const TQSize& arg2) : TQResizeEvent(arg1,arg2) {}; - ~TQResizeEventJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QResizeEvent_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QResizeEvent_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QResizeEvent_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQResizeEvent*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QResizeEvent_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QResizeEvent_newTQResizeEvent(JNIEnv* env, jobject obj, jobject size, jobject oldSize) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQResizeEventJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, size), (const TQSize&)*(const TQSize*) QtSupport::getQt(env, oldSize))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QResizeEvent_oldSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQSize *) &((TQResizeEvent*) QtSupport::getQt(env, obj))->oldSize(), "org.kde.qt.TQSize"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QResizeEvent_size(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQSize *) &((TQResizeEvent*) QtSupport::getQt(env, obj))->size(), "org.kde.qt.TQSize"); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QResizeEvent.h b/qtjava/javalib/qtjava/QResizeEvent.h deleted file mode 100644 index 18cae2c9..00000000 --- a/qtjava/javalib/qtjava/QResizeEvent.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QResizeEvent__ -#define __org_kde_qt_QResizeEvent__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QResizeEvent_newTQResizeEvent (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QResizeEvent_size (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QResizeEvent_oldSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QResizeEvent_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QResizeEvent_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QResizeEvent_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QResizeEvent__ */ diff --git a/qtjava/javalib/qtjava/QScrollBar.cpp b/qtjava/javalib/qtjava/QScrollBar.cpp deleted file mode 100644 index be9231be..00000000 --- a/qtjava/javalib/qtjava/QScrollBar.cpp +++ /dev/null @@ -1,881 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQScrollBarJBridge : public TQScrollBar -{ -public: - TQScrollBarJBridge(TQWidget* arg1,const char* arg2) : TQScrollBar(arg1,arg2) {}; - TQScrollBarJBridge(TQWidget* arg1) : TQScrollBar(arg1) {}; - TQScrollBarJBridge(TQt::Orientation arg1,TQWidget* arg2,const char* arg3) : TQScrollBar(arg1,arg2,arg3) {}; - TQScrollBarJBridge(TQt::Orientation arg1,TQWidget* arg2) : TQScrollBar(arg1,arg2) {}; - TQScrollBarJBridge(int arg1,int arg2,int arg3,int arg4,int arg5,TQt::Orientation arg6,TQWidget* arg7,const char* arg8) : TQScrollBar(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - TQScrollBarJBridge(int arg1,int arg2,int arg3,int arg4,int arg5,TQt::Orientation arg6,TQWidget* arg7) : TQScrollBar(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - void protected_wheelEvent(TQWheelEvent* arg1) { - TQScrollBar::wheelEvent(arg1); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQScrollBar::keyPressEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQScrollBar::resizeEvent(arg1); - return; - } - void protected_paintEvent(TQPaintEvent* arg1) { - TQScrollBar::paintEvent(arg1); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TQScrollBar::mousePressEvent(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - TQScrollBar::mouseReleaseEvent(arg1); - return; - } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - TQScrollBar::mouseMoveEvent(arg1); - return; - } - void protected_contextMenuEvent(TQContextMenuEvent* arg1) { - TQScrollBar::contextMenuEvent(arg1); - return; - } - void protected_hideEvent(TQHideEvent* arg1) { - TQScrollBar::hideEvent(arg1); - return; - } - void protected_valueChange() { - TQScrollBar::valueChange(); - return; - } - void protected_stepChange() { - TQScrollBar::stepChange(); - return; - } - void protected_rangeChange() { - TQScrollBar::rangeChange(); - return; - } - void protected_styleChange(TQStyle& arg1) { - TQScrollBar::styleChange(arg1); - return; - } - ~TQScrollBarJBridge() {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 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")) { - TQScrollBar::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.qt.TQScrollBar","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.qt.TQScrollBar","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.qt.TQScrollBar","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.qt.TQScrollBar","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")) { - TQScrollBar::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 paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQScrollBar::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.qt.TQScrollBar","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQScrollBar::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollBar","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollBar","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")) { - TQScrollBar::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")) { - TQScrollBar::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.qt.TQScrollBar","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollBar","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")) { - TQScrollBar::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollBar::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.qt.TQScrollBar","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollBar::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")) { - TQScrollBar::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQScrollBar",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.qt.TQScrollBar","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_addLine(JNIEnv* env, jobject obj) -{ - ((TQRangeControl*)(TQScrollBar*) QtSupport::getQt(env, obj))->addLine(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_addPage(JNIEnv* env, jobject obj) -{ - ((TQRangeControl*)(TQScrollBar*) QtSupport::getQt(env, obj))->addPage(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollBar_bound(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQRangeControl*)(TQScrollBar*) QtSupport::getQt(env, obj))->bound((int) arg1); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QScrollBar_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQScrollBar*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_contextMenuEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_directSetValue(JNIEnv* env, jobject obj, jint val) -{ - ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_directSetValue((int) val); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QScrollBar_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QScrollBar_draggingSlider(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQScrollBar*) QtSupport::getQt(env, obj))->draggingSlider(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQScrollBar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQScrollBar*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_hideEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_hideEvent((TQHideEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QScrollBar_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollBar_lineStep(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQScrollBar*) QtSupport::getQt(env, obj))->lineStep(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollBar_maxValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQScrollBar*) QtSupport::getQt(env, obj))->maxValue(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QScrollBar_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQScrollBar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollBar_minValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQScrollBar*) QtSupport::getQt(env, obj))->minValue(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_newTQScrollBar__IIIIIILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint minValue, jint maxValue, jint lineStep, jint pageStep, jint value, jint arg6, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQScrollBarJBridge((int) minValue, (int) maxValue, (int) lineStep, (int) pageStep, (int) value, (TQt::Orientation) arg6, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_newTQScrollBar__IIIIIILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint minValue, jint maxValue, jint lineStep, jint pageStep, jint value, jint arg6, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQScrollBarJBridge((int) minValue, (int) maxValue, (int) lineStep, (int) pageStep, (int) value, (TQt::Orientation) arg6, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_newTQScrollBar__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint arg1, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQScrollBarJBridge((TQt::Orientation) arg1, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_newTQScrollBar__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint arg1, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQScrollBarJBridge((TQt::Orientation) arg1, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_newTQScrollBar__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQScrollBarJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_newTQScrollBar__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 TQScrollBarJBridge((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_qt_QScrollBar_orientation(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQScrollBar*) QtSupport::getQt(env, obj))->orientation(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollBar_pageStep(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQScrollBar*) QtSupport::getQt(env, obj))->pageStep(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_paintEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollBar_positionFromValue(JNIEnv* env, jobject obj, jint val, jint space) -{ - jint xret = (jint) ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_positionFromValue((int) val, (int) space); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollBar_prevValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_prevValue(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_rangeChange(JNIEnv* env, jobject obj) -{ - ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_rangeChange(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_setLineStep(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQScrollBar*) QtSupport::getQt(env, obj))->setLineStep((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_setMaxValue(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQScrollBar*) QtSupport::getQt(env, obj))->setMaxValue((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_setMinValue(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQScrollBar*) QtSupport::getQt(env, obj))->setMinValue((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_setOrientation(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQScrollBar*) QtSupport::getQt(env, obj))->setOrientation((TQt::Orientation) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_setPageStep(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQScrollBar*) QtSupport::getQt(env, obj))->setPageStep((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_setPalette(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollBar*) QtSupport::getQt(env, obj))->setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_setRange(JNIEnv* env, jobject obj, jint minValue, jint maxValue) -{ - ((TQRangeControl*)(TQScrollBar*) QtSupport::getQt(env, obj))->setRange((int) minValue, (int) maxValue); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_setSizePolicy__II(JNIEnv* env, jobject obj, jint hor, jint ver) -{ - ((TQScrollBar*) QtSupport::getQt(env, obj))->setSizePolicy((TQSizePolicy::SizeType) hor, (TQSizePolicy::SizeType) ver); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_setSizePolicy__IIZ(JNIEnv* env, jobject obj, jint hor, jint ver, jboolean hfw) -{ - ((TQScrollBar*) QtSupport::getQt(env, obj))->setSizePolicy((TQSizePolicy::SizeType) hor, (TQSizePolicy::SizeType) ver, (bool) hfw); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_setSizePolicy__Lorg_kde_qt_QSizePolicy_2(JNIEnv* env, jobject obj, jobject sp) -{ - ((TQScrollBar*) QtSupport::getQt(env, obj))->setSizePolicy((TQSizePolicy)*(TQSizePolicy*) QtSupport::getQt(env, sp)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_setSteps(JNIEnv* env, jobject obj, jint line, jint page) -{ - ((TQRangeControl*)(TQScrollBar*) QtSupport::getQt(env, obj))->setSteps((int) line, (int) page); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_setTracking(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQScrollBar*) QtSupport::getQt(env, obj))->setTracking((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_setValue(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQScrollBar*) QtSupport::getQt(env, obj))->setValue((int) arg1); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QScrollBar_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQScrollBar*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QScrollBar_sliderRect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQScrollBar*) QtSupport::getQt(env, obj))->sliderRect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollBar_sliderStart(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQScrollBar*) QtSupport::getQt(env, obj))->sliderStart(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_stepChange(JNIEnv* env, jobject obj) -{ - ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_stepChange(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_styleChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_subtractLine(JNIEnv* env, jobject obj) -{ - ((TQRangeControl*)(TQScrollBar*) QtSupport::getQt(env, obj))->subtractLine(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_subtractPage(JNIEnv* env, jobject obj) -{ - ((TQRangeControl*)(TQScrollBar*) QtSupport::getQt(env, obj))->subtractPage(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QScrollBar_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQScrollBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QScrollBar_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQScrollBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QScrollBar_tracking(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQScrollBar*) QtSupport::getQt(env, obj))->tracking(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_valueChange(JNIEnv* env, jobject obj) -{ - ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_valueChange(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollBar_valueFromPosition(JNIEnv* env, jobject obj, jint pos, jint space) -{ - jint xret = (jint) ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_valueFromPosition((int) pos, (int) space); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollBar_value(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQScrollBar*) QtSupport::getQt(env, obj))->value(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_wheelEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); - return; -} - diff --git a/qtjava/javalib/qtjava/QScrollBar.h b/qtjava/javalib/qtjava/QScrollBar.h deleted file mode 100644 index f73a9022..00000000 --- a/qtjava/javalib/qtjava/QScrollBar.h +++ /dev/null @@ -1,77 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QScrollBar__ -#define __org_kde_qt_QScrollBar__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QScrollBar_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QScrollBar_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_newTQScrollBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_newTQScrollBar__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_newTQScrollBar__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_newTQScrollBar__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_newTQScrollBar__IIIIIILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_newTQScrollBar__IIIIIILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_setOrientation (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollBar_orientation (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_setTracking (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QScrollBar_tracking (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QScrollBar_draggingSlider (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_setPalette (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QScrollBar_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_setSizePolicy__Lorg_kde_qt_QSizePolicy_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_setSizePolicy__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_setSizePolicy__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollBar_minValue (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollBar_maxValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_setMinValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_setMaxValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollBar_lineStep (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollBar_pageStep (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_setLineStep (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_setPageStep (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollBar_value (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollBar_sliderStart (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QScrollBar_sliderRect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_setValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QScrollBar_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QScrollBar_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_wheelEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_mouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_contextMenuEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_hideEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_valueChange (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_stepChange (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_rangeChange (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_styleChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QScrollBar_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_addPage (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_subtractPage (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_addLine (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_subtractLine (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_setRange (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_setSteps (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollBar_bound (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollBar_positionFromValue (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollBar_valueFromPosition (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_directSetValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollBar_prevValue (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QScrollBar__ */ diff --git a/qtjava/javalib/qtjava/QScrollView.cpp b/qtjava/javalib/qtjava/QScrollView.cpp deleted file mode 100644 index 70c13715..00000000 --- a/qtjava/javalib/qtjava/QScrollView.cpp +++ /dev/null @@ -1,1537 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQScrollViewJBridge : public TQScrollView -{ -public: - TQScrollViewJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQScrollView(arg1,arg2,arg3) {}; - TQScrollViewJBridge(TQWidget* arg1,const char* arg2) : TQScrollView(arg1,arg2) {}; - TQScrollViewJBridge(TQWidget* arg1) : TQScrollView(arg1) {}; - TQScrollViewJBridge() : TQScrollView() {}; - void protected_drawContents(TQPainter* arg1,int arg2,int arg3,int arg4,int arg5) { - TQScrollView::drawContents(arg1,arg2,arg3,arg4,arg5); - return; - } - void protected_drawContentsOffset(TQPainter* arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7) { - TQScrollView::drawContentsOffset(arg1,arg2,arg3,arg4,arg5,arg6,arg7); - return; - } - void protected_contentsMousePressEvent(TQMouseEvent* arg1) { - TQScrollView::contentsMousePressEvent(arg1); - return; - } - void protected_contentsMouseReleaseEvent(TQMouseEvent* arg1) { - TQScrollView::contentsMouseReleaseEvent(arg1); - return; - } - void protected_contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - TQScrollView::contentsMouseDoubleClickEvent(arg1); - return; - } - void protected_contentsMouseMoveEvent(TQMouseEvent* arg1) { - TQScrollView::contentsMouseMoveEvent(arg1); - return; - } - void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) { - TQScrollView::contentsDragEnterEvent(arg1); - return; - } - void protected_contentsDragMoveEvent(TQDragMoveEvent* arg1) { - TQScrollView::contentsDragMoveEvent(arg1); - return; - } - void protected_contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - TQScrollView::contentsDragLeaveEvent(arg1); - return; - } - void protected_contentsDropEvent(TQDropEvent* arg1) { - TQScrollView::contentsDropEvent(arg1); - return; - } - void protected_contentsWheelEvent(TQWheelEvent* arg1) { - TQScrollView::contentsWheelEvent(arg1); - return; - } - void protected_contentsContextMenuEvent(TQContextMenuEvent* arg1) { - TQScrollView::contentsContextMenuEvent(arg1); - return; - } - void protected_viewportPaintEvent(TQPaintEvent* arg1) { - TQScrollView::viewportPaintEvent(arg1); - return; - } - void protected_viewportResizeEvent(TQResizeEvent* arg1) { - TQScrollView::viewportResizeEvent(arg1); - return; - } - void protected_viewportMousePressEvent(TQMouseEvent* arg1) { - TQScrollView::viewportMousePressEvent(arg1); - return; - } - void protected_viewportMouseReleaseEvent(TQMouseEvent* arg1) { - TQScrollView::viewportMouseReleaseEvent(arg1); - return; - } - void protected_viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); - return; - } - void protected_viewportMouseMoveEvent(TQMouseEvent* arg1) { - TQScrollView::viewportMouseMoveEvent(arg1); - return; - } - void protected_viewportDragEnterEvent(TQDragEnterEvent* arg1) { - TQScrollView::viewportDragEnterEvent(arg1); - return; - } - void protected_viewportDragMoveEvent(TQDragMoveEvent* arg1) { - TQScrollView::viewportDragMoveEvent(arg1); - return; - } - void protected_viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - TQScrollView::viewportDragLeaveEvent(arg1); - return; - } - void protected_viewportDropEvent(TQDropEvent* arg1) { - TQScrollView::viewportDropEvent(arg1); - return; - } - void protected_viewportWheelEvent(TQWheelEvent* arg1) { - TQScrollView::viewportWheelEvent(arg1); - return; - } - void protected_viewportContextMenuEvent(TQContextMenuEvent* arg1) { - TQScrollView::viewportContextMenuEvent(arg1); - return; - } - void protected_frameChanged() { - TQScrollView::frameChanged(); - return; - } - void protected_setMargins(int arg1,int arg2,int arg3,int arg4) { - TQScrollView::setMargins(arg1,arg2,arg3,arg4); - return; - } - int protected_leftMargin() { - return (int) TQScrollView::leftMargin(); - } - int protected_topMargin() { - return (int) TQScrollView::topMargin(); - } - int protected_rightMargin() { - return (int) TQScrollView::rightMargin(); - } - int protected_bottomMargin() { - return (int) TQScrollView::bottomMargin(); - } - bool protected_focusNextPrevChild(bool arg1) { - return (bool) TQScrollView::focusNextPrevChild(arg1); - } - void protected_setHBarGeometry(TQScrollBar& arg1,int arg2,int arg3,int arg4,int arg5) { - TQScrollView::setHBarGeometry(arg1,arg2,arg3,arg4,arg5); - return; - } - void protected_setVBarGeometry(TQScrollBar& arg1,int arg2,int arg3,int arg4,int arg5) { - TQScrollView::setVBarGeometry(arg1,arg2,arg3,arg4,arg5); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQScrollView::resizeEvent(arg1); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TQScrollView::mousePressEvent(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - TQScrollView::mouseReleaseEvent(arg1); - return; - } - void protected_mouseDoubleClickEvent(TQMouseEvent* arg1) { - TQScrollView::mouseDoubleClickEvent(arg1); - return; - } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - TQScrollView::mouseMoveEvent(arg1); - return; - } - void protected_wheelEvent(TQWheelEvent* arg1) { - TQScrollView::wheelEvent(arg1); - return; - } - void protected_contextMenuEvent(TQContextMenuEvent* arg1) { - TQScrollView::contextMenuEvent(arg1); - return; - } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) TQScrollView::eventFilter(arg1,arg2); - } - void protected_setCachedSizeHint(const TQSize& arg1) { - TQScrollView::setCachedSizeHint(arg1); - return; - } - TQSize protected_cachedSizeHint() { - return (TQSize) TQScrollView::cachedSizeHint(); - } - void protected_fontChange(const TQFont& arg1) { - TQScrollView::fontChange(arg1); - return; - } - ~TQScrollViewJBridge() {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.qt.TQScrollView","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.qt.TQScrollView","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.qt.TQScrollView","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.qt.TQScrollView","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.qt.TQScrollView","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollView","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.qt.TQScrollView","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollView","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.qt.TQScrollView","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.qt.TQScrollView","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_addChild__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject child) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->addChild((TQWidget*) QtSupport::getQt(env, child)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_addChild__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject child, jint x) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->addChild((TQWidget*) QtSupport::getQt(env, child), (int) x); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_addChild__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject child, jint x, jint y) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->addChild((TQWidget*) QtSupport::getQt(env, child), (int) x, (int) y); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollView_bottomMargin(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_bottomMargin(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QScrollView_cachedSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_cachedSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_center__II(JNIEnv* env, jobject obj, jint x, jint y) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->center((int) x, (int) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_center__IIFF(JNIEnv* env, jobject obj, jint x, jint y, jfloat xmargin, jfloat ymargin) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->center((int) x, (int) y, (float) xmargin, (float) ymargin); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QScrollView_childIsVisible(JNIEnv* env, jobject obj, jobject child) -{ - jboolean xret = (jboolean) ((TQScrollView*) QtSupport::getQt(env, obj))->childIsVisible((TQWidget*) QtSupport::getQt(env, child)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollView_childX(JNIEnv* env, jobject obj, jobject child) -{ - jint xret = (jint) ((TQScrollView*) QtSupport::getQt(env, obj))->childX((TQWidget*) QtSupport::getQt(env, child)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollView_childY(JNIEnv* env, jobject obj, jobject child) -{ - jint xret = (jint) ((TQScrollView*) QtSupport::getQt(env, obj))->childY((TQWidget*) QtSupport::getQt(env, child)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QScrollView_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQScrollView*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QScrollView_clipper(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQScrollView*) QtSupport::getQt(env, obj))->clipper(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_contentsContextMenuEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_contentsDragLeaveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_contentsDragMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_contentsDropEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollView_contentsHeight(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQScrollView*) QtSupport::getQt(env, obj))->contentsHeight(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_contentsMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_contentsMouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_contentsMouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_contentsToViewport__II_3I_3I(JNIEnv* env, jobject obj, jint x, jint y, jintArray vx, jintArray vy) -{ - int* _int_vx = QtSupport::toIntPtr(env, vx); - int* _int_vy = QtSupport::toIntPtr(env, vy); - ((TQScrollView*) QtSupport::getQt(env, obj))->contentsToViewport((int) x, (int) y, (int&) *_int_vx, (int&) *_int_vy); - env->SetIntArrayRegion(vx, 0, 1, (jint *) _int_vx); - env->SetIntArrayRegion(vy, 0, 1, (jint *) _int_vy); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QScrollView_contentsToViewport__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQScrollView*) QtSupport::getQt(env, obj))->contentsToViewport((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_contentsWheelEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsWheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollView_contentsWidth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQScrollView*) QtSupport::getQt(env, obj))->contentsWidth(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollView_contentsX(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQScrollView*) QtSupport::getQt(env, obj))->contentsX(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollView_contentsY(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQScrollView*) QtSupport::getQt(env, obj))->contentsY(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_contextMenuEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QScrollView_cornerWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQScrollView*) QtSupport::getQt(env, obj))->cornerWidget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_disableSizeHintCaching(JNIEnv* env, jobject obj) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->disableSizeHintCaching(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QScrollView_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QScrollView_dragAutoScroll(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQScrollView*) QtSupport::getQt(env, obj))->dragAutoScroll(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_drawContentsOffset(JNIEnv* env, jobject obj, jobject arg1, jint ox, jint oy, jint cx, jint cy, jint cw, jint ch) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_drawContentsOffset((TQPainter*) QtSupport::getQt(env, arg1), (int) ox, (int) oy, (int) cx, (int) cy, (int) cw, (int) ch); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_drawContents(JNIEnv* env, jobject obj, jobject arg1, jint cx, jint cy, jint cw, jint ch) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1), (int) cx, (int) cy, (int) cw, (int) ch); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_enableClipper(JNIEnv* env, jobject obj, jboolean y) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->enableClipper((bool) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_ensureVisible__II(JNIEnv* env, jobject obj, jint x, jint y) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->ensureVisible((int) x, (int) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_ensureVisible__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint xmargin, jint ymargin) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->ensureVisible((int) x, (int) y, (int) xmargin, (int) ymargin); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QScrollView_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject e) -{ - jboolean xret = (jboolean) ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQScrollView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQScrollView*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QScrollView_focusNextPrevChild(JNIEnv* env, jobject obj, jboolean next) -{ - jboolean xret = (jboolean) ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_focusNextPrevChild((bool) next); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_fontChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_frameChanged(JNIEnv* env, jobject obj) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_frameChanged(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollView_hScrollBarMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQScrollView*) QtSupport::getQt(env, obj))->hScrollBarMode(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QScrollView_hasStaticBackground(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQScrollView*) QtSupport::getQt(env, obj))->hasStaticBackground(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QScrollView_horizontalScrollBar(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQScrollView*) QtSupport::getQt(env, obj))->horizontalScrollBar(), "org.kde.qt.TQScrollBar"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QScrollView_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QScrollView_isHorizontalSliderPressed(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQScrollView*) QtSupport::getQt(env, obj))->isHorizontalSliderPressed(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QScrollView_isVerticalSliderPressed(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQScrollView*) QtSupport::getQt(env, obj))->isVerticalSliderPressed(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollView_leftMargin(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_leftMargin(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QScrollView_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQScrollView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QScrollView_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQScrollView*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_mouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_moveChild(JNIEnv* env, jobject obj, jobject child, jint x, jint y) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->moveChild((TQWidget*) QtSupport::getQt(env, child), (int) x, (int) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_newTQScrollView__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQScrollViewJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_newTQScrollView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQScrollViewJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_newTQScrollView__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 TQScrollViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_newTQScrollView__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 TQScrollViewJBridge((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_qt_QScrollView_removeChild__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject child) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->removeChild((TQObject*) QtSupport::getQt(env, child)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_removeChild__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject child) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->removeChild((TQWidget*) QtSupport::getQt(env, child)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_repaintContents__(JNIEnv* env, jobject obj) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->repaintContents(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_repaintContents__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->repaintContents((int) x, (int) y, (int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_repaintContents__IIIIZ(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jboolean erase) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->repaintContents((int) x, (int) y, (int) w, (int) h, (bool) erase); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_repaintContents__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject r) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->repaintContents((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_repaintContents__Lorg_kde_qt_QRect_2Z(JNIEnv* env, jobject obj, jobject r, jboolean erase) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->repaintContents((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (bool) erase); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_repaintContents__Z(JNIEnv* env, jobject obj, jboolean erase) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->repaintContents((bool) erase); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_resizeContents(JNIEnv* env, jobject obj, jint w, jint h) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->resizeContents((int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollView_resizePolicy(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQScrollView*) QtSupport::getQt(env, obj))->resizePolicy(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_resize__II(JNIEnv* env, jobject obj, jint w, jint h) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->resize((int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_resize__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->resize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollView_rightMargin(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_rightMargin(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_scrollBy(JNIEnv* env, jobject obj, jint dx, jint dy) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->scrollBy((int) dx, (int) dy); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_setCachedSizeHint(JNIEnv* env, jobject obj, jobject sh) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_setCachedSizeHint((const TQSize&)*(const TQSize*) QtSupport::getQt(env, sh)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_setContentsPos(JNIEnv* env, jobject obj, jint x, jint y) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->setContentsPos((int) x, (int) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_setCornerWidget(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->setCornerWidget((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_setDragAutoScroll(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->setDragAutoScroll((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_setEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->setEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_setHBarGeometry(JNIEnv* env, jobject obj, jobject hbar, jint x, jint y, jint w, jint h) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_setHBarGeometry((TQScrollBar&)*(TQScrollBar*) QtSupport::getQt(env, hbar), (int) x, (int) y, (int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_setHScrollBarMode(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->setHScrollBarMode((TQScrollView::ScrollBarMode) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_setMargins(JNIEnv* env, jobject obj, jint left, jint top, jint right, jint bottom) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_setMargins((int) left, (int) top, (int) right, (int) bottom); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_setResizePolicy(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->setResizePolicy((TQScrollView::ResizePolicy) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_setStaticBackground(JNIEnv* env, jobject obj, jboolean y) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->setStaticBackground((bool) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_setVBarGeometry(JNIEnv* env, jobject obj, jobject vbar, jint x, jint y, jint w, jint h) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_setVBarGeometry((TQScrollBar&)*(TQScrollBar*) QtSupport::getQt(env, vbar), (int) x, (int) y, (int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_setVScrollBarMode(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->setVScrollBarMode((TQScrollView::ScrollBarMode) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_showChild__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject child) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->showChild((TQWidget*) QtSupport::getQt(env, child)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_showChild__Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jobject obj, jobject child, jboolean yes) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->showChild((TQWidget*) QtSupport::getQt(env, child), (bool) yes); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_show(JNIEnv* env, jobject obj) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->show(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QScrollView_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQScrollView*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_styleChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollView_topMargin(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_topMargin(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QScrollView_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQScrollViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QScrollView_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQScrollViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_updateContents__(JNIEnv* env, jobject obj) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->updateContents(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_updateContents__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->updateContents((int) x, (int) y, (int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_updateContents__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject r) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->updateContents((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_updateScrollBars(JNIEnv* env, jobject obj) -{ - ((TQScrollView*) QtSupport::getQt(env, obj))->updateScrollBars(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollView_vScrollBarMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQScrollView*) QtSupport::getQt(env, obj))->vScrollBarMode(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QScrollView_verticalScrollBar(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQScrollView*) QtSupport::getQt(env, obj))->verticalScrollBar(), "org.kde.qt.TQScrollBar"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_viewportContextMenuEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportContextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_viewportDragEnterEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_viewportDragLeaveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_viewportDragMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_viewportDropEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportDropEvent((TQDropEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_viewportMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_viewportMouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportMouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_viewportMousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_viewportMouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportMouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_viewportPaintEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportPaintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_viewportResizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportResizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QScrollView_viewportSize(JNIEnv* env, jobject obj, jint arg1, jint arg2) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQScrollView*) QtSupport::getQt(env, obj))->viewportSize((int) arg1, (int) arg2)), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_viewportToContents__II_3I_3I(JNIEnv* env, jobject obj, jint vx, jint vy, jintArray x, jintArray y) -{ - int* _int_x = QtSupport::toIntPtr(env, x); - int* _int_y = QtSupport::toIntPtr(env, y); - ((TQScrollView*) QtSupport::getQt(env, obj))->viewportToContents((int) vx, (int) vy, (int&) *_int_x, (int&) *_int_y); - env->SetIntArrayRegion(x, 0, 1, (jint *) _int_x); - env->SetIntArrayRegion(y, 0, 1, (jint *) _int_y); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QScrollView_viewportToContents__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQScrollView*) QtSupport::getQt(env, obj))->viewportToContents((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_viewportWheelEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportWheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QScrollView_viewport(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQScrollView*) QtSupport::getQt(env, obj))->viewport(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollView_visibleHeight(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQScrollView*) QtSupport::getQt(env, obj))->visibleHeight(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QScrollView_visibleWidth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQScrollView*) QtSupport::getQt(env, obj))->visibleWidth(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_wheelEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); - return; -} - diff --git a/qtjava/javalib/qtjava/QScrollView.h b/qtjava/javalib/qtjava/QScrollView.h deleted file mode 100644 index 50d78b9c..00000000 --- a/qtjava/javalib/qtjava/QScrollView.h +++ /dev/null @@ -1,139 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QScrollView__ -#define __org_kde_qt_QScrollView__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QScrollView_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QScrollView_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_newTQScrollView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_newTQScrollView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_newTQScrollView__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_newTQScrollView__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_setResizePolicy (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollView_resizePolicy (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_styleChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_removeChild__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_addChild__Lorg_kde_qt_QWidget_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_addChild__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_addChild__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_moveChild (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollView_childX (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollView_childY (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QScrollView_childIsVisible (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_showChild__Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_showChild__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollView_vScrollBarMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_setVScrollBarMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollView_hScrollBarMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_setHScrollBarMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QScrollView_cornerWidget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_setCornerWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QScrollView_horizontalScrollBar (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QScrollView_verticalScrollBar (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QScrollView_viewport (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QScrollView_clipper (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollView_visibleWidth (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollView_visibleHeight (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollView_contentsWidth (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollView_contentsHeight (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollView_contentsX (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollView_contentsY (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_resize__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_resize__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_show (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_updateContents__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_updateContents__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_updateContents__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_repaintContents__IIIIZ (JNIEnv *env, jobject, jint, jint, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_repaintContents__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_repaintContents__Lorg_kde_qt_QRect_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_repaintContents__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_repaintContents__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_repaintContents__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_contentsToViewport__II_3I_3I (JNIEnv *env, jobject, jint, jint, jintArray, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportToContents__II_3I_3I (JNIEnv *env, jobject, jint, jint, jintArray, jintArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QScrollView_contentsToViewport__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QScrollView_viewportToContents__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_enableClipper (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_setStaticBackground (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QScrollView_hasStaticBackground (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QScrollView_viewportSize (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QScrollView_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QScrollView_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_removeChild__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QScrollView_isHorizontalSliderPressed (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QScrollView_isVerticalSliderPressed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_setDragAutoScroll (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QScrollView_dragAutoScroll (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_disableSizeHintCaching (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_resizeContents (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_scrollBy (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_setContentsPos (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_ensureVisible__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_ensureVisible__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_center__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_center__IIFF (JNIEnv *env, jobject, jint, jint, jfloat, jfloat); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_updateScrollBars (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_setEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QScrollView_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QScrollView_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_drawContents (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_drawContentsOffset (JNIEnv *env, jobject, jobject, jint, jint, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_contentsMousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_contentsMouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_contentsMouseDoubleClickEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_contentsMouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_contentsDragEnterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_contentsDragMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_contentsDragLeaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_contentsDropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_contentsWheelEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_contentsContextMenuEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportPaintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportResizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportMousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportMouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportMouseDoubleClickEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportMouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportDragEnterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportDragMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportDragLeaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportDropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportWheelEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportContextMenuEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_frameChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_setMargins (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollView_leftMargin (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollView_topMargin (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollView_rightMargin (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollView_bottomMargin (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QScrollView_focusNextPrevChild (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_setHBarGeometry (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_setVBarGeometry (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_mouseDoubleClickEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_mouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_wheelEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_contextMenuEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QScrollView_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_setCachedSizeHint (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QScrollView_cachedSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_fontChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QScrollView_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QScrollView__ */ diff --git a/qtjava/javalib/qtjava/QSemiModal.cpp b/qtjava/javalib/qtjava/QSemiModal.cpp deleted file mode 100644 index 3a1bc268..00000000 --- a/qtjava/javalib/qtjava/QSemiModal.cpp +++ /dev/null @@ -1,464 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQSemiModalJBridge : public TQSemiModal -{ -public: - TQSemiModalJBridge(TQWidget* arg1,const char* arg2,bool arg3,TQt::WFlags arg4) : TQSemiModal(arg1,arg2,arg3,arg4) {}; - TQSemiModalJBridge(TQWidget* arg1,const char* arg2,bool arg3) : TQSemiModal(arg1,arg2,arg3) {}; - TQSemiModalJBridge(TQWidget* arg1,const char* arg2) : TQSemiModal(arg1,arg2) {}; - TQSemiModalJBridge(TQWidget* arg1) : TQSemiModal(arg1) {}; - TQSemiModalJBridge() : TQSemiModal() {}; - ~TQSemiModalJBridge() {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.qt.TQSemiModal","accept")) { - TQDialog::accept(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSemiModal","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.qt.TQSemiModal","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.qt.TQSemiModal","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.qt.TQSemiModal","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSemiModal","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.qt.TQSemiModal","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSemiModal","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.qt.TQSemiModal","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.qt.TQSemiModal","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.qt.TQSemiModal","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSemiModal_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQSemiModal*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSemiModal_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QSemiModal_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSemiModal_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQSemiModal*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQSemiModal*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSemiModal_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSemiModal_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSemiModal*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSemiModal_newTQSemiModal__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSemiModalJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSemiModal_newTQSemiModal__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSemiModalJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSemiModal_newTQSemiModal__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 TQSemiModalJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSemiModal_newTQSemiModal__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 TQSemiModalJBridge((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_qt_QSemiModal_newTQSemiModal__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 TQSemiModalJBridge((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 jstring JNICALL -Java_org_kde_qt_QSemiModal_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQSemiModalJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSemiModal_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQSemiModalJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QSemiModal.h b/qtjava/javalib/qtjava/QSemiModal.h deleted file mode 100644 index 7ee8f0ff..00000000 --- a/qtjava/javalib/qtjava/QSemiModal.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QSemiModal__ -#define __org_kde_qt_QSemiModal__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSemiModal_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSemiModal_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSemiModal_newTQSemiModal__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZI (JNIEnv *env, jobject, jobject, jstring, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSemiModal_newTQSemiModal__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSemiModal_newTQSemiModal__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSemiModal_newTQSemiModal__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSemiModal_newTQSemiModal__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSemiModal_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSemiModal_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSemiModal_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSemiModal_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSemiModal_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QSemiModal__ */ diff --git a/qtjava/javalib/qtjava/QServerSocket.cpp b/qtjava/javalib/qtjava/QServerSocket.cpp deleted file mode 100644 index 95b8153e..00000000 --- a/qtjava/javalib/qtjava/QServerSocket.cpp +++ /dev/null @@ -1,87 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QServerSocket_address(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQHostAddress(((TQServerSocket*) QtSupport::getQt(env, obj))->address()), "org.kde.qt.TQHostAddress", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QServerSocket_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQServerSocket*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QServerSocket_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQServerSocket*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QServerSocket_newConnection(JNIEnv* env, jobject obj, jint socket) -{ - ((TQServerSocket*) QtSupport::getQt(env, obj))->newConnection((int) socket); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QServerSocket_ok(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQServerSocket*) QtSupport::getQt(env, obj))->ok(); - return xret; -} - -JNIEXPORT jshort JNICALL -Java_org_kde_qt_QServerSocket_port(JNIEnv* env, jobject obj) -{ - jshort xret = (jshort) ((TQServerSocket*) QtSupport::getQt(env, obj))->port(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QServerSocket_setSocket(JNIEnv* env, jobject obj, jint socket) -{ - ((TQServerSocket*) QtSupport::getQt(env, obj))->setSocket((int) socket); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QServerSocket_socket(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQServerSocket*) QtSupport::getQt(env, obj))->socket(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QServerSocket_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQServerSocket::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QServerSocket_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQServerSocket::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QServerSocket.h b/qtjava/javalib/qtjava/QServerSocket.h deleted file mode 100644 index 8aa59456..00000000 --- a/qtjava/javalib/qtjava/QServerSocket.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QServerSocket__ -#define __org_kde_qt_QServerSocket__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QServerSocket_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QServerSocket_className (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QServerSocket_ok (JNIEnv *env, jobject); -extern JNIEXPORT jshort JNICALL Java_org_kde_qt_QServerSocket_port (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QServerSocket_socket (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QServerSocket_setSocket (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QServerSocket_address (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QServerSocket_newConnection (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QServerSocket_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QServerSocket_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QServerSocket__ */ diff --git a/qtjava/javalib/qtjava/QSessionManager.cpp b/qtjava/javalib/qtjava/QSessionManager.cpp deleted file mode 100644 index b4181004..00000000 --- a/qtjava/javalib/qtjava/QSessionManager.cpp +++ /dev/null @@ -1,166 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSessionManager_allowsErrorInteraction(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSessionManager*) QtSupport::getQt(env, obj))->allowsErrorInteraction(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSessionManager_allowsInteraction(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSessionManager*) QtSupport::getQt(env, obj))->allowsInteraction(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSessionManager_cancel(JNIEnv* env, jobject obj) -{ - ((TQSessionManager*) QtSupport::getQt(env, obj))->cancel(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSessionManager_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQSessionManager*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSessionManager_discardCommand(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TQSessionManager*) QtSupport::getQt(env, obj))->discardCommand(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSessionManager_isPhase2(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSessionManager*) QtSupport::getQt(env, obj))->isPhase2(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSessionManager_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSessionManager*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSessionManager_release(JNIEnv* env, jobject obj) -{ - ((TQSessionManager*) QtSupport::getQt(env, obj))->release(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSessionManager_requestPhase2(JNIEnv* env, jobject obj) -{ - ((TQSessionManager*) QtSupport::getQt(env, obj))->requestPhase2(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSessionManager_restartCommand(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TQSessionManager*) QtSupport::getQt(env, obj))->restartCommand(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSessionManager_restartHint(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSessionManager*) QtSupport::getQt(env, obj))->restartHint(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSessionManager_sessionId(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQSessionManager*) QtSupport::getQt(env, obj))->sessionId(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSessionManager_sessionKey(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQSessionManager*) QtSupport::getQt(env, obj))->sessionKey(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSessionManager_setDiscardCommand(JNIEnv* env, jobject obj, jobjectArray arg1) -{ -static TQStringList* _qlist_arg1 = 0; - ((TQSessionManager*) QtSupport::getQt(env, obj))->setDiscardCommand((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, arg1, &_qlist_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSessionManager_setManagerProperty__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring value) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_value = 0; - ((TQSessionManager*) QtSupport::getQt(env, obj))->setManagerProperty((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSessionManager_setManagerProperty__Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jobjectArray value) -{ -static TQString* _qstring_name = 0; -static TQStringList* _qlist_value = 0; - ((TQSessionManager*) QtSupport::getQt(env, obj))->setManagerProperty((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, value, &_qlist_value)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSessionManager_setRestartCommand(JNIEnv* env, jobject obj, jobjectArray arg1) -{ -static TQStringList* _qlist_arg1 = 0; - ((TQSessionManager*) QtSupport::getQt(env, obj))->setRestartCommand((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, arg1, &_qlist_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSessionManager_setRestartHint(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQSessionManager*) QtSupport::getQt(env, obj))->setRestartHint((TQSessionManager::RestartHint) arg1); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSessionManager_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQSessionManager::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSessionManager_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQSessionManager::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QSessionManager.h b/qtjava/javalib/qtjava/QSessionManager.h deleted file mode 100644 index 5ef8ebdd..00000000 --- a/qtjava/javalib/qtjava/QSessionManager.h +++ /dev/null @@ -1,38 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QSessionManager__ -#define __org_kde_qt_QSessionManager__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSessionManager_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSessionManager_className (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSessionManager_sessionId (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSessionManager_sessionKey (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSessionManager_allowsInteraction (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSessionManager_allowsErrorInteraction (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSessionManager_release (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSessionManager_cancel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSessionManager_setRestartHint (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSessionManager_restartHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSessionManager_setRestartCommand (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSessionManager_restartCommand (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSessionManager_setDiscardCommand (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSessionManager_discardCommand (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSessionManager_setManagerProperty__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSessionManager_setManagerProperty__Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobjectArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSessionManager_isPhase2 (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSessionManager_requestPhase2 (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSessionManager_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSessionManager_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QSessionManager__ */ diff --git a/qtjava/javalib/qtjava/QSettings.cpp b/qtjava/javalib/qtjava/QSettings.cpp deleted file mode 100644 index b09c9bde..00000000 --- a/qtjava/javalib/qtjava/QSettings.cpp +++ /dev/null @@ -1,359 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQSettingsJBridge : public TQSettings -{ -public: - TQSettingsJBridge() : TQSettings() {}; - TQSettingsJBridge(TQSettings::Format arg1) : TQSettings(arg1) {}; - ~TQSettingsJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSettings_beginGroup(JNIEnv* env, jobject obj, jstring group) -{ -static TQString* _qstring_group = 0; - ((TQSettings*) QtSupport::getQt(env, obj))->beginGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSettings_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QSettings_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSettings_endGroup(JNIEnv* env, jobject obj) -{ - ((TQSettings*) QtSupport::getQt(env, obj))->endGroup(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSettings_entryList(JNIEnv* env, jobject obj, jstring arg1) -{ - TQStringList _qlist; -static TQString* _qstring_arg1 = 0; - _qlist = ((TQSettings*) QtSupport::getQt(env, obj))->entryList((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSettings_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQSettings*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSettings_group(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQSettings*) QtSupport::getQt(env, obj))->group(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSettings_insertSearchPath(JNIEnv* env, jobject obj, jint arg1, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - ((TQSettings*) QtSupport::getQt(env, obj))->insertSearchPath((TQSettings::System) arg1, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSettings_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSettings_newTQSettings__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSettingsJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSettings_newTQSettings__I(JNIEnv* env, jobject obj, jint format) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSettingsJBridge((TQSettings::Format) format)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSettings_readBoolEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - jboolean xret = (jboolean) ((TQSettings*) QtSupport::getQt(env, obj))->readBoolEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSettings_readBoolEntry__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring arg1, jboolean def) -{ -static TQString* _qstring_arg1 = 0; - jboolean xret = (jboolean) ((TQSettings*) QtSupport::getQt(env, obj))->readBoolEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) def); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSettings_readBoolEntry__Ljava_lang_String_2Z_3Z(JNIEnv* env, jobject obj, jstring arg1, jboolean def, jbooleanArray arg3) -{ -static TQString* _qstring_arg1 = 0; - bool* _bool_arg3 = QtSupport::toBooleanPtr(env, arg3); - jboolean xret = (jboolean) ((TQSettings*) QtSupport::getQt(env, obj))->readBoolEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) def, (bool*) _bool_arg3); - env->SetBooleanArrayRegion(arg3, 0, 1, (jboolean*) _bool_arg3); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_qt_QSettings_readDoubleEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - jdouble xret = (jdouble) ((TQSettings*) QtSupport::getQt(env, obj))->readDoubleEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_qt_QSettings_readDoubleEntry__Ljava_lang_String_2D(JNIEnv* env, jobject obj, jstring arg1, jdouble def) -{ -static TQString* _qstring_arg1 = 0; - jdouble xret = (jdouble) ((TQSettings*) QtSupport::getQt(env, obj))->readDoubleEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (double) def); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_qt_QSettings_readDoubleEntry__Ljava_lang_String_2D_3Z(JNIEnv* env, jobject obj, jstring arg1, jdouble def, jbooleanArray arg3) -{ -static TQString* _qstring_arg1 = 0; - bool* _bool_arg3 = QtSupport::toBooleanPtr(env, arg3); - jdouble xret = (jdouble) ((TQSettings*) QtSupport::getQt(env, obj))->readDoubleEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (double) def, (bool*) _bool_arg3); - env->SetBooleanArrayRegion(arg3, 0, 1, (jboolean*) _bool_arg3); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSettings_readEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ - TQString _qstring; -static TQString* _qstring_arg1 = 0; - _qstring = ((TQSettings*) QtSupport::getQt(env, obj))->readEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSettings_readEntry__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring def) -{ - TQString _qstring; -static TQString* _qstring_arg1 = 0; -static TQString* _qstring_def = 0; - _qstring = ((TQSettings*) QtSupport::getQt(env, obj))->readEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, def, &_qstring_def)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSettings_readEntry__Ljava_lang_String_2Ljava_lang_String_2_3Z(JNIEnv* env, jobject obj, jstring arg1, jstring def, jbooleanArray arg3) -{ - TQString _qstring; -static TQString* _qstring_arg1 = 0; -static TQString* _qstring_def = 0; - bool* _bool_arg3 = QtSupport::toBooleanPtr(env, arg3); - _qstring = ((TQSettings*) QtSupport::getQt(env, obj))->readEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, def, &_qstring_def), (bool*) _bool_arg3); - env->SetBooleanArrayRegion(arg3, 0, 1, (jboolean*) _bool_arg3); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSettings_readListEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ - TQStringList _qlist; -static TQString* _qstring_arg1 = 0; - _qlist = ((TQSettings*) QtSupport::getQt(env, obj))->readListEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSettings_readListEntry__Ljava_lang_String_2C(JNIEnv* env, jobject obj, jstring arg1, jchar sep) -{ - TQStringList _qlist; -static TQString* _qstring_arg1 = 0; -static TQChar* _qchar_sep = 0; - _qlist = ((TQSettings*) QtSupport::getQt(env, obj))->readListEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQChar&)*(TQChar*) QtSupport::toTQChar(env, sep, &_qchar_sep)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSettings_readListEntry__Ljava_lang_String_2C_3Z(JNIEnv* env, jobject obj, jstring arg1, jchar sep, jbooleanArray arg3) -{ - TQStringList _qlist; -static TQString* _qstring_arg1 = 0; -static TQChar* _qchar_sep = 0; - bool* _bool_arg3 = QtSupport::toBooleanPtr(env, arg3); - _qlist = ((TQSettings*) QtSupport::getQt(env, obj))->readListEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQChar&)*(TQChar*) QtSupport::toTQChar(env, sep, &_qchar_sep), (bool*) _bool_arg3); - env->SetBooleanArrayRegion(arg3, 0, 1, (jboolean*) _bool_arg3); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSettings_readListEntry__Ljava_lang_String_2_3Z(JNIEnv* env, jobject obj, jstring arg1, jbooleanArray arg2) -{ - TQStringList _qlist; -static TQString* _qstring_arg1 = 0; - bool* _bool_arg2 = QtSupport::toBooleanPtr(env, arg2); - _qlist = ((TQSettings*) QtSupport::getQt(env, obj))->readListEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool*) _bool_arg2); - env->SetBooleanArrayRegion(arg2, 0, 1, (jboolean*) _bool_arg2); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSettings_readNumEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - jint xret = (jint) ((TQSettings*) QtSupport::getQt(env, obj))->readNumEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSettings_readNumEntry__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring arg1, jint def) -{ -static TQString* _qstring_arg1 = 0; - jint xret = (jint) ((TQSettings*) QtSupport::getQt(env, obj))->readNumEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (int) def); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSettings_readNumEntry__Ljava_lang_String_2I_3Z(JNIEnv* env, jobject obj, jstring arg1, jint def, jbooleanArray arg3) -{ -static TQString* _qstring_arg1 = 0; - bool* _bool_arg3 = QtSupport::toBooleanPtr(env, arg3); - jint xret = (jint) ((TQSettings*) QtSupport::getQt(env, obj))->readNumEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (int) def, (bool*) _bool_arg3); - env->SetBooleanArrayRegion(arg3, 0, 1, (jboolean*) _bool_arg3); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSettings_removeEntry(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - jboolean xret = (jboolean) ((TQSettings*) QtSupport::getQt(env, obj))->removeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSettings_removeSearchPath(JNIEnv* env, jobject obj, jint arg1, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - ((TQSettings*) QtSupport::getQt(env, obj))->removeSearchPath((TQSettings::System) arg1, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSettings_resetGroup(JNIEnv* env, jobject obj) -{ - ((TQSettings*) QtSupport::getQt(env, obj))->resetGroup(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSettings_setPath__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring domain, jstring product) -{ -static TQString* _qstring_domain = 0; -static TQString* _qstring_product = 0; - ((TQSettings*) QtSupport::getQt(env, obj))->setPath((const TQString&)*(TQString*) QtSupport::toTQString(env, domain, &_qstring_domain), (const TQString&)*(TQString*) QtSupport::toTQString(env, product, &_qstring_product)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSettings_setPath__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring domain, jstring product, jint arg3) -{ -static TQString* _qstring_domain = 0; -static TQString* _qstring_product = 0; - ((TQSettings*) QtSupport::getQt(env, obj))->setPath((const TQString&)*(TQString*) QtSupport::toTQString(env, domain, &_qstring_domain), (const TQString&)*(TQString*) QtSupport::toTQString(env, product, &_qstring_product), (TQSettings::Scope) arg3); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSettings_subkeyList(JNIEnv* env, jobject obj, jstring arg1) -{ - TQStringList _qlist; -static TQString* _qstring_arg1 = 0; - _qlist = ((TQSettings*) QtSupport::getQt(env, obj))->subkeyList((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSettings_sync(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSettings*) QtSupport::getQt(env, obj))->sync(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSettings_writeEntry__Ljava_lang_String_2D(JNIEnv* env, jobject obj, jstring arg1, jdouble arg2) -{ -static TQString* _qstring_arg1 = 0; - jboolean xret = (jboolean) ((TQSettings*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (double) arg2); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSettings_writeEntry__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring arg1, jint arg2) -{ -static TQString* _qstring_arg1 = 0; - jboolean xret = (jboolean) ((TQSettings*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (int) arg2); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSettings_writeEntry__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2) -{ -static TQString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - jboolean xret = (jboolean) ((TQSettings*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSettings_writeEntry__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring arg1, jboolean arg2) -{ -static TQString* _qstring_arg1 = 0; - jboolean xret = (jboolean) ((TQSettings*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) arg2); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSettings_writeEntry__Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jobjectArray arg2) -{ -static TQString* _qstring_arg1 = 0; -static TQStringList* _qlist_arg2 = 0; - jboolean xret = (jboolean) ((TQSettings*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, arg2, &_qlist_arg2)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSettings_writeEntry__Ljava_lang_String_2_3Ljava_lang_String_2C(JNIEnv* env, jobject obj, jstring arg1, jobjectArray arg2, jchar sep) -{ -static TQString* _qstring_arg1 = 0; -static TQStringList* _qlist_arg2 = 0; -static TQChar* _qchar_sep = 0; - jboolean xret = (jboolean) ((TQSettings*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, arg2, &_qlist_arg2), (const TQChar&)*(TQChar*) QtSupport::toTQChar(env, sep, &_qchar_sep)); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QSettings.h b/qtjava/javalib/qtjava/QSettings.h deleted file mode 100644 index 3d8d60f8..00000000 --- a/qtjava/javalib/qtjava/QSettings.h +++ /dev/null @@ -1,57 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QSettings__ -#define __org_kde_qt_QSettings__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSettings_newTQSettings__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSettings_newTQSettings__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSettings_writeEntry__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSettings_writeEntry__Ljava_lang_String_2D (JNIEnv *env, jobject, jstring, jdouble); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSettings_writeEntry__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSettings_writeEntry__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSettings_writeEntry__Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobjectArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSettings_writeEntry__Ljava_lang_String_2_3Ljava_lang_String_2C (JNIEnv *env, jobject, jstring, jobjectArray, jchar); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSettings_entryList (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSettings_subkeyList (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSettings_readListEntry__Ljava_lang_String_2_3Z (JNIEnv *env, jobject, jstring, jbooleanArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSettings_readListEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSettings_readListEntry__Ljava_lang_String_2C_3Z (JNIEnv *env, jobject, jstring, jchar, jbooleanArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSettings_readListEntry__Ljava_lang_String_2C (JNIEnv *env, jobject, jstring, jchar); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSettings_readEntry__Ljava_lang_String_2Ljava_lang_String_2_3Z (JNIEnv *env, jobject, jstring, jstring, jbooleanArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSettings_readEntry__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSettings_readEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSettings_readNumEntry__Ljava_lang_String_2I_3Z (JNIEnv *env, jobject, jstring, jint, jbooleanArray); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSettings_readNumEntry__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSettings_readNumEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QSettings_readDoubleEntry__Ljava_lang_String_2D_3Z (JNIEnv *env, jobject, jstring, jdouble, jbooleanArray); -extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QSettings_readDoubleEntry__Ljava_lang_String_2D (JNIEnv *env, jobject, jstring, jdouble); -extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QSettings_readDoubleEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSettings_readBoolEntry__Ljava_lang_String_2Z_3Z (JNIEnv *env, jobject, jstring, jboolean, jbooleanArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSettings_readBoolEntry__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSettings_readBoolEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSettings_removeEntry (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSettings_insertSearchPath (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSettings_removeSearchPath (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSettings_setPath__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSettings_setPath__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSettings_beginGroup (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSettings_endGroup (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSettings_resetGroup (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSettings_group (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSettings_sync (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSettings_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSettings_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSettings_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QSettings__ */ diff --git a/qtjava/javalib/qtjava/QShowEvent.cpp b/qtjava/javalib/qtjava/QShowEvent.cpp deleted file mode 100644 index 496af94f..00000000 --- a/qtjava/javalib/qtjava/QShowEvent.cpp +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - -class TQShowEventJBridge : public TQShowEvent -{ -public: - TQShowEventJBridge() : TQShowEvent() {}; - ~TQShowEventJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QShowEvent_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QShowEvent_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QShowEvent_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQShowEvent*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QShowEvent_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QShowEvent_newTQShowEvent(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQShowEventJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/qtjava/javalib/qtjava/QShowEvent.h b/qtjava/javalib/qtjava/QShowEvent.h deleted file mode 100644 index a4297714..00000000 --- a/qtjava/javalib/qtjava/QShowEvent.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QShowEvent__ -#define __org_kde_qt_QShowEvent__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QShowEvent_newTQShowEvent (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QShowEvent_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QShowEvent_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QShowEvent_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QShowEvent__ */ diff --git a/qtjava/javalib/qtjava/QSignal.cpp b/qtjava/javalib/qtjava/QSignal.cpp deleted file mode 100644 index b5141f3e..00000000 --- a/qtjava/javalib/qtjava/QSignal.cpp +++ /dev/null @@ -1,214 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQSignalJBridge : public TQSignal -{ -public: - TQSignalJBridge(TQObject* arg1,const char* arg2) : TQSignal(arg1,arg2) {}; - TQSignalJBridge(TQObject* arg1) : TQSignal(arg1) {}; - TQSignalJBridge() : TQSignal() {}; - ~TQSignalJBridge() {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.qt.TQSignal",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSignal_activate(JNIEnv* env, jobject obj) -{ - ((TQSignal*) QtSupport::getQt(env, obj))->activate(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSignal_block(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQSignal*) QtSupport::getQt(env, obj))->block((bool) b); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSignal_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQSignal*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSignal_connect(JNIEnv* env, jobject obj, jobject receiver, jstring member) -{ - jboolean xret = (jboolean) ((TQSignal*) QtSupport::getQt(env, obj))->connect((const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSignal_disconnect__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject receiver) -{ - jboolean xret = (jboolean) ((TQSignal*) QtSupport::getQt(env, obj))->disconnect((const TQObject*) QtSupport::getQt(env, receiver)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSignal_disconnect__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject receiver, jstring member) -{ - jboolean xret = (jboolean) ((TQSignal*) QtSupport::getQt(env, obj))->disconnect((const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSignal_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QSignal_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSignal_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQSignal*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQSignal*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSignal_isBlocked(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSignal*) QtSupport::getQt(env, obj))->isBlocked(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSignal_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSignal_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSignal*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSignal_newTQSignal__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSignalJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSignal_newTQSignal__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSignalJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSignal_newTQSignal__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 TQSignalJBridge((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_qt_QSignal_parameter(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSignal*) QtSupport::getQt(env, obj))->parameter(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSignal_setParameter(JNIEnv* env, jobject obj, jint value) -{ - ((TQSignal*) QtSupport::getQt(env, obj))->setParameter((int) value); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSignal_setValue(JNIEnv* env, jobject obj, jobject value) -{ - ((TQSignal*) QtSupport::getQt(env, obj))->setValue((const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, value)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSignal_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQSignalJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSignal_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQSignalJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSignal_value(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSignal*) QtSupport::getQt(env, obj))->value()), "org.kde.qt.TQVariant", TRUE); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QSignal.h b/qtjava/javalib/qtjava/QSignal.h deleted file mode 100644 index d74ca10c..00000000 --- a/qtjava/javalib/qtjava/QSignal.h +++ /dev/null @@ -1,38 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QSignal__ -#define __org_kde_qt_QSignal__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSignal_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSignal_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSignal_newTQSignal__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSignal_newTQSignal__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSignal_newTQSignal__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSignal_connect (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSignal_disconnect__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSignal_disconnect__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSignal_activate (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSignal_isBlocked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSignal_block (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSignal_setParameter (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSignal_parameter (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSignal_setValue (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSignal_value (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSignal_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSignal_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSignal_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSignal_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSignal_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QSignal__ */ diff --git a/qtjava/javalib/qtjava/QSignalMapper.cpp b/qtjava/javalib/qtjava/QSignalMapper.cpp deleted file mode 100644 index b415b76a..00000000 --- a/qtjava/javalib/qtjava/QSignalMapper.cpp +++ /dev/null @@ -1,161 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQSignalMapperJBridge : public TQSignalMapper -{ -public: - TQSignalMapperJBridge(TQObject* arg1,const char* arg2) : TQSignalMapper(arg1,arg2) {}; - TQSignalMapperJBridge(TQObject* arg1) : TQSignalMapper(arg1) {}; - ~TQSignalMapperJBridge() {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.qt.TQSignalMapper",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSignalMapper_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQSignalMapper*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSignalMapper_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QSignalMapper_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSignalMapper_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQSignalMapper*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQSignalMapper*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSignalMapper_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSignalMapper_map(JNIEnv* env, jobject obj) -{ - ((TQSignalMapper*) QtSupport::getQt(env, obj))->map(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSignalMapper_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSignalMapper*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSignalMapper_newTQSignalMapper__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSignalMapperJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSignalMapper_newTQSignalMapper__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 TQSignalMapperJBridge((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_qt_QSignalMapper_removeMappings(JNIEnv* env, jobject obj, jobject sender) -{ - ((TQSignalMapper*) QtSupport::getQt(env, obj))->removeMappings((const TQObject*) QtSupport::getQt(env, sender)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSignalMapper_setMapping__Lorg_kde_qt_QObject_2I(JNIEnv* env, jobject obj, jobject sender, jint identifier) -{ - ((TQSignalMapper*) QtSupport::getQt(env, obj))->setMapping((const TQObject*) QtSupport::getQt(env, sender), (int) identifier); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSignalMapper_setMapping__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject sender, jstring identifier) -{ -static TQString* _qstring_identifier = 0; - ((TQSignalMapper*) QtSupport::getQt(env, obj))->setMapping((const TQObject*) QtSupport::getQt(env, sender), (const TQString&)*(TQString*) QtSupport::toTQString(env, identifier, &_qstring_identifier)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSignalMapper_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQSignalMapperJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSignalMapper_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQSignalMapperJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QSignalMapper.h b/qtjava/javalib/qtjava/QSignalMapper.h deleted file mode 100644 index 833e86ee..00000000 --- a/qtjava/javalib/qtjava/QSignalMapper.h +++ /dev/null @@ -1,31 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QSignalMapper__ -#define __org_kde_qt_QSignalMapper__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSignalMapper_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSignalMapper_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSignalMapper_newTQSignalMapper__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSignalMapper_newTQSignalMapper__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSignalMapper_setMapping__Lorg_kde_qt_QObject_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSignalMapper_setMapping__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSignalMapper_removeMappings (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSignalMapper_map (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSignalMapper_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSignalMapper_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSignalMapper_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSignalMapper_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSignalMapper_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QSignalMapper__ */ diff --git a/qtjava/javalib/qtjava/QSimpleRichText.cpp b/qtjava/javalib/qtjava/QSimpleRichText.cpp deleted file mode 100644 index 619056bb..00000000 --- a/qtjava/javalib/qtjava/QSimpleRichText.cpp +++ /dev/null @@ -1,232 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQSimpleRichTextJBridge : public TQSimpleRichText -{ -public: - TQSimpleRichTextJBridge(const TQString& arg1,const TQFont& arg2,const TQString& arg3,const TQStyleSheet* arg4) : TQSimpleRichText(arg1,arg2,arg3,arg4) {}; - TQSimpleRichTextJBridge(const TQString& arg1,const TQFont& arg2,const TQString& arg3) : TQSimpleRichText(arg1,arg2,arg3) {}; - TQSimpleRichTextJBridge(const TQString& arg1,const TQFont& arg2) : TQSimpleRichText(arg1,arg2) {}; - TQSimpleRichTextJBridge(const TQString& arg1,const TQFont& arg2,const TQString& arg3,const TQStyleSheet* arg4,const TQMimeSourceFactory* arg5,int arg6,const TQColor& arg7,bool arg8) : TQSimpleRichText(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - TQSimpleRichTextJBridge(const TQString& arg1,const TQFont& arg2,const TQString& arg3,const TQStyleSheet* arg4,const TQMimeSourceFactory* arg5,int arg6,const TQColor& arg7) : TQSimpleRichText(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TQSimpleRichTextJBridge(const TQString& arg1,const TQFont& arg2,const TQString& arg3,const TQStyleSheet* arg4,const TQMimeSourceFactory* arg5,int arg6) : TQSimpleRichText(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TQSimpleRichTextJBridge(const TQString& arg1,const TQFont& arg2,const TQString& arg3,const TQStyleSheet* arg4,const TQMimeSourceFactory* arg5) : TQSimpleRichText(arg1,arg2,arg3,arg4,arg5) {}; - ~TQSimpleRichTextJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSimpleRichText_adjustSize(JNIEnv* env, jobject obj) -{ - ((TQSimpleRichText*) QtSupport::getQt(env, obj))->adjustSize(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSimpleRichText_anchorAt(JNIEnv* env, jobject obj, jobject pos) -{ - TQString _qstring; - _qstring = ((TQSimpleRichText*) QtSupport::getQt(env, obj))->anchorAt((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSimpleRichText_context(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQSimpleRichText*) QtSupport::getQt(env, obj))->context(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSimpleRichText_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QSimpleRichText_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSimpleRichText_draw__Lorg_kde_qt_QPainter_2IILorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jobject obj, jobject p, jint x, jint y, jobject clipRect, jobject cg) -{ - ((TQSimpleRichText*) QtSupport::getQt(env, obj))->draw((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (const TQRect&)*(const TQRect*) QtSupport::getQt(env, clipRect), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSimpleRichText_draw__Lorg_kde_qt_QPainter_2IILorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2Lorg_kde_qt_QBrush_2(JNIEnv* env, jobject obj, jobject p, jint x, jint y, jobject clipRect, jobject cg, jobject paper) -{ - ((TQSimpleRichText*) QtSupport::getQt(env, obj))->draw((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (const TQRect&)*(const TQRect*) QtSupport::getQt(env, clipRect), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (const TQBrush*) QtSupport::getQt(env, paper)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSimpleRichText_draw__Lorg_kde_qt_QPainter_2IILorg_kde_qt_QRegion_2Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jobject obj, jobject p, jint x, jint y, jobject clipRegion, jobject cg) -{ - ((TQSimpleRichText*) QtSupport::getQt(env, obj))->draw((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, clipRegion), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSimpleRichText_draw__Lorg_kde_qt_QPainter_2IILorg_kde_qt_QRegion_2Lorg_kde_qt_QColorGroup_2Lorg_kde_qt_QBrush_2(JNIEnv* env, jobject obj, jobject p, jint x, jint y, jobject clipRegion, jobject cg, jobject paper) -{ - ((TQSimpleRichText*) QtSupport::getQt(env, obj))->draw((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, clipRegion), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (const TQBrush*) QtSupport::getQt(env, paper)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSimpleRichText_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQSimpleRichText*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSimpleRichText_height(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSimpleRichText*) QtSupport::getQt(env, obj))->height(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSimpleRichText_inText(JNIEnv* env, jobject obj, jobject pos) -{ - jboolean xret = (jboolean) ((TQSimpleRichText*) QtSupport::getQt(env, obj))->inText((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSimpleRichText_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSimpleRichText_newTQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jstring text, jobject fnt) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSimpleRichTextJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSimpleRichText_newTQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject fnt, jstring context) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_context = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSimpleRichTextJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSimpleRichText_newTQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Ljava_lang_String_2Lorg_kde_qt_QStyleSheet_2(JNIEnv* env, jobject obj, jstring text, jobject fnt, jstring context, jobject sheet) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_context = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSimpleRichTextJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context), (const TQStyleSheet*) QtSupport::getQt(env, sheet))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSimpleRichText_newTQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Ljava_lang_String_2Lorg_kde_qt_QStyleSheet_2Lorg_kde_qt_QMimeSourceFactory_2(JNIEnv* env, jobject obj, jstring text, jobject fnt, jstring context, jobject sheet, jobject factory) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_context = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSimpleRichTextJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context), (const TQStyleSheet*) QtSupport::getQt(env, sheet), (const TQMimeSourceFactory*) QtSupport::getQt(env, factory))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSimpleRichText_newTQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Ljava_lang_String_2Lorg_kde_qt_QStyleSheet_2Lorg_kde_qt_QMimeSourceFactory_2I(JNIEnv* env, jobject obj, jstring text, jobject fnt, jstring context, jobject sheet, jobject factory, jint pageBreak) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_context = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSimpleRichTextJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context), (const TQStyleSheet*) QtSupport::getQt(env, sheet), (const TQMimeSourceFactory*) QtSupport::getQt(env, factory), (int) pageBreak)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSimpleRichText_newTQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Ljava_lang_String_2Lorg_kde_qt_QStyleSheet_2Lorg_kde_qt_QMimeSourceFactory_2ILorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jstring text, jobject fnt, jstring context, jobject sheet, jobject factory, jint pageBreak, jobject linkColor) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_context = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSimpleRichTextJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context), (const TQStyleSheet*) QtSupport::getQt(env, sheet), (const TQMimeSourceFactory*) QtSupport::getQt(env, factory), (int) pageBreak, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, linkColor))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSimpleRichText_newTQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Ljava_lang_String_2Lorg_kde_qt_QStyleSheet_2Lorg_kde_qt_QMimeSourceFactory_2ILorg_kde_qt_QColor_2Z(JNIEnv* env, jobject obj, jstring text, jobject fnt, jstring context, jobject sheet, jobject factory, jint pageBreak, jobject linkColor, jboolean linkUnderline) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_context = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSimpleRichTextJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context), (const TQStyleSheet*) QtSupport::getQt(env, sheet), (const TQMimeSourceFactory*) QtSupport::getQt(env, factory), (int) pageBreak, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, linkColor), (bool) linkUnderline)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSimpleRichText_setDefaultFont(JNIEnv* env, jobject obj, jobject f) -{ - ((TQSimpleRichText*) QtSupport::getQt(env, obj))->setDefaultFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, f)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSimpleRichText_setWidth__I(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQSimpleRichText*) QtSupport::getQt(env, obj))->setWidth((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSimpleRichText_setWidth__Lorg_kde_qt_QPainter_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2) -{ - ((TQSimpleRichText*) QtSupport::getQt(env, obj))->setWidth((TQPainter*) QtSupport::getQt(env, arg1), (int) arg2); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSimpleRichText_widthUsed(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSimpleRichText*) QtSupport::getQt(env, obj))->widthUsed(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSimpleRichText_width(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSimpleRichText*) QtSupport::getQt(env, obj))->width(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QSimpleRichText.h b/qtjava/javalib/qtjava/QSimpleRichText.h deleted file mode 100644 index c54b1fd7..00000000 --- a/qtjava/javalib/qtjava/QSimpleRichText.h +++ /dev/null @@ -1,42 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QSimpleRichText__ -#define __org_kde_qt_QSimpleRichText__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSimpleRichText_newTQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Ljava_lang_String_2Lorg_kde_qt_QStyleSheet_2 (JNIEnv *env, jobject, jstring, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSimpleRichText_newTQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSimpleRichText_newTQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSimpleRichText_newTQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Ljava_lang_String_2Lorg_kde_qt_QStyleSheet_2Lorg_kde_qt_QMimeSourceFactory_2ILorg_kde_qt_QColor_2Z (JNIEnv *env, jobject, jstring, jobject, jstring, jobject, jobject, jint, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSimpleRichText_newTQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Ljava_lang_String_2Lorg_kde_qt_QStyleSheet_2Lorg_kde_qt_QMimeSourceFactory_2ILorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jstring, jobject, jstring, jobject, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSimpleRichText_newTQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Ljava_lang_String_2Lorg_kde_qt_QStyleSheet_2Lorg_kde_qt_QMimeSourceFactory_2I (JNIEnv *env, jobject, jstring, jobject, jstring, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSimpleRichText_newTQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Ljava_lang_String_2Lorg_kde_qt_QStyleSheet_2Lorg_kde_qt_QMimeSourceFactory_2 (JNIEnv *env, jobject, jstring, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSimpleRichText_setWidth__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSimpleRichText_setWidth__Lorg_kde_qt_QPainter_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSimpleRichText_setDefaultFont (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSimpleRichText_width (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSimpleRichText_widthUsed (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSimpleRichText_height (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSimpleRichText_adjustSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSimpleRichText_draw__Lorg_kde_qt_QPainter_2IILorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2Lorg_kde_qt_QBrush_2 (JNIEnv *env, jobject, jobject, jint, jint, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSimpleRichText_draw__Lorg_kde_qt_QPainter_2IILorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2 (JNIEnv *env, jobject, jobject, jint, jint, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSimpleRichText_draw__Lorg_kde_qt_QPainter_2IILorg_kde_qt_QRegion_2Lorg_kde_qt_QColorGroup_2Lorg_kde_qt_QBrush_2 (JNIEnv *env, jobject, jobject, jint, jint, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSimpleRichText_draw__Lorg_kde_qt_QPainter_2IILorg_kde_qt_QRegion_2Lorg_kde_qt_QColorGroup_2 (JNIEnv *env, jobject, jobject, jint, jint, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSimpleRichText_context (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSimpleRichText_anchorAt (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSimpleRichText_inText (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSimpleRichText_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSimpleRichText_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSimpleRichText_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QSimpleRichText__ */ diff --git a/qtjava/javalib/qtjava/QSize.cpp b/qtjava/javalib/qtjava/QSize.cpp deleted file mode 100644 index 55b2b84b..00000000 --- a/qtjava/javalib/qtjava/QSize.cpp +++ /dev/null @@ -1,198 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQSizeJBridge : public TQSize -{ -public: - TQSizeJBridge() : TQSize() {}; - TQSizeJBridge(int arg1,int arg2) : TQSize(arg1,arg2) {}; - ~TQSizeJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSize_boundedTo(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQSize*) QtSupport::getQt(env, obj))->boundedTo((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSize_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QSize_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSize_expandedTo(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQSize*) QtSupport::getQt(env, obj))->expandedTo((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSize_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQSize*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSize_height(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSize*) QtSupport::getQt(env, obj))->height(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSize_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSize_isEmpty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSize*) QtSupport::getQt(env, obj))->isEmpty(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSize_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSize*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSize_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSize*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSize_newTQSize__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSizeJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSize_newTQSize__II(JNIEnv* env, jobject obj, jint w, jint h) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSizeJBridge((int) w, (int) h)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSize_op_1div_1assign__D(JNIEnv* env, jobject obj, jdouble c) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQSize *) &((TQSize*) QtSupport::getQt(env, obj))->operator/=((double) c), "org.kde.qt.TQSize"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSize_op_1div_1assign__I(JNIEnv* env, jobject obj, jint c) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQSize *) &((TQSize*) QtSupport::getQt(env, obj))->operator/=((int) c), "org.kde.qt.TQSize"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSize_op_1minus_1assign(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQSize *) &((TQSize*) QtSupport::getQt(env, obj))->operator-=((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQSize"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSize_op_1mult_1assign__D(JNIEnv* env, jobject obj, jdouble c) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQSize *) &((TQSize*) QtSupport::getQt(env, obj))->operator*=((double) c), "org.kde.qt.TQSize"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSize_op_1mult_1assign__I(JNIEnv* env, jobject obj, jint c) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQSize *) &((TQSize*) QtSupport::getQt(env, obj))->operator*=((int) c), "org.kde.qt.TQSize"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSize_op_1plus_1assign(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQSize *) &((TQSize*) QtSupport::getQt(env, obj))->operator+=((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQSize"); - return xret; -} - -JNIEXPORT jshort JNICALL -Java_org_kde_qt_QSize_rheight(JNIEnv* env, jobject obj) -{ - jshort xret = (jshort) ((TQSize*) QtSupport::getQt(env, obj))->rheight(); - return xret; -} - -JNIEXPORT jshort JNICALL -Java_org_kde_qt_QSize_rwidth(JNIEnv* env, jobject obj) -{ - jshort xret = (jshort) ((TQSize*) QtSupport::getQt(env, obj))->rwidth(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSize_scale__III(JNIEnv* env, jobject obj, jint w, jint h, jint mode) -{ - ((TQSize*) QtSupport::getQt(env, obj))->scale((int) w, (int) h, (TQSize::ScaleMode) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSize_scale__Lorg_kde_qt_QSize_2I(JNIEnv* env, jobject obj, jobject s, jint mode) -{ - ((TQSize*) QtSupport::getQt(env, obj))->scale((const TQSize&)*(const TQSize*) QtSupport::getQt(env, s), (TQSize::ScaleMode) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSize_setHeight(JNIEnv* env, jobject obj, jint h) -{ - ((TQSize*) QtSupport::getQt(env, obj))->setHeight((int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSize_setWidth(JNIEnv* env, jobject obj, jint w) -{ - ((TQSize*) QtSupport::getQt(env, obj))->setWidth((int) w); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSize_transpose(JNIEnv* env, jobject obj) -{ - ((TQSize*) QtSupport::getQt(env, obj))->transpose(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSize_width(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSize*) QtSupport::getQt(env, obj))->width(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QSize.h b/qtjava/javalib/qtjava/QSize.h deleted file mode 100644 index 2ccc4a9d..00000000 --- a/qtjava/javalib/qtjava/QSize.h +++ /dev/null @@ -1,43 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QSize__ -#define __org_kde_qt_QSize__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSize_newTQSize__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSize_newTQSize__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSize_isNull (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSize_isEmpty (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSize_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSize_width (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSize_height (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSize_setWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSize_setHeight (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSize_transpose (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSize_scale__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSize_scale__Lorg_kde_qt_QSize_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSize_expandedTo (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSize_boundedTo (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jshort JNICALL Java_org_kde_qt_QSize_rwidth (JNIEnv *env, jobject); -extern JNIEXPORT jshort JNICALL Java_org_kde_qt_QSize_rheight (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSize_op_1plus_1assign (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSize_op_1minus_1assign (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSize_op_1mult_1assign__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSize_op_1mult_1assign__D (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSize_op_1div_1assign__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSize_op_1div_1assign__D (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSize_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSize_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSize_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QSize__ */ diff --git a/qtjava/javalib/qtjava/QSizeGrip.cpp b/qtjava/javalib/qtjava/QSizeGrip.cpp deleted file mode 100644 index 96e48a4a..00000000 --- a/qtjava/javalib/qtjava/QSizeGrip.cpp +++ /dev/null @@ -1,485 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQSizeGripJBridge : public TQSizeGrip -{ -public: - TQSizeGripJBridge(TQWidget* arg1,const char* arg2) : TQSizeGrip(arg1,arg2) {}; - TQSizeGripJBridge(TQWidget* arg1) : TQSizeGrip(arg1) {}; - void protected_paintEvent(TQPaintEvent* arg1) { - TQSizeGrip::paintEvent(arg1); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TQSizeGrip::mousePressEvent(arg1); - return; - } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - TQSizeGrip::mouseMoveEvent(arg1); - return; - } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) TQSizeGrip::eventFilter(arg1,arg2); - } - ~TQSizeGripJBridge() {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.qt.TQSizeGrip","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.qt.TQSizeGrip","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.qt.TQSizeGrip","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.qt.TQSizeGrip","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")) { - TQSizeGrip::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.qt.TQSizeGrip","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.qt.TQSizeGrip","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSizeGrip","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.qt.TQSizeGrip","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSizeGrip","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")) { - TQSizeGrip::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQSizeGrip::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.qt.TQSizeGrip","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.qt.TQSizeGrip","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSizeGrip_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQSizeGrip*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSizeGrip_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QSizeGrip_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSizeGrip_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - jboolean xret = (jboolean) ((TQSizeGripJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSizeGrip_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQSizeGrip*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQSizeGrip*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSizeGrip_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSizeGrip_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSizeGrip*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSizeGrip_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQSizeGripJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSizeGrip_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQSizeGripJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSizeGrip_newTQSizeGrip__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSizeGripJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSizeGrip_newTQSizeGrip__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 TQSizeGripJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSizeGrip_paintEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQSizeGripJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSizeGrip_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQSizeGrip*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSizeGrip_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQSizeGripJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSizeGrip_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQSizeGripJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QSizeGrip.h b/qtjava/javalib/qtjava/QSizeGrip.h deleted file mode 100644 index c7325b6b..00000000 --- a/qtjava/javalib/qtjava/QSizeGrip.h +++ /dev/null @@ -1,32 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QSizeGrip__ -#define __org_kde_qt_QSizeGrip__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSizeGrip_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSizeGrip_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizeGrip_newTQSizeGrip__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizeGrip_newTQSizeGrip__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSizeGrip_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSizeGrip_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSizeGrip_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizeGrip_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizeGrip_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizeGrip_mouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSizeGrip_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizeGrip_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizeGrip_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSizeGrip_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QSizeGrip__ */ diff --git a/qtjava/javalib/qtjava/QSizePolicy.cpp b/qtjava/javalib/qtjava/QSizePolicy.cpp deleted file mode 100644 index 003527bf..00000000 --- a/qtjava/javalib/qtjava/QSizePolicy.cpp +++ /dev/null @@ -1,216 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - -class TQSizePolicyJBridge : public TQSizePolicy -{ -public: - TQSizePolicyJBridge() : TQSizePolicy() {}; - TQSizePolicyJBridge(TQSizePolicy::SizeType arg1,TQSizePolicy::SizeType arg2,bool arg3) : TQSizePolicy(arg1,arg2,arg3) {}; - TQSizePolicyJBridge(TQSizePolicy::SizeType arg1,TQSizePolicy::SizeType arg2) : TQSizePolicy(arg1,arg2) {}; - TQSizePolicyJBridge(TQSizePolicy::SizeType arg1,TQSizePolicy::SizeType arg2,uchar arg3,uchar arg4,bool arg5) : TQSizePolicy(arg1,arg2,arg3,arg4,arg5) {}; - TQSizePolicyJBridge(TQSizePolicy::SizeType arg1,TQSizePolicy::SizeType arg2,uchar arg3,uchar arg4) : TQSizePolicy(arg1,arg2,arg3,arg4) {}; - ~TQSizePolicyJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSizePolicy_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QSizePolicy_finalize(env, obj); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSizePolicy_expanding(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSizePolicy*) QtSupport::getQt(env, obj))->expanding(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSizePolicy_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQSizePolicy*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSizePolicy_hasHeightForWidth(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSizePolicy*) QtSupport::getQt(env, obj))->hasHeightForWidth(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSizePolicy_horData(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSizePolicy*) QtSupport::getQt(env, obj))->horData(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSizePolicy_horStretch(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSizePolicy*) QtSupport::getQt(env, obj))->horStretch(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSizePolicy_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSizePolicy_mayGrowHorizontally(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSizePolicy*) QtSupport::getQt(env, obj))->mayGrowHorizontally(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSizePolicy_mayGrowVertically(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSizePolicy*) QtSupport::getQt(env, obj))->mayGrowVertically(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSizePolicy_mayShrinkHorizontally(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSizePolicy*) QtSupport::getQt(env, obj))->mayShrinkHorizontally(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSizePolicy_mayShrinkVertically(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSizePolicy*) QtSupport::getQt(env, obj))->mayShrinkVertically(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSizePolicy_newTQSizePolicy__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSizePolicyJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSizePolicy_newTQSizePolicy__II(JNIEnv* env, jobject obj, jint hor, jint ver) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSizePolicyJBridge((TQSizePolicy::SizeType) hor, (TQSizePolicy::SizeType) ver)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSizePolicy_newTQSizePolicy__IISS(JNIEnv* env, jobject obj, jint hor, jint ver, jshort hors, jshort vers) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSizePolicyJBridge((TQSizePolicy::SizeType) hor, (TQSizePolicy::SizeType) ver, (uchar) hors, (uchar) vers)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSizePolicy_newTQSizePolicy__IISSZ(JNIEnv* env, jobject obj, jint hor, jint ver, jshort hors, jshort vers, jboolean hfw) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSizePolicyJBridge((TQSizePolicy::SizeType) hor, (TQSizePolicy::SizeType) ver, (uchar) hors, (uchar) vers, (bool) hfw)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSizePolicy_newTQSizePolicy__IIZ(JNIEnv* env, jobject obj, jint hor, jint ver, jboolean hfw) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSizePolicyJBridge((TQSizePolicy::SizeType) hor, (TQSizePolicy::SizeType) ver, (bool) hfw)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSizePolicy_op_1equals(JNIEnv* env, jobject obj, jobject s) -{ - jboolean xret = (jboolean) ((TQSizePolicy*) QtSupport::getQt(env, obj))->operator==((const TQSizePolicy&)*(const TQSizePolicy*) QtSupport::getQt(env, s)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSizePolicy_op_1not_1equals(JNIEnv* env, jobject obj, jobject s) -{ - jboolean xret = (jboolean) ((TQSizePolicy*) QtSupport::getQt(env, obj))->operator!=((const TQSizePolicy&)*(const TQSizePolicy*) QtSupport::getQt(env, s)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSizePolicy_setHeightForWidth(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQSizePolicy*) QtSupport::getQt(env, obj))->setHeightForWidth((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSizePolicy_setHorData(JNIEnv* env, jobject obj, jint d) -{ - ((TQSizePolicy*) QtSupport::getQt(env, obj))->setHorData((TQSizePolicy::SizeType) d); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSizePolicy_setHorStretch(JNIEnv* env, jobject obj, jshort sf) -{ - ((TQSizePolicy*) QtSupport::getQt(env, obj))->setHorStretch((uchar) sf); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSizePolicy_setVerData(JNIEnv* env, jobject obj, jint d) -{ - ((TQSizePolicy*) QtSupport::getQt(env, obj))->setVerData((TQSizePolicy::SizeType) d); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSizePolicy_setVerStretch(JNIEnv* env, jobject obj, jshort sf) -{ - ((TQSizePolicy*) QtSupport::getQt(env, obj))->setVerStretch((uchar) sf); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSizePolicy_transpose(JNIEnv* env, jobject obj) -{ - ((TQSizePolicy*) QtSupport::getQt(env, obj))->transpose(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSizePolicy_verData(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSizePolicy*) QtSupport::getQt(env, obj))->verData(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSizePolicy_verStretch(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSizePolicy*) QtSupport::getQt(env, obj))->verStretch(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QSizePolicy.h b/qtjava/javalib/qtjava/QSizePolicy.h deleted file mode 100644 index 07e346e5..00000000 --- a/qtjava/javalib/qtjava/QSizePolicy.h +++ /dev/null @@ -1,44 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QSizePolicy__ -#define __org_kde_qt_QSizePolicy__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizePolicy_newTQSizePolicy__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizePolicy_newTQSizePolicy__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizePolicy_newTQSizePolicy__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizePolicy_newTQSizePolicy__IISSZ (JNIEnv *env, jobject, jint, jint, jshort, jshort, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizePolicy_newTQSizePolicy__IISS (JNIEnv *env, jobject, jint, jint, jshort, jshort); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSizePolicy_horData (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSizePolicy_verData (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSizePolicy_mayShrinkHorizontally (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSizePolicy_mayShrinkVertically (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSizePolicy_mayGrowHorizontally (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSizePolicy_mayGrowVertically (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSizePolicy_expanding (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizePolicy_setHorData (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizePolicy_setVerData (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizePolicy_setHeightForWidth (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSizePolicy_hasHeightForWidth (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSizePolicy_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSizePolicy_op_1not_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSizePolicy_horStretch (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSizePolicy_verStretch (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizePolicy_setHorStretch (JNIEnv *env, jobject, jshort); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizePolicy_setVerStretch (JNIEnv *env, jobject, jshort); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizePolicy_transpose (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizePolicy_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizePolicy_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSizePolicy_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QSizePolicy__ */ diff --git a/qtjava/javalib/qtjava/QSjisCodec.cpp b/qtjava/javalib/qtjava/QSjisCodec.cpp deleted file mode 100644 index 90cb47fd..00000000 --- a/qtjava/javalib/qtjava/QSjisCodec.cpp +++ /dev/null @@ -1,114 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQSjisCodecJBridge : public TQSjisCodec -{ -public: - TQSjisCodecJBridge() : TQSjisCodec() {}; - ~TQSjisCodecJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSjisCodec_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QSjisCodec_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSjisCodec_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQSjisCodec*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSjisCodec_fromUnicode(JNIEnv* env, jobject obj, jstring uc, jintArray lenInOut) -{ - TQCString _qstring; -static TQString* _qstring_uc = 0; - int* _int_lenInOut = QtSupport::toIntPtr(env, lenInOut); - _qstring = ((TQSjisCodec*) QtSupport::getQt(env, obj))->fromUnicode((const TQString&)*(TQString*) QtSupport::toTQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); - env->SetIntArrayRegion(lenInOut, 0, 1, (jint *) _int_lenInOut); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSjisCodec_heuristicContentMatch(JNIEnv* env, jobject obj, jstring chars, jint len) -{ -static TQCString* _qstring_chars = 0; - jint xret = (jint) ((TQSjisCodec*) QtSupport::getQt(env, obj))->heuristicContentMatch((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSjisCodec_heuristicNameMatch(JNIEnv* env, jobject obj, jstring hint) -{ -static TQCString* _qstring_hint = 0; - jint xret = (jint) ((TQSjisCodec*) QtSupport::getQt(env, obj))->heuristicNameMatch((const char*) QtSupport::toCharString(env, hint, &_qstring_hint)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSjisCodec_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSjisCodec_makeDecoder(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSjisCodec*) QtSupport::getQt(env, obj))->makeDecoder(), "org.kde.qt.TQTextDecoder"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSjisCodec_mibEnum(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSjisCodec*) QtSupport::getQt(env, obj))->mibEnum(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSjisCodec_mimeName(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQSjisCodec*) QtSupport::getQt(env, obj))->mimeName(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSjisCodec_name(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQSjisCodec*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSjisCodec_newTQSjisCodec(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSjisCodecJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSjisCodec_toUnicode(JNIEnv* env, jobject obj, jstring chars, jint len) -{ - TQString _qstring; -static TQCString* _qstring_chars = 0; - _qstring = ((TQSjisCodec*) QtSupport::getQt(env, obj))->toUnicode((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QSjisCodec.h b/qtjava/javalib/qtjava/QSjisCodec.h deleted file mode 100644 index 660086c9..00000000 --- a/qtjava/javalib/qtjava/QSjisCodec.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QSjisCodec__ -#define __org_kde_qt_QSjisCodec__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSjisCodec_mibEnum (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSjisCodec_name (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSjisCodec_mimeName (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSjisCodec_makeDecoder (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSjisCodec_fromUnicode (JNIEnv *env, jobject, jstring, jintArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSjisCodec_toUnicode (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSjisCodec_heuristicContentMatch (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSjisCodec_heuristicNameMatch (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSjisCodec_newTQSjisCodec (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSjisCodec_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSjisCodec_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSjisCodec_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QSjisCodec__ */ diff --git a/qtjava/javalib/qtjava/QSlider.cpp b/qtjava/javalib/qtjava/QSlider.cpp deleted file mode 100644 index cacc99ec..00000000 --- a/qtjava/javalib/qtjava/QSlider.cpp +++ /dev/null @@ -1,936 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQSliderJBridge : public TQSlider -{ -public: - TQSliderJBridge(TQWidget* arg1,const char* arg2) : TQSlider(arg1,arg2) {}; - TQSliderJBridge(TQWidget* arg1) : TQSlider(arg1) {}; - TQSliderJBridge(TQt::Orientation arg1,TQWidget* arg2,const char* arg3) : TQSlider(arg1,arg2,arg3) {}; - TQSliderJBridge(TQt::Orientation arg1,TQWidget* arg2) : TQSlider(arg1,arg2) {}; - TQSliderJBridge(int arg1,int arg2,int arg3,int arg4,TQt::Orientation arg5,TQWidget* arg6,const char* arg7) : TQSlider(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TQSliderJBridge(int arg1,int arg2,int arg3,int arg4,TQt::Orientation arg5,TQWidget* arg6) : TQSlider(arg1,arg2,arg3,arg4,arg5,arg6) {}; - void protected_resizeEvent(TQResizeEvent* arg1) { - TQSlider::resizeEvent(arg1); - return; - } - void protected_paintEvent(TQPaintEvent* arg1) { - TQSlider::paintEvent(arg1); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQSlider::keyPressEvent(arg1); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TQSlider::mousePressEvent(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - TQSlider::mouseReleaseEvent(arg1); - return; - } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - TQSlider::mouseMoveEvent(arg1); - return; - } - void protected_wheelEvent(TQWheelEvent* arg1) { - TQSlider::wheelEvent(arg1); - return; - } - void protected_focusInEvent(TQFocusEvent* arg1) { - TQSlider::focusInEvent(arg1); - return; - } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TQSlider::focusOutEvent(arg1); - return; - } - void protected_styleChange(TQStyle& arg1) { - TQSlider::styleChange(arg1); - return; - } - void protected_valueChange() { - TQSlider::valueChange(); - return; - } - void protected_rangeChange() { - TQSlider::rangeChange(); - return; - } - ~TQSliderJBridge() {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_stepChange() { - TQRangeControl::stepChange(); - 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")) { - TQSlider::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.qt.TQSlider","stepChange")) { - TQRangeControl::stepChange(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSlider","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.qt.TQSlider","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQSlider::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSlider","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.qt.TQSlider","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")) { - TQSlider::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 paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQSlider::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.qt.TQSlider","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.qt.TQSlider","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSlider","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")) { - TQSlider::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")) { - TQSlider::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.qt.TQSlider","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSlider","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")) { - TQSlider::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQSlider::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.qt.TQSlider","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQSlider::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")) { - TQSlider::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.qt.TQSlider",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.qt.TQSlider","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_addLine(JNIEnv* env, jobject obj) -{ - ((TQSlider*) QtSupport::getQt(env, obj))->addLine(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_addPage(JNIEnv* env, jobject obj) -{ - ((TQRangeControl*)(TQSlider*) QtSupport::getQt(env, obj))->addPage(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_addStep(JNIEnv* env, jobject obj) -{ - ((TQSlider*) QtSupport::getQt(env, obj))->addStep(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSlider_bound(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQRangeControl*)(TQSlider*) QtSupport::getQt(env, obj))->bound((int) arg1); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSlider_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQSlider*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_directSetValue(JNIEnv* env, jobject obj, jint val) -{ - ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_directSetValue((int) val); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QSlider_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQSlider*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQSlider*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_focusInEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_focusOutEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSlider_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSlider_lineStep(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSlider*) QtSupport::getQt(env, obj))->lineStep(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSlider_maxValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSlider*) QtSupport::getQt(env, obj))->maxValue(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSlider_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSlider*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSlider_minValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSlider*) QtSupport::getQt(env, obj))->minValue(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSlider_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQSlider*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_newTQSlider__IIIIILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint minValue, jint maxValue, jint pageStep, jint value, jint arg5, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSliderJBridge((int) minValue, (int) maxValue, (int) pageStep, (int) value, (TQt::Orientation) arg5, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_newTQSlider__IIIIILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint minValue, jint maxValue, jint pageStep, jint value, jint arg5, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSliderJBridge((int) minValue, (int) maxValue, (int) pageStep, (int) value, (TQt::Orientation) arg5, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_newTQSlider__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint arg1, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSliderJBridge((TQt::Orientation) arg1, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_newTQSlider__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint arg1, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSliderJBridge((TQt::Orientation) arg1, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_newTQSlider__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSliderJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_newTQSlider__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 TQSliderJBridge((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_qt_QSlider_orientation(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSlider*) QtSupport::getQt(env, obj))->orientation(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSlider_pageStep(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSlider*) QtSupport::getQt(env, obj))->pageStep(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_paintEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSlider_positionFromValue(JNIEnv* env, jobject obj, jint val, jint space) -{ - jint xret = (jint) ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_positionFromValue((int) val, (int) space); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSlider_prevValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_prevValue(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_rangeChange(JNIEnv* env, jobject obj) -{ - ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_rangeChange(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_setLineStep(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQSlider*) QtSupport::getQt(env, obj))->setLineStep((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_setMaxValue(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQSlider*) QtSupport::getQt(env, obj))->setMaxValue((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_setMinValue(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQSlider*) QtSupport::getQt(env, obj))->setMinValue((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_setOrientation(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQSlider*) QtSupport::getQt(env, obj))->setOrientation((TQt::Orientation) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_setPageStep(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQSlider*) QtSupport::getQt(env, obj))->setPageStep((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_setPalette(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQSlider*) QtSupport::getQt(env, obj))->setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_setRange(JNIEnv* env, jobject obj, jint minValue, jint maxValue) -{ - ((TQRangeControl*)(TQSlider*) QtSupport::getQt(env, obj))->setRange((int) minValue, (int) maxValue); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_setSizePolicy__II(JNIEnv* env, jobject obj, jint hor, jint ver) -{ - ((TQSlider*) QtSupport::getQt(env, obj))->setSizePolicy((TQSizePolicy::SizeType) hor, (TQSizePolicy::SizeType) ver); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_setSizePolicy__IIZ(JNIEnv* env, jobject obj, jint hor, jint ver, jboolean hfw) -{ - ((TQSlider*) QtSupport::getQt(env, obj))->setSizePolicy((TQSizePolicy::SizeType) hor, (TQSizePolicy::SizeType) ver, (bool) hfw); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_setSizePolicy__Lorg_kde_qt_QSizePolicy_2(JNIEnv* env, jobject obj, jobject sp) -{ - ((TQSlider*) QtSupport::getQt(env, obj))->setSizePolicy((TQSizePolicy)*(TQSizePolicy*) QtSupport::getQt(env, sp)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_setSteps(JNIEnv* env, jobject obj, jint line, jint page) -{ - ((TQRangeControl*)(TQSlider*) QtSupport::getQt(env, obj))->setSteps((int) line, (int) page); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_setTickInterval(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQSlider*) QtSupport::getQt(env, obj))->setTickInterval((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_setTickmarks(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQSlider*) QtSupport::getQt(env, obj))->setTickmarks((TQSlider::TickSetting) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_setTracking(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQSlider*) QtSupport::getQt(env, obj))->setTracking((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_setValue(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQSlider*) QtSupport::getQt(env, obj))->setValue((int) arg1); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSlider_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQSlider*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSlider_sizePolicy(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSizePolicy(((TQSlider*) QtSupport::getQt(env, obj))->sizePolicy()), "org.kde.qt.TQSizePolicy", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSlider_sliderRect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQSlider*) QtSupport::getQt(env, obj))->sliderRect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSlider_sliderStart(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSlider*) QtSupport::getQt(env, obj))->sliderStart(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_stepChange(JNIEnv* env, jobject obj) -{ - ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_stepChange(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_styleChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_subtractLine(JNIEnv* env, jobject obj) -{ - ((TQSlider*) QtSupport::getQt(env, obj))->subtractLine(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_subtractPage(JNIEnv* env, jobject obj) -{ - ((TQRangeControl*)(TQSlider*) QtSupport::getQt(env, obj))->subtractPage(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_subtractStep(JNIEnv* env, jobject obj) -{ - ((TQSlider*) QtSupport::getQt(env, obj))->subtractStep(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSlider_tickInterval(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSlider*) QtSupport::getQt(env, obj))->tickInterval(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSlider_tickmarks(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSlider*) QtSupport::getQt(env, obj))->tickmarks(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSlider_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQSliderJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSlider_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQSliderJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSlider_tracking(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSlider*) QtSupport::getQt(env, obj))->tracking(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_valueChange(JNIEnv* env, jobject obj) -{ - ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_valueChange(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSlider_valueFromPosition(JNIEnv* env, jobject obj, jint pos, jint space) -{ - jint xret = (jint) ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_valueFromPosition((int) pos, (int) space); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSlider_value(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSlider*) QtSupport::getQt(env, obj))->value(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_wheelEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); - return; -} - diff --git a/qtjava/javalib/qtjava/QSlider.h b/qtjava/javalib/qtjava/QSlider.h deleted file mode 100644 index 193a0060..00000000 --- a/qtjava/javalib/qtjava/QSlider.h +++ /dev/null @@ -1,84 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QSlider__ -#define __org_kde_qt_QSlider__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSlider_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSlider_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_newTQSlider__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_newTQSlider__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_newTQSlider__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_newTQSlider__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_newTQSlider__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_qt_QSlider_newTQSlider__IIIIILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_setOrientation (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSlider_orientation (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_setTracking (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSlider_tracking (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_setPalette (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSlider_sliderStart (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSlider_sliderRect (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSlider_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_setSizePolicy__Lorg_kde_qt_QSizePolicy_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_setSizePolicy__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_setSizePolicy__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSlider_sizePolicy (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSlider_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_setTickmarks (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSlider_tickmarks (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_setTickInterval (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSlider_tickInterval (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSlider_minValue (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSlider_maxValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_setMinValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_setMaxValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSlider_lineStep (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSlider_pageStep (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_setLineStep (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_setPageStep (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSlider_value (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_setValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_addStep (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_subtractStep (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_addLine (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_subtractLine (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSlider_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSlider_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_mouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_wheelEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_focusInEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_focusOutEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_styleChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_valueChange (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_rangeChange (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSlider_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_addPage (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_subtractPage (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_setRange (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_setSteps (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSlider_bound (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSlider_positionFromValue (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSlider_valueFromPosition (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_directSetValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSlider_prevValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_stepChange (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QSlider__ */ diff --git a/qtjava/javalib/qtjava/QSocket.cpp b/qtjava/javalib/qtjava/QSocket.cpp deleted file mode 100644 index 96274858..00000000 --- a/qtjava/javalib/qtjava/QSocket.cpp +++ /dev/null @@ -1,631 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQSocketJBridge : public TQSocket -{ -public: - TQSocketJBridge(TQObject* arg1,const char* arg2) : TQSocket(arg1,arg2) {}; - TQSocketJBridge(TQObject* arg1) : TQSocket(arg1) {}; - TQSocketJBridge() : TQSocket() {}; - void protected_sn_read(bool arg1) { - TQSocket::sn_read(arg1); - return; - } - void protected_sn_read() { - TQSocket::sn_read(); - return; - } - void protected_sn_write() { - TQSocket::sn_write(); - return; - } - ~TQSocketJBridge() {QtSupport::qtKeyDeleted(this);} - void protected_setFlags(int arg1) { - TQIODevice::setFlags(arg1); - return; - } - void protected_setType(int arg1) { - TQIODevice::setType(arg1); - return; - } - void protected_setMode(int arg1) { - TQIODevice::setMode(arg1); - return; - } - void protected_setState(int arg1) { - TQIODevice::setState(arg1); - return; - } - void protected_setStatus(int arg1) { - TQIODevice::setStatus(arg1); - return; - } - void setSocketDevice(TQSocketDevice* arg1) { - if (!QtSupport::eventDelegate(this,"setSocketDevice",(void*)arg1,"org.kde.qt.TQSocketDevice")) { - TQSocket::setSocketDevice(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void sn_write() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSocket","sn_write")) { - TQSocket::sn_write(); - } - 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.qt.TQSocket",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSocket_address(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQHostAddress(((TQSocket*) QtSupport::getQt(env, obj))->address()), "org.kde.qt.TQHostAddress", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocket_atEnd(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSocket*) QtSupport::getQt(env, obj))->atEnd(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QSocket_at__(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((TQSocket*) QtSupport::getQt(env, obj))->at(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocket_at__J(JNIEnv* env, jobject obj, jlong arg1) -{ - jboolean xret = (jboolean) ((TQSocket*) QtSupport::getQt(env, obj))->at((TQIODevice::Offset) arg1); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QSocket_bytesAvailable(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((TQSocket*) QtSupport::getQt(env, obj))->bytesAvailable(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QSocket_bytesToWrite(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((TQSocket*) QtSupport::getQt(env, obj))->bytesToWrite(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocket_canReadLine(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSocket*) QtSupport::getQt(env, obj))->canReadLine(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSocket_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQSocket*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_clearPendingData(JNIEnv* env, jobject obj) -{ - ((TQSocket*) QtSupport::getQt(env, obj))->clearPendingData(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_close(JNIEnv* env, jobject obj) -{ - ((TQSocket*) QtSupport::getQt(env, obj))->close(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_connectToHost(JNIEnv* env, jobject obj, jstring host, jshort port) -{ -static TQString* _qstring_host = 0; - ((TQSocket*) QtSupport::getQt(env, obj))->connectToHost((const TQString&)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host), (Q_UINT16) port); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QSocket_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQSocket*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQSocket*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSocket_flags(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->flags(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_flush(JNIEnv* env, jobject obj) -{ - ((TQSocket*) QtSupport::getQt(env, obj))->flush(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSocket_getch(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSocket*) QtSupport::getQt(env, obj))->getch(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocket_isAsynchronous(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isAsynchronous(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocket_isBuffered(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isBuffered(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocket_isCombinedAccess(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isCombinedAccess(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocket_isDirectAccess(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isDirectAccess(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocket_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocket_isInactive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isInactive(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocket_isOpen(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isOpen(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocket_isRaw(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isRaw(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocket_isReadWrite(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isReadWrite(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocket_isReadable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isReadable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocket_isSequentialAccess(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isSequentialAccess(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocket_isSynchronous(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isSynchronous(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocket_isTranslated(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isTranslated(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocket_isWritable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isWritable(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSocket_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSocket*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSocket_mode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->mode(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_newTQSocket__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSocketJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_newTQSocket__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSocketJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_newTQSocket__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 TQSocketJBridge((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_qt_QSocket_open(JNIEnv* env, jobject obj, jint mode) -{ - jboolean xret = (jboolean) ((TQSocket*) QtSupport::getQt(env, obj))->open((int) mode); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSocket_peerAddress(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQHostAddress(((TQSocket*) QtSupport::getQt(env, obj))->peerAddress()), "org.kde.qt.TQHostAddress", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSocket_peerName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQSocket*) QtSupport::getQt(env, obj))->peerName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jshort JNICALL -Java_org_kde_qt_QSocket_peerPort(JNIEnv* env, jobject obj) -{ - jshort xret = (jshort) ((TQSocket*) QtSupport::getQt(env, obj))->peerPort(); - return xret; -} - -JNIEXPORT jshort JNICALL -Java_org_kde_qt_QSocket_port(JNIEnv* env, jobject obj) -{ - jshort xret = (jshort) ((TQSocket*) QtSupport::getQt(env, obj))->port(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSocket_putch(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQSocket*) QtSupport::getQt(env, obj))->putch((int) arg1); - return xret; -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_qt_QSocket_readAll(JNIEnv* env, jobject obj) -{ - TQByteArray _qbyteArray; - _qbyteArray = ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->readAll(); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QSocket_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) ((TQSocket*) QtSupport::getQt(env, obj))->readBlock((char*) _qstring_data->data(), (Q_ULONG) maxlen); - QtSupport::fromTQCStringToStringBuffer(env, _qstring_data, data); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QSocket_readBufferSize(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((TQSocket*) QtSupport::getQt(env, obj))->readBufferSize(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSocket_readLine__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQSocket*) QtSupport::getQt(env, obj))->readLine(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QSocket_readLine__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring data, jlong maxlen) -{ -static TQCString* _qstring_data = 0; - jlong xret = (jlong) ((TQSocket*) QtSupport::getQt(env, obj))->readLine((char*) QtSupport::toCharString(env, data, &_qstring_data), (Q_ULONG) maxlen); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_resetStatus(JNIEnv* env, jobject obj) -{ - ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->resetStatus(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocket_reset(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->reset(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_setFlags(JNIEnv* env, jobject obj, jint f) -{ - ((TQSocketJBridge*) QtSupport::getQt(env, obj))->protected_setFlags((int) f); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_setMode(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQSocketJBridge*) QtSupport::getQt(env, obj))->protected_setMode((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_setReadBufferSize(JNIEnv* env, jobject obj, jlong arg1) -{ - ((TQSocket*) QtSupport::getQt(env, obj))->setReadBufferSize((Q_ULONG) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_setSocketDevice(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQSocket*) QtSupport::getQt(env, obj))->setSocketDevice((TQSocketDevice*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_setSocket(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQSocket*) QtSupport::getQt(env, obj))->setSocket((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_setState(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQSocketJBridge*) QtSupport::getQt(env, obj))->protected_setState((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_setStatus(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQSocketJBridge*) QtSupport::getQt(env, obj))->protected_setStatus((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_setType(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQSocketJBridge*) QtSupport::getQt(env, obj))->protected_setType((int) arg1); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QSocket_size(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((TQSocket*) QtSupport::getQt(env, obj))->size(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_sn_1read__(JNIEnv* env, jobject obj) -{ - ((TQSocketJBridge*) QtSupport::getQt(env, obj))->protected_sn_read(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_sn_1read__Z(JNIEnv* env, jobject obj, jboolean force) -{ - ((TQSocketJBridge*) QtSupport::getQt(env, obj))->protected_sn_read((bool) force); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_sn_1write(JNIEnv* env, jobject obj) -{ - ((TQSocketJBridge*) QtSupport::getQt(env, obj))->protected_sn_write(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSocket_socketDevice(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSocket*) QtSupport::getQt(env, obj))->socketDevice(), "org.kde.qt.TQSocketDevice"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSocket_socket(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSocket*) QtSupport::getQt(env, obj))->socket(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSocket_state(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSocket*) QtSupport::getQt(env, obj))->state(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSocket_status(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->status(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSocket_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQSocketJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSocket_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQSocketJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSocket_ungetch(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQSocket*) QtSupport::getQt(env, obj))->ungetch((int) arg1); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QSocket_waitForMore__I(JNIEnv* env, jobject obj, jint msecs) -{ - jlong xret = (jlong) ((TQSocket*) QtSupport::getQt(env, obj))->waitForMore((int) msecs); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QSocket_waitForMore__I_3Z(JNIEnv* env, jobject obj, jint msecs, jbooleanArray timeout) -{ - bool* _bool_timeout = QtSupport::toBooleanPtr(env, timeout); - jlong xret = (jlong) ((TQSocket*) QtSupport::getQt(env, obj))->waitForMore((int) msecs, (bool*) _bool_timeout); - env->SetBooleanArrayRegion(timeout, 0, 1, (jboolean*) _bool_timeout); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QSocket_writeBlock__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring data, jlong len) -{ -static TQCString* _qstring_data = 0; - jlong xret = (jlong) ((TQSocket*) QtSupport::getQt(env, obj))->writeBlock((const char*) QtSupport::toCharString(env, data, &_qstring_data), (Q_ULONG) len); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QSocket_writeBlock___3B(JNIEnv* env, jobject obj, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - jlong xret = (jlong) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->writeBlock((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QSocket.h b/qtjava/javalib/qtjava/QSocket.h deleted file mode 100644 index d7cbad9f..00000000 --- a/qtjava/javalib/qtjava/QSocket.h +++ /dev/null @@ -1,89 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QSocket__ -#define __org_kde_qt_QSocket__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSocket_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSocket_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_newTQSocket__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_newTQSocket__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_newTQSocket__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocket_state (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocket_socket (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_setSocket (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSocket_socketDevice (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_setSocketDevice (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_connectToHost (JNIEnv *env, jobject, jstring, jshort); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSocket_peerName (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_open (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_close (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_flush (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocket_size (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocket_at__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_at__J (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_atEnd (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocket_bytesAvailable (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocket_waitForMore__I_3Z (JNIEnv *env, jobject, jint, jbooleanArray); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocket_waitForMore__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocket_bytesToWrite (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_clearPendingData (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocket_readBlock (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocket_writeBlock__Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocket_readLine__Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jlong); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocket_getch (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocket_putch (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocket_ungetch (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_canReadLine (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSocket_readLine__ (JNIEnv *env, jobject); -extern JNIEXPORT jshort JNICALL Java_org_kde_qt_QSocket_port (JNIEnv *env, jobject); -extern JNIEXPORT jshort JNICALL Java_org_kde_qt_QSocket_peerPort (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSocket_address (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSocket_peerAddress (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_setReadBufferSize (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocket_readBufferSize (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSocket_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSocket_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_sn_1read__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_sn_1read__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_sn_1write (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocket_flags (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocket_mode (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_isDirectAccess (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_isSequentialAccess (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_isCombinedAccess (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_isBuffered (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_isRaw (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_isSynchronous (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_isAsynchronous (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_isTranslated (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_isReadable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_isWritable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_isReadWrite (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_isInactive (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_isOpen (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocket_status (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_resetStatus (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_reset (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocket_writeBlock___3B (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QSocket_readAll (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_setFlags (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_setType (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_setMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_setState (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_setStatus (JNIEnv *env, jobject, jint); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QSocket__ */ diff --git a/qtjava/javalib/qtjava/QSocketDevice.cpp b/qtjava/javalib/qtjava/QSocketDevice.cpp deleted file mode 100644 index 8fecb9ea..00000000 --- a/qtjava/javalib/qtjava/QSocketDevice.cpp +++ /dev/null @@ -1,367 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -class TQSocketDeviceJBridge : public TQSocketDevice -{ -public: - TQSocketDeviceJBridge(TQSocketDevice::Type arg1) : TQSocketDevice(arg1) {}; - TQSocketDeviceJBridge() : TQSocketDevice() {}; - TQSocketDeviceJBridge(TQSocketDevice::Type arg1,TQSocketDevice::Protocol arg2,int arg3) : TQSocketDevice(arg1,arg2,arg3) {}; - TQSocketDeviceJBridge(int arg1,TQSocketDevice::Type arg2) : TQSocketDevice(arg1,arg2) {}; - void protected_setError(TQSocketDevice::Error arg1) { - TQSocketDevice::setError(arg1); - return; - } - ~TQSocketDeviceJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSocketDevice_accept(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSocketDevice*) QtSupport::getQt(env, obj))->accept(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocketDevice_addressReusable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSocketDevice*) QtSupport::getQt(env, obj))->addressReusable(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSocketDevice_address(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQHostAddress(((TQSocketDevice*) QtSupport::getQt(env, obj))->address()), "org.kde.qt.TQHostAddress", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocketDevice_atEnd(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSocketDevice*) QtSupport::getQt(env, obj))->atEnd(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QSocketDevice_at__(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((TQSocketDevice*) QtSupport::getQt(env, obj))->at(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocketDevice_at__J(JNIEnv* env, jobject obj, jlong arg1) -{ - jboolean xret = (jboolean) ((TQSocketDevice*) QtSupport::getQt(env, obj))->at((TQIODevice::Offset) arg1); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocketDevice_bind(JNIEnv* env, jobject obj, jobject arg1, jshort arg2) -{ - jboolean xret = (jboolean) ((TQSocketDevice*) QtSupport::getQt(env, obj))->bind((const TQHostAddress&)*(const TQHostAddress*) QtSupport::getQt(env, arg1), (Q_UINT16) arg2); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocketDevice_blocking(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSocketDevice*) QtSupport::getQt(env, obj))->blocking(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QSocketDevice_bytesAvailable(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((TQSocketDevice*) QtSupport::getQt(env, obj))->bytesAvailable(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocketDevice_close(JNIEnv* env, jobject obj) -{ - ((TQSocketDevice*) QtSupport::getQt(env, obj))->close(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocketDevice_connect(JNIEnv* env, jobject obj, jobject arg1, jshort arg2) -{ - jboolean xret = (jboolean) ((TQSocketDevice*) QtSupport::getQt(env, obj))->connect((const TQHostAddress&)*(const TQHostAddress*) QtSupport::getQt(env, arg1), (Q_UINT16) arg2); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocketDevice_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QSocketDevice_finalize(env, obj); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSocketDevice_error(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSocketDevice*) QtSupport::getQt(env, obj))->error(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocketDevice_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQSocketDevice*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocketDevice_flush(JNIEnv* env, jobject obj) -{ - ((TQSocketDevice*) QtSupport::getQt(env, obj))->flush(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSocketDevice_getch(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSocketDevice*) QtSupport::getQt(env, obj))->getch(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocketDevice_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocketDevice_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSocketDevice*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocketDevice_listen(JNIEnv* env, jobject obj, jint backlog) -{ - jboolean xret = (jboolean) ((TQSocketDevice*) QtSupport::getQt(env, obj))->listen((int) backlog); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocketDevice_newTQSocketDevice__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSocketDeviceJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocketDevice_newTQSocketDevice__I(JNIEnv* env, jobject obj, jint type) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSocketDeviceJBridge((TQSocketDevice::Type) type)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocketDevice_newTQSocketDevice__II(JNIEnv* env, jobject obj, jint socket, jint type) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSocketDeviceJBridge((int) socket, (TQSocketDevice::Type) type)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocketDevice_newTQSocketDevice__III(JNIEnv* env, jobject obj, jint type, jint protocol, jint dummy) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSocketDeviceJBridge((TQSocketDevice::Type) type, (TQSocketDevice::Protocol) protocol, (int) dummy)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocketDevice_open(JNIEnv* env, jobject obj, jint mode) -{ - jboolean xret = (jboolean) ((TQSocketDevice*) QtSupport::getQt(env, obj))->open((int) mode); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSocketDevice_peerAddress(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQHostAddress(((TQSocketDevice*) QtSupport::getQt(env, obj))->peerAddress()), "org.kde.qt.TQHostAddress", TRUE); - return xret; -} - -JNIEXPORT jshort JNICALL -Java_org_kde_qt_QSocketDevice_peerPort(JNIEnv* env, jobject obj) -{ - jshort xret = (jshort) ((TQSocketDevice*) QtSupport::getQt(env, obj))->peerPort(); - return xret; -} - -JNIEXPORT jshort JNICALL -Java_org_kde_qt_QSocketDevice_port(JNIEnv* env, jobject obj) -{ - jshort xret = (jshort) ((TQSocketDevice*) QtSupport::getQt(env, obj))->port(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSocketDevice_protocol(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSocketDevice*) QtSupport::getQt(env, obj))->protocol(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSocketDevice_putch(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQSocketDevice*) QtSupport::getQt(env, obj))->putch((int) arg1); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QSocketDevice_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) ((TQSocketDevice*) QtSupport::getQt(env, obj))->readBlock((char*) _qstring_data->data(), (Q_ULONG) maxlen); - QtSupport::fromTQCStringToStringBuffer(env, _qstring_data, data); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSocketDevice_receiveBufferSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSocketDevice*) QtSupport::getQt(env, obj))->receiveBufferSize(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSocketDevice_sendBufferSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSocketDevice*) QtSupport::getQt(env, obj))->sendBufferSize(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocketDevice_setAddressReusable(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQSocketDevice*) QtSupport::getQt(env, obj))->setAddressReusable((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocketDevice_setBlocking(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQSocketDevice*) QtSupport::getQt(env, obj))->setBlocking((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocketDevice_setError(JNIEnv* env, jobject obj, jint err) -{ - ((TQSocketDeviceJBridge*) QtSupport::getQt(env, obj))->protected_setError((TQSocketDevice::Error) err); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocketDevice_setReceiveBufferSize(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQSocketDevice*) QtSupport::getQt(env, obj))->setReceiveBufferSize((uint) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocketDevice_setSendBufferSize(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQSocketDevice*) QtSupport::getQt(env, obj))->setSendBufferSize((uint) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocketDevice_setSocket(JNIEnv* env, jobject obj, jint socket, jint type) -{ - ((TQSocketDevice*) QtSupport::getQt(env, obj))->setSocket((int) socket, (TQSocketDevice::Type) type); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QSocketDevice_size(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((TQSocketDevice*) QtSupport::getQt(env, obj))->size(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSocketDevice_socket(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSocketDevice*) QtSupport::getQt(env, obj))->socket(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSocketDevice_type(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSocketDevice*) QtSupport::getQt(env, obj))->type(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSocketDevice_ungetch(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQSocketDevice*) QtSupport::getQt(env, obj))->ungetch((int) arg1); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QSocketDevice_waitForMore__I(JNIEnv* env, jobject obj, jint msecs) -{ - jlong xret = (jlong) ((TQSocketDevice*) QtSupport::getQt(env, obj))->waitForMore((int) msecs); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QSocketDevice_waitForMore__I_3Z(JNIEnv* env, jobject obj, jint msecs, jbooleanArray timeout) -{ - bool* _bool_timeout = QtSupport::toBooleanPtr(env, timeout); - jlong xret = (jlong) ((TQSocketDevice*) QtSupport::getQt(env, obj))->waitForMore((int) msecs, (bool*) _bool_timeout); - env->SetBooleanArrayRegion(timeout, 0, 1, (jboolean*) _bool_timeout); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QSocketDevice_writeBlock__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring data, jlong len) -{ -static TQCString* _qstring_data = 0; - jlong xret = (jlong) ((TQSocketDevice*) QtSupport::getQt(env, obj))->writeBlock((const char*) QtSupport::toCharString(env, data, &_qstring_data), (Q_ULONG) len); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QSocketDevice_writeBlock__Ljava_lang_String_2JLorg_kde_qt_QHostAddress_2S(JNIEnv* env, jobject obj, jstring data, jlong len, jobject host, jshort port) -{ -static TQCString* _qstring_data = 0; - jlong xret = (jlong) ((TQSocketDevice*) QtSupport::getQt(env, obj))->writeBlock((const char*) QtSupport::toCharString(env, data, &_qstring_data), (Q_ULONG) len, (const TQHostAddress&)*(const TQHostAddress*) QtSupport::getQt(env, host), (Q_UINT16) port); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QSocketDevice.h b/qtjava/javalib/qtjava/QSocketDevice.h deleted file mode 100644 index 2c95ddb4..00000000 --- a/qtjava/javalib/qtjava/QSocketDevice.h +++ /dev/null @@ -1,64 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QSocketDevice__ -#define __org_kde_qt_QSocketDevice__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketDevice_newTQSocketDevice__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketDevice_newTQSocketDevice__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketDevice_newTQSocketDevice__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketDevice_newTQSocketDevice__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocketDevice_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocketDevice_type (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocketDevice_protocol (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocketDevice_socket (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketDevice_setSocket (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocketDevice_open (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketDevice_close (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketDevice_flush (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocketDevice_size (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocketDevice_at__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocketDevice_at__J (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocketDevice_atEnd (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocketDevice_blocking (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketDevice_setBlocking (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocketDevice_addressReusable (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketDevice_setAddressReusable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocketDevice_receiveBufferSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketDevice_setReceiveBufferSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocketDevice_sendBufferSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketDevice_setSendBufferSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocketDevice_connect (JNIEnv *env, jobject, jobject, jshort); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocketDevice_bind (JNIEnv *env, jobject, jobject, jshort); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocketDevice_listen (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocketDevice_accept (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocketDevice_bytesAvailable (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocketDevice_waitForMore__I_3Z (JNIEnv *env, jobject, jint, jbooleanArray); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocketDevice_waitForMore__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocketDevice_readBlock (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocketDevice_writeBlock__Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocketDevice_writeBlock__Ljava_lang_String_2JLorg_kde_qt_QHostAddress_2S (JNIEnv *env, jobject, jstring, jlong, jobject, jshort); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocketDevice_getch (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocketDevice_putch (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocketDevice_ungetch (JNIEnv *env, jobject, jint); -extern JNIEXPORT jshort JNICALL Java_org_kde_qt_QSocketDevice_port (JNIEnv *env, jobject); -extern JNIEXPORT jshort JNICALL Java_org_kde_qt_QSocketDevice_peerPort (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSocketDevice_address (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSocketDevice_peerAddress (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocketDevice_error (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketDevice_setError (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketDevice_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketDevice_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocketDevice_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QSocketDevice__ */ diff --git a/qtjava/javalib/qtjava/QSocketNotifier.cpp b/qtjava/javalib/qtjava/QSocketNotifier.cpp deleted file mode 100644 index 90054113..00000000 --- a/qtjava/javalib/qtjava/QSocketNotifier.cpp +++ /dev/null @@ -1,181 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQSocketNotifierJBridge : public TQSocketNotifier -{ -public: - TQSocketNotifierJBridge(int arg1,TQSocketNotifier::Type arg2,TQObject* arg3,const char* arg4) : TQSocketNotifier(arg1,arg2,arg3,arg4) {}; - TQSocketNotifierJBridge(int arg1,TQSocketNotifier::Type arg2,TQObject* arg3) : TQSocketNotifier(arg1,arg2,arg3) {}; - TQSocketNotifierJBridge(int arg1,TQSocketNotifier::Type arg2) : TQSocketNotifier(arg1,arg2) {}; - bool protected_event(TQEvent* arg1) { - return (bool) TQSocketNotifier::event(arg1); - } - ~TQSocketNotifierJBridge() {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.qt.TQSocketNotifier",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSocketNotifier_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQSocketNotifier*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocketNotifier_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QSocketNotifier_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocketNotifier_event(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQSocketNotifierJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocketNotifier_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQSocketNotifier*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQSocketNotifier*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocketNotifier_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocketNotifier_isEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSocketNotifier*) QtSupport::getQt(env, obj))->isEnabled(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSocketNotifier_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSocketNotifier*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocketNotifier_newTQSocketNotifier__II(JNIEnv* env, jobject obj, jint socket, jint arg2) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSocketNotifierJBridge((int) socket, (TQSocketNotifier::Type) arg2)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocketNotifier_newTQSocketNotifier__IILorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jint socket, jint arg2, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSocketNotifierJBridge((int) socket, (TQSocketNotifier::Type) arg2, (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSocketNotifier_newTQSocketNotifier__IILorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint socket, jint arg2, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSocketNotifierJBridge((int) socket, (TQSocketNotifier::Type) arg2, (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_qt_QSocketNotifier_setEnabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQSocketNotifier*) QtSupport::getQt(env, obj))->setEnabled((bool) arg1); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSocketNotifier_socket(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSocketNotifier*) QtSupport::getQt(env, obj))->socket(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSocketNotifier_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQSocketNotifierJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSocketNotifier_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQSocketNotifierJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSocketNotifier_type(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSocketNotifier*) QtSupport::getQt(env, obj))->type(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QSocketNotifier.h b/qtjava/javalib/qtjava/QSocketNotifier.h deleted file mode 100644 index 88e592d2..00000000 --- a/qtjava/javalib/qtjava/QSocketNotifier.h +++ /dev/null @@ -1,33 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QSocketNotifier__ -#define __org_kde_qt_QSocketNotifier__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSocketNotifier_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSocketNotifier_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketNotifier_newTQSocketNotifier__IILorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketNotifier_newTQSocketNotifier__IILorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketNotifier_newTQSocketNotifier__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocketNotifier_socket (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocketNotifier_type (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocketNotifier_isEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketNotifier_setEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSocketNotifier_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSocketNotifier_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocketNotifier_event (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketNotifier_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketNotifier_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocketNotifier_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QSocketNotifier__ */ diff --git a/qtjava/javalib/qtjava/QSound.cpp b/qtjava/javalib/qtjava/QSound.cpp deleted file mode 100644 index a80ac3ba..00000000 --- a/qtjava/javalib/qtjava/QSound.cpp +++ /dev/null @@ -1,223 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQSoundJBridge : public TQSound -{ -public: - TQSoundJBridge(const TQString& arg1,TQObject* arg2,const char* arg3) : TQSound(arg1,arg2,arg3) {}; - TQSoundJBridge(const TQString& arg1,TQObject* arg2) : TQSound(arg1,arg2) {}; - TQSoundJBridge(const TQString& arg1) : TQSound(arg1) {}; - ~TQSoundJBridge() {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.qt.TQSound",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSound_available(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TQSoundJBridge::available(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSound_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQSound*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSound_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QSound_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSound_fileName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQSound*) QtSupport::getQt(env, obj))->fileName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSound_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQSound*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQSound*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSound_isAvailable(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TQSoundJBridge::isAvailable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSound_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSound_isFinished(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSound*) QtSupport::getQt(env, obj))->isFinished(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSound_loopsRemaining(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSound*) QtSupport::getQt(env, obj))->loopsRemaining(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSound_loops(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSound*) QtSupport::getQt(env, obj))->loops(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSound_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSound*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSound_newTQSound__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 TQSoundJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSound_newTQSound__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 TQSoundJBridge((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_qt_QSound_newTQSound__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 TQSoundJBridge((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_qt_QSound_play__(JNIEnv* env, jobject obj) -{ - ((TQSound*) QtSupport::getQt(env, obj))->play(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSound_play__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filename) -{ - (void) cls; -static TQString* _qstring_filename = 0; - TQSoundJBridge::play((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSound_setLoops(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQSound*) QtSupport::getQt(env, obj))->setLoops((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSound_stop(JNIEnv* env, jobject obj) -{ - ((TQSound*) QtSupport::getQt(env, obj))->stop(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSound_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQSoundJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSound_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQSoundJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QSound.h b/qtjava/javalib/qtjava/QSound.h deleted file mode 100644 index e9d608b1..00000000 --- a/qtjava/javalib/qtjava/QSound.h +++ /dev/null @@ -1,38 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QSound__ -#define __org_kde_qt_QSound__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSound_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSound_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSound_newTQSound__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSound_newTQSound__Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSound_newTQSound__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSound_loops (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSound_loopsRemaining (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSound_setLoops (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSound_fileName (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSound_isFinished (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSound_play__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSound_stop (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSound_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSound_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSound_isAvailable (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSound_play__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSound_available (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSound_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSound_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSound_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QSound__ */ diff --git a/qtjava/javalib/qtjava/QSpacerItem.cpp b/qtjava/javalib/qtjava/QSpacerItem.cpp deleted file mode 100644 index 8250ae7b..00000000 --- a/qtjava/javalib/qtjava/QSpacerItem.cpp +++ /dev/null @@ -1,148 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -class TQSpacerItemJBridge : public TQSpacerItem -{ -public: - TQSpacerItemJBridge(int arg1,int arg2,TQSizePolicy::SizeType arg3,TQSizePolicy::SizeType arg4) : TQSpacerItem(arg1,arg2,arg3,arg4) {}; - TQSpacerItemJBridge(int arg1,int arg2,TQSizePolicy::SizeType arg3) : TQSpacerItem(arg1,arg2,arg3) {}; - TQSpacerItemJBridge(int arg1,int arg2) : TQSpacerItem(arg1,arg2) {}; - ~TQSpacerItemJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpacerItem_changeSize__II(JNIEnv* env, jobject obj, jint w, jint h) -{ - ((TQSpacerItem*) QtSupport::getQt(env, obj))->changeSize((int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpacerItem_changeSize__III(JNIEnv* env, jobject obj, jint w, jint h, jint hData) -{ - ((TQSpacerItem*) QtSupport::getQt(env, obj))->changeSize((int) w, (int) h, (TQSizePolicy::SizeType) hData); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpacerItem_changeSize__IIII(JNIEnv* env, jobject obj, jint w, jint h, jint hData, jint vData) -{ - ((TQSpacerItem*) QtSupport::getQt(env, obj))->changeSize((int) w, (int) h, (TQSizePolicy::SizeType) hData, (TQSizePolicy::SizeType) vData); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpacerItem_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QSpacerItem_finalize(env, obj); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSpacerItem_expanding(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSpacerItem*) QtSupport::getQt(env, obj))->expanding(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpacerItem_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQLayoutItem*)(TQSpacerItem*)QtSupport::getQt(env, obj))->layout() == 0 && ((TQLayoutItem*)(TQSpacerItem*)QtSupport::getQt(env, obj))->widget() == 0 && ((TQLayoutItem*)(TQSpacerItem*)QtSupport::getQt(env, obj))->spacerItem() == 0) { - delete (TQSpacerItem*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSpacerItem_geometry(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQSpacerItem*) QtSupport::getQt(env, obj))->geometry()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSpacerItem_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSpacerItem_isEmpty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSpacerItem*) QtSupport::getQt(env, obj))->isEmpty(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSpacerItem_maximumSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQSpacerItem*) QtSupport::getQt(env, obj))->maximumSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSpacerItem_minimumSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQSpacerItem*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpacerItem_newTQSpacerItem__II(JNIEnv* env, jobject obj, jint w, jint h) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSpacerItemJBridge((int) w, (int) h)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpacerItem_newTQSpacerItem__III(JNIEnv* env, jobject obj, jint w, jint h, jint hData) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSpacerItemJBridge((int) w, (int) h, (TQSizePolicy::SizeType) hData)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpacerItem_newTQSpacerItem__IIII(JNIEnv* env, jobject obj, jint w, jint h, jint hData, jint vData) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSpacerItemJBridge((int) w, (int) h, (TQSizePolicy::SizeType) hData, (TQSizePolicy::SizeType) vData)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpacerItem_setGeometry(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQSpacerItem*) QtSupport::getQt(env, obj))->setGeometry((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSpacerItem_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQSpacerItem*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSpacerItem_spacerItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSpacerItem*) QtSupport::getQt(env, obj))->spacerItem(), "org.kde.qt.TQSpacerItem"); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QSpacerItem.h b/qtjava/javalib/qtjava/QSpacerItem.h deleted file mode 100644 index cce9726e..00000000 --- a/qtjava/javalib/qtjava/QSpacerItem.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QSpacerItem__ -#define __org_kde_qt_QSpacerItem__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpacerItem_newTQSpacerItem__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpacerItem_newTQSpacerItem__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpacerItem_newTQSpacerItem__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpacerItem_changeSize__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpacerItem_changeSize__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpacerItem_changeSize__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSpacerItem_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSpacerItem_minimumSize (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSpacerItem_maximumSize (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSpacerItem_expanding (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSpacerItem_isEmpty (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpacerItem_setGeometry (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSpacerItem_geometry (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSpacerItem_spacerItem (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpacerItem_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpacerItem_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSpacerItem_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QSpacerItem__ */ diff --git a/qtjava/javalib/qtjava/QSpinBox.cpp b/qtjava/javalib/qtjava/QSpinBox.cpp deleted file mode 100644 index d4489a07..00000000 --- a/qtjava/javalib/qtjava/QSpinBox.cpp +++ /dev/null @@ -1,1033 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQSpinBoxJBridge : public TQSpinBox -{ -public: - TQSpinBoxJBridge(TQWidget* arg1,const char* arg2) : TQSpinBox(arg1,arg2) {}; - TQSpinBoxJBridge(TQWidget* arg1) : TQSpinBox(arg1) {}; - TQSpinBoxJBridge() : TQSpinBox() {}; - TQSpinBoxJBridge(int arg1,int arg2,int arg3,TQWidget* arg4,const char* arg5) : TQSpinBox(arg1,arg2,arg3,arg4,arg5) {}; - TQSpinBoxJBridge(int arg1,int arg2,int arg3,TQWidget* arg4) : TQSpinBox(arg1,arg2,arg3,arg4) {}; - TQSpinBoxJBridge(int arg1,int arg2,int arg3) : TQSpinBox(arg1,arg2,arg3) {}; - TQSpinBoxJBridge(int arg1,int arg2) : TQSpinBox(arg1,arg2) {}; - void public_stepUp() { - TQSpinBox::stepUp(); - return; - } - void public_stepDown() { - TQSpinBox::stepDown(); - return; - } - void public_selectAll() { - TQSpinBox::selectAll(); - return; - } - TQString protected_mapValueToText(int arg1) { - return (TQString) TQSpinBox::mapValueToText(arg1); - } - int protected_mapTextToValue(bool* arg1) { - return (int) TQSpinBox::mapTextToValue(arg1); - } - TQString protected_currentValueText() { - return (TQString) TQSpinBox::currentValueText(); - } - void protected_updateDisplay() { - TQSpinBox::updateDisplay(); - return; - } - void protected_interpretText() { - TQSpinBox::interpretText(); - return; - } - TQLineEdit* protected_editor() { - return (TQLineEdit*) TQSpinBox::editor(); - } - void protected_valueChange() { - TQSpinBox::valueChange(); - return; - } - void protected_rangeChange() { - TQSpinBox::rangeChange(); - return; - } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) TQSpinBox::eventFilter(arg1,arg2); - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQSpinBox::resizeEvent(arg1); - return; - } - void protected_wheelEvent(TQWheelEvent* arg1) { - TQSpinBox::wheelEvent(arg1); - return; - } - void protected_leaveEvent(TQEvent* arg1) { - TQSpinBox::leaveEvent(arg1); - return; - } - void protected_styleChange(TQStyle& arg1) { - TQSpinBox::styleChange(arg1); - return; - } - void protected_textChanged() { - TQSpinBox::textChanged(); - return; - } - ~TQSpinBoxJBridge() {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_stepChange() { - TQRangeControl::stepChange(); - 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 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.qt.TQSpinBox","selectAll")) { - TQSpinBox::selectAll(); - } - return; - } - void interpretText() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinBox","interpretText")) { - TQSpinBox::interpretText(); - } - return; - } - void stepChange() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinBox","stepChange")) { - TQRangeControl::stepChange(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinBox","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.qt.TQSpinBox","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.qt.TQSpinBox","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.qt.TQSpinBox","valueChange")) { - TQSpinBox::valueChange(); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinBox","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.qt.TQSpinBox","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.qt.TQSpinBox","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.qt.TQSpinBox","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.qt.TQSpinBox","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinBox","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.qt.TQSpinBox","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinBox","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.qt.TQSpinBox","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.qt.TQSpinBox","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.qt.TQSpinBox","stepUp")) { - TQSpinBox::stepUp(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinBox","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_addLine(JNIEnv* env, jobject obj) -{ - ((TQRangeControl*)(TQSpinBox*) QtSupport::getQt(env, obj))->addLine(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_addPage(JNIEnv* env, jobject obj) -{ - ((TQRangeControl*)(TQSpinBox*) QtSupport::getQt(env, obj))->addPage(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSpinBox_bound(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQRangeControl*)(TQSpinBox*) QtSupport::getQt(env, obj))->bound((int) arg1); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSpinBox_buttonSymbols(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSpinBox*) QtSupport::getQt(env, obj))->buttonSymbols(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSpinBox_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQSpinBox*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSpinBox_cleanText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQSpinBox*) QtSupport::getQt(env, obj))->cleanText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSpinBox_currentValueText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_currentValueText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_directSetValue(JNIEnv* env, jobject obj, jint val) -{ - ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_directSetValue((int) val); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QSpinBox_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSpinBox_downRect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQSpinBox*) QtSupport::getQt(env, obj))->downRect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSpinBox_editor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_editor(), "org.kde.qt.TQLineEdit"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSpinBox_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject ev) -{ - jboolean xret = (jboolean) ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, ev)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQSpinBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQSpinBox*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_interpretText(JNIEnv* env, jobject obj) -{ - ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_interpretText(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSpinBox_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_leaveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSpinBox_lineStep(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSpinBox*) QtSupport::getQt(env, obj))->lineStep(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSpinBox_mapTextToValue(JNIEnv* env, jobject obj, jbooleanArray ok) -{ - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jint xret = (jint) ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_mapTextToValue( (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSpinBox_mapValueToText(JNIEnv* env, jobject obj, jint value) -{ - TQString _qstring; - _qstring = ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_mapValueToText((int) value); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSpinBox_maxValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSpinBox*) QtSupport::getQt(env, obj))->maxValue(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSpinBox_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSpinBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSpinBox_minValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSpinBox*) QtSupport::getQt(env, obj))->minValue(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSpinBox_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQSpinBox*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_newTQSpinBox__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSpinBoxJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_newTQSpinBox__II(JNIEnv* env, jobject obj, jint minValue, jint maxValue) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSpinBoxJBridge((int) minValue, (int) maxValue)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_newTQSpinBox__III(JNIEnv* env, jobject obj, jint minValue, jint maxValue, jint step) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSpinBoxJBridge((int) minValue, (int) maxValue, (int) step)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_newTQSpinBox__IIILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint minValue, jint maxValue, jint step, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSpinBoxJBridge((int) minValue, (int) maxValue, (int) step, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_newTQSpinBox__IIILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint minValue, jint maxValue, jint step, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSpinBoxJBridge((int) minValue, (int) maxValue, (int) step, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_newTQSpinBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSpinBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_newTQSpinBox__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 TQSpinBoxJBridge((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_qt_QSpinBox_pageStep(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQRangeControl*)(TQSpinBox*) QtSupport::getQt(env, obj))->pageStep(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSpinBox_positionFromValue(JNIEnv* env, jobject obj, jint val, jint space) -{ - jint xret = (jint) ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_positionFromValue((int) val, (int) space); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSpinBox_prefix(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQSpinBox*) QtSupport::getQt(env, obj))->prefix(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSpinBox_prevValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_prevValue(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_rangeChange(JNIEnv* env, jobject obj) -{ - ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_rangeChange(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_resizeEvent(JNIEnv* env, jobject obj, jobject ev) -{ - ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, ev)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_selectAll(JNIEnv* env, jobject obj) -{ - ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->public_selectAll(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_setButtonSymbols(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQSpinBox*) QtSupport::getQt(env, obj))->setButtonSymbols((TQSpinBox::ButtonSymbols) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_setEnabled(JNIEnv* env, jobject obj, jboolean enabled) -{ - ((TQSpinBox*) QtSupport::getQt(env, obj))->setEnabled((bool) enabled); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_setLineStep(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQSpinBox*) QtSupport::getQt(env, obj))->setLineStep((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_setMaxValue(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQSpinBox*) QtSupport::getQt(env, obj))->setMaxValue((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_setMinValue(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQSpinBox*) QtSupport::getQt(env, obj))->setMinValue((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_setPrefix(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TQSpinBox*) QtSupport::getQt(env, obj))->setPrefix((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_setRange(JNIEnv* env, jobject obj, jint minValue, jint maxValue) -{ - ((TQRangeControl*)(TQSpinBox*) QtSupport::getQt(env, obj))->setRange((int) minValue, (int) maxValue); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_setSpecialValueText(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TQSpinBox*) QtSupport::getQt(env, obj))->setSpecialValueText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_setSteps(JNIEnv* env, jobject obj, jint line, jint page) -{ - ((TQRangeControl*)(TQSpinBox*) QtSupport::getQt(env, obj))->setSteps((int) line, (int) page); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_setSuffix(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TQSpinBox*) QtSupport::getQt(env, obj))->setSuffix((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_setValidator(JNIEnv* env, jobject obj, jobject v) -{ - ((TQSpinBox*) QtSupport::getQt(env, obj))->setValidator((const TQValidator*) QtSupport::getQt(env, v)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_setValue(JNIEnv* env, jobject obj, jint value) -{ - ((TQSpinBox*) QtSupport::getQt(env, obj))->setValue((int) value); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_setWrapping(JNIEnv* env, jobject obj, jboolean on) -{ - ((TQSpinBox*) QtSupport::getQt(env, obj))->setWrapping((bool) on); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSpinBox_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQSpinBox*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSpinBox_specialValueText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQSpinBox*) QtSupport::getQt(env, obj))->specialValueText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_stepChange(JNIEnv* env, jobject obj) -{ - ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_stepChange(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_stepDown(JNIEnv* env, jobject obj) -{ - ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->public_stepDown(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_stepUp(JNIEnv* env, jobject obj) -{ - ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->public_stepUp(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_styleChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_subtractLine(JNIEnv* env, jobject obj) -{ - ((TQRangeControl*)(TQSpinBox*) QtSupport::getQt(env, obj))->subtractLine(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_subtractPage(JNIEnv* env, jobject obj) -{ - ((TQRangeControl*)(TQSpinBox*) QtSupport::getQt(env, obj))->subtractPage(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSpinBox_suffix(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQSpinBox*) QtSupport::getQt(env, obj))->suffix(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_textChanged(JNIEnv* env, jobject obj) -{ - ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_textChanged(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSpinBox_text(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQSpinBox*) QtSupport::getQt(env, obj))->text(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSpinBox_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQSpinBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSpinBox_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQSpinBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSpinBox_upRect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQSpinBox*) QtSupport::getQt(env, obj))->upRect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_updateDisplay(JNIEnv* env, jobject obj) -{ - ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_updateDisplay(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSpinBox_validator(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSpinBox*) QtSupport::getQt(env, obj))->validator(), "org.kde.qt.TQValidator"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_valueChange(JNIEnv* env, jobject obj) -{ - ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_valueChange(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSpinBox_valueFromPosition(JNIEnv* env, jobject obj, jint pos, jint space) -{ - jint xret = (jint) ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_valueFromPosition((int) pos, (int) space); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSpinBox_value(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSpinBox*) QtSupport::getQt(env, obj))->value(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_wheelEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSpinBox_wrapping(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSpinBox*) QtSupport::getQt(env, obj))->wrapping(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QSpinBox.h b/qtjava/javalib/qtjava/QSpinBox.h deleted file mode 100644 index d5e25ccd..00000000 --- a/qtjava/javalib/qtjava/QSpinBox.h +++ /dev/null @@ -1,89 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QSpinBox__ -#define __org_kde_qt_QSpinBox__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSpinBox_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSpinBox_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_newTQSpinBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_newTQSpinBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_newTQSpinBox__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_newTQSpinBox__IIILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_newTQSpinBox__IIILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_newTQSpinBox__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_newTQSpinBox__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSpinBox_text (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSpinBox_prefix (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSpinBox_suffix (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSpinBox_cleanText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_setSpecialValueText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSpinBox_specialValueText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_setWrapping (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSpinBox_wrapping (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_setButtonSymbols (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSpinBox_buttonSymbols (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_setValidator (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSpinBox_validator (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSpinBox_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSpinBox_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSpinBox_minValue (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSpinBox_maxValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_setMinValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_setMaxValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSpinBox_lineStep (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_setLineStep (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSpinBox_value (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSpinBox_upRect (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSpinBox_downRect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_setValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_setPrefix (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_setSuffix (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_stepUp (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_stepDown (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_setEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_selectAll (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSpinBox_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSpinBox_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSpinBox_mapValueToText (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSpinBox_mapTextToValue (JNIEnv *env, jobject, jbooleanArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSpinBox_currentValueText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_updateDisplay (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_interpretText (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSpinBox_editor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_valueChange (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_rangeChange (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSpinBox_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_wheelEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_leaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_styleChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_textChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSpinBox_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_addPage (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_subtractPage (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_addLine (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_subtractLine (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_setRange (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSpinBox_pageStep (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_setSteps (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSpinBox_bound (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSpinBox_positionFromValue (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSpinBox_valueFromPosition (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_directSetValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSpinBox_prevValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_stepChange (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QSpinBox__ */ diff --git a/qtjava/javalib/qtjava/QSpinWidget.cpp b/qtjava/javalib/qtjava/QSpinWidget.cpp deleted file mode 100644 index 336ce5e4..00000000 --- a/qtjava/javalib/qtjava/QSpinWidget.cpp +++ /dev/null @@ -1,638 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -class TQSpinWidgetJBridge : public TQSpinWidget -{ -public: - TQSpinWidgetJBridge(TQWidget* arg1,const char* arg2) : TQSpinWidget(arg1,arg2) {}; - TQSpinWidgetJBridge(TQWidget* arg1) : TQSpinWidget(arg1) {}; - TQSpinWidgetJBridge() : TQSpinWidget() {}; - void protected_mousePressEvent(TQMouseEvent* arg1) { - TQSpinWidget::mousePressEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQSpinWidget::resizeEvent(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - TQSpinWidget::mouseReleaseEvent(arg1); - return; - } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - TQSpinWidget::mouseMoveEvent(arg1); - return; - } - void protected_wheelEvent(TQWheelEvent* arg1) { - TQSpinWidget::wheelEvent(arg1); - return; - } - void protected_styleChange(TQStyle& arg1) { - TQSpinWidget::styleChange(arg1); - return; - } - void protected_paintEvent(TQPaintEvent* arg1) { - TQSpinWidget::paintEvent(arg1); - return; - } - void protected_enableChanged(bool arg1) { - TQSpinWidget::enableChanged(arg1); - return; - } - void protected_windowActivationChange(bool arg1) { - TQSpinWidget::windowActivationChange(arg1); - return; - } - ~TQSpinWidgetJBridge() {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")) { - TQSpinWidget::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.qt.TQSpinWidget","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.qt.TQSpinWidget","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.qt.TQSpinWidget","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.qt.TQSpinWidget","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")) { - TQSpinWidget::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.qt.TQSpinWidget","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.qt.TQSpinWidget","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinWidget","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")) { - TQSpinWidget::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.qt.TQSpinWidget","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinWidget","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")) { - TQSpinWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQSpinWidget::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.qt.TQSpinWidget","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQSpinWidget::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.qt.TQSpinWidget",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.qt.TQSpinWidget","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinWidget_arrange(JNIEnv* env, jobject obj) -{ - ((TQSpinWidget*) QtSupport::getQt(env, obj))->arrange(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSpinWidget_buttonSymbols(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSpinWidget*) QtSupport::getQt(env, obj))->buttonSymbols(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSpinWidget_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQSpinWidget*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinWidget_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QSpinWidget_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSpinWidget_downRect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQSpinWidget*) QtSupport::getQt(env, obj))->downRect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSpinWidget_editWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSpinWidget*) QtSupport::getQt(env, obj))->editWidget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinWidget_enableChanged(JNIEnv* env, jobject obj, jboolean old) -{ - ((TQSpinWidgetJBridge*) QtSupport::getQt(env, obj))->protected_enableChanged((bool) old); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinWidget_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQSpinWidget*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQSpinWidget*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSpinWidget_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSpinWidget_isDownEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSpinWidget*) QtSupport::getQt(env, obj))->isDownEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSpinWidget_isUpEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSpinWidget*) QtSupport::getQt(env, obj))->isUpEnabled(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSpinWidget_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSpinWidget*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinWidget_mouseMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQSpinWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinWidget_mousePressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQSpinWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinWidget_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQSpinWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinWidget_newTQSpinWidget__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSpinWidgetJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinWidget_newTQSpinWidget__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSpinWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinWidget_newTQSpinWidget__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 TQSpinWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinWidget_paintEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQSpinWidgetJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinWidget_resizeEvent(JNIEnv* env, jobject obj, jobject ev) -{ - ((TQSpinWidgetJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, ev)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinWidget_setButtonSymbols(JNIEnv* env, jobject obj, jint bs) -{ - ((TQSpinWidget*) QtSupport::getQt(env, obj))->setButtonSymbols((TQSpinWidget::ButtonSymbols) bs); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinWidget_setDownEnabled(JNIEnv* env, jobject obj, jboolean on) -{ - ((TQSpinWidget*) QtSupport::getQt(env, obj))->setDownEnabled((bool) on); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinWidget_setEditWidget(JNIEnv* env, jobject obj, jobject widget) -{ - ((TQSpinWidget*) QtSupport::getQt(env, obj))->setEditWidget((TQWidget*) QtSupport::getQt(env, widget)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinWidget_setUpEnabled(JNIEnv* env, jobject obj, jboolean on) -{ - ((TQSpinWidget*) QtSupport::getQt(env, obj))->setUpEnabled((bool) on); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinWidget_stepDown(JNIEnv* env, jobject obj) -{ - ((TQSpinWidget*) QtSupport::getQt(env, obj))->stepDown(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinWidget_stepUp(JNIEnv* env, jobject obj) -{ - ((TQSpinWidget*) QtSupport::getQt(env, obj))->stepUp(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinWidget_styleChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQSpinWidgetJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSpinWidget_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQSpinWidgetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSpinWidget_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQSpinWidgetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSpinWidget_upRect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQSpinWidget*) QtSupport::getQt(env, obj))->upRect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinWidget_wheelEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQSpinWidgetJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinWidget_windowActivationChange(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQSpinWidgetJBridge*) QtSupport::getQt(env, obj))->protected_windowActivationChange((bool) arg1); - return; -} - diff --git a/qtjava/javalib/qtjava/QSpinWidget.h b/qtjava/javalib/qtjava/QSpinWidget.h deleted file mode 100644 index 2f84c994..00000000 --- a/qtjava/javalib/qtjava/QSpinWidget.h +++ /dev/null @@ -1,50 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QSpinWidget__ -#define __org_kde_qt_QSpinWidget__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSpinWidget_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSpinWidget_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_newTQSpinWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_newTQSpinWidget__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_newTQSpinWidget__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_setEditWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSpinWidget_editWidget (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSpinWidget_upRect (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSpinWidget_downRect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_setUpEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_setDownEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSpinWidget_isUpEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSpinWidget_isDownEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_setButtonSymbols (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSpinWidget_buttonSymbols (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_arrange (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_stepUp (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_stepDown (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSpinWidget_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSpinWidget_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_mouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_wheelEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_styleChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_enableChanged (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_windowActivationChange (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSpinWidget_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QSpinWidget__ */ diff --git a/qtjava/javalib/qtjava/QSplashScreen.cpp b/qtjava/javalib/qtjava/QSplashScreen.cpp deleted file mode 100644 index bd7fda8e..00000000 --- a/qtjava/javalib/qtjava/QSplashScreen.cpp +++ /dev/null @@ -1,535 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include - -class TQSplashScreenJBridge : public TQSplashScreen -{ -public: - TQSplashScreenJBridge(const TQPixmap& arg1,TQt::WFlags arg2) : TQSplashScreen(arg1,arg2) {}; - TQSplashScreenJBridge(const TQPixmap& arg1) : TQSplashScreen(arg1) {}; - TQSplashScreenJBridge() : TQSplashScreen() {}; - void protected_drawContents(TQPainter* arg1) { - TQSplashScreen::drawContents(arg1); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TQSplashScreen::mousePressEvent(arg1); - return; - } - ~TQSplashScreenJBridge() {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.qt.TQSplashScreen","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.qt.TQSplashScreen","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.qt.TQSplashScreen","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.qt.TQSplashScreen","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.qt.TQSplashScreen","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.qt.TQSplashScreen","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSplashScreen","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.qt.TQSplashScreen","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSplashScreen","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")) { - TQSplashScreen::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.qt.TQSplashScreen","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.qt.TQSplashScreen",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.qt.TQSplashScreen","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSplashScreen_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQSplashScreen*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplashScreen_clear(JNIEnv* env, jobject obj) -{ - ((TQSplashScreen*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplashScreen_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QSplashScreen_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplashScreen_drawContents(JNIEnv* env, jobject obj, jobject painter) -{ - ((TQSplashScreenJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, painter)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplashScreen_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQSplashScreen*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQSplashScreen*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplashScreen_finish(JNIEnv* env, jobject obj, jobject w) -{ - ((TQSplashScreen*) QtSupport::getQt(env, obj))->finish((TQWidget*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSplashScreen_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplashScreen_message__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring str) -{ -static TQString* _qstring_str = 0; - ((TQSplashScreen*) QtSupport::getQt(env, obj))->message((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplashScreen_message__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring str, jint flags) -{ -static TQString* _qstring_str = 0; - ((TQSplashScreen*) QtSupport::getQt(env, obj))->message((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) flags); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplashScreen_message__Ljava_lang_String_2ILorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jstring str, jint flags, jobject color) -{ -static TQString* _qstring_str = 0; - ((TQSplashScreen*) QtSupport::getQt(env, obj))->message((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) flags, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, color)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSplashScreen_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSplashScreen*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplashScreen_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQSplashScreenJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplashScreen_newTQSplashScreen__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSplashScreenJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplashScreen_newTQSplashScreen__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pixmap) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSplashScreenJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplashScreen_newTQSplashScreen__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint f) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSplashScreenJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSplashScreen_pixmap(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSplashScreen*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplashScreen_repaint(JNIEnv* env, jobject obj) -{ - ((TQSplashScreen*) QtSupport::getQt(env, obj))->repaint(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplashScreen_setPixmap(JNIEnv* env, jobject obj, jobject pixmap) -{ - ((TQSplashScreen*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSplashScreen_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQSplashScreenJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSplashScreen_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQSplashScreenJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QSplashScreen.h b/qtjava/javalib/qtjava/QSplashScreen.h deleted file mode 100644 index 9ac015e7..00000000 --- a/qtjava/javalib/qtjava/QSplashScreen.h +++ /dev/null @@ -1,38 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QSplashScreen__ -#define __org_kde_qt_QSplashScreen__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSplashScreen_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSplashScreen_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplashScreen_newTQSplashScreen__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplashScreen_newTQSplashScreen__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplashScreen_newTQSplashScreen__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplashScreen_setPixmap (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSplashScreen_pixmap (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplashScreen_finish (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplashScreen_repaint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplashScreen_message__Ljava_lang_String_2ILorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jstring, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplashScreen_message__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplashScreen_message__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplashScreen_clear (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSplashScreen_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSplashScreen_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplashScreen_drawContents (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplashScreen_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplashScreen_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplashScreen_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSplashScreen_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QSplashScreen__ */ diff --git a/qtjava/javalib/qtjava/QSplitter.cpp b/qtjava/javalib/qtjava/QSplitter.cpp deleted file mode 100644 index 48e468bb..00000000 --- a/qtjava/javalib/qtjava/QSplitter.cpp +++ /dev/null @@ -1,751 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQSplitterJBridge : public TQSplitter -{ -public: - TQSplitterJBridge(TQWidget* arg1,const char* arg2) : TQSplitter(arg1,arg2) {}; - TQSplitterJBridge(TQWidget* arg1) : TQSplitter(arg1) {}; - TQSplitterJBridge() : TQSplitter() {}; - TQSplitterJBridge(TQt::Orientation arg1,TQWidget* arg2,const char* arg3) : TQSplitter(arg1,arg2,arg3) {}; - TQSplitterJBridge(TQt::Orientation arg1,TQWidget* arg2) : TQSplitter(arg1,arg2) {}; - TQSplitterJBridge(TQt::Orientation arg1) : TQSplitter(arg1) {}; - void public_setOpaqueResize() { - TQSplitter::setOpaqueResize(); - return; - } - void protected_childEvent(TQChildEvent* arg1) { - TQSplitter::childEvent(arg1); - return; - } - bool protected_event(TQEvent* arg1) { - return (bool) TQSplitter::event(arg1); - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQSplitter::resizeEvent(arg1); - return; - } - int protected_idAfter(TQWidget* arg1) { - return (int) TQSplitter::idAfter(arg1); - } - void protected_moveSplitter(TQCOORD arg1,int arg2) { - TQSplitter::moveSplitter(arg1,arg2); - return; - } - void protected_drawSplitter(TQPainter* arg1,TQCOORD arg2,TQCOORD arg3,TQCOORD arg4,TQCOORD arg5) { - TQSplitter::drawSplitter(arg1,arg2,arg3,arg4,arg5); - return; - } - void protected_styleChange(TQStyle& arg1) { - TQSplitter::styleChange(arg1); - return; - } - int protected_adjustPos(int arg1,int arg2) { - return (int) TQSplitter::adjustPos(arg1,arg2); - } - void protected_setRubberband(int arg1) { - TQSplitter::setRubberband(arg1); - return; - } - void protected_getRange(int arg1,int* arg2,int* arg3) { - TQSplitter::getRange(arg1,arg2,arg3); - return; - } - ~TQSplitterJBridge() {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")) { - 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 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.qt.TQSplitter","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.qt.TQSplitter","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.qt.TQSplitter","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.qt.TQSplitter","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.qt.TQSplitter","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.qt.TQSplitter","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSplitter","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")) { - TQSplitter::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.qt.TQSplitter","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSplitter","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.qt.TQSplitter","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.qt.TQSplitter",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.qt.TQSplitter","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSplitter","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSplitter_adjustPos(JNIEnv* env, jobject obj, jint arg1, jint arg2) -{ - jint xret = (jint) ((TQSplitterJBridge*) QtSupport::getQt(env, obj))->protected_adjustPos((int) arg1, (int) arg2); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplitter_childEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQSplitterJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TQChildEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSplitter_childrenCollapsible(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSplitter*) QtSupport::getQt(env, obj))->childrenCollapsible(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSplitter_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQSplitter*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplitter_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QSplitter_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplitter_drawSplitter(JNIEnv* env, jobject obj, jobject arg1, jint x, jint y, jint w, jint h) -{ - ((TQSplitterJBridge*) QtSupport::getQt(env, obj))->protected_drawSplitter((TQPainter*) QtSupport::getQt(env, arg1), (TQCOORD) x, (TQCOORD) y, (TQCOORD) w, (TQCOORD) h); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSplitter_event(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQSplitterJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplitter_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQSplitter*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQSplitter*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplitter_getRange(JNIEnv* env, jobject obj, jint id, jintArray arg2, jintArray arg3) -{ - int* _int_arg2 = QtSupport::toIntPtr(env, arg2); - int* _int_arg3 = QtSupport::toIntPtr(env, arg3); - ((TQSplitterJBridge*) QtSupport::getQt(env, obj))->protected_getRange((int) id, (int*) _int_arg2, (int*) _int_arg3); - env->SetIntArrayRegion(arg2, 0, 1, (jint *) _int_arg2); - env->SetIntArrayRegion(arg3, 0, 1, (jint *) _int_arg3); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSplitter_handleWidth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSplitter*) QtSupport::getQt(env, obj))->handleWidth(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSplitter_idAfter(JNIEnv* env, jobject obj, jobject arg1) -{ - jint xret = (jint) ((TQSplitterJBridge*) QtSupport::getQt(env, obj))->protected_idAfter((TQWidget*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSplitter_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSplitter_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSplitter*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSplitter_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQSplitter*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplitter_moveSplitter(JNIEnv* env, jobject obj, jint pos, jint id) -{ - ((TQSplitterJBridge*) QtSupport::getQt(env, obj))->protected_moveSplitter((TQCOORD) pos, (int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplitter_moveToFirst(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQSplitter*) QtSupport::getQt(env, obj))->moveToFirst((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplitter_moveToLast(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQSplitter*) QtSupport::getQt(env, obj))->moveToLast((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplitter_newTQSplitter__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSplitterJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplitter_newTQSplitter__I(JNIEnv* env, jobject obj, jint arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSplitterJBridge((TQt::Orientation) arg1)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplitter_newTQSplitter__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint arg1, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSplitterJBridge((TQt::Orientation) arg1, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplitter_newTQSplitter__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint arg1, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSplitterJBridge((TQt::Orientation) arg1, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplitter_newTQSplitter__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSplitterJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplitter_newTQSplitter__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 TQSplitterJBridge((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_qt_QSplitter_opaqueResize(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSplitter*) QtSupport::getQt(env, obj))->opaqueResize(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSplitter_orientation(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSplitter*) QtSupport::getQt(env, obj))->orientation(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplitter_refresh(JNIEnv* env, jobject obj) -{ - ((TQSplitter*) QtSupport::getQt(env, obj))->refresh(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplitter_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQSplitterJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplitter_setChildrenCollapsible(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQSplitter*) QtSupport::getQt(env, obj))->setChildrenCollapsible((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplitter_setCollapsible(JNIEnv* env, jobject obj, jobject w, jboolean arg2) -{ - ((TQSplitter*) QtSupport::getQt(env, obj))->setCollapsible((TQWidget*) QtSupport::getQt(env, w), (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplitter_setHandleWidth(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQSplitter*) QtSupport::getQt(env, obj))->setHandleWidth((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplitter_setOpaqueResize__(JNIEnv* env, jobject obj) -{ - ((TQSplitterJBridge*) QtSupport::getQt(env, obj))->public_setOpaqueResize(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplitter_setOpaqueResize__Z(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQSplitter*) QtSupport::getQt(env, obj))->setOpaqueResize((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplitter_setOrientation(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQSplitter*) QtSupport::getQt(env, obj))->setOrientation((TQt::Orientation) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplitter_setResizeMode(JNIEnv* env, jobject obj, jobject w, jint arg2) -{ - ((TQSplitter*) QtSupport::getQt(env, obj))->setResizeMode((TQWidget*) QtSupport::getQt(env, w), (TQSplitter::ResizeMode) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplitter_setRubberband(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQSplitterJBridge*) QtSupport::getQt(env, obj))->protected_setRubberband((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplitter_setSizes(JNIEnv* env, jobject obj, jintArray arg1) -{ -static TQValueList* _qlist_arg1 = 0; - ((TQSplitter*) QtSupport::getQt(env, obj))->setSizes((TQValueList) QtSupport::toTQIntValueList(env, arg1, &_qlist_arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSplitter_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQSplitter*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jintArray JNICALL -Java_org_kde_qt_QSplitter_sizes(JNIEnv* env, jobject obj) -{ - TQValueList _qintArray; - _qintArray = ((TQSplitter*) QtSupport::getQt(env, obj))->sizes(); - return QtSupport::fromTQIntValueList(env, &_qintArray); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSplitter_styleChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQSplitterJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSplitter_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQSplitterJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSplitter_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQSplitterJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QSplitter.h b/qtjava/javalib/qtjava/QSplitter.h deleted file mode 100644 index cf31a7c7..00000000 --- a/qtjava/javalib/qtjava/QSplitter.h +++ /dev/null @@ -1,59 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QSplitter__ -#define __org_kde_qt_QSplitter__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSplitter_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSplitter_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_newTQSplitter__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_newTQSplitter__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_newTQSplitter__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_newTQSplitter__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_newTQSplitter__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_newTQSplitter__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_setOrientation (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSplitter_orientation (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_setChildrenCollapsible (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSplitter_childrenCollapsible (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_setCollapsible (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_setResizeMode (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_setOpaqueResize__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_setOpaqueResize__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSplitter_opaqueResize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_moveToFirst (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_moveToLast (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_refresh (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSplitter_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSplitter_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jintArray JNICALL Java_org_kde_qt_QSplitter_sizes (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_setSizes (JNIEnv *env, jobject, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSplitter_handleWidth (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_setHandleWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSplitter_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSplitter_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_childEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSplitter_event (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSplitter_idAfter (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_moveSplitter (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_drawSplitter (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_styleChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSplitter_adjustPos (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_setRubberband (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_getRange (JNIEnv *env, jobject, jint, jintArray, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSplitter_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QSplitter__ */ diff --git a/qtjava/javalib/qtjava/QSql.cpp b/qtjava/javalib/qtjava/QSql.cpp deleted file mode 100644 index 35e6cc22..00000000 --- a/qtjava/javalib/qtjava/QSql.cpp +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - -class TQSqlJBridge : public TQSql -{ -public: - TQSqlJBridge() : TQSql() {}; - ~TQSqlJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSql_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QSql_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSql_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQSql*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSql_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSql_newTQSql(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/qtjava/javalib/qtjava/QSql.h b/qtjava/javalib/qtjava/QSql.h deleted file mode 100644 index c03c0fd6..00000000 --- a/qtjava/javalib/qtjava/QSql.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QSql__ -#define __org_kde_qt_QSql__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSql_newTQSql (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSql_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSql_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSql_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QSql__ */ diff --git a/qtjava/javalib/qtjava/QSqlCursor.cpp b/qtjava/javalib/qtjava/QSqlCursor.cpp deleted file mode 100644 index dc020b70..00000000 --- a/qtjava/javalib/qtjava/QSqlCursor.cpp +++ /dev/null @@ -1,833 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQSqlCursorJBridge : public TQSqlCursor -{ -public: - TQSqlCursorJBridge(const TQString& arg1,bool arg2,TQSqlDatabase* arg3) : TQSqlCursor(arg1,arg2,arg3) {}; - TQSqlCursorJBridge(const TQString& arg1,bool arg2) : TQSqlCursor(arg1,arg2) {}; - TQSqlCursorJBridge(const TQString& arg1) : TQSqlCursor(arg1) {}; - TQSqlCursorJBridge() : TQSqlCursor() {}; - TQSqlCursorJBridge(const TQSqlCursor& arg1) : TQSqlCursor(arg1) {}; - void protected_afterSeek() { - TQSqlCursor::afterSeek(); - return; - } - bool protected_exec(const TQString& arg1) { - return (bool) TQSqlCursor::exec(arg1); - } - TQVariant protected_calculateField(const TQString& arg1) { - return (TQVariant) TQSqlCursor::calculateField(arg1); - } - int protected_update(const TQString& arg1,bool arg2) { - return (int) TQSqlCursor::update(arg1,arg2); - } - int protected_update(const TQString& arg1) { - return (int) TQSqlCursor::update(arg1); - } - int protected_del(const TQString& arg1,bool arg2) { - return (int) TQSqlCursor::del(arg1,arg2); - } - int protected_del(const TQString& arg1) { - return (int) TQSqlCursor::del(arg1); - } - TQString protected_toString(const TQString& arg1,TQSqlField* arg2,const TQString& arg3) { - return (TQString) TQSqlCursor::toString(arg1,arg2,arg3); - } - TQString protected_toString(TQSqlRecord* arg1,const TQString& arg2,const TQString& arg3,const TQString& arg4) { - return (TQString) TQSqlCursor::toString(arg1,arg2,arg3,arg4); - } - TQString protected_toString(const TQSqlIndex& arg1,TQSqlRecord* arg2,const TQString& arg3,const TQString& arg4,const TQString& arg5) { - return (TQString) TQSqlCursor::toString(arg1,arg2,arg3,arg4,arg5); - } - ~TQSqlCursorJBridge() {QtSupport::qtKeyDeleted(this);} - void protected_beforeSeek() { - TQSqlQuery::beforeSeek(); - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlCursor_addBindValue__Lorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jobject val) -{ - ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->addBindValue((const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlCursor_addBindValue__Lorg_kde_qt_QVariant_2I(JNIEnv* env, jobject obj, jobject val, jint type) -{ - ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->addBindValue((const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val), (TQSql::ParameterType) type); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlCursor_afterSeek(JNIEnv* env, jobject obj) -{ - ((TQSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_afterSeek(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlCursor_append(JNIEnv* env, jobject obj, jobject fieldInfo) -{ - ((TQSqlCursor*) QtSupport::getQt(env, obj))->append((const TQSqlFieldInfo&)*(const TQSqlFieldInfo*) QtSupport::getQt(env, fieldInfo)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSqlCursor_at(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->at(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlCursor_beforeSeek(JNIEnv* env, jobject obj) -{ - ((TQSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_beforeSeek(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlCursor_bindValue__ILorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jint pos, jobject val) -{ - ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->bindValue((int) pos, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlCursor_bindValue__ILorg_kde_qt_QVariant_2I(JNIEnv* env, jobject obj, jint pos, jobject val, jint type) -{ - ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->bindValue((int) pos, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val), (TQSql::ParameterType) type); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlCursor_bindValue__Ljava_lang_String_2Lorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jstring placeholder, jobject val) -{ -static TQString* _qstring_placeholder = 0; - ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->bindValue((const TQString&)*(TQString*) QtSupport::toTQString(env, placeholder, &_qstring_placeholder), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlCursor_bindValue__Ljava_lang_String_2Lorg_kde_qt_QVariant_2I(JNIEnv* env, jobject obj, jstring placeholder, jobject val, jint type) -{ -static TQString* _qstring_placeholder = 0; - ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->bindValue((const TQString&)*(TQString*) QtSupport::toTQString(env, placeholder, &_qstring_placeholder), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val), (TQSql::ParameterType) type); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlCursor_boundValue__I(JNIEnv* env, jobject obj, jint pos) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->boundValue((int) pos)), "org.kde.qt.TQVariant", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlCursor_boundValue__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring placeholder) -{ -static TQString* _qstring_placeholder = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->boundValue((const TQString&)*(TQString*) QtSupport::toTQString(env, placeholder, &_qstring_placeholder))), "org.kde.qt.TQVariant", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlCursor_calculateField(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_calculateField((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQVariant", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlCursor_canDelete(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlCursor*) QtSupport::getQt(env, obj))->canDelete(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlCursor_canInsert(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlCursor*) QtSupport::getQt(env, obj))->canInsert(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlCursor_canUpdate(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlCursor*) QtSupport::getQt(env, obj))->canUpdate(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlCursor_clear(JNIEnv* env, jobject obj) -{ - ((TQSqlCursor*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSqlCursor_del__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSqlCursor*) QtSupport::getQt(env, obj))->del(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSqlCursor_del__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filter) -{ -static TQString* _qstring_filter = 0; - jint xret = (jint) ((TQSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_del((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSqlCursor_del__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring filter, jboolean invalidate) -{ -static TQString* _qstring_filter = 0; - jint xret = (jint) ((TQSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_del((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (bool) invalidate); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSqlCursor_del__Z(JNIEnv* env, jobject obj, jboolean invalidate) -{ - jint xret = (jint) ((TQSqlCursor*) QtSupport::getQt(env, obj))->del((bool) invalidate); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlCursor_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QSqlCursor_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlCursor_driver(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->driver(), "org.kde.qt.TQSqlDriver"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlCursor_editBuffer__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlCursor*) QtSupport::getQt(env, obj))->editBuffer(), "org.kde.qt.TQSqlRecord"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlCursor_editBuffer__Z(JNIEnv* env, jobject obj, jboolean copy) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlCursor*) QtSupport::getQt(env, obj))->editBuffer((bool) copy), "org.kde.qt.TQSqlRecord"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlCursor_exec__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->exec(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlCursor_exec__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sql) -{ -static TQString* _qstring_sql = 0; - jboolean xret = (jboolean) ((TQSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_exec((const TQString&)*(TQString*) QtSupport::toTQString(env, sql, &_qstring_sql)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlCursor_executedQuery(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->executedQuery(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlCursor_filter(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQSqlCursor*) QtSupport::getQt(env, obj))->filter(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlCursor_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQSqlCursor*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlCursor_first(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->first(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlCursor_index__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fieldName) -{ -static TQString* _qstring_fieldName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlIndex(((TQSqlCursor*) QtSupport::getQt(env, obj))->index((const TQString&)*(TQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName))), "org.kde.qt.TQSqlIndex", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlCursor_index___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray fieldNames) -{ -static TQStringList* _qlist_fieldNames = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlIndex(((TQSqlCursor*) QtSupport::getQt(env, obj))->index((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fieldNames, &_qlist_fieldNames))), "org.kde.qt.TQSqlIndex", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSqlCursor_insert__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSqlCursor*) QtSupport::getQt(env, obj))->insert(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlCursor_insert__ILorg_kde_qt_QSqlFieldInfo_2(JNIEnv* env, jobject obj, jint pos, jobject fieldInfo) -{ - ((TQSqlCursor*) QtSupport::getQt(env, obj))->insert((int) pos, (const TQSqlFieldInfo&)*(const TQSqlFieldInfo*) QtSupport::getQt(env, fieldInfo)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSqlCursor_insert__Z(JNIEnv* env, jobject obj, jboolean invalidate) -{ - jint xret = (jint) ((TQSqlCursor*) QtSupport::getQt(env, obj))->insert((bool) invalidate); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlCursor_isActive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->isActive(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlCursor_isCalculated(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) ((TQSqlCursor*) QtSupport::getQt(env, obj))->isCalculated((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlCursor_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlCursor_isForwardOnly(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->isForwardOnly(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlCursor_isNull__I(JNIEnv* env, jobject obj, jint i) -{ - jboolean xret = (jboolean) ((TQSqlCursor*) QtSupport::getQt(env, obj))->isNull((int) i); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlCursor_isNull__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) ((TQSqlCursor*) QtSupport::getQt(env, obj))->isNull((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlCursor_isReadOnly(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlCursor*) QtSupport::getQt(env, obj))->isReadOnly(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlCursor_isSelect(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->isSelect(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlCursor_isTrimmed(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) ((TQSqlCursor*) QtSupport::getQt(env, obj))->isTrimmed((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlCursor_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlCursor_lastError(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlError(((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->lastError()), "org.kde.qt.TQSqlError", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlCursor_lastQuery(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->lastQuery(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlCursor_last(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->last(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSqlCursor_mode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSqlCursor*) QtSupport::getQt(env, obj))->mode(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlCursor_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQSqlCursor*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlCursor_newTQSqlCursor__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlCursorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlCursor_newTQSqlCursor__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 TQSqlCursorJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlCursor_newTQSqlCursor__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring name, jboolean autopopulate) -{ -static TQString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlCursorJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (bool) autopopulate)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlCursor_newTQSqlCursor__Ljava_lang_String_2ZLorg_kde_qt_QSqlDatabase_2(JNIEnv* env, jobject obj, jstring name, jboolean autopopulate, jobject db) -{ -static TQString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlCursorJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (bool) autopopulate, (TQSqlDatabase*) QtSupport::getQt(env, db))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlCursor_newTQSqlCursor__Lorg_kde_qt_QSqlCursor_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlCursorJBridge((const TQSqlCursor&)*(const TQSqlCursor*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlCursor_next(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->next(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSqlCursor_numRowsAffected(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->numRowsAffected(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlCursor_prepare(JNIEnv* env, jobject obj, jstring query) -{ -static TQString* _qstring_query = 0; - jboolean xret = (jboolean) ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->prepare((const TQString&)*(TQString*) QtSupport::toTQString(env, query, &_qstring_query)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlCursor_prev(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->prev(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlCursor_primaryIndex__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlIndex(((TQSqlCursor*) QtSupport::getQt(env, obj))->primaryIndex()), "org.kde.qt.TQSqlIndex", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlCursor_primaryIndex__Z(JNIEnv* env, jobject obj, jboolean prime) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlIndex(((TQSqlCursor*) QtSupport::getQt(env, obj))->primaryIndex((bool) prime)), "org.kde.qt.TQSqlIndex", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlCursor_primeDelete(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlCursor*) QtSupport::getQt(env, obj))->primeDelete(), "org.kde.qt.TQSqlRecord"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlCursor_primeInsert(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlCursor*) QtSupport::getQt(env, obj))->primeInsert(), "org.kde.qt.TQSqlRecord"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlCursor_primeUpdate(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlCursor*) QtSupport::getQt(env, obj))->primeUpdate(), "org.kde.qt.TQSqlRecord"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlCursor_remove(JNIEnv* env, jobject obj, jint pos) -{ - ((TQSqlCursor*) QtSupport::getQt(env, obj))->remove((int) pos); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlCursor_result(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->result(), "org.kde.qt.TQSqlResult"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlCursor_seek__I(JNIEnv* env, jobject obj, jint i) -{ - jboolean xret = (jboolean) ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->seek((int) i); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlCursor_seek__IZ(JNIEnv* env, jobject obj, jint i, jboolean relative) -{ - jboolean xret = (jboolean) ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->seek((int) i, (bool) relative); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlCursor_select__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlCursor*) QtSupport::getQt(env, obj))->select(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlCursor_select__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filter) -{ -static TQString* _qstring_filter = 0; - jboolean xret = (jboolean) ((TQSqlCursor*) QtSupport::getQt(env, obj))->select((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlCursor_select__Ljava_lang_String_2Lorg_kde_qt_QSqlIndex_2(JNIEnv* env, jobject obj, jstring filter, jobject sort) -{ -static TQString* _qstring_filter = 0; - jboolean xret = (jboolean) ((TQSqlCursor*) QtSupport::getQt(env, obj))->select((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (const TQSqlIndex&)*(const TQSqlIndex*) QtSupport::getQt(env, sort)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlCursor_select__Lorg_kde_qt_QSqlIndex_2(JNIEnv* env, jobject obj, jobject sort) -{ - jboolean xret = (jboolean) ((TQSqlCursor*) QtSupport::getQt(env, obj))->select((const TQSqlIndex&)*(const TQSqlIndex*) QtSupport::getQt(env, sort)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlCursor_select__Lorg_kde_qt_QSqlIndex_2Lorg_kde_qt_QSqlIndex_2(JNIEnv* env, jobject obj, jobject filter, jobject sort) -{ - jboolean xret = (jboolean) ((TQSqlCursor*) QtSupport::getQt(env, obj))->select((const TQSqlIndex&)*(const TQSqlIndex*) QtSupport::getQt(env, filter), (const TQSqlIndex&)*(const TQSqlIndex*) QtSupport::getQt(env, sort)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlCursor_setCalculated(JNIEnv* env, jobject obj, jstring name, jboolean calculated) -{ -static TQString* _qstring_name = 0; - ((TQSqlCursor*) QtSupport::getQt(env, obj))->setCalculated((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (bool) calculated); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlCursor_setFilter(JNIEnv* env, jobject obj, jstring filter) -{ -static TQString* _qstring_filter = 0; - ((TQSqlCursor*) QtSupport::getQt(env, obj))->setFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlCursor_setForwardOnly(JNIEnv* env, jobject obj, jboolean forward) -{ - ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->setForwardOnly((bool) forward); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlCursor_setGenerated__IZ(JNIEnv* env, jobject obj, jint i, jboolean generated) -{ - ((TQSqlCursor*) QtSupport::getQt(env, obj))->setGenerated((int) i, (bool) generated); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlCursor_setGenerated__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring name, jboolean generated) -{ -static TQString* _qstring_name = 0; - ((TQSqlCursor*) QtSupport::getQt(env, obj))->setGenerated((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (bool) generated); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlCursor_setMode(JNIEnv* env, jobject obj, jint flags) -{ - ((TQSqlCursor*) QtSupport::getQt(env, obj))->setMode((int) flags); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlCursor_setName__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((TQSqlCursor*) QtSupport::getQt(env, obj))->setName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlCursor_setName__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring name, jboolean autopopulate) -{ -static TQString* _qstring_name = 0; - ((TQSqlCursor*) QtSupport::getQt(env, obj))->setName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (bool) autopopulate); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlCursor_setPrimaryIndex(JNIEnv* env, jobject obj, jobject idx) -{ - ((TQSqlCursor*) QtSupport::getQt(env, obj))->setPrimaryIndex((const TQSqlIndex&)*(const TQSqlIndex*) QtSupport::getQt(env, idx)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlCursor_setSort(JNIEnv* env, jobject obj, jobject sort) -{ - ((TQSqlCursor*) QtSupport::getQt(env, obj))->setSort((const TQSqlIndex&)*(const TQSqlIndex*) QtSupport::getQt(env, sort)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlCursor_setTrimmed(JNIEnv* env, jobject obj, jstring name, jboolean trim) -{ -static TQString* _qstring_name = 0; - ((TQSqlCursor*) QtSupport::getQt(env, obj))->setTrimmed((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (bool) trim); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlCursor_setValue__ILorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jint i, jobject val) -{ - ((TQSqlCursor*) QtSupport::getQt(env, obj))->setValue((int) i, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlCursor_setValue__Ljava_lang_String_2Lorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jstring name, jobject val) -{ -static TQString* _qstring_name = 0; - ((TQSqlCursor*) QtSupport::getQt(env, obj))->setValue((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSqlCursor_size(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->size(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlCursor_sort(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlIndex(((TQSqlCursor*) QtSupport::getQt(env, obj))->sort()), "org.kde.qt.TQSqlIndex", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlCursor_toString__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQSqlCursor*) QtSupport::getQt(env, obj))->toString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlCursor_toString__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring prefix) -{ - TQString _qstring; -static TQString* _qstring_prefix = 0; - _qstring = ((TQSqlCursor*) QtSupport::getQt(env, obj))->toString((const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlCursor_toString__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring prefix, jstring sep) -{ - TQString _qstring; -static TQString* _qstring_prefix = 0; -static TQString* _qstring_sep = 0; - _qstring = ((TQSqlCursor*) QtSupport::getQt(env, obj))->toString((const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix), (const TQString&)*(TQString*) QtSupport::toTQString(env, sep, &_qstring_sep)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlCursor_toString__Ljava_lang_String_2Lorg_kde_qt_QSqlField_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring prefix, jobject field, jstring fieldSep) -{ - TQString _qstring; -static TQString* _qstring_prefix = 0; -static TQString* _qstring_fieldSep = 0; - _qstring = ((TQSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_toString((const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix), (TQSqlField*) QtSupport::getQt(env, field), (const TQString&)*(TQString*) QtSupport::toTQString(env, fieldSep, &_qstring_fieldSep)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlCursor_toString__Lorg_kde_qt_QSqlIndex_2Lorg_kde_qt_QSqlRecord_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject i, jobject rec, jstring prefix, jstring fieldSep, jstring sep) -{ - TQString _qstring; -static TQString* _qstring_prefix = 0; -static TQString* _qstring_fieldSep = 0; -static TQString* _qstring_sep = 0; - _qstring = ((TQSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_toString((const TQSqlIndex&)*(const TQSqlIndex*) QtSupport::getQt(env, i), (TQSqlRecord*) QtSupport::getQt(env, rec), (const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix), (const TQString&)*(TQString*) QtSupport::toTQString(env, fieldSep, &_qstring_fieldSep), (const TQString&)*(TQString*) QtSupport::toTQString(env, sep, &_qstring_sep)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlCursor_toString__Lorg_kde_qt_QSqlRecord_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject rec, jstring prefix, jstring fieldSep, jstring sep) -{ - TQString _qstring; -static TQString* _qstring_prefix = 0; -static TQString* _qstring_fieldSep = 0; -static TQString* _qstring_sep = 0; - _qstring = ((TQSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_toString((TQSqlRecord*) QtSupport::getQt(env, rec), (const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix), (const TQString&)*(TQString*) QtSupport::toTQString(env, fieldSep, &_qstring_fieldSep), (const TQString&)*(TQString*) QtSupport::toTQString(env, sep, &_qstring_sep)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSqlCursor_update__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSqlCursor*) QtSupport::getQt(env, obj))->update(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSqlCursor_update__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filter) -{ -static TQString* _qstring_filter = 0; - jint xret = (jint) ((TQSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_update((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSqlCursor_update__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring filter, jboolean invalidate) -{ -static TQString* _qstring_filter = 0; - jint xret = (jint) ((TQSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_update((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (bool) invalidate); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSqlCursor_update__Z(JNIEnv* env, jobject obj, jboolean invalidate) -{ - jint xret = (jint) ((TQSqlCursor*) QtSupport::getQt(env, obj))->update((bool) invalidate); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlCursor_value__I(JNIEnv* env, jobject obj, jint i) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSqlCursor*) QtSupport::getQt(env, obj))->value((int) i)), "org.kde.qt.TQVariant", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlCursor_value__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSqlCursor*) QtSupport::getQt(env, obj))->value((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQVariant", TRUE); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QSqlCursor.h b/qtjava/javalib/qtjava/QSqlCursor.h deleted file mode 100644 index 89cf9c19..00000000 --- a/qtjava/javalib/qtjava/QSqlCursor.h +++ /dev/null @@ -1,119 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QSqlCursor__ -#define __org_kde_qt_QSqlCursor__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_newTQSqlCursor__Ljava_lang_String_2ZLorg_kde_qt_QSqlDatabase_2 (JNIEnv *env, jobject, jstring, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_newTQSqlCursor__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_newTQSqlCursor__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_newTQSqlCursor__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_newTQSqlCursor__Lorg_kde_qt_QSqlCursor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlCursor_value__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlCursor_value__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_setValue__ILorg_kde_qt_QVariant_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_setValue__Ljava_lang_String_2Lorg_kde_qt_QVariant_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlCursor_primaryIndex__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlCursor_primaryIndex__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlCursor_index___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlCursor_index__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_setPrimaryIndex (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_append (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_insert__ILorg_kde_qt_QSqlFieldInfo_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_remove (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_setGenerated__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_setGenerated__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlCursor_editBuffer__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlCursor_editBuffer__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlCursor_primeInsert (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlCursor_primeUpdate (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlCursor_primeDelete (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlCursor_insert__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlCursor_insert__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlCursor_update__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlCursor_update__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlCursor_del__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlCursor_del__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_setMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlCursor_mode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_setCalculated (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_isCalculated (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_setTrimmed (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_isTrimmed (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_isReadOnly (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_canInsert (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_canUpdate (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_canDelete (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_select__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_select__Lorg_kde_qt_QSqlIndex_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_select__Lorg_kde_qt_QSqlIndex_2Lorg_kde_qt_QSqlIndex_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_select__Ljava_lang_String_2Lorg_kde_qt_QSqlIndex_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_select__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_setSort (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlCursor_sort (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_setFilter (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlCursor_filter (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_setName__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_setName__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlCursor_name (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlCursor_toString__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlCursor_toString__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlCursor_toString__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_isNull__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_isNull__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_afterSeek (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_exec__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlCursor_calculateField (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlCursor_update__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlCursor_update__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlCursor_del__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlCursor_del__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlCursor_toString__Ljava_lang_String_2Lorg_kde_qt_QSqlField_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlCursor_toString__Lorg_kde_qt_QSqlRecord_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlCursor_toString__Lorg_kde_qt_QSqlIndex_2Lorg_kde_qt_QSqlRecord_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_qt_QSqlCursor_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_isActive (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlCursor_at (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlCursor_lastQuery (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlCursor_numRowsAffected (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlCursor_lastError (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_isSelect (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlCursor_size (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlCursor_driver (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlCursor_result (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_isForwardOnly (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_setForwardOnly (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_seek__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_seek__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_next (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_prev (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_first (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_last (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_exec__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_prepare (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_bindValue__Ljava_lang_String_2Lorg_kde_qt_QVariant_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_bindValue__ILorg_kde_qt_QVariant_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_addBindValue__Lorg_kde_qt_QVariant_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_bindValue__Ljava_lang_String_2Lorg_kde_qt_QVariant_2I (JNIEnv *env, jobject, jstring, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_bindValue__ILorg_kde_qt_QVariant_2I (JNIEnv *env, jobject, jint, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_addBindValue__Lorg_kde_qt_QVariant_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlCursor_boundValue__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlCursor_boundValue__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlCursor_executedQuery (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_beforeSeek (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QSqlCursor__ */ diff --git a/qtjava/javalib/qtjava/QSqlDatabase.cpp b/qtjava/javalib/qtjava/QSqlDatabase.cpp deleted file mode 100644 index d2a59275..00000000 --- a/qtjava/javalib/qtjava/QSqlDatabase.cpp +++ /dev/null @@ -1,554 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQSqlDatabaseJBridge : public TQSqlDatabase -{ -public: - TQSqlDatabaseJBridge(const TQString& arg1,const TQString& arg2,TQObject* arg3,const char* arg4) : TQSqlDatabase(arg1,arg2,arg3,arg4) {}; - TQSqlDatabaseJBridge(const TQString& arg1,const TQString& arg2,TQObject* arg3) : TQSqlDatabase(arg1,arg2,arg3) {}; - TQSqlDatabaseJBridge(const TQString& arg1,const TQString& arg2) : TQSqlDatabase(arg1,arg2) {}; - TQSqlDatabaseJBridge(TQSqlDriver* arg1,TQObject* arg2,const char* arg3) : TQSqlDatabase(arg1,arg2,arg3) {}; - TQSqlDatabaseJBridge(TQSqlDriver* arg1,TQObject* arg2) : TQSqlDatabase(arg1,arg2) {}; - TQSqlDatabaseJBridge(TQSqlDriver* arg1) : TQSqlDatabase(arg1) {}; - ~TQSqlDatabaseJBridge() {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.qt.TQSqlDatabase",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_addDatabase__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring type) -{ - (void) cls; -static TQString* _qstring_type = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlDatabaseJBridge::addDatabase((const TQString&)*(TQString*) QtSupport::toTQString(env, type, &_qstring_type)), "org.kde.qt.TQSqlDatabase"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_addDatabase__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring type, jstring connectionName) -{ - (void) cls; -static TQString* _qstring_type = 0; -static TQString* _qstring_connectionName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlDatabaseJBridge::addDatabase((const TQString&)*(TQString*) QtSupport::toTQString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, connectionName, &_qstring_connectionName)), "org.kde.qt.TQSqlDatabase"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_addDatabase__Lorg_kde_qt_QSqlDriver_2(JNIEnv* env, jclass cls, jobject driver) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlDatabaseJBridge::addDatabase((TQSqlDriver*) QtSupport::getQt(env, driver)), "org.kde.qt.TQSqlDatabase"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_addDatabase__Lorg_kde_qt_QSqlDriver_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject driver, jstring connectionName) -{ - (void) cls; -static TQString* _qstring_connectionName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlDatabaseJBridge::addDatabase((TQSqlDriver*) QtSupport::getQt(env, driver), (const TQString&)*(TQString*) QtSupport::toTQString(env, connectionName, &_qstring_connectionName)), "org.kde.qt.TQSqlDatabase"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlDatabase_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQSqlDatabase*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_close(JNIEnv* env, jobject obj) -{ - ((TQSqlDatabase*) QtSupport::getQt(env, obj))->close(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlDatabase_commit(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlDatabase*) QtSupport::getQt(env, obj))->commit(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlDatabase_connectOptions(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQSqlDatabase*) QtSupport::getQt(env, obj))->connectOptions(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlDatabase_contains__(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TQSqlDatabaseJBridge::contains(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlDatabase_contains__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring connectionName) -{ - (void) cls; -static TQString* _qstring_connectionName = 0; - jboolean xret = (jboolean) TQSqlDatabaseJBridge::contains((const TQString&)*(TQString*) QtSupport::toTQString(env, connectionName, &_qstring_connectionName)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlDatabase_databaseName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQSqlDatabase*) QtSupport::getQt(env, obj))->databaseName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_database__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlDatabaseJBridge::database(), "org.kde.qt.TQSqlDatabase"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_database__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring connectionName) -{ - (void) cls; -static TQString* _qstring_connectionName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlDatabaseJBridge::database((const TQString&)*(TQString*) QtSupport::toTQString(env, connectionName, &_qstring_connectionName)), "org.kde.qt.TQSqlDatabase"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_database__Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring connectionName, jboolean open) -{ - (void) cls; -static TQString* _qstring_connectionName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlDatabaseJBridge::database((const TQString&)*(TQString*) QtSupport::toTQString(env, connectionName, &_qstring_connectionName), (bool) open), "org.kde.qt.TQSqlDatabase"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QSqlDatabase_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlDatabase_driverName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQSqlDatabase*) QtSupport::getQt(env, obj))->driverName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_driver(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlDatabase*) QtSupport::getQt(env, obj))->driver(), "org.kde.qt.TQSqlDriver"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_drivers(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = TQSqlDatabaseJBridge::drivers(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_exec__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlQuery(((TQSqlDatabase*) QtSupport::getQt(env, obj))->exec()), "org.kde.qt.TQSqlQueryInterface", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_exec__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring query) -{ -static TQString* _qstring_query = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlQuery(((TQSqlDatabase*) QtSupport::getQt(env, obj))->exec((const TQString&)*(TQString*) QtSupport::toTQString(env, query, &_qstring_query))), "org.kde.qt.TQSqlQueryInterface", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQSqlDatabase*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQSqlDatabase*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlDatabase_hostName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQSqlDatabase*) QtSupport::getQt(env, obj))->hostName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlDatabase_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlDatabase_isDriverAvailable(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) TQSqlDatabaseJBridge::isDriverAvailable((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlDatabase_isOpenError(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlDatabase*) QtSupport::getQt(env, obj))->isOpenError(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlDatabase_isOpen(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlDatabase*) QtSupport::getQt(env, obj))->isOpen(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_lastError(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlError(((TQSqlDatabase*) QtSupport::getQt(env, obj))->lastError()), "org.kde.qt.TQSqlError", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlDatabase*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_newTQSqlDatabase__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring type, jstring name) -{ -static TQString* _qstring_type = 0; -static TQString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlDatabaseJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_newTQSqlDatabase__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring type, jstring name, jobject parent) -{ -static TQString* _qstring_type = 0; -static TQString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlDatabaseJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_newTQSqlDatabase__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring type, jstring name, jobject parent, jstring objname) -{ -static TQString* _qstring_type = 0; -static TQString* _qstring_name = 0; -static TQCString* _qstring_objname = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlDatabaseJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, objname, &_qstring_objname))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_newTQSqlDatabase__Lorg_kde_qt_QSqlDriver_2(JNIEnv* env, jobject obj, jobject driver) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlDatabaseJBridge((TQSqlDriver*) QtSupport::getQt(env, driver))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_newTQSqlDatabase__Lorg_kde_qt_QSqlDriver_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject driver, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlDatabaseJBridge((TQSqlDriver*) QtSupport::getQt(env, driver), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_newTQSqlDatabase__Lorg_kde_qt_QSqlDriver_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject driver, jobject parent, jstring objname) -{ -static TQCString* _qstring_objname = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlDatabaseJBridge((TQSqlDriver*) QtSupport::getQt(env, driver), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, objname, &_qstring_objname))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlDatabase_open__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlDatabase*) QtSupport::getQt(env, obj))->open(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlDatabase_open__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring user, jstring password) -{ -static TQString* _qstring_user = 0; -static TQString* _qstring_password = 0; - jboolean xret = (jboolean) ((TQSqlDatabase*) QtSupport::getQt(env, obj))->open((const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, password, &_qstring_password)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlDatabase_password(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQSqlDatabase*) QtSupport::getQt(env, obj))->password(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSqlDatabase_port(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSqlDatabase*) QtSupport::getQt(env, obj))->port(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_primaryIndex(JNIEnv* env, jobject obj, jstring tablename) -{ -static TQString* _qstring_tablename = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlIndex(((TQSqlDatabase*) QtSupport::getQt(env, obj))->primaryIndex((const TQString&)*(TQString*) QtSupport::toTQString(env, tablename, &_qstring_tablename))), "org.kde.qt.TQSqlIndex", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_recordInfo__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring tablename) -{ -static TQString* _qstring_tablename = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlRecordInfo(((TQSqlDatabase*) QtSupport::getQt(env, obj))->recordInfo((const TQString&)*(TQString*) QtSupport::toTQString(env, tablename, &_qstring_tablename))), "org.kde.qt.TQSqlRecordInfo", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_recordInfo__Lorg_kde_qt_QSqlQueryInterface_2(JNIEnv* env, jobject obj, jobject query) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlRecordInfo(((TQSqlDatabase*) QtSupport::getQt(env, obj))->recordInfo((const TQSqlQuery&)*(const TQSqlQuery*) QtSupport::getQt(env, query))), "org.kde.qt.TQSqlRecordInfo", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_record__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring tablename) -{ -static TQString* _qstring_tablename = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlRecord(((TQSqlDatabase*) QtSupport::getQt(env, obj))->record((const TQString&)*(TQString*) QtSupport::toTQString(env, tablename, &_qstring_tablename))), "org.kde.qt.TQSqlRecord", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_record__Lorg_kde_qt_QSqlQueryInterface_2(JNIEnv* env, jobject obj, jobject query) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlRecord(((TQSqlDatabase*) QtSupport::getQt(env, obj))->record((const TQSqlQuery&)*(const TQSqlQuery*) QtSupport::getQt(env, query))), "org.kde.qt.TQSqlRecord", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_removeDatabase__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring connectionName) -{ - (void) cls; -static TQString* _qstring_connectionName = 0; - TQSqlDatabaseJBridge::removeDatabase((const TQString&)*(TQString*) QtSupport::toTQString(env, connectionName, &_qstring_connectionName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_removeDatabase__Lorg_kde_qt_QSqlDatabase_2(JNIEnv* env, jclass cls, jobject db) -{ - (void) cls; - TQSqlDatabaseJBridge::removeDatabase((TQSqlDatabase*) QtSupport::getQt(env, db)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlDatabase_rollback(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlDatabase*) QtSupport::getQt(env, obj))->rollback(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_setConnectOptions__(JNIEnv* env, jobject obj) -{ - ((TQSqlDatabase*) QtSupport::getQt(env, obj))->setConnectOptions(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_setConnectOptions__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring options) -{ -static TQString* _qstring_options = 0; - ((TQSqlDatabase*) QtSupport::getQt(env, obj))->setConnectOptions((const TQString&)*(TQString*) QtSupport::toTQString(env, options, &_qstring_options)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_setDatabaseName(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((TQSqlDatabase*) QtSupport::getQt(env, obj))->setDatabaseName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_setHostName(JNIEnv* env, jobject obj, jstring host) -{ -static TQString* _qstring_host = 0; - ((TQSqlDatabase*) QtSupport::getQt(env, obj))->setHostName((const TQString&)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_setPassword(JNIEnv* env, jobject obj, jstring password) -{ -static TQString* _qstring_password = 0; - ((TQSqlDatabase*) QtSupport::getQt(env, obj))->setPassword((const TQString&)*(TQString*) QtSupport::toTQString(env, password, &_qstring_password)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_setPort(JNIEnv* env, jobject obj, jint p) -{ - ((TQSqlDatabase*) QtSupport::getQt(env, obj))->setPort((int) p); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_setUserName(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((TQSqlDatabase*) QtSupport::getQt(env, obj))->setUserName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_tables__(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TQSqlDatabase*) QtSupport::getQt(env, obj))->tables(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_tables__I(JNIEnv* env, jobject obj, jint type) -{ - TQStringList _qlist; - _qlist = ((TQSqlDatabase*) QtSupport::getQt(env, obj))->tables((TQSql::TableType) type); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlDatabase_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQSqlDatabaseJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlDatabase_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQSqlDatabaseJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlDatabase_transaction(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlDatabase*) QtSupport::getQt(env, obj))->transaction(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlDatabase_userName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQSqlDatabase*) QtSupport::getQt(env, obj))->userName(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QSqlDatabase.h b/qtjava/javalib/qtjava/QSqlDatabase.h deleted file mode 100644 index e36b4cdb..00000000 --- a/qtjava/javalib/qtjava/QSqlDatabase.h +++ /dev/null @@ -1,77 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QSqlDatabase__ -#define __org_kde_qt_QSqlDatabase__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlDatabase_className (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDatabase_open__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDatabase_open__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDatabase_close (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDatabase_isOpen (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDatabase_isOpenError (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_tables__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_tables__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_primaryIndex (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_record__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_record__Lorg_kde_qt_QSqlQueryInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_recordInfo__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_recordInfo__Lorg_kde_qt_QSqlQueryInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_exec__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_exec__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_lastError (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDatabase_transaction (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDatabase_commit (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDatabase_rollback (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDatabase_setDatabaseName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDatabase_setUserName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDatabase_setPassword (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDatabase_setHostName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDatabase_setPort (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDatabase_setConnectOptions__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDatabase_setConnectOptions__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlDatabase_databaseName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlDatabase_userName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlDatabase_password (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlDatabase_hostName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlDatabase_driverName (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlDatabase_port (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlDatabase_connectOptions (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_driver (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlDatabase_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlDatabase_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_addDatabase__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_addDatabase__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_addDatabase__Lorg_kde_qt_QSqlDriver_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_addDatabase__Lorg_kde_qt_QSqlDriver_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_database__Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_database__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_database__ (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDatabase_removeDatabase__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDatabase_removeDatabase__Lorg_kde_qt_QSqlDatabase_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDatabase_contains__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDatabase_contains__ (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_drivers (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDatabase_isDriverAvailable (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDatabase_newTQSqlDatabase__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_qt_QSqlDatabase_newTQSqlDatabase__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDatabase_newTQSqlDatabase__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDatabase_newTQSqlDatabase__Lorg_kde_qt_QSqlDriver_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDatabase_newTQSqlDatabase__Lorg_kde_qt_QSqlDriver_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDatabase_newTQSqlDatabase__Lorg_kde_qt_QSqlDriver_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDatabase_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDatabase_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDatabase_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QSqlDatabase__ */ diff --git a/qtjava/javalib/qtjava/QSqlDriver.cpp b/qtjava/javalib/qtjava/QSqlDriver.cpp deleted file mode 100644 index be9ceee1..00000000 --- a/qtjava/javalib/qtjava/QSqlDriver.cpp +++ /dev/null @@ -1,243 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlDriver_beginTransaction(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlDriver*) QtSupport::getQt(env, obj))->beginTransaction(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlDriver_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQSqlDriver*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDriver_close(JNIEnv* env, jobject obj) -{ - ((TQSqlDriver*) QtSupport::getQt(env, obj))->close(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlDriver_commitTransaction(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlDriver*) QtSupport::getQt(env, obj))->commitTransaction(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDriver_createQuery(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlQuery(((TQSqlDriver*) QtSupport::getQt(env, obj))->createQuery()), "org.kde.qt.TQSqlQueryInterface", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlDriver_formatValue__Lorg_kde_qt_QSqlField_2(JNIEnv* env, jobject obj, jobject field) -{ - TQString _qstring; - _qstring = ((TQSqlDriver*) QtSupport::getQt(env, obj))->formatValue((const TQSqlField*) QtSupport::getQt(env, field)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlDriver_formatValue__Lorg_kde_qt_QSqlField_2Z(JNIEnv* env, jobject obj, jobject field, jboolean trimStrings) -{ - TQString _qstring; - _qstring = ((TQSqlDriver*) QtSupport::getQt(env, obj))->formatValue((const TQSqlField*) QtSupport::getQt(env, field), (bool) trimStrings); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlDriver_hasFeature(JNIEnv* env, jobject obj, jint f) -{ - jboolean xret = (jboolean) ((TQSqlDriver*) QtSupport::getQt(env, obj))->hasFeature((TQSqlDriver::DriverFeature) f); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlDriver_isOpenError(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlDriver*) QtSupport::getQt(env, obj))->isOpenError(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlDriver_isOpen(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlDriver*) QtSupport::getQt(env, obj))->isOpen(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDriver_lastError(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlError(((TQSqlDriver*) QtSupport::getQt(env, obj))->lastError()), "org.kde.qt.TQSqlError", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDriver_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlDriver*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlDriver_nullText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQSqlDriver*) QtSupport::getQt(env, obj))->nullText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlDriver_open__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring db) -{ -static TQString* _qstring_db = 0; - jboolean xret = (jboolean) ((TQSqlDriver*) QtSupport::getQt(env, obj))->open((const TQString&)*(TQString*) QtSupport::toTQString(env, db, &_qstring_db)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlDriver_open__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring db, jstring user) -{ -static TQString* _qstring_db = 0; -static TQString* _qstring_user = 0; - jboolean xret = (jboolean) ((TQSqlDriver*) QtSupport::getQt(env, obj))->open((const TQString&)*(TQString*) QtSupport::toTQString(env, db, &_qstring_db), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlDriver_open__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring db, jstring user, jstring password) -{ -static TQString* _qstring_db = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_password = 0; - jboolean xret = (jboolean) ((TQSqlDriver*) QtSupport::getQt(env, obj))->open((const TQString&)*(TQString*) QtSupport::toTQString(env, db, &_qstring_db), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, password, &_qstring_password)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlDriver_open__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring db, jstring user, jstring password, jstring host) -{ -static TQString* _qstring_db = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_password = 0; -static TQString* _qstring_host = 0; - jboolean xret = (jboolean) ((TQSqlDriver*) QtSupport::getQt(env, obj))->open((const TQString&)*(TQString*) QtSupport::toTQString(env, db, &_qstring_db), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, password, &_qstring_password), (const TQString&)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlDriver_open__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring db, jstring user, jstring password, jstring host, jint port) -{ -static TQString* _qstring_db = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_password = 0; -static TQString* _qstring_host = 0; - jboolean xret = (jboolean) ((TQSqlDriver*) QtSupport::getQt(env, obj))->open((const TQString&)*(TQString*) QtSupport::toTQString(env, db, &_qstring_db), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, password, &_qstring_password), (const TQString&)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host), (int) port); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlDriver_open__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jstring db, jstring user, jstring password, jstring host, jint port, jstring connOpts) -{ -static TQString* _qstring_db = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_password = 0; -static TQString* _qstring_host = 0; -static TQString* _qstring_connOpts = 0; - jboolean xret = (jboolean) ((TQSqlDriver*) QtSupport::getQt(env, obj))->open((const TQString&)*(TQString*) QtSupport::toTQString(env, db, &_qstring_db), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, password, &_qstring_password), (const TQString&)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host), (int) port, (const TQString&)*(TQString*) QtSupport::toTQString(env, connOpts, &_qstring_connOpts)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDriver_primaryIndex(JNIEnv* env, jobject obj, jstring tableName) -{ -static TQString* _qstring_tableName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlIndex(((TQSqlDriver*) QtSupport::getQt(env, obj))->primaryIndex((const TQString&)*(TQString*) QtSupport::toTQString(env, tableName, &_qstring_tableName))), "org.kde.qt.TQSqlIndex", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDriver_recordInfo__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring tablename) -{ -static TQString* _qstring_tablename = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlRecordInfo(((TQSqlDriver*) QtSupport::getQt(env, obj))->recordInfo((const TQString&)*(TQString*) QtSupport::toTQString(env, tablename, &_qstring_tablename))), "org.kde.qt.TQSqlRecordInfo", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDriver_recordInfo__Lorg_kde_qt_QSqlQueryInterface_2(JNIEnv* env, jobject obj, jobject query) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlRecordInfo(((TQSqlDriver*) QtSupport::getQt(env, obj))->recordInfo((const TQSqlQuery&)*(const TQSqlQuery*) QtSupport::getQt(env, query))), "org.kde.qt.TQSqlRecordInfo", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDriver_record__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring tableName) -{ -static TQString* _qstring_tableName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlRecord(((TQSqlDriver*) QtSupport::getQt(env, obj))->record((const TQString&)*(TQString*) QtSupport::toTQString(env, tableName, &_qstring_tableName))), "org.kde.qt.TQSqlRecord", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDriver_record__Lorg_kde_qt_QSqlQueryInterface_2(JNIEnv* env, jobject obj, jobject query) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlRecord(((TQSqlDriver*) QtSupport::getQt(env, obj))->record((const TQSqlQuery&)*(const TQSqlQuery*) QtSupport::getQt(env, query))), "org.kde.qt.TQSqlRecord", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlDriver_rollbackTransaction(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlDriver*) QtSupport::getQt(env, obj))->rollbackTransaction(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDriver_tables(JNIEnv* env, jobject obj, jstring tableType) -{ - TQStringList _qlist; -static TQString* _qstring_tableType = 0; - _qlist = ((TQSqlDriver*) QtSupport::getQt(env, obj))->tables((const TQString&)*(TQString*) QtSupport::toTQString(env, tableType, &_qstring_tableType)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlDriver_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQSqlDriver::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlDriver_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQSqlDriver::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QSqlDriver.h b/qtjava/javalib/qtjava/QSqlDriver.h deleted file mode 100644 index a5b65426..00000000 --- a/qtjava/javalib/qtjava/QSqlDriver.h +++ /dev/null @@ -1,46 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QSqlDriver__ -#define __org_kde_qt_QSqlDriver__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDriver_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlDriver_className (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDriver_isOpen (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDriver_isOpenError (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDriver_beginTransaction (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDriver_commitTransaction (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDriver_rollbackTransaction (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDriver_tables (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDriver_primaryIndex (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDriver_record__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDriver_record__Lorg_kde_qt_QSqlQueryInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDriver_recordInfo__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDriver_recordInfo__Lorg_kde_qt_QSqlQueryInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlDriver_nullText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlDriver_formatValue__Lorg_kde_qt_QSqlField_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlDriver_formatValue__Lorg_kde_qt_QSqlField_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDriver_lastError (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDriver_hasFeature (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDriver_open__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDriver_open__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_qt_QSqlDriver_open__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDriver_open__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDriver_open__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDriver_close (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDriver_createQuery (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDriver_open__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 jstring JNICALL Java_org_kde_qt_QSqlDriver_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlDriver_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QSqlDriver__ */ diff --git a/qtjava/javalib/qtjava/QSqlEditorFactory.cpp b/qtjava/javalib/qtjava/QSqlEditorFactory.cpp deleted file mode 100644 index fd15499c..00000000 --- a/qtjava/javalib/qtjava/QSqlEditorFactory.cpp +++ /dev/null @@ -1,137 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQSqlEditorFactoryJBridge : public TQSqlEditorFactory -{ -public: - TQSqlEditorFactoryJBridge(TQObject* arg1,const char* arg2) : TQSqlEditorFactory(arg1,arg2) {}; - TQSqlEditorFactoryJBridge(TQObject* arg1) : TQSqlEditorFactory(arg1) {}; - TQSqlEditorFactoryJBridge() : TQSqlEditorFactory() {}; - ~TQSqlEditorFactoryJBridge() {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.qt.TQSqlEditorFactory",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlEditorFactory_createEditor__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QSqlField_2(JNIEnv* env, jobject obj, jobject parent, jobject field) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlEditorFactory*) QtSupport::getQt(env, obj))->createEditor((TQWidget*) QtSupport::getQt(env, parent), (const TQSqlField*) QtSupport::getQt(env, field)), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlEditorFactory_createEditor__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jobject parent, jobject variant) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlEditorFactory*) QtSupport::getQt(env, obj))->createEditor((TQWidget*) QtSupport::getQt(env, parent), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, variant)), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlEditorFactory_defaultFactory(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlEditorFactoryJBridge::defaultFactory(), "org.kde.qt.TQSqlEditorFactory"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlEditorFactory_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QSqlEditorFactory_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlEditorFactory_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQSqlEditorFactory*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQSqlEditorFactory*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlEditorFactory_installDefaultFactory(JNIEnv* env, jclass cls, jobject factory) -{ - (void) cls; - TQSqlEditorFactoryJBridge::installDefaultFactory((TQSqlEditorFactory*) QtSupport::getQt(env, factory)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlEditorFactory_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlEditorFactory_newTQSqlEditorFactory__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlEditorFactoryJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlEditorFactory_newTQSqlEditorFactory__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlEditorFactoryJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlEditorFactory_newTQSqlEditorFactory__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 TQSqlEditorFactoryJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/qtjava/javalib/qtjava/QSqlEditorFactory.h b/qtjava/javalib/qtjava/QSqlEditorFactory.h deleted file mode 100644 index 2d21e22c..00000000 --- a/qtjava/javalib/qtjava/QSqlEditorFactory.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QSqlEditorFactory__ -#define __org_kde_qt_QSqlEditorFactory__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlEditorFactory_newTQSqlEditorFactory__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlEditorFactory_newTQSqlEditorFactory__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlEditorFactory_newTQSqlEditorFactory__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlEditorFactory_createEditor__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QVariant_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlEditorFactory_createEditor__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QSqlField_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlEditorFactory_defaultFactory (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlEditorFactory_installDefaultFactory (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlEditorFactory_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlEditorFactory_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlEditorFactory_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QSqlEditorFactory__ */ diff --git a/qtjava/javalib/qtjava/QSqlError.cpp b/qtjava/javalib/qtjava/QSqlError.cpp deleted file mode 100644 index b8a34399..00000000 --- a/qtjava/javalib/qtjava/QSqlError.cpp +++ /dev/null @@ -1,192 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQSqlErrorJBridge : public TQSqlError -{ -public: - TQSqlErrorJBridge(const TQString& arg1,const TQString& arg2,int arg3,int arg4) : TQSqlError(arg1,arg2,arg3,arg4) {}; - TQSqlErrorJBridge(const TQString& arg1,const TQString& arg2,int arg3) : TQSqlError(arg1,arg2,arg3) {}; - TQSqlErrorJBridge(const TQString& arg1,const TQString& arg2) : TQSqlError(arg1,arg2) {}; - TQSqlErrorJBridge(const TQString& arg1) : TQSqlError(arg1) {}; - TQSqlErrorJBridge() : TQSqlError() {}; - TQSqlErrorJBridge(const TQSqlError& arg1) : TQSqlError(arg1) {}; - ~TQSqlErrorJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlError_databaseText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQSqlError*) QtSupport::getQt(env, obj))->databaseText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlError_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QSqlError_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlError_driverText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQSqlError*) QtSupport::getQt(env, obj))->driverText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlError_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQSqlError*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlError_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlError_newTQSqlError__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlErrorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlError_newTQSqlError__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring driverText) -{ -static TQString* _qstring_driverText = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlErrorJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, driverText, &_qstring_driverText))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlError_newTQSqlError__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring driverText, jstring databaseText) -{ -static TQString* _qstring_driverText = 0; -static TQString* _qstring_databaseText = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlErrorJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, driverText, &_qstring_driverText), (const TQString&)*(TQString*) QtSupport::toTQString(env, databaseText, &_qstring_databaseText))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlError_newTQSqlError__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring driverText, jstring databaseText, jint type) -{ -static TQString* _qstring_driverText = 0; -static TQString* _qstring_databaseText = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlErrorJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, driverText, &_qstring_driverText), (const TQString&)*(TQString*) QtSupport::toTQString(env, databaseText, &_qstring_databaseText), (int) type)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlError_newTQSqlError__Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring driverText, jstring databaseText, jint type, jint number) -{ -static TQString* _qstring_driverText = 0; -static TQString* _qstring_databaseText = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlErrorJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, driverText, &_qstring_driverText), (const TQString&)*(TQString*) QtSupport::toTQString(env, databaseText, &_qstring_databaseText), (int) type, (int) number)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlError_newTQSqlError__Lorg_kde_qt_QSqlError_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlErrorJBridge((const TQSqlError&)*(const TQSqlError*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSqlError_number(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSqlError*) QtSupport::getQt(env, obj))->number(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlError_setDatabaseText(JNIEnv* env, jobject obj, jstring databaseText) -{ -static TQString* _qstring_databaseText = 0; - ((TQSqlError*) QtSupport::getQt(env, obj))->setDatabaseText((const TQString&)*(TQString*) QtSupport::toTQString(env, databaseText, &_qstring_databaseText)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlError_setDriverText(JNIEnv* env, jobject obj, jstring driverText) -{ -static TQString* _qstring_driverText = 0; - ((TQSqlError*) QtSupport::getQt(env, obj))->setDriverText((const TQString&)*(TQString*) QtSupport::toTQString(env, driverText, &_qstring_driverText)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlError_setNumber(JNIEnv* env, jobject obj, jint number) -{ - ((TQSqlError*) QtSupport::getQt(env, obj))->setNumber((int) number); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlError_setType(JNIEnv* env, jobject obj, jint type) -{ - ((TQSqlError*) QtSupport::getQt(env, obj))->setType((int) type); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlError_showMessage__(JNIEnv* env, jobject obj) -{ - ((TQSqlError*) QtSupport::getQt(env, obj))->showMessage(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlError_showMessage__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring msg) -{ -static TQString* _qstring_msg = 0; - ((TQSqlError*) QtSupport::getQt(env, obj))->showMessage((const TQString&)*(TQString*) QtSupport::toTQString(env, msg, &_qstring_msg)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlError_text(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQSqlError*) QtSupport::getQt(env, obj))->text(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSqlError_type(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSqlError*) QtSupport::getQt(env, obj))->type(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QSqlError.h b/qtjava/javalib/qtjava/QSqlError.h deleted file mode 100644 index 3b236201..00000000 --- a/qtjava/javalib/qtjava/QSqlError.h +++ /dev/null @@ -1,38 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QSqlError__ -#define __org_kde_qt_QSqlError__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlError_newTQSqlError__Ljava_lang_String_2Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlError_newTQSqlError__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlError_newTQSqlError__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlError_newTQSqlError__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlError_newTQSqlError__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlError_newTQSqlError__Lorg_kde_qt_QSqlError_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlError_driverText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlError_setDriverText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlError_databaseText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlError_setDatabaseText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlError_type (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlError_setType (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlError_number (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlError_setNumber (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlError_text (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlError_showMessage__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlError_showMessage__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlError_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlError_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlError_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QSqlError__ */ diff --git a/qtjava/javalib/qtjava/QSqlField.cpp b/qtjava/javalib/qtjava/QSqlField.cpp deleted file mode 100644 index 3f388f1f..00000000 --- a/qtjava/javalib/qtjava/QSqlField.cpp +++ /dev/null @@ -1,173 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQSqlFieldJBridge : public TQSqlField -{ -public: - TQSqlFieldJBridge(const TQString& arg1,TQVariant::Type arg2) : TQSqlField(arg1,arg2) {}; - TQSqlFieldJBridge(const TQString& arg1) : TQSqlField(arg1) {}; - TQSqlFieldJBridge() : TQSqlField() {}; - TQSqlFieldJBridge(const TQSqlField& arg1) : TQSqlField(arg1) {}; - void public_setNull() { - TQSqlField::setNull(); - return; - } - ~TQSqlFieldJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlField_clear__(JNIEnv* env, jobject obj) -{ - ((TQSqlField*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlField_clear__Z(JNIEnv* env, jobject obj, jboolean nullify) -{ - ((TQSqlField*) QtSupport::getQt(env, obj))->clear((bool) nullify); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlField_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QSqlField_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlField_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQSqlField*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlField_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlField_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlField*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlField_isReadOnly(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlField*) QtSupport::getQt(env, obj))->isReadOnly(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlField_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQSqlField*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlField_newTQSqlField__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlFieldJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlField_newTQSqlField__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fieldName) -{ -static TQString* _qstring_fieldName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlFieldJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlField_newTQSqlField__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring fieldName, jint type) -{ -static TQString* _qstring_fieldName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlFieldJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName), (TQVariant::Type) type)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlField_newTQSqlField__Lorg_kde_qt_QSqlField_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlFieldJBridge((const TQSqlField&)*(const TQSqlField*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlField_op_1equals(JNIEnv* env, jobject obj, jobject other) -{ - jboolean xret = (jboolean) ((TQSqlField*) QtSupport::getQt(env, obj))->operator==((const TQSqlField&)*(const TQSqlField*) QtSupport::getQt(env, other)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlField_setName(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((TQSqlField*) QtSupport::getQt(env, obj))->setName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlField_setNull(JNIEnv* env, jobject obj) -{ - ((TQSqlFieldJBridge*) QtSupport::getQt(env, obj))->public_setNull(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlField_setReadOnly(JNIEnv* env, jobject obj, jboolean readOnly) -{ - ((TQSqlField*) QtSupport::getQt(env, obj))->setReadOnly((bool) readOnly); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlField_setValue(JNIEnv* env, jobject obj, jobject value) -{ - ((TQSqlField*) QtSupport::getQt(env, obj))->setValue((const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, value)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSqlField_type(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSqlField*) QtSupport::getQt(env, obj))->type(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlField_value(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSqlField*) QtSupport::getQt(env, obj))->value()), "org.kde.qt.TQVariant", TRUE); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QSqlField.h b/qtjava/javalib/qtjava/QSqlField.h deleted file mode 100644 index 2e6da3da..00000000 --- a/qtjava/javalib/qtjava/QSqlField.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QSqlField__ -#define __org_kde_qt_QSqlField__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlField_newTQSqlField__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlField_newTQSqlField__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlField_newTQSqlField__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlField_newTQSqlField__Lorg_kde_qt_QSqlField_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlField_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlField_setValue (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlField_value (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlField_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlField_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlField_setNull (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlField_isNull (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlField_setReadOnly (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlField_isReadOnly (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlField_clear__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlField_clear__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlField_type (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlField_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlField_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlField_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QSqlField__ */ diff --git a/qtjava/javalib/qtjava/QSqlFieldInfo.cpp b/qtjava/javalib/qtjava/QSqlFieldInfo.cpp deleted file mode 100644 index b3ce74df..00000000 --- a/qtjava/javalib/qtjava/QSqlFieldInfo.cpp +++ /dev/null @@ -1,307 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQSqlFieldInfoJBridge : public TQSqlFieldInfo -{ -public: - TQSqlFieldInfoJBridge(const TQString& arg1,TQVariant::Type arg2,int arg3,int arg4,int arg5,const TQVariant& arg6,int arg7,bool arg8,bool arg9,bool arg10) : TQSqlFieldInfo(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {}; - TQSqlFieldInfoJBridge(const TQString& arg1,TQVariant::Type arg2,int arg3,int arg4,int arg5,const TQVariant& arg6,int arg7,bool arg8,bool arg9) : TQSqlFieldInfo(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - TQSqlFieldInfoJBridge(const TQString& arg1,TQVariant::Type arg2,int arg3,int arg4,int arg5,const TQVariant& arg6,int arg7,bool arg8) : TQSqlFieldInfo(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - TQSqlFieldInfoJBridge(const TQString& arg1,TQVariant::Type arg2,int arg3,int arg4,int arg5,const TQVariant& arg6,int arg7) : TQSqlFieldInfo(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TQSqlFieldInfoJBridge(const TQString& arg1,TQVariant::Type arg2,int arg3,int arg4,int arg5,const TQVariant& arg6) : TQSqlFieldInfo(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TQSqlFieldInfoJBridge(const TQString& arg1,TQVariant::Type arg2,int arg3,int arg4,int arg5) : TQSqlFieldInfo(arg1,arg2,arg3,arg4,arg5) {}; - TQSqlFieldInfoJBridge(const TQString& arg1,TQVariant::Type arg2,int arg3,int arg4) : TQSqlFieldInfo(arg1,arg2,arg3,arg4) {}; - TQSqlFieldInfoJBridge(const TQString& arg1,TQVariant::Type arg2,int arg3) : TQSqlFieldInfo(arg1,arg2,arg3) {}; - TQSqlFieldInfoJBridge(const TQString& arg1,TQVariant::Type arg2) : TQSqlFieldInfo(arg1,arg2) {}; - TQSqlFieldInfoJBridge(const TQString& arg1) : TQSqlFieldInfo(arg1) {}; - TQSqlFieldInfoJBridge() : TQSqlFieldInfo() {}; - TQSqlFieldInfoJBridge(const TQSqlFieldInfo& arg1) : TQSqlFieldInfo(arg1) {}; - TQSqlFieldInfoJBridge(const TQSqlField& arg1,bool arg2) : TQSqlFieldInfo(arg1,arg2) {}; - TQSqlFieldInfoJBridge(const TQSqlField& arg1) : TQSqlFieldInfo(arg1) {}; - ~TQSqlFieldInfoJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlFieldInfo_defaultValue(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSqlFieldInfo*) QtSupport::getQt(env, obj))->defaultValue()), "org.kde.qt.TQVariant", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlFieldInfo_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QSqlFieldInfo_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlFieldInfo_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQSqlFieldInfo*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlFieldInfo_isCalculated(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlFieldInfo*) QtSupport::getQt(env, obj))->isCalculated(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlFieldInfo_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlFieldInfo_isGenerated(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlFieldInfo*) QtSupport::getQt(env, obj))->isGenerated(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSqlFieldInfo_isRequired(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSqlFieldInfo*) QtSupport::getQt(env, obj))->isRequired(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlFieldInfo_isTrim(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlFieldInfo*) QtSupport::getQt(env, obj))->isTrim(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSqlFieldInfo_length(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSqlFieldInfo*) QtSupport::getQt(env, obj))->length(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlFieldInfo_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQSqlFieldInfo*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__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 TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint typ) -{ -static TQString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint typ, jint retquired) -{ -static TQString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) retquired)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2III(JNIEnv* env, jobject obj, jstring name, jint typ, jint retquired, jint len) -{ -static TQString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) retquired, (int) len)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIII(JNIEnv* env, jobject obj, jstring name, jint typ, jint retquired, jint len, jint prec) -{ -static TQString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) retquired, (int) len, (int) prec)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jstring name, jint typ, jint retquired, jint len, jint prec, jobject defValue) -{ -static TQString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) retquired, (int) len, (int) prec, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, defValue))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2I(JNIEnv* env, jobject obj, jstring name, jint typ, jint retquired, jint len, jint prec, jobject defValue, jint sqlType) -{ -static TQString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) retquired, (int) len, (int) prec, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, defValue), (int) sqlType)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2IZ(JNIEnv* env, jobject obj, jstring name, jint typ, jint retquired, jint len, jint prec, jobject defValue, jint sqlType, jboolean generated) -{ -static TQString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) retquired, (int) len, (int) prec, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, defValue), (int) sqlType, (bool) generated)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2IZZ(JNIEnv* env, jobject obj, jstring name, jint typ, jint retquired, jint len, jint prec, jobject defValue, jint sqlType, jboolean generated, jboolean trim) -{ -static TQString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) retquired, (int) len, (int) prec, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, defValue), (int) sqlType, (bool) generated, (bool) trim)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2IZZZ(JNIEnv* env, jobject obj, jstring name, jint typ, jint retquired, jint len, jint prec, jobject defValue, jint sqlType, jboolean generated, jboolean trim, jboolean calculated) -{ -static TQString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) retquired, (int) len, (int) prec, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, defValue), (int) sqlType, (bool) generated, (bool) trim, (bool) calculated)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Lorg_kde_qt_QSqlFieldInfo_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQSqlFieldInfo&)*(const TQSqlFieldInfo*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Lorg_kde_qt_QSqlField_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQSqlField&)*(const TQSqlField*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Lorg_kde_qt_QSqlField_2Z(JNIEnv* env, jobject obj, jobject other, jboolean generated) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQSqlField&)*(const TQSqlField*) QtSupport::getQt(env, other), (bool) generated)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlFieldInfo_op_1equals(JNIEnv* env, jobject obj, jobject f) -{ - jboolean xret = (jboolean) ((TQSqlFieldInfo*) QtSupport::getQt(env, obj))->operator==((const TQSqlFieldInfo&)*(const TQSqlFieldInfo*) QtSupport::getQt(env, f)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSqlFieldInfo_precision(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSqlFieldInfo*) QtSupport::getQt(env, obj))->precision(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlFieldInfo_setCalculated(JNIEnv* env, jobject obj, jboolean calc) -{ - ((TQSqlFieldInfo*) QtSupport::getQt(env, obj))->setCalculated((bool) calc); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlFieldInfo_setGenerated(JNIEnv* env, jobject obj, jboolean gen) -{ - ((TQSqlFieldInfo*) QtSupport::getQt(env, obj))->setGenerated((bool) gen); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlFieldInfo_setTrim(JNIEnv* env, jobject obj, jboolean trim) -{ - ((TQSqlFieldInfo*) QtSupport::getQt(env, obj))->setTrim((bool) trim); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlFieldInfo_toField(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlField(((TQSqlFieldInfo*) QtSupport::getQt(env, obj))->toField()), "org.kde.qt.TQSqlField", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSqlFieldInfo_typeID(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSqlFieldInfo*) QtSupport::getQt(env, obj))->typeID(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSqlFieldInfo_type(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSqlFieldInfo*) QtSupport::getQt(env, obj))->type(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QSqlFieldInfo.h b/qtjava/javalib/qtjava/QSqlFieldInfo.h deleted file mode 100644 index f2f88df3..00000000 --- a/qtjava/javalib/qtjava/QSqlFieldInfo.h +++ /dev/null @@ -1,50 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QSqlFieldInfo__ -#define __org_kde_qt_QSqlFieldInfo__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2IZZZ (JNIEnv *env, jobject, jstring, jint, jint, jint, jint, jobject, jint, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2IZZ (JNIEnv *env, jobject, jstring, jint, jint, jint, jint, jobject, jint, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2IZ (JNIEnv *env, jobject, jstring, jint, jint, jint, jint, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2I (JNIEnv *env, jobject, jstring, jint, jint, jint, jint, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2 (JNIEnv *env, jobject, jstring, jint, jint, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIII (JNIEnv *env, jobject, jstring, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2III (JNIEnv *env, jobject, jstring, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Lorg_kde_qt_QSqlFieldInfo_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Lorg_kde_qt_QSqlField_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Lorg_kde_qt_QSqlField_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlFieldInfo_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlFieldInfo_toField (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlFieldInfo_isRequired (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlFieldInfo_type (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlFieldInfo_length (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlFieldInfo_precision (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlFieldInfo_defaultValue (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlFieldInfo_name (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlFieldInfo_typeID (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlFieldInfo_isGenerated (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlFieldInfo_isTrim (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlFieldInfo_isCalculated (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_setTrim (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_setGenerated (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_setCalculated (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlFieldInfo_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QSqlFieldInfo__ */ diff --git a/qtjava/javalib/qtjava/QSqlForm.cpp b/qtjava/javalib/qtjava/QSqlForm.cpp deleted file mode 100644 index bafbb30d..00000000 --- a/qtjava/javalib/qtjava/QSqlForm.cpp +++ /dev/null @@ -1,341 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQSqlFormJBridge : public TQSqlForm -{ -public: - TQSqlFormJBridge(TQObject* arg1,const char* arg2) : TQSqlForm(arg1,arg2) {}; - TQSqlFormJBridge(TQObject* arg1) : TQSqlForm(arg1) {}; - TQSqlFormJBridge() : TQSqlForm() {}; - void public_readFields() { - TQSqlForm::readFields(); - return; - } - void public_writeFields() { - TQSqlForm::writeFields(); - return; - } - void public_clear() { - TQSqlForm::clear(); - return; - } - void public_clearValues() { - TQSqlForm::clearValues(); - return; - } - void protected_insert(TQWidget* arg1,TQSqlField* arg2) { - TQSqlForm::insert(arg1,arg2); - return; - } - void protected_remove(TQWidget* arg1) { - TQSqlForm::remove(arg1); - return; - } - void protected_clearMap() { - TQSqlForm::clearMap(); - return; - } - ~TQSqlFormJBridge() {QtSupport::qtKeyDeleted(this);} - void writeFields() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSqlForm","writeFields")) { - TQSqlForm::writeFields(); - } - return; - } - void writeField(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"writeField",(void*)arg1,"org.kde.qt.TQWidget")) { - TQSqlForm::writeField(arg1); - } - 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.qt.TQSqlForm","clear")) { - TQSqlForm::clear(); - } - return; - } - void readFields() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSqlForm","readFields")) { - TQSqlForm::readFields(); - } - return; - } - void remove(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"remove",(void*)arg1,"org.kde.qt.TQWidget")) { - TQSqlForm::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 setRecord(TQSqlRecord* arg1) { - if (!QtSupport::eventDelegate(this,"setRecord",(void*)arg1,"org.kde.qt.TQSqlRecord")) { - TQSqlForm::setRecord(arg1); - } - return; - } - void readField(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"readField",(void*)arg1,"org.kde.qt.TQWidget")) { - TQSqlForm::readField(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.qt.TQSqlForm",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlForm_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQSqlForm*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlForm_clearMap(JNIEnv* env, jobject obj) -{ - ((TQSqlFormJBridge*) QtSupport::getQt(env, obj))->protected_clearMap(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlForm_clearValues__(JNIEnv* env, jobject obj) -{ - ((TQSqlFormJBridge*) QtSupport::getQt(env, obj))->public_clearValues(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlForm_clearValues__Z(JNIEnv* env, jobject obj, jboolean nullify) -{ - ((TQSqlForm*) QtSupport::getQt(env, obj))->clearValues((bool) nullify); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlForm_clear(JNIEnv* env, jobject obj) -{ - ((TQSqlFormJBridge*) QtSupport::getQt(env, obj))->public_clear(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSqlForm_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSqlForm*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlForm_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QSqlForm_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlForm_fieldToWidget(JNIEnv* env, jobject obj, jobject field) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlForm*) QtSupport::getQt(env, obj))->fieldToWidget((TQSqlField*) QtSupport::getQt(env, field)), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlForm_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQSqlForm*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQSqlForm*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlForm_insert__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject widget, jstring field) -{ -static TQString* _qstring_field = 0; - ((TQSqlForm*) QtSupport::getQt(env, obj))->insert((TQWidget*) QtSupport::getQt(env, widget), (const TQString&)*(TQString*) QtSupport::toTQString(env, field, &_qstring_field)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlForm_insert__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QSqlField_2(JNIEnv* env, jobject obj, jobject widget, jobject field) -{ - ((TQSqlFormJBridge*) QtSupport::getQt(env, obj))->protected_insert((TQWidget*) QtSupport::getQt(env, widget), (TQSqlField*) QtSupport::getQt(env, field)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlForm_installPropertyMap(JNIEnv* env, jobject obj, jobject map) -{ - ((TQSqlForm*) QtSupport::getQt(env, obj))->installPropertyMap((TQSqlPropertyMap*) QtSupport::getQt(env, map)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlForm_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlForm_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlForm*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlForm_newTQSqlForm__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlFormJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlForm_newTQSqlForm__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlFormJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlForm_newTQSqlForm__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 TQSqlFormJBridge((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_qt_QSqlForm_readField(JNIEnv* env, jobject obj, jobject widget) -{ - ((TQSqlForm*) QtSupport::getQt(env, obj))->readField((TQWidget*) QtSupport::getQt(env, widget)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlForm_readFields(JNIEnv* env, jobject obj) -{ - ((TQSqlFormJBridge*) QtSupport::getQt(env, obj))->public_readFields(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlForm_remove__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring field) -{ -static TQString* _qstring_field = 0; - ((TQSqlForm*) QtSupport::getQt(env, obj))->remove((const TQString&)*(TQString*) QtSupport::toTQString(env, field, &_qstring_field)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlForm_remove__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - ((TQSqlFormJBridge*) QtSupport::getQt(env, obj))->protected_remove((TQWidget*) QtSupport::getQt(env, widget)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlForm_setRecord(JNIEnv* env, jobject obj, jobject buf) -{ - ((TQSqlForm*) QtSupport::getQt(env, obj))->setRecord((TQSqlRecord*) QtSupport::getQt(env, buf)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlForm_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQSqlFormJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlForm_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQSqlFormJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlForm_widgetToField(JNIEnv* env, jobject obj, jobject widget) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlForm*) QtSupport::getQt(env, obj))->widgetToField((TQWidget*) QtSupport::getQt(env, widget)), "org.kde.qt.TQSqlField"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlForm_widget(JNIEnv* env, jobject obj, jint i) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlForm*) QtSupport::getQt(env, obj))->widget((uint) i), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlForm_writeField(JNIEnv* env, jobject obj, jobject widget) -{ - ((TQSqlForm*) QtSupport::getQt(env, obj))->writeField((TQWidget*) QtSupport::getQt(env, widget)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlForm_writeFields(JNIEnv* env, jobject obj) -{ - ((TQSqlFormJBridge*) QtSupport::getQt(env, obj))->public_writeFields(); - return; -} - diff --git a/qtjava/javalib/qtjava/QSqlForm.h b/qtjava/javalib/qtjava/QSqlForm.h deleted file mode 100644 index beb90a0c..00000000 --- a/qtjava/javalib/qtjava/QSqlForm.h +++ /dev/null @@ -1,46 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QSqlForm__ -#define __org_kde_qt_QSqlForm__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlForm_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlForm_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_newTQSqlForm__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_newTQSqlForm__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_newTQSqlForm__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_insert__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_remove__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlForm_count (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlForm_widget (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlForm_widgetToField (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlForm_fieldToWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_installPropertyMap (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_setRecord (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_readField (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_writeField (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_readFields (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_writeFields (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_clearValues__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_clearValues__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlForm_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlForm_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_insert__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QSqlField_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_remove__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_clearMap (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlForm_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QSqlForm__ */ diff --git a/qtjava/javalib/qtjava/QSqlIndex.cpp b/qtjava/javalib/qtjava/QSqlIndex.cpp deleted file mode 100644 index 5fbf290b..00000000 --- a/qtjava/javalib/qtjava/QSqlIndex.cpp +++ /dev/null @@ -1,217 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -class TQSqlIndexJBridge : public TQSqlIndex -{ -public: - TQSqlIndexJBridge(const TQString& arg1,const TQString& arg2) : TQSqlIndex(arg1,arg2) {}; - TQSqlIndexJBridge(const TQString& arg1) : TQSqlIndex(arg1) {}; - TQSqlIndexJBridge() : TQSqlIndex() {}; - TQSqlIndexJBridge(const TQSqlIndex& arg1) : TQSqlIndex(arg1) {}; - ~TQSqlIndexJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlIndex_append__Lorg_kde_qt_QSqlField_2(JNIEnv* env, jobject obj, jobject field) -{ - ((TQSqlIndex*) QtSupport::getQt(env, obj))->append((const TQSqlField&)*(const TQSqlField*) QtSupport::getQt(env, field)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlIndex_append__Lorg_kde_qt_QSqlField_2Z(JNIEnv* env, jobject obj, jobject field, jboolean desc) -{ - ((TQSqlIndex*) QtSupport::getQt(env, obj))->append((const TQSqlField&)*(const TQSqlField*) QtSupport::getQt(env, field), (bool) desc); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlIndex_cursorName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQSqlIndex*) QtSupport::getQt(env, obj))->cursorName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlIndex_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QSqlIndex_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlIndex_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQSqlIndex*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlIndex_fromStringList(JNIEnv* env, jclass cls, jobjectArray l, jobject cursor) -{ - (void) cls; -static TQStringList* _qlist_l = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlIndex(TQSqlIndexJBridge::fromStringList((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, l, &_qlist_l), (const TQSqlCursor*) QtSupport::getQt(env, cursor))), "org.kde.qt.TQSqlIndex", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlIndex_isDescending(JNIEnv* env, jobject obj, jint i) -{ - jboolean xret = (jboolean) ((TQSqlIndex*) QtSupport::getQt(env, obj))->isDescending((int) i); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlIndex_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlIndex_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQSqlIndex*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlIndex_newTQSqlIndex__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlIndexJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlIndex_newTQSqlIndex__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring cursorName) -{ -static TQString* _qstring_cursorName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlIndexJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, cursorName, &_qstring_cursorName))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlIndex_newTQSqlIndex__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring cursorName, jstring name) -{ -static TQString* _qstring_cursorName = 0; -static TQString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlIndexJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, cursorName, &_qstring_cursorName), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlIndex_newTQSqlIndex__Lorg_kde_qt_QSqlIndex_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlIndexJBridge((const TQSqlIndex&)*(const TQSqlIndex*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlIndex_setCursorName(JNIEnv* env, jobject obj, jstring cursorName) -{ -static TQString* _qstring_cursorName = 0; - ((TQSqlIndex*) QtSupport::getQt(env, obj))->setCursorName((const TQString&)*(TQString*) QtSupport::toTQString(env, cursorName, &_qstring_cursorName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlIndex_setDescending(JNIEnv* env, jobject obj, jint i, jboolean desc) -{ - ((TQSqlIndex*) QtSupport::getQt(env, obj))->setDescending((int) i, (bool) desc); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlIndex_setName(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((TQSqlIndex*) QtSupport::getQt(env, obj))->setName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlIndex_toStringList__(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TQSqlIndex*) QtSupport::getQt(env, obj))->toStringList(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlIndex_toStringList__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring prefix) -{ - TQStringList _qlist; -static TQString* _qstring_prefix = 0; - _qlist = ((TQSqlIndex*) QtSupport::getQt(env, obj))->toStringList((const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlIndex_toStringList__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring prefix, jboolean verbose) -{ - TQStringList _qlist; -static TQString* _qstring_prefix = 0; - _qlist = ((TQSqlIndex*) QtSupport::getQt(env, obj))->toStringList((const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix), (bool) verbose); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlIndex_toString__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQSqlIndex*) QtSupport::getQt(env, obj))->toString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlIndex_toString__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring prefix) -{ - TQString _qstring; -static TQString* _qstring_prefix = 0; - _qstring = ((TQSqlIndex*) QtSupport::getQt(env, obj))->toString((const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlIndex_toString__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring prefix, jstring sep) -{ - TQString _qstring; -static TQString* _qstring_prefix = 0; -static TQString* _qstring_sep = 0; - _qstring = ((TQSqlIndex*) QtSupport::getQt(env, obj))->toString((const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix), (const TQString&)*(TQString*) QtSupport::toTQString(env, sep, &_qstring_sep)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlIndex_toString__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring prefix, jstring sep, jboolean verbose) -{ - TQString _qstring; -static TQString* _qstring_prefix = 0; -static TQString* _qstring_sep = 0; - _qstring = ((TQSqlIndex*) QtSupport::getQt(env, obj))->toString((const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix), (const TQString&)*(TQString*) QtSupport::toTQString(env, sep, &_qstring_sep), (bool) verbose); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QSqlIndex.h b/qtjava/javalib/qtjava/QSqlIndex.h deleted file mode 100644 index 0abe585a..00000000 --- a/qtjava/javalib/qtjava/QSqlIndex.h +++ /dev/null @@ -1,41 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QSqlIndex__ -#define __org_kde_qt_QSqlIndex__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlIndex_newTQSqlIndex__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlIndex_newTQSqlIndex__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlIndex_newTQSqlIndex__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlIndex_newTQSqlIndex__Lorg_kde_qt_QSqlIndex_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlIndex_setCursorName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlIndex_cursorName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlIndex_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlIndex_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlIndex_append__Lorg_kde_qt_QSqlField_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlIndex_append__Lorg_kde_qt_QSqlField_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlIndex_isDescending (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlIndex_setDescending (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlIndex_toString__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlIndex_toString__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlIndex_toString__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlIndex_toString__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlIndex_toStringList__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlIndex_toStringList__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlIndex_toStringList__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlIndex_fromStringList (JNIEnv *env, jclass, jobjectArray, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlIndex_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlIndex_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlIndex_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QSqlIndex__ */ diff --git a/qtjava/javalib/qtjava/QSqlPropertyMap.cpp b/qtjava/javalib/qtjava/QSqlPropertyMap.cpp deleted file mode 100644 index 75668367..00000000 --- a/qtjava/javalib/qtjava/QSqlPropertyMap.cpp +++ /dev/null @@ -1,95 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQSqlPropertyMapJBridge : public TQSqlPropertyMap -{ -public: - TQSqlPropertyMapJBridge() : TQSqlPropertyMap() {}; - ~TQSqlPropertyMapJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlPropertyMap_defaultMap(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlPropertyMapJBridge::defaultMap(), "org.kde.qt.TQSqlPropertyMap"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlPropertyMap_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QSqlPropertyMap_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlPropertyMap_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQSqlPropertyMap*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlPropertyMap_insert(JNIEnv* env, jobject obj, jstring classname, jstring property) -{ -static TQString* _qstring_classname = 0; -static TQString* _qstring_property = 0; - ((TQSqlPropertyMap*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, classname, &_qstring_classname), (const TQString&)*(TQString*) QtSupport::toTQString(env, property, &_qstring_property)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlPropertyMap_installDefaultMap(JNIEnv* env, jclass cls, jobject map) -{ - (void) cls; - TQSqlPropertyMapJBridge::installDefaultMap((TQSqlPropertyMap*) QtSupport::getQt(env, map)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlPropertyMap_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlPropertyMap_newTQSqlPropertyMap(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlPropertyMapJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlPropertyMap_property(JNIEnv* env, jobject obj, jobject widget) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSqlPropertyMap*) QtSupport::getQt(env, obj))->property((TQWidget*) QtSupport::getQt(env, widget))), "org.kde.qt.TQVariant", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlPropertyMap_remove(JNIEnv* env, jobject obj, jstring classname) -{ -static TQString* _qstring_classname = 0; - ((TQSqlPropertyMap*) QtSupport::getQt(env, obj))->remove((const TQString&)*(TQString*) QtSupport::toTQString(env, classname, &_qstring_classname)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlPropertyMap_setProperty(JNIEnv* env, jobject obj, jobject widget, jobject value) -{ - ((TQSqlPropertyMap*) QtSupport::getQt(env, obj))->setProperty((TQWidget*) QtSupport::getQt(env, widget), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, value)); - return; -} - diff --git a/qtjava/javalib/qtjava/QSqlPropertyMap.h b/qtjava/javalib/qtjava/QSqlPropertyMap.h deleted file mode 100644 index 944b566b..00000000 --- a/qtjava/javalib/qtjava/QSqlPropertyMap.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QSqlPropertyMap__ -#define __org_kde_qt_QSqlPropertyMap__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlPropertyMap_newTQSqlPropertyMap (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlPropertyMap_property (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlPropertyMap_setProperty (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlPropertyMap_insert (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlPropertyMap_remove (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlPropertyMap_defaultMap (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlPropertyMap_installDefaultMap (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlPropertyMap_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlPropertyMap_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlPropertyMap_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QSqlPropertyMap__ */ diff --git a/qtjava/javalib/qtjava/QSqlQuery.cpp b/qtjava/javalib/qtjava/QSqlQuery.cpp deleted file mode 100644 index 370cecf8..00000000 --- a/qtjava/javalib/qtjava/QSqlQuery.cpp +++ /dev/null @@ -1,360 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include - -class TQSqlQueryJBridge : public TQSqlQuery -{ -public: - TQSqlQueryJBridge(TQSqlResult* arg1) : TQSqlQuery(arg1) {}; - TQSqlQueryJBridge(const TQString& arg1,TQSqlDatabase* arg2) : TQSqlQuery(arg1,arg2) {}; - TQSqlQueryJBridge(const TQString& arg1) : TQSqlQuery(arg1) {}; - TQSqlQueryJBridge() : TQSqlQuery() {}; - TQSqlQueryJBridge(TQSqlDatabase* arg1) : TQSqlQuery(arg1) {}; - TQSqlQueryJBridge(const TQSqlQuery& arg1) : TQSqlQuery(arg1) {}; - void protected_beforeSeek() { - TQSqlQuery::beforeSeek(); - return; - } - void protected_afterSeek() { - TQSqlQuery::afterSeek(); - return; - } - ~TQSqlQueryJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_addBindValue__Lorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jobject val) -{ - ((TQSqlQuery*) QtSupport::getQt(env, obj))->addBindValue((const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_addBindValue__Lorg_kde_qt_QVariant_2I(JNIEnv* env, jobject obj, jobject val, jint type) -{ - ((TQSqlQuery*) QtSupport::getQt(env, obj))->addBindValue((const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val), (TQSql::ParameterType) type); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_afterSeek(JNIEnv* env, jobject obj) -{ - ((TQSqlQueryJBridge*) QtSupport::getQt(env, obj))->protected_afterSeek(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSqlQuery_at(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSqlQuery*) QtSupport::getQt(env, obj))->at(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_beforeSeek(JNIEnv* env, jobject obj) -{ - ((TQSqlQueryJBridge*) QtSupport::getQt(env, obj))->protected_beforeSeek(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_bindValue__ILorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jint pos, jobject val) -{ - ((TQSqlQuery*) QtSupport::getQt(env, obj))->bindValue((int) pos, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_bindValue__ILorg_kde_qt_QVariant_2I(JNIEnv* env, jobject obj, jint pos, jobject val, jint type) -{ - ((TQSqlQuery*) QtSupport::getQt(env, obj))->bindValue((int) pos, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val), (TQSql::ParameterType) type); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_bindValue__Ljava_lang_String_2Lorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jstring placeholder, jobject val) -{ -static TQString* _qstring_placeholder = 0; - ((TQSqlQuery*) QtSupport::getQt(env, obj))->bindValue((const TQString&)*(TQString*) QtSupport::toTQString(env, placeholder, &_qstring_placeholder), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_bindValue__Ljava_lang_String_2Lorg_kde_qt_QVariant_2I(JNIEnv* env, jobject obj, jstring placeholder, jobject val, jint type) -{ -static TQString* _qstring_placeholder = 0; - ((TQSqlQuery*) QtSupport::getQt(env, obj))->bindValue((const TQString&)*(TQString*) QtSupport::toTQString(env, placeholder, &_qstring_placeholder), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val), (TQSql::ParameterType) type); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlQuery_boundValue__I(JNIEnv* env, jobject obj, jint pos) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSqlQuery*) QtSupport::getQt(env, obj))->boundValue((int) pos)), "org.kde.qt.TQVariant", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlQuery_boundValue__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring placeholder) -{ -static TQString* _qstring_placeholder = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSqlQuery*) QtSupport::getQt(env, obj))->boundValue((const TQString&)*(TQString*) QtSupport::toTQString(env, placeholder, &_qstring_placeholder))), "org.kde.qt.TQVariant", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QSqlQuery_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlQuery_driver(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlQuery*) QtSupport::getQt(env, obj))->driver(), "org.kde.qt.TQSqlDriver"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlQuery_exec__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->exec(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlQuery_exec__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring query) -{ -static TQString* _qstring_query = 0; - jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->exec((const TQString&)*(TQString*) QtSupport::toTQString(env, query, &_qstring_query)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlQuery_executedQuery(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQSqlQuery*) QtSupport::getQt(env, obj))->executedQuery(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQSqlQuery*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlQuery_first(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->first(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlQuery_isActive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->isActive(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlQuery_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlQuery_isForwardOnly(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->isForwardOnly(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlQuery_isNull(JNIEnv* env, jobject obj, jint field) -{ - jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->isNull((int) field); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlQuery_isSelect(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->isSelect(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlQuery_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlQuery_lastError(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlError(((TQSqlQuery*) QtSupport::getQt(env, obj))->lastError()), "org.kde.qt.TQSqlError", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlQuery_lastQuery(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQSqlQuery*) QtSupport::getQt(env, obj))->lastQuery(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlQuery_last(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->last(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_newTQSqlQuery__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlQueryJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_newTQSqlQuery__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring query) -{ -static TQString* _qstring_query = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlQueryJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, query, &_qstring_query))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_newTQSqlQuery__Ljava_lang_String_2Lorg_kde_qt_QSqlDatabase_2(JNIEnv* env, jobject obj, jstring query, jobject db) -{ -static TQString* _qstring_query = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlQueryJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, query, &_qstring_query), (TQSqlDatabase*) QtSupport::getQt(env, db))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_newTQSqlQuery__Lorg_kde_qt_QSqlDatabase_2(JNIEnv* env, jobject obj, jobject db) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlQueryJBridge((TQSqlDatabase*) QtSupport::getQt(env, db))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_newTQSqlQuery__Lorg_kde_qt_QSqlQueryInterface_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlQueryJBridge((const TQSqlQuery&)*(const TQSqlQuery*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_newTQSqlQuery__Lorg_kde_qt_QSqlResult_2(JNIEnv* env, jobject obj, jobject r) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlQueryJBridge((TQSqlResult*) QtSupport::getQt(env, r))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlQuery_next(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->next(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSqlQuery_numRowsAffected(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSqlQuery*) QtSupport::getQt(env, obj))->numRowsAffected(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlQuery_prepare(JNIEnv* env, jobject obj, jstring query) -{ -static TQString* _qstring_query = 0; - jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->prepare((const TQString&)*(TQString*) QtSupport::toTQString(env, query, &_qstring_query)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlQuery_prev(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->prev(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlQuery_result(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlQuery*) QtSupport::getQt(env, obj))->result(), "org.kde.qt.TQSqlResult"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlQuery_seek__I(JNIEnv* env, jobject obj, jint i) -{ - jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->seek((int) i); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlQuery_seek__IZ(JNIEnv* env, jobject obj, jint i, jboolean relative) -{ - jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->seek((int) i, (bool) relative); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_setForwardOnly(JNIEnv* env, jobject obj, jboolean forward) -{ - ((TQSqlQuery*) QtSupport::getQt(env, obj))->setForwardOnly((bool) forward); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSqlQuery_size(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSqlQuery*) QtSupport::getQt(env, obj))->size(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlQuery_value(JNIEnv* env, jobject obj, jint i) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSqlQuery*) QtSupport::getQt(env, obj))->value((int) i)), "org.kde.qt.TQVariant", TRUE); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QSqlQuery.h b/qtjava/javalib/qtjava/QSqlQuery.h deleted file mode 100644 index 13acb74d..00000000 --- a/qtjava/javalib/qtjava/QSqlQuery.h +++ /dev/null @@ -1,61 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QSqlQuery__ -#define __org_kde_qt_QSqlQuery__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_newTQSqlQuery__Lorg_kde_qt_QSqlResult_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_newTQSqlQuery__Ljava_lang_String_2Lorg_kde_qt_QSqlDatabase_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_newTQSqlQuery__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_newTQSqlQuery__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_newTQSqlQuery__Lorg_kde_qt_QSqlDatabase_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_newTQSqlQuery__Lorg_kde_qt_QSqlQueryInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlQuery_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlQuery_isActive (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlQuery_isNull (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlQuery_at (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlQuery_lastQuery (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlQuery_numRowsAffected (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlQuery_lastError (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlQuery_isSelect (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlQuery_size (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlQuery_driver (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlQuery_result (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlQuery_isForwardOnly (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_setForwardOnly (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlQuery_exec__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlQuery_value (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlQuery_seek__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlQuery_seek__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlQuery_next (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlQuery_prev (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlQuery_first (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlQuery_last (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlQuery_exec__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlQuery_prepare (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_bindValue__Ljava_lang_String_2Lorg_kde_qt_QVariant_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_bindValue__ILorg_kde_qt_QVariant_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_addBindValue__Lorg_kde_qt_QVariant_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_bindValue__Ljava_lang_String_2Lorg_kde_qt_QVariant_2I (JNIEnv *env, jobject, jstring, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_bindValue__ILorg_kde_qt_QVariant_2I (JNIEnv *env, jobject, jint, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_addBindValue__Lorg_kde_qt_QVariant_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlQuery_boundValue__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlQuery_boundValue__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlQuery_executedQuery (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_beforeSeek (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_afterSeek (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlQuery_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QSqlQuery__ */ diff --git a/qtjava/javalib/qtjava/QSqlRecord.cpp b/qtjava/javalib/qtjava/QSqlRecord.cpp deleted file mode 100644 index 31897bd1..00000000 --- a/qtjava/javalib/qtjava/QSqlRecord.cpp +++ /dev/null @@ -1,298 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include - -class TQSqlRecordJBridge : public TQSqlRecord -{ -public: - TQSqlRecordJBridge() : TQSqlRecord() {}; - TQSqlRecordJBridge(const TQSqlRecord& arg1) : TQSqlRecord(arg1) {}; - void public_clear() { - TQSqlRecord::clear(); - return; - } - void public_clearValues() { - TQSqlRecord::clearValues(); - return; - } - ~TQSqlRecordJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlRecord_append(JNIEnv* env, jobject obj, jobject field) -{ - ((TQSqlRecord*) QtSupport::getQt(env, obj))->append((const TQSqlField&)*(const TQSqlField*) QtSupport::getQt(env, field)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlRecord_clearValues__(JNIEnv* env, jobject obj) -{ - ((TQSqlRecordJBridge*) QtSupport::getQt(env, obj))->public_clearValues(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlRecord_clearValues__Z(JNIEnv* env, jobject obj, jboolean nullify) -{ - ((TQSqlRecord*) QtSupport::getQt(env, obj))->clearValues((bool) nullify); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlRecord_clear(JNIEnv* env, jobject obj) -{ - ((TQSqlRecordJBridge*) QtSupport::getQt(env, obj))->public_clear(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlRecord_contains(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) ((TQSqlRecord*) QtSupport::getQt(env, obj))->contains((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSqlRecord_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSqlRecord*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlRecord_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QSqlRecord_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlRecord_fieldName(JNIEnv* env, jobject obj, jint i) -{ - TQString _qstring; - _qstring = ((TQSqlRecord*) QtSupport::getQt(env, obj))->fieldName((int) i); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlRecord_field__I(JNIEnv* env, jobject obj, jint i) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlRecord*) QtSupport::getQt(env, obj))->field((int) i), "org.kde.qt.TQSqlField"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlRecord_field__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlRecord*) QtSupport::getQt(env, obj))->field((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)), "org.kde.qt.TQSqlField"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlRecord_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQSqlRecord*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlRecord_insert(JNIEnv* env, jobject obj, jint pos, jobject field) -{ - ((TQSqlRecord*) QtSupport::getQt(env, obj))->insert((int) pos, (const TQSqlField&)*(const TQSqlField*) QtSupport::getQt(env, field)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlRecord_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlRecord_isEmpty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQSqlRecord*) QtSupport::getQt(env, obj))->isEmpty(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlRecord_isGenerated__I(JNIEnv* env, jobject obj, jint i) -{ - jboolean xret = (jboolean) ((TQSqlRecord*) QtSupport::getQt(env, obj))->isGenerated((int) i); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlRecord_isGenerated__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) ((TQSqlRecord*) QtSupport::getQt(env, obj))->isGenerated((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlRecord_isNull__I(JNIEnv* env, jobject obj, jint i) -{ - jboolean xret = (jboolean) ((TQSqlRecord*) QtSupport::getQt(env, obj))->isNull((int) i); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlRecord_isNull__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) ((TQSqlRecord*) QtSupport::getQt(env, obj))->isNull((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlRecord_newTQSqlRecord__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlRecordJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlRecord_newTQSqlRecord__Lorg_kde_qt_QSqlRecord_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQSqlRecordJBridge((const TQSqlRecord&)*(const TQSqlRecord*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSqlRecord_position(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jint xret = (jint) ((TQSqlRecord*) QtSupport::getQt(env, obj))->position((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlRecord_remove(JNIEnv* env, jobject obj, jint pos) -{ - ((TQSqlRecord*) QtSupport::getQt(env, obj))->remove((int) pos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlRecord_setGenerated__IZ(JNIEnv* env, jobject obj, jint i, jboolean generated) -{ - ((TQSqlRecord*) QtSupport::getQt(env, obj))->setGenerated((int) i, (bool) generated); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlRecord_setGenerated__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring name, jboolean generated) -{ -static TQString* _qstring_name = 0; - ((TQSqlRecord*) QtSupport::getQt(env, obj))->setGenerated((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (bool) generated); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlRecord_setNull__I(JNIEnv* env, jobject obj, jint i) -{ - ((TQSqlRecord*) QtSupport::getQt(env, obj))->setNull((int) i); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlRecord_setNull__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((TQSqlRecord*) QtSupport::getQt(env, obj))->setNull((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlRecord_setValue__ILorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jint i, jobject val) -{ - ((TQSqlRecord*) QtSupport::getQt(env, obj))->setValue((int) i, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlRecord_setValue__Ljava_lang_String_2Lorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jstring name, jobject val) -{ -static TQString* _qstring_name = 0; - ((TQSqlRecord*) QtSupport::getQt(env, obj))->setValue((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlRecord_toStringList__(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TQSqlRecord*) QtSupport::getQt(env, obj))->toStringList(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlRecord_toStringList__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring prefix) -{ - TQStringList _qlist; -static TQString* _qstring_prefix = 0; - _qlist = ((TQSqlRecord*) QtSupport::getQt(env, obj))->toStringList((const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlRecord_toString__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQSqlRecord*) QtSupport::getQt(env, obj))->toString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlRecord_toString__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring prefix) -{ - TQString _qstring; -static TQString* _qstring_prefix = 0; - _qstring = ((TQSqlRecord*) QtSupport::getQt(env, obj))->toString((const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlRecord_toString__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring prefix, jstring sep) -{ - TQString _qstring; -static TQString* _qstring_prefix = 0; -static TQString* _qstring_sep = 0; - _qstring = ((TQSqlRecord*) QtSupport::getQt(env, obj))->toString((const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix), (const TQString&)*(TQString*) QtSupport::toTQString(env, sep, &_qstring_sep)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlRecord_value__I(JNIEnv* env, jobject obj, jint i) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSqlRecord*) QtSupport::getQt(env, obj))->value((int) i)), "org.kde.qt.TQVariant", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlRecord_value__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSqlRecord*) QtSupport::getQt(env, obj))->value((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQVariant", TRUE); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QSqlRecord.h b/qtjava/javalib/qtjava/QSqlRecord.h deleted file mode 100644 index a7c3fc21..00000000 --- a/qtjava/javalib/qtjava/QSqlRecord.h +++ /dev/null @@ -1,53 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QSqlRecord__ -#define __org_kde_qt_QSqlRecord__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlRecord_newTQSqlRecord__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlRecord_newTQSqlRecord__Lorg_kde_qt_QSqlRecord_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlRecord_value__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlRecord_value__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlRecord_setValue__ILorg_kde_qt_QVariant_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlRecord_setValue__Ljava_lang_String_2Lorg_kde_qt_QVariant_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlRecord_isGenerated__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlRecord_isGenerated__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlRecord_setGenerated__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlRecord_setGenerated__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlRecord_setNull__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlRecord_setNull__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlRecord_isNull__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlRecord_isNull__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlRecord_position (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlRecord_fieldName (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlRecord_field__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlRecord_field__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlRecord_append (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlRecord_insert (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlRecord_remove (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlRecord_isEmpty (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlRecord_contains (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlRecord_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlRecord_clearValues__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlRecord_clearValues__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlRecord_count (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlRecord_toString__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlRecord_toString__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlRecord_toString__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlRecord_toStringList__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlRecord_toStringList__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlRecord_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlRecord_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlRecord_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QSqlRecord__ */ diff --git a/qtjava/javalib/qtjava/QSqlResult.cpp b/qtjava/javalib/qtjava/QSqlResult.cpp deleted file mode 100644 index 0304fec2..00000000 --- a/qtjava/javalib/qtjava/QSqlResult.cpp +++ /dev/null @@ -1,6 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - diff --git a/qtjava/javalib/qtjava/QSqlResult.h b/qtjava/javalib/qtjava/QSqlResult.h deleted file mode 100644 index 1e30e23c..00000000 --- a/qtjava/javalib/qtjava/QSqlResult.h +++ /dev/null @@ -1,18 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QSqlResult__ -#define __org_kde_qt_QSqlResult__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QSqlResult__ */ diff --git a/qtjava/javalib/qtjava/QStatusBar.cpp b/qtjava/javalib/qtjava/QStatusBar.cpp deleted file mode 100644 index e6f8e038..00000000 --- a/qtjava/javalib/qtjava/QStatusBar.cpp +++ /dev/null @@ -1,577 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQStatusBarJBridge : public TQStatusBar -{ -public: - TQStatusBarJBridge(TQWidget* arg1,const char* arg2) : TQStatusBar(arg1,arg2) {}; - TQStatusBarJBridge(TQWidget* arg1) : TQStatusBar(arg1) {}; - TQStatusBarJBridge() : TQStatusBar() {}; - void protected_paintEvent(TQPaintEvent* arg1) { - TQStatusBar::paintEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQStatusBar::resizeEvent(arg1); - return; - } - void protected_reformat() { - TQStatusBar::reformat(); - return; - } - void protected_hideOrShow() { - TQStatusBar::hideOrShow(); - return; - } - bool protected_event(TQEvent* arg1) { - return (bool) TQStatusBar::event(arg1); - } - ~TQStatusBarJBridge() {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.qt.TQStatusBar","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.qt.TQStatusBar","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.qt.TQStatusBar","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.qt.TQStatusBar","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.qt.TQStatusBar","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.qt.TQStatusBar","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQStatusBar","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.qt.TQStatusBar","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQStatusBar","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.qt.TQStatusBar","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.qt.TQStatusBar",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.qt.TQStatusBar","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStatusBar_addWidget__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQStatusBar*) QtSupport::getQt(env, obj))->addWidget((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStatusBar_addWidget__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject arg1, jint stretch) -{ - ((TQStatusBar*) QtSupport::getQt(env, obj))->addWidget((TQWidget*) QtSupport::getQt(env, arg1), (int) stretch); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStatusBar_addWidget__Lorg_kde_qt_QWidget_2IZ(JNIEnv* env, jobject obj, jobject arg1, jint stretch, jboolean arg3) -{ - ((TQStatusBar*) QtSupport::getQt(env, obj))->addWidget((TQWidget*) QtSupport::getQt(env, arg1), (int) stretch, (bool) arg3); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QStatusBar_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQStatusBar*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStatusBar_clear(JNIEnv* env, jobject obj) -{ - ((TQStatusBar*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStatusBar_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QStatusBar_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QStatusBar_event(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQStatusBarJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStatusBar_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQStatusBar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQStatusBar*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStatusBar_hideOrShow(JNIEnv* env, jobject obj) -{ - ((TQStatusBarJBridge*) QtSupport::getQt(env, obj))->protected_hideOrShow(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QStatusBar_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QStatusBar_isSizeGripEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQStatusBar*) QtSupport::getQt(env, obj))->isSizeGripEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStatusBar_message__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQStatusBar*) QtSupport::getQt(env, obj))->message((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStatusBar_message__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring arg1, jint arg2) -{ -static TQString* _qstring_arg1 = 0; - ((TQStatusBar*) QtSupport::getQt(env, obj))->message((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (int) arg2); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QStatusBar_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQStatusBar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStatusBar_newTQStatusBar__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQStatusBarJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStatusBar_newTQStatusBar__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQStatusBarJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStatusBar_newTQStatusBar__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 TQStatusBarJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStatusBar_paintEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQStatusBarJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStatusBar_reformat(JNIEnv* env, jobject obj) -{ - ((TQStatusBarJBridge*) QtSupport::getQt(env, obj))->protected_reformat(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStatusBar_removeWidget(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQStatusBar*) QtSupport::getQt(env, obj))->removeWidget((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStatusBar_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQStatusBarJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStatusBar_setSizeGripEnabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQStatusBar*) QtSupport::getQt(env, obj))->setSizeGripEnabled((bool) arg1); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QStatusBar_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQStatusBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QStatusBar_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQStatusBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QStatusBar.h b/qtjava/javalib/qtjava/QStatusBar.h deleted file mode 100644 index 3ae80233..00000000 --- a/qtjava/javalib/qtjava/QStatusBar.h +++ /dev/null @@ -1,42 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QStatusBar__ -#define __org_kde_qt_QStatusBar__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStatusBar_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStatusBar_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_newTQStatusBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_newTQStatusBar__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_newTQStatusBar__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_addWidget__Lorg_kde_qt_QWidget_2IZ (JNIEnv *env, jobject, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_addWidget__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_addWidget__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_removeWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_setSizeGripEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStatusBar_isSizeGripEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_message__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_message__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_clear (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStatusBar_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStatusBar_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_reformat (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_hideOrShow (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStatusBar_event (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStatusBar_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QStatusBar__ */ diff --git a/qtjava/javalib/qtjava/QStoredDrag.cpp b/qtjava/javalib/qtjava/QStoredDrag.cpp deleted file mode 100644 index 78822239..00000000 --- a/qtjava/javalib/qtjava/QStoredDrag.cpp +++ /dev/null @@ -1,172 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQStoredDragJBridge : public TQStoredDrag -{ -public: - TQStoredDragJBridge(const char* arg1,TQWidget* arg2,const char* arg3) : TQStoredDrag(arg1,arg2,arg3) {}; - TQStoredDragJBridge(const char* arg1,TQWidget* arg2) : TQStoredDrag(arg1,arg2) {}; - TQStoredDragJBridge(const char* arg1) : TQStoredDrag(arg1) {}; - ~TQStoredDragJBridge() {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.qt.TQStoredDrag",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QStoredDrag_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQStoredDrag*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStoredDrag_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QStoredDrag_finalize(env, obj); - return; -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_qt_QStoredDrag_encodedData(JNIEnv* env, jobject obj, jstring arg1) -{ - TQByteArray _qbyteArray; -static TQCString* _qstring_arg1 = 0; - _qbyteArray = ((TQStoredDrag*) QtSupport::getQt(env, obj))->encodedData((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStoredDrag_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQStoredDrag*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQStoredDrag*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QStoredDrag_format(JNIEnv* env, jobject obj, jint i) -{ - const char* _qstring; - _qstring = ((TQStoredDrag*) QtSupport::getQt(env, obj))->format((int) i); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QStoredDrag_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QStoredDrag_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQStoredDrag*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStoredDrag_newTQStoredDrag__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring mimeType) -{ -static TQCString* _qstring_mimeType = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQStoredDragJBridge((const char*) QtSupport::toCharString(env, mimeType, &_qstring_mimeType))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStoredDrag_newTQStoredDrag__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring mimeType, jobject dragSource) -{ -static TQCString* _qstring_mimeType = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQStoredDragJBridge((const char*) QtSupport::toCharString(env, mimeType, &_qstring_mimeType), (TQWidget*) QtSupport::getQt(env, dragSource))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStoredDrag_newTQStoredDrag__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring mimeType, jobject dragSource, jstring name) -{ -static TQCString* _qstring_mimeType = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQStoredDragJBridge((const char*) QtSupport::toCharString(env, mimeType, &_qstring_mimeType), (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_qt_QStoredDrag_setEncodedData(JNIEnv* env, jobject obj, jbyteArray arg1) -{ -static TQByteArray* _qbyteArray_arg1 = 0; - ((TQStoredDrag*) QtSupport::getQt(env, obj))->setEncodedData((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, arg1, &_qbyteArray_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QStoredDrag_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQStoredDragJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QStoredDrag_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQStoredDragJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QStoredDrag.h b/qtjava/javalib/qtjava/QStoredDrag.h deleted file mode 100644 index 253cb968..00000000 --- a/qtjava/javalib/qtjava/QStoredDrag.h +++ /dev/null @@ -1,31 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QStoredDrag__ -#define __org_kde_qt_QStoredDrag__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStoredDrag_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStoredDrag_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStoredDrag_newTQStoredDrag__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStoredDrag_newTQStoredDrag__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStoredDrag_newTQStoredDrag__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStoredDrag_setEncodedData (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStoredDrag_format (JNIEnv *env, jobject, jint); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QStoredDrag_encodedData (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStoredDrag_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStoredDrag_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStoredDrag_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStoredDrag_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStoredDrag_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QStoredDrag__ */ diff --git a/qtjava/javalib/qtjava/QStyle.cpp b/qtjava/javalib/qtjava/QStyle.cpp deleted file mode 100644 index 9ef32015..00000000 --- a/qtjava/javalib/qtjava/QStyle.cpp +++ /dev/null @@ -1,383 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QStyle_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQStyle*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QStyle_defaultFrameWidth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQStyle*) QtSupport::getQt(env, obj))->defaultFrameWidth(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyle_drawComplexControlMask__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jint control, jobject p, jobject widget, jobject r) -{ - ((TQStyle*) QtSupport::getQt(env, obj))->drawComplexControlMask((TQStyle::ComplexControl) control, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyle_drawComplexControlMask__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint control, jobject p, jobject widget, jobject r, jobject arg5) -{ - ((TQStyle*) QtSupport::getQt(env, obj))->drawComplexControlMask((TQStyle::ComplexControl) control, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg5)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyle_drawComplexControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jobject obj, jint control, jobject p, jobject widget, jobject r, jobject cg) -{ - ((TQStyle*) QtSupport::getQt(env, obj))->drawComplexControl((TQStyle::ComplexControl) control, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyle_drawComplexControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2I(JNIEnv* env, jobject obj, jint control, jobject p, jobject widget, jobject r, jobject cg, jint how) -{ - ((TQStyle*) QtSupport::getQt(env, obj))->drawComplexControl((TQStyle::ComplexControl) control, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (TQStyle::SFlags) how); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyle_drawComplexControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2II(JNIEnv* env, jobject obj, jint control, jobject p, jobject widget, jobject r, jobject cg, jint how, jint sub) -{ - ((TQStyle*) QtSupport::getQt(env, obj))->drawComplexControl((TQStyle::ComplexControl) control, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (TQStyle::SFlags) how, (TQStyle::SCFlags) sub); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyle_drawComplexControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2III(JNIEnv* env, jobject obj, jint control, jobject p, jobject widget, jobject r, jobject cg, jint how, jint sub, jint subActive) -{ - ((TQStyle*) QtSupport::getQt(env, obj))->drawComplexControl((TQStyle::ComplexControl) control, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (TQStyle::SFlags) how, (TQStyle::SCFlags) sub, (TQStyle::SCFlags) subActive); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyle_drawComplexControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2IIILorg_kde_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint control, jobject p, jobject widget, jobject r, jobject cg, jint how, jint sub, jint subActive, jobject arg9) -{ - ((TQStyle*) QtSupport::getQt(env, obj))->drawComplexControl((TQStyle::ComplexControl) control, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (TQStyle::SFlags) how, (TQStyle::SCFlags) sub, (TQStyle::SCFlags) subActive, (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg9)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyle_drawControlMask__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jint element, jobject p, jobject widget, jobject r) -{ - ((TQStyle*) QtSupport::getQt(env, obj))->drawControlMask((TQStyle::ControlElement) element, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyle_drawControlMask__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint element, jobject p, jobject widget, jobject r, jobject arg5) -{ - ((TQStyle*) QtSupport::getQt(env, obj))->drawControlMask((TQStyle::ControlElement) element, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg5)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyle_drawControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jobject obj, jint element, jobject p, jobject widget, jobject r, jobject cg) -{ - ((TQStyle*) QtSupport::getQt(env, obj))->drawControl((TQStyle::ControlElement) element, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyle_drawControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2I(JNIEnv* env, jobject obj, jint element, jobject p, jobject widget, jobject r, jobject cg, jint how) -{ - ((TQStyle*) QtSupport::getQt(env, obj))->drawControl((TQStyle::ControlElement) element, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (TQStyle::SFlags) how); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyle_drawControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2ILorg_kde_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint element, jobject p, jobject widget, jobject r, jobject cg, jint how, jobject arg7) -{ - ((TQStyle*) QtSupport::getQt(env, obj))->drawControl((TQStyle::ControlElement) element, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (TQStyle::SFlags) how, (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg7)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyle_drawItem__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2ILorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject p, jobject r, jint flags, jobject g, jboolean enabled, jobject pixmap, jstring text) -{ -static TQString* _qstring_text = 0; - ((TQStyle*) QtSupport::getQt(env, obj))->drawItem((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (int) flags, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) enabled, (const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyle_drawItem__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2ILorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QPixmap_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject p, jobject r, jint flags, jobject g, jboolean enabled, jobject pixmap, jstring text, jint len) -{ -static TQString* _qstring_text = 0; - ((TQStyle*) QtSupport::getQt(env, obj))->drawItem((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (int) flags, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) enabled, (const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) len); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyle_drawItem__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2ILorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QPixmap_2Ljava_lang_String_2ILorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject p, jobject r, jint flags, jobject g, jboolean enabled, jobject pixmap, jstring text, jint len, jobject penColor) -{ -static TQString* _qstring_text = 0; - ((TQStyle*) QtSupport::getQt(env, obj))->drawItem((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (int) flags, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) enabled, (const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) len, (const TQColor*) QtSupport::getQt(env, penColor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyle_drawPrimitive__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jobject obj, jint pe, jobject p, jobject r, jobject cg) -{ - ((TQStyle*) QtSupport::getQt(env, obj))->drawPrimitive((TQStyle::PrimitiveElement) pe, (TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyle_drawPrimitive__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2I(JNIEnv* env, jobject obj, jint pe, jobject p, jobject r, jobject cg, jint flags) -{ - ((TQStyle*) QtSupport::getQt(env, obj))->drawPrimitive((TQStyle::PrimitiveElement) pe, (TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (TQStyle::SFlags) flags); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyle_drawPrimitive__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2ILorg_kde_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint pe, jobject p, jobject r, jobject cg, jint flags, jobject arg6) -{ - ((TQStyle*) QtSupport::getQt(env, obj))->drawPrimitive((TQStyle::PrimitiveElement) pe, (TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (TQStyle::SFlags) flags, (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg6)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QStyle_itemRect__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2IZLorg_kde_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject p, jobject r, jint flags, jboolean enabled, jobject pixmap, jstring text) -{ -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQStyle*) QtSupport::getQt(env, obj))->itemRect((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (int) flags, (bool) enabled, (const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QStyle_itemRect__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2IZLorg_kde_qt_QPixmap_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject p, jobject r, jint flags, jboolean enabled, jobject pixmap, jstring text, jint len) -{ -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQStyle*) QtSupport::getQt(env, obj))->itemRect((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (int) flags, (bool) enabled, (const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) len)), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QStyle_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQStyle*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QStyle_pixelMetric__I(JNIEnv* env, jobject obj, jint metric) -{ - jint xret = (jint) ((TQStyle*) QtSupport::getQt(env, obj))->pixelMetric((TQStyle::PixelMetric) metric); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QStyle_pixelMetric__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint metric, jobject widget) -{ - jint xret = (jint) ((TQStyle*) QtSupport::getQt(env, obj))->pixelMetric((TQStyle::PixelMetric) metric, (const TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyle_polishPopupMenu(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQStyle*) QtSupport::getQt(env, obj))->polishPopupMenu((TQPopupMenu*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyle_polish__Lorg_kde_qt_QApplication_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQStyle*) QtSupport::getQt(env, obj))->polish((TQApplication*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyle_polish__Lorg_kde_qt_QPalette_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQStyle*) QtSupport::getQt(env, obj))->polish((TQPalette&)*(TQPalette*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyle_polish__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQStyle*) QtSupport::getQt(env, obj))->polish((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QStyle_querySubControlMetrics__ILorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jint control, jobject widget, jint sc) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQStyle*) QtSupport::getQt(env, obj))->querySubControlMetrics((TQStyle::ComplexControl) control, (const TQWidget*) QtSupport::getQt(env, widget), (TQStyle::SubControl) sc)), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QStyle_querySubControlMetrics__ILorg_kde_qt_QWidget_2ILorg_kde_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint control, jobject widget, jint sc, jobject arg4) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQStyle*) QtSupport::getQt(env, obj))->querySubControlMetrics((TQStyle::ComplexControl) control, (const TQWidget*) QtSupport::getQt(env, widget), (TQStyle::SubControl) sc, (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg4))), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QStyle_querySubControl__ILorg_kde_qt_QWidget_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jint control, jobject widget, jobject pos) -{ - jint xret = (jint) ((TQStyle*) QtSupport::getQt(env, obj))->querySubControl((TQStyle::ComplexControl) control, (const TQWidget*) QtSupport::getQt(env, widget), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QStyle_querySubControl__ILorg_kde_qt_QWidget_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint control, jobject widget, jobject pos, jobject arg4) -{ - jint xret = (jint) ((TQStyle*) QtSupport::getQt(env, obj))->querySubControl((TQStyle::ComplexControl) control, (const TQWidget*) QtSupport::getQt(env, widget), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg4)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QStyle_scrollBarExtent(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQStyle*) QtSupport::getQt(env, obj))->scrollBarExtent()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QStyle_sizeFromContents__ILorg_kde_qt_QWidget_2Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jint contents, jobject widget, jobject contentsSize) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQStyle*) QtSupport::getQt(env, obj))->sizeFromContents((TQStyle::ContentsType) contents, (const TQWidget*) QtSupport::getQt(env, widget), (const TQSize&)*(const TQSize*) QtSupport::getQt(env, contentsSize))), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QStyle_sizeFromContents__ILorg_kde_qt_QWidget_2Lorg_kde_qt_QSize_2Lorg_kde_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint contents, jobject widget, jobject contentsSize, jobject arg4) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQStyle*) QtSupport::getQt(env, obj))->sizeFromContents((TQStyle::ContentsType) contents, (const TQWidget*) QtSupport::getQt(env, widget), (const TQSize&)*(const TQSize*) QtSupport::getQt(env, contentsSize), (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg4))), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QStyle_styleHint__I(JNIEnv* env, jobject obj, jint stylehint) -{ - jint xret = (jint) ((TQStyle*) QtSupport::getQt(env, obj))->styleHint((TQStyle::StyleHint) stylehint); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QStyle_styleHint__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint stylehint, jobject widget) -{ - jint xret = (jint) ((TQStyle*) QtSupport::getQt(env, obj))->styleHint((TQStyle::StyleHint) stylehint, (const TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QStyle_styleHint__ILorg_kde_qt_QWidget_2Lorg_kde_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint stylehint, jobject widget, jobject arg3) -{ - jint xret = (jint) ((TQStyle*) QtSupport::getQt(env, obj))->styleHint((TQStyle::StyleHint) stylehint, (const TQWidget*) QtSupport::getQt(env, widget), (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg3)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QStyle_stylePixmap__I(JNIEnv* env, jobject obj, jint stylepixmap) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQStyle*) QtSupport::getQt(env, obj))->stylePixmap((TQStyle::StylePixmap) stylepixmap)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QStyle_stylePixmap__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint stylepixmap, jobject widget) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQStyle*) QtSupport::getQt(env, obj))->stylePixmap((TQStyle::StylePixmap) stylepixmap, (const TQWidget*) QtSupport::getQt(env, widget))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QStyle_stylePixmap__ILorg_kde_qt_QWidget_2Lorg_kde_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint stylepixmap, jobject widget, jobject arg3) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQStyle*) QtSupport::getQt(env, obj))->stylePixmap((TQStyle::StylePixmap) stylepixmap, (const TQWidget*) QtSupport::getQt(env, widget), (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg3))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QStyle_subRect(JNIEnv* env, jobject obj, jint r, jobject widget) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQStyle*) QtSupport::getQt(env, obj))->subRect((TQStyle::SubRect) r, (const TQWidget*) QtSupport::getQt(env, widget))), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyle_tabbarMetrics(JNIEnv* env, jobject obj, jobject t, jintArray hf, jintArray vf, jintArray ov) -{ - int* _int_hf = QtSupport::toIntPtr(env, hf); - int* _int_vf = QtSupport::toIntPtr(env, vf); - int* _int_ov = QtSupport::toIntPtr(env, ov); - ((TQStyle*) QtSupport::getQt(env, obj))->tabbarMetrics((const TQWidget*) QtSupport::getQt(env, t), (int&) *_int_hf, (int&) *_int_vf, (int&) *_int_ov); - env->SetIntArrayRegion(hf, 0, 1, (jint *) _int_hf); - env->SetIntArrayRegion(vf, 0, 1, (jint *) _int_vf); - env->SetIntArrayRegion(ov, 0, 1, (jint *) _int_ov); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QStyle_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQStyle::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QStyle_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQStyle::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyle_unPolish__Lorg_kde_qt_QApplication_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQStyle*) QtSupport::getQt(env, obj))->unPolish((TQApplication*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyle_unPolish__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQStyle*) QtSupport::getQt(env, obj))->unPolish((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QStyle_visualRect__Lorg_kde_qt_QRect_2Lorg_kde_qt_QRect_2(JNIEnv* env, jclass cls, jobject logical, jobject bounding) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(TQStyle::visualRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, logical), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, bounding))), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QStyle_visualRect__Lorg_kde_qt_QRect_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject logical, jobject w) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(TQStyle::visualRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, logical), (const TQWidget*) QtSupport::getQt(env, w))), "org.kde.qt.TQRect", TRUE); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QStyle.h b/qtjava/javalib/qtjava/QStyle.h deleted file mode 100644 index da58571f..00000000 --- a/qtjava/javalib/qtjava/QStyle.h +++ /dev/null @@ -1,68 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QStyle__ -#define __org_kde_qt_QStyle__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyle_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStyle_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_polish__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_unPolish__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_polish__Lorg_kde_qt_QApplication_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_unPolish__Lorg_kde_qt_QApplication_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_polish__Lorg_kde_qt_QPalette_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_polishPopupMenu (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyle_itemRect__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2IZLorg_kde_qt_QPixmap_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jobject, jint, jboolean, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyle_itemRect__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2IZLorg_kde_qt_QPixmap_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jint, jboolean, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_drawItem__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2ILorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QPixmap_2Ljava_lang_String_2ILorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject, jobject, jint, jobject, jboolean, jobject, jstring, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_drawItem__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2ILorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QPixmap_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jobject, jint, jobject, jboolean, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_drawItem__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2ILorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QPixmap_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jint, jobject, jboolean, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_drawPrimitive__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2ILorg_kde_qt_QStyleOption_2 (JNIEnv *env, jobject, jint, jobject, jobject, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_drawPrimitive__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2I (JNIEnv *env, jobject, jint, jobject, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_drawPrimitive__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2 (JNIEnv *env, jobject, jint, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_drawControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2ILorg_kde_qt_QStyleOption_2 (JNIEnv *env, jobject, jint, jobject, jobject, jobject, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_drawControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2I (JNIEnv *env, jobject, jint, jobject, jobject, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_drawControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2 (JNIEnv *env, jobject, jint, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_drawControlMask__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QStyleOption_2 (JNIEnv *env, jobject, jint, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_drawControlMask__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jint, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyle_subRect (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_drawComplexControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2IIILorg_kde_qt_QStyleOption_2 (JNIEnv *env, jobject, jint, jobject, jobject, jobject, jobject, jint, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_drawComplexControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2III (JNIEnv *env, jobject, jint, jobject, jobject, jobject, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_drawComplexControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2II (JNIEnv *env, jobject, jint, jobject, jobject, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_drawComplexControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2I (JNIEnv *env, jobject, jint, jobject, jobject, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_drawComplexControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2 (JNIEnv *env, jobject, jint, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_drawComplexControlMask__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QStyleOption_2 (JNIEnv *env, jobject, jint, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_drawComplexControlMask__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jint, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyle_querySubControlMetrics__ILorg_kde_qt_QWidget_2ILorg_kde_qt_QStyleOption_2 (JNIEnv *env, jobject, jint, jobject, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyle_querySubControlMetrics__ILorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jint, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyle_querySubControl__ILorg_kde_qt_QWidget_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QStyleOption_2 (JNIEnv *env, jobject, jint, jobject, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyle_querySubControl__ILorg_kde_qt_QWidget_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jint, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyle_pixelMetric__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyle_pixelMetric__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyle_sizeFromContents__ILorg_kde_qt_QWidget_2Lorg_kde_qt_QSize_2Lorg_kde_qt_QStyleOption_2 (JNIEnv *env, jobject, jint, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyle_sizeFromContents__ILorg_kde_qt_QWidget_2Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jint, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyle_styleHint__ILorg_kde_qt_QWidget_2Lorg_kde_qt_QStyleOption_2 (JNIEnv *env, jobject, jint, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyle_styleHint__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyle_styleHint__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyle_stylePixmap__ILorg_kde_qt_QWidget_2Lorg_kde_qt_QStyleOption_2 (JNIEnv *env, jobject, jint, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyle_stylePixmap__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyle_stylePixmap__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyle_defaultFrameWidth (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_tabbarMetrics (JNIEnv *env, jobject, jobject, jintArray, jintArray, jintArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyle_scrollBarExtent (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStyle_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStyle_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyle_visualRect__Lorg_kde_qt_QRect_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyle_visualRect__Lorg_kde_qt_QRect_2Lorg_kde_qt_QRect_2 (JNIEnv *env, jclass, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QStyle__ */ diff --git a/qtjava/javalib/qtjava/QStyleFactory.cpp b/qtjava/javalib/qtjava/QStyleFactory.cpp deleted file mode 100644 index 98b45aa7..00000000 --- a/qtjava/javalib/qtjava/QStyleFactory.cpp +++ /dev/null @@ -1,66 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQStyleFactoryJBridge : public TQStyleFactory -{ -public: - TQStyleFactoryJBridge() : TQStyleFactory() {}; - ~TQStyleFactoryJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QStyleFactory_create(JNIEnv* env, jclass cls, jstring arg1) -{ - (void) cls; -static TQString* _qstring_arg1 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQStyleFactoryJBridge::create((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)), "org.kde.qt.TQStyle"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleFactory_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QStyleFactory_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleFactory_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQStyleFactory*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QStyleFactory_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QStyleFactory_keys(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = TQStyleFactoryJBridge::keys(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleFactory_newTQStyleFactory(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQStyleFactoryJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/qtjava/javalib/qtjava/QStyleFactory.h b/qtjava/javalib/qtjava/QStyleFactory.h deleted file mode 100644 index 5079ac3d..00000000 --- a/qtjava/javalib/qtjava/QStyleFactory.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QStyleFactory__ -#define __org_kde_qt_QStyleFactory__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleFactory_newTQStyleFactory (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyleFactory_keys (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyleFactory_create (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleFactory_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleFactory_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStyleFactory_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QStyleFactory__ */ diff --git a/qtjava/javalib/qtjava/QStyleOption.cpp b/qtjava/javalib/qtjava/QStyleOption.cpp deleted file mode 100644 index 8b5d42cb..00000000 --- a/qtjava/javalib/qtjava/QStyleOption.cpp +++ /dev/null @@ -1,300 +0,0 @@ -//Auto-generated by ../../kalyptus/kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -class TQStyleOptionJBridge : public TQStyleOption -{ -public: - TQStyleOptionJBridge(TQStyleOption::StyleOptionDefault arg1) : TQStyleOption(arg1) {}; - TQStyleOptionJBridge() : TQStyleOption() {}; - TQStyleOptionJBridge(int arg1,int arg2) : TQStyleOption(arg1,arg2) {}; - TQStyleOptionJBridge(int arg1,int arg2,int arg3,int arg4) : TQStyleOption(arg1,arg2,arg3,arg4) {}; - TQStyleOptionJBridge(TQMenuItem* arg1) : TQStyleOption(arg1) {}; - TQStyleOptionJBridge(TQMenuItem* arg1,int arg2) : TQStyleOption(arg1,arg2) {}; - TQStyleOptionJBridge(TQMenuItem* arg1,int arg2,int arg3) : TQStyleOption(arg1,arg2,arg3) {}; - TQStyleOptionJBridge(const TQColor& arg1) : TQStyleOption(arg1) {}; - TQStyleOptionJBridge(TQTab* arg1) : TQStyleOption(arg1) {}; - TQStyleOptionJBridge(TQListViewItem* arg1) : TQStyleOption(arg1) {}; - TQStyleOptionJBridge(TQCheckListItem* arg1) : TQStyleOption(arg1) {}; - TQStyleOptionJBridge(const TQRect& arg1) : TQStyleOption(arg1) {}; - TQStyleOptionJBridge(TQWidget* arg1) : TQStyleOption(arg1) {}; - ~TQStyleOptionJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QStyleOption_arrowType(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQStyleOption*) QtSupport::getQt(env, obj))->arrowType(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QStyleOption_checkListItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQStyleOption*) QtSupport::getQt(env, obj))->checkListItem(), "org.kde.qt.TQCheckListItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QStyleOption_color(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQStyleOption*) QtSupport::getQt(env, obj))->color(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QStyleOption_day(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQStyleOption*) QtSupport::getQt(env, obj))->day(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleOption_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QStyleOption_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleOption_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQStyleOption*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QStyleOption_frameShadow(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQStyleOption*) QtSupport::getQt(env, obj))->frameShadow(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QStyleOption_frameShape(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQStyleOption*) QtSupport::getQt(env, obj))->frameShape(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QStyleOption_headerSection(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQStyleOption*) QtSupport::getQt(env, obj))->headerSection(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QStyleOption_isDefault(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQStyleOption*) QtSupport::getQt(env, obj))->isDefault(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QStyleOption_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QStyleOption_lineWidth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQStyleOption*) QtSupport::getQt(env, obj))->lineWidth(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QStyleOption_listViewItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQStyleOption*) QtSupport::getQt(env, obj))->listViewItem(), "org.kde.qt.TQListViewItem"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QStyleOption_maxIconWidth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQStyleOption*) QtSupport::getQt(env, obj))->maxIconWidth(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QStyleOption_menuItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQStyleOption*) QtSupport::getQt(env, obj))->menuItem(), "org.kde.qt.TQMenuItem"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QStyleOption_midLineWidth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQStyleOption*) QtSupport::getQt(env, obj))->midLineWidth(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleOption_newTQStyleOption__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQStyleOptionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleOption_newTQStyleOption__I(JNIEnv* env, jobject obj, jint arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQStyleOptionJBridge((TQStyleOption::StyleOptionDefault) arg1)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleOption_newTQStyleOption__II(JNIEnv* env, jobject obj, jint in1, jint in2) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQStyleOptionJBridge((int) in1, (int) in2)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleOption_newTQStyleOption__IIII(JNIEnv* env, jobject obj, jint in1, jint in2, jint in3, jint in4) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQStyleOptionJBridge((int) in1, (int) in2, (int) in3, (int) in4)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleOption_newTQStyleOption__Lorg_kde_qt_QCheckListItem_2(JNIEnv* env, jobject obj, jobject i) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQStyleOptionJBridge((TQCheckListItem*) QtSupport::getQt(env, i))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleOption_newTQStyleOption__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject c) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQStyleOptionJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleOption_newTQStyleOption__Lorg_kde_qt_QListViewItem_2(JNIEnv* env, jobject obj, jobject i) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQStyleOptionJBridge((TQListViewItem*) QtSupport::getQt(env, i))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleOption_newTQStyleOption__Lorg_kde_qt_QMenuItem_2(JNIEnv* env, jobject obj, jobject m) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQStyleOptionJBridge((TQMenuItem*) QtSupport::getQt(env, m))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleOption_newTQStyleOption__Lorg_kde_qt_QMenuItem_2I(JNIEnv* env, jobject obj, jobject m, jint in1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQStyleOptionJBridge((TQMenuItem*) QtSupport::getQt(env, m), (int) in1)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleOption_newTQStyleOption__Lorg_kde_qt_QMenuItem_2II(JNIEnv* env, jobject obj, jobject m, jint in1, jint in2) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQStyleOptionJBridge((TQMenuItem*) QtSupport::getQt(env, m), (int) in1, (int) in2)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleOption_newTQStyleOption__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject r) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQStyleOptionJBridge((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleOption_newTQStyleOption__Lorg_kde_qt_QTab_2(JNIEnv* env, jobject obj, jobject t) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQStyleOptionJBridge((TQTab*) QtSupport::getQt(env, t))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleOption_newTQStyleOption__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject w) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQStyleOptionJBridge((TQWidget*) QtSupport::getQt(env, w))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QStyleOption_rect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQStyleOption*) QtSupport::getQt(env, obj))->rect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QStyleOption_tabWidth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQStyleOption*) QtSupport::getQt(env, obj))->tabWidth(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QStyleOption_tab(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQStyleOption*) QtSupport::getQt(env, obj))->tab(), "org.kde.qt.TQTab"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QStyleOption_widget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQStyleOption*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget"); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QStyleOption.h b/qtjava/javalib/qtjava/QStyleOption.h deleted file mode 100644 index 4bdd25ca..00000000 --- a/qtjava/javalib/qtjava/QStyleOption.h +++ /dev/null @@ -1,53 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QStyleOption__ -#define __org_kde_qt_QStyleOption__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newTQStyleOption__I (JNIEnv *env, jobject, jint); -JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newTQStyleOption__ (JNIEnv *env, jobject); -JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newTQStyleOption__II (JNIEnv *env, jobject, jint, jint); -JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newTQStyleOption__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newTQStyleOption__Lorg_kde_qt_QMenuItem_2 (JNIEnv *env, jobject, jobject); -JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newTQStyleOption__Lorg_kde_qt_QMenuItem_2I (JNIEnv *env, jobject, jobject, jint); -JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newTQStyleOption__Lorg_kde_qt_QMenuItem_2II (JNIEnv *env, jobject, jobject, jint, jint); -JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newTQStyleOption__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); -JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newTQStyleOption__Lorg_kde_qt_QTab_2 (JNIEnv *env, jobject, jobject); -JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newTQStyleOption__Lorg_kde_qt_QListViewItem_2 (JNIEnv *env, jobject, jobject); -JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newTQStyleOption__Lorg_kde_qt_QCheckListItem_2 (JNIEnv *env, jobject, jobject); -JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newTQStyleOption__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newTQStyleOption__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStyleOption_isDefault (JNIEnv *env, jobject); -JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleOption_day (JNIEnv *env, jobject); -JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleOption_lineWidth (JNIEnv *env, jobject); -JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleOption_midLineWidth (JNIEnv *env, jobject); -JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleOption_frameShape (JNIEnv *env, jobject); -JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleOption_frameShadow (JNIEnv *env, jobject); -JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleOption_headerSection (JNIEnv *env, jobject); -JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyleOption_menuItem (JNIEnv *env, jobject); -JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleOption_maxIconWidth (JNIEnv *env, jobject); -JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleOption_tabWidth (JNIEnv *env, jobject); -JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyleOption_color (JNIEnv *env, jobject); -JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyleOption_tab (JNIEnv *env, jobject); -JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyleOption_checkListItem (JNIEnv *env, jobject); -JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyleOption_listViewItem (JNIEnv *env, jobject); -JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleOption_arrowType (JNIEnv *env, jobject); -JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyleOption_rect (JNIEnv *env, jobject); -JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyleOption_widget (JNIEnv *env, jobject); -JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_finalize (JNIEnv *env, jobject); -JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_dispose (JNIEnv *env, jobject); -JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStyleOption_isDisposed (JNIEnv *env, jobject); -#undef org_kde_qt_QStyleOption_Default -#define org_kde_qt_QStyleOption_Default 0L - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QStyleOption__ */ diff --git a/qtjava/javalib/qtjava/QStyleSheet.cpp b/qtjava/javalib/qtjava/QStyleSheet.cpp deleted file mode 100644 index db34a950..00000000 --- a/qtjava/javalib/qtjava/QStyleSheet.cpp +++ /dev/null @@ -1,230 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -class TQStyleSheetJBridge : public TQStyleSheet -{ -public: - TQStyleSheetJBridge(TQObject* arg1,const char* arg2) : TQStyleSheet(arg1,arg2) {}; - TQStyleSheetJBridge(TQObject* arg1) : TQStyleSheet(arg1) {}; - TQStyleSheetJBridge() : TQStyleSheet() {}; - ~TQStyleSheetJBridge() {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.qt.TQStyleSheet",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QStyleSheet_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQStyleSheet*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QStyleSheet_convertFromPlainText__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_arg1 = 0; - _qstring = TQStyleSheetJBridge::convertFromPlainText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QStyleSheet_convertFromPlainText__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring arg1, jint mode) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_arg1 = 0; - _qstring = TQStyleSheetJBridge::convertFromPlainText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (TQStyleSheetItem::WhiteSpaceMode) mode); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QStyleSheet_defaultSheet(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQStyleSheetJBridge::defaultSheet(), "org.kde.qt.TQStyleSheet"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleSheet_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QStyleSheet_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleSheet_error(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQStyleSheet*) QtSupport::getQt(env, obj))->error((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QStyleSheet_escape(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_arg1 = 0; - _qstring = TQStyleSheetJBridge::escape((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleSheet_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQStyleSheet*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQStyleSheet*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleSheet_insert(JNIEnv* env, jobject obj, jobject item) -{ - ((TQStyleSheet*) QtSupport::getQt(env, obj))->insert((TQStyleSheetItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QStyleSheet_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QStyleSheet_item(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQStyleSheet*) QtSupport::getQt(env, obj))->item((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)), "org.kde.qt.TQStyleSheetItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QStyleSheet_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQStyleSheet*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QStyleSheet_mightBeRichText(JNIEnv* env, jclass cls, jstring arg1) -{ - (void) cls; -static TQString* _qstring_arg1 = 0; - jboolean xret = (jboolean) TQStyleSheetJBridge::mightBeRichText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleSheet_newTQStyleSheet__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQStyleSheetJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleSheet_newTQStyleSheet__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQStyleSheetJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleSheet_newTQStyleSheet__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 TQStyleSheetJBridge((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_qt_QStyleSheet_scaleFont(JNIEnv* env, jobject obj, jobject font, jint logicalSize) -{ - ((TQStyleSheet*) QtSupport::getQt(env, obj))->scaleFont((TQFont&)*(TQFont*) QtSupport::getQt(env, font), (int) logicalSize); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleSheet_setDefaultSheet(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - TQStyleSheetJBridge::setDefaultSheet((TQStyleSheet*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QStyleSheet_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQStyleSheetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QStyleSheet_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQStyleSheetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QStyleSheet.h b/qtjava/javalib/qtjava/QStyleSheet.h deleted file mode 100644 index ea60cc16..00000000 --- a/qtjava/javalib/qtjava/QStyleSheet.h +++ /dev/null @@ -1,38 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QStyleSheet__ -#define __org_kde_qt_QStyleSheet__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyleSheet_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStyleSheet_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheet_newTQStyleSheet__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheet_newTQStyleSheet__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheet_newTQStyleSheet__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyleSheet_item (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheet_insert (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheet_scaleFont (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheet_error (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStyleSheet_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStyleSheet_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyleSheet_defaultSheet (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheet_setDefaultSheet (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStyleSheet_escape (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStyleSheet_convertFromPlainText__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStyleSheet_convertFromPlainText__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStyleSheet_mightBeRichText (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheet_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheet_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStyleSheet_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QStyleSheet__ */ diff --git a/qtjava/javalib/qtjava/QStyleSheetItem.cpp b/qtjava/javalib/qtjava/QStyleSheetItem.cpp deleted file mode 100644 index 005d0879..00000000 --- a/qtjava/javalib/qtjava/QStyleSheetItem.cpp +++ /dev/null @@ -1,387 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQStyleSheetItemJBridge : public TQStyleSheetItem -{ -public: - TQStyleSheetItemJBridge(TQStyleSheet* arg1,const TQString& arg2) : TQStyleSheetItem(arg1,arg2) {}; - TQStyleSheetItemJBridge(const TQStyleSheetItem& arg1) : TQStyleSheetItem(arg1) {}; - ~TQStyleSheetItemJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QStyleSheetItem_alignment(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->alignment(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QStyleSheetItem_allowedInContext(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->allowedInContext((const TQStyleSheetItem*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QStyleSheetItem_color(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TQStyleSheetItem*) QtSupport::getQt(env, obj))->color()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QStyleSheetItem_contexts(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->contexts(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QStyleSheetItem_definesFontItalic(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->definesFontItalic(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QStyleSheetItem_definesFontStrikeOut(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->definesFontStrikeOut(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QStyleSheetItem_definesFontUnderline(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->definesFontUnderline(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QStyleSheetItem_displayMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->displayMode(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleSheetItem_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QStyleSheetItem_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleSheetItem_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQStyleSheetItem*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QStyleSheetItem_fontFamily(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->fontFamily(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QStyleSheetItem_fontItalic(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->fontItalic(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QStyleSheetItem_fontSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->fontSize(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QStyleSheetItem_fontStrikeOut(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->fontStrikeOut(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QStyleSheetItem_fontUnderline(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->fontUnderline(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QStyleSheetItem_fontWeight(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->fontWeight(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QStyleSheetItem_isAnchor(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->isAnchor(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QStyleSheetItem_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QStyleSheetItem_lineSpacing(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->lineSpacing(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QStyleSheetItem_listStyle(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->listStyle(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QStyleSheetItem_logicalFontSizeStep(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->logicalFontSizeStep(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QStyleSheetItem_logicalFontSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->logicalFontSize(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QStyleSheetItem_margin(JNIEnv* env, jobject obj, jint m) -{ - jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->margin((TQStyleSheetItem::Margin) m); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QStyleSheetItem_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleSheetItem_newTQStyleSheetItem__Lorg_kde_qt_QStyleSheetItem_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQStyleSheetItemJBridge((const TQStyleSheetItem&)*(const TQStyleSheetItem*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleSheetItem_newTQStyleSheetItem__Lorg_kde_qt_QStyleSheet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQStyleSheetItemJBridge((TQStyleSheet*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QStyleSheetItem_numberOfColumns(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->numberOfColumns(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QStyleSheetItem_selfNesting(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->selfNesting(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleSheetItem_setAlignment(JNIEnv* env, jobject obj, jint f) -{ - ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setAlignment((int) f); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleSheetItem_setAnchor(JNIEnv* env, jobject obj, jboolean anc) -{ - ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setAnchor((bool) anc); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleSheetItem_setColor(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleSheetItem_setContexts(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setContexts((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleSheetItem_setDisplayMode(JNIEnv* env, jobject obj, jint m) -{ - ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setDisplayMode((TQStyleSheetItem::DisplayMode) m); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleSheetItem_setFontFamily(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setFontFamily((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleSheetItem_setFontItalic(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setFontItalic((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleSheetItem_setFontSize(JNIEnv* env, jobject obj, jint s) -{ - ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setFontSize((int) s); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleSheetItem_setFontStrikeOut(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setFontStrikeOut((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleSheetItem_setFontUnderline(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setFontUnderline((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleSheetItem_setFontWeight(JNIEnv* env, jobject obj, jint w) -{ - ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setFontWeight((int) w); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleSheetItem_setLineSpacing(JNIEnv* env, jobject obj, jint ls) -{ - ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setLineSpacing((int) ls); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleSheetItem_setListStyle(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setListStyle((TQStyleSheetItem::ListStyle) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleSheetItem_setLogicalFontSizeStep(JNIEnv* env, jobject obj, jint s) -{ - ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setLogicalFontSizeStep((int) s); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleSheetItem_setLogicalFontSize(JNIEnv* env, jobject obj, jint s) -{ - ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setLogicalFontSize((int) s); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleSheetItem_setMargin(JNIEnv* env, jobject obj, jint arg1, jint arg2) -{ - ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setMargin((TQStyleSheetItem::Margin) arg1, (int) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleSheetItem_setNumberOfColumns(JNIEnv* env, jobject obj, jint ncols) -{ - ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setNumberOfColumns((int) ncols); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleSheetItem_setSelfNesting(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setSelfNesting((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleSheetItem_setVerticalAlignment(JNIEnv* env, jobject obj, jint valign) -{ - ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setVerticalAlignment((TQStyleSheetItem::VerticalAlignment) valign); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleSheetItem_setWhiteSpaceMode(JNIEnv* env, jobject obj, jint m) -{ - ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setWhiteSpaceMode((TQStyleSheetItem::WhiteSpaceMode) m); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QStyleSheetItem_styleSheet(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQStyleSheetItem*) QtSupport::getQt(env, obj))->styleSheet(), "org.kde.qt.TQStyleSheet"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QStyleSheetItem_verticalAlignment(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->verticalAlignment(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QStyleSheetItem_whiteSpaceMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->whiteSpaceMode(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QStyleSheetItem.h b/qtjava/javalib/qtjava/QStyleSheetItem.h deleted file mode 100644 index d5110810..00000000 --- a/qtjava/javalib/qtjava/QStyleSheetItem.h +++ /dev/null @@ -1,69 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QStyleSheetItem__ -#define __org_kde_qt_QStyleSheetItem__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_newTQStyleSheetItem__Lorg_kde_qt_QStyleSheet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_newTQStyleSheetItem__Lorg_kde_qt_QStyleSheetItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStyleSheetItem_name (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyleSheetItem_styleSheet (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleSheetItem_displayMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setDisplayMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleSheetItem_alignment (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setAlignment (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleSheetItem_verticalAlignment (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setVerticalAlignment (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleSheetItem_fontWeight (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setFontWeight (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleSheetItem_logicalFontSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setLogicalFontSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleSheetItem_logicalFontSizeStep (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setLogicalFontSizeStep (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleSheetItem_fontSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setFontSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStyleSheetItem_fontFamily (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setFontFamily (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleSheetItem_numberOfColumns (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setNumberOfColumns (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyleSheetItem_color (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStyleSheetItem_fontItalic (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setFontItalic (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStyleSheetItem_definesFontItalic (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStyleSheetItem_fontUnderline (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setFontUnderline (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStyleSheetItem_definesFontUnderline (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStyleSheetItem_fontStrikeOut (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setFontStrikeOut (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStyleSheetItem_definesFontStrikeOut (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStyleSheetItem_isAnchor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setAnchor (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleSheetItem_whiteSpaceMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setWhiteSpaceMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleSheetItem_margin (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setMargin (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleSheetItem_listStyle (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setListStyle (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStyleSheetItem_contexts (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setContexts (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStyleSheetItem_allowedInContext (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStyleSheetItem_selfNesting (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setSelfNesting (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setLineSpacing (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleSheetItem_lineSpacing (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStyleSheetItem_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QStyleSheetItem__ */ diff --git a/qtjava/javalib/qtjava/QSyntaxHighlighter.cpp b/qtjava/javalib/qtjava/QSyntaxHighlighter.cpp deleted file mode 100644 index a476d838..00000000 --- a/qtjava/javalib/qtjava/QSyntaxHighlighter.cpp +++ /dev/null @@ -1,59 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSyntaxHighlighter_currentParagraph(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQSyntaxHighlighter*) QtSupport::getQt(env, obj))->currentParagraph(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QSyntaxHighlighter_highlightParagraph(JNIEnv* env, jobject obj, jstring text, jint endStateOfLastPara) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TQSyntaxHighlighter*) QtSupport::getQt(env, obj))->highlightParagraph((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) endStateOfLastPara); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSyntaxHighlighter_rehighlight(JNIEnv* env, jobject obj) -{ - ((TQSyntaxHighlighter*) QtSupport::getQt(env, obj))->rehighlight(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSyntaxHighlighter_setFormat__IILorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jint start, jint count, jobject color) -{ - ((TQSyntaxHighlighter*) QtSupport::getQt(env, obj))->setFormat((int) start, (int) count, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, color)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSyntaxHighlighter_setFormat__IILorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jint start, jint count, jobject font) -{ - ((TQSyntaxHighlighter*) QtSupport::getQt(env, obj))->setFormat((int) start, (int) count, (const TQFont&)*(const TQFont*) QtSupport::getQt(env, font)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QSyntaxHighlighter_setFormat__IILorg_kde_qt_QFont_2Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jint start, jint count, jobject font, jobject color) -{ - ((TQSyntaxHighlighter*) QtSupport::getQt(env, obj))->setFormat((int) start, (int) count, (const TQFont&)*(const TQFont*) QtSupport::getQt(env, font), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, color)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSyntaxHighlighter_textEdit(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSyntaxHighlighter*) QtSupport::getQt(env, obj))->textEdit(), "org.kde.qt.TQTextEdit"); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QSyntaxHighlighter.h b/qtjava/javalib/qtjava/QSyntaxHighlighter.h deleted file mode 100644 index f14047c1..00000000 --- a/qtjava/javalib/qtjava/QSyntaxHighlighter.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QSyntaxHighlighter__ -#define __org_kde_qt_QSyntaxHighlighter__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSyntaxHighlighter_highlightParagraph (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSyntaxHighlighter_setFormat__IILorg_kde_qt_QFont_2Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jint, jint, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSyntaxHighlighter_setFormat__IILorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSyntaxHighlighter_setFormat__IILorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSyntaxHighlighter_textEdit (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSyntaxHighlighter_rehighlight (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSyntaxHighlighter_currentParagraph (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QSyntaxHighlighter__ */ diff --git a/qtjava/javalib/qtjava/QTab.cpp b/qtjava/javalib/qtjava/QTab.cpp deleted file mode 100644 index f685497b..00000000 --- a/qtjava/javalib/qtjava/QTab.cpp +++ /dev/null @@ -1,156 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -class TQTabJBridge : public TQTab -{ -public: - TQTabJBridge() : TQTab() {}; - TQTabJBridge(const TQString& arg1) : TQTab(arg1) {}; - TQTabJBridge(const TQIconSet& arg1,const TQString& arg2) : TQTab(arg1,arg2) {}; - TQTabJBridge(const TQIconSet& arg1) : TQTab(arg1) {}; - ~TQTabJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTab_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QTab_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTab_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQTab*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTab_iconSet(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTab*) QtSupport::getQt(env, obj))->iconSet(), "org.kde.qt.TQIconSet"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTab_identifier(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTab*) QtSupport::getQt(env, obj))->identifier(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTab_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTab_isEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQTab*) QtSupport::getQt(env, obj))->isEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTab_newTQTab__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTabJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTab_newTQTab__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 TQTabJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTab_newTQTab__Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jobject icon) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTabJBridge((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTab_newTQTab__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject icon, jstring text) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTabJBridge((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTab_rect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQTab*) QtSupport::getQt(env, obj))->rect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTab_setEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQTab*) QtSupport::getQt(env, obj))->setEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTab_setIconSet(JNIEnv* env, jobject obj, jobject icon) -{ - ((TQTab*) QtSupport::getQt(env, obj))->setIconSet((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTab_setIdentifier(JNIEnv* env, jobject obj, jint i) -{ - ((TQTab*) QtSupport::getQt(env, obj))->setIdentifier((int) i); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTab_setRect(JNIEnv* env, jobject obj, jobject rect) -{ - ((TQTab*) QtSupport::getQt(env, obj))->setRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, rect)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTab_setText(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TQTab*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTab_text(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQTab*) QtSupport::getQt(env, obj))->text(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QTab.h b/qtjava/javalib/qtjava/QTab.h deleted file mode 100644 index 0491aa4b..00000000 --- a/qtjava/javalib/qtjava/QTab.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QTab__ -#define __org_kde_qt_QTab__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTab_newTQTab__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTab_newTQTab__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTab_newTQTab__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTab_newTQTab__Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTab_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTab_text (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTab_setIconSet (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTab_iconSet (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTab_setRect (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTab_rect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTab_setEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTab_isEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTab_setIdentifier (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTab_identifier (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTab_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTab_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTab_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QTab__ */ diff --git a/qtjava/javalib/qtjava/QTabBar.cpp b/qtjava/javalib/qtjava/QTabBar.cpp deleted file mode 100644 index 929e0b76..00000000 --- a/qtjava/javalib/qtjava/QTabBar.cpp +++ /dev/null @@ -1,773 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQTabBarJBridge : public TQTabBar -{ -public: - TQTabBarJBridge(TQWidget* arg1,const char* arg2) : TQTabBar(arg1,arg2) {}; - TQTabBarJBridge(TQWidget* arg1) : TQTabBar(arg1) {}; - TQTabBarJBridge() : TQTabBar() {}; - void public_layoutTabs() { - TQTabBar::layoutTabs(); - return; - } - void protected_paint(TQPainter* arg1,TQTab* arg2,bool arg3) { - TQTabBar::paint(arg1,arg2,arg3); - return; - } - void protected_paintLabel(TQPainter* arg1,const TQRect& arg2,TQTab* arg3,bool arg4) { - TQTabBar::paintLabel(arg1,arg2,arg3,arg4); - return; - } - void protected_focusInEvent(TQFocusEvent* arg1) { - TQTabBar::focusInEvent(arg1); - return; - } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TQTabBar::focusOutEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQTabBar::resizeEvent(arg1); - return; - } - void protected_paintEvent(TQPaintEvent* arg1) { - TQTabBar::paintEvent(arg1); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TQTabBar::mousePressEvent(arg1); - return; - } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - TQTabBar::mouseMoveEvent(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - TQTabBar::mouseReleaseEvent(arg1); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQTabBar::keyPressEvent(arg1); - return; - } - void protected_styleChange(TQStyle& arg1) { - TQTabBar::styleChange(arg1); - return; - } - void protected_fontChange(const TQFont& arg1) { - TQTabBar::fontChange(arg1); - return; - } - bool protected_event(TQEvent* arg1) { - return (bool) TQTabBar::event(arg1); - } - ~TQTabBarJBridge() {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")) { - TQTabBar::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.qt.TQTabBar","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.qt.TQTabBar","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.qt.TQTabBar","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.qt.TQTabBar","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.qt.TQTabBar","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabBar","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")) { - TQTabBar::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 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")) { - TQTabBar::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.qt.TQTabBar","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabBar","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")) { - TQTabBar::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")) { - TQTabBar::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.qt.TQTabBar","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void layoutTabs() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabBar","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.qt.TQTabBar",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.qt.TQTabBar","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTabBar_addTab(JNIEnv* env, jobject obj, jobject arg1) -{ - jint xret = (jint) ((TQTabBar*) QtSupport::getQt(env, obj))->addTab((TQTab*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTabBar_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQTabBar*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTabBar_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTabBar*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTabBar_currentTab(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTabBar*) QtSupport::getQt(env, obj))->currentTab(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabBar_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QTabBar_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTabBar_event(JNIEnv* env, jobject obj, jobject e) -{ - jboolean xret = (jboolean) ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabBar_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQTabBar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQTabBar*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabBar_focusInEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabBar_focusOutEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabBar_fontChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTabBar_indexOf(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQTabBar*) QtSupport::getQt(env, obj))->indexOf((int) arg1); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTabBar_insertTab__Lorg_kde_qt_QTab_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jint xret = (jint) ((TQTabBar*) QtSupport::getQt(env, obj))->insertTab((TQTab*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTabBar_insertTab__Lorg_kde_qt_QTab_2I(JNIEnv* env, jobject obj, jobject arg1, jint index) -{ - jint xret = (jint) ((TQTabBar*) QtSupport::getQt(env, obj))->insertTab((TQTab*) QtSupport::getQt(env, arg1), (int) index); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTabBar_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTabBar_isTabEnabled(JNIEnv* env, jobject obj, jint arg1) -{ - jboolean xret = (jboolean) ((TQTabBar*) QtSupport::getQt(env, obj))->isTabEnabled((int) arg1); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabBar_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTabBar_keyboardFocusTab(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTabBar*) QtSupport::getQt(env, obj))->keyboardFocusTab(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabBar_layoutTabs(JNIEnv* env, jobject obj) -{ - ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->public_layoutTabs(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTabBar_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTabBar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTabBar_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQTabBar*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabBar_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabBar_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabBar_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabBar_newTQTabBar__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTabBarJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabBar_newTQTabBar__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTabBarJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabBar_newTQTabBar__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 TQTabBarJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabBar_paintEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabBar_paintLabel(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jobject arg3, jboolean arg4) -{ - ((TQTabBarJBridge*) 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_qt_QTabBar_paint(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jboolean arg3) -{ - ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->protected_paint((TQPainter*) QtSupport::getQt(env, arg1), (TQTab*) QtSupport::getQt(env, arg2), (bool) arg3); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabBar_removeTab(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTabBar*) QtSupport::getQt(env, obj))->removeTab((TQTab*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabBar_removeToolTip(JNIEnv* env, jobject obj, jint index) -{ - ((TQTabBar*) QtSupport::getQt(env, obj))->removeToolTip((int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabBar_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTabBar_selectTab(JNIEnv* env, jobject obj, jobject p) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTabBar*) QtSupport::getQt(env, obj))->selectTab((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)), "org.kde.qt.TQTab"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabBar_setCurrentTab__I(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQTabBar*) QtSupport::getQt(env, obj))->setCurrentTab((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabBar_setCurrentTab__Lorg_kde_qt_QTab_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTabBar*) QtSupport::getQt(env, obj))->setCurrentTab((TQTab*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabBar_setShape(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQTabBar*) QtSupport::getQt(env, obj))->setShape((TQTabBar::Shape) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabBar_setTabEnabled(JNIEnv* env, jobject obj, jint arg1, jboolean arg2) -{ - ((TQTabBar*) QtSupport::getQt(env, obj))->setTabEnabled((int) arg1, (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabBar_setToolTip(JNIEnv* env, jobject obj, jint index, jstring tip) -{ -static TQString* _qstring_tip = 0; - ((TQTabBar*) QtSupport::getQt(env, obj))->setToolTip((int) index, (const TQString&)*(TQString*) QtSupport::toTQString(env, tip, &_qstring_tip)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTabBar_shape(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTabBar*) QtSupport::getQt(env, obj))->shape(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabBar_show(JNIEnv* env, jobject obj) -{ - ((TQTabBar*) QtSupport::getQt(env, obj))->show(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTabBar_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQTabBar*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabBar_styleChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTabBar_tabAt(JNIEnv* env, jobject obj, jint arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTabBar*) QtSupport::getQt(env, obj))->tabAt((int) arg1), "org.kde.qt.TQTab"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTabBar_tab(JNIEnv* env, jobject obj, jint arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTabBar*) QtSupport::getQt(env, obj))->tab((int) arg1), "org.kde.qt.TQTab"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTabBar_toolTip(JNIEnv* env, jobject obj, jint index) -{ - TQString _qstring; - _qstring = ((TQTabBar*) QtSupport::getQt(env, obj))->toolTip((int) index); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTabBar_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQTabBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTabBar_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQTabBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QTabBar.h b/qtjava/javalib/qtjava/QTabBar.h deleted file mode 100644 index bf21b353..00000000 --- a/qtjava/javalib/qtjava/QTabBar.h +++ /dev/null @@ -1,65 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QTabBar__ -#define __org_kde_qt_QTabBar__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabBar_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTabBar_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_newTQTabBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_newTQTabBar__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_newTQTabBar__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabBar_shape (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_setShape (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_show (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabBar_addTab (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabBar_insertTab__Lorg_kde_qt_QTab_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabBar_insertTab__Lorg_kde_qt_QTab_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_removeTab (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_setTabEnabled (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTabBar_isTabEnabled (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabBar_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabBar_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabBar_currentTab (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabBar_keyboardFocusTab (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabBar_tab (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabBar_tabAt (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabBar_indexOf (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabBar_count (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_layoutTabs (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabBar_selectTab (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_removeToolTip (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_setToolTip (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTabBar_toolTip (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_setCurrentTab__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_setCurrentTab__Lorg_kde_qt_QTab_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTabBar_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTabBar_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_paint (JNIEnv *env, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_paintLabel (JNIEnv *env, jobject, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_focusInEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_focusOutEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_mouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_styleChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_fontChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTabBar_event (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTabBar_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QTabBar__ */ diff --git a/qtjava/javalib/qtjava/QTabDialog.cpp b/qtjava/javalib/qtjava/QTabDialog.cpp deleted file mode 100644 index 940296f2..00000000 --- a/qtjava/javalib/qtjava/QTabDialog.cpp +++ /dev/null @@ -1,798 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQTabDialogJBridge : public TQTabDialog -{ -public: - TQTabDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3,TQt::WFlags arg4) : TQTabDialog(arg1,arg2,arg3,arg4) {}; - TQTabDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3) : TQTabDialog(arg1,arg2,arg3) {}; - TQTabDialogJBridge(TQWidget* arg1,const char* arg2) : TQTabDialog(arg1,arg2) {}; - TQTabDialogJBridge(TQWidget* arg1) : TQTabDialog(arg1) {}; - TQTabDialogJBridge() : TQTabDialog() {}; - void protected_paintEvent(TQPaintEvent* arg1) { - TQTabDialog::paintEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQTabDialog::resizeEvent(arg1); - return; - } - void protected_styleChange(TQStyle& arg1) { - TQTabDialog::styleChange(arg1); - return; - } - void protected_setTabBar(TQTabBar* arg1) { - TQTabDialog::setTabBar(arg1); - return; - } - TQTabBar* protected_tabBar() { - return (TQTabBar*) TQTabDialog::tabBar(); - } - ~TQTabDialogJBridge() {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")) { - TQTabDialog::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.qt.TQTabDialog","accept")) { - TQDialog::accept(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabDialog","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.qt.TQTabDialog","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")) { - TQTabDialog::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.qt.TQTabDialog","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.qt.TQTabDialog","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabDialog","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.qt.TQTabDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabDialog","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.qt.TQTabDialog","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.qt.TQTabDialog","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.qt.TQTabDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabDialog_addTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - ((TQTabDialog*) QtSupport::getQt(env, obj))->addTab((TQWidget*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabDialog_addTab__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; - ((TQTabDialog*) QtSupport::getQt(env, obj))->addTab((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_qt_QTabDialog_addTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QTab_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - ((TQTabDialog*) QtSupport::getQt(env, obj))->addTab((TQWidget*) QtSupport::getQt(env, arg1), (TQTab*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabDialog_changeTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - ((TQTabDialog*) 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_qt_QTabDialog_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; - ((TQTabDialog*) 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_qt_QTabDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQTabDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTabDialog_currentPage(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTabDialog*) QtSupport::getQt(env, obj))->currentPage(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QTabDialog_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQTabDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQTabDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTabDialog_hasApplyButton(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQTabDialog*) QtSupport::getQt(env, obj))->hasApplyButton(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTabDialog_hasCancelButton(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQTabDialog*) QtSupport::getQt(env, obj))->hasCancelButton(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTabDialog_hasDefaultButton(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQTabDialog*) QtSupport::getQt(env, obj))->hasDefaultButton(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTabDialog_hasHelpButton(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQTabDialog*) QtSupport::getQt(env, obj))->hasHelpButton(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTabDialog_hasOkButton(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQTabDialog*) QtSupport::getQt(env, obj))->hasOkButton(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabDialog_insertTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - ((TQTabDialog*) 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_qt_QTabDialog_insertTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject arg1, jstring arg2, jint index) -{ -static TQString* _qstring_arg2 = 0; - ((TQTabDialog*) 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_qt_QTabDialog_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; - ((TQTabDialog*) 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_qt_QTabDialog_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; - ((TQTabDialog*) 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_qt_QTabDialog_insertTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QTab_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - ((TQTabDialog*) QtSupport::getQt(env, obj))->insertTab((TQWidget*) QtSupport::getQt(env, arg1), (TQTab*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabDialog_insertTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QTab_2I(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jint index) -{ - ((TQTabDialog*) QtSupport::getQt(env, obj))->insertTab((TQWidget*) QtSupport::getQt(env, arg1), (TQTab*) QtSupport::getQt(env, arg2), (int) index); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTabDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTabDialog_isTabEnabled__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQCString* _qstring_arg1 = 0; - jboolean xret = (jboolean) ((TQTabDialog*) QtSupport::getQt(env, obj))->isTabEnabled((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTabDialog_isTabEnabled__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQTabDialog*) QtSupport::getQt(env, obj))->isTabEnabled((TQWidget*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTabDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTabDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabDialog_newTQTabDialog__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTabDialogJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabDialog_newTQTabDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTabDialogJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabDialog_newTQTabDialog__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 TQTabDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabDialog_newTQTabDialog__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 TQTabDialogJBridge((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_qt_QTabDialog_newTQTabDialog__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 TQTabDialogJBridge((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_qt_QTabDialog_paintEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTabDialogJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabDialog_removePage(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTabDialog*) QtSupport::getQt(env, obj))->removePage((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabDialog_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTabDialogJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabDialog_setApplyButton__(JNIEnv* env, jobject obj) -{ - ((TQTabDialog*) QtSupport::getQt(env, obj))->setApplyButton(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabDialog_setApplyButton__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TQTabDialog*) QtSupport::getQt(env, obj))->setApplyButton((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabDialog_setCancelButton__(JNIEnv* env, jobject obj) -{ - ((TQTabDialog*) QtSupport::getQt(env, obj))->setCancelButton(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabDialog_setCancelButton__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TQTabDialog*) QtSupport::getQt(env, obj))->setCancelButton((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabDialog_setDefaultButton__(JNIEnv* env, jobject obj) -{ - ((TQTabDialog*) QtSupport::getQt(env, obj))->setDefaultButton(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabDialog_setDefaultButton__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TQTabDialog*) QtSupport::getQt(env, obj))->setDefaultButton((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabDialog_setFont(JNIEnv* env, jobject obj, jobject font) -{ - ((TQTabDialog*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabDialog_setHelpButton__(JNIEnv* env, jobject obj) -{ - ((TQTabDialog*) QtSupport::getQt(env, obj))->setHelpButton(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabDialog_setHelpButton__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TQTabDialog*) QtSupport::getQt(env, obj))->setHelpButton((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabDialog_setOKButton__(JNIEnv* env, jobject obj) -{ - ((TQTabDialog*) QtSupport::getQt(env, obj))->setOKButton(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabDialog_setOKButton__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TQTabDialog*) QtSupport::getQt(env, obj))->setOKButton((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabDialog_setOkButton__(JNIEnv* env, jobject obj) -{ - ((TQTabDialog*) QtSupport::getQt(env, obj))->setOkButton(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabDialog_setOkButton__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TQTabDialog*) QtSupport::getQt(env, obj))->setOkButton((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabDialog_setTabBar(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTabDialogJBridge*) QtSupport::getQt(env, obj))->protected_setTabBar((TQTabBar*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabDialog_setTabEnabled__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring arg1, jboolean arg2) -{ -static TQCString* _qstring_arg1 = 0; - ((TQTabDialog*) QtSupport::getQt(env, obj))->setTabEnabled((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabDialog_setTabEnabled__Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) -{ - ((TQTabDialog*) QtSupport::getQt(env, obj))->setTabEnabled((TQWidget*) QtSupport::getQt(env, arg1), (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabDialog_showPage(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTabDialog*) QtSupport::getQt(env, obj))->showPage((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabDialog_show(JNIEnv* env, jobject obj) -{ - ((TQTabDialog*) QtSupport::getQt(env, obj))->show(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabDialog_styleChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTabDialogJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTabDialog_tabBar(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTabDialogJBridge*) QtSupport::getQt(env, obj))->protected_tabBar(), "org.kde.qt.TQTabBar"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTabDialog_tabLabel(JNIEnv* env, jobject obj, jobject arg1) -{ - TQString _qstring; - _qstring = ((TQTabDialog*) QtSupport::getQt(env, obj))->tabLabel((TQWidget*) QtSupport::getQt(env, arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTabDialog_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQTabDialogJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTabDialog_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQTabDialogJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QTabDialog.h b/qtjava/javalib/qtjava/QTabDialog.h deleted file mode 100644 index 7b3b7625..00000000 --- a/qtjava/javalib/qtjava/QTabDialog.h +++ /dev/null @@ -1,73 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QTabDialog__ -#define __org_kde_qt_QTabDialog__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTabDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_newTQTabDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZI (JNIEnv *env, jobject, jobject, jstring, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_newTQTabDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_newTQTabDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_newTQTabDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_newTQTabDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_show (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_setFont (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_addTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_addTab__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_qt_QTabDialog_addTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QTab_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_insertTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_insertTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_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_qt_QTabDialog_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_qt_QTabDialog_insertTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QTab_2I (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_insertTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QTab_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_changeTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_changeTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTabDialog_isTabEnabled__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_setTabEnabled__Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTabDialog_isTabEnabled__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_setTabEnabled__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_showPage (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_removePage (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTabDialog_tabLabel (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabDialog_currentPage (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_setDefaultButton__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_setDefaultButton__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTabDialog_hasDefaultButton (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_setHelpButton__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_setHelpButton__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTabDialog_hasHelpButton (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_setCancelButton__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_setCancelButton__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTabDialog_hasCancelButton (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_setApplyButton__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_setApplyButton__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTabDialog_hasApplyButton (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_setOKButton__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_setOKButton__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_setOkButton__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_setOkButton__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTabDialog_hasOkButton (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTabDialog_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTabDialog_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_styleChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_setTabBar (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabDialog_tabBar (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTabDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QTabDialog__ */ diff --git a/qtjava/javalib/qtjava/QTabWidget.cpp b/qtjava/javalib/qtjava/QTabWidget.cpp deleted file mode 100644 index a610cdc7..00000000 --- a/qtjava/javalib/qtjava/QTabWidget.cpp +++ /dev/null @@ -1,836 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQTabWidgetJBridge : public TQTabWidget -{ -public: - TQTabWidgetJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQTabWidget(arg1,arg2,arg3) {}; - TQTabWidgetJBridge(TQWidget* arg1,const char* arg2) : TQTabWidget(arg1,arg2) {}; - TQTabWidgetJBridge(TQWidget* arg1) : TQTabWidget(arg1) {}; - TQTabWidgetJBridge() : TQTabWidget() {}; - void protected_showEvent(TQShowEvent* arg1) { - TQTabWidget::showEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQTabWidget::resizeEvent(arg1); - return; - } - void protected_setTabBar(TQTabBar* arg1) { - TQTabWidget::setTabBar(arg1); - return; - } - TQTabBar* protected_tabBar() { - return (TQTabBar*) TQTabWidget::tabBar(); - } - void protected_styleChange(TQStyle& arg1) { - TQTabWidget::styleChange(arg1); - return; - } - void protected_updateMask() { - TQTabWidget::updateMask(); - return; - } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) TQTabWidget::eventFilter(arg1,arg2); - } - ~TQTabWidgetJBridge() {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.qt.TQTabWidget","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.qt.TQTabWidget","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.qt.TQTabWidget","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.qt.TQTabWidget","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.qt.TQTabWidget","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.qt.TQTabWidget","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabWidget","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.qt.TQTabWidget","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.qt.TQTabWidget","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.qt.TQTabWidget","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabWidget_addTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - ((TQTabWidget*) QtSupport::getQt(env, obj))->addTab((TQWidget*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabWidget_addTab__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; - ((TQTabWidget*) QtSupport::getQt(env, obj))->addTab((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_qt_QTabWidget_addTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QTab_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - ((TQTabWidget*) QtSupport::getQt(env, obj))->addTab((TQWidget*) QtSupport::getQt(env, arg1), (TQTab*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabWidget_changeTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - ((TQTabWidget*) 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_qt_QTabWidget_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; - ((TQTabWidget*) 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_qt_QTabWidget_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQTabWidget*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTabWidget_cornerWidget__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTabWidget*) QtSupport::getQt(env, obj))->cornerWidget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTabWidget_cornerWidget__I(JNIEnv* env, jobject obj, jint corner) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTabWidget*) QtSupport::getQt(env, obj))->cornerWidget((TQt::Corner) corner), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTabWidget_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTabWidget*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTabWidget_currentPageIndex(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTabWidget*) QtSupport::getQt(env, obj))->currentPageIndex(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTabWidget_currentPage(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTabWidget*) QtSupport::getQt(env, obj))->currentPage(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabWidget_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QTabWidget_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTabWidget_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - jboolean xret = (jboolean) ((TQTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabWidget_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQTabWidget*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQTabWidget*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTabWidget_indexOf(JNIEnv* env, jobject obj, jobject arg1) -{ - jint xret = (jint) ((TQTabWidget*) QtSupport::getQt(env, obj))->indexOf((TQWidget*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabWidget_insertTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - ((TQTabWidget*) 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_qt_QTabWidget_insertTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject arg1, jstring arg2, jint index) -{ -static TQString* _qstring_arg2 = 0; - ((TQTabWidget*) 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_qt_QTabWidget_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; - ((TQTabWidget*) 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_qt_QTabWidget_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; - ((TQTabWidget*) 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_qt_QTabWidget_insertTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QTab_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - ((TQTabWidget*) QtSupport::getQt(env, obj))->insertTab((TQWidget*) QtSupport::getQt(env, arg1), (TQTab*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabWidget_insertTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QTab_2I(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jint index) -{ - ((TQTabWidget*) QtSupport::getQt(env, obj))->insertTab((TQWidget*) QtSupport::getQt(env, arg1), (TQTab*) QtSupport::getQt(env, arg2), (int) index); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTabWidget_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTabWidget_isTabEnabled(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQTabWidget*) QtSupport::getQt(env, obj))->isTabEnabled((TQWidget*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTabWidget_label(JNIEnv* env, jobject obj, jint arg1) -{ - TQString _qstring; - _qstring = ((TQTabWidget*) QtSupport::getQt(env, obj))->label((int) arg1); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTabWidget_margin(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTabWidget*) QtSupport::getQt(env, obj))->margin(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTabWidget_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTabWidget*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTabWidget_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQTabWidget*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabWidget_newTQTabWidget__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTabWidgetJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabWidget_newTQTabWidget__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTabWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabWidget_newTQTabWidget__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 TQTabWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabWidget_newTQTabWidget__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 TQTabWidgetJBridge((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_qt_QTabWidget_page(JNIEnv* env, jobject obj, jint arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTabWidget*) QtSupport::getQt(env, obj))->page((int) arg1), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabWidget_removePage(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTabWidget*) QtSupport::getQt(env, obj))->removePage((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabWidget_removeTabToolTip(JNIEnv* env, jobject obj, jobject w) -{ - ((TQTabWidget*) QtSupport::getQt(env, obj))->removeTabToolTip((TQWidget*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabWidget_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabWidget_setCornerWidget__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject w) -{ - ((TQTabWidget*) QtSupport::getQt(env, obj))->setCornerWidget((TQWidget*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabWidget_setCornerWidget__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject w, jint corner) -{ - ((TQTabWidget*) QtSupport::getQt(env, obj))->setCornerWidget((TQWidget*) QtSupport::getQt(env, w), (TQt::Corner) corner); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabWidget_setCurrentPage(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQTabWidget*) QtSupport::getQt(env, obj))->setCurrentPage((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabWidget_setMargin(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQTabWidget*) QtSupport::getQt(env, obj))->setMargin((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabWidget_setTabBar(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setTabBar((TQTabBar*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabWidget_setTabEnabled(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) -{ - ((TQTabWidget*) QtSupport::getQt(env, obj))->setTabEnabled((TQWidget*) QtSupport::getQt(env, arg1), (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabWidget_setTabIconSet(JNIEnv* env, jobject obj, jobject w, jobject iconset) -{ - ((TQTabWidget*) QtSupport::getQt(env, obj))->setTabIconSet((TQWidget*) QtSupport::getQt(env, w), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabWidget_setTabLabel(JNIEnv* env, jobject obj, jobject p, jstring l) -{ -static TQString* _qstring_l = 0; - ((TQTabWidget*) QtSupport::getQt(env, obj))->setTabLabel((TQWidget*) QtSupport::getQt(env, p), (const TQString&)*(TQString*) QtSupport::toTQString(env, l, &_qstring_l)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabWidget_setTabPosition(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQTabWidget*) QtSupport::getQt(env, obj))->setTabPosition((TQTabWidget::TabPosition) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabWidget_setTabShape(JNIEnv* env, jobject obj, jint s) -{ - ((TQTabWidget*) QtSupport::getQt(env, obj))->setTabShape((TQTabWidget::TabShape) s); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabWidget_setTabToolTip(JNIEnv* env, jobject obj, jobject w, jstring tip) -{ -static TQString* _qstring_tip = 0; - ((TQTabWidget*) QtSupport::getQt(env, obj))->setTabToolTip((TQWidget*) QtSupport::getQt(env, w), (const TQString&)*(TQString*) QtSupport::toTQString(env, tip, &_qstring_tip)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabWidget_showEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabWidget_showPage(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTabWidget*) QtSupport::getQt(env, obj))->showPage((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTabWidget_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQTabWidget*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabWidget_styleChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTabWidget_tabBar(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_tabBar(), "org.kde.qt.TQTabBar"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTabWidget_tabIconSet(JNIEnv* env, jobject obj, jobject w) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TQTabWidget*) QtSupport::getQt(env, obj))->tabIconSet((TQWidget*) QtSupport::getQt(env, w))), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTabWidget_tabLabel(JNIEnv* env, jobject obj, jobject arg1) -{ - TQString _qstring; - _qstring = ((TQTabWidget*) QtSupport::getQt(env, obj))->tabLabel((TQWidget*) QtSupport::getQt(env, arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTabWidget_tabPosition(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTabWidget*) QtSupport::getQt(env, obj))->tabPosition(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTabWidget_tabShape(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTabWidget*) QtSupport::getQt(env, obj))->tabShape(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTabWidget_tabToolTip(JNIEnv* env, jobject obj, jobject w) -{ - TQString _qstring; - _qstring = ((TQTabWidget*) QtSupport::getQt(env, obj))->tabToolTip((TQWidget*) QtSupport::getQt(env, w)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTabWidget_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQTabWidgetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTabWidget_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQTabWidgetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabWidget_updateMask(JNIEnv* env, jobject obj) -{ - ((TQTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_updateMask(); - return; -} - diff --git a/qtjava/javalib/qtjava/QTabWidget.h b/qtjava/javalib/qtjava/QTabWidget.h deleted file mode 100644 index ba0e7434..00000000 --- a/qtjava/javalib/qtjava/QTabWidget.h +++ /dev/null @@ -1,77 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QTabWidget__ -#define __org_kde_qt_QTabWidget__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabWidget_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTabWidget_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_newTQTabWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_newTQTabWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_newTQTabWidget__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_newTQTabWidget__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_addTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_addTab__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_qt_QTabWidget_addTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QTab_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_insertTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_insertTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_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_qt_QTabWidget_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_qt_QTabWidget_insertTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QTab_2I (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_insertTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QTab_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_changeTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_changeTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTabWidget_isTabEnabled (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_setTabEnabled (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_setCornerWidget__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_setCornerWidget__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabWidget_cornerWidget__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabWidget_cornerWidget__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTabWidget_tabLabel (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_setTabLabel (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabWidget_tabIconSet (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_setTabIconSet (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_removeTabToolTip (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_setTabToolTip (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTabWidget_tabToolTip (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabWidget_currentPage (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabWidget_page (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTabWidget_label (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabWidget_currentPageIndex (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabWidget_indexOf (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabWidget_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabWidget_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabWidget_tabPosition (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_setTabPosition (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabWidget_tabShape (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_setTabShape (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabWidget_margin (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_setMargin (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabWidget_count (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_setCurrentPage (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_showPage (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_removePage (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTabWidget_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTabWidget_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_showEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_setTabBar (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabWidget_tabBar (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_styleChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_updateMask (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTabWidget_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTabWidget_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QTabWidget__ */ diff --git a/qtjava/javalib/qtjava/QTable.cpp b/qtjava/javalib/qtjava/QTable.cpp deleted file mode 100644 index 4f096f76..00000000 --- a/qtjava/javalib/qtjava/QTable.cpp +++ /dev/null @@ -1,1778 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQTableJBridge : public TQTable -{ -public: - TQTableJBridge(TQWidget* arg1,const char* arg2) : TQTable(arg1,arg2) {}; - TQTableJBridge(TQWidget* arg1) : TQTable(arg1) {}; - TQTableJBridge() : TQTable() {}; - TQTableJBridge(int arg1,int arg2,TQWidget* arg3,const char* arg4) : TQTable(arg1,arg2,arg3,arg4) {}; - TQTableJBridge(int arg1,int arg2,TQWidget* arg3) : TQTable(arg1,arg2,arg3) {}; - TQTableJBridge(int arg1,int arg2) : TQTable(arg1,arg2) {}; - void protected_drawContents(TQPainter* arg1,int arg2,int arg3,int arg4,int arg5) { - TQTable::drawContents(arg1,arg2,arg3,arg4,arg5); - return; - } - void protected_contentsMousePressEvent(TQMouseEvent* arg1) { - TQTable::contentsMousePressEvent(arg1); - return; - } - void protected_contentsMouseMoveEvent(TQMouseEvent* arg1) { - TQTable::contentsMouseMoveEvent(arg1); - return; - } - void protected_contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - TQTable::contentsMouseDoubleClickEvent(arg1); - return; - } - void protected_contentsMouseReleaseEvent(TQMouseEvent* arg1) { - TQTable::contentsMouseReleaseEvent(arg1); - return; - } - void protected_contentsContextMenuEvent(TQContextMenuEvent* arg1) { - TQTable::contentsContextMenuEvent(arg1); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQTable::keyPressEvent(arg1); - return; - } - void protected_focusInEvent(TQFocusEvent* arg1) { - TQTable::focusInEvent(arg1); - return; - } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TQTable::focusOutEvent(arg1); - return; - } - void protected_viewportResizeEvent(TQResizeEvent* arg1) { - TQTable::viewportResizeEvent(arg1); - return; - } - void protected_showEvent(TQShowEvent* arg1) { - TQTable::showEvent(arg1); - return; - } - void protected_paintEvent(TQPaintEvent* arg1) { - TQTable::paintEvent(arg1); - return; - } - void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) { - TQTable::contentsDragEnterEvent(arg1); - return; - } - void protected_contentsDragMoveEvent(TQDragMoveEvent* arg1) { - TQTable::contentsDragMoveEvent(arg1); - return; - } - void protected_contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - TQTable::contentsDragLeaveEvent(arg1); - return; - } - void protected_contentsDropEvent(TQDropEvent* arg1) { - TQTable::contentsDropEvent(arg1); - return; - } - TQDragObject* protected_dragObject() { - return (TQDragObject*) TQTable::dragObject(); - } - void protected_startDrag() { - TQTable::startDrag(); - return; - } - void protected_paintEmptyArea(TQPainter* arg1,int arg2,int arg3,int arg4,int arg5) { - TQTable::paintEmptyArea(arg1,arg2,arg3,arg4,arg5); - return; - } - void protected_activateNextCell() { - TQTable::activateNextCell(); - return; - } - TQWidget* protected_createEditor(int arg1,int arg2,bool arg3) { - return (TQWidget*) TQTable::createEditor(arg1,arg2,arg3); - } - void protected_setCellContentFromEditor(int arg1,int arg2) { - TQTable::setCellContentFromEditor(arg1,arg2); - return; - } - TQWidget* protected_beginEdit(int arg1,int arg2,bool arg3) { - return (TQWidget*) TQTable::beginEdit(arg1,arg2,arg3); - } - void protected_endEdit(int arg1,int arg2,bool arg3,bool arg4) { - TQTable::endEdit(arg1,arg2,arg3,arg4); - return; - } - void protected_resizeData(int arg1) { - TQTable::resizeData(arg1); - return; - } - void protected_insertWidget(int arg1,int arg2,TQWidget* arg3) { - TQTable::insertWidget(arg1,arg2,arg3); - return; - } - int protected_indexOf(int arg1,int arg2) { - return (int) TQTable::indexOf(arg1,arg2); - } - void protected_windowActivationChange(bool arg1) { - TQTable::windowActivationChange(arg1); - return; - } - bool protected_isEditing() { - return (bool) TQTable::isEditing(); - } - int protected_currEditRow() { - return (int) TQTable::currEditRow(); - } - int protected_currEditCol() { - return (int) TQTable::currEditCol(); - } - void protected_columnWidthChanged(int arg1) { - TQTable::columnWidthChanged(arg1); - return; - } - void protected_rowHeightChanged(int arg1) { - TQTable::rowHeightChanged(arg1); - return; - } - void protected_columnIndexChanged(int arg1,int arg2,int arg3) { - TQTable::columnIndexChanged(arg1,arg2,arg3); - return; - } - void protected_rowIndexChanged(int arg1,int arg2,int arg3) { - TQTable::rowIndexChanged(arg1,arg2,arg3); - return; - } - void protected_columnClicked(int arg1) { - TQTable::columnClicked(arg1); - return; - } - ~TQTableJBridge() {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")) { - TQTable::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")) { - TQTable::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTable","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")) { - TQTable::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTable","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.qt.TQTable","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")) { - TQTable::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")) { - TQTable::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void activateNextCell() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTable","activateNextCell")) { - TQTable::activateNextCell(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTable","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQTable::contentsDropEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTable","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTable","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")) { - TQTable::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(TQTableItem* arg1) { - if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.TQTableItem")) { - TQTable::takeItem(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQTable::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")) { - TQTable::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.qt.TQTable","startDrag")) { - TQTable::startDrag(); - } - 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")) { - TQTable::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")) { - TQTable::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")) { - TQTable::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTable","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTable","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.qt.TQTable","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")) { - TQTable::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")) { - TQTable::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")) { - TQTable::contentsContextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTable","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_activateNextCell(JNIEnv* env, jobject obj) -{ - ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_activateNextCell(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTable_addSelection(JNIEnv* env, jobject obj, jobject s) -{ - jint xret = (jint) ((TQTable*) QtSupport::getQt(env, obj))->addSelection((const TQTableSelection&)*(const TQTableSelection*) QtSupport::getQt(env, s)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_adjustColumn(JNIEnv* env, jobject obj, jint col) -{ - ((TQTable*) QtSupport::getQt(env, obj))->adjustColumn((int) col); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_adjustRow(JNIEnv* env, jobject obj, jint row) -{ - ((TQTable*) QtSupport::getQt(env, obj))->adjustRow((int) row); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTable_beginEdit(JNIEnv* env, jobject obj, jint row, jint col, jboolean replace) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_beginEdit((int) row, (int) col, (bool) replace), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTable_cellGeometry(JNIEnv* env, jobject obj, jint row, jint col) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQTable*) QtSupport::getQt(env, obj))->cellGeometry((int) row, (int) col)), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTable_cellRect(JNIEnv* env, jobject obj, jint row, jint col) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQTable*) QtSupport::getQt(env, obj))->cellRect((int) row, (int) col)), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTable_cellWidget(JNIEnv* env, jobject obj, jint row, jint col) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTable*) QtSupport::getQt(env, obj))->cellWidget((int) row, (int) col), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTable_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQTable*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_clearCellWidget(JNIEnv* env, jobject obj, jint row, jint col) -{ - ((TQTable*) QtSupport::getQt(env, obj))->clearCellWidget((int) row, (int) col); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_clearCell(JNIEnv* env, jobject obj, jint row, jint col) -{ - ((TQTable*) QtSupport::getQt(env, obj))->clearCell((int) row, (int) col); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_clearSelection__(JNIEnv* env, jobject obj) -{ - ((TQTable*) QtSupport::getQt(env, obj))->clearSelection(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_clearSelection__Z(JNIEnv* env, jobject obj, jboolean repaint) -{ - ((TQTable*) QtSupport::getQt(env, obj))->clearSelection((bool) repaint); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTable_columnAt(JNIEnv* env, jobject obj, jint x) -{ - jint xret = (jint) ((TQTable*) QtSupport::getQt(env, obj))->columnAt((int) x); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_columnClicked(JNIEnv* env, jobject obj, jint col) -{ - ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_columnClicked((int) col); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_columnIndexChanged(JNIEnv* env, jobject obj, jint section, jint fromIndex, jint toIndex) -{ - ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_columnIndexChanged((int) section, (int) fromIndex, (int) toIndex); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTable_columnMovingEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQTable*) QtSupport::getQt(env, obj))->columnMovingEnabled(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTable_columnPos(JNIEnv* env, jobject obj, jint col) -{ - jint xret = (jint) ((TQTable*) QtSupport::getQt(env, obj))->columnPos((int) col); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_columnWidthChanged(JNIEnv* env, jobject obj, jint col) -{ - ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_columnWidthChanged((int) col); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTable_columnWidth(JNIEnv* env, jobject obj, jint col) -{ - jint xret = (jint) ((TQTable*) QtSupport::getQt(env, obj))->columnWidth((int) col); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_contentsContextMenuEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_contentsDragLeaveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_contentsDragMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_contentsDropEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_contentsMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_contentsMouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_contentsMouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTable_createEditor(JNIEnv* env, jobject obj, jint row, jint col, jboolean initFromCell) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_createEditor((int) row, (int) col, (bool) initFromCell), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTable_currEditCol(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_currEditCol(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTable_currEditRow(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_currEditRow(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTable_currentColumn(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTable*) QtSupport::getQt(env, obj))->currentColumn(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTable_currentRow(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTable*) QtSupport::getQt(env, obj))->currentRow(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTable_currentSelection(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTable*) QtSupport::getQt(env, obj))->currentSelection(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QTable_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTable_dragEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQTable*) QtSupport::getQt(env, obj))->dragEnabled(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTable_dragObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_dragObject(), "org.kde.qt.TQDragObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_drawContents(JNIEnv* env, jobject obj, jobject p, jint cx, jint cy, jint cw, jint ch) -{ - ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, p), (int) cx, (int) cy, (int) cw, (int) ch); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_editCell__II(JNIEnv* env, jobject obj, jint row, jint col) -{ - ((TQTable*) QtSupport::getQt(env, obj))->editCell((int) row, (int) col); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_editCell__IIZ(JNIEnv* env, jobject obj, jint row, jint col, jboolean replace) -{ - ((TQTable*) QtSupport::getQt(env, obj))->editCell((int) row, (int) col, (bool) replace); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_endEdit(JNIEnv* env, jobject obj, jint row, jint col, jboolean accept, jboolean replace) -{ - ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_endEdit((int) row, (int) col, (bool) accept, (bool) replace); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_ensureCellVisible(JNIEnv* env, jobject obj, jint row, jint col) -{ - ((TQTable*) QtSupport::getQt(env, obj))->ensureCellVisible((int) row, (int) col); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTable_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject arg2) -{ - jboolean xret = (jboolean) ((TQTable*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQTable*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQTable*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_focusInEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_focusOutEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTable_focusStyle(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTable*) QtSupport::getQt(env, obj))->focusStyle(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_hideColumn(JNIEnv* env, jobject obj, jint col) -{ - ((TQTable*) QtSupport::getQt(env, obj))->hideColumn((int) col); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_hideRow(JNIEnv* env, jobject obj, jint row) -{ - ((TQTable*) QtSupport::getQt(env, obj))->hideRow((int) row); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTable_horizontalHeader(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTable*) QtSupport::getQt(env, obj))->horizontalHeader(), "org.kde.qt.TQHeader"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTable_indexOf(JNIEnv* env, jobject obj, jint row, jint col) -{ - jint xret = (jint) ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_indexOf((int) row, (int) col); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_insertColumns__I(JNIEnv* env, jobject obj, jint col) -{ - ((TQTable*) QtSupport::getQt(env, obj))->insertColumns((int) col); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_insertColumns__II(JNIEnv* env, jobject obj, jint col, jint count) -{ - ((TQTable*) QtSupport::getQt(env, obj))->insertColumns((int) col, (int) count); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_insertRows__I(JNIEnv* env, jobject obj, jint row) -{ - ((TQTable*) QtSupport::getQt(env, obj))->insertRows((int) row); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_insertRows__II(JNIEnv* env, jobject obj, jint row, jint count) -{ - ((TQTable*) QtSupport::getQt(env, obj))->insertRows((int) row, (int) count); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_insertWidget(JNIEnv* env, jobject obj, jint row, jint col, jobject w) -{ - ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_insertWidget((int) row, (int) col, (TQWidget*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTable_isColumnHidden(JNIEnv* env, jobject obj, jint col) -{ - jboolean xret = (jboolean) ((TQTable*) QtSupport::getQt(env, obj))->isColumnHidden((int) col); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTable_isColumnReadOnly(JNIEnv* env, jobject obj, jint col) -{ - jboolean xret = (jboolean) ((TQTable*) QtSupport::getQt(env, obj))->isColumnReadOnly((int) col); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTable_isColumnSelected__I(JNIEnv* env, jobject obj, jint col) -{ - jboolean xret = (jboolean) ((TQTable*) QtSupport::getQt(env, obj))->isColumnSelected((int) col); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTable_isColumnSelected__IZ(JNIEnv* env, jobject obj, jint col, jboolean full) -{ - jboolean xret = (jboolean) ((TQTable*) QtSupport::getQt(env, obj))->isColumnSelected((int) col, (bool) full); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTable_isColumnStretchable(JNIEnv* env, jobject obj, jint col) -{ - jboolean xret = (jboolean) ((TQTable*) QtSupport::getQt(env, obj))->isColumnStretchable((int) col); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTable_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTable_isEditing(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_isEditing(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTable_isReadOnly(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQTable*) QtSupport::getQt(env, obj))->isReadOnly(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTable_isRowHidden(JNIEnv* env, jobject obj, jint row) -{ - jboolean xret = (jboolean) ((TQTable*) QtSupport::getQt(env, obj))->isRowHidden((int) row); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTable_isRowReadOnly(JNIEnv* env, jobject obj, jint row) -{ - jboolean xret = (jboolean) ((TQTable*) QtSupport::getQt(env, obj))->isRowReadOnly((int) row); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTable_isRowSelected__I(JNIEnv* env, jobject obj, jint row) -{ - jboolean xret = (jboolean) ((TQTable*) QtSupport::getQt(env, obj))->isRowSelected((int) row); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTable_isRowSelected__IZ(JNIEnv* env, jobject obj, jint row, jboolean full) -{ - jboolean xret = (jboolean) ((TQTable*) QtSupport::getQt(env, obj))->isRowSelected((int) row, (bool) full); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTable_isRowStretchable(JNIEnv* env, jobject obj, jint row) -{ - jboolean xret = (jboolean) ((TQTable*) QtSupport::getQt(env, obj))->isRowStretchable((int) row); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTable_isSelected(JNIEnv* env, jobject obj, jint row, jint col) -{ - jboolean xret = (jboolean) ((TQTable*) QtSupport::getQt(env, obj))->isSelected((int) row, (int) col); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTable_item(JNIEnv* env, jobject obj, jint row, jint col) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTable*) QtSupport::getQt(env, obj))->item((int) row, (int) col), "org.kde.qt.TQTableItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTable_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTable*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_newTQTable__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTableJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_newTQTable__II(JNIEnv* env, jobject obj, jint numRows, jint numCols) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTableJBridge((int) numRows, (int) numCols)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_newTQTable__IILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint numRows, jint numCols, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTableJBridge((int) numRows, (int) numCols, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_newTQTable__IILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint numRows, jint numCols, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTableJBridge((int) numRows, (int) numCols, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_newTQTable__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTableJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_newTQTable__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 TQTableJBridge((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_qt_QTable_numCols(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTable*) QtSupport::getQt(env, obj))->numCols(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTable_numRows(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTable*) QtSupport::getQt(env, obj))->numRows(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTable_numSelections(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTable*) QtSupport::getQt(env, obj))->numSelections(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_paintCell__Lorg_kde_qt_QPainter_2IILorg_kde_qt_QRect_2Z(JNIEnv* env, jobject obj, jobject p, jint row, jint col, jobject cr, jboolean selected) -{ - ((TQTable*) QtSupport::getQt(env, obj))->paintCell((TQPainter*) QtSupport::getQt(env, p), (int) row, (int) col, (const TQRect&)*(const TQRect*) QtSupport::getQt(env, cr), (bool) selected); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_paintCell__Lorg_kde_qt_QPainter_2IILorg_kde_qt_QRect_2ZLorg_kde_qt_QColorGroup_2(JNIEnv* env, jobject obj, jobject p, jint row, jint col, jobject cr, jboolean selected, jobject cg) -{ - ((TQTable*) QtSupport::getQt(env, obj))->paintCell((TQPainter*) QtSupport::getQt(env, p), (int) row, (int) col, (const TQRect&)*(const TQRect*) QtSupport::getQt(env, cr), (bool) selected, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_paintEmptyArea(JNIEnv* env, jobject obj, jobject p, jint cx, jint cy, jint cw, jint ch) -{ - ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_paintEmptyArea((TQPainter*) QtSupport::getQt(env, p), (int) cx, (int) cy, (int) cw, (int) ch); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_paintEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_paintFocus(JNIEnv* env, jobject obj, jobject p, jobject r) -{ - ((TQTable*) QtSupport::getQt(env, obj))->paintFocus((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTable_pixmap(JNIEnv* env, jobject obj, jint row, jint col) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQTable*) QtSupport::getQt(env, obj))->pixmap((int) row, (int) col)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_removeColumn(JNIEnv* env, jobject obj, jint col) -{ - ((TQTable*) QtSupport::getQt(env, obj))->removeColumn((int) col); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_removeRow(JNIEnv* env, jobject obj, jint row) -{ - ((TQTable*) QtSupport::getQt(env, obj))->removeRow((int) row); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_removeSelection__I(JNIEnv* env, jobject obj, jint num) -{ - ((TQTable*) QtSupport::getQt(env, obj))->removeSelection((int) num); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_removeSelection__Lorg_kde_qt_QTableSelection_2(JNIEnv* env, jobject obj, jobject s) -{ - ((TQTable*) QtSupport::getQt(env, obj))->removeSelection((const TQTableSelection&)*(const TQTableSelection*) QtSupport::getQt(env, s)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_repaintSelections(JNIEnv* env, jobject obj) -{ - ((TQTable*) QtSupport::getQt(env, obj))->repaintSelections(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_resizeData(JNIEnv* env, jobject obj, jint len) -{ - ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_resizeData((int) len); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTable_rowAt(JNIEnv* env, jobject obj, jint y) -{ - jint xret = (jint) ((TQTable*) QtSupport::getQt(env, obj))->rowAt((int) y); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_rowHeightChanged(JNIEnv* env, jobject obj, jint row) -{ - ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_rowHeightChanged((int) row); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTable_rowHeight(JNIEnv* env, jobject obj, jint row) -{ - jint xret = (jint) ((TQTable*) QtSupport::getQt(env, obj))->rowHeight((int) row); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_rowIndexChanged(JNIEnv* env, jobject obj, jint section, jint fromIndex, jint toIndex) -{ - ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_rowIndexChanged((int) section, (int) fromIndex, (int) toIndex); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTable_rowMovingEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQTable*) QtSupport::getQt(env, obj))->rowMovingEnabled(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTable_rowPos(JNIEnv* env, jobject obj, jint row) -{ - jint xret = (jint) ((TQTable*) QtSupport::getQt(env, obj))->rowPos((int) row); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_selectCells(JNIEnv* env, jobject obj, jint start_row, jint start_col, jint end_row, jint end_col) -{ - ((TQTable*) QtSupport::getQt(env, obj))->selectCells((int) start_row, (int) start_col, (int) end_row, (int) end_col); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_selectColumn(JNIEnv* env, jobject obj, jint col) -{ - ((TQTable*) QtSupport::getQt(env, obj))->selectColumn((int) col); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_selectRow(JNIEnv* env, jobject obj, jint row) -{ - ((TQTable*) QtSupport::getQt(env, obj))->selectRow((int) row); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTable_selectionMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTable*) QtSupport::getQt(env, obj))->selectionMode(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTable_selection(JNIEnv* env, jobject obj, jint num) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQTableSelection(((TQTable*) QtSupport::getQt(env, obj))->selection((int) num)), "org.kde.qt.TQTableSelection", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_setCellContentFromEditor(JNIEnv* env, jobject obj, jint row, jint col) -{ - ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_setCellContentFromEditor((int) row, (int) col); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_setCellWidget(JNIEnv* env, jobject obj, jint row, jint col, jobject e) -{ - ((TQTable*) QtSupport::getQt(env, obj))->setCellWidget((int) row, (int) col, (TQWidget*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_setColumnLabels(JNIEnv* env, jobject obj, jobjectArray labels) -{ -static TQStringList* _qlist_labels = 0; - ((TQTable*) QtSupport::getQt(env, obj))->setColumnLabels((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, labels, &_qlist_labels)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_setColumnMovingEnabled(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQTable*) QtSupport::getQt(env, obj))->setColumnMovingEnabled((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_setColumnReadOnly(JNIEnv* env, jobject obj, jint col, jboolean ro) -{ - ((TQTable*) QtSupport::getQt(env, obj))->setColumnReadOnly((int) col, (bool) ro); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_setColumnStretchable(JNIEnv* env, jobject obj, jint col, jboolean stretch) -{ - ((TQTable*) QtSupport::getQt(env, obj))->setColumnStretchable((int) col, (bool) stretch); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_setColumnWidth(JNIEnv* env, jobject obj, jint col, jint w) -{ - ((TQTable*) QtSupport::getQt(env, obj))->setColumnWidth((int) col, (int) w); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_setCurrentCell(JNIEnv* env, jobject obj, jint row, jint col) -{ - ((TQTable*) QtSupport::getQt(env, obj))->setCurrentCell((int) row, (int) col); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_setDragEnabled(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQTable*) QtSupport::getQt(env, obj))->setDragEnabled((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_setEnabled(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQTable*) QtSupport::getQt(env, obj))->setEnabled((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_setFocusStyle(JNIEnv* env, jobject obj, jint fs) -{ - ((TQTable*) QtSupport::getQt(env, obj))->setFocusStyle((TQTable::FocusStyle) fs); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_setItem(JNIEnv* env, jobject obj, jint row, jint col, jobject item) -{ - ((TQTable*) QtSupport::getQt(env, obj))->setItem((int) row, (int) col, (TQTableItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_setLeftMargin(JNIEnv* env, jobject obj, jint m) -{ - ((TQTable*) QtSupport::getQt(env, obj))->setLeftMargin((int) m); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_setNumCols(JNIEnv* env, jobject obj, jint r) -{ - ((TQTable*) QtSupport::getQt(env, obj))->setNumCols((int) r); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_setNumRows(JNIEnv* env, jobject obj, jint r) -{ - ((TQTable*) QtSupport::getQt(env, obj))->setNumRows((int) r); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_setPixmap(JNIEnv* env, jobject obj, jint row, jint col, jobject pix) -{ - ((TQTable*) QtSupport::getQt(env, obj))->setPixmap((int) row, (int) col, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_setReadOnly(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQTable*) QtSupport::getQt(env, obj))->setReadOnly((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_setRowHeight(JNIEnv* env, jobject obj, jint row, jint h) -{ - ((TQTable*) QtSupport::getQt(env, obj))->setRowHeight((int) row, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_setRowLabels(JNIEnv* env, jobject obj, jobjectArray labels) -{ -static TQStringList* _qlist_labels = 0; - ((TQTable*) QtSupport::getQt(env, obj))->setRowLabels((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, labels, &_qlist_labels)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_setRowMovingEnabled(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQTable*) QtSupport::getQt(env, obj))->setRowMovingEnabled((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_setRowReadOnly(JNIEnv* env, jobject obj, jint row, jboolean ro) -{ - ((TQTable*) QtSupport::getQt(env, obj))->setRowReadOnly((int) row, (bool) ro); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_setRowStretchable(JNIEnv* env, jobject obj, jint row, jboolean stretch) -{ - ((TQTable*) QtSupport::getQt(env, obj))->setRowStretchable((int) row, (bool) stretch); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_setSelectionMode(JNIEnv* env, jobject obj, jint mode) -{ - ((TQTable*) QtSupport::getQt(env, obj))->setSelectionMode((TQTable::SelectionMode) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_setShowGrid(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQTable*) QtSupport::getQt(env, obj))->setShowGrid((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_setSorting(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQTable*) QtSupport::getQt(env, obj))->setSorting((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_setText(JNIEnv* env, jobject obj, jint row, jint col, jstring text) -{ -static TQString* _qstring_text = 0; - ((TQTable*) QtSupport::getQt(env, obj))->setText((int) row, (int) col, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_setTopMargin(JNIEnv* env, jobject obj, jint m) -{ - ((TQTable*) QtSupport::getQt(env, obj))->setTopMargin((int) m); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_showColumn(JNIEnv* env, jobject obj, jint col) -{ - ((TQTable*) QtSupport::getQt(env, obj))->showColumn((int) col); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_showEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTable_showGrid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQTable*) QtSupport::getQt(env, obj))->showGrid(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_showRow(JNIEnv* env, jobject obj, jint row) -{ - ((TQTable*) QtSupport::getQt(env, obj))->showRow((int) row); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTable_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQTable*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_sortColumn__I(JNIEnv* env, jobject obj, jint col) -{ - ((TQTable*) QtSupport::getQt(env, obj))->sortColumn((int) col); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_sortColumn__IZ(JNIEnv* env, jobject obj, jint col, jboolean ascending) -{ - ((TQTable*) QtSupport::getQt(env, obj))->sortColumn((int) col, (bool) ascending); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_sortColumn__IZZ(JNIEnv* env, jobject obj, jint col, jboolean ascending, jboolean wholeRows) -{ - ((TQTable*) QtSupport::getQt(env, obj))->sortColumn((int) col, (bool) ascending, (bool) wholeRows); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTable_sortOnInsert(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQTable*) QtSupport::getQt(env, obj))->sorting(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_startDrag(JNIEnv* env, jobject obj) -{ - ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_startDrag(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_swapCells(JNIEnv* env, jobject obj, jint row1, jint col1, jint row2, jint col2) -{ - ((TQTable*) QtSupport::getQt(env, obj))->swapCells((int) row1, (int) col1, (int) row2, (int) col2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_swapColumns__II(JNIEnv* env, jobject obj, jint col1, jint col2) -{ - ((TQTable*) QtSupport::getQt(env, obj))->swapColumns((int) col1, (int) col2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_swapColumns__IIZ(JNIEnv* env, jobject obj, jint col1, jint col2, jboolean swapHeader) -{ - ((TQTable*) QtSupport::getQt(env, obj))->swapColumns((int) col1, (int) col2, (bool) swapHeader); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_swapRows__II(JNIEnv* env, jobject obj, jint row1, jint row2) -{ - ((TQTable*) QtSupport::getQt(env, obj))->swapRows((int) row1, (int) row2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_swapRows__IIZ(JNIEnv* env, jobject obj, jint row1, jint row2, jboolean swapHeader) -{ - ((TQTable*) QtSupport::getQt(env, obj))->swapRows((int) row1, (int) row2, (bool) swapHeader); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_takeItem(JNIEnv* env, jobject obj, jobject i) -{ - ((TQTable*) QtSupport::getQt(env, obj))->takeItem((TQTableItem*) QtSupport::getQt(env, i)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTable_text(JNIEnv* env, jobject obj, jint row, jint col) -{ - TQString _qstring; - _qstring = ((TQTable*) QtSupport::getQt(env, obj))->text((int) row, (int) col); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTable_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQTableJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTable_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQTableJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_updateCell(JNIEnv* env, jobject obj, jint row, jint col) -{ - ((TQTable*) QtSupport::getQt(env, obj))->updateCell((int) row, (int) col); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_updateHeaderStates(JNIEnv* env, jobject obj) -{ - ((TQTable*) QtSupport::getQt(env, obj))->updateHeaderStates(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTable_verticalHeader(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTable*) QtSupport::getQt(env, obj))->verticalHeader(), "org.kde.qt.TQHeader"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_viewportResizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_viewportResizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_windowActivationChange(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_windowActivationChange((bool) arg1); - return; -} - diff --git a/qtjava/javalib/qtjava/QTable.h b/qtjava/javalib/qtjava/QTable.h deleted file mode 100644 index 9e67642e..00000000 --- a/qtjava/javalib/qtjava/QTable.h +++ /dev/null @@ -1,175 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QTable__ -#define __org_kde_qt_QTable__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTable_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTable_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_newTQTable__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_newTQTable__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_newTQTable__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_newTQTable__IILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_newTQTable__IILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_newTQTable__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTable_horizontalHeader (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTable_verticalHeader (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setSelectionMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_selectionMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setItem (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setText (JNIEnv *env, jobject, jint, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setPixmap (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTable_item (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTable_text (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTable_pixmap (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_clearCell (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTable_cellGeometry (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_columnWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_rowHeight (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_columnPos (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_rowPos (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_columnAt (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_rowAt (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_numRows (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_numCols (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_updateCell (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_currentRow (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_currentColumn (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_ensureCellVisible (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_isSelected (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_isRowSelected__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_isRowSelected__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_isColumnSelected__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_isColumnSelected__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_numSelections (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTable_selection (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_addSelection (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_removeSelection__Lorg_kde_qt_QTableSelection_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_removeSelection__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_currentSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_selectCells (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_selectRow (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_selectColumn (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_showGrid (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_columnMovingEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_rowMovingEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_sortColumn__IZZ (JNIEnv *env, jobject, jint, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_sortColumn__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_sortColumn__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_sortOnInsert (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_takeItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setCellWidget (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTable_cellWidget (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_clearCellWidget (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTable_cellRect (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_paintCell__Lorg_kde_qt_QPainter_2IILorg_kde_qt_QRect_2Z (JNIEnv *env, jobject, jobject, jint, jint, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_paintCell__Lorg_kde_qt_QPainter_2IILorg_kde_qt_QRect_2ZLorg_kde_qt_QColorGroup_2 (JNIEnv *env, jobject, jobject, jint, jint, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_paintFocus (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTable_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_isReadOnly (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_isRowReadOnly (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_isColumnReadOnly (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_repaintSelections (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setFocusStyle (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_focusStyle (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_updateHeaderStates (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setNumRows (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setNumCols (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setShowGrid (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_hideRow (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_hideColumn (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_showRow (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_showColumn (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_isRowHidden (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_isColumnHidden (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setColumnWidth (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setRowHeight (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_adjustColumn (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_adjustRow (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setColumnStretchable (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setRowStretchable (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_isColumnStretchable (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_isRowStretchable (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setSorting (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_swapRows__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_swapRows__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_swapColumns__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_swapColumns__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_swapCells (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setLeftMargin (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setTopMargin (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setCurrentCell (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_clearSelection__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_clearSelection__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setColumnMovingEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setRowMovingEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setReadOnly (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setRowReadOnly (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setColumnReadOnly (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setDragEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_dragEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_insertRows__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_insertRows__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_insertColumns__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_insertColumns__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_removeRow (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_removeColumn (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_editCell__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_editCell__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setRowLabels (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setColumnLabels (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTable_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTable_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_drawContents (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_contentsMousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_contentsMouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_contentsMouseDoubleClickEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_contentsMouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_contentsContextMenuEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_focusInEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_focusOutEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_viewportResizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_showEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_contentsDragEnterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_contentsDragMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_contentsDragLeaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_contentsDropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTable_dragObject (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_startDrag (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_paintEmptyArea (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_activateNextCell (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTable_createEditor (JNIEnv *env, jobject, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setCellContentFromEditor (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTable_beginEdit (JNIEnv *env, jobject, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_endEdit (JNIEnv *env, jobject, jint, jint, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_resizeData (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_insertWidget (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_indexOf (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_windowActivationChange (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_isEditing (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_currEditRow (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_currEditCol (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_columnWidthChanged (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_rowHeightChanged (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_columnIndexChanged (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_rowIndexChanged (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_columnClicked (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QTable__ */ diff --git a/qtjava/javalib/qtjava/QTableItem.cpp b/qtjava/javalib/qtjava/QTableItem.cpp deleted file mode 100644 index b5615c5b..00000000 --- a/qtjava/javalib/qtjava/QTableItem.cpp +++ /dev/null @@ -1,267 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQTableItemJBridge : public TQTableItem -{ -public: - TQTableItemJBridge(TQTable* arg1,TQTableItem::EditType arg2) : TQTableItem(arg1,arg2) {}; - TQTableItemJBridge(TQTable* arg1,TQTableItem::EditType arg2,const TQString& arg3) : TQTableItem(arg1,arg2,arg3) {}; - TQTableItemJBridge(TQTable* arg1,TQTableItem::EditType arg2,const TQString& arg3,const TQPixmap& arg4) : TQTableItem(arg1,arg2,arg3,arg4) {}; - ~TQTableItemJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTableItem_alignment(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTableItem*) QtSupport::getQt(env, obj))->alignment(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTableItem_colSpan(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTableItem*) QtSupport::getQt(env, obj))->colSpan(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTableItem_col(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTableItem*) QtSupport::getQt(env, obj))->col(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTableItem_createEditor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTableItem*) QtSupport::getQt(env, obj))->createEditor(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTableItem_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QTableItem_finalize(env, obj); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTableItem_editType(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTableItem*) QtSupport::getQt(env, obj))->editType(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTableItem_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQTableItem*)(TQTableItem*)QtSupport::getQt(env, obj))->table() == 0) { - delete (TQTableItem*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTableItem_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTableItem_isEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQTableItem*) QtSupport::getQt(env, obj))->isEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTableItem_isReplaceable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQTableItem*) QtSupport::getQt(env, obj))->isReplaceable(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTableItem_key(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQTableItem*) QtSupport::getQt(env, obj))->key(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTableItem_newTQTableItem__Lorg_kde_qt_QTable_2I(JNIEnv* env, jobject obj, jobject table, jint et) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTableItemJBridge((TQTable*) QtSupport::getQt(env, table), (TQTableItem::EditType) et)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTableItem_newTQTableItem__Lorg_kde_qt_QTable_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject table, jint et, jstring text) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTableItemJBridge((TQTable*) QtSupport::getQt(env, table), (TQTableItem::EditType) et, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTableItem_newTQTableItem__Lorg_kde_qt_QTable_2ILjava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject table, jint et, jstring text, jobject p) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTableItemJBridge((TQTable*) QtSupport::getQt(env, table), (TQTableItem::EditType) et, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, p))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTableItem_paint(JNIEnv* env, jobject obj, jobject p, jobject cg, jobject cr, jboolean selected) -{ - ((TQTableItem*) QtSupport::getQt(env, obj))->paint((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, cr), (bool) selected); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTableItem_pixmap(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQTableItem*) QtSupport::getQt(env, obj))->pixmap()), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTableItem_rowSpan(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTableItem*) QtSupport::getQt(env, obj))->rowSpan(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTableItem_row(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTableItem*) QtSupport::getQt(env, obj))->row(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTableItem_rtti(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTableItem*) QtSupport::getQt(env, obj))->rtti(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTableItem_setCol(JNIEnv* env, jobject obj, jint c) -{ - ((TQTableItem*) QtSupport::getQt(env, obj))->setCol((int) c); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTableItem_setContentFromEditor(JNIEnv* env, jobject obj, jobject w) -{ - ((TQTableItem*) QtSupport::getQt(env, obj))->setContentFromEditor((TQWidget*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTableItem_setEnabled(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQTableItem*) QtSupport::getQt(env, obj))->setEnabled((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTableItem_setPixmap(JNIEnv* env, jobject obj, jobject p) -{ - ((TQTableItem*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTableItem_setReplaceable(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQTableItem*) QtSupport::getQt(env, obj))->setReplaceable((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTableItem_setRow(JNIEnv* env, jobject obj, jint r) -{ - ((TQTableItem*) QtSupport::getQt(env, obj))->setRow((int) r); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTableItem_setSpan(JNIEnv* env, jobject obj, jint rs, jint cs) -{ - ((TQTableItem*) QtSupport::getQt(env, obj))->setSpan((int) rs, (int) cs); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTableItem_setText(JNIEnv* env, jobject obj, jstring t) -{ -static TQString* _qstring_t = 0; - ((TQTableItem*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, t, &_qstring_t)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTableItem_setWordWrap(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQTableItem*) QtSupport::getQt(env, obj))->setWordWrap((bool) b); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTableItem_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQTableItem*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTableItem_table(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTableItem*) QtSupport::getQt(env, obj))->table(), "org.kde.qt.TQTable"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTableItem_text(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQTableItem*) QtSupport::getQt(env, obj))->text(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTableItem_updateEditor(JNIEnv* env, jobject obj, jint oldRow, jint oldCol) -{ - ((TQTableItem*) QtSupport::getQt(env, obj))->updateEditor((int) oldRow, (int) oldCol); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTableItem_wordWrap(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQTableItem*) QtSupport::getQt(env, obj))->wordWrap(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QTableItem.h b/qtjava/javalib/qtjava/QTableItem.h deleted file mode 100644 index 8ea9e4bd..00000000 --- a/qtjava/javalib/qtjava/QTableItem.h +++ /dev/null @@ -1,51 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QTableItem__ -#define __org_kde_qt_QTableItem__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableItem_newTQTableItem__Lorg_kde_qt_QTable_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableItem_newTQTableItem__Lorg_kde_qt_QTable_2ILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableItem_newTQTableItem__Lorg_kde_qt_QTable_2ILjava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jint, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTableItem_pixmap (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTableItem_text (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableItem_setPixmap (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableItem_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTableItem_table (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTableItem_alignment (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableItem_setWordWrap (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTableItem_wordWrap (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTableItem_editType (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTableItem_createEditor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableItem_setContentFromEditor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableItem_setReplaceable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTableItem_isReplaceable (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTableItem_key (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTableItem_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableItem_setSpan (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTableItem_rowSpan (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTableItem_colSpan (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableItem_setRow (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableItem_setCol (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTableItem_row (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTableItem_col (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableItem_paint (JNIEnv *env, jobject, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableItem_updateEditor (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableItem_setEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTableItem_isEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTableItem_rtti (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableItem_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableItem_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTableItem_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QTableItem__ */ diff --git a/qtjava/javalib/qtjava/QTableSelection.cpp b/qtjava/javalib/qtjava/QTableSelection.cpp deleted file mode 100644 index 4fd2064a..00000000 --- a/qtjava/javalib/qtjava/QTableSelection.cpp +++ /dev/null @@ -1,155 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - -class TQTableSelectionJBridge : public TQTableSelection -{ -public: - TQTableSelectionJBridge() : TQTableSelection() {}; - TQTableSelectionJBridge(int arg1,int arg2,int arg3,int arg4) : TQTableSelection(arg1,arg2,arg3,arg4) {}; - ~TQTableSelectionJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTableSelection_anchorCol(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTableSelection*) QtSupport::getQt(env, obj))->anchorCol(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTableSelection_anchorRow(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTableSelection*) QtSupport::getQt(env, obj))->anchorRow(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTableSelection_bottomRow(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTableSelection*) QtSupport::getQt(env, obj))->bottomRow(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTableSelection_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QTableSelection_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTableSelection_expandTo(JNIEnv* env, jobject obj, jint row, jint col) -{ - ((TQTableSelection*) QtSupport::getQt(env, obj))->expandTo((int) row, (int) col); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTableSelection_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQTableSelection*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTableSelection_init(JNIEnv* env, jobject obj, jint row, jint col) -{ - ((TQTableSelection*) QtSupport::getQt(env, obj))->init((int) row, (int) col); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTableSelection_isActive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQTableSelection*) QtSupport::getQt(env, obj))->isActive(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTableSelection_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTableSelection_isEmpty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQTableSelection*) QtSupport::getQt(env, obj))->isEmpty(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTableSelection_leftCol(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTableSelection*) QtSupport::getQt(env, obj))->leftCol(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTableSelection_newTQTableSelection__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTableSelectionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTableSelection_newTQTableSelection__IIII(JNIEnv* env, jobject obj, jint start_row, jint start_col, jint end_row, jint end_col) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTableSelectionJBridge((int) start_row, (int) start_col, (int) end_row, (int) end_col)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTableSelection_numCols(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTableSelection*) QtSupport::getQt(env, obj))->numCols(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTableSelection_numRows(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTableSelection*) QtSupport::getQt(env, obj))->numRows(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTableSelection_op_1equals(JNIEnv* env, jobject obj, jobject s) -{ - jboolean xret = (jboolean) ((TQTableSelection*) QtSupport::getQt(env, obj))->operator==((const TQTableSelection&)*(const TQTableSelection*) QtSupport::getQt(env, s)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTableSelection_op_1not_1equals(JNIEnv* env, jobject obj, jobject s) -{ - jboolean xret = (jboolean) ((TQTableSelection*) QtSupport::getQt(env, obj))->operator!=((const TQTableSelection&)*(const TQTableSelection*) QtSupport::getQt(env, s)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTableSelection_rightCol(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTableSelection*) QtSupport::getQt(env, obj))->rightCol(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTableSelection_topRow(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTableSelection*) QtSupport::getQt(env, obj))->topRow(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QTableSelection.h b/qtjava/javalib/qtjava/QTableSelection.h deleted file mode 100644 index e4cfd3e8..00000000 --- a/qtjava/javalib/qtjava/QTableSelection.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QTableSelection__ -#define __org_kde_qt_QTableSelection__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableSelection_newTQTableSelection__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableSelection_newTQTableSelection__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableSelection_init (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableSelection_expandTo (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTableSelection_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTableSelection_op_1not_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTableSelection_topRow (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTableSelection_bottomRow (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTableSelection_leftCol (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTableSelection_rightCol (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTableSelection_anchorRow (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTableSelection_anchorCol (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTableSelection_numRows (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTableSelection_numCols (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTableSelection_isActive (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTableSelection_isEmpty (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableSelection_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableSelection_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTableSelection_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QTableSelection__ */ diff --git a/qtjava/javalib/qtjava/QTabletEvent.cpp b/qtjava/javalib/qtjava/QTabletEvent.cpp deleted file mode 100644 index 2a5069a8..00000000 --- a/qtjava/javalib/qtjava/QTabletEvent.cpp +++ /dev/null @@ -1,121 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabletEvent_accept(JNIEnv* env, jobject obj) -{ - ((TQTabletEvent*) QtSupport::getQt(env, obj))->accept(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTabletEvent_device(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTabletEvent*) QtSupport::getQt(env, obj))->device(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabletEvent_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QTabletEvent_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabletEvent_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQTabletEvent*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTabletEvent_globalPos(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQTabletEvent*) QtSupport::getQt(env, obj))->globalPos(), "org.kde.qt.TQPoint"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTabletEvent_globalX(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTabletEvent*) QtSupport::getQt(env, obj))->globalX(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTabletEvent_globalY(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTabletEvent*) QtSupport::getQt(env, obj))->globalY(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTabletEvent_ignore(JNIEnv* env, jobject obj) -{ - ((TQTabletEvent*) QtSupport::getQt(env, obj))->ignore(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTabletEvent_isAccepted(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTabletEvent*) QtSupport::getQt(env, obj))->isAccepted(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTabletEvent_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTabletEvent_pos(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQTabletEvent*) QtSupport::getQt(env, obj))->pos(), "org.kde.qt.TQPoint"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTabletEvent_pressure(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTabletEvent*) QtSupport::getQt(env, obj))->pressure(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTabletEvent_xTilt(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTabletEvent*) QtSupport::getQt(env, obj))->xTilt(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTabletEvent_x(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTabletEvent*) QtSupport::getQt(env, obj))->x(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTabletEvent_yTilt(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTabletEvent*) QtSupport::getQt(env, obj))->yTilt(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTabletEvent_y(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTabletEvent*) QtSupport::getQt(env, obj))->y(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QTabletEvent.h b/qtjava/javalib/qtjava/QTabletEvent.h deleted file mode 100644 index 490660ad..00000000 --- a/qtjava/javalib/qtjava/QTabletEvent.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QTabletEvent__ -#define __org_kde_qt_QTabletEvent__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabletEvent_pressure (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabletEvent_xTilt (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabletEvent_yTilt (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabletEvent_pos (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabletEvent_globalPos (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabletEvent_x (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabletEvent_y (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabletEvent_globalX (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabletEvent_globalY (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabletEvent_device (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabletEvent_isAccepted (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabletEvent_accept (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabletEvent_ignore (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabletEvent_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabletEvent_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTabletEvent_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QTabletEvent__ */ diff --git a/qtjava/javalib/qtjava/QTextBrowser.cpp b/qtjava/javalib/qtjava/QTextBrowser.cpp deleted file mode 100644 index e6faa3f4..00000000 --- a/qtjava/javalib/qtjava/QTextBrowser.cpp +++ /dev/null @@ -1,809 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQTextBrowserJBridge : public TQTextBrowser -{ -public: - TQTextBrowserJBridge(TQWidget* arg1,const char* arg2) : TQTextBrowser(arg1,arg2) {}; - TQTextBrowserJBridge(TQWidget* arg1) : TQTextBrowser(arg1) {}; - TQTextBrowserJBridge() : TQTextBrowser() {}; - void public_backward() { - TQTextBrowser::backward(); - return; - } - void public_forward() { - TQTextBrowser::forward(); - return; - } - void public_home() { - TQTextBrowser::home(); - return; - } - void public_reload() { - TQTextBrowser::reload(); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQTextBrowser::keyPressEvent(arg1); - return; - } - ~TQTextBrowserJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void setColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQTextEdit::setColor(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQTextEdit::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void contentsMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMouseReleaseEvent(arg1); - } - return; - } - void setMimeSourceFactory(TQMimeSourceFactory* arg1) { - if (!QtSupport::eventDelegate(this,"setMimeSourceFactory",(void*)arg1,"org.kde.qt.TQMimeSourceFactory")) { - TQTextEdit::setMimeSourceFactory(arg1); - } - return; - } - void zoomOut() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","zoomOut")) { - TQTextEdit::zoomOut(); - } - return; - } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQScrollView::viewportPaintEvent(arg1); - } - return; - } - void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); - } - return; - } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseReleaseEvent(arg1); - } - return; - } - void del() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","del")) { - TQTextEdit::del(); - } - return; - } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQTextEdit::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void undo() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","undo")) { - TQTextEdit::undo(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setPaper(const TQBrush& arg1) { - if (!QtSupport::eventDelegate(this,"setPaper",(void*)&arg1,"org.kde.qt.TQBrush")) { - TQTextEdit::setPaper(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void resetFormat() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","resetFormat")) { - TQTextEdit::resetFormat(); - } - return; - } - void zoomIn() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","zoomIn")) { - TQTextEdit::zoomIn(); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void viewportResizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQTextEdit::viewportResizeEvent(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQTextEdit::imStartEvent(arg1); - } - return; - } - void cut() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","cut")) { - TQTextEdit::cut(); - } - return; - } - void scrollToBottom() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","scrollToBottom")) { - TQTextEdit::scrollToBottom(); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","clear")) { - TQTextEdit::clear(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","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.qt.TQTextBrowser","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.qt.TQTextBrowser","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","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")) { - TQTextBrowser::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void indent() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","indent")) { - TQTextEdit::indent(); - } - return; - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setCornerWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQScrollView::setCornerWidget(arg1); - } - return; - } - void contentsDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQTextEdit::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQTextEdit::contentsWheelEvent(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void copy() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","copy")) { - TQTextEdit::copy(); - } - return; - } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQTextEdit::setFont(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQTextEdit::contentsDragMoveEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMouseMoveEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void doChangeInterval() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","doChangeInterval")) { - TQTextEdit::doChangeInterval(); - } - return; - } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","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.qt.TQTextBrowser","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.qt.TQTextBrowser","ensureCursorVisible")) { - TQTextEdit::ensureCursorVisible(); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseMoveEvent(arg1); - } - return; - } - void viewportMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void sync() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","sync")) { - TQTextEdit::sync(); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void viewportDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::viewportDropEvent(arg1); - } - return; - } - void viewportDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::viewportDragMoveEvent(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","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.qt.TQTextBrowser","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.qt.TQTextBrowser","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.qt.TQTextBrowser","paste")) { - TQTextEdit::paste(); - } - return; - } - void redo() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","redo")) { - TQTextEdit::redo(); - } - return; - } - void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::viewportDragLeaveEvent(arg1); - } - return; - } - void contentsContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQTextEdit::contentsContextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextBrowser_backward(JNIEnv* env, jobject obj) -{ - ((TQTextBrowserJBridge*) QtSupport::getQt(env, obj))->public_backward(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTextBrowser_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQTextBrowser*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextBrowser_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QTextBrowser_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextBrowser_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQTextBrowser*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQTextBrowser*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextBrowser_forward(JNIEnv* env, jobject obj) -{ - ((TQTextBrowserJBridge*) QtSupport::getQt(env, obj))->public_forward(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextBrowser_home(JNIEnv* env, jobject obj) -{ - ((TQTextBrowserJBridge*) QtSupport::getQt(env, obj))->public_home(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTextBrowser_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextBrowser_keyPressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQTextBrowserJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextBrowser_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTextBrowser*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextBrowser_newTQTextBrowser__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTextBrowserJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextBrowser_newTQTextBrowser__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTextBrowserJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextBrowser_newTQTextBrowser__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 TQTextBrowserJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextBrowser_reload(JNIEnv* env, jobject obj) -{ - ((TQTextBrowserJBridge*) QtSupport::getQt(env, obj))->public_reload(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextBrowser_setSource(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((TQTextBrowser*) QtSupport::getQt(env, obj))->setSource((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextBrowser_setText__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring txt) -{ -static TQString* _qstring_txt = 0; - ((TQTextBrowser*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextBrowser_setText__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring txt, jstring context) -{ -static TQString* _qstring_txt = 0; -static TQString* _qstring_context = 0; - ((TQTextBrowser*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTextBrowser_source(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQTextBrowser*) QtSupport::getQt(env, obj))->source(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTextBrowser_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQTextBrowserJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTextBrowser_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQTextBrowserJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QTextBrowser.h b/qtjava/javalib/qtjava/QTextBrowser.h deleted file mode 100644 index 43a62f15..00000000 --- a/qtjava/javalib/qtjava/QTextBrowser.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QTextBrowser__ -#define __org_kde_qt_QTextBrowser__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextBrowser_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextBrowser_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextBrowser_newTQTextBrowser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextBrowser_newTQTextBrowser__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextBrowser_newTQTextBrowser__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextBrowser_source (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextBrowser_setSource (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextBrowser_backward (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextBrowser_forward (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextBrowser_home (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextBrowser_reload (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextBrowser_setText__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextBrowser_setText__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextBrowser_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextBrowser_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextBrowser_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextBrowser_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextBrowser_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextBrowser_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QTextBrowser__ */ diff --git a/qtjava/javalib/qtjava/QTextCodec.cpp b/qtjava/javalib/qtjava/QTextCodec.cpp deleted file mode 100644 index 888f1171..00000000 --- a/qtjava/javalib/qtjava/QTextCodec.cpp +++ /dev/null @@ -1,276 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTextCodec_canEncode__C(JNIEnv* env, jobject obj, jchar arg1) -{ -static TQChar* _qchar_arg1 = 0; - jboolean xret = (jboolean) ((TQTextCodec*) QtSupport::getQt(env, obj))->canEncode((TQChar)*(TQChar*) QtSupport::toTQChar(env, arg1, &_qchar_arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTextCodec_canEncode__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - jboolean xret = (jboolean) ((TQTextCodec*) QtSupport::getQt(env, obj))->canEncode((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return xret; -} - -JNIEXPORT jshort JNICALL -Java_org_kde_qt_QTextCodec_characterFromUnicode(JNIEnv* env, jobject obj, jstring str, jint pos) -{ -static TQString* _qstring_str = 0; - jshort xret = (jshort) ((TQTextCodec*) QtSupport::getQt(env, obj))->characterFromUnicode((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) pos); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextCodec_codecForCStrings(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQTextCodec::codecForCStrings(), "org.kde.qt.TQTextCodec"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextCodec_codecForContent(JNIEnv* env, jclass cls, jstring chars, jint len) -{ - (void) cls; -static TQCString* _qstring_chars = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQTextCodec::codecForContent((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len), "org.kde.qt.TQTextCodec"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextCodec_codecForIndex(JNIEnv* env, jclass cls, jint i) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQTextCodec::codecForIndex((int) i), "org.kde.qt.TQTextCodec"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextCodec_codecForLocale(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQTextCodec::codecForLocale(), "org.kde.qt.TQTextCodec"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextCodec_codecForMib(JNIEnv* env, jclass cls, jint mib) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQTextCodec::codecForMib((int) mib), "org.kde.qt.TQTextCodec"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextCodec_codecForName__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring hint) -{ - (void) cls; -static TQCString* _qstring_hint = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQTextCodec::codecForName((const char*) QtSupport::toCharString(env, hint, &_qstring_hint)), "org.kde.qt.TQTextCodec"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextCodec_codecForName__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring hint, jint accuracy) -{ - (void) cls; -static TQCString* _qstring_hint = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQTextCodec::codecForName((const char*) QtSupport::toCharString(env, hint, &_qstring_hint), (int) accuracy), "org.kde.qt.TQTextCodec"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextCodec_codecForTr(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQTextCodec::codecForTr(), "org.kde.qt.TQTextCodec"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextCodec_deleteAllCodecs(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TQTextCodec::deleteAllCodecs(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTextCodec_fromUnicode__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring uc) -{ - TQCString _qstring; -static TQString* _qstring_uc = 0; - _qstring = ((TQTextCodec*) QtSupport::getQt(env, obj))->fromUnicode((const TQString&)*(TQString*) QtSupport::toTQString(env, uc, &_qstring_uc)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_qt_QTextCodec_fromUnicode__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring uc, jint from, jint len) -{ - TQByteArray _qbyteArray; -static TQString* _qstring_uc = 0; - _qbyteArray = ((TQTextCodec*) QtSupport::getQt(env, obj))->fromUnicode((const TQString&)*(TQString*) QtSupport::toTQString(env, uc, &_qstring_uc), (int) from, (int) len); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTextCodec_fromUnicode__Ljava_lang_String_2_3I(JNIEnv* env, jobject obj, jstring uc, jintArray lenInOut) -{ - TQCString _qstring; -static TQString* _qstring_uc = 0; - int* _int_lenInOut = QtSupport::toIntPtr(env, lenInOut); - _qstring = ((TQTextCodec*) QtSupport::getQt(env, obj))->fromUnicode((const TQString&)*(TQString*) QtSupport::toTQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); - env->SetIntArrayRegion(lenInOut, 0, 1, (jint *) _int_lenInOut); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTextCodec_heuristicContentMatch(JNIEnv* env, jobject obj, jstring chars, jint len) -{ -static TQCString* _qstring_chars = 0; - jint xret = (jint) ((TQTextCodec*) QtSupport::getQt(env, obj))->heuristicContentMatch((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTextCodec_heuristicNameMatch(JNIEnv* env, jobject obj, jstring hint) -{ -static TQCString* _qstring_hint = 0; - jint xret = (jint) ((TQTextCodec*) QtSupport::getQt(env, obj))->heuristicNameMatch((const char*) QtSupport::toCharString(env, hint, &_qstring_hint)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextCodec_loadCharmapFile(JNIEnv* env, jclass cls, jstring filename) -{ - (void) cls; -static TQString* _qstring_filename = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQTextCodec::loadCharmapFile((TQString)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)), "org.kde.qt.TQTextCodec"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextCodec_loadCharmap(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQTextCodec::loadCharmap((TQIODevice*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQTextCodec"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTextCodec_locale(JNIEnv* env, jclass cls) -{ - const char* _qstring; - (void) cls; - _qstring = TQTextCodec::locale(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextCodec_makeDecoder(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTextCodec*) QtSupport::getQt(env, obj))->makeDecoder(), "org.kde.qt.TQTextDecoder"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextCodec_makeEncoder(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTextCodec*) QtSupport::getQt(env, obj))->makeEncoder(), "org.kde.qt.TQTextEncoder"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTextCodec_mibEnum(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTextCodec*) QtSupport::getQt(env, obj))->mibEnum(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTextCodec_mimeName(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQTextCodec*) QtSupport::getQt(env, obj))->mimeName(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTextCodec_name(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQTextCodec*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextCodec_setCodecForCStrings(JNIEnv* env, jclass cls, jobject c) -{ - (void) cls; - TQTextCodec::setCodecForCStrings((TQTextCodec*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextCodec_setCodecForLocale(JNIEnv* env, jclass cls, jobject c) -{ - (void) cls; - TQTextCodec::setCodecForLocale((TQTextCodec*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextCodec_setCodecForTr(JNIEnv* env, jclass cls, jobject c) -{ - (void) cls; - TQTextCodec::setCodecForTr((TQTextCodec*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTextCodec_toUnicode__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ - TQString _qstring; -static TQCString* _qcstring_arg1 = 0; - _qstring = ((TQTextCodec*) QtSupport::getQt(env, obj))->toUnicode((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, arg1, &_qcstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTextCodec_toUnicode__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring chars, jint len) -{ - TQString _qstring; -static TQCString* _qstring_chars = 0; - _qstring = ((TQTextCodec*) QtSupport::getQt(env, obj))->toUnicode((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTextCodec_toUnicode___3B(JNIEnv* env, jobject obj, jbyteArray arg1) -{ - TQString _qstring; -static TQByteArray* _qbyteArray_arg1 = 0; - _qstring = ((TQTextCodec*) QtSupport::getQt(env, obj))->toUnicode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, arg1, &_qbyteArray_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTextCodec_toUnicode___3BI(JNIEnv* env, jobject obj, jbyteArray arg1, jint len) -{ - TQString _qstring; -static TQByteArray* _qbyteArray_arg1 = 0; - _qstring = ((TQTextCodec*) QtSupport::getQt(env, obj))->toUnicode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, arg1, &_qbyteArray_arg1), (int) len); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QTextCodec.h b/qtjava/javalib/qtjava/QTextCodec.h deleted file mode 100644 index 78091798..00000000 --- a/qtjava/javalib/qtjava/QTextCodec.h +++ /dev/null @@ -1,50 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QTextCodec__ -#define __org_kde_qt_QTextCodec__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextCodec_name (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextCodec_mimeName (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextCodec_mibEnum (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextCodec_makeDecoder (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextCodec_makeEncoder (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextCodec_toUnicode__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextCodec_fromUnicode__Ljava_lang_String_2_3I (JNIEnv *env, jobject, jstring, jintArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextCodec_fromUnicode__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextCodec_toUnicode___3BI (JNIEnv *env, jobject, jbyteArray, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextCodec_toUnicode___3B (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextCodec_toUnicode__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextCodec_canEncode__C (JNIEnv *env, jobject, jchar); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextCodec_canEncode__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextCodec_heuristicContentMatch (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextCodec_heuristicNameMatch (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QTextCodec_fromUnicode__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT jshort JNICALL Java_org_kde_qt_QTextCodec_characterFromUnicode (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextCodec_loadCharmap (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextCodec_loadCharmapFile (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextCodec_codecForMib (JNIEnv *env, jclass, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextCodec_codecForName__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextCodec_codecForName__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextCodec_codecForContent (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextCodec_codecForIndex (JNIEnv *env, jclass, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextCodec_codecForLocale (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextCodec_setCodecForLocale (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextCodec_codecForTr (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextCodec_setCodecForTr (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextCodec_codecForCStrings (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextCodec_setCodecForCStrings (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextCodec_deleteAllCodecs (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextCodec_locale (JNIEnv *env, jclass); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QTextCodec__ */ diff --git a/qtjava/javalib/qtjava/QTextDecoder.cpp b/qtjava/javalib/qtjava/QTextDecoder.cpp deleted file mode 100644 index 8fa70b6d..00000000 --- a/qtjava/javalib/qtjava/QTextDecoder.cpp +++ /dev/null @@ -1,16 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTextDecoder_toUnicode(JNIEnv* env, jobject obj, jstring chars, jint len) -{ - TQString _qstring; -static TQCString* _qstring_chars = 0; - _qstring = ((TQTextDecoder*) QtSupport::getQt(env, obj))->toUnicode((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QTextDecoder.h b/qtjava/javalib/qtjava/QTextDecoder.h deleted file mode 100644 index f91bb8d4..00000000 --- a/qtjava/javalib/qtjava/QTextDecoder.h +++ /dev/null @@ -1,19 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QTextDecoder__ -#define __org_kde_qt_QTextDecoder__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextDecoder_toUnicode (JNIEnv *env, jobject, jstring, jint); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QTextDecoder__ */ diff --git a/qtjava/javalib/qtjava/QTextDrag.cpp b/qtjava/javalib/qtjava/QTextDrag.cpp deleted file mode 100644 index 1eed4172..00000000 --- a/qtjava/javalib/qtjava/QTextDrag.cpp +++ /dev/null @@ -1,247 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQTextDragJBridge : public TQTextDrag -{ -public: - TQTextDragJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQTextDrag(arg1,arg2,arg3) {}; - TQTextDragJBridge(const TQString& arg1,TQWidget* arg2) : TQTextDrag(arg1,arg2) {}; - TQTextDragJBridge(const TQString& arg1) : TQTextDrag(arg1) {}; - TQTextDragJBridge(TQWidget* arg1,const char* arg2) : TQTextDrag(arg1,arg2) {}; - TQTextDragJBridge(TQWidget* arg1) : TQTextDrag(arg1) {}; - TQTextDragJBridge() : TQTextDrag() {}; - ~TQTextDragJBridge() {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.qt.TQTextDrag",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTextDrag_canDecode(JNIEnv* env, jclass cls, jobject e) -{ - (void) cls; - jboolean xret = (jboolean) TQTextDragJBridge::canDecode((const TQMimeSource*) QtSupport::mimeSource(env, e)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTextDrag_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQTextDrag*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTextDrag_decode__Lorg_kde_qt_QMimeSourceInterface_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jobject e, jobject s) -{ - (void) cls; -static TQString* _qstring_s = 0; - jboolean xret = (jboolean) TQTextDragJBridge::decode((const TQMimeSource*) QtSupport::mimeSource(env, e), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, s, &_qstring_s)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_s, s); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTextDrag_decode__Lorg_kde_qt_QMimeSourceInterface_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jobject e, jobject s, jobject subtype) -{ - (void) cls; -static TQString* _qstring_s = 0; -static TQCString* _qcstring_subtype = 0; - if (_qcstring_subtype == 0) { - _qcstring_subtype = new TQCString(); - } - jboolean xret = (jboolean) TQTextDragJBridge::decode((const TQMimeSource*) QtSupport::mimeSource(env, e), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, s, &_qstring_s), (TQCString&)*(TQCString*) _qcstring_subtype); - QtSupport::fromTQStringToStringBuffer(env, _qstring_s, s); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_subtype, subtype); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextDrag_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QTextDrag_finalize(env, obj); - return; -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_qt_QTextDrag_encodedData(JNIEnv* env, jobject obj, jstring arg1) -{ - TQByteArray _qbyteArray; -static TQCString* _qstring_arg1 = 0; - _qbyteArray = ((TQTextDrag*) QtSupport::getQt(env, obj))->encodedData((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextDrag_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQTextDrag*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQTextDrag*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTextDrag_format(JNIEnv* env, jobject obj, jint i) -{ - const char* _qstring; - _qstring = ((TQTextDrag*) QtSupport::getQt(env, obj))->format((int) i); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTextDrag_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextDrag_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTextDrag*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextDrag_newTQTextDrag__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTextDragJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextDrag_newTQTextDrag__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTextDragJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextDrag_newTQTextDrag__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring arg1, jobject dragSource) -{ -static TQString* _qstring_arg1 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTextDragJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (TQWidget*) QtSupport::getQt(env, dragSource))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextDrag_newTQTextDrag__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jobject dragSource, jstring name) -{ -static TQString* _qstring_arg1 = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTextDragJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (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_qt_QTextDrag_newTQTextDrag__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject dragSource) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTextDragJBridge((TQWidget*) QtSupport::getQt(env, dragSource))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextDrag_newTQTextDrag__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 TQTextDragJBridge((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_qt_QTextDrag_setSubtype(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQCString* _qcstring_arg1 = 0; - ((TQTextDrag*) QtSupport::getQt(env, obj))->setSubtype((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, arg1, &_qcstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextDrag_setText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQTextDrag*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTextDrag_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQTextDragJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTextDrag_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQTextDragJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QTextDrag.h b/qtjava/javalib/qtjava/QTextDrag.h deleted file mode 100644 index bb369b4a..00000000 --- a/qtjava/javalib/qtjava/QTextDrag.h +++ /dev/null @@ -1,38 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QTextDrag__ -#define __org_kde_qt_QTextDrag__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextDrag_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextDrag_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextDrag_newTQTextDrag__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextDrag_newTQTextDrag__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextDrag_newTQTextDrag__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextDrag_newTQTextDrag__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextDrag_newTQTextDrag__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextDrag_newTQTextDrag__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextDrag_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextDrag_setSubtype (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextDrag_format (JNIEnv *env, jobject, jint); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QTextDrag_encodedData (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextDrag_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextDrag_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextDrag_canDecode (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextDrag_decode__Lorg_kde_qt_QMimeSourceInterface_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextDrag_decode__Lorg_kde_qt_QMimeSourceInterface_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextDrag_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextDrag_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextDrag_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QTextDrag__ */ diff --git a/qtjava/javalib/qtjava/QTextEdit.cpp b/qtjava/javalib/qtjava/QTextEdit.cpp deleted file mode 100644 index 46cdeffa..00000000 --- a/qtjava/javalib/qtjava/QTextEdit.cpp +++ /dev/null @@ -1,2102 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQTextEditJBridge : public TQTextEdit -{ -public: - TQTextEditJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4) : TQTextEdit(arg1,arg2,arg3,arg4) {}; - TQTextEditJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3) : TQTextEdit(arg1,arg2,arg3) {}; - TQTextEditJBridge(const TQString& arg1,const TQString& arg2) : TQTextEdit(arg1,arg2) {}; - TQTextEditJBridge(const TQString& arg1) : TQTextEdit(arg1) {}; - TQTextEditJBridge(TQWidget* arg1,const char* arg2) : TQTextEdit(arg1,arg2) {}; - TQTextEditJBridge(TQWidget* arg1) : TQTextEdit(arg1) {}; - TQTextEditJBridge() : TQTextEdit() {}; - void public_copy() { - TQTextEdit::copy(); - return; - } - void public_selectAll() { - TQTextEdit::selectAll(); - return; - } - void public_zoomIn() { - TQTextEdit::zoomIn(); - return; - } - void public_zoomOut() { - TQTextEdit::zoomOut(); - return; - } - void public_sync() { - TQTextEdit::sync(); - return; - } - void public_undo() { - TQTextEdit::undo(); - return; - } - void public_redo() { - TQTextEdit::redo(); - return; - } - void public_cut() { - TQTextEdit::cut(); - return; - } - void public_paste() { - TQTextEdit::paste(); - return; - } - void public_clear() { - TQTextEdit::clear(); - return; - } - void public_del() { - TQTextEdit::del(); - return; - } - void public_indent() { - TQTextEdit::indent(); - return; - } - void public_resetFormat() { - TQTextEdit::resetFormat(); - return; - } - void public_ensureCursorVisible() { - TQTextEdit::ensureCursorVisible(); - return; - } - void public_removeSelectedText() { - TQTextEdit::removeSelectedText(); - return; - } - void public_removeSelection() { - TQTextEdit::removeSelection(); - return; - } - void public_scrollToBottom() { - TQTextEdit::scrollToBottom(); - return; - } - void protected_repaintChanged() { - TQTextEdit::repaintChanged(); - return; - } - void protected_updateStyles() { - TQTextEdit::updateStyles(); - return; - } - void protected_drawContents(TQPainter* arg1,int arg2,int arg3,int arg4,int arg5) { - TQTextEdit::drawContents(arg1,arg2,arg3,arg4,arg5); - return; - } - bool protected_event(TQEvent* arg1) { - return (bool) TQTextEdit::event(arg1); - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQTextEdit::keyPressEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQTextEdit::resizeEvent(arg1); - return; - } - void protected_viewportResizeEvent(TQResizeEvent* arg1) { - TQTextEdit::viewportResizeEvent(arg1); - return; - } - void protected_contentsMousePressEvent(TQMouseEvent* arg1) { - TQTextEdit::contentsMousePressEvent(arg1); - return; - } - void protected_contentsMouseMoveEvent(TQMouseEvent* arg1) { - TQTextEdit::contentsMouseMoveEvent(arg1); - return; - } - void protected_contentsMouseReleaseEvent(TQMouseEvent* arg1) { - TQTextEdit::contentsMouseReleaseEvent(arg1); - return; - } - void protected_contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - TQTextEdit::contentsMouseDoubleClickEvent(arg1); - return; - } - void protected_contentsWheelEvent(TQWheelEvent* arg1) { - TQTextEdit::contentsWheelEvent(arg1); - return; - } - void protected_imStartEvent(TQIMEvent* arg1) { - TQTextEdit::imStartEvent(arg1); - return; - } - void protected_imComposeEvent(TQIMEvent* arg1) { - TQTextEdit::imComposeEvent(arg1); - return; - } - void protected_imEndEvent(TQIMEvent* arg1) { - TQTextEdit::imEndEvent(arg1); - return; - } - void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) { - TQTextEdit::contentsDragEnterEvent(arg1); - return; - } - void protected_contentsDragMoveEvent(TQDragMoveEvent* arg1) { - TQTextEdit::contentsDragMoveEvent(arg1); - return; - } - void protected_contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - TQTextEdit::contentsDragLeaveEvent(arg1); - return; - } - void protected_contentsDropEvent(TQDropEvent* arg1) { - TQTextEdit::contentsDropEvent(arg1); - return; - } - void protected_contentsContextMenuEvent(TQContextMenuEvent* arg1) { - TQTextEdit::contentsContextMenuEvent(arg1); - return; - } - bool protected_focusNextPrevChild(bool arg1) { - return (bool) TQTextEdit::focusNextPrevChild(arg1); - } - TQPopupMenu* protected_createPopupMenu(const TQPoint& arg1) { - return (TQPopupMenu*) TQTextEdit::createPopupMenu(arg1); - } - TQPopupMenu* protected_createPopupMenu() { - return (TQPopupMenu*) TQTextEdit::createPopupMenu(); - } - void protected_drawCursor(bool arg1) { - TQTextEdit::drawCursor(arg1); - return; - } - void protected_windowActivationChange(bool arg1) { - TQTextEdit::windowActivationChange(arg1); - return; - } - void protected_doChangeInterval() { - TQTextEdit::doChangeInterval(); - return; - } - void protected_sliderReleased() { - TQTextEdit::sliderReleased(); - return; - } - ~TQTextEditJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void setColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQTextEdit::setColor(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQTextEdit::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void contentsMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMouseReleaseEvent(arg1); - } - return; - } - void setMimeSourceFactory(TQMimeSourceFactory* arg1) { - if (!QtSupport::eventDelegate(this,"setMimeSourceFactory",(void*)arg1,"org.kde.qt.TQMimeSourceFactory")) { - TQTextEdit::setMimeSourceFactory(arg1); - } - return; - } - void zoomOut() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","zoomOut")) { - TQTextEdit::zoomOut(); - } - return; - } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQScrollView::viewportPaintEvent(arg1); - } - return; - } - void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); - } - return; - } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseReleaseEvent(arg1); - } - return; - } - void del() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","del")) { - TQTextEdit::del(); - } - return; - } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQTextEdit::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void undo() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","undo")) { - TQTextEdit::undo(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setPaper(const TQBrush& arg1) { - if (!QtSupport::eventDelegate(this,"setPaper",(void*)&arg1,"org.kde.qt.TQBrush")) { - TQTextEdit::setPaper(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void resetFormat() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","resetFormat")) { - TQTextEdit::resetFormat(); - } - return; - } - void zoomIn() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","zoomIn")) { - TQTextEdit::zoomIn(); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void viewportResizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQTextEdit::viewportResizeEvent(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQTextEdit::imStartEvent(arg1); - } - return; - } - void cut() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","cut")) { - TQTextEdit::cut(); - } - return; - } - void scrollToBottom() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","scrollToBottom")) { - TQTextEdit::scrollToBottom(); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","clear")) { - TQTextEdit::clear(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQTextEdit::contentsDropEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","showMaximized")) { - TQWidget::showMaximized(); - } - return; - } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); - } - return; - } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); - } - return; - } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); - } - return; - } - void setStyleSheet(TQStyleSheet* arg1) { - if (!QtSupport::eventDelegate(this,"setStyleSheet",(void*)arg1,"org.kde.qt.TQStyleSheet")) { - TQTextEdit::setStyleSheet(arg1); - } - return; - } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQTextEdit::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void indent() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","indent")) { - TQTextEdit::indent(); - } - return; - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setCornerWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQScrollView::setCornerWidget(arg1); - } - return; - } - void contentsDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQTextEdit::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQTextEdit::contentsWheelEvent(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void copy() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","copy")) { - TQTextEdit::copy(); - } - return; - } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQTextEdit::setFont(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQTextEdit::contentsDragMoveEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMouseMoveEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void doChangeInterval() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","doChangeInterval")) { - TQTextEdit::doChangeInterval(); - } - return; - } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQTextEdit::imComposeEvent(arg1); - } - return; - } - void viewportWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::viewportWheelEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mousePressEvent(arg1); - } - return; - } - void setCurrentFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQTextEdit::setCurrentFont(arg1); - } - return; - } - void ensureCursorVisible() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","ensureCursorVisible")) { - TQTextEdit::ensureCursorVisible(); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseMoveEvent(arg1); - } - return; - } - void viewportMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void sync() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","sync")) { - TQTextEdit::sync(); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void viewportDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::viewportDropEvent(arg1); - } - return; - } - void viewportDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::viewportDragMoveEvent(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQTextEdit::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); - } - return; - } - void paste() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","paste")) { - TQTextEdit::paste(); - } - return; - } - void redo() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","redo")) { - TQTextEdit::redo(); - } - return; - } - void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::viewportDragLeaveEvent(arg1); - } - return; - } - void contentsContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQTextEdit::contentsContextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTextEdit_alignment(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->alignment(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTextEdit_anchorAt__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject pos) -{ - TQString _qstring; - _qstring = ((TQTextEdit*) QtSupport::getQt(env, obj))->anchorAt((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTextEdit_anchorAt__Lorg_kde_qt_QPoint_2I(JNIEnv* env, jobject obj, jobject pos, jint a) -{ - TQString _qstring; - _qstring = ((TQTextEdit*) QtSupport::getQt(env, obj))->anchorAt((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (TQt::AnchorAttribute) a); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_append(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TQTextEdit*) QtSupport::getQt(env, obj))->append((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTextEdit_autoFormatting(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->autoFormatting(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTextEdit_bold(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->bold(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTextEdit_charAt(JNIEnv* env, jobject obj, jobject pos, jintArray para) -{ - int* _int_para = QtSupport::toIntPtr(env, para); - jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->charAt((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (int*) _int_para); - env->SetIntArrayRegion(para, 0, 1, (jint *) _int_para); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTextEdit_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQTextEdit*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_clearParagraphBackground(JNIEnv* env, jobject obj, jint para) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->clearParagraphBackground((int) para); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_clear(JNIEnv* env, jobject obj) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_clear(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextEdit_color(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TQTextEdit*) QtSupport::getQt(env, obj))->color()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_contentsContextMenuEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_contentsDragLeaveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_contentsDragMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_contentsDropEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_contentsMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_contentsMouseMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_contentsMouseReleaseEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_contentsWheelEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsWheelEvent((TQWheelEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTextEdit_context(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQTextEdit*) QtSupport::getQt(env, obj))->context(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_copy(JNIEnv* env, jobject obj) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_copy(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextEdit_createPopupMenu__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_createPopupMenu(), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextEdit_createPopupMenu__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject pos) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_createPopupMenu((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextEdit_currentFont(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((TQTextEdit*) QtSupport::getQt(env, obj))->currentFont()), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_cut(JNIEnv* env, jobject obj) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_cut(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_del(JNIEnv* env, jobject obj) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_del(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QTextEdit_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_doChangeInterval(JNIEnv* env, jobject obj) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_doChangeInterval(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_doKeyboardAction(JNIEnv* env, jobject obj, jint action) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->doKeyboardAction((TQTextEdit::KeyboardAction) action); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTextEdit_documentTitle(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQTextEdit*) QtSupport::getQt(env, obj))->documentTitle(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_drawContents(JNIEnv* env, jobject obj, jobject p, jint cx, jint cy, jint cw, jint ch) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, p), (int) cx, (int) cy, (int) cw, (int) ch); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_drawCursor(JNIEnv* env, jobject obj, jboolean visible) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_drawCursor((bool) visible); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_ensureCursorVisible(JNIEnv* env, jobject obj) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_ensureCursorVisible(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTextEdit_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject e) -{ - jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTextEdit_event(JNIEnv* env, jobject obj, jobject e) -{ - jboolean xret = (jboolean) ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTextEdit_family(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQTextEdit*) QtSupport::getQt(env, obj))->family(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQTextEdit*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQTextEdit*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTextEdit_find__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring expr, jboolean cs, jboolean wo) -{ -static TQString* _qstring_expr = 0; - jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->find((const TQString&)*(TQString*) QtSupport::toTQString(env, expr, &_qstring_expr), (bool) cs, (bool) wo); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTextEdit_find__Ljava_lang_String_2ZZZ(JNIEnv* env, jobject obj, jstring expr, jboolean cs, jboolean wo, jboolean forward) -{ -static TQString* _qstring_expr = 0; - jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->find((const TQString&)*(TQString*) QtSupport::toTQString(env, expr, &_qstring_expr), (bool) cs, (bool) wo, (bool) forward); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTextEdit_find__Ljava_lang_String_2ZZZ_3I(JNIEnv* env, jobject obj, jstring expr, jboolean cs, jboolean wo, jboolean forward, jintArray para) -{ -static TQString* _qstring_expr = 0; - int* _int_para = QtSupport::toIntPtr(env, para); - jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->find((const TQString&)*(TQString*) QtSupport::toTQString(env, expr, &_qstring_expr), (bool) cs, (bool) wo, (bool) forward, (int*) _int_para); - env->SetIntArrayRegion(para, 0, 1, (jint *) _int_para); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTextEdit_find__Ljava_lang_String_2ZZZ_3I_3I(JNIEnv* env, jobject obj, jstring expr, jboolean cs, jboolean wo, jboolean forward, jintArray para, jintArray index) -{ -static TQString* _qstring_expr = 0; - int* _int_para = QtSupport::toIntPtr(env, para); - int* _int_index = QtSupport::toIntPtr(env, index); - jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->find((const TQString&)*(TQString*) QtSupport::toTQString(env, expr, &_qstring_expr), (bool) cs, (bool) wo, (bool) forward, (int*) _int_para, (int*) _int_index); - env->SetIntArrayRegion(para, 0, 1, (jint *) _int_para); - env->SetIntArrayRegion(index, 0, 1, (jint *) _int_index); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTextEdit_focusNextPrevChild(JNIEnv* env, jobject obj, jboolean next) -{ - jboolean xret = (jboolean) ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_focusNextPrevChild((bool) next); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextEdit_font(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((TQTextEdit*) QtSupport::getQt(env, obj))->font()), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_getCursorPosition(JNIEnv* env, jobject obj, jintArray parag, jintArray index) -{ - int* _int_parag = QtSupport::toIntPtr(env, parag); - int* _int_index = QtSupport::toIntPtr(env, index); - ((TQTextEdit*) QtSupport::getQt(env, obj))->getCursorPosition( (int*) _int_parag, (int*) _int_index); - env->SetIntArrayRegion(parag, 0, 1, (jint *) _int_parag); - env->SetIntArrayRegion(index, 0, 1, (jint *) _int_index); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTextEdit_getFormat(JNIEnv* env, jobject obj, jint para, jint index, jobject font, jobject color, jint verticalAlignment) -{ - jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->getFormat((int) para, (int) index, (TQFont*) QtSupport::getQt(env, font), (TQColor*) QtSupport::getQt(env, color), (TQTextEdit::VerticalAlignment*) verticalAlignment); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTextEdit_getParagraphFormat(JNIEnv* env, jobject obj, jint para, jobject font, jobject color, jint verticalAlignment, jintArray alignment, jint displayMode, jint listStyle, jintArray listDepth) -{ - int* _int_alignment = QtSupport::toIntPtr(env, alignment); - int* _int_listDepth = QtSupport::toIntPtr(env, listDepth); - jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->getParagraphFormat((int) para, (TQFont*) QtSupport::getQt(env, font), (TQColor*) QtSupport::getQt(env, color), (TQTextEdit::VerticalAlignment*) verticalAlignment, (int*) _int_alignment, (TQStyleSheetItem::DisplayMode*) displayMode, (TQStyleSheetItem::ListStyle*) listStyle, (int*) _int_listDepth); - env->SetIntArrayRegion(alignment, 0, 1, (jint *) _int_alignment); - env->SetIntArrayRegion(listDepth, 0, 1, (jint *) _int_listDepth); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_getSelection___3I_3I_3I_3I(JNIEnv* env, jobject obj, jintArray paraFrom, jintArray indexFrom, jintArray paraTo, jintArray indexTo) -{ - int* _int_paraFrom = QtSupport::toIntPtr(env, paraFrom); - int* _int_indexFrom = QtSupport::toIntPtr(env, indexFrom); - int* _int_paraTo = QtSupport::toIntPtr(env, paraTo); - int* _int_indexTo = QtSupport::toIntPtr(env, indexTo); - ((TQTextEdit*) QtSupport::getQt(env, obj))->getSelection( (int*) _int_paraFrom, (int*) _int_indexFrom, (int*) _int_paraTo, (int*) _int_indexTo); - env->SetIntArrayRegion(paraFrom, 0, 1, (jint *) _int_paraFrom); - env->SetIntArrayRegion(indexFrom, 0, 1, (jint *) _int_indexFrom); - env->SetIntArrayRegion(paraTo, 0, 1, (jint *) _int_paraTo); - env->SetIntArrayRegion(indexTo, 0, 1, (jint *) _int_indexTo); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_getSelection___3I_3I_3I_3II(JNIEnv* env, jobject obj, jintArray paraFrom, jintArray indexFrom, jintArray paraTo, jintArray indexTo, jint selNum) -{ - int* _int_paraFrom = QtSupport::toIntPtr(env, paraFrom); - int* _int_indexFrom = QtSupport::toIntPtr(env, indexFrom); - int* _int_paraTo = QtSupport::toIntPtr(env, paraTo); - int* _int_indexTo = QtSupport::toIntPtr(env, indexTo); - ((TQTextEdit*) QtSupport::getQt(env, obj))->getSelection( (int*) _int_paraFrom, (int*) _int_indexFrom, (int*) _int_paraTo, (int*) _int_indexTo, (int) selNum); - env->SetIntArrayRegion(paraFrom, 0, 1, (jint *) _int_paraFrom); - env->SetIntArrayRegion(indexFrom, 0, 1, (jint *) _int_indexFrom); - env->SetIntArrayRegion(paraTo, 0, 1, (jint *) _int_paraTo); - env->SetIntArrayRegion(indexTo, 0, 1, (jint *) _int_indexTo); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTextEdit_hasSelectedText(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->hasSelectedText(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTextEdit_heightForWidth(JNIEnv* env, jobject obj, jint w) -{ - jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->heightForWidth((int) w); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_imComposeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_imComposeEvent((TQIMEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_imEndEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_imEndEvent((TQIMEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_imStartEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_imStartEvent((TQIMEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_indent(JNIEnv* env, jobject obj) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_indent(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_insertAt(JNIEnv* env, jobject obj, jstring text, jint para, jint index) -{ -static TQString* _qstring_text = 0; - ((TQTextEdit*) QtSupport::getQt(env, obj))->insertAt((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) para, (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_insertParagraph(JNIEnv* env, jobject obj, jstring text, jint para) -{ -static TQString* _qstring_text = 0; - ((TQTextEdit*) QtSupport::getQt(env, obj))->insertParagraph((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) para); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_insert__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TQTextEdit*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_insert__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint insertionFlags) -{ -static TQString* _qstring_text = 0; - ((TQTextEdit*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (uint) insertionFlags); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_insert__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring text, jboolean arg2) -{ -static TQString* _qstring_text = 0; - ((TQTextEdit*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_insert__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring text, jboolean arg2, jboolean arg3) -{ -static TQString* _qstring_text = 0; - ((TQTextEdit*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool) arg2, (bool) arg3); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_insert__Ljava_lang_String_2ZZZ(JNIEnv* env, jobject obj, jstring text, jboolean arg2, jboolean arg3, jboolean arg4) -{ -static TQString* _qstring_text = 0; - ((TQTextEdit*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool) arg2, (bool) arg3, (bool) arg4); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTextEdit_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTextEdit_isModified(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->isModified(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTextEdit_isOverwriteMode(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->isOverwriteMode(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTextEdit_isReadOnly(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->isReadOnly(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTextEdit_isRedoAvailable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->isRedoAvailable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTextEdit_isUndoAvailable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->isUndoAvailable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTextEdit_isUndoRedoEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->isUndoRedoEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTextEdit_italic(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->italic(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_keyPressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTextEdit_length(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->length(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTextEdit_lineOfChar(JNIEnv* env, jobject obj, jint para, jint chr) -{ - jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->lineOfChar((int) para, (int) chr); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTextEdit_linesOfParagraph(JNIEnv* env, jobject obj, jint para) -{ - jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->linesOfParagraph((int) para); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTextEdit_lines(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->lines(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTextEdit_linkUnderline(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->linkUnderline(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextEdit_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTextEdit*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextEdit_mimeSourceFactory(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTextEdit*) QtSupport::getQt(env, obj))->mimeSourceFactory(), "org.kde.qt.TQMimeSourceFactory"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_moveCursor(JNIEnv* env, jobject obj, jint action, jboolean select) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->moveCursor((TQTextEdit::CursorAction) action, (bool) select); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_newTQTextEdit__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTextEditJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_newTQTextEdit__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTextEditJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_newTQTextEdit__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring context) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_context = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTextEditJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_newTQTextEdit__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring text, jstring context, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_context = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTextEditJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_newTQTextEdit__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring context, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_context = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTextEditJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_newTQTextEdit__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTextEditJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_newTQTextEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTextEditJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextEdit_paper(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQBrush(((TQTextEdit*) QtSupport::getQt(env, obj))->paper()), "org.kde.qt.TQBrush", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTextEdit_paragraphAt(JNIEnv* env, jobject obj, jobject pos) -{ - jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->paragraphAt((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextEdit_paragraphBackgroundColor(JNIEnv* env, jobject obj, jint para) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TQTextEdit*) QtSupport::getQt(env, obj))->paragraphBackgroundColor((int) para)), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTextEdit_paragraphLength(JNIEnv* env, jobject obj, jint para) -{ - jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->paragraphLength((int) para); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextEdit_paragraphRect(JNIEnv* env, jobject obj, jint para) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQTextEdit*) QtSupport::getQt(env, obj))->paragraphRect((int) para)), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTextEdit_paragraphs(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->paragraphs(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_pasteSubType(JNIEnv* env, jobject obj, jstring subtype) -{ -static TQCString* _qcstring_subtype = 0; - ((TQTextEdit*) QtSupport::getQt(env, obj))->pasteSubType((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, subtype, &_qcstring_subtype)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_paste(JNIEnv* env, jobject obj) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_paste(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_placeCursor(JNIEnv* env, jobject obj, jobject pos) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->placeCursor((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTextEdit_pointSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->pointSize(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_redo(JNIEnv* env, jobject obj) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_redo(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_removeParagraph(JNIEnv* env, jobject obj, jint para) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->removeParagraph((int) para); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_removeSelectedText__(JNIEnv* env, jobject obj) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_removeSelectedText(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_removeSelectedText__I(JNIEnv* env, jobject obj, jint selNum) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->removeSelectedText((int) selNum); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_removeSelection__(JNIEnv* env, jobject obj) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_removeSelection(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_removeSelection__I(JNIEnv* env, jobject obj, jint selNum) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->removeSelection((int) selNum); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_repaintChanged(JNIEnv* env, jobject obj) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_repaintChanged(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_resetFormat(JNIEnv* env, jobject obj) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_resetFormat(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_resizeEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_scrollToAnchor(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((TQTextEdit*) QtSupport::getQt(env, obj))->scrollToAnchor((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_scrollToBottom(JNIEnv* env, jobject obj) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_scrollToBottom(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_selectAll__(JNIEnv* env, jobject obj) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_selectAll(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_selectAll__Z(JNIEnv* env, jobject obj, jboolean select) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->selectAll((bool) select); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTextEdit_selectedText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQTextEdit*) QtSupport::getQt(env, obj))->selectedText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_setAlignment(JNIEnv* env, jobject obj, jint a) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->setAlignment((int) a); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_setAutoFormatting(JNIEnv* env, jobject obj, jint features) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->setAutoFormatting((uint) features); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_setBold(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->setBold((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_setColor(JNIEnv* env, jobject obj, jobject c) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->setColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_setCurrentFont(JNIEnv* env, jobject obj, jobject f) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->setCurrentFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, f)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_setCursorPosition(JNIEnv* env, jobject obj, jint parag, jint index) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->setCursorPosition((int) parag, (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_setEnabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->setEnabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_setFamily(JNIEnv* env, jobject obj, jstring f) -{ -static TQString* _qstring_f = 0; - ((TQTextEdit*) QtSupport::getQt(env, obj))->setFamily((const TQString&)*(TQString*) QtSupport::toTQString(env, f, &_qstring_f)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_setFont(JNIEnv* env, jobject obj, jobject f) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, f)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_setItalic(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->setItalic((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_setLinkUnderline(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->setLinkUnderline((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_setMimeSourceFactory(JNIEnv* env, jobject obj, jobject factory) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->setMimeSourceFactory((TQMimeSourceFactory*) QtSupport::getQt(env, factory)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_setModified(JNIEnv* env, jobject obj, jboolean m) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->setModified((bool) m); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_setOverwriteMode(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->setOverwriteMode((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_setPalette(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_setPaper(JNIEnv* env, jobject obj, jobject pap) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->setPaper((const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, pap)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_setParagType(JNIEnv* env, jobject obj, jint dm, jint listStyle) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->setParagType((TQStyleSheetItem::DisplayMode) dm, (TQStyleSheetItem::ListStyle) listStyle); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_setParagraphBackgroundColor(JNIEnv* env, jobject obj, jint para, jobject bg) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->setParagraphBackgroundColor((int) para, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, bg)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_setPointSize(JNIEnv* env, jobject obj, jint s) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->setPointSize((int) s); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_setReadOnly(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->setReadOnly((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_setSelectionAttributes(JNIEnv* env, jobject obj, jint selNum, jobject back, jboolean invertText) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->setSelectionAttributes((int) selNum, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, back), (bool) invertText); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_setSelection__IIII(JNIEnv* env, jobject obj, jint parag_from, jint index_from, jint parag_to, jint index_to) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->setSelection((int) parag_from, (int) index_from, (int) parag_to, (int) index_to); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_setSelection__IIIII(JNIEnv* env, jobject obj, jint parag_from, jint index_from, jint parag_to, jint index_to, jint selNum) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->setSelection((int) parag_from, (int) index_from, (int) parag_to, (int) index_to, (int) selNum); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_setStyleSheet(JNIEnv* env, jobject obj, jobject styleSheet) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->setStyleSheet((TQStyleSheet*) QtSupport::getQt(env, styleSheet)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_setTabChangesFocus(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->setTabChangesFocus((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_setTabStopWidth(JNIEnv* env, jobject obj, jint ts) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->setTabStopWidth((int) ts); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_setTextFormat(JNIEnv* env, jobject obj, jint f) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->setTextFormat((TQt::TextFormat) f); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_setText__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring txt) -{ -static TQString* _qstring_txt = 0; - ((TQTextEdit*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_setText__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring txt, jstring context) -{ -static TQString* _qstring_txt = 0; -static TQString* _qstring_context = 0; - ((TQTextEdit*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_setUnderline(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->setUnderline((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_setUndoDepth(JNIEnv* env, jobject obj, jint d) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->setUndoDepth((int) d); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_setUndoRedoEnabled(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->setUndoRedoEnabled((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_setVerticalAlignment(JNIEnv* env, jobject obj, jint a) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->setVerticalAlignment((TQTextEdit::VerticalAlignment) a); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_setWordWrap(JNIEnv* env, jobject obj, jint mode) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->setWordWrap((TQTextEdit::WordWrap) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_setWrapColumnOrWidth(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->setWrapColumnOrWidth((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_setWrapPolicy(JNIEnv* env, jobject obj, jint policy) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->setWrapPolicy((TQTextEdit::WrapPolicy) policy); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextEdit_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQTextEdit*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_sliderReleased(JNIEnv* env, jobject obj) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_sliderReleased(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextEdit_styleSheet(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTextEdit*) QtSupport::getQt(env, obj))->styleSheet(), "org.kde.qt.TQStyleSheet"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_sync(JNIEnv* env, jobject obj) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_sync(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextEdit_syntaxHighlighter(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTextEdit*) QtSupport::getQt(env, obj))->syntaxHighlighter(), "org.kde.qt.TQSyntaxHighlighter"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTextEdit_tabChangesFocus(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->tabChangesFocus(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTextEdit_tabStopWidth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->tabStopWidth(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTextEdit_textFormat(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->textFormat(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTextEdit_text__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQTextEdit*) QtSupport::getQt(env, obj))->text(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTextEdit_text__I(JNIEnv* env, jobject obj, jint para) -{ - TQString _qstring; - _qstring = ((TQTextEdit*) QtSupport::getQt(env, obj))->text((int) para); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTextEdit_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQTextEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTextEdit_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQTextEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTextEdit_underline(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->underline(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTextEdit_undoDepth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->undoDepth(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_undo(JNIEnv* env, jobject obj) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_undo(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_updateStyles(JNIEnv* env, jobject obj) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_updateStyles(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_viewportResizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_viewportResizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_windowActivationChange(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_windowActivationChange((bool) arg1); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTextEdit_wordWrap(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->wordWrap(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTextEdit_wrapColumnOrWidth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->wrapColumnOrWidth(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTextEdit_wrapPolicy(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->wrapPolicy(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_zoomIn__(JNIEnv* env, jobject obj) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_zoomIn(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_zoomIn__I(JNIEnv* env, jobject obj, jint range) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->zoomIn((int) range); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_zoomOut__(JNIEnv* env, jobject obj) -{ - ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_zoomOut(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_zoomOut__I(JNIEnv* env, jobject obj, jint range) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->zoomOut((int) range); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_zoomTo(JNIEnv* env, jobject obj, jint size) -{ - ((TQTextEdit*) QtSupport::getQt(env, obj))->zoomTo((int) size); - return; -} - diff --git a/qtjava/javalib/qtjava/QTextEdit.h b/qtjava/javalib/qtjava/QTextEdit.h deleted file mode 100644 index 36b34653..00000000 --- a/qtjava/javalib/qtjava/QTextEdit.h +++ /dev/null @@ -1,191 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QTextEdit__ -#define __org_kde_qt_QTextEdit__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextEdit_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextEdit_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_newTQTextEdit__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_newTQTextEdit__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_newTQTextEdit__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_newTQTextEdit__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_newTQTextEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_newTQTextEdit__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_newTQTextEdit__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setPalette (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextEdit_text__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextEdit_text__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_textFormat (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextEdit_context (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextEdit_documentTitle (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_getSelection___3I_3I_3I_3II (JNIEnv *env, jobject, jintArray, jintArray, jintArray, jintArray, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_getSelection___3I_3I_3I_3I (JNIEnv *env, jobject, jintArray, jintArray, jintArray, jintArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_find__Ljava_lang_String_2ZZZ_3I_3I (JNIEnv *env, jobject, jstring, jboolean, jboolean, jboolean, jintArray, jintArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_find__Ljava_lang_String_2ZZZ_3I (JNIEnv *env, jobject, jstring, jboolean, jboolean, jboolean, jintArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_find__Ljava_lang_String_2ZZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_find__Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_paragraphs (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_lines (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_linesOfParagraph (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_lineOfChar (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_length (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextEdit_paragraphRect (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_paragraphAt (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_charAt (JNIEnv *env, jobject, jobject, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_paragraphLength (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextEdit_styleSheet (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextEdit_mimeSourceFactory (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextEdit_paper (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_linkUnderline (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_heightForWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_hasSelectedText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextEdit_selectedText (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_isUndoAvailable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_isRedoAvailable (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_wordWrap (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_wrapColumnOrWidth (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_wrapPolicy (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_tabStopWidth (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextEdit_anchorAt__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextEdit_anchorAt__Lorg_kde_qt_QPoint_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextEdit_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_isReadOnly (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_getCursorPosition (JNIEnv *env, jobject, jintArray, jintArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_isModified (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_italic (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_bold (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_underline (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextEdit_family (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_pointSize (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextEdit_color (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextEdit_font (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextEdit_currentFont (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_alignment (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_undoDepth (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_getFormat (JNIEnv *env, jobject, jint, jint, jobject, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_getParagraphFormat (JNIEnv *env, jobject, jint, jobject, jobject, jint, jintArray, jint, jint, jintArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_isOverwriteMode (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextEdit_paragraphBackgroundColor (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_isUndoRedoEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_tabChangesFocus (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setAutoFormatting (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_autoFormatting (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextEdit_syntaxHighlighter (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setMimeSourceFactory (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setStyleSheet (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_scrollToAnchor (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setPaper (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setLinkUnderline (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setWordWrap (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setWrapColumnOrWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setWrapPolicy (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_copy (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_append (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setText__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setText__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setTextFormat (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_selectAll__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_selectAll__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setTabStopWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_zoomIn__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_zoomIn__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_zoomOut__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_zoomOut__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_zoomTo (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_sync (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setReadOnly (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_undo (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_redo (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_cut (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_paste (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_pasteSubType (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_del (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_indent (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setItalic (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setBold (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setUnderline (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setFamily (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setPointSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setFont (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setVerticalAlignment (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setAlignment (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setParagType (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setCursorPosition (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setSelection__IIIII (JNIEnv *env, jobject, jint, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setSelection__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setSelectionAttributes (JNIEnv *env, jobject, jint, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setModified (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_resetFormat (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setUndoDepth (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_ensureCursorVisible (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_placeCursor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_moveCursor (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_doKeyboardAction (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_removeSelectedText__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_removeSelectedText__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_removeSelection__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_removeSelection__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setCurrentFont (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setOverwriteMode (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_scrollToBottom (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_insert__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_insert__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_insert__Ljava_lang_String_2ZZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_insert__Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_insert__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_insertAt (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_removeParagraph (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_insertParagraph (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setParagraphBackgroundColor (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_clearParagraphBackground (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setUndoRedoEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setTabChangesFocus (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextEdit_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextEdit_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_repaintChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_updateStyles (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_drawContents (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_event (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_viewportResizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_contentsMousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_contentsMouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_contentsMouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_contentsMouseDoubleClickEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_contentsWheelEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_imStartEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_imComposeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_imEndEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_contentsDragEnterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_contentsDragMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_contentsDragLeaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_contentsDropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_contentsContextMenuEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_focusNextPrevChild (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextEdit_createPopupMenu__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextEdit_createPopupMenu__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_drawCursor (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_windowActivationChange (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_doChangeInterval (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_sliderReleased (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QTextEdit__ */ diff --git a/qtjava/javalib/qtjava/QTextEncoder.cpp b/qtjava/javalib/qtjava/QTextEncoder.cpp deleted file mode 100644 index e1f96a90..00000000 --- a/qtjava/javalib/qtjava/QTextEncoder.cpp +++ /dev/null @@ -1,19 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTextEncoder_fromUnicode(JNIEnv* env, jobject obj, jstring uc, jintArray lenInOut) -{ - TQCString _qstring; -static TQString* _qstring_uc = 0; - int* _int_lenInOut = QtSupport::toIntPtr(env, lenInOut); - _qstring = ((TQTextEncoder*) QtSupport::getQt(env, obj))->fromUnicode((const TQString&)*(TQString*) QtSupport::toTQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); - env->SetIntArrayRegion(lenInOut, 0, 1, (jint *) _int_lenInOut); - return QtSupport::fromTQCString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QTextEncoder.h b/qtjava/javalib/qtjava/QTextEncoder.h deleted file mode 100644 index 82fc6498..00000000 --- a/qtjava/javalib/qtjava/QTextEncoder.h +++ /dev/null @@ -1,19 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QTextEncoder__ -#define __org_kde_qt_QTextEncoder__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextEncoder_fromUnicode (JNIEnv *env, jobject, jstring, jintArray); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QTextEncoder__ */ diff --git a/qtjava/javalib/qtjava/QTextIStream.cpp b/qtjava/javalib/qtjava/QTextIStream.cpp deleted file mode 100644 index af035412..00000000 --- a/qtjava/javalib/qtjava/QTextIStream.cpp +++ /dev/null @@ -1,60 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQTextIStreamJBridge : public TQTextIStream -{ -public: - TQTextIStreamJBridge(const TQString* arg1) : TQTextIStream(arg1) {}; - TQTextIStreamJBridge(TQByteArray arg1) : TQTextIStream(arg1) {}; - ~TQTextIStreamJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextIStream_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QTextIStream_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextIStream_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQTextIStream*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTextIStream_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextIStream_newTQTextIStream__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring s) -{ -static TQString* _qstring_s = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTextIStreamJBridge((const TQString*) QtSupport::toTQString(env, s, &_qstring_s))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextIStream_newTQTextIStream___3B(JNIEnv* env, jobject obj, jbyteArray ba) -{ -static TQByteArray* _qbyteArray_ba = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTextIStreamJBridge((TQByteArray)*(TQByteArray*) QtSupport::toTQByteArray(env, ba, &_qbyteArray_ba))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/qtjava/javalib/qtjava/QTextIStream.h b/qtjava/javalib/qtjava/QTextIStream.h deleted file mode 100644 index 5f327dc6..00000000 --- a/qtjava/javalib/qtjava/QTextIStream.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QTextIStream__ -#define __org_kde_qt_QTextIStream__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextIStream_newTQTextIStream__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextIStream_newTQTextIStream___3B (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextIStream_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextIStream_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextIStream_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QTextIStream__ */ diff --git a/qtjava/javalib/qtjava/QTextOStream.cpp b/qtjava/javalib/qtjava/QTextOStream.cpp deleted file mode 100644 index eb00d7bc..00000000 --- a/qtjava/javalib/qtjava/QTextOStream.cpp +++ /dev/null @@ -1,61 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQTextOStreamJBridge : public TQTextOStream -{ -public: - TQTextOStreamJBridge(TQString* arg1) : TQTextOStream(arg1) {}; - TQTextOStreamJBridge(TQByteArray arg1) : TQTextOStream(arg1) {}; - ~TQTextOStreamJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextOStream_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QTextOStream_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextOStream_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQTextOStream*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTextOStream_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextOStream_newTQTextOStream__Ljava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject s) -{ -static TQString* _qstring_s = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTextOStreamJBridge((TQString*) QtSupport::toTQStringFromStringBuffer(env, s, &_qstring_s))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_s, s); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextOStream_newTQTextOStream___3B(JNIEnv* env, jobject obj, jbyteArray ba) -{ -static TQByteArray* _qbyteArray_ba = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTextOStreamJBridge((TQByteArray)*(TQByteArray*) QtSupport::toTQByteArray(env, ba, &_qbyteArray_ba))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/qtjava/javalib/qtjava/QTextOStream.h b/qtjava/javalib/qtjava/QTextOStream.h deleted file mode 100644 index 07742679..00000000 --- a/qtjava/javalib/qtjava/QTextOStream.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QTextOStream__ -#define __org_kde_qt_QTextOStream__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextOStream_newTQTextOStream__Ljava_lang_StringBuffer_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextOStream_newTQTextOStream___3B (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextOStream_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextOStream_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextOStream_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QTextOStream__ */ diff --git a/qtjava/javalib/qtjava/QTextStream.cpp b/qtjava/javalib/qtjava/QTextStream.cpp deleted file mode 100644 index 9d014437..00000000 --- a/qtjava/javalib/qtjava/QTextStream.cpp +++ /dev/null @@ -1,374 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQTextStreamJBridge : public TQTextStream -{ -public: - TQTextStreamJBridge() : TQTextStream() {}; - TQTextStreamJBridge(TQIODevice* arg1) : TQTextStream(arg1) {}; - TQTextStreamJBridge(TQString* arg1,int arg2) : TQTextStream(arg1,arg2) {}; - TQTextStreamJBridge(TQByteArray arg1,int arg2) : TQTextStream(arg1,arg2) {}; - ~TQTextStreamJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTextStream_atEnd(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQTextStream*) QtSupport::getQt(env, obj))->atEnd(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextStream_codec(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTextStream*) QtSupport::getQt(env, obj))->codec(), "org.kde.qt.TQTextCodec"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextStream_device(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTextStream*) QtSupport::getQt(env, obj))->device(), "org.kde.qt.TQIODeviceInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextStream_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QTextStream_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTextStream_eof(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQTextStream*) QtSupport::getQt(env, obj))->eof(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTextStream_fill__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTextStream*) QtSupport::getQt(env, obj))->fill(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTextStream_fill__I(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQTextStream*) QtSupport::getQt(env, obj))->fill((int) arg1); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextStream_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQTextStream*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTextStream_flags__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTextStream*) QtSupport::getQt(env, obj))->flags(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTextStream_flags__I(JNIEnv* env, jobject obj, jint f) -{ - jint xret = (jint) ((TQTextStream*) QtSupport::getQt(env, obj))->flags((int) f); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTextStream_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextStream_newTQTextStream__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTextStreamJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextStream_newTQTextStream__Ljava_lang_StringBuffer_2I(JNIEnv* env, jobject obj, jobject arg1, jint mode) -{ -static TQString* _qstring_arg1 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTextStreamJBridge((TQString*) QtSupport::toTQStringFromStringBuffer(env, arg1, &_qstring_arg1), (int) mode)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_arg1, arg1); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextStream_newTQTextStream__Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTextStreamJBridge((TQIODevice*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextStream_newTQTextStream___3BI(JNIEnv* env, jobject obj, jbyteArray arg1, jint mode) -{ -static TQByteArray* _qbyteArray_arg1 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTextStreamJBridge((TQByteArray)*(TQByteArray*) QtSupport::toTQByteArray(env, arg1, &_qbyteArray_arg1), (int) mode)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextStream_op_1read__C(JNIEnv* env, jobject obj, jchar arg1) -{ -static TQChar* _qchar_arg1 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator>>((TQChar&)*(TQChar*) QtSupport::toTQChar(env, arg1, &_qchar_arg1)), "org.kde.qt.TQTextStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextStream_op_1read__D(JNIEnv* env, jobject obj, jdouble arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator>>((double&) arg1), "org.kde.qt.TQTextStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextStream_op_1read__F(JNIEnv* env, jobject obj, jfloat arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator>>((float&) arg1), "org.kde.qt.TQTextStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextStream_op_1read__I(JNIEnv* env, jobject obj, jint arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator>>((unsigned int&) arg1), "org.kde.qt.TQTextStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextStream_op_1read__J(JNIEnv* env, jobject obj, jlong arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator>>((unsigned long&) arg1), "org.kde.qt.TQTextStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextStream_op_1read__Ljava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject arg1) -{ -static TQString* _qstring_arg1 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator>>((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, arg1, &_qstring_arg1)), "org.kde.qt.TQTextStream"); - QtSupport::fromTQStringToStringBuffer(env, _qstring_arg1, arg1); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextStream_op_1read__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQCString* _qstring_arg1 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator>>((char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)), "org.kde.qt.TQTextStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextStream_op_1read__S(JNIEnv* env, jobject obj, jshort arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator>>((unsigned short&) arg1), "org.kde.qt.TQTextStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextStream_op_1write__C(JNIEnv* env, jobject obj, jchar arg1) -{ -static TQChar* _qchar_arg1 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator<<((TQChar)*(TQChar*) QtSupport::toTQChar(env, arg1, &_qchar_arg1)), "org.kde.qt.TQTextStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextStream_op_1write__D(JNIEnv* env, jobject obj, jdouble arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator<<((double) arg1), "org.kde.qt.TQTextStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextStream_op_1write__F(JNIEnv* env, jobject obj, jfloat arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator<<((float) arg1), "org.kde.qt.TQTextStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextStream_op_1write__I(JNIEnv* env, jobject obj, jint arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator<<((unsigned) arg1), "org.kde.qt.TQTextStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextStream_op_1write__J(JNIEnv* env, jobject obj, jlong arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator<<((long) arg1), "org.kde.qt.TQTextStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextStream_op_1write__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQCString* _qstring_arg1 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator<<((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)), "org.kde.qt.TQTextStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextStream_op_1write__S(JNIEnv* env, jobject obj, jshort arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator<<((short) arg1), "org.kde.qt.TQTextStream"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTextStream_precision__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTextStream*) QtSupport::getQt(env, obj))->precision(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTextStream_precision__I(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQTextStream*) QtSupport::getQt(env, obj))->precision((int) arg1); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTextStream_readLine(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQTextStream*) QtSupport::getQt(env, obj))->readLine(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextStream_readRawBytes(JNIEnv* env, jobject obj, jstring arg1, jint len) -{ -static TQCString* _qstring_arg1 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->readRawBytes((char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (uint) len), "org.kde.qt.TQTextStream"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTextStream_read(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQTextStream*) QtSupport::getQt(env, obj))->read(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextStream_reset(JNIEnv* env, jobject obj) -{ - ((TQTextStream*) QtSupport::getQt(env, obj))->reset(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextStream_setCodec(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTextStream*) QtSupport::getQt(env, obj))->setCodec((TQTextCodec*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextStream_setDevice(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTextStream*) QtSupport::getQt(env, obj))->setDevice((TQIODevice*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextStream_setEncoding(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQTextStream*) QtSupport::getQt(env, obj))->setEncoding((TQTextStream::Encoding) arg1); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTextStream_setf__I(JNIEnv* env, jobject obj, jint bits) -{ - jint xret = (jint) ((TQTextStream*) QtSupport::getQt(env, obj))->setf((int) bits); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTextStream_setf__II(JNIEnv* env, jobject obj, jint bits, jint mask) -{ - jint xret = (jint) ((TQTextStream*) QtSupport::getQt(env, obj))->setf((int) bits, (int) mask); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextStream_skipWhiteSpace(JNIEnv* env, jobject obj) -{ - ((TQTextStream*) QtSupport::getQt(env, obj))->skipWhiteSpace(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextStream_unsetDevice(JNIEnv* env, jobject obj) -{ - ((TQTextStream*) QtSupport::getQt(env, obj))->unsetDevice(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTextStream_unsetf(JNIEnv* env, jobject obj, jint bits) -{ - jint xret = (jint) ((TQTextStream*) QtSupport::getQt(env, obj))->unsetf((int) bits); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTextStream_width__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTextStream*) QtSupport::getQt(env, obj))->width(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTextStream_width__I(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQTextStream*) QtSupport::getQt(env, obj))->width((int) arg1); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextStream_writeRawBytes(JNIEnv* env, jobject obj, jstring arg1, jint len) -{ -static TQCString* _qstring_arg1 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->writeRawBytes((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (uint) len), "org.kde.qt.TQTextStream"); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QTextStream.h b/qtjava/javalib/qtjava/QTextStream.h deleted file mode 100644 index a243951d..00000000 --- a/qtjava/javalib/qtjava/QTextStream.h +++ /dev/null @@ -1,65 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QTextStream__ -#define __org_kde_qt_QTextStream__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_setEncoding (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_setCodec (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_codec (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_newTQTextStream__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_newTQTextStream__Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_newTQTextStream__Ljava_lang_StringBuffer_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_newTQTextStream___3BI (JNIEnv *env, jobject, jbyteArray, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_device (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_setDevice (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_unsetDevice (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextStream_atEnd (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextStream_eof (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1read__C (JNIEnv *env, jobject, jchar); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1read__S (JNIEnv *env, jobject, jshort); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1read__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1read__J (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1read__F (JNIEnv *env, jobject, jfloat); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1read__D (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1read__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1read__Ljava_lang_StringBuffer_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1write__C (JNIEnv *env, jobject, jchar); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1write__S (JNIEnv *env, jobject, jshort); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1write__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1write__J (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1write__F (JNIEnv *env, jobject, jfloat); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1write__D (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1write__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_readRawBytes (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_writeRawBytes (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextStream_readLine (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextStream_read (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_skipWhiteSpace (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextStream_flags__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextStream_flags__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextStream_setf__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextStream_setf__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextStream_unsetf (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_reset (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextStream_width__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextStream_width__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextStream_fill__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextStream_fill__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextStream_precision__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextStream_precision__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextStream_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QTextStream__ */ diff --git a/qtjava/javalib/qtjava/QTextView.cpp b/qtjava/javalib/qtjava/QTextView.cpp deleted file mode 100644 index 2c37349d..00000000 --- a/qtjava/javalib/qtjava/QTextView.cpp +++ /dev/null @@ -1,749 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQTextViewJBridge : public TQTextView -{ -public: - TQTextViewJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4) : TQTextView(arg1,arg2,arg3,arg4) {}; - TQTextViewJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3) : TQTextView(arg1,arg2,arg3) {}; - TQTextViewJBridge(const TQString& arg1,const TQString& arg2) : TQTextView(arg1,arg2) {}; - TQTextViewJBridge(const TQString& arg1) : TQTextView(arg1) {}; - TQTextViewJBridge(TQWidget* arg1,const char* arg2) : TQTextView(arg1,arg2) {}; - TQTextViewJBridge(TQWidget* arg1) : TQTextView(arg1) {}; - TQTextViewJBridge() : TQTextView() {}; - ~TQTextViewJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void setColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQTextEdit::setColor(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQTextEdit::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void contentsMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMouseReleaseEvent(arg1); - } - return; - } - void setMimeSourceFactory(TQMimeSourceFactory* arg1) { - if (!QtSupport::eventDelegate(this,"setMimeSourceFactory",(void*)arg1,"org.kde.qt.TQMimeSourceFactory")) { - TQTextEdit::setMimeSourceFactory(arg1); - } - return; - } - void zoomOut() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","zoomOut")) { - TQTextEdit::zoomOut(); - } - return; - } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQScrollView::viewportPaintEvent(arg1); - } - return; - } - void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); - } - return; - } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseReleaseEvent(arg1); - } - return; - } - void del() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","del")) { - TQTextEdit::del(); - } - return; - } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQTextEdit::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void undo() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","undo")) { - TQTextEdit::undo(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setPaper(const TQBrush& arg1) { - if (!QtSupport::eventDelegate(this,"setPaper",(void*)&arg1,"org.kde.qt.TQBrush")) { - TQTextEdit::setPaper(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void resetFormat() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","resetFormat")) { - TQTextEdit::resetFormat(); - } - return; - } - void zoomIn() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","zoomIn")) { - TQTextEdit::zoomIn(); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void viewportResizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQTextEdit::viewportResizeEvent(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQTextEdit::imStartEvent(arg1); - } - return; - } - void cut() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","cut")) { - TQTextEdit::cut(); - } - return; - } - void scrollToBottom() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","scrollToBottom")) { - TQTextEdit::scrollToBottom(); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","clear")) { - TQTextEdit::clear(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQTextEdit::contentsDropEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","showMaximized")) { - TQWidget::showMaximized(); - } - return; - } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); - } - return; - } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); - } - return; - } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); - } - return; - } - void setStyleSheet(TQStyleSheet* arg1) { - if (!QtSupport::eventDelegate(this,"setStyleSheet",(void*)arg1,"org.kde.qt.TQStyleSheet")) { - TQTextEdit::setStyleSheet(arg1); - } - return; - } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQTextEdit::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void indent() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","indent")) { - TQTextEdit::indent(); - } - return; - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setCornerWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQScrollView::setCornerWidget(arg1); - } - return; - } - void contentsDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQTextEdit::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQTextEdit::contentsWheelEvent(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void copy() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","copy")) { - TQTextEdit::copy(); - } - return; - } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQTextEdit::setFont(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQTextEdit::contentsDragMoveEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMouseMoveEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void doChangeInterval() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","doChangeInterval")) { - TQTextEdit::doChangeInterval(); - } - return; - } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQTextEdit::imComposeEvent(arg1); - } - return; - } - void viewportWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::viewportWheelEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mousePressEvent(arg1); - } - return; - } - void setCurrentFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQTextEdit::setCurrentFont(arg1); - } - return; - } - void ensureCursorVisible() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","ensureCursorVisible")) { - TQTextEdit::ensureCursorVisible(); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseMoveEvent(arg1); - } - return; - } - void viewportMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void sync() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","sync")) { - TQTextEdit::sync(); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void viewportDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::viewportDropEvent(arg1); - } - return; - } - void viewportDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::viewportDragMoveEvent(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQTextEdit::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); - } - return; - } - void paste() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","paste")) { - TQTextEdit::paste(); - } - return; - } - void redo() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","redo")) { - TQTextEdit::redo(); - } - return; - } - void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::viewportDragLeaveEvent(arg1); - } - return; - } - void contentsContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQTextEdit::contentsContextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTextView_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQTextView*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextView_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QTextView_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextView_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQTextView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQTextView*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTextView_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTextView_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTextView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextView_newTQTextView__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTextViewJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextView_newTQTextView__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 TQTextViewJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextView_newTQTextView__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 TQTextViewJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextView_newTQTextView__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 TQTextViewJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextView_newTQTextView__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 TQTextViewJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextView_newTQTextView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTextViewJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTextView_newTQTextView__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 TQTextViewJBridge((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_qt_QTextView_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQTextViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTextView_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQTextViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QTextView.h b/qtjava/javalib/qtjava/QTextView.h deleted file mode 100644 index 9912cff2..00000000 --- a/qtjava/javalib/qtjava/QTextView.h +++ /dev/null @@ -1,32 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QTextView__ -#define __org_kde_qt_QTextView__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextView_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextView_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextView_newTQTextView__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_qt_QTextView_newTQTextView__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextView_newTQTextView__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextView_newTQTextView__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextView_newTQTextView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextView_newTQTextView__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextView_newTQTextView__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextView_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextView_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextView_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextView_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextView_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QTextView__ */ diff --git a/qtjava/javalib/qtjava/QTimeEdit.cpp b/qtjava/javalib/qtjava/QTimeEdit.cpp deleted file mode 100644 index 32ea6fbc..00000000 --- a/qtjava/javalib/qtjava/QTimeEdit.cpp +++ /dev/null @@ -1,764 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -class TQTimeEditJBridge : public TQTimeEdit -{ -public: - TQTimeEditJBridge(TQWidget* arg1,const char* arg2) : TQTimeEdit(arg1,arg2) {}; - TQTimeEditJBridge(TQWidget* arg1) : TQTimeEdit(arg1) {}; - TQTimeEditJBridge() : TQTimeEdit() {}; - TQTimeEditJBridge(const TQTime& arg1,TQWidget* arg2,const char* arg3) : TQTimeEdit(arg1,arg2,arg3) {}; - TQTimeEditJBridge(const TQTime& arg1,TQWidget* arg2) : TQTimeEdit(arg1,arg2) {}; - TQTimeEditJBridge(const TQTime& arg1) : TQTimeEdit(arg1) {}; - bool protected_event(TQEvent* arg1) { - return (bool) TQTimeEdit::event(arg1); - } - void protected_timerEvent(TQTimerEvent* arg1) { - TQTimeEdit::timerEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQTimeEdit::resizeEvent(arg1); - return; - } - void protected_stepUp() { - TQTimeEdit::stepUp(); - return; - } - void protected_stepDown() { - TQTimeEdit::stepDown(); - return; - } - TQString protected_sectionFormattedText(int arg1) { - return (TQString) TQTimeEdit::sectionFormattedText(arg1); - } - void protected_addNumber(int arg1,int arg2) { - TQTimeEdit::addNumber(arg1,arg2); - return; - } - void protected_removeLastNumber(int arg1) { - TQTimeEdit::removeLastNumber(arg1); - return; - } - bool protected_setFocusSection(int arg1) { - return (bool) TQTimeEdit::setFocusSection(arg1); - } - bool protected_outOfRange(int arg1,int arg2,int arg3) { - return (bool) TQTimeEdit::outOfRange(arg1,arg2,arg3); - } - void protected_setHour(int arg1) { - TQTimeEdit::setHour(arg1); - return; - } - void protected_setMinute(int arg1) { - TQTimeEdit::setMinute(arg1); - return; - } - void protected_setSecond(int arg1) { - TQTimeEdit::setSecond(arg1); - return; - } - void protected_updateButtons() { - TQTimeEdit::updateButtons(); - return; - } - ~TQTimeEditJBridge() {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")) { - TQTimeEdit::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.qt.TQTimeEdit","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.qt.TQTimeEdit","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.qt.TQTimeEdit","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.qt.TQTimeEdit","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.qt.TQTimeEdit","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.qt.TQTimeEdit","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTimeEdit","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")) { - TQTimeEdit::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.qt.TQTimeEdit","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTimeEdit","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.qt.TQTimeEdit","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.qt.TQTimeEdit",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.qt.TQTimeEdit","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTimeEdit_addNumber(JNIEnv* env, jobject obj, jint sec, jint num) -{ - ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_addNumber((int) sec, (int) num); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTimeEdit_autoAdvance(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQTimeEdit*) QtSupport::getQt(env, obj))->autoAdvance(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTimeEdit_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQTimeEdit*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTimeEdit_display(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTimeEdit*) QtSupport::getQt(env, obj))->display(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTimeEdit_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QTimeEdit_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTimeEdit_event(JNIEnv* env, jobject obj, jobject e) -{ - jboolean xret = (jboolean) ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTimeEdit_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQTimeEdit*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQTimeEdit*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTimeEdit_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTimeEdit_maxValue(JNIEnv* env, jobject obj) -{ - TQTime _qtime; - _qtime = ((TQTimeEdit*) QtSupport::getQt(env, obj))->maxValue(); - return (jobject) QtSupport::fromTQTime(env, (TQTime*) &_qtime); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTimeEdit_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTimeEdit*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTimeEdit_minValue(JNIEnv* env, jobject obj) -{ - TQTime _qtime; - _qtime = ((TQTimeEdit*) QtSupport::getQt(env, obj))->minValue(); - return (jobject) QtSupport::fromTQTime(env, (TQTime*) &_qtime); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTimeEdit_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQTimeEdit*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTimeEdit_newTQTimeEdit__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTimeEditJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTimeEdit_newTQTimeEdit__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 TQTimeEditJBridge((const TQTime&)*(TQTime*) QtSupport::toTQTime(env, time, &_qtime_time))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTimeEdit_newTQTimeEdit__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 TQTimeEditJBridge((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_qt_QTimeEdit_newTQTimeEdit__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 TQTimeEditJBridge((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_qt_QTimeEdit_newTQTimeEdit__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTimeEditJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTimeEdit_newTQTimeEdit__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 TQTimeEditJBridge((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_qt_QTimeEdit_outOfRange(JNIEnv* env, jobject obj, jint h, jint m, jint s) -{ - jboolean xret = (jboolean) ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_outOfRange((int) h, (int) m, (int) s); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTimeEdit_removeFirstNumber(JNIEnv* env, jobject obj, jint sec) -{ - ((TQTimeEdit*) QtSupport::getQt(env, obj))->removeFirstNumber((int) sec); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTimeEdit_removeLastNumber(JNIEnv* env, jobject obj, jint sec) -{ - ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_removeLastNumber((int) sec); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTimeEdit_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTimeEdit_sectionFormattedText(JNIEnv* env, jobject obj, jint sec) -{ - TQString _qstring; - _qstring = ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_sectionFormattedText((int) sec); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTimeEdit_separator(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQTimeEdit*) QtSupport::getQt(env, obj))->separator(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTimeEdit_setAutoAdvance(JNIEnv* env, jobject obj, jboolean advance) -{ - ((TQTimeEdit*) QtSupport::getQt(env, obj))->setAutoAdvance((bool) advance); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTimeEdit_setDisplay(JNIEnv* env, jobject obj, jint disp) -{ - ((TQTimeEdit*) QtSupport::getQt(env, obj))->setDisplay((uint) disp); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTimeEdit_setFocusSection(JNIEnv* env, jobject obj, jint s) -{ - jboolean xret = (jboolean) ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_setFocusSection((int) s); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTimeEdit_setHour(JNIEnv* env, jobject obj, jint h) -{ - ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_setHour((int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTimeEdit_setMaxValue(JNIEnv* env, jobject obj, jobject d) -{ -static TQTime* _qtime_d = 0; - ((TQTimeEdit*) QtSupport::getQt(env, obj))->setMaxValue((const TQTime&)*(TQTime*) QtSupport::toTQTime(env, d, &_qtime_d)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTimeEdit_setMinValue(JNIEnv* env, jobject obj, jobject d) -{ -static TQTime* _qtime_d = 0; - ((TQTimeEdit*) QtSupport::getQt(env, obj))->setMinValue((const TQTime&)*(TQTime*) QtSupport::toTQTime(env, d, &_qtime_d)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTimeEdit_setMinute(JNIEnv* env, jobject obj, jint m) -{ - ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_setMinute((int) m); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTimeEdit_setRange(JNIEnv* env, jobject obj, jobject min, jobject max) -{ -static TQTime* _qtime_min = 0; -static TQTime* _qtime_max = 0; - ((TQTimeEdit*) QtSupport::getQt(env, obj))->setRange((const TQTime&)*(TQTime*) QtSupport::toTQTime(env, min, &_qtime_min), (const TQTime&)*(TQTime*) QtSupport::toTQTime(env, max, &_qtime_max)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTimeEdit_setSecond(JNIEnv* env, jobject obj, jint s) -{ - ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_setSecond((int) s); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTimeEdit_setSeparator(JNIEnv* env, jobject obj, jstring s) -{ -static TQString* _qstring_s = 0; - ((TQTimeEdit*) QtSupport::getQt(env, obj))->setSeparator((const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTimeEdit_setTime(JNIEnv* env, jobject obj, jobject time) -{ -static TQTime* _qtime_time = 0; - ((TQTimeEdit*) QtSupport::getQt(env, obj))->setTime((const TQTime&)*(TQTime*) QtSupport::toTQTime(env, time, &_qtime_time)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTimeEdit_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQTimeEdit*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTimeEdit_stepDown(JNIEnv* env, jobject obj) -{ - ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_stepDown(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTimeEdit_stepUp(JNIEnv* env, jobject obj) -{ - ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_stepUp(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTimeEdit_time(JNIEnv* env, jobject obj) -{ - TQTime _qtime; - _qtime = ((TQTimeEdit*) QtSupport::getQt(env, obj))->time(); - return (jobject) QtSupport::fromTQTime(env, (TQTime*) &_qtime); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTimeEdit_timerEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_timerEvent((TQTimerEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTimeEdit_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQTimeEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTimeEdit_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQTimeEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTimeEdit_updateButtons(JNIEnv* env, jobject obj) -{ - ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_updateButtons(); - return; -} - diff --git a/qtjava/javalib/qtjava/QTimeEdit.h b/qtjava/javalib/qtjava/QTimeEdit.h deleted file mode 100644 index 8ec8cda8..00000000 --- a/qtjava/javalib/qtjava/QTimeEdit.h +++ /dev/null @@ -1,61 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QTimeEdit__ -#define __org_kde_qt_QTimeEdit__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTimeEdit_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTimeEdit_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_newTQTimeEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_newTQTimeEdit__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_newTQTimeEdit__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_newTQTimeEdit__Ljava_util_Date_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_newTQTimeEdit__Ljava_util_Date_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_newTQTimeEdit__Ljava_util_Date_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTimeEdit_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTimeEdit_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTimeEdit_time (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_setAutoAdvance (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTimeEdit_autoAdvance (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_setMinValue (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTimeEdit_minValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_setMaxValue (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTimeEdit_maxValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_setRange (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTimeEdit_separator (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_setSeparator (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTimeEdit_display (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_setDisplay (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_removeFirstNumber (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_setTime (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTimeEdit_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTimeEdit_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTimeEdit_event (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_timerEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_stepUp (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_stepDown (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTimeEdit_sectionFormattedText (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_addNumber (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_removeLastNumber (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTimeEdit_setFocusSection (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTimeEdit_outOfRange (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_setHour (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_setMinute (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_setSecond (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_updateButtons (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTimeEdit_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QTimeEdit__ */ diff --git a/qtjava/javalib/qtjava/QTimer.cpp b/qtjava/javalib/qtjava/QTimer.cpp deleted file mode 100644 index 09dd98ac..00000000 --- a/qtjava/javalib/qtjava/QTimer.cpp +++ /dev/null @@ -1,203 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQTimerJBridge : public TQTimer -{ -public: - TQTimerJBridge(TQObject* arg1,const char* arg2) : TQTimer(arg1,arg2) {}; - TQTimerJBridge(TQObject* arg1) : TQTimer(arg1) {}; - TQTimerJBridge() : TQTimer() {}; - bool protected_event(TQEvent* arg1) { - return (bool) TQTimer::event(arg1); - } - ~TQTimerJBridge() {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.qt.TQTimer",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTimer_changeInterval(JNIEnv* env, jobject obj, jint msec) -{ - ((TQTimer*) QtSupport::getQt(env, obj))->changeInterval((int) msec); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTimer_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQTimer*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTimer_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QTimer_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTimer_event(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQTimerJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTimer_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQTimer*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQTimer*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTimer_isActive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQTimer*) QtSupport::getQt(env, obj))->isActive(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTimer_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTimer_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTimer*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTimer_newTQTimer__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTimerJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTimer_newTQTimer__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTimerJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTimer_newTQTimer__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 TQTimerJBridge((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_qt_QTimer_singleShot(JNIEnv* env, jclass cls, jint msec, jobject receiver, jstring member) -{ - (void) cls; - TQTimerJBridge::singleShot((int) msec, (TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()"); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTimer_start__I(JNIEnv* env, jobject obj, jint msec) -{ - jint xret = (jint) ((TQTimer*) QtSupport::getQt(env, obj))->start((int) msec); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTimer_start__IZ(JNIEnv* env, jobject obj, jint msec, jboolean sshot) -{ - jint xret = (jint) ((TQTimer*) QtSupport::getQt(env, obj))->start((int) msec, (bool) sshot); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTimer_stop(JNIEnv* env, jobject obj) -{ - ((TQTimer*) QtSupport::getQt(env, obj))->stop(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTimer_timerId(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTimer*) QtSupport::getQt(env, obj))->timerId(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTimer_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQTimerJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTimer_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQTimerJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QTimer.h b/qtjava/javalib/qtjava/QTimer.h deleted file mode 100644 index 0202ab36..00000000 --- a/qtjava/javalib/qtjava/QTimer.h +++ /dev/null @@ -1,36 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QTimer__ -#define __org_kde_qt_QTimer__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTimer_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTimer_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimer_newTQTimer__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimer_newTQTimer__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimer_newTQTimer__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTimer_isActive (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTimer_start__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTimer_start__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimer_changeInterval (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimer_stop (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTimer_timerId (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTimer_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTimer_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimer_singleShot (JNIEnv *env, jclass, jint, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTimer_event (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimer_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimer_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTimer_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QTimer__ */ diff --git a/qtjava/javalib/qtjava/QTimerEvent.cpp b/qtjava/javalib/qtjava/QTimerEvent.cpp deleted file mode 100644 index 2a597353..00000000 --- a/qtjava/javalib/qtjava/QTimerEvent.cpp +++ /dev/null @@ -1,53 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - -class TQTimerEventJBridge : public TQTimerEvent -{ -public: - TQTimerEventJBridge(int arg1) : TQTimerEvent(arg1) {}; - ~TQTimerEventJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTimerEvent_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QTimerEvent_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTimerEvent_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQTimerEvent*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTimerEvent_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTimerEvent_newTQTimerEvent(JNIEnv* env, jobject obj, jint timerId) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTimerEventJBridge((int) timerId)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTimerEvent_timerId(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTimerEvent*) QtSupport::getQt(env, obj))->timerId(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QTimerEvent.h b/qtjava/javalib/qtjava/QTimerEvent.h deleted file mode 100644 index 61030922..00000000 --- a/qtjava/javalib/qtjava/QTimerEvent.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QTimerEvent__ -#define __org_kde_qt_QTimerEvent__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimerEvent_newTQTimerEvent (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTimerEvent_timerId (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimerEvent_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimerEvent_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTimerEvent_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QTimerEvent__ */ diff --git a/qtjava/javalib/qtjava/QToolBar.cpp b/qtjava/javalib/qtjava/QToolBar.cpp deleted file mode 100644 index ee814fee..00000000 --- a/qtjava/javalib/qtjava/QToolBar.cpp +++ /dev/null @@ -1,690 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include - -class TQToolBarJBridge : public TQToolBar -{ -public: - TQToolBarJBridge(const TQString& arg1,TQMainWindow* arg2,TQt::ToolBarDock arg3,bool arg4,const char* arg5) : TQToolBar(arg1,arg2,arg3,arg4,arg5) {}; - TQToolBarJBridge(const TQString& arg1,TQMainWindow* arg2,TQt::ToolBarDock arg3,bool arg4) : TQToolBar(arg1,arg2,arg3,arg4) {}; - TQToolBarJBridge(const TQString& arg1,TQMainWindow* arg2,TQt::ToolBarDock arg3) : TQToolBar(arg1,arg2,arg3) {}; - TQToolBarJBridge(const TQString& arg1,TQMainWindow* arg2) : TQToolBar(arg1,arg2) {}; - TQToolBarJBridge(const TQString& arg1,TQMainWindow* arg2,TQWidget* arg3,bool arg4,const char* arg5,TQt::WFlags arg6) : TQToolBar(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TQToolBarJBridge(const TQString& arg1,TQMainWindow* arg2,TQWidget* arg3,bool arg4,const char* arg5) : TQToolBar(arg1,arg2,arg3,arg4,arg5) {}; - TQToolBarJBridge(const TQString& arg1,TQMainWindow* arg2,TQWidget* arg3,bool arg4) : TQToolBar(arg1,arg2,arg3,arg4) {}; - TQToolBarJBridge(const TQString& arg1,TQMainWindow* arg2,TQWidget* arg3) : TQToolBar(arg1,arg2,arg3) {}; - TQToolBarJBridge(TQMainWindow* arg1,const char* arg2) : TQToolBar(arg1,arg2) {}; - TQToolBarJBridge(TQMainWindow* arg1) : TQToolBar(arg1) {}; - TQToolBarJBridge() : TQToolBar() {}; - void public_clear() { - TQToolBar::clear(); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQToolBar::resizeEvent(arg1); - return; - } - void protected_styleChange(TQStyle& arg1) { - TQToolBar::styleChange(arg1); - return; - } - ~TQToolBarJBridge() {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")) { - TQToolBar::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.qt.TQToolBar","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.qt.TQToolBar","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 clear() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBar","clear")) { - TQToolBar::clear(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBar","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.qt.TQToolBar","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBar","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")) { - TQDockWindow::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.qt.TQToolBar","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")) { - TQObject::childEvent(arg1); - } - return; - } - void undock() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBar","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.qt.TQToolBar","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBar","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.qt.TQToolBar","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 setStretchableWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setStretchableWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQToolBar::setStretchableWidget(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.qt.TQToolBar","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBar","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBar_addSeparator(JNIEnv* env, jobject obj) -{ - ((TQToolBar*) QtSupport::getQt(env, obj))->addSeparator(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QToolBar_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQToolBar*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBar_clear(JNIEnv* env, jobject obj) -{ - ((TQToolBarJBridge*) QtSupport::getQt(env, obj))->public_clear(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBar_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QToolBar_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QToolBar_event(JNIEnv* env, jobject obj, jobject e) -{ - jboolean xret = (jboolean) ((TQToolBar*) QtSupport::getQt(env, obj))->event((TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBar_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQToolBar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQToolBar*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBar_hide(JNIEnv* env, jobject obj) -{ - ((TQToolBar*) QtSupport::getQt(env, obj))->hide(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QToolBar_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QToolBar_label(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQToolBar*) QtSupport::getQt(env, obj))->label(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QToolBar_mainWindow(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQToolBar*) QtSupport::getQt(env, obj))->mainWindow(), "org.kde.qt.TQMainWindow"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QToolBar_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQToolBar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QToolBar_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQToolBar*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QToolBar_minimumSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQToolBar*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBar_newTQToolBar__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQToolBarJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBar_newTQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2(JNIEnv* env, jobject obj, jstring label, jobject arg2) -{ -static TQString* _qstring_label = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQToolBarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (TQMainWindow*) QtSupport::getQt(env, arg2))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBar_newTQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2I(JNIEnv* env, jobject obj, jstring label, jobject arg2, jint arg3) -{ -static TQString* _qstring_label = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQToolBarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (TQMainWindow*) QtSupport::getQt(env, arg2), (TQt::ToolBarDock) arg3)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBar_newTQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2IZ(JNIEnv* env, jobject obj, jstring label, jobject arg2, jint arg3, jboolean newLine) -{ -static TQString* _qstring_label = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQToolBarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (TQMainWindow*) QtSupport::getQt(env, arg2), (TQt::ToolBarDock) arg3, (bool) newLine)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBar_newTQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2IZLjava_lang_String_2(JNIEnv* env, jobject obj, jstring label, jobject arg2, jint arg3, jboolean newLine, jstring name) -{ -static TQString* _qstring_label = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQToolBarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (TQMainWindow*) QtSupport::getQt(env, arg2), (TQt::ToolBarDock) arg3, (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_qt_QToolBar_newTQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring label, jobject arg2, jobject arg3) -{ -static TQString* _qstring_label = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQToolBarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (TQMainWindow*) QtSupport::getQt(env, arg2), (TQWidget*) QtSupport::getQt(env, arg3))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBar_newTQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jobject obj, jstring label, jobject arg2, jobject arg3, jboolean newLine) -{ -static TQString* _qstring_label = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQToolBarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (TQMainWindow*) QtSupport::getQt(env, arg2), (TQWidget*) QtSupport::getQt(env, arg3), (bool) newLine)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBar_newTQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jstring label, jobject arg2, jobject arg3, jboolean newLine, jstring name) -{ -static TQString* _qstring_label = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQToolBarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (TQMainWindow*) QtSupport::getQt(env, arg2), (TQWidget*) QtSupport::getQt(env, arg3), (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_qt_QToolBar_newTQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2ZLjava_lang_String_2I(JNIEnv* env, jobject obj, jstring label, jobject arg2, jobject arg3, jboolean newLine, jstring name, jint f) -{ -static TQString* _qstring_label = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQToolBarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (TQMainWindow*) QtSupport::getQt(env, arg2), (TQWidget*) QtSupport::getQt(env, arg3), (bool) newLine, (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_qt_QToolBar_newTQToolBar__Lorg_kde_qt_QMainWindow_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBar_newTQToolBar__Lorg_kde_qt_QMainWindow_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 TQToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBar_resizeEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQToolBarJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBar_setLabel(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQToolBar*) QtSupport::getQt(env, obj))->setLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBar_setMinimumSize(JNIEnv* env, jobject obj, jint minw, jint minh) -{ - ((TQToolBar*) QtSupport::getQt(env, obj))->setMinimumSize((int) minw, (int) minh); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBar_setOrientation(JNIEnv* env, jobject obj, jint o) -{ - ((TQToolBar*) QtSupport::getQt(env, obj))->setOrientation((TQt::Orientation) o); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBar_setStretchableWidget(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQToolBar*) QtSupport::getQt(env, obj))->setStretchableWidget((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBar_show(JNIEnv* env, jobject obj) -{ - ((TQToolBar*) QtSupport::getQt(env, obj))->show(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBar_styleChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQToolBarJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QToolBar_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQToolBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QToolBar_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQToolBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QToolBar.h b/qtjava/javalib/qtjava/QToolBar.h deleted file mode 100644 index 5103f9e6..00000000 --- a/qtjava/javalib/qtjava/QToolBar.h +++ /dev/null @@ -1,51 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QToolBar__ -#define __org_kde_qt_QToolBar__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolBar_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolBar_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_newTQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2IZLjava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jint, jboolean, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_newTQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2IZ (JNIEnv *env, jobject, jstring, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_newTQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2I (JNIEnv *env, jobject, jstring, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_newTQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_newTQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2ZLjava_lang_String_2I (JNIEnv *env, jobject, jstring, jobject, jobject, jboolean, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_newTQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jboolean, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_newTQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jobject, jstring, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_newTQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_newTQToolBar__Lorg_kde_qt_QMainWindow_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_newTQToolBar__Lorg_kde_qt_QMainWindow_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_newTQToolBar__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_addSeparator (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_show (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_hide (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolBar_mainWindow (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_setStretchableWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QToolBar_event (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_setLabel (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolBar_label (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_clear (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolBar_minimumSize (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolBar_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_setOrientation (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_setMinimumSize (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolBar_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolBar_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_styleChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QToolBar_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QToolBar__ */ diff --git a/qtjava/javalib/qtjava/QToolBox.cpp b/qtjava/javalib/qtjava/QToolBox.cpp deleted file mode 100644 index 11a6f3c1..00000000 --- a/qtjava/javalib/qtjava/QToolBox.cpp +++ /dev/null @@ -1,682 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include - -class TQToolBoxJBridge : public TQToolBox -{ -public: - TQToolBoxJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQToolBox(arg1,arg2,arg3) {}; - TQToolBoxJBridge(TQWidget* arg1,const char* arg2) : TQToolBox(arg1,arg2) {}; - TQToolBoxJBridge(TQWidget* arg1) : TQToolBox(arg1) {}; - TQToolBoxJBridge() : TQToolBox() {}; - void protected_itemInserted(int arg1) { - TQToolBox::itemInserted(arg1); - return; - } - void protected_itemRemoved(int arg1) { - TQToolBox::itemRemoved(arg1); - return; - } - void protected_showEvent(TQShowEvent* arg1) { - TQToolBox::showEvent(arg1); - return; - } - void protected_frameChanged() { - TQToolBox::frameChanged(); - return; - } - void protected_styleChange(TQStyle& arg1) { - TQToolBox::styleChange(arg1); - return; - } - ~TQToolBoxJBridge() {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.qt.TQToolBox","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.qt.TQToolBox","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.qt.TQToolBox","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.qt.TQToolBox","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.qt.TQToolBox","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.qt.TQToolBox","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBox","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")) { - TQToolBox::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.qt.TQToolBox","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBox","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.qt.TQToolBox","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.qt.TQToolBox",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.qt.TQToolBox","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QToolBox_addItem__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject item, jstring label) -{ -static TQString* _qstring_label = 0; - jint xret = (jint) ((TQToolBox*) QtSupport::getQt(env, obj))->addItem((TQWidget*) QtSupport::getQt(env, item), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QToolBox_addItem__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject item, jobject iconSet, jstring label) -{ -static TQString* _qstring_label = 0; - jint xret = (jint) ((TQToolBox*) QtSupport::getQt(env, obj))->addItem((TQWidget*) QtSupport::getQt(env, item), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconSet), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QToolBox_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQToolBox*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QToolBox_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQToolBox*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QToolBox_currentIndex(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQToolBox*) QtSupport::getQt(env, obj))->currentIndex(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QToolBox_currentItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQToolBox*) QtSupport::getQt(env, obj))->currentItem(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBox_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QToolBox_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBox_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQToolBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQToolBox*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBox_frameChanged(JNIEnv* env, jobject obj) -{ - ((TQToolBoxJBridge*) QtSupport::getQt(env, obj))->protected_frameChanged(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QToolBox_indexOf(JNIEnv* env, jobject obj, jobject item) -{ - jint xret = (jint) ((TQToolBox*) QtSupport::getQt(env, obj))->indexOf((TQWidget*) QtSupport::getQt(env, item)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QToolBox_insertItem__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint index, jobject item, jstring label) -{ -static TQString* _qstring_label = 0; - jint xret = (jint) ((TQToolBox*) QtSupport::getQt(env, obj))->insertItem((int) index, (TQWidget*) QtSupport::getQt(env, item), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QToolBox_insertItem__ILorg_kde_qt_QWidget_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint index, jobject item, jobject iconSet, jstring label) -{ -static TQString* _qstring_label = 0; - jint xret = (jint) ((TQToolBox*) QtSupport::getQt(env, obj))->insertItem((int) index, (TQWidget*) QtSupport::getQt(env, item), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconSet), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QToolBox_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QToolBox_isItemEnabled(JNIEnv* env, jobject obj, jint index) -{ - jboolean xret = (jboolean) ((TQToolBox*) QtSupport::getQt(env, obj))->isItemEnabled((int) index); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QToolBox_itemIconSet(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TQToolBox*) QtSupport::getQt(env, obj))->itemIconSet((int) index)), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBox_itemInserted(JNIEnv* env, jobject obj, jint index) -{ - ((TQToolBoxJBridge*) QtSupport::getQt(env, obj))->protected_itemInserted((int) index); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QToolBox_itemLabel(JNIEnv* env, jobject obj, jint index) -{ - TQString _qstring; - _qstring = ((TQToolBox*) QtSupport::getQt(env, obj))->itemLabel((int) index); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBox_itemRemoved(JNIEnv* env, jobject obj, jint index) -{ - ((TQToolBoxJBridge*) QtSupport::getQt(env, obj))->protected_itemRemoved((int) index); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QToolBox_itemToolTip(JNIEnv* env, jobject obj, jint index) -{ - TQString _qstring; - _qstring = ((TQToolBox*) QtSupport::getQt(env, obj))->itemToolTip((int) index); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QToolBox_item(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQToolBox*) QtSupport::getQt(env, obj))->item((int) index), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QToolBox_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQToolBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBox_newTQToolBox__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQToolBoxJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBox_newTQToolBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQToolBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBox_newTQToolBox__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 TQToolBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBox_newTQToolBox__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 TQToolBoxJBridge((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_qt_QToolBox_removeItem(JNIEnv* env, jobject obj, jobject item) -{ - jint xret = (jint) ((TQToolBox*) QtSupport::getQt(env, obj))->removeItem((TQWidget*) QtSupport::getQt(env, item)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBox_setCurrentIndex(JNIEnv* env, jobject obj, jint index) -{ - ((TQToolBox*) QtSupport::getQt(env, obj))->setCurrentIndex((int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBox_setCurrentItem(JNIEnv* env, jobject obj, jobject item) -{ - ((TQToolBox*) QtSupport::getQt(env, obj))->setCurrentItem((TQWidget*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBox_setItemEnabled(JNIEnv* env, jobject obj, jint index, jboolean enabled) -{ - ((TQToolBox*) QtSupport::getQt(env, obj))->setItemEnabled((int) index, (bool) enabled); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBox_setItemIconSet(JNIEnv* env, jobject obj, jint index, jobject iconSet) -{ - ((TQToolBox*) QtSupport::getQt(env, obj))->setItemIconSet((int) index, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconSet)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBox_setItemLabel(JNIEnv* env, jobject obj, jint index, jstring label) -{ -static TQString* _qstring_label = 0; - ((TQToolBox*) QtSupport::getQt(env, obj))->setItemLabel((int) index, (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBox_setItemToolTip(JNIEnv* env, jobject obj, jint index, jstring toolTip) -{ -static TQString* _qstring_toolTip = 0; - ((TQToolBox*) QtSupport::getQt(env, obj))->setItemToolTip((int) index, (const TQString&)*(TQString*) QtSupport::toTQString(env, toolTip, &_qstring_toolTip)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBox_showEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQToolBoxJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBox_styleChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQToolBoxJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QToolBox_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQToolBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QToolBox_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQToolBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QToolBox.h b/qtjava/javalib/qtjava/QToolBox.h deleted file mode 100644 index da974a02..00000000 --- a/qtjava/javalib/qtjava/QToolBox.h +++ /dev/null @@ -1,54 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QToolBox__ -#define __org_kde_qt_QToolBox__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolBox_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolBox_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_newTQToolBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_newTQToolBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_newTQToolBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_newTQToolBox__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QToolBox_addItem__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QToolBox_addItem__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QToolBox_insertItem__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QToolBox_insertItem__ILorg_kde_qt_QWidget_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QToolBox_removeItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_setItemEnabled (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QToolBox_isItemEnabled (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_setItemLabel (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolBox_itemLabel (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_setItemIconSet (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolBox_itemIconSet (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_setItemToolTip (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolBox_itemToolTip (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolBox_currentItem (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_setCurrentItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QToolBox_currentIndex (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolBox_item (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QToolBox_indexOf (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QToolBox_count (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_setCurrentIndex (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolBox_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolBox_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_itemInserted (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_itemRemoved (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_showEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_frameChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_styleChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QToolBox_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QToolBox__ */ diff --git a/qtjava/javalib/qtjava/QToolButton.cpp b/qtjava/javalib/qtjava/QToolButton.cpp deleted file mode 100644 index 5f83e7c2..00000000 --- a/qtjava/javalib/qtjava/QToolButton.cpp +++ /dev/null @@ -1,811 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQToolButtonJBridge : public TQToolButton -{ -public: - TQToolButtonJBridge(TQWidget* arg1,const char* arg2) : TQToolButton(arg1,arg2) {}; - TQToolButtonJBridge(TQWidget* arg1) : TQToolButton(arg1) {}; - TQToolButtonJBridge(const TQIconSet& arg1,const TQString& arg2,const TQString& arg3,TQObject* arg4,const char* arg5,TQToolBar* arg6,const char* arg7) : TQToolButton(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TQToolButtonJBridge(const TQIconSet& arg1,const TQString& arg2,const TQString& arg3,TQObject* arg4,const char* arg5,TQToolBar* arg6) : TQToolButton(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TQToolButtonJBridge(TQt::ArrowType arg1,TQWidget* arg2,const char* arg3) : TQToolButton(arg1,arg2,arg3) {}; - TQToolButtonJBridge(TQt::ArrowType arg1,TQWidget* arg2) : TQToolButton(arg1,arg2) {}; - void protected_mousePressEvent(TQMouseEvent* arg1) { - TQToolButton::mousePressEvent(arg1); - return; - } - void protected_drawButton(TQPainter* arg1) { - TQToolButton::drawButton(arg1); - return; - } - void protected_drawButtonLabel(TQPainter* arg1) { - TQToolButton::drawButtonLabel(arg1); - return; - } - void protected_enterEvent(TQEvent* arg1) { - TQToolButton::enterEvent(arg1); - return; - } - void protected_leaveEvent(TQEvent* arg1) { - TQToolButton::leaveEvent(arg1); - return; - } - void protected_moveEvent(TQMoveEvent* arg1) { - TQToolButton::moveEvent(arg1); - return; - } - bool protected_uses3D() { - return (bool) TQToolButton::uses3D(); - } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) TQToolButton::eventFilter(arg1,arg2); - } - void protected_paletteChange(const TQPalette& arg1) { - TQToolButton::paletteChange(arg1); - return; - } - ~TQToolButtonJBridge() {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.qt.TQToolButton","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.qt.TQToolButton","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.qt.TQToolButton","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.qt.TQToolButton","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.qt.TQToolButton","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")) { - TQToolButton::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.qt.TQToolButton","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolButton","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")) { - TQToolButton::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")) { - TQToolButton::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.qt.TQToolButton","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolButton","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")) { - TQToolButton::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.qt.TQToolButton","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.qt.TQToolButton","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QToolButton_autoRaise(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQToolButton*) QtSupport::getQt(env, obj))->autoRaise(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QToolButton_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQToolButton*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolButton_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QToolButton_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolButton_drawButtonLabel(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQToolButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButtonLabel((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolButton_drawButton(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQToolButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButton((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolButton_enterEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQToolButtonJBridge*) QtSupport::getQt(env, obj))->protected_enterEvent((TQEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QToolButton_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject e) -{ - jboolean xret = (jboolean) ((TQToolButtonJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolButton_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQToolButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQToolButton*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QToolButton_iconSet__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TQToolButton*) QtSupport::getQt(env, obj))->iconSet()), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QToolButton_iconSet__Z(JNIEnv* env, jobject obj, jboolean on) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TQToolButton*) QtSupport::getQt(env, obj))->iconSet((bool) on)), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QToolButton_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolButton_leaveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQToolButtonJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QToolButton_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQToolButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QToolButton_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQToolButton*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolButton_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQToolButtonJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolButton_moveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQToolButtonJBridge*) QtSupport::getQt(env, obj))->protected_moveEvent((TQMoveEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolButton_newTQToolButton__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint type, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQToolButtonJBridge((TQt::ArrowType) type, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolButton_newTQToolButton__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint type, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQToolButtonJBridge((TQt::ArrowType) type, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolButton_newTQToolButton__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QToolBar_2(JNIEnv* env, jobject obj, jobject s, jstring textLabel, jstring grouptext, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_textLabel = 0; -static TQString* _qstring_grouptext = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQToolButtonJBridge((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, s), (const TQString&)*(TQString*) QtSupport::toTQString(env, textLabel, &_qstring_textLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, grouptext, &_qstring_grouptext), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQToolBar*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolButton_newTQToolButton__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QToolBar_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject s, jstring textLabel, jstring grouptext, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_textLabel = 0; -static TQString* _qstring_grouptext = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQToolButtonJBridge((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, s), (const TQString&)*(TQString*) QtSupport::toTQString(env, textLabel, &_qstring_textLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, grouptext, &_qstring_grouptext), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQToolBar*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolButton_newTQToolButton__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQToolButtonJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolButton_newTQToolButton__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 TQToolButtonJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QToolButton_offIconSet(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TQToolButton*) QtSupport::getQt(env, obj))->offIconSet()), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QToolButton_onIconSet(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TQToolButton*) QtSupport::getQt(env, obj))->onIconSet()), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolButton_openPopup(JNIEnv* env, jobject obj) -{ - ((TQToolButton*) QtSupport::getQt(env, obj))->openPopup(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolButton_paletteChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQToolButtonJBridge*) QtSupport::getQt(env, obj))->protected_paletteChange((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QToolButton_popupDelay(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQToolButton*) QtSupport::getQt(env, obj))->popupDelay(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QToolButton_popup(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQToolButton*) QtSupport::getQt(env, obj))->popup(), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolButton_setAutoRaise(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQToolButton*) QtSupport::getQt(env, obj))->setAutoRaise((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolButton_setIconSet__Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQToolButton*) QtSupport::getQt(env, obj))->setIconSet((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolButton_setIconSet__Lorg_kde_qt_QIconSet_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean on) -{ - ((TQToolButton*) QtSupport::getQt(env, obj))->setIconSet((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, arg1), (bool) on); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolButton_setOffIconSet(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQToolButton*) QtSupport::getQt(env, obj))->setOffIconSet((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolButton_setOnIconSet(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQToolButton*) QtSupport::getQt(env, obj))->setOnIconSet((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolButton_setOn(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQToolButton*) QtSupport::getQt(env, obj))->setOn((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolButton_setPopupDelay(JNIEnv* env, jobject obj, jint delay) -{ - ((TQToolButton*) QtSupport::getQt(env, obj))->setPopupDelay((int) delay); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolButton_setPopup(JNIEnv* env, jobject obj, jobject popup) -{ - ((TQToolButton*) QtSupport::getQt(env, obj))->setPopup((TQPopupMenu*) QtSupport::getQt(env, popup)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolButton_setTextLabel__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQToolButton*) QtSupport::getQt(env, obj))->setTextLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolButton_setTextLabel__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring arg1, jboolean arg2) -{ -static TQString* _qstring_arg1 = 0; - ((TQToolButton*) QtSupport::getQt(env, obj))->setTextLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolButton_setTextPosition(JNIEnv* env, jobject obj, jint pos) -{ - ((TQToolButton*) QtSupport::getQt(env, obj))->setTextPosition((TQToolButton::TextPosition) pos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolButton_setText(JNIEnv* env, jobject obj, jstring txt) -{ -static TQString* _qstring_txt = 0; - ((TQToolButton*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolButton_setToggleButton(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQToolButton*) QtSupport::getQt(env, obj))->setToggleButton((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolButton_setUsesBigPixmap(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQToolButton*) QtSupport::getQt(env, obj))->setUsesBigPixmap((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolButton_setUsesTextLabel(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQToolButton*) QtSupport::getQt(env, obj))->setUsesTextLabel((bool) enable); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QToolButton_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQToolButton*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QToolButton_textLabel(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQToolButton*) QtSupport::getQt(env, obj))->textLabel(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QToolButton_textPosition(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQToolButton*) QtSupport::getQt(env, obj))->textPosition(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolButton_toggle(JNIEnv* env, jobject obj) -{ - ((TQToolButton*) QtSupport::getQt(env, obj))->toggle(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QToolButton_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQToolButtonJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QToolButton_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQToolButtonJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QToolButton_uses3D(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQToolButtonJBridge*) QtSupport::getQt(env, obj))->protected_uses3D(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QToolButton_usesBigPixmap(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQToolButton*) QtSupport::getQt(env, obj))->usesBigPixmap(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QToolButton_usesTextLabel(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQToolButton*) QtSupport::getQt(env, obj))->usesTextLabel(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QToolButton.h b/qtjava/javalib/qtjava/QToolButton.h deleted file mode 100644 index a9926a48..00000000 --- a/qtjava/javalib/qtjava/QToolButton.h +++ /dev/null @@ -1,70 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QToolButton__ -#define __org_kde_qt_QToolButton__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolButton_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolButton_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_newTQToolButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_newTQToolButton__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_newTQToolButton__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QToolBar_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_newTQToolButton__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QToolBar_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_newTQToolButton__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_newTQToolButton__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolButton_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolButton_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_setOnIconSet (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_setOffIconSet (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_setIconSet__Lorg_kde_qt_QIconSet_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolButton_onIconSet (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolButton_offIconSet (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolButton_iconSet__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_setIconSet__Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolButton_iconSet__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QToolButton_usesBigPixmap (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QToolButton_usesTextLabel (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolButton_textLabel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_setPopup (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolButton_popup (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_setPopupDelay (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QToolButton_popupDelay (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_openPopup (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_setAutoRaise (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QToolButton_autoRaise (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QToolButton_textPosition (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_setUsesBigPixmap (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_setUsesTextLabel (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_setTextLabel__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_setToggleButton (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_setOn (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_toggle (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_setTextLabel__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_setTextPosition (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolButton_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolButton_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_drawButton (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_drawButtonLabel (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_enterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_leaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_moveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QToolButton_uses3D (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QToolButton_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_paletteChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QToolButton_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QToolButton__ */ diff --git a/qtjava/javalib/qtjava/QToolTip.cpp b/qtjava/javalib/qtjava/QToolTip.cpp deleted file mode 100644 index 1babfe73..00000000 --- a/qtjava/javalib/qtjava/QToolTip.cpp +++ /dev/null @@ -1,183 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolTip_add__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject arg1, jstring arg2) -{ - (void) cls; -static TQString* _qstring_arg2 = 0; - TQToolTip::add((TQWidget*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolTip_add__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QToolTipGroup_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject arg1, jstring arg2, jobject arg3, jstring arg4) -{ - (void) cls; -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg4 = 0; - TQToolTip::add((TQWidget*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQToolTipGroup*) QtSupport::getQt(env, arg3), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolTip_add__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2, jstring arg3) -{ - (void) cls; -static TQString* _qstring_arg3 = 0; - TQToolTip::add((TQWidget*) QtSupport::getQt(env, arg1), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg2), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolTip_add__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Ljava_lang_String_2Lorg_kde_qt_QToolTipGroup_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2, jstring arg3, jobject arg4, jstring arg5) -{ - (void) cls; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg5 = 0; - TQToolTip::add((TQWidget*) QtSupport::getQt(env, arg1), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg2), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQToolTipGroup*) QtSupport::getQt(env, arg4), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QToolTip_enabled(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TQToolTip::enabled(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QToolTip_font(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TQToolTip::font()), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QToolTip_group(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQToolTip*) QtSupport::getQt(env, obj))->group(), "org.kde.qt.TQToolTipGroup"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolTip_hide(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TQToolTip::hide(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QToolTip_isGloballyEnabled(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TQToolTip::isGloballyEnabled(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QToolTip_palette(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPalette(TQToolTip::palette()), "org.kde.qt.TQPalette", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QToolTip_parentWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQToolTip*) QtSupport::getQt(env, obj))->parentWidget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolTip_remove__Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - TQToolTip::remove((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolTip_remove__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) -{ - (void) cls; - TQToolTip::remove((TQWidget*) QtSupport::getQt(env, arg1), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolTip_setEnabled(JNIEnv* env, jclass cls, jboolean enable) -{ - (void) cls; - (void) env; - TQToolTip::setEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolTip_setFont(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - TQToolTip::setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolTip_setGloballyEnabled(JNIEnv* env, jclass cls, jboolean arg1) -{ - (void) cls; - (void) env; - TQToolTip::setGloballyEnabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolTip_setPalette(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - TQToolTip::setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolTip_setWakeUpDelay(JNIEnv* env, jclass cls, jint arg1) -{ - (void) cls; - (void) env; - TQToolTip::setWakeUpDelay((int) arg1); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QToolTip_textFor__Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject arg1) -{ - TQString _qstring; - (void) cls; - _qstring = TQToolTip::textFor((TQWidget*) QtSupport::getQt(env, arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QToolTip_textFor__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jclass cls, jobject arg1, jobject pos) -{ - TQString _qstring; - (void) cls; - _qstring = TQToolTip::textFor((TQWidget*) QtSupport::getQt(env, arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QToolTip.h b/qtjava/javalib/qtjava/QToolTip.h deleted file mode 100644 index 37e92df3..00000000 --- a/qtjava/javalib/qtjava/QToolTip.h +++ /dev/null @@ -1,38 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QToolTip__ -#define __org_kde_qt_QToolTip__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolTip_parentWidget (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolTip_group (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolTip_add__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolTip_add__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QToolTipGroup_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolTip_remove__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolTip_add__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolTip_add__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Ljava_lang_String_2Lorg_kde_qt_QToolTipGroup_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolTip_remove__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolTip_textFor__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolTip_textFor__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolTip_hide (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolTip_font (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolTip_setFont (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolTip_palette (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolTip_setPalette (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolTip_setEnabled (JNIEnv *env, jclass, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QToolTip_enabled (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolTip_setGloballyEnabled (JNIEnv *env, jclass, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QToolTip_isGloballyEnabled (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolTip_setWakeUpDelay (JNIEnv *env, jclass, jint); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QToolTip__ */ diff --git a/qtjava/javalib/qtjava/QToolTipGroup.cpp b/qtjava/javalib/qtjava/QToolTipGroup.cpp deleted file mode 100644 index 81a76319..00000000 --- a/qtjava/javalib/qtjava/QToolTipGroup.cpp +++ /dev/null @@ -1,160 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQToolTipGroupJBridge : public TQToolTipGroup -{ -public: - TQToolTipGroupJBridge(TQObject* arg1,const char* arg2) : TQToolTipGroup(arg1,arg2) {}; - TQToolTipGroupJBridge(TQObject* arg1) : TQToolTipGroup(arg1) {}; - ~TQToolTipGroupJBridge() {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.qt.TQToolTipGroup",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QToolTipGroup_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQToolTipGroup*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QToolTipGroup_delay(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQToolTipGroup*) QtSupport::getQt(env, obj))->delay(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolTipGroup_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QToolTipGroup_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QToolTipGroup_enabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQToolTipGroup*) QtSupport::getQt(env, obj))->enabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolTipGroup_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQToolTipGroup*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQToolTipGroup*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QToolTipGroup_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QToolTipGroup_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQToolTipGroup*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolTipGroup_newTQToolTipGroup__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQToolTipGroupJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolTipGroup_newTQToolTipGroup__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 TQToolTipGroupJBridge((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_qt_QToolTipGroup_setDelay(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQToolTipGroup*) QtSupport::getQt(env, obj))->setDelay((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QToolTipGroup_setEnabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQToolTipGroup*) QtSupport::getQt(env, obj))->setEnabled((bool) arg1); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QToolTipGroup_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQToolTipGroupJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QToolTipGroup_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQToolTipGroupJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QToolTipGroup.h b/qtjava/javalib/qtjava/QToolTipGroup.h deleted file mode 100644 index 3f9e9084..00000000 --- a/qtjava/javalib/qtjava/QToolTipGroup.h +++ /dev/null @@ -1,31 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QToolTipGroup__ -#define __org_kde_qt_QToolTipGroup__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolTipGroup_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolTipGroup_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolTipGroup_newTQToolTipGroup__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolTipGroup_newTQToolTipGroup__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QToolTipGroup_delay (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QToolTipGroup_enabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolTipGroup_setDelay (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolTipGroup_setEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolTipGroup_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolTipGroup_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolTipGroup_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolTipGroup_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QToolTipGroup_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QToolTipGroup__ */ diff --git a/qtjava/javalib/qtjava/QTranslator.cpp b/qtjava/javalib/qtjava/QTranslator.cpp deleted file mode 100644 index d86fe15a..00000000 --- a/qtjava/javalib/qtjava/QTranslator.cpp +++ /dev/null @@ -1,332 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQTranslatorJBridge : public TQTranslator -{ -public: - TQTranslatorJBridge(TQObject* arg1,const char* arg2) : TQTranslator(arg1,arg2) {}; - TQTranslatorJBridge(TQObject* arg1) : TQTranslator(arg1) {}; - TQTranslatorJBridge() : TQTranslator() {}; - ~TQTranslatorJBridge() {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.qt.TQTranslator",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTranslator_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQTranslator*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTranslator_clear(JNIEnv* env, jobject obj) -{ - ((TQTranslator*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTranslator_contains__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2) -{ -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - jboolean xret = (jboolean) ((TQTranslator*) QtSupport::getQt(env, obj))->contains((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTranslator_contains__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jstring comment) -{ -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; -static TQCString* _qstring_comment = 0; - jboolean xret = (jboolean) ((TQTranslator*) QtSupport::getQt(env, obj))->contains((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2), (const char*) QtSupport::toCharString(env, comment, &_qstring_comment)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTranslator_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QTranslator_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTranslator_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQTranslator*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQTranslator*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTranslator_findMessage__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2) -{ -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQTranslatorMessage(((TQTranslator*) QtSupport::getQt(env, obj))->findMessage((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2))), "org.kde.qt.TQTranslatorMessage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTranslator_findMessage__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jstring arg3) -{ -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; -static TQCString* _qstring_arg3 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQTranslatorMessage(((TQTranslator*) QtSupport::getQt(env, obj))->findMessage((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2), (const char*) QtSupport::toCharString(env, arg3, &_qstring_arg3))), "org.kde.qt.TQTranslatorMessage", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTranslator_find__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring context, jstring sourceText) -{ - TQString _qstring; -static TQCString* _qstring_context = 0; -static TQCString* _qstring_sourceText = 0; - _qstring = ((TQTranslator*) QtSupport::getQt(env, obj))->find((const char*) QtSupport::toCharString(env, context, &_qstring_context), (const char*) QtSupport::toCharString(env, sourceText, &_qstring_sourceText)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTranslator_find__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring context, jstring sourceText, jstring comment) -{ - TQString _qstring; -static TQCString* _qstring_context = 0; -static TQCString* _qstring_sourceText = 0; -static TQCString* _qstring_comment = 0; - _qstring = ((TQTranslator*) QtSupport::getQt(env, obj))->find((const char*) QtSupport::toCharString(env, context, &_qstring_context), (const char*) QtSupport::toCharString(env, sourceText, &_qstring_sourceText), (const char*) QtSupport::toCharString(env, comment, &_qstring_comment)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTranslator_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring context, jstring sourceText, jstring translation) -{ -static TQCString* _qstring_context = 0; -static TQCString* _qstring_sourceText = 0; -static TQString* _qstring_translation = 0; - ((TQTranslator*) QtSupport::getQt(env, obj))->insert((const char*) QtSupport::toCharString(env, context, &_qstring_context), (const char*) QtSupport::toCharString(env, sourceText, &_qstring_sourceText), (const TQString&)*(TQString*) QtSupport::toTQString(env, translation, &_qstring_translation)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTranslator_insert__Lorg_kde_qt_QTranslatorMessage_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTranslator*) QtSupport::getQt(env, obj))->insert((const TQTranslatorMessage&)*(const TQTranslatorMessage*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTranslator_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTranslator_isEmpty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQTranslator*) QtSupport::getQt(env, obj))->isEmpty(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTranslator_load__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename) -{ -static TQString* _qstring_filename = 0; - jboolean xret = (jboolean) ((TQTranslator*) QtSupport::getQt(env, obj))->load((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTranslator_load__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename, jstring directory) -{ -static TQString* _qstring_filename = 0; -static TQString* _qstring_directory = 0; - jboolean xret = (jboolean) ((TQTranslator*) QtSupport::getQt(env, obj))->load((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (const TQString&)*(TQString*) QtSupport::toTQString(env, directory, &_qstring_directory)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTranslator_load__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename, jstring directory, jstring search_delimiters) -{ -static TQString* _qstring_filename = 0; -static TQString* _qstring_directory = 0; -static TQString* _qstring_search_delimiters = 0; - jboolean xret = (jboolean) ((TQTranslator*) QtSupport::getQt(env, obj))->load((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (const TQString&)*(TQString*) QtSupport::toTQString(env, directory, &_qstring_directory), (const TQString&)*(TQString*) QtSupport::toTQString(env, search_delimiters, &_qstring_search_delimiters)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTranslator_load__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename, jstring directory, jstring search_delimiters, jstring suffix) -{ -static TQString* _qstring_filename = 0; -static TQString* _qstring_directory = 0; -static TQString* _qstring_search_delimiters = 0; -static TQString* _qstring_suffix = 0; - jboolean xret = (jboolean) ((TQTranslator*) QtSupport::getQt(env, obj))->load((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (const TQString&)*(TQString*) QtSupport::toTQString(env, directory, &_qstring_directory), (const TQString&)*(TQString*) QtSupport::toTQString(env, search_delimiters, &_qstring_search_delimiters), (const TQString&)*(TQString*) QtSupport::toTQString(env, suffix, &_qstring_suffix)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTranslator_load___3CI(JNIEnv* env, jobject obj, jcharArray data, jint len) -{ -static TQByteArray* _qbytearray_data = 0; - jboolean xret = (jboolean) ((TQTranslator*) QtSupport::getQt(env, obj))->load((const uchar*) QtSupport::toUcharArray(env, data, &_qbytearray_data), (int) len); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTranslator_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTranslator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTranslator_newTQTranslator__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTranslatorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTranslator_newTQTranslator__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTranslatorJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTranslator_newTQTranslator__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 TQTranslatorJBridge((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_qt_QTranslator_remove__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring context, jstring sourceText) -{ -static TQCString* _qstring_context = 0; -static TQCString* _qstring_sourceText = 0; - ((TQTranslator*) QtSupport::getQt(env, obj))->remove((const char*) QtSupport::toCharString(env, context, &_qstring_context), (const char*) QtSupport::toCharString(env, sourceText, &_qstring_sourceText)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTranslator_remove__Lorg_kde_qt_QTranslatorMessage_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQTranslator*) QtSupport::getQt(env, obj))->remove((const TQTranslatorMessage&)*(const TQTranslatorMessage*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTranslator_save__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename) -{ -static TQString* _qstring_filename = 0; - jboolean xret = (jboolean) ((TQTranslator*) QtSupport::getQt(env, obj))->save((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTranslator_save__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring filename, jint mode) -{ -static TQString* _qstring_filename = 0; - jboolean xret = (jboolean) ((TQTranslator*) QtSupport::getQt(env, obj))->save((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (TQTranslator::SaveMode) mode); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTranslator_squeeze__(JNIEnv* env, jobject obj) -{ - ((TQTranslator*) QtSupport::getQt(env, obj))->squeeze(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTranslator_squeeze__I(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQTranslator*) QtSupport::getQt(env, obj))->squeeze((TQTranslator::SaveMode) arg1); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTranslator_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQTranslatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTranslator_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQTranslatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTranslator_unsqueeze(JNIEnv* env, jobject obj) -{ - ((TQTranslator*) QtSupport::getQt(env, obj))->unsqueeze(); - return; -} - diff --git a/qtjava/javalib/qtjava/QTranslator.h b/qtjava/javalib/qtjava/QTranslator.h deleted file mode 100644 index 65e4363d..00000000 --- a/qtjava/javalib/qtjava/QTranslator.h +++ /dev/null @@ -1,50 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QTranslator__ -#define __org_kde_qt_QTranslator__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTranslator_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTranslator_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslator_newTQTranslator__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslator_newTQTranslator__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslator_newTQTranslator__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTranslator_find__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTranslator_find__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTranslator_findMessage__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTranslator_findMessage__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTranslator_load__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_qt_QTranslator_load__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTranslator_load__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTranslator_load__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTranslator_load___3CI (JNIEnv *env, jobject, jcharArray, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslator_clear (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTranslator_save__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTranslator_save__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslator_insert__Lorg_kde_qt_QTranslatorMessage_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslator_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslator_remove__Lorg_kde_qt_QTranslatorMessage_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslator_remove__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTranslator_contains__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTranslator_contains__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslator_squeeze__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslator_squeeze__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslator_unsqueeze (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTranslator_isEmpty (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTranslator_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTranslator_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslator_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslator_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTranslator_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QTranslator__ */ diff --git a/qtjava/javalib/qtjava/QTranslatorMessage.cpp b/qtjava/javalib/qtjava/QTranslatorMessage.cpp deleted file mode 100644 index a147ddb5..00000000 --- a/qtjava/javalib/qtjava/QTranslatorMessage.cpp +++ /dev/null @@ -1,216 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQTranslatorMessageJBridge : public TQTranslatorMessage -{ -public: - TQTranslatorMessageJBridge() : TQTranslatorMessage() {}; - TQTranslatorMessageJBridge(const char* arg1,const char* arg2,const char* arg3,const TQString& arg4) : TQTranslatorMessage(arg1,arg2,arg3,arg4) {}; - TQTranslatorMessageJBridge(const char* arg1,const char* arg2,const char* arg3) : TQTranslatorMessage(arg1,arg2,arg3) {}; - TQTranslatorMessageJBridge(TQDataStream& arg1) : TQTranslatorMessage(arg1) {}; - TQTranslatorMessageJBridge(const TQTranslatorMessage& arg1) : TQTranslatorMessage(arg1) {}; - ~TQTranslatorMessageJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTranslatorMessage_comment(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->comment(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTranslatorMessage_commonPrefix(JNIEnv* env, jobject obj, jobject arg1) -{ - jint xret = (jint) ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->commonPrefix((const TQTranslatorMessage&)*(const TQTranslatorMessage*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTranslatorMessage_context(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->context(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTranslatorMessage_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QTranslatorMessage_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTranslatorMessage_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQTranslatorMessage*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTranslatorMessage_hash(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->hash(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTranslatorMessage_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTranslatorMessage_newTQTranslatorMessage__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTranslatorMessageJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTranslatorMessage_newTQTranslatorMessage__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring context, jstring sourceText, jstring comment) -{ -static TQCString* _qstring_context = 0; -static TQCString* _qstring_sourceText = 0; -static TQCString* _qstring_comment = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTranslatorMessageJBridge((const char*) QtSupport::toCharString(env, context, &_qstring_context), (const char*) QtSupport::toCharString(env, sourceText, &_qstring_sourceText), (const char*) QtSupport::toCharString(env, comment, &_qstring_comment))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTranslatorMessage_newTQTranslatorMessage__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring context, jstring sourceText, jstring comment, jstring translation) -{ -static TQCString* _qstring_context = 0; -static TQCString* _qstring_sourceText = 0; -static TQCString* _qstring_comment = 0; -static TQString* _qstring_translation = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTranslatorMessageJBridge((const char*) QtSupport::toCharString(env, context, &_qstring_context), (const char*) QtSupport::toCharString(env, sourceText, &_qstring_sourceText), (const char*) QtSupport::toCharString(env, comment, &_qstring_comment), (const TQString&)*(TQString*) QtSupport::toTQString(env, translation, &_qstring_translation))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTranslatorMessage_newTQTranslatorMessage__Lorg_kde_qt_QDataStream_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTranslatorMessageJBridge((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTranslatorMessage_newTQTranslatorMessage__Lorg_kde_qt_QTranslatorMessage_2(JNIEnv* env, jobject obj, jobject m) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTranslatorMessageJBridge((const TQTranslatorMessage&)*(const TQTranslatorMessage*) QtSupport::getQt(env, m))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTranslatorMessage_op_1equals(JNIEnv* env, jobject obj, jobject m) -{ - jboolean xret = (jboolean) ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->operator==((const TQTranslatorMessage&)*(const TQTranslatorMessage*) QtSupport::getQt(env, m)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTranslatorMessage_op_1gt(JNIEnv* env, jobject obj, jobject m) -{ - jboolean xret = (jboolean) ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->operator>((const TQTranslatorMessage&)*(const TQTranslatorMessage*) QtSupport::getQt(env, m)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTranslatorMessage_op_1gte(JNIEnv* env, jobject obj, jobject m) -{ - jboolean xret = (jboolean) ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->operator>=((const TQTranslatorMessage&)*(const TQTranslatorMessage*) QtSupport::getQt(env, m)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTranslatorMessage_op_1lt(JNIEnv* env, jobject obj, jobject m) -{ - jboolean xret = (jboolean) ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->operator<((const TQTranslatorMessage&)*(const TQTranslatorMessage*) QtSupport::getQt(env, m)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTranslatorMessage_op_1lte(JNIEnv* env, jobject obj, jobject m) -{ - jboolean xret = (jboolean) ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->operator<=((const TQTranslatorMessage&)*(const TQTranslatorMessage*) QtSupport::getQt(env, m)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTranslatorMessage_op_1not_1equals(JNIEnv* env, jobject obj, jobject m) -{ - jboolean xret = (jboolean) ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->operator!=((const TQTranslatorMessage&)*(const TQTranslatorMessage*) QtSupport::getQt(env, m)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTranslatorMessage_setTranslation(JNIEnv* env, jobject obj, jstring translation) -{ -static TQString* _qstring_translation = 0; - ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->setTranslation((const TQString&)*(TQString*) QtSupport::toTQString(env, translation, &_qstring_translation)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTranslatorMessage_sourceText(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->sourceText(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTranslatorMessage_translation(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->translation(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTranslatorMessage_write__Lorg_kde_qt_QDataStream_2(JNIEnv* env, jobject obj, jobject s) -{ - ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->write((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTranslatorMessage_write__Lorg_kde_qt_QDataStream_2Z(JNIEnv* env, jobject obj, jobject s, jboolean strip) -{ - ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->write((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (bool) strip); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTranslatorMessage_write__Lorg_kde_qt_QDataStream_2ZI(JNIEnv* env, jobject obj, jobject s, jboolean strip, jint prefix) -{ - ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->write((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (bool) strip, (TQTranslatorMessage::Prefix) prefix); - return; -} - diff --git a/qtjava/javalib/qtjava/QTranslatorMessage.h b/qtjava/javalib/qtjava/QTranslatorMessage.h deleted file mode 100644 index 8a8087f1..00000000 --- a/qtjava/javalib/qtjava/QTranslatorMessage.h +++ /dev/null @@ -1,42 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QTranslatorMessage__ -#define __org_kde_qt_QTranslatorMessage__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslatorMessage_newTQTranslatorMessage__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslatorMessage_newTQTranslatorMessage__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_qt_QTranslatorMessage_newTQTranslatorMessage__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslatorMessage_newTQTranslatorMessage__Lorg_kde_qt_QDataStream_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslatorMessage_newTQTranslatorMessage__Lorg_kde_qt_QTranslatorMessage_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTranslatorMessage_hash (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTranslatorMessage_context (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTranslatorMessage_sourceText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTranslatorMessage_comment (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslatorMessage_setTranslation (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTranslatorMessage_translation (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslatorMessage_write__Lorg_kde_qt_QDataStream_2ZI (JNIEnv *env, jobject, jobject, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslatorMessage_write__Lorg_kde_qt_QDataStream_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslatorMessage_write__Lorg_kde_qt_QDataStream_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTranslatorMessage_commonPrefix (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTranslatorMessage_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTranslatorMessage_op_1not_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTranslatorMessage_op_1lt (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTranslatorMessage_op_1lte (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTranslatorMessage_op_1gt (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTranslatorMessage_op_1gte (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslatorMessage_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslatorMessage_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTranslatorMessage_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QTranslatorMessage__ */ diff --git a/qtjava/javalib/qtjava/QTsciiCodec.cpp b/qtjava/javalib/qtjava/QTsciiCodec.cpp deleted file mode 100644 index 969ce853..00000000 --- a/qtjava/javalib/qtjava/QTsciiCodec.cpp +++ /dev/null @@ -1,99 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQTsciiCodecJBridge : public TQTsciiCodec -{ -public: - TQTsciiCodecJBridge() : TQTsciiCodec() {}; - ~TQTsciiCodecJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTsciiCodec_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QTsciiCodec_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTsciiCodec_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQTsciiCodec*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTsciiCodec_fromUnicode(JNIEnv* env, jobject obj, jstring uc, jintArray lenInOut) -{ - TQCString _qstring; -static TQString* _qstring_uc = 0; - int* _int_lenInOut = QtSupport::toIntPtr(env, lenInOut); - _qstring = ((TQTsciiCodec*) QtSupport::getQt(env, obj))->fromUnicode((const TQString&)*(TQString*) QtSupport::toTQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); - env->SetIntArrayRegion(lenInOut, 0, 1, (jint *) _int_lenInOut); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTsciiCodec_heuristicContentMatch(JNIEnv* env, jobject obj, jstring chars, jint len) -{ -static TQCString* _qstring_chars = 0; - jint xret = (jint) ((TQTsciiCodec*) QtSupport::getQt(env, obj))->heuristicContentMatch((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTsciiCodec_heuristicNameMatch(JNIEnv* env, jobject obj, jstring hint) -{ -static TQCString* _qstring_hint = 0; - jint xret = (jint) ((TQTsciiCodec*) QtSupport::getQt(env, obj))->heuristicNameMatch((const char*) QtSupport::toCharString(env, hint, &_qstring_hint)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTsciiCodec_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QTsciiCodec_mibEnum(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQTsciiCodec*) QtSupport::getQt(env, obj))->mibEnum(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTsciiCodec_name(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQTsciiCodec*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QTsciiCodec_newTQTsciiCodec(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQTsciiCodecJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTsciiCodec_toUnicode(JNIEnv* env, jobject obj, jstring chars, jint len) -{ - TQString _qstring; -static TQCString* _qstring_chars = 0; - _qstring = ((TQTsciiCodec*) QtSupport::getQt(env, obj))->toUnicode((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QTsciiCodec.h b/qtjava/javalib/qtjava/QTsciiCodec.h deleted file mode 100644 index 761c1865..00000000 --- a/qtjava/javalib/qtjava/QTsciiCodec.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QTsciiCodec__ -#define __org_kde_qt_QTsciiCodec__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTsciiCodec_mibEnum (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTsciiCodec_name (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTsciiCodec_fromUnicode (JNIEnv *env, jobject, jstring, jintArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTsciiCodec_toUnicode (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTsciiCodec_heuristicContentMatch (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTsciiCodec_heuristicNameMatch (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTsciiCodec_newTQTsciiCodec (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTsciiCodec_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTsciiCodec_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTsciiCodec_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QTsciiCodec__ */ diff --git a/qtjava/javalib/qtjava/QUriDrag.cpp b/qtjava/javalib/qtjava/QUriDrag.cpp deleted file mode 100644 index d542f9b1..00000000 --- a/qtjava/javalib/qtjava/QUriDrag.cpp +++ /dev/null @@ -1,302 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include - -class TQUriDragJBridge : public TQUriDrag -{ -public: - TQUriDragJBridge(TQStrList arg1,TQWidget* arg2,const char* arg3) : TQUriDrag(arg1,arg2,arg3) {}; - TQUriDragJBridge(TQStrList arg1,TQWidget* arg2) : TQUriDrag(arg1,arg2) {}; - TQUriDragJBridge(TQStrList arg1) : TQUriDrag(arg1) {}; - TQUriDragJBridge(TQWidget* arg1,const char* arg2) : TQUriDrag(arg1,arg2) {}; - TQUriDragJBridge(TQWidget* arg1) : TQUriDrag(arg1) {}; - TQUriDragJBridge() : TQUriDrag() {}; - ~TQUriDragJBridge() {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.qt.TQUriDrag",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUriDrag_canDecode(JNIEnv* env, jclass cls, jobject e) -{ - (void) cls; - jboolean xret = (jboolean) TQUriDragJBridge::canDecode((const TQMimeSource*) QtSupport::mimeSource(env, e)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUriDrag_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQUriDrag*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUriDrag_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QUriDrag_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUriDrag_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQUriDrag*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQUriDrag*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUriDrag_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUriDrag_localFileToUri(JNIEnv* env, jclass cls, jstring arg1) -{ - TQCString _qstring; - (void) cls; -static TQString* _qstring_arg1 = 0; - _qstring = TQUriDragJBridge::localFileToUri((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QUriDrag_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQUriDrag*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUriDrag_newTQUriDrag__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQUriDragJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUriDrag_newTQUriDrag__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject dragSource) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQUriDragJBridge((TQWidget*) QtSupport::getQt(env, dragSource))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUriDrag_newTQUriDrag__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 TQUriDragJBridge((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_qt_QUriDrag_newTQUriDrag___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray uris) -{ -static TQStrList* _qlist_uris = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQUriDragJBridge((TQStrList)*(TQStrList*) QtSupport::toTQStrList(env, uris, &_qlist_uris))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUriDrag_newTQUriDrag___3Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobjectArray uris, jobject dragSource) -{ -static TQStrList* _qlist_uris = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQUriDragJBridge((TQStrList)*(TQStrList*) QtSupport::toTQStrList(env, uris, &_qlist_uris), (TQWidget*) QtSupport::getQt(env, dragSource))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUriDrag_newTQUriDrag___3Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray uris, jobject dragSource, jstring name) -{ -static TQStrList* _qlist_uris = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQUriDragJBridge((TQStrList)*(TQStrList*) QtSupport::toTQStrList(env, uris, &_qlist_uris), (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_qt_QUriDrag_setFileNames(JNIEnv* env, jobject obj, jobjectArray fnames) -{ -static TQStringList* _qlist_fnames = 0; - ((TQUriDrag*) QtSupport::getQt(env, obj))->setFileNames((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fnames, &_qlist_fnames)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUriDrag_setFilenames(JNIEnv* env, jobject obj, jobjectArray fnames) -{ -static TQStringList* _qlist_fnames = 0; - ((TQUriDrag*) QtSupport::getQt(env, obj))->setFilenames((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fnames, &_qlist_fnames)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUriDrag_setUnicodeUris(JNIEnv* env, jobject obj, jobjectArray uuris) -{ -static TQStringList* _qlist_uuris = 0; - ((TQUriDrag*) QtSupport::getQt(env, obj))->setUnicodeUris((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, uuris, &_qlist_uuris)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUriDrag_setUris(JNIEnv* env, jobject obj, jobjectArray uris) -{ -static TQStrList* _qlist_uris = 0; - ((TQUriDrag*) QtSupport::getQt(env, obj))->setUris((TQStrList)*(TQStrList*) QtSupport::toTQStrList(env, uris, &_qlist_uris)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUriDrag_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQUriDragJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUriDrag_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQUriDragJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUriDrag_unicodeUriToUri(JNIEnv* env, jclass cls, jstring arg1) -{ - TQCString _qstring; - (void) cls; -static TQString* _qstring_arg1 = 0; - _qstring = TQUriDragJBridge::unicodeUriToUri((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUriDrag_uriToLocalFile(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQUriDragJBridge::uriToLocalFile((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUriDrag_uriToUnicodeUri(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQUriDragJBridge::uriToUnicodeUri((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUriDrag_decode(JNIEnv *env, jclass cls, jobject e, jobject i) -{ -static TQStrList * _qlist_i = 0; - if (_qlist_i == 0) { - _qlist_i = new TQStrList(); - } - (void) cls; - jboolean result = (jboolean) TQUriDragJBridge::decode(QtSupport::mimeSource(env, e), *_qlist_i); - QtSupport::arrayWithTQStrList(env, _qlist_i, i); - return result; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUriDrag_decodeToUnicodeUris(JNIEnv *env, jclass cls, jobject e, jobject i) -{ -static TQStringList * _qlist_i = 0; - if (_qlist_i == 0) { - _qlist_i = new TQStringList(); - } - (void) cls; - jboolean result = (jboolean) TQUriDragJBridge::decodeToUnicodeUris(QtSupport::mimeSource(env, e), *_qlist_i); - QtSupport::arrayWithTQStringList(env, _qlist_i, i); - return result; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUriDrag_decodeLocalFiles(JNIEnv *env, jclass cls, jobject e, jobject i) -{ -static TQStringList * _qlist_i = 0; - if (_qlist_i == 0) { - _qlist_i = new TQStringList(); - } - (void) cls; - jboolean result = (jboolean) TQUriDragJBridge::decodeLocalFiles(QtSupport::mimeSource(env, e), *_qlist_i); - QtSupport::arrayWithTQStringList(env, _qlist_i, i); - return result; -} - diff --git a/qtjava/javalib/qtjava/QUriDrag.h b/qtjava/javalib/qtjava/QUriDrag.h deleted file mode 100644 index 28ea2fce..00000000 --- a/qtjava/javalib/qtjava/QUriDrag.h +++ /dev/null @@ -1,46 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QUriDrag__ -#define __org_kde_qt_QUriDrag__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QUriDrag_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUriDrag_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUriDrag_newTQUriDrag___3Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUriDrag_newTQUriDrag___3Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobjectArray, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUriDrag_newTQUriDrag___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUriDrag_newTQUriDrag__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUriDrag_newTQUriDrag__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUriDrag_newTQUriDrag__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUriDrag_setFilenames (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUriDrag_setFileNames (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUriDrag_setUnicodeUris (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUriDrag_setUris (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUriDrag_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUriDrag_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUriDrag_uriToLocalFile (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUriDrag_localFileToUri (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUriDrag_uriToUnicodeUri (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUriDrag_unicodeUriToUri (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUriDrag_canDecode (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUriDrag_decode__Lorg_kde_qt_QMimeSourceInterface_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jobjectArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUriDrag_decodeToUnicodeUris__Lorg_kde_qt_QMimeSourceInterface_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jobjectArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUriDrag_decodeLocalFiles__Lorg_kde_qt_QMimeSourceInterface_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUriDrag_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUriDrag_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUriDrag_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUriDrag_decode__Lorg_kde_qt_QMimeSourceInterface_2Ljava_util_ArrayList_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUriDrag_decodeToUnicodeUris__Lorg_kde_qt_QMimeSourceInterface_2Ljava_util_ArrayList_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUriDrag_decodeLocalFiles__Lorg_kde_qt_QMimeSourceInterface_2Ljava_util_ArrayList_2 (JNIEnv *env, jclass, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QUriDrag__ */ diff --git a/qtjava/javalib/qtjava/QUrl.cpp b/qtjava/javalib/qtjava/QUrl.cpp deleted file mode 100644 index 38b7eacc..00000000 --- a/qtjava/javalib/qtjava/QUrl.cpp +++ /dev/null @@ -1,429 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQUrlJBridge : public TQUrl -{ -public: - TQUrlJBridge() : TQUrl() {}; - TQUrlJBridge(const TQString& arg1) : TQUrl(arg1) {}; - TQUrlJBridge(const TQUrl& arg1) : TQUrl(arg1) {}; - TQUrlJBridge(const TQUrl& arg1,const TQString& arg2,bool arg3) : TQUrl(arg1,arg2,arg3) {}; - TQUrlJBridge(const TQUrl& arg1,const TQString& arg2) : TQUrl(arg1,arg2) {}; - void protected_reset() { - TQUrl::reset(); - return; - } - bool protected_parse(const TQString& arg1) { - return (bool) TQUrl::parse(arg1); - } - ~TQUrlJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrl_addPath(JNIEnv* env, jobject obj, jstring path) -{ -static TQString* _qstring_path = 0; - ((TQUrl*) QtSupport::getQt(env, obj))->addPath((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrl_cdUp(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQUrl*) QtSupport::getQt(env, obj))->cdUp(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrl_decode(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; -static TQString* _qstring_url = 0; - TQUrlJBridge::decode((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, url, &_qstring_url)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_url, url); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUrl_dirPath(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQUrl*) QtSupport::getQt(env, obj))->dirPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrl_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QUrl_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrl_encode(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; -static TQString* _qstring_url = 0; - TQUrlJBridge::encode((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, url, &_qstring_url)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_url, url); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUrl_encodedPathAndQuery(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQUrl*) QtSupport::getQt(env, obj))->encodedPathAndQuery(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUrl_fileName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQUrl*) QtSupport::getQt(env, obj))->fileName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrl_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQUrl*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrl_hasHost(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQUrl*) QtSupport::getQt(env, obj))->hasHost(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrl_hasPassword(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQUrl*) QtSupport::getQt(env, obj))->hasPassword(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrl_hasPath(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQUrl*) QtSupport::getQt(env, obj))->hasPath(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrl_hasPort(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQUrl*) QtSupport::getQt(env, obj))->hasPort(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrl_hasRef(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQUrl*) QtSupport::getQt(env, obj))->hasRef(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrl_hasUser(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQUrl*) QtSupport::getQt(env, obj))->hasUser(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUrl_host(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQUrl*) QtSupport::getQt(env, obj))->host(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrl_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrl_isLocalFile(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQUrl*) QtSupport::getQt(env, obj))->isLocalFile(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrl_isRelativeUrl(JNIEnv* env, jclass cls, jstring url) -{ - (void) cls; -static TQString* _qstring_url = 0; - jboolean xret = (jboolean) TQUrlJBridge::isRelativeUrl((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrl_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQUrl*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrl_newTQUrl__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQUrlJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrl_newTQUrl__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 TQUrlJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrl_newTQUrl__Lorg_kde_qt_QUrlInterface_2(JNIEnv* env, jobject obj, jobject url) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQUrlJBridge((const TQUrl&)*(const TQUrl*) QtSupport::getQt(env, url))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrl_newTQUrl__Lorg_kde_qt_QUrlInterface_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject url, jstring relUrl) -{ -static TQString* _qstring_relUrl = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQUrlJBridge((const TQUrl&)*(const TQUrl*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, relUrl, &_qstring_relUrl))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrl_newTQUrl__Lorg_kde_qt_QUrlInterface_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject url, jstring relUrl, jboolean checkSlash) -{ -static TQString* _qstring_relUrl = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQUrlJBridge((const TQUrl&)*(const TQUrl*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, relUrl, &_qstring_relUrl), (bool) checkSlash)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrl_op_1equals__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - jboolean xret = (jboolean) ((TQUrl*) QtSupport::getQt(env, obj))->operator==((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrl_op_1equals__Lorg_kde_qt_QUrlInterface_2(JNIEnv* env, jobject obj, jobject url) -{ - jboolean xret = (jboolean) ((TQUrl*) QtSupport::getQt(env, obj))->operator==((const TQUrl&)*(const TQUrl*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrl_parse(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - jboolean xret = (jboolean) ((TQUrlJBridge*) QtSupport::getQt(env, obj))->protected_parse((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUrl_password(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQUrl*) QtSupport::getQt(env, obj))->password(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUrl_path__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQUrl*) QtSupport::getQt(env, obj))->path(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUrl_path__Z(JNIEnv* env, jobject obj, jboolean correct) -{ - TQString _qstring; - _qstring = ((TQUrl*) QtSupport::getQt(env, obj))->path((bool) correct); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QUrl_port(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQUrl*) QtSupport::getQt(env, obj))->port(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUrl_protocol(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQUrl*) QtSupport::getQt(env, obj))->protocol(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUrl_query(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQUrl*) QtSupport::getQt(env, obj))->query(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUrl_ref(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQUrl*) QtSupport::getQt(env, obj))->ref(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrl_reset(JNIEnv* env, jobject obj) -{ - ((TQUrlJBridge*) QtSupport::getQt(env, obj))->protected_reset(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrl_setEncodedPathAndQuery(JNIEnv* env, jobject obj, jstring enc) -{ -static TQString* _qstring_enc = 0; - ((TQUrl*) QtSupport::getQt(env, obj))->setEncodedPathAndQuery((const TQString&)*(TQString*) QtSupport::toTQString(env, enc, &_qstring_enc)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrl_setFileName(JNIEnv* env, jobject obj, jstring txt) -{ -static TQString* _qstring_txt = 0; - ((TQUrl*) QtSupport::getQt(env, obj))->setFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrl_setHost(JNIEnv* env, jobject obj, jstring user) -{ -static TQString* _qstring_user = 0; - ((TQUrl*) QtSupport::getQt(env, obj))->setHost((const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrl_setPassword(JNIEnv* env, jobject obj, jstring pass) -{ -static TQString* _qstring_pass = 0; - ((TQUrl*) QtSupport::getQt(env, obj))->setPassword((const TQString&)*(TQString*) QtSupport::toTQString(env, pass, &_qstring_pass)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrl_setPath(JNIEnv* env, jobject obj, jstring path) -{ -static TQString* _qstring_path = 0; - ((TQUrl*) QtSupport::getQt(env, obj))->setPath((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrl_setPort(JNIEnv* env, jobject obj, jint port) -{ - ((TQUrl*) QtSupport::getQt(env, obj))->setPort((int) port); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrl_setProtocol(JNIEnv* env, jobject obj, jstring protocol) -{ -static TQString* _qstring_protocol = 0; - ((TQUrl*) QtSupport::getQt(env, obj))->setProtocol((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrl_setQuery(JNIEnv* env, jobject obj, jstring txt) -{ -static TQString* _qstring_txt = 0; - ((TQUrl*) QtSupport::getQt(env, obj))->setQuery((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrl_setRef(JNIEnv* env, jobject obj, jstring txt) -{ -static TQString* _qstring_txt = 0; - ((TQUrl*) QtSupport::getQt(env, obj))->setRef((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrl_setUser(JNIEnv* env, jobject obj, jstring user) -{ -static TQString* _qstring_user = 0; - ((TQUrl*) QtSupport::getQt(env, obj))->setUser((const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUrl_toString__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQUrl*) QtSupport::getQt(env, obj))->toString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUrl_toString__Z(JNIEnv* env, jobject obj, jboolean encodedPath) -{ - TQString _qstring; - _qstring = ((TQUrl*) QtSupport::getQt(env, obj))->toString((bool) encodedPath); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUrl_toString__ZZ(JNIEnv* env, jobject obj, jboolean encodedPath, jboolean forcePrependProtocol) -{ - TQString _qstring; - _qstring = ((TQUrl*) QtSupport::getQt(env, obj))->toString((bool) encodedPath, (bool) forcePrependProtocol); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUrl_user(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQUrl*) QtSupport::getQt(env, obj))->user(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QUrl.h b/qtjava/javalib/qtjava/QUrl.h deleted file mode 100644 index aeff6f65..00000000 --- a/qtjava/javalib/qtjava/QUrl.h +++ /dev/null @@ -1,68 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QUrl__ -#define __org_kde_qt_QUrl__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_newTQUrl__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_newTQUrl__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_newTQUrl__Lorg_kde_qt_QUrlInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_newTQUrl__Lorg_kde_qt_QUrlInterface_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_newTQUrl__Lorg_kde_qt_QUrlInterface_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrl_protocol (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_setProtocol (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrl_user (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_setUser (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrl_hasUser (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrl_password (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_setPassword (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrl_hasPassword (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrl_host (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_setHost (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrl_hasHost (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QUrl_port (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_setPort (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrl_hasPort (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrl_path__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrl_path__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_setPath (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrl_hasPath (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_setEncodedPathAndQuery (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrl_encodedPathAndQuery (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_setQuery (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrl_query (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrl_ref (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_setRef (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrl_hasRef (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrl_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrl_isLocalFile (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_addPath (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_setFileName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrl_fileName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrl_dirPath (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrl_op_1equals__Lorg_kde_qt_QUrlInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrl_op_1equals__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrl_toString__ZZ (JNIEnv *env, jobject, jboolean, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrl_toString__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrl_toString__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrl_cdUp (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_decode (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_encode (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrl_isRelativeUrl (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_reset (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrl_parse (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrl_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QUrl__ */ diff --git a/qtjava/javalib/qtjava/QUrlInfo.cpp b/qtjava/javalib/qtjava/QUrlInfo.cpp deleted file mode 100644 index af13e1b1..00000000 --- a/qtjava/javalib/qtjava/QUrlInfo.cpp +++ /dev/null @@ -1,320 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQUrlInfoJBridge : public TQUrlInfo -{ -public: - TQUrlInfoJBridge() : TQUrlInfo() {}; - TQUrlInfoJBridge(const TQUrlOperator& arg1,const TQString& arg2) : TQUrlInfo(arg1,arg2) {}; - TQUrlInfoJBridge(const TQUrlInfo& arg1) : TQUrlInfo(arg1) {}; - TQUrlInfoJBridge(const TQString& arg1,int arg2,const TQString& arg3,const TQString& arg4,TQIODevice::Offset arg5,const TQDateTime& arg6,const TQDateTime& arg7,bool arg8,bool arg9,bool arg10,bool arg11,bool arg12,bool arg13) : TQUrlInfo(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13) {}; - TQUrlInfoJBridge(const TQUrl& arg1,int arg2,const TQString& arg3,const TQString& arg4,TQIODevice::Offset arg5,const TQDateTime& arg6,const TQDateTime& arg7,bool arg8,bool arg9,bool arg10,bool arg11,bool arg12,bool arg13) : TQUrlInfo(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13) {}; - ~TQUrlInfoJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlInfo_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QUrlInfo_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrlInfo_equal(JNIEnv* env, jclass cls, jobject i1, jobject i2, jint sortBy) -{ - (void) cls; - jboolean xret = (jboolean) TQUrlInfoJBridge::equal((const TQUrlInfo&)*(const TQUrlInfo*) QtSupport::getQt(env, i1), (const TQUrlInfo&)*(const TQUrlInfo*) QtSupport::getQt(env, i2), (int) sortBy); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlInfo_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQUrlInfo*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrlInfo_greaterThan(JNIEnv* env, jclass cls, jobject i1, jobject i2, jint sortBy) -{ - (void) cls; - jboolean xret = (jboolean) TQUrlInfoJBridge::greaterThan((const TQUrlInfo&)*(const TQUrlInfo*) QtSupport::getQt(env, i1), (const TQUrlInfo&)*(const TQUrlInfo*) QtSupport::getQt(env, i2), (int) sortBy); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUrlInfo_group(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQUrlInfo*) QtSupport::getQt(env, obj))->group(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrlInfo_isDir(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQUrlInfo*) QtSupport::getQt(env, obj))->isDir(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrlInfo_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrlInfo_isExecutable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQUrlInfo*) QtSupport::getQt(env, obj))->isExecutable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrlInfo_isFile(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQUrlInfo*) QtSupport::getQt(env, obj))->isFile(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrlInfo_isReadable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQUrlInfo*) QtSupport::getQt(env, obj))->isReadable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrlInfo_isSymLink(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQUrlInfo*) QtSupport::getQt(env, obj))->isSymLink(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrlInfo_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQUrlInfo*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrlInfo_isWritable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQUrlInfo*) QtSupport::getQt(env, obj))->isWritable(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QUrlInfo_lastModified(JNIEnv* env, jobject obj) -{ - TQDateTime _qdate; - _qdate = ((TQUrlInfo*) QtSupport::getQt(env, obj))->lastModified(); - return (jobject) QtSupport::fromTQDateTime(env, (TQDateTime*) &_qdate); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QUrlInfo_lastRead(JNIEnv* env, jobject obj) -{ - TQDateTime _qdate; - _qdate = ((TQUrlInfo*) QtSupport::getQt(env, obj))->lastRead(); - return (jobject) QtSupport::fromTQDateTime(env, (TQDateTime*) &_qdate); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrlInfo_lessThan(JNIEnv* env, jclass cls, jobject i1, jobject i2, jint sortBy) -{ - (void) cls; - jboolean xret = (jboolean) TQUrlInfoJBridge::lessThan((const TQUrlInfo&)*(const TQUrlInfo*) QtSupport::getQt(env, i1), (const TQUrlInfo&)*(const TQUrlInfo*) QtSupport::getQt(env, i2), (int) sortBy); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUrlInfo_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQUrlInfo*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlInfo_newTQUrlInfo__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQUrlInfoJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlInfo_newTQUrlInfo__Ljava_lang_String_2ILjava_lang_String_2Ljava_lang_String_2JLjava_util_Calendar_2Ljava_util_Calendar_2ZZZZZZ(JNIEnv* env, jobject obj, jstring name, jint permissions, jstring owner, jstring group, jlong size, jobject lastModified, jobject lastRead, jboolean isDir, jboolean isFile, jboolean isSymLink, jboolean isWritable, jboolean isReadable, jboolean isExecutable) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_owner = 0; -static TQString* _qstring_group = 0; -static TQDateTime* _qdate_lastModified = 0; -static TQDateTime* _qdate_lastRead = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQUrlInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) permissions, (const TQString&)*(TQString*) QtSupport::toTQString(env, owner, &_qstring_owner), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (TQIODevice::Offset) size, (const TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, lastModified, &_qdate_lastModified), (const TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, lastRead, &_qdate_lastRead), (bool) isDir, (bool) isFile, (bool) isSymLink, (bool) isWritable, (bool) isReadable, (bool) isExecutable)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlInfo_newTQUrlInfo__Lorg_kde_qt_QUrlInfo_2(JNIEnv* env, jobject obj, jobject ui) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQUrlInfoJBridge((const TQUrlInfo&)*(const TQUrlInfo*) QtSupport::getQt(env, ui))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlInfo_newTQUrlInfo__Lorg_kde_qt_QUrlInterface_2ILjava_lang_String_2Ljava_lang_String_2JLjava_util_Calendar_2Ljava_util_Calendar_2ZZZZZZ(JNIEnv* env, jobject obj, jobject url, jint permissions, jstring owner, jstring group, jlong size, jobject lastModified, jobject lastRead, jboolean isDir, jboolean isFile, jboolean isSymLink, jboolean isWritable, jboolean isReadable, jboolean isExecutable) -{ -static TQString* _qstring_owner = 0; -static TQString* _qstring_group = 0; -static TQDateTime* _qdate_lastModified = 0; -static TQDateTime* _qdate_lastRead = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQUrlInfoJBridge((const TQUrl&)*(const TQUrl*) QtSupport::getQt(env, url), (int) permissions, (const TQString&)*(TQString*) QtSupport::toTQString(env, owner, &_qstring_owner), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (TQIODevice::Offset) size, (const TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, lastModified, &_qdate_lastModified), (const TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, lastRead, &_qdate_lastRead), (bool) isDir, (bool) isFile, (bool) isSymLink, (bool) isWritable, (bool) isReadable, (bool) isExecutable)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlInfo_newTQUrlInfo__Lorg_kde_qt_QUrlOperator_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject path, jstring file) -{ -static TQString* _qstring_file = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQUrlInfoJBridge((const TQUrlOperator&)*(const TQUrlOperator*) QtSupport::getQt(env, path), (const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrlInfo_op_1equals(JNIEnv* env, jobject obj, jobject i) -{ - jboolean xret = (jboolean) ((TQUrlInfo*) QtSupport::getQt(env, obj))->operator==((const TQUrlInfo&)*(const TQUrlInfo*) QtSupport::getQt(env, i)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUrlInfo_owner(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQUrlInfo*) QtSupport::getQt(env, obj))->owner(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QUrlInfo_permissions(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQUrlInfo*) QtSupport::getQt(env, obj))->permissions(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlInfo_setDir(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQUrlInfo*) QtSupport::getQt(env, obj))->setDir((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlInfo_setFile(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQUrlInfo*) QtSupport::getQt(env, obj))->setFile((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlInfo_setGroup(JNIEnv* env, jobject obj, jstring s) -{ -static TQString* _qstring_s = 0; - ((TQUrlInfo*) QtSupport::getQt(env, obj))->setGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlInfo_setLastModified(JNIEnv* env, jobject obj, jobject dt) -{ -static TQDateTime* _qdate_dt = 0; - ((TQUrlInfo*) QtSupport::getQt(env, obj))->setLastModified((const TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, dt, &_qdate_dt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlInfo_setName(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((TQUrlInfo*) QtSupport::getQt(env, obj))->setName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlInfo_setOwner(JNIEnv* env, jobject obj, jstring s) -{ -static TQString* _qstring_s = 0; - ((TQUrlInfo*) QtSupport::getQt(env, obj))->setOwner((const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlInfo_setPermissions(JNIEnv* env, jobject obj, jint p) -{ - ((TQUrlInfo*) QtSupport::getQt(env, obj))->setPermissions((int) p); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlInfo_setReadable(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQUrlInfo*) QtSupport::getQt(env, obj))->setReadable((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlInfo_setSize(JNIEnv* env, jobject obj, jlong size) -{ - ((TQUrlInfo*) QtSupport::getQt(env, obj))->setSize((TQIODevice::Offset) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlInfo_setSymLink(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQUrlInfo*) QtSupport::getQt(env, obj))->setSymLink((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlInfo_setWritable(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQUrlInfo*) QtSupport::getQt(env, obj))->setWritable((bool) b); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QUrlInfo_size(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((TQUrlInfo*) QtSupport::getQt(env, obj))->size(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QUrlInfo.h b/qtjava/javalib/qtjava/QUrlInfo.h deleted file mode 100644 index 93469280..00000000 --- a/qtjava/javalib/qtjava/QUrlInfo.h +++ /dev/null @@ -1,55 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QUrlInfo__ -#define __org_kde_qt_QUrlInfo__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_newTQUrlInfo__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_newTQUrlInfo__Lorg_kde_qt_QUrlOperator_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_newTQUrlInfo__Lorg_kde_qt_QUrlInfo_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_newTQUrlInfo__Ljava_lang_String_2ILjava_lang_String_2Ljava_lang_String_2JLjava_util_Calendar_2Ljava_util_Calendar_2ZZZZZZ (JNIEnv *env, jobject, jstring, jint, jstring, jstring, jlong, jobject, jobject, jboolean, jboolean, jboolean, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_newTQUrlInfo__Lorg_kde_qt_QUrlInterface_2ILjava_lang_String_2Ljava_lang_String_2JLjava_util_Calendar_2Ljava_util_Calendar_2ZZZZZZ (JNIEnv *env, jobject, jobject, jint, jstring, jstring, jlong, jobject, jobject, jboolean, jboolean, jboolean, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_setDir (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_setFile (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_setSymLink (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_setOwner (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_setGroup (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_setSize (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_setWritable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_setReadable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_setPermissions (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_setLastModified (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlInfo_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlInfo_name (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QUrlInfo_permissions (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlInfo_owner (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlInfo_group (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QUrlInfo_size (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QUrlInfo_lastModified (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QUrlInfo_lastRead (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlInfo_isDir (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlInfo_isFile (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlInfo_isSymLink (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlInfo_isWritable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlInfo_isReadable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlInfo_isExecutable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlInfo_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlInfo_greaterThan (JNIEnv *env, jclass, jobject, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlInfo_lessThan (JNIEnv *env, jclass, jobject, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlInfo_equal (JNIEnv *env, jclass, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlInfo_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QUrlInfo__ */ diff --git a/qtjava/javalib/qtjava/QUrlOperator.cpp b/qtjava/javalib/qtjava/QUrlOperator.cpp deleted file mode 100644 index bab6f91b..00000000 --- a/qtjava/javalib/qtjava/QUrlOperator.cpp +++ /dev/null @@ -1,700 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQUrlOperatorJBridge : public TQUrlOperator -{ -public: - TQUrlOperatorJBridge() : TQUrlOperator() {}; - TQUrlOperatorJBridge(const TQString& arg1) : TQUrlOperator(arg1) {}; - TQUrlOperatorJBridge(const TQUrlOperator& arg1) : TQUrlOperator(arg1) {}; - TQUrlOperatorJBridge(const TQUrlOperator& arg1,const TQString& arg2,bool arg3) : TQUrlOperator(arg1,arg2,arg3) {}; - TQUrlOperatorJBridge(const TQUrlOperator& arg1,const TQString& arg2) : TQUrlOperator(arg1,arg2) {}; - void public_stop() { - TQUrlOperator::stop(); - return; - } - void protected_reset() { - TQUrlOperator::reset(); - return; - } - bool protected_parse(const TQString& arg1) { - return (bool) TQUrlOperator::parse(arg1); - } - bool protected_checkValid() { - return (bool) TQUrlOperator::checkValid(); - } - void protected_clearEntries() { - TQUrlOperator::clearEntries(); - return; - } - void protected_getNetworkProtocol() { - TQUrlOperator::getNetworkProtocol(); - return; - } - void protected_deleteNetworkProtocol() { - TQUrlOperator::deleteNetworkProtocol(); - return; - } - ~TQUrlOperatorJBridge() {QtSupport::qtKeyDeleted(this);} - void clearEntries() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQUrlOperator","clearEntries")) { - TQUrlOperator::clearEntries(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - bool checkValid() { - return QtSupport::booleanDelegate(this,"checkValid"); - } - 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.qt.TQUrlOperator",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void stop() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQUrlOperator","stop")) { - TQUrlOperator::stop(); - } - return; - } - bool cdUp() { - return QtSupport::booleanDelegate(this,"cdUp"); - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlOperator_addPath(JNIEnv* env, jobject obj, jstring path) -{ -static TQString* _qstring_path = 0; - ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->addPath((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrlOperator_cdUp(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQUrlOperator*) QtSupport::getQt(env, obj))->cdUp(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrlOperator_checkValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQUrlOperatorJBridge*) QtSupport::getQt(env, obj))->protected_checkValid(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUrlOperator_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQUrlOperator*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlOperator_clearEntries(JNIEnv* env, jobject obj) -{ - ((TQUrlOperatorJBridge*) QtSupport::getQt(env, obj))->protected_clearEntries(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlOperator_copy___3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray files, jstring dest) -{ -static TQStringList* _qlist_files = 0; -static TQString* _qstring_dest = 0; - ((TQUrlOperator*) QtSupport::getQt(env, obj))->copy((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, files, &_qlist_files), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlOperator_copy___3Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobjectArray files, jstring dest, jboolean move) -{ -static TQStringList* _qlist_files = 0; -static TQString* _qstring_dest = 0; - ((TQUrlOperator*) QtSupport::getQt(env, obj))->copy((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, files, &_qlist_files), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (bool) move); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlOperator_decode(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; -static TQString* _qstring_url = 0; - TQUrlOperatorJBridge::decode((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, url, &_qstring_url)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_url, url); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlOperator_deleteNetworkProtocol(JNIEnv* env, jobject obj) -{ - ((TQUrlOperatorJBridge*) QtSupport::getQt(env, obj))->protected_deleteNetworkProtocol(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUrlOperator_dirPath(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->dirPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlOperator_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QUrlOperator_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlOperator_encode(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; -static TQString* _qstring_url = 0; - TQUrlOperatorJBridge::encode((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, url, &_qstring_url)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_url, url); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUrlOperator_encodedPathAndQuery(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->encodedPathAndQuery(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUrlOperator_fileName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->fileName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlOperator_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQUrlOperator*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQUrlOperator*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlOperator_getNetworkProtocol(JNIEnv* env, jobject obj) -{ - ((TQUrlOperatorJBridge*) QtSupport::getQt(env, obj))->protected_getNetworkProtocol(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QUrlOperator_get__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQUrlOperator*) QtSupport::getQt(env, obj))->get(), "org.kde.qt.TQNetworkOperation"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QUrlOperator_get__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring location) -{ -static TQString* _qstring_location = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQUrlOperator*) QtSupport::getQt(env, obj))->get((const TQString&)*(TQString*) QtSupport::toTQString(env, location, &_qstring_location)), "org.kde.qt.TQNetworkOperation"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrlOperator_hasHost(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->hasHost(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrlOperator_hasPassword(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->hasPassword(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrlOperator_hasPath(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->hasPath(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrlOperator_hasPort(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->hasPort(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrlOperator_hasRef(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->hasRef(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrlOperator_hasUser(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->hasUser(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUrlOperator_host(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->host(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QUrlOperator_info(JNIEnv* env, jobject obj, jstring entry) -{ -static TQString* _qstring_entry = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQUrlInfo(((TQUrlOperator*) QtSupport::getQt(env, obj))->info((const TQString&)*(TQString*) QtSupport::toTQString(env, entry, &_qstring_entry))), "org.kde.qt.TQUrlInfo", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrlOperator_isDir__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQUrlOperator*) QtSupport::getQt(env, obj))->isDir(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrlOperator_isDir___3Z(JNIEnv* env, jobject obj, jbooleanArray ok) -{ - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jboolean xret = (jboolean) ((TQUrlOperator*) QtSupport::getQt(env, obj))->isDir( (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrlOperator_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrlOperator_isLocalFile(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->isLocalFile(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrlOperator_isRelativeUrl(JNIEnv* env, jclass cls, jstring url) -{ - (void) cls; -static TQString* _qstring_url = 0; - jboolean xret = (jboolean) TQUrlOperatorJBridge::isRelativeUrl((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrlOperator_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QUrlOperator_listChildren(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQUrlOperator*) QtSupport::getQt(env, obj))->listChildren(), "org.kde.qt.TQNetworkOperation"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QUrlOperator_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQUrlOperator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QUrlOperator_mkdir(JNIEnv* env, jobject obj, jstring dirname) -{ -static TQString* _qstring_dirname = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQUrlOperator*) QtSupport::getQt(env, obj))->mkdir((const TQString&)*(TQString*) QtSupport::toTQString(env, dirname, &_qstring_dirname)), "org.kde.qt.TQNetworkOperation"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUrlOperator_nameFilter(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQUrlOperator*) QtSupport::getQt(env, obj))->nameFilter(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlOperator_newTQUrlOperator__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQUrlOperatorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlOperator_newTQUrlOperator__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 TQUrlOperatorJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, urL, &_qstring_urL))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlOperator_newTQUrlOperator__Lorg_kde_qt_QUrlOperator_2(JNIEnv* env, jobject obj, jobject url) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQUrlOperatorJBridge((const TQUrlOperator&)*(const TQUrlOperator*) QtSupport::getQt(env, url))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlOperator_newTQUrlOperator__Lorg_kde_qt_QUrlOperator_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject url, jstring relUrl) -{ -static TQString* _qstring_relUrl = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQUrlOperatorJBridge((const TQUrlOperator&)*(const TQUrlOperator*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, relUrl, &_qstring_relUrl))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlOperator_newTQUrlOperator__Lorg_kde_qt_QUrlOperator_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject url, jstring relUrl, jboolean checkSlash) -{ -static TQString* _qstring_relUrl = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQUrlOperatorJBridge((const TQUrlOperator&)*(const TQUrlOperator*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, relUrl, &_qstring_relUrl), (bool) checkSlash)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrlOperator_op_1equals__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - jboolean xret = (jboolean) ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->operator==((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrlOperator_op_1equals__Lorg_kde_qt_QUrlInterface_2(JNIEnv* env, jobject obj, jobject url) -{ - jboolean xret = (jboolean) ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->operator==((const TQUrl&)*(const TQUrl*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUrlOperator_parse(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - jboolean xret = (jboolean) ((TQUrlOperatorJBridge*) QtSupport::getQt(env, obj))->protected_parse((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUrlOperator_password(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->password(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUrlOperator_path__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->path(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUrlOperator_path__Z(JNIEnv* env, jobject obj, jboolean correct) -{ - TQString _qstring; - _qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->path((bool) correct); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QUrlOperator_port(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->port(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUrlOperator_protocol(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->protocol(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QUrlOperator_put___3B(JNIEnv* env, jobject obj, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQUrlOperator*) QtSupport::getQt(env, obj))->put((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)), "org.kde.qt.TQNetworkOperation"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QUrlOperator_put___3BLjava_lang_String_2(JNIEnv* env, jobject obj, jbyteArray data, jstring location) -{ -static TQByteArray* _qbyteArray_data = 0; -static TQString* _qstring_location = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQUrlOperator*) QtSupport::getQt(env, obj))->put((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (const TQString&)*(TQString*) QtSupport::toTQString(env, location, &_qstring_location)), "org.kde.qt.TQNetworkOperation"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUrlOperator_query(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->query(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUrlOperator_ref(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->ref(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QUrlOperator_remove(JNIEnv* env, jobject obj, jstring filename) -{ -static TQString* _qstring_filename = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQUrlOperator*) QtSupport::getQt(env, obj))->remove((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)), "org.kde.qt.TQNetworkOperation"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QUrlOperator_rename(JNIEnv* env, jobject obj, jstring oldname, jstring newname) -{ -static TQString* _qstring_oldname = 0; -static TQString* _qstring_newname = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQUrlOperator*) QtSupport::getQt(env, obj))->rename((const TQString&)*(TQString*) QtSupport::toTQString(env, oldname, &_qstring_oldname), (const TQString&)*(TQString*) QtSupport::toTQString(env, newname, &_qstring_newname)), "org.kde.qt.TQNetworkOperation"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlOperator_reset(JNIEnv* env, jobject obj) -{ - ((TQUrlOperatorJBridge*) QtSupport::getQt(env, obj))->protected_reset(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlOperator_setEncodedPathAndQuery(JNIEnv* env, jobject obj, jstring enc) -{ -static TQString* _qstring_enc = 0; - ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->setEncodedPathAndQuery((const TQString&)*(TQString*) QtSupport::toTQString(env, enc, &_qstring_enc)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlOperator_setFileName(JNIEnv* env, jobject obj, jstring txt) -{ -static TQString* _qstring_txt = 0; - ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->setFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlOperator_setHost(JNIEnv* env, jobject obj, jstring user) -{ -static TQString* _qstring_user = 0; - ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->setHost((const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlOperator_setNameFilter(JNIEnv* env, jobject obj, jstring nameFilter) -{ -static TQString* _qstring_nameFilter = 0; - ((TQUrlOperator*) QtSupport::getQt(env, obj))->setNameFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, nameFilter, &_qstring_nameFilter)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlOperator_setPassword(JNIEnv* env, jobject obj, jstring pass) -{ -static TQString* _qstring_pass = 0; - ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->setPassword((const TQString&)*(TQString*) QtSupport::toTQString(env, pass, &_qstring_pass)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlOperator_setPath(JNIEnv* env, jobject obj, jstring path) -{ -static TQString* _qstring_path = 0; - ((TQUrlOperator*) QtSupport::getQt(env, obj))->setPath((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlOperator_setPort(JNIEnv* env, jobject obj, jint port) -{ - ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->setPort((int) port); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlOperator_setProtocol(JNIEnv* env, jobject obj, jstring protocol) -{ -static TQString* _qstring_protocol = 0; - ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->setProtocol((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlOperator_setQuery(JNIEnv* env, jobject obj, jstring txt) -{ -static TQString* _qstring_txt = 0; - ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->setQuery((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlOperator_setRef(JNIEnv* env, jobject obj, jstring txt) -{ -static TQString* _qstring_txt = 0; - ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->setRef((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlOperator_setUser(JNIEnv* env, jobject obj, jstring user) -{ -static TQString* _qstring_user = 0; - ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->setUser((const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlOperator_stop(JNIEnv* env, jobject obj) -{ - ((TQUrlOperatorJBridge*) QtSupport::getQt(env, obj))->public_stop(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUrlOperator_toString__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->toString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUrlOperator_toString__Z(JNIEnv* env, jobject obj, jboolean encodedPath) -{ - TQString _qstring; - _qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->toString((bool) encodedPath); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUrlOperator_toString__ZZ(JNIEnv* env, jobject obj, jboolean encodedPath, jboolean forcePrependProtocol) -{ - TQString _qstring; - _qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->toString((bool) encodedPath, (bool) forcePrependProtocol); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUrlOperator_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQUrlOperatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUrlOperator_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQUrlOperatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUrlOperator_user(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->user(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QUrlOperator.h b/qtjava/javalib/qtjava/QUrlOperator.h deleted file mode 100644 index 2abaeea3..00000000 --- a/qtjava/javalib/qtjava/QUrlOperator.h +++ /dev/null @@ -1,92 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QUrlOperator__ -#define __org_kde_qt_QUrlOperator__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QUrlOperator_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlOperator_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_newTQUrlOperator__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_newTQUrlOperator__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_newTQUrlOperator__Lorg_kde_qt_QUrlOperator_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_newTQUrlOperator__Lorg_kde_qt_QUrlOperator_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_newTQUrlOperator__Lorg_kde_qt_QUrlOperator_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_setPath (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlOperator_cdUp (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QUrlOperator_listChildren (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QUrlOperator_mkdir (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QUrlOperator_remove (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QUrlOperator_rename (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QUrlOperator_get__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QUrlOperator_get__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QUrlOperator_put___3BLjava_lang_String_2 (JNIEnv *env, jobject, jbyteArray, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QUrlOperator_put___3B (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_copy___3Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobjectArray, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_copy___3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlOperator_isDir___3Z (JNIEnv *env, jobject, jbooleanArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlOperator_isDir__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_setNameFilter (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlOperator_nameFilter (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QUrlOperator_info (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_stop (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlOperator_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlOperator_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_reset (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlOperator_parse (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlOperator_checkValid (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_clearEntries (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_getNetworkProtocol (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_deleteNetworkProtocol (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlOperator_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlOperator_protocol (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_setProtocol (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlOperator_user (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_setUser (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlOperator_hasUser (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlOperator_password (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_setPassword (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlOperator_hasPassword (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlOperator_host (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_setHost (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlOperator_hasHost (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QUrlOperator_port (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_setPort (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlOperator_hasPort (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlOperator_path__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlOperator_path__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlOperator_hasPath (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_setEncodedPathAndQuery (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlOperator_encodedPathAndQuery (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_setQuery (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlOperator_query (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlOperator_ref (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_setRef (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlOperator_hasRef (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlOperator_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlOperator_isLocalFile (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_addPath (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_setFileName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlOperator_fileName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlOperator_dirPath (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlOperator_op_1equals__Lorg_kde_qt_QUrlInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlOperator_op_1equals__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlOperator_toString__ZZ (JNIEnv *env, jobject, jboolean, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlOperator_toString__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlOperator_toString__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_decode (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_encode (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlOperator_isRelativeUrl (JNIEnv *env, jclass, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QUrlOperator__ */ diff --git a/qtjava/javalib/qtjava/QUtf16Codec.cpp b/qtjava/javalib/qtjava/QUtf16Codec.cpp deleted file mode 100644 index ee66b222..00000000 --- a/qtjava/javalib/qtjava/QUtf16Codec.cpp +++ /dev/null @@ -1,83 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - -class TQUtf16CodecJBridge : public TQUtf16Codec -{ -public: - TQUtf16CodecJBridge() : TQUtf16Codec() {}; - ~TQUtf16CodecJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUtf16Codec_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QUtf16Codec_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUtf16Codec_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQUtf16Codec*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QUtf16Codec_heuristicContentMatch(JNIEnv* env, jobject obj, jstring chars, jint len) -{ -static TQCString* _qstring_chars = 0; - jint xret = (jint) ((TQUtf16Codec*) QtSupport::getQt(env, obj))->heuristicContentMatch((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUtf16Codec_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QUtf16Codec_makeDecoder(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQUtf16Codec*) QtSupport::getQt(env, obj))->makeDecoder(), "org.kde.qt.TQTextDecoder"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QUtf16Codec_makeEncoder(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQUtf16Codec*) QtSupport::getQt(env, obj))->makeEncoder(), "org.kde.qt.TQTextEncoder"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QUtf16Codec_mibEnum(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQUtf16Codec*) QtSupport::getQt(env, obj))->mibEnum(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUtf16Codec_name(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQUtf16Codec*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUtf16Codec_newTQUtf16Codec(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQUtf16CodecJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/qtjava/javalib/qtjava/QUtf16Codec.h b/qtjava/javalib/qtjava/QUtf16Codec.h deleted file mode 100644 index 8161a5a6..00000000 --- a/qtjava/javalib/qtjava/QUtf16Codec.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QUtf16Codec__ -#define __org_kde_qt_QUtf16Codec__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QUtf16Codec_mibEnum (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUtf16Codec_name (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QUtf16Codec_makeDecoder (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QUtf16Codec_makeEncoder (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QUtf16Codec_heuristicContentMatch (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUtf16Codec_newTQUtf16Codec (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUtf16Codec_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUtf16Codec_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUtf16Codec_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QUtf16Codec__ */ diff --git a/qtjava/javalib/qtjava/QUtf8Codec.cpp b/qtjava/javalib/qtjava/QUtf8Codec.cpp deleted file mode 100644 index 60328b72..00000000 --- a/qtjava/javalib/qtjava/QUtf8Codec.cpp +++ /dev/null @@ -1,98 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQUtf8CodecJBridge : public TQUtf8Codec -{ -public: - TQUtf8CodecJBridge() : TQUtf8Codec() {}; - ~TQUtf8CodecJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUtf8Codec_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QUtf8Codec_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUtf8Codec_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQUtf8Codec*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUtf8Codec_fromUnicode(JNIEnv* env, jobject obj, jstring uc, jintArray lenInOut) -{ - TQCString _qstring; -static TQString* _qstring_uc = 0; - int* _int_lenInOut = QtSupport::toIntPtr(env, lenInOut); - _qstring = ((TQUtf8Codec*) QtSupport::getQt(env, obj))->fromUnicode((const TQString&)*(TQString*) QtSupport::toTQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); - env->SetIntArrayRegion(lenInOut, 0, 1, (jint *) _int_lenInOut); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QUtf8Codec_heuristicContentMatch(JNIEnv* env, jobject obj, jstring chars, jint len) -{ -static TQCString* _qstring_chars = 0; - jint xret = (jint) ((TQUtf8Codec*) QtSupport::getQt(env, obj))->heuristicContentMatch((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUtf8Codec_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QUtf8Codec_makeDecoder(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQUtf8Codec*) QtSupport::getQt(env, obj))->makeDecoder(), "org.kde.qt.TQTextDecoder"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QUtf8Codec_mibEnum(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQUtf8Codec*) QtSupport::getQt(env, obj))->mibEnum(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUtf8Codec_name(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQUtf8Codec*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUtf8Codec_newTQUtf8Codec(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQUtf8CodecJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUtf8Codec_toUnicode(JNIEnv* env, jobject obj, jstring chars, jint len) -{ - TQString _qstring; -static TQCString* _qstring_chars = 0; - _qstring = ((TQUtf8Codec*) QtSupport::getQt(env, obj))->toUnicode((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QUtf8Codec.h b/qtjava/javalib/qtjava/QUtf8Codec.h deleted file mode 100644 index 5234d5a0..00000000 --- a/qtjava/javalib/qtjava/QUtf8Codec.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QUtf8Codec__ -#define __org_kde_qt_QUtf8Codec__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QUtf8Codec_mibEnum (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUtf8Codec_name (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QUtf8Codec_makeDecoder (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUtf8Codec_fromUnicode (JNIEnv *env, jobject, jstring, jintArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUtf8Codec_toUnicode (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QUtf8Codec_heuristicContentMatch (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUtf8Codec_newTQUtf8Codec (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUtf8Codec_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUtf8Codec_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUtf8Codec_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QUtf8Codec__ */ diff --git a/qtjava/javalib/qtjava/QUuid.cpp b/qtjava/javalib/qtjava/QUuid.cpp deleted file mode 100644 index 8b71bcd1..00000000 --- a/qtjava/javalib/qtjava/QUuid.cpp +++ /dev/null @@ -1,146 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQUuidJBridge : public TQUuid -{ -public: - TQUuidJBridge() : TQUuid() {}; - TQUuidJBridge(uint arg1,ushort arg2,ushort arg3,uchar arg4,uchar arg5,uchar arg6,uchar arg7,uchar arg8,uchar arg9,uchar arg10,uchar arg11) : TQUuid(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) {}; - TQUuidJBridge(const TQUuid& arg1) : TQUuid(arg1) {}; - TQUuidJBridge(const TQString& arg1) : TQUuid(arg1) {}; - ~TQUuidJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QUuid_createUuid(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQUuid(TQUuidJBridge::createUuid()), "org.kde.qt.TQUuid", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUuid_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QUuid_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUuid_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQUuid*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUuid_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUuid_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQUuid*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUuid_newTQUuid__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQUuidJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUuid_newTQUuid__ISSSSSSSSSS(JNIEnv* env, jobject obj, jint l, jshort w1, jshort w2, jshort b1, jshort b2, jshort b3, jshort b4, jshort b5, jshort b6, jshort b7, jshort b8) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQUuidJBridge((uint) l, (ushort) w1, (ushort) w2, (uchar) b1, (uchar) b2, (uchar) b3, (uchar) b4, (uchar) b5, (uchar) b6, (uchar) b7, (uchar) b8)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUuid_newTQUuid__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQUuidJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QUuid_newTQUuid__Lorg_kde_qt_QUuid_2(JNIEnv* env, jobject obj, jobject uuid) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQUuidJBridge((const TQUuid&)*(const TQUuid*) QtSupport::getQt(env, uuid))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUuid_op_1equals(JNIEnv* env, jobject obj, jobject orig) -{ - jboolean xret = (jboolean) ((TQUuid*) QtSupport::getQt(env, obj))->operator==((const TQUuid&)*(const TQUuid*) QtSupport::getQt(env, orig)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUuid_op_1gt(JNIEnv* env, jobject obj, jobject other) -{ - jboolean xret = (jboolean) ((TQUuid*) QtSupport::getQt(env, obj))->operator>((const TQUuid&)*(const TQUuid*) QtSupport::getQt(env, other)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUuid_op_1lt(JNIEnv* env, jobject obj, jobject other) -{ - jboolean xret = (jboolean) ((TQUuid*) QtSupport::getQt(env, obj))->operator<((const TQUuid&)*(const TQUuid*) QtSupport::getQt(env, other)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QUuid_op_1not_1equals(JNIEnv* env, jobject obj, jobject orig) -{ - jboolean xret = (jboolean) ((TQUuid*) QtSupport::getQt(env, obj))->operator!=((const TQUuid&)*(const TQUuid*) QtSupport::getQt(env, orig)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QUuid_toString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQUuid*) QtSupport::getQt(env, obj))->toString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QUuid_variant(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQUuid*) QtSupport::getQt(env, obj))->variant(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QUuid_version(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQUuid*) QtSupport::getQt(env, obj))->version(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QUuid.h b/qtjava/javalib/qtjava/QUuid.h deleted file mode 100644 index fd3e8410..00000000 --- a/qtjava/javalib/qtjava/QUuid.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QUuid__ -#define __org_kde_qt_QUuid__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUuid_newTQUuid__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUuid_newTQUuid__ISSSSSSSSSS (JNIEnv *env, jobject, jint, jshort, jshort, jshort, jshort, jshort, jshort, jshort, jshort, jshort, jshort); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUuid_newTQUuid__Lorg_kde_qt_QUuid_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUuid_newTQUuid__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUuid_toString (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUuid_isNull (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUuid_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUuid_op_1not_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUuid_op_1lt (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUuid_op_1gt (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QUuid_variant (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QUuid_version (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QUuid_createUuid (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUuid_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUuid_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUuid_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QUuid__ */ diff --git a/qtjava/javalib/qtjava/QVBox.cpp b/qtjava/javalib/qtjava/QVBox.cpp deleted file mode 100644 index 4f5aa43b..00000000 --- a/qtjava/javalib/qtjava/QVBox.cpp +++ /dev/null @@ -1,477 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQVBoxJBridge : public TQVBox -{ -public: - TQVBoxJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQVBox(arg1,arg2,arg3) {}; - TQVBoxJBridge(TQWidget* arg1,const char* arg2) : TQVBox(arg1,arg2) {}; - TQVBoxJBridge(TQWidget* arg1) : TQVBox(arg1) {}; - TQVBoxJBridge() : TQVBox() {}; - ~TQVBoxJBridge() {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.qt.TQVBox","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.qt.TQVBox","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.qt.TQVBox","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.qt.TQVBox","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.qt.TQVBox","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.qt.TQVBox","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVBox","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.qt.TQVBox","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVBox","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.qt.TQVBox","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.qt.TQVBox",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.qt.TQVBox","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QVBox_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQVBox*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVBox_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QVBox_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVBox_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQVBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQVBox*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QVBox_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVBox_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQVBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVBox_newTQVBox__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVBoxJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVBox_newTQVBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVBox_newTQVBox__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 TQVBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVBox_newTQVBox__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 TQVBoxJBridge((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 jstring JNICALL -Java_org_kde_qt_QVBox_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQVBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QVBox_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQVBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QVBox.h b/qtjava/javalib/qtjava/QVBox.h deleted file mode 100644 index e934b47e..00000000 --- a/qtjava/javalib/qtjava/QVBox.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QVBox__ -#define __org_kde_qt_QVBox__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVBox_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QVBox_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBox_newTQVBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBox_newTQVBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBox_newTQVBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBox_newTQVBox__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QVBox_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QVBox_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBox_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBox_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QVBox_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QVBox__ */ diff --git a/qtjava/javalib/qtjava/QVBoxLayout.cpp b/qtjava/javalib/qtjava/QVBoxLayout.cpp deleted file mode 100644 index d53b1552..00000000 --- a/qtjava/javalib/qtjava/QVBoxLayout.cpp +++ /dev/null @@ -1,221 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQVBoxLayoutJBridge : public TQVBoxLayout -{ -public: - TQVBoxLayoutJBridge(TQWidget* arg1,int arg2,int arg3,const char* arg4) : TQVBoxLayout(arg1,arg2,arg3,arg4) {}; - TQVBoxLayoutJBridge(TQWidget* arg1,int arg2,int arg3) : TQVBoxLayout(arg1,arg2,arg3) {}; - TQVBoxLayoutJBridge(TQWidget* arg1,int arg2) : TQVBoxLayout(arg1,arg2) {}; - TQVBoxLayoutJBridge(TQWidget* arg1) : TQVBoxLayout(arg1) {}; - TQVBoxLayoutJBridge(TQLayout* arg1,int arg2,const char* arg3) : TQVBoxLayout(arg1,arg2,arg3) {}; - TQVBoxLayoutJBridge(TQLayout* arg1,int arg2) : TQVBoxLayout(arg1,arg2) {}; - TQVBoxLayoutJBridge(TQLayout* arg1) : TQVBoxLayout(arg1) {}; - TQVBoxLayoutJBridge(int arg1,const char* arg2) : TQVBoxLayout(arg1,arg2) {}; - TQVBoxLayoutJBridge(int arg1) : TQVBoxLayout(arg1) {}; - TQVBoxLayoutJBridge() : TQVBoxLayout() {}; - ~TQVBoxLayoutJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void setMenuBar(TQMenuBar* arg1) { - if (!QtSupport::eventDelegate(this,"setMenuBar",(void*)arg1,"org.kde.qt.TQMenuBar")) { - TQLayout::setMenuBar(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")) { - TQLayout::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QVBoxLayout_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQVBoxLayout*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVBoxLayout_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QVBoxLayout_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVBoxLayout_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQLayoutItem*)(TQVBoxLayout*)QtSupport::getQt(env, obj))->layout() == 0 && ((TQLayoutItem*)(TQVBoxLayout*)QtSupport::getQt(env, obj))->widget() == 0 && ((TQLayoutItem*)(TQVBoxLayout*)QtSupport::getQt(env, obj))->spacerItem() == 0) { - delete (TQVBoxLayout*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QVBoxLayout_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVBoxLayout_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQVBoxLayout*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVBoxLayoutJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__I(JNIEnv* env, jobject obj, jint spacing) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVBoxLayoutJBridge((int) spacing)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint spacing, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVBoxLayoutJBridge((int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__Lorg_kde_qt_QLayout_2(JNIEnv* env, jobject obj, jobject parentLayout) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVBoxLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__Lorg_kde_qt_QLayout_2I(JNIEnv* env, jobject obj, jobject parentLayout, jint spacing) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVBoxLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout), (int) spacing)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__Lorg_kde_qt_QLayout_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject parentLayout, jint spacing, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVBoxLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout), (int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVBoxLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject parent, jint border) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVBoxLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) border)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject parent, jint border, jint spacing) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVBoxLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) border, (int) spacing)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__Lorg_kde_qt_QWidget_2IILjava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jint border, jint spacing, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVBoxLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) border, (int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QVBoxLayout_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQVBoxLayoutJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QVBoxLayout_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQVBoxLayoutJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QVBoxLayout.h b/qtjava/javalib/qtjava/QVBoxLayout.h deleted file mode 100644 index 48eba4b6..00000000 --- a/qtjava/javalib/qtjava/QVBoxLayout.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QVBoxLayout__ -#define __org_kde_qt_QVBoxLayout__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVBoxLayout_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QVBoxLayout_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__Lorg_kde_qt_QWidget_2IILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__Lorg_kde_qt_QWidget_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__Lorg_kde_qt_QLayout_2ILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__Lorg_kde_qt_QLayout_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__Lorg_kde_qt_QLayout_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QVBoxLayout_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QVBoxLayout_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBoxLayout_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBoxLayout_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QVBoxLayout_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QVBoxLayout__ */ diff --git a/qtjava/javalib/qtjava/QVButtonGroup.cpp b/qtjava/javalib/qtjava/QVButtonGroup.cpp deleted file mode 100644 index 80acb5f3..00000000 --- a/qtjava/javalib/qtjava/QVButtonGroup.cpp +++ /dev/null @@ -1,501 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQVButtonGroupJBridge : public TQVButtonGroup -{ -public: - TQVButtonGroupJBridge(TQWidget* arg1,const char* arg2) : TQVButtonGroup(arg1,arg2) {}; - TQVButtonGroupJBridge(TQWidget* arg1) : TQVButtonGroup(arg1) {}; - TQVButtonGroupJBridge() : TQVButtonGroup() {}; - TQVButtonGroupJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQVButtonGroup(arg1,arg2,arg3) {}; - TQVButtonGroupJBridge(const TQString& arg1,TQWidget* arg2) : TQVButtonGroup(arg1,arg2) {}; - TQVButtonGroupJBridge(const TQString& arg1) : TQVButtonGroup(arg1) {}; - ~TQVButtonGroupJBridge() {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.qt.TQVButtonGroup","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.qt.TQVButtonGroup","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.qt.TQVButtonGroup","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.qt.TQVButtonGroup","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.qt.TQVButtonGroup","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.qt.TQVButtonGroup","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVButtonGroup","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.qt.TQVButtonGroup","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVButtonGroup","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.qt.TQVButtonGroup","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.qt.TQVButtonGroup",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.qt.TQVButtonGroup","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVButtonGroup","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QVButtonGroup_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQVButtonGroup*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVButtonGroup_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QVButtonGroup_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVButtonGroup_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQVButtonGroup*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQVButtonGroup*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QVButtonGroup_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVButtonGroup_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQVButtonGroup*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVButtonGroup_newTQVButtonGroup__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVButtonGroupJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVButtonGroup_newTQVButtonGroup__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 TQVButtonGroupJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVButtonGroup_newTQVButtonGroup__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 TQVButtonGroupJBridge((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_qt_QVButtonGroup_newTQVButtonGroup__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 TQVButtonGroupJBridge((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_qt_QVButtonGroup_newTQVButtonGroup__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVButtonGroupJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVButtonGroup_newTQVButtonGroup__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 TQVButtonGroupJBridge((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_qt_QVButtonGroup_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQVButtonGroupJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QVButtonGroup_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQVButtonGroupJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QVButtonGroup.h b/qtjava/javalib/qtjava/QVButtonGroup.h deleted file mode 100644 index bded593d..00000000 --- a/qtjava/javalib/qtjava/QVButtonGroup.h +++ /dev/null @@ -1,31 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QVButtonGroup__ -#define __org_kde_qt_QVButtonGroup__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVButtonGroup_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QVButtonGroup_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVButtonGroup_newTQVButtonGroup__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVButtonGroup_newTQVButtonGroup__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVButtonGroup_newTQVButtonGroup__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVButtonGroup_newTQVButtonGroup__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVButtonGroup_newTQVButtonGroup__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVButtonGroup_newTQVButtonGroup__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QVButtonGroup_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QVButtonGroup_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVButtonGroup_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVButtonGroup_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QVButtonGroup_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QVButtonGroup__ */ diff --git a/qtjava/javalib/qtjava/QVGroupBox.cpp b/qtjava/javalib/qtjava/QVGroupBox.cpp deleted file mode 100644 index 811f6c47..00000000 --- a/qtjava/javalib/qtjava/QVGroupBox.cpp +++ /dev/null @@ -1,501 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQVGroupBoxJBridge : public TQVGroupBox -{ -public: - TQVGroupBoxJBridge(TQWidget* arg1,const char* arg2) : TQVGroupBox(arg1,arg2) {}; - TQVGroupBoxJBridge(TQWidget* arg1) : TQVGroupBox(arg1) {}; - TQVGroupBoxJBridge() : TQVGroupBox() {}; - TQVGroupBoxJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQVGroupBox(arg1,arg2,arg3) {}; - TQVGroupBoxJBridge(const TQString& arg1,TQWidget* arg2) : TQVGroupBox(arg1,arg2) {}; - TQVGroupBoxJBridge(const TQString& arg1) : TQVGroupBox(arg1) {}; - ~TQVGroupBoxJBridge() {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.qt.TQVGroupBox","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.qt.TQVGroupBox","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.qt.TQVGroupBox","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.qt.TQVGroupBox","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.qt.TQVGroupBox","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.qt.TQVGroupBox","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVGroupBox","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.qt.TQVGroupBox","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVGroupBox","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.qt.TQVGroupBox","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.qt.TQVGroupBox",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.qt.TQVGroupBox","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVGroupBox","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QVGroupBox_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQVGroupBox*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVGroupBox_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QVGroupBox_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVGroupBox_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQVGroupBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQVGroupBox*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QVGroupBox_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVGroupBox_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQVGroupBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVGroupBox_newTQVGroupBox__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVGroupBoxJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVGroupBox_newTQVGroupBox__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 TQVGroupBoxJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVGroupBox_newTQVGroupBox__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 TQVGroupBoxJBridge((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_qt_QVGroupBox_newTQVGroupBox__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 TQVGroupBoxJBridge((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_qt_QVGroupBox_newTQVGroupBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVGroupBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVGroupBox_newTQVGroupBox__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 TQVGroupBoxJBridge((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_qt_QVGroupBox_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQVGroupBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QVGroupBox_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQVGroupBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QVGroupBox.h b/qtjava/javalib/qtjava/QVGroupBox.h deleted file mode 100644 index 24e25f0d..00000000 --- a/qtjava/javalib/qtjava/QVGroupBox.h +++ /dev/null @@ -1,31 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QVGroupBox__ -#define __org_kde_qt_QVGroupBox__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVGroupBox_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QVGroupBox_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVGroupBox_newTQVGroupBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVGroupBox_newTQVGroupBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVGroupBox_newTQVGroupBox__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVGroupBox_newTQVGroupBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVGroupBox_newTQVGroupBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVGroupBox_newTQVGroupBox__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QVGroupBox_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QVGroupBox_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVGroupBox_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVGroupBox_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QVGroupBox_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QVGroupBox__ */ diff --git a/qtjava/javalib/qtjava/QValidator.cpp b/qtjava/javalib/qtjava/QValidator.cpp deleted file mode 100644 index 11a9bb9d..00000000 --- a/qtjava/javalib/qtjava/QValidator.cpp +++ /dev/null @@ -1,161 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQValidatorJBridge : public TQValidator -{ -public: - TQValidatorJBridge(TQObject* arg1,const char* arg2) : TQValidator(arg1,arg2) {}; - TQValidatorJBridge(TQObject* arg1) : TQValidator(arg1) {}; - ~TQValidatorJBridge() {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; - } - TQValidator::State validate(TQString& input,int& pos) const - { - return (TQValidator::State) QtSupport::validateDelegate((TQValidator*)this,input,pos); - } - void fixup(TQString& input) const - { - QtSupport::fixupDelegate((TQValidator*) this, input); - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQValidator",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QValidator_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQValidator*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QValidator_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QValidator_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QValidator_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQValidator*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TQValidator*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QValidator_fixup(JNIEnv* env, jobject obj, jobject arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQValidator*) 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_qt_QValidator_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QValidator_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQValidator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QValidator_newTQValidator__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQValidatorJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QValidator_newTQValidator__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 TQValidatorJBridge((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_qt_QValidator_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQValidatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QValidator_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQValidatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QValidator_validate(JNIEnv* env, jobject obj, jobject arg1, jintArray arg2) -{ -static TQString* _qstring_arg1 = 0; - int* _int_arg2 = QtSupport::toIntPtr(env, arg2); - jint xret = (jint) ((TQValidator*) 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/qtjava/javalib/qtjava/QValidator.h b/qtjava/javalib/qtjava/QValidator.h deleted file mode 100644 index 5ebb5560..00000000 --- a/qtjava/javalib/qtjava/QValidator.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QValidator__ -#define __org_kde_qt_QValidator__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QValidator_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QValidator_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QValidator_newTQValidator__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QValidator_newTQValidator__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QValidator_validate (JNIEnv *env, jobject, jobject, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QValidator_fixup (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QValidator_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QValidator_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QValidator_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QValidator_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QValidator_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QValidator__ */ diff --git a/qtjava/javalib/qtjava/QVariant.cpp b/qtjava/javalib/qtjava/QVariant.cpp deleted file mode 100644 index 3085df54..00000000 --- a/qtjava/javalib/qtjava/QVariant.cpp +++ /dev/null @@ -1,969 +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 - -class TQVariantJBridge : public TQVariant -{ -public: - TQVariantJBridge() : TQVariant() {}; - TQVariantJBridge(const TQVariant& arg1) : TQVariant(arg1) {}; - TQVariantJBridge(TQDataStream& arg1) : TQVariant(arg1) {}; - TQVariantJBridge(const TQString& arg1) : TQVariant(arg1) {}; - TQVariantJBridge(const TQStringList& arg1) : TQVariant(arg1) {}; - TQVariantJBridge(const TQFont& arg1) : TQVariant(arg1) {}; - TQVariantJBridge(const TQPixmap& arg1) : TQVariant(arg1) {}; - TQVariantJBridge(const TQImage& arg1) : TQVariant(arg1) {}; - TQVariantJBridge(const TQBrush& arg1) : TQVariant(arg1) {}; - TQVariantJBridge(const TQPoint& arg1) : TQVariant(arg1) {}; - TQVariantJBridge(const TQRect& arg1) : TQVariant(arg1) {}; - TQVariantJBridge(const TQSize& arg1) : TQVariant(arg1) {}; - TQVariantJBridge(const TQColor& arg1) : TQVariant(arg1) {}; - TQVariantJBridge(const TQPalette& arg1) : TQVariant(arg1) {}; - TQVariantJBridge(const TQColorGroup& arg1) : TQVariant(arg1) {}; - TQVariantJBridge(const TQIconSet& arg1) : TQVariant(arg1) {}; - TQVariantJBridge(const TQPointArray& arg1) : TQVariant(arg1) {}; - TQVariantJBridge(const TQRegion& arg1) : TQVariant(arg1) {}; - TQVariantJBridge(const TQBitmap& arg1) : TQVariant(arg1) {}; - TQVariantJBridge(const TQCursor& arg1) : TQVariant(arg1) {}; - TQVariantJBridge(const TQDate& arg1) : TQVariant(arg1) {}; - TQVariantJBridge(const TQTime& arg1) : TQVariant(arg1) {}; - TQVariantJBridge(const TQByteArray& arg1) : TQVariant(arg1) {}; - TQVariantJBridge(const TQKeySequence& arg1) : TQVariant(arg1) {}; - TQVariantJBridge(const TQPen& arg1) : TQVariant(arg1) {}; - TQVariantJBridge(int arg1) : TQVariant(arg1) {}; - TQVariantJBridge(Q_LLONG arg1) : TQVariant(arg1) {}; - TQVariantJBridge(bool arg1,int arg2) : TQVariant(arg1,arg2) {}; - TQVariantJBridge(double arg1) : TQVariant(arg1) {}; - TQVariantJBridge(TQSizePolicy arg1) : TQVariant(arg1) {}; - ~TQVariantJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_asBitmap(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQBitmap *) &((TQVariant*) QtSupport::getQt(env, obj))->asBitmap(), "org.kde.qt.TQBitmap"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QVariant_asBool(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQVariant*) QtSupport::getQt(env, obj))->asBool(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_asBrush(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQBrush *) &((TQVariant*) QtSupport::getQt(env, obj))->asBrush(), "org.kde.qt.TQBrush"); - return xret; -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_qt_QVariant_asByteArray(JNIEnv* env, jobject obj) -{ - TQByteArray _qbyteArray; - _qbyteArray = ((TQVariant*) QtSupport::getQt(env, obj))->asByteArray(); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QVariant_asCString(JNIEnv* env, jobject obj) -{ - TQCString _qstring; - _qstring = ((TQVariant*) QtSupport::getQt(env, obj))->asCString(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_asColorGroup(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColorGroup *) &((TQVariant*) QtSupport::getQt(env, obj))->asColorGroup(), "org.kde.qt.TQColorGroup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_asColor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQVariant*) QtSupport::getQt(env, obj))->asColor(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_asCursor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQCursor *) &((TQVariant*) QtSupport::getQt(env, obj))->asCursor(), "org.kde.qt.TQCursor"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_asDateTime(JNIEnv* env, jobject obj) -{ - TQDateTime _qdate; - _qdate = ((TQVariant*) QtSupport::getQt(env, obj))->asDateTime(); - return (jobject) QtSupport::fromTQDateTime(env, (TQDateTime*) &_qdate); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_asDate(JNIEnv* env, jobject obj) -{ - TQDate _qdate; - _qdate = ((TQVariant*) QtSupport::getQt(env, obj))->asDate(); - return (jobject) QtSupport::fromTQDate(env, (TQDate*) &_qdate); -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_qt_QVariant_asDouble(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((TQVariant*) QtSupport::getQt(env, obj))->asDouble(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_asFont(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQFont *) &((TQVariant*) QtSupport::getQt(env, obj))->asFont(), "org.kde.qt.TQFont"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_asIconSet(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQIconSet *) &((TQVariant*) QtSupport::getQt(env, obj))->asIconSet(), "org.kde.qt.TQIconSet"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_asImage(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &((TQVariant*) QtSupport::getQt(env, obj))->asImage(), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QVariant_asInt(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQVariant*) QtSupport::getQt(env, obj))->asInt(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_asKeySequence(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQKeySequence *) &((TQVariant*) QtSupport::getQt(env, obj))->asKeySequence(), "org.kde.qt.TQKeySequence"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_asPalette(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPalette *) &((TQVariant*) QtSupport::getQt(env, obj))->asPalette(), "org.kde.qt.TQPalette"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_asPen(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPen *) &((TQVariant*) QtSupport::getQt(env, obj))->asPen(), "org.kde.qt.TQPen"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_asPixmap(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPixmap *) &((TQVariant*) QtSupport::getQt(env, obj))->asPixmap(), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_asPointArray(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPointArray *) &((TQVariant*) QtSupport::getQt(env, obj))->asPointArray(), "org.kde.qt.TQPointArray"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_asPoint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQVariant*) QtSupport::getQt(env, obj))->asPoint(), "org.kde.qt.TQPoint"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_asRect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRect *) &((TQVariant*) QtSupport::getQt(env, obj))->asRect(), "org.kde.qt.TQRect"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_asRegion(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRegion *) &((TQVariant*) QtSupport::getQt(env, obj))->asRegion(), "org.kde.qt.TQRegion"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_asSizePolicy(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQSizePolicy *) &((TQVariant*) QtSupport::getQt(env, obj))->asSizePolicy(), "org.kde.qt.TQSizePolicy"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_asSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQSize *) &((TQVariant*) QtSupport::getQt(env, obj))->asSize(), "org.kde.qt.TQSize"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_asStringList(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TQVariant*) QtSupport::getQt(env, obj))->asStringList(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QVariant_asString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQVariant*) QtSupport::getQt(env, obj))->asString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_asTime(JNIEnv* env, jobject obj) -{ - TQTime _qtime; - _qtime = ((TQVariant*) QtSupport::getQt(env, obj))->asTime(); - return (jobject) QtSupport::fromTQTime(env, (TQTime*) &_qtime); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QVariant_asUInt(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQVariant*) QtSupport::getQt(env, obj))->asUInt(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QVariant_canCast(JNIEnv* env, jobject obj, jint arg1) -{ - jboolean xret = (jboolean) ((TQVariant*) QtSupport::getQt(env, obj))->canCast((TQVariant::Type) arg1); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QVariant_cast(JNIEnv* env, jobject obj, jint arg1) -{ - jboolean xret = (jboolean) ((TQVariant*) QtSupport::getQt(env, obj))->cast((TQVariant::Type) arg1); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_clear(JNIEnv* env, jobject obj) -{ - ((TQVariant*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QVariant_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQVariant*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QVariant_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QVariant_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQVariant*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QVariant_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQVariant*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_load(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQVariant*) QtSupport::getQt(env, obj))->load((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QVariant_nameToType(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jint xret = (jint) TQVariantJBridge::nameToType((const char*) QtSupport::toCharString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newTQVariant__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVariantJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newTQVariant__D(JNIEnv* env, jobject obj, jdouble arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVariantJBridge((double) arg1)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newTQVariant__I(JNIEnv* env, jobject obj, jint arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVariantJBridge((int) arg1)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newTQVariant__J(JNIEnv* env, jobject obj, jlong arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVariantJBridge((Q_LLONG) arg1)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newTQVariant__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVariantJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newTQVariant__Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jobject arg1) -{ -static TQDate* _qdate_arg1 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVariantJBridge((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, arg1, &_qdate_arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newTQVariant__Ljava_util_Date_2(JNIEnv* env, jobject obj, jobject arg1) -{ -static TQTime* _qtime_arg1 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVariantJBridge((const TQTime&)*(TQTime*) QtSupport::toTQTime(env, arg1, &_qtime_arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QBitmap_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVariantJBridge((const TQBitmap&)*(const TQBitmap*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QBrush_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVariantJBridge((const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVariantJBridge((const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVariantJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QCursor_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVariantJBridge((const TQCursor&)*(const TQCursor*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QDataStream_2(JNIEnv* env, jobject obj, jobject s) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVariantJBridge((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVariantJBridge((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVariantJBridge((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVariantJBridge((const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVariantJBridge((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QPalette_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVariantJBridge((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QPen_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVariantJBridge((const TQPen&)*(const TQPen*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVariantJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVariantJBridge((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVariantJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVariantJBridge((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QRegion_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVariantJBridge((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QSizePolicy_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVariantJBridge((TQSizePolicy)*(TQSizePolicy*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVariantJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVariantJBridge((const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newTQVariant__ZI(JNIEnv* env, jobject obj, jboolean arg1, jint arg2) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVariantJBridge((bool) arg1, (int) arg2)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newTQVariant___3B(JNIEnv* env, jobject obj, jbyteArray arg1) -{ -static TQByteArray* _qbyteArray_arg1 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVariantJBridge((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, arg1, &_qbyteArray_arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newTQVariant___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray arg1) -{ -static TQStringList* _qlist_arg1 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVariantJBridge((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, arg1, &_qlist_arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QVariant_op_1equals(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQVariant*) QtSupport::getQt(env, obj))->operator==((const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QVariant_op_1not_1equals(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQVariant*) QtSupport::getQt(env, obj))->operator!=((const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_save(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQVariant*) QtSupport::getQt(env, obj))->save((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_toBitmap(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQBitmap(((TQVariant*) QtSupport::getQt(env, obj))->toBitmap()), "org.kde.qt.TQBitmap", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QVariant_toBool(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQVariant*) QtSupport::getQt(env, obj))->toBool(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_toBrush(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQBrush(((TQVariant*) QtSupport::getQt(env, obj))->toBrush()), "org.kde.qt.TQBrush", TRUE); - return xret; -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_qt_QVariant_toByteArray(JNIEnv* env, jobject obj) -{ - TQByteArray _qbyteArray; - _qbyteArray = ((TQVariant*) QtSupport::getQt(env, obj))->toByteArray(); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QVariant_toCString(JNIEnv* env, jobject obj) -{ - TQCString _qstring; - _qstring = ((TQVariant*) QtSupport::getQt(env, obj))->toCString(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_toColorGroup(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColorGroup(((TQVariant*) QtSupport::getQt(env, obj))->toColorGroup()), "org.kde.qt.TQColorGroup", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_toColor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TQVariant*) QtSupport::getQt(env, obj))->toColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_toCursor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(((TQVariant*) QtSupport::getQt(env, obj))->toCursor()), "org.kde.qt.TQCursor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_toDateTime(JNIEnv* env, jobject obj) -{ - TQDateTime _qdate; - _qdate = ((TQVariant*) QtSupport::getQt(env, obj))->toDateTime(); - return (jobject) QtSupport::fromTQDateTime(env, (TQDateTime*) &_qdate); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_toDate(JNIEnv* env, jobject obj) -{ - TQDate _qdate; - _qdate = ((TQVariant*) QtSupport::getQt(env, obj))->toDate(); - return (jobject) QtSupport::fromTQDate(env, (TQDate*) &_qdate); -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_qt_QVariant_toDouble__(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((TQVariant*) QtSupport::getQt(env, obj))->toDouble(); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_qt_QVariant_toDouble___3Z(JNIEnv* env, jobject obj, jbooleanArray ok) -{ - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jdouble xret = (jdouble) ((TQVariant*) QtSupport::getQt(env, obj))->toDouble( (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_toFont(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((TQVariant*) QtSupport::getQt(env, obj))->toFont()), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_toIconSet(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TQVariant*) QtSupport::getQt(env, obj))->toIconSet()), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_toImage(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQVariant*) QtSupport::getQt(env, obj))->toImage()), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QVariant_toInt__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQVariant*) QtSupport::getQt(env, obj))->toInt(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QVariant_toInt___3Z(JNIEnv* env, jobject obj, jbooleanArray ok) -{ - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jint xret = (jint) ((TQVariant*) QtSupport::getQt(env, obj))->toInt( (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_toKeySequence(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQKeySequence(((TQVariant*) QtSupport::getQt(env, obj))->toKeySequence()), "org.kde.qt.TQKeySequence", TRUE); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QVariant_toLongLong__(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((TQVariant*) QtSupport::getQt(env, obj))->toLongLong(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QVariant_toLongLong___3Z(JNIEnv* env, jobject obj, jbooleanArray ok) -{ - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jlong xret = (jlong) ((TQVariant*) QtSupport::getQt(env, obj))->toLongLong( (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_toPalette(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPalette(((TQVariant*) QtSupport::getQt(env, obj))->toPalette()), "org.kde.qt.TQPalette", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_toPen(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPen(((TQVariant*) QtSupport::getQt(env, obj))->toPen()), "org.kde.qt.TQPen", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_toPixmap(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQVariant*) QtSupport::getQt(env, obj))->toPixmap()), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_toPointArray(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQVariant*) QtSupport::getQt(env, obj))->toPointArray()), "org.kde.qt.TQPointArray", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_toPoint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQVariant*) QtSupport::getQt(env, obj))->toPoint()), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_toRect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQVariant*) QtSupport::getQt(env, obj))->toRect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_toRegion(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQVariant*) QtSupport::getQt(env, obj))->toRegion()), "org.kde.qt.TQRegion", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_toSizePolicy(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSizePolicy(((TQVariant*) QtSupport::getQt(env, obj))->toSizePolicy()), "org.kde.qt.TQSizePolicy", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_toSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQVariant*) QtSupport::getQt(env, obj))->toSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_toStringList(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TQVariant*) QtSupport::getQt(env, obj))->toStringList(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QVariant_toString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQVariant*) QtSupport::getQt(env, obj))->toString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QVariant_toTime(JNIEnv* env, jobject obj) -{ - TQTime _qtime; - _qtime = ((TQVariant*) QtSupport::getQt(env, obj))->toTime(); - return (jobject) QtSupport::fromTQTime(env, (TQTime*) &_qtime); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QVariant_toUInt__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQVariant*) QtSupport::getQt(env, obj))->toUInt(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QVariant_toUInt___3Z(JNIEnv* env, jobject obj, jbooleanArray ok) -{ - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jint xret = (jint) ((TQVariant*) QtSupport::getQt(env, obj))->toUInt( (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QVariant_toULongLong__(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((TQVariant*) QtSupport::getQt(env, obj))->toULongLong(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QVariant_toULongLong___3Z(JNIEnv* env, jobject obj, jbooleanArray ok) -{ - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jlong xret = (jlong) ((TQVariant*) QtSupport::getQt(env, obj))->toULongLong( (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QVariant_typeName(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQVariant*) QtSupport::getQt(env, obj))->typeName(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QVariant_typeToName(JNIEnv* env, jclass cls, jint typ) -{ - const char* _qstring; - (void) cls; - _qstring = TQVariantJBridge::typeToName((TQVariant::Type) typ); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QVariant_type(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQVariant*) QtSupport::getQt(env, obj))->type(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QVariant.h b/qtjava/javalib/qtjava/QVariant.h deleted file mode 100644 index 1860debd..00000000 --- a/qtjava/javalib/qtjava/QVariant.h +++ /dev/null @@ -1,129 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QVariant__ -#define __org_kde_qt_QVariant__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QVariant_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QDataStream_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QImage_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QBrush_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QPalette_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QColorGroup_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QPointArray_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QRegion_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QBitmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QCursor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Ljava_util_Calendar_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Ljava_util_Date_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant___3B (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QPen_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__J (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__ZI (JNIEnv *env, jobject, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__D (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QSizePolicy_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QVariant_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QVariant_op_1not_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QVariant_type (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QVariant_typeName (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QVariant_canCast (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QVariant_cast (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QVariant_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QVariant_isNull (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_clear (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QVariant_toString (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QVariant_toCString (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toStringList (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toFont (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toPixmap (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toImage (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toBrush (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toPoint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toRect (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toSize (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toColor (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toPalette (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toColorGroup (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toIconSet (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toPointArray (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toBitmap (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toRegion (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toCursor (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toDate (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toTime (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toDateTime (JNIEnv *env, jobject); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QVariant_toByteArray (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toKeySequence (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toPen (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QVariant_toInt___3Z (JNIEnv *env, jobject, jbooleanArray); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QVariant_toInt__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QVariant_toUInt___3Z (JNIEnv *env, jobject, jbooleanArray); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QVariant_toUInt__ (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QVariant_toLongLong___3Z (JNIEnv *env, jobject, jbooleanArray); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QVariant_toLongLong__ (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QVariant_toULongLong___3Z (JNIEnv *env, jobject, jbooleanArray); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QVariant_toULongLong__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QVariant_toBool (JNIEnv *env, jobject); -extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QVariant_toDouble___3Z (JNIEnv *env, jobject, jbooleanArray); -extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QVariant_toDouble__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toSizePolicy (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QVariant_asString (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QVariant_asCString (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asStringList (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asFont (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asPixmap (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asImage (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asBrush (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asPoint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asRect (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asSize (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asColor (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asPalette (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asColorGroup (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asIconSet (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asPointArray (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asBitmap (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asRegion (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asCursor (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asDate (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asTime (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asDateTime (JNIEnv *env, jobject); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QVariant_asByteArray (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asKeySequence (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asPen (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QVariant_asInt (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QVariant_asUInt (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QVariant_asBool (JNIEnv *env, jobject); -extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QVariant_asDouble (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asSizePolicy (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_load (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_save (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QVariant_typeToName (JNIEnv *env, jclass, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QVariant_nameToType (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QVariant_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QVariant__ */ diff --git a/qtjava/javalib/qtjava/QWMatrix.cpp b/qtjava/javalib/qtjava/QWMatrix.cpp deleted file mode 100644 index bc3762bc..00000000 --- a/qtjava/javalib/qtjava/QWMatrix.cpp +++ /dev/null @@ -1,320 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include - -class TQWMatrixJBridge : public TQWMatrix -{ -public: - TQWMatrixJBridge() : TQWMatrix() {}; - TQWMatrixJBridge(double arg1,double arg2,double arg3,double arg4,double arg5,double arg6) : TQWMatrix(arg1,arg2,arg3,arg4,arg5,arg6) {}; - ~TQWMatrixJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jdouble JNICALL -Java_org_kde_qt_QWMatrix_det(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((TQWMatrix*) QtSupport::getQt(env, obj))->det(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWMatrix_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QWMatrix_finalize(env, obj); - return; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_qt_QWMatrix_dx(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((TQWMatrix*) QtSupport::getQt(env, obj))->dx(); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_qt_QWMatrix_dy(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((TQWMatrix*) QtSupport::getQt(env, obj))->dy(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWMatrix_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQWMatrix*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWMatrix_invert__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQWMatrix(((TQWMatrix*) QtSupport::getQt(env, obj))->invert()), "org.kde.qt.TQWMatrix", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWMatrix_invert___3Z(JNIEnv* env, jobject obj, jbooleanArray arg1) -{ - bool* _bool_arg1 = QtSupport::toBooleanPtr(env, arg1); - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQWMatrix(((TQWMatrix*) QtSupport::getQt(env, obj))->invert( (bool*) _bool_arg1)), "org.kde.qt.TQWMatrix", TRUE); - env->SetBooleanArrayRegion(arg1, 0, 1, (jboolean*) _bool_arg1); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWMatrix_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWMatrix_isIdentity(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQWMatrix*) QtSupport::getQt(env, obj))->isIdentity(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWMatrix_isInvertible(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQWMatrix*) QtSupport::getQt(env, obj))->isInvertible(); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_qt_QWMatrix_m11(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((TQWMatrix*) QtSupport::getQt(env, obj))->m11(); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_qt_QWMatrix_m12(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((TQWMatrix*) QtSupport::getQt(env, obj))->m12(); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_qt_QWMatrix_m21(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((TQWMatrix*) QtSupport::getQt(env, obj))->m21(); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_qt_QWMatrix_m22(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((TQWMatrix*) QtSupport::getQt(env, obj))->m22(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWMatrix_mapRect(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQWMatrix*) QtSupport::getQt(env, obj))->mapRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWMatrix_mapToPolygon(JNIEnv* env, jobject obj, jobject r) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQWMatrix*) QtSupport::getQt(env, obj))->mapToPolygon((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r))), "org.kde.qt.TQPointArray", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWMatrix_mapToRegion(JNIEnv* env, jobject obj, jobject r) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQWMatrix*) QtSupport::getQt(env, obj))->mapToRegion((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r))), "org.kde.qt.TQRegion", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWMatrix_map__DD_3D_3D(JNIEnv* env, jobject obj, jdouble x, jdouble y, jdoubleArray tx, jdoubleArray ty) -{ - double* _double_tx = QtSupport::toDoublePtr(env, tx); - double* _double_ty = QtSupport::toDoublePtr(env, ty); - ((TQWMatrix*) QtSupport::getQt(env, obj))->map((double) x, (double) y, (double*) _double_tx, (double*) _double_ty); - env->SetDoubleArrayRegion(tx, 0, 1, (jdouble*) _double_tx); - env->SetDoubleArrayRegion(ty, 0, 1, (jdouble*) _double_ty); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWMatrix_map__II_3I_3I(JNIEnv* env, jobject obj, jint x, jint y, jintArray tx, jintArray ty) -{ - int* _int_tx = QtSupport::toIntPtr(env, tx); - int* _int_ty = QtSupport::toIntPtr(env, ty); - ((TQWMatrix*) QtSupport::getQt(env, obj))->map((int) x, (int) y, (int*) _int_tx, (int*) _int_ty); - env->SetIntArrayRegion(tx, 0, 1, (jint *) _int_tx); - env->SetIntArrayRegion(ty, 0, 1, (jint *) _int_ty); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWMatrix_map__Lorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject a) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQWMatrix*) QtSupport::getQt(env, obj))->map((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, a))), "org.kde.qt.TQPointArray", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWMatrix_map__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject p) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQWMatrix*) QtSupport::getQt(env, obj))->map((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p))), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWMatrix_map__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject r) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQWMatrix*) QtSupport::getQt(env, obj))->map((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r))), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWMatrix_map__Lorg_kde_qt_QRegion_2(JNIEnv* env, jobject obj, jobject r) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQWMatrix*) QtSupport::getQt(env, obj))->map((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, r))), "org.kde.qt.TQRegion", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWMatrix_newTQWMatrix__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQWMatrixJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWMatrix_newTQWMatrix__DDDDDD(JNIEnv* env, jobject obj, jdouble m11, jdouble m12, jdouble m21, jdouble m22, jdouble dx, jdouble dy) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQWMatrixJBridge((double) m11, (double) m12, (double) m21, (double) m22, (double) dx, (double) dy)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWMatrix_op_1equals(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQWMatrix*) QtSupport::getQt(env, obj))->operator==((const TQWMatrix&)*(const TQWMatrix*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWMatrix_op_1mult_1assign(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQWMatrix *) &((TQWMatrix*) QtSupport::getQt(env, obj))->operator*=((const TQWMatrix&)*(const TQWMatrix*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQWMatrix"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWMatrix_op_1mult__Lorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject a) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQWMatrix*) QtSupport::getQt(env, obj))->operator*((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, a))), "org.kde.qt.TQPointArray", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWMatrix_op_1mult__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQWMatrix*) QtSupport::getQt(env, obj))->operator*((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWMatrix_op_1mult__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQWMatrix*) QtSupport::getQt(env, obj))->operator*((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQRegion", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWMatrix_op_1mult__Lorg_kde_qt_QRegion_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQWMatrix*) QtSupport::getQt(env, obj))->operator*((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQRegion", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWMatrix_op_1not_1equals(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQWMatrix*) QtSupport::getQt(env, obj))->operator!=((const TQWMatrix&)*(const TQWMatrix*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWMatrix_reset(JNIEnv* env, jobject obj) -{ - ((TQWMatrix*) QtSupport::getQt(env, obj))->reset(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWMatrix_rotate(JNIEnv* env, jobject obj, jdouble a) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQWMatrix *) &((TQWMatrix*) QtSupport::getQt(env, obj))->rotate((double) a), "org.kde.qt.TQWMatrix"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWMatrix_scale(JNIEnv* env, jobject obj, jdouble sx, jdouble sy) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQWMatrix *) &((TQWMatrix*) QtSupport::getQt(env, obj))->scale((double) sx, (double) sy), "org.kde.qt.TQWMatrix"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWMatrix_setMatrix(JNIEnv* env, jobject obj, jdouble m11, jdouble m12, jdouble m21, jdouble m22, jdouble dx, jdouble dy) -{ - ((TQWMatrix*) QtSupport::getQt(env, obj))->setMatrix((double) m11, (double) m12, (double) m21, (double) m22, (double) dx, (double) dy); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWMatrix_setTransformationMode(JNIEnv* env, jclass cls, jint m) -{ - (void) cls; - (void) env; - TQWMatrixJBridge::setTransformationMode((TQWMatrix::TransformationMode) m); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWMatrix_shear(JNIEnv* env, jobject obj, jdouble sh, jdouble sv) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQWMatrix *) &((TQWMatrix*) QtSupport::getQt(env, obj))->shear((double) sh, (double) sv), "org.kde.qt.TQWMatrix"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWMatrix_transformationMode(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TQWMatrixJBridge::transformationMode(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWMatrix_translate(JNIEnv* env, jobject obj, jdouble dx, jdouble dy) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQWMatrix *) &((TQWMatrix*) QtSupport::getQt(env, obj))->translate((double) dx, (double) dy), "org.kde.qt.TQWMatrix"); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QWMatrix.h b/qtjava/javalib/qtjava/QWMatrix.h deleted file mode 100644 index e05351cc..00000000 --- a/qtjava/javalib/qtjava/QWMatrix.h +++ /dev/null @@ -1,58 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QWMatrix__ -#define __org_kde_qt_QWMatrix__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWMatrix_newTQWMatrix__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWMatrix_newTQWMatrix__DDDDDD (JNIEnv *env, jobject, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWMatrix_setMatrix (JNIEnv *env, jobject, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble); -extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QWMatrix_m11 (JNIEnv *env, jobject); -extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QWMatrix_m12 (JNIEnv *env, jobject); -extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QWMatrix_m21 (JNIEnv *env, jobject); -extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QWMatrix_m22 (JNIEnv *env, jobject); -extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QWMatrix_dx (JNIEnv *env, jobject); -extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QWMatrix_dy (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWMatrix_map__II_3I_3I (JNIEnv *env, jobject, jint, jint, jintArray, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWMatrix_map__DD_3D_3D (JNIEnv *env, jobject, jdouble, jdouble, jdoubleArray, jdoubleArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWMatrix_mapRect (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWMatrix_map__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWMatrix_map__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWMatrix_map__Lorg_kde_qt_QPointArray_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWMatrix_map__Lorg_kde_qt_QRegion_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWMatrix_mapToRegion (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWMatrix_mapToPolygon (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWMatrix_reset (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWMatrix_isIdentity (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWMatrix_translate (JNIEnv *env, jobject, jdouble, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWMatrix_scale (JNIEnv *env, jobject, jdouble, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWMatrix_shear (JNIEnv *env, jobject, jdouble, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWMatrix_rotate (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWMatrix_isInvertible (JNIEnv *env, jobject); -extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QWMatrix_det (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWMatrix_invert___3Z (JNIEnv *env, jobject, jbooleanArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWMatrix_invert__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWMatrix_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWMatrix_op_1not_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWMatrix_op_1mult_1assign (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWMatrix_op_1mult__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWMatrix_op_1mult__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWMatrix_op_1mult__Lorg_kde_qt_QRegion_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWMatrix_op_1mult__Lorg_kde_qt_QPointArray_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWMatrix_setTransformationMode (JNIEnv *env, jclass, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWMatrix_transformationMode (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWMatrix_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWMatrix_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWMatrix_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QWMatrix__ */ diff --git a/qtjava/javalib/qtjava/QWhatsThis.cpp b/qtjava/javalib/qtjava/QWhatsThis.cpp deleted file mode 100644 index 09cbc41a..00000000 --- a/qtjava/javalib/qtjava/QWhatsThis.cpp +++ /dev/null @@ -1,206 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -class TQWhatsThisJBridge : public TQWhatsThis -{ -public: - TQWhatsThisJBridge(TQWidget* arg1) : TQWhatsThis(arg1) {}; - ~TQWhatsThisJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWhatsThis_add(JNIEnv* env, jclass cls, jobject arg1, jstring arg2) -{ - (void) cls; -static TQString* _qstring_arg2 = 0; - TQWhatsThisJBridge::add((TQWidget*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWhatsThis_clicked(JNIEnv* env, jobject obj, jstring href) -{ -static TQString* _qstring_href = 0; - jboolean xret = (jboolean) ((TQWhatsThis*) QtSupport::getQt(env, obj))->clicked((const TQString&)*(TQString*) QtSupport::toTQString(env, href, &_qstring_href)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWhatsThis_display__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - TQWhatsThisJBridge::display((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWhatsThis_display__Ljava_lang_String_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jclass cls, jstring text, jobject pos) -{ - (void) cls; -static TQString* _qstring_text = 0; - TQWhatsThisJBridge::display((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWhatsThis_display__Ljava_lang_String_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring text, jobject pos, jobject w) -{ - (void) cls; -static TQString* _qstring_text = 0; - TQWhatsThisJBridge::display((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (TQWidget*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWhatsThis_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QWhatsThis_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWhatsThis_enterWhatsThisMode(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TQWhatsThisJBridge::enterWhatsThisMode(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWhatsThis_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQWhatsThis*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWhatsThis_inWhatsThisMode(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TQWhatsThisJBridge::inWhatsThisMode(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWhatsThis_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWhatsThis_leaveWhatsThisMode__(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TQWhatsThisJBridge::leaveWhatsThisMode(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWhatsThis_leaveWhatsThisMode__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - (void) cls; -static TQString* _qstring_arg1 = 0; - TQWhatsThisJBridge::leaveWhatsThisMode((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWhatsThis_leaveWhatsThisMode__Ljava_lang_String_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jclass cls, jstring arg1, jobject pos) -{ - (void) cls; -static TQString* _qstring_arg1 = 0; - TQWhatsThisJBridge::leaveWhatsThisMode((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWhatsThis_leaveWhatsThisMode__Ljava_lang_String_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring arg1, jobject pos, jobject w) -{ - (void) cls; -static TQString* _qstring_arg1 = 0; - TQWhatsThisJBridge::leaveWhatsThisMode((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (TQWidget*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWhatsThis_newTQWhatsThis(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQWhatsThisJBridge((TQWidget*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWhatsThis_remove(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - TQWhatsThisJBridge::remove((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWhatsThis_setFont(JNIEnv* env, jclass cls, jobject font) -{ - (void) cls; - TQWhatsThisJBridge::setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QWhatsThis_textFor__Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject arg1) -{ - TQString _qstring; - (void) cls; - _qstring = TQWhatsThisJBridge::textFor((TQWidget*) QtSupport::getQt(env, arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QWhatsThis_textFor__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jclass cls, jobject arg1, jobject pos) -{ - TQString _qstring; - (void) cls; - _qstring = TQWhatsThisJBridge::textFor((TQWidget*) QtSupport::getQt(env, arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QWhatsThis_textFor__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QPoint_2Z(JNIEnv* env, jclass cls, jobject arg1, jobject pos, jboolean includeParents) -{ - TQString _qstring; - (void) cls; - _qstring = TQWhatsThisJBridge::textFor((TQWidget*) QtSupport::getQt(env, arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (bool) includeParents); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QWhatsThis_text(JNIEnv* env, jobject obj, jobject arg1) -{ - TQString _qstring; - _qstring = ((TQWhatsThis*) QtSupport::getQt(env, obj))->text((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWhatsThis_whatsThisButton(JNIEnv* env, jclass cls, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQWhatsThisJBridge::whatsThisButton((TQWidget*) QtSupport::getQt(env, parent)), "org.kde.qt.TQToolButton"); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QWhatsThis.h b/qtjava/javalib/qtjava/QWhatsThis.h deleted file mode 100644 index 82aaf893..00000000 --- a/qtjava/javalib/qtjava/QWhatsThis.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QWhatsThis__ -#define __org_kde_qt_QWhatsThis__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWhatsThis_newTQWhatsThis (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWhatsThis_text (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWhatsThis_clicked (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWhatsThis_setFont (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWhatsThis_add (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWhatsThis_remove (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWhatsThis_textFor__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QPoint_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWhatsThis_textFor__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWhatsThis_textFor__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWhatsThis_whatsThisButton (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWhatsThis_enterWhatsThisMode (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWhatsThis_inWhatsThisMode (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWhatsThis_leaveWhatsThisMode__Ljava_lang_String_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWhatsThis_leaveWhatsThisMode__Ljava_lang_String_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWhatsThis_leaveWhatsThisMode__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWhatsThis_leaveWhatsThisMode__ (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWhatsThis_display__Ljava_lang_String_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWhatsThis_display__Ljava_lang_String_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWhatsThis_display__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWhatsThis_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWhatsThis_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWhatsThis_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QWhatsThis__ */ diff --git a/qtjava/javalib/qtjava/QWheelEvent.cpp b/qtjava/javalib/qtjava/QWheelEvent.cpp deleted file mode 100644 index e086238c..00000000 --- a/qtjava/javalib/qtjava/QWheelEvent.cpp +++ /dev/null @@ -1,165 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQWheelEventJBridge : public TQWheelEvent -{ -public: - TQWheelEventJBridge(const TQPoint& arg1,int arg2,int arg3,TQt::Orientation arg4) : TQWheelEvent(arg1,arg2,arg3,arg4) {}; - TQWheelEventJBridge(const TQPoint& arg1,int arg2,int arg3) : TQWheelEvent(arg1,arg2,arg3) {}; - TQWheelEventJBridge(const TQPoint& arg1,const TQPoint& arg2,int arg3,int arg4,TQt::Orientation arg5) : TQWheelEvent(arg1,arg2,arg3,arg4,arg5) {}; - TQWheelEventJBridge(const TQPoint& arg1,const TQPoint& arg2,int arg3,int arg4) : TQWheelEvent(arg1,arg2,arg3,arg4) {}; - ~TQWheelEventJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWheelEvent_accept(JNIEnv* env, jobject obj) -{ - ((TQWheelEvent*) QtSupport::getQt(env, obj))->accept(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWheelEvent_delta(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQWheelEvent*) QtSupport::getQt(env, obj))->delta(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWheelEvent_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QWheelEvent_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWheelEvent_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQWheelEvent*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWheelEvent_globalPos(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQWheelEvent*) QtSupport::getQt(env, obj))->globalPos(), "org.kde.qt.TQPoint"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWheelEvent_globalX(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQWheelEvent*) QtSupport::getQt(env, obj))->globalX(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWheelEvent_globalY(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQWheelEvent*) QtSupport::getQt(env, obj))->globalY(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWheelEvent_ignore(JNIEnv* env, jobject obj) -{ - ((TQWheelEvent*) QtSupport::getQt(env, obj))->ignore(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWheelEvent_isAccepted(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQWheelEvent*) QtSupport::getQt(env, obj))->isAccepted(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWheelEvent_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWheelEvent_newTQWheelEvent__Lorg_kde_qt_QPoint_2II(JNIEnv* env, jobject obj, jobject pos, jint delta, jint state) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQWheelEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (int) delta, (int) state)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWheelEvent_newTQWheelEvent__Lorg_kde_qt_QPoint_2III(JNIEnv* env, jobject obj, jobject pos, jint delta, jint state, jint orient) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQWheelEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (int) delta, (int) state, (TQt::Orientation) orient)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWheelEvent_newTQWheelEvent__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2II(JNIEnv* env, jobject obj, jobject pos, jobject globalPos, jint delta, jint state) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQWheelEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, globalPos), (int) delta, (int) state)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWheelEvent_newTQWheelEvent__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2III(JNIEnv* env, jobject obj, jobject pos, jobject globalPos, jint delta, jint state, jint orient) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQWheelEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, globalPos), (int) delta, (int) state, (TQt::Orientation) orient)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWheelEvent_orientation(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQWheelEvent*) QtSupport::getQt(env, obj))->orientation(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWheelEvent_pos(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQWheelEvent*) QtSupport::getQt(env, obj))->pos(), "org.kde.qt.TQPoint"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWheelEvent_state(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQWheelEvent*) QtSupport::getQt(env, obj))->state(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWheelEvent_x(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQWheelEvent*) QtSupport::getQt(env, obj))->x(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWheelEvent_y(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQWheelEvent*) QtSupport::getQt(env, obj))->y(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QWheelEvent.h b/qtjava/javalib/qtjava/QWheelEvent.h deleted file mode 100644 index 9b26af45..00000000 --- a/qtjava/javalib/qtjava/QWheelEvent.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QWheelEvent__ -#define __org_kde_qt_QWheelEvent__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWheelEvent_newTQWheelEvent__Lorg_kde_qt_QPoint_2III (JNIEnv *env, jobject, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWheelEvent_newTQWheelEvent__Lorg_kde_qt_QPoint_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWheelEvent_newTQWheelEvent__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2III (JNIEnv *env, jobject, jobject, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWheelEvent_newTQWheelEvent__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2II (JNIEnv *env, jobject, jobject, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWheelEvent_delta (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWheelEvent_pos (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWheelEvent_globalPos (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWheelEvent_x (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWheelEvent_y (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWheelEvent_globalX (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWheelEvent_globalY (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWheelEvent_state (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWheelEvent_orientation (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWheelEvent_isAccepted (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWheelEvent_accept (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWheelEvent_ignore (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWheelEvent_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWheelEvent_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWheelEvent_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QWheelEvent__ */ diff --git a/qtjava/javalib/qtjava/QWidget.cpp b/qtjava/javalib/qtjava/QWidget.cpp deleted file mode 100644 index e37bf4a9..00000000 --- a/qtjava/javalib/qtjava/QWidget.cpp +++ /dev/null @@ -1,2730 +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 - -class TQWidgetJBridge : public TQWidget -{ -public: - TQWidgetJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQWidget(arg1,arg2,arg3) {}; - TQWidgetJBridge(TQWidget* arg1,const char* arg2) : TQWidget(arg1,arg2) {}; - TQWidgetJBridge(TQWidget* arg1) : TQWidget(arg1) {}; - TQWidgetJBridge() : TQWidget() {}; - void public_unsetCursor() { - TQWidget::unsetCursor(); - return; - } - void public_setActiveWindow() { - TQWidget::setActiveWindow(); - return; - } - void public_setFocus() { - TQWidget::setFocus(); - return; - } - void public_show() { - TQWidget::show(); - return; - } - void public_hide() { - TQWidget::hide(); - return; - } - void public_showMinimized() { - TQWidget::showMinimized(); - return; - } - void public_showMaximized() { - TQWidget::showMaximized(); - return; - } - void public_showNormal() { - TQWidget::showNormal(); - return; - } - void public_polish() { - TQWidget::polish(); - return; - } - void public_adjustSize() { - TQWidget::adjustSize(); - return; - } - bool protected_event(TQEvent* arg1) { - return (bool) TQWidget::event(arg1); - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TQWidget::mousePressEvent(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - TQWidget::mouseReleaseEvent(arg1); - return; - } - void protected_mouseDoubleClickEvent(TQMouseEvent* arg1) { - TQWidget::mouseDoubleClickEvent(arg1); - return; - } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - TQWidget::mouseMoveEvent(arg1); - return; - } - void protected_wheelEvent(TQWheelEvent* arg1) { - TQWidget::wheelEvent(arg1); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQWidget::keyPressEvent(arg1); - return; - } - void protected_keyReleaseEvent(TQKeyEvent* arg1) { - TQWidget::keyReleaseEvent(arg1); - return; - } - void protected_focusInEvent(TQFocusEvent* arg1) { - TQWidget::focusInEvent(arg1); - return; - } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TQWidget::focusOutEvent(arg1); - return; - } - void protected_enterEvent(TQEvent* arg1) { - TQWidget::enterEvent(arg1); - return; - } - void protected_leaveEvent(TQEvent* arg1) { - TQWidget::leaveEvent(arg1); - return; - } - void protected_paintEvent(TQPaintEvent* arg1) { - TQWidget::paintEvent(arg1); - return; - } - void protected_moveEvent(TQMoveEvent* arg1) { - TQWidget::moveEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQWidget::resizeEvent(arg1); - return; - } - void protected_closeEvent(TQCloseEvent* arg1) { - TQWidget::closeEvent(arg1); - return; - } - void protected_contextMenuEvent(TQContextMenuEvent* arg1) { - TQWidget::contextMenuEvent(arg1); - return; - } - void protected_imStartEvent(TQIMEvent* arg1) { - TQWidget::imStartEvent(arg1); - return; - } - void protected_imComposeEvent(TQIMEvent* arg1) { - TQWidget::imComposeEvent(arg1); - return; - } - void protected_imEndEvent(TQIMEvent* arg1) { - TQWidget::imEndEvent(arg1); - return; - } - void protected_tabletEvent(TQTabletEvent* arg1) { - TQWidget::tabletEvent(arg1); - return; - } - void protected_dragEnterEvent(TQDragEnterEvent* arg1) { - TQWidget::dragEnterEvent(arg1); - return; - } - void protected_dragMoveEvent(TQDragMoveEvent* arg1) { - TQWidget::dragMoveEvent(arg1); - return; - } - void protected_dragLeaveEvent(TQDragLeaveEvent* arg1) { - TQWidget::dragLeaveEvent(arg1); - return; - } - void protected_dropEvent(TQDropEvent* arg1) { - TQWidget::dropEvent(arg1); - return; - } - void protected_showEvent(TQShowEvent* arg1) { - TQWidget::showEvent(arg1); - return; - } - void protected_hideEvent(TQHideEvent* arg1) { - TQWidget::hideEvent(arg1); - return; - } - void protected_updateMask() { - TQWidget::updateMask(); - return; - } - void protected_styleChange(TQStyle& arg1) { - TQWidget::styleChange(arg1); - return; - } - void protected_enabledChange(bool arg1) { - TQWidget::enabledChange(arg1); - return; - } - void protected_paletteChange(const TQPalette& arg1) { - TQWidget::paletteChange(arg1); - return; - } - void protected_fontChange(const TQFont& arg1) { - TQWidget::fontChange(arg1); - return; - } - void protected_windowActivationChange(bool arg1) { - TQWidget::windowActivationChange(arg1); - return; - } - int protected_metric(int arg1) { - return (int) TQWidget::metric(arg1); - } - void protected_resetInputContext() { - TQWidget::resetInputContext(); - return; - } - void protected_create(WId arg1,bool arg2,bool arg3) { - TQWidget::create(arg1,arg2,arg3); - return; - } - void protected_create(WId arg1,bool arg2) { - TQWidget::create(arg1,arg2); - return; - } - void protected_create(WId arg1) { - TQWidget::create(arg1); - return; - } - void protected_create() { - TQWidget::create(); - return; - } - void protected_destroy(bool arg1,bool arg2) { - TQWidget::destroy(arg1,arg2); - return; - } - void protected_destroy(bool arg1) { - TQWidget::destroy(arg1); - return; - } - void protected_destroy() { - TQWidget::destroy(); - return; - } - uint protected_getWState() { - return (uint) TQWidget::getWState(); - } - void protected_setWState(uint arg1) { - TQWidget::setWState(arg1); - return; - } - void protected_clearWState(uint arg1) { - TQWidget::clearWState(arg1); - return; - } - TQt::WFlags protected_getWFlags() { - return (TQt::WFlags) TQWidget::getWFlags(); - } - void protected_setWFlags(TQt::WFlags arg1) { - TQWidget::setWFlags(arg1); - return; - } - void protected_clearWFlags(TQt::WFlags arg1) { - TQWidget::clearWFlags(arg1); - return; - } - bool protected_focusNextPrevChild(bool arg1) { - return (bool) TQWidget::focusNextPrevChild(arg1); - } - TQFocusData* protected_focusData() { - return (TQFocusData*) TQWidget::focusData(); - } - void protected_setKeyCompression(bool arg1) { - TQWidget::setKeyCompression(arg1); - return; - } - void protected_setMicroFocusHint(int arg1,int arg2,int arg3,int arg4,bool arg5,TQFont* arg6) { - TQWidget::setMicroFocusHint(arg1,arg2,arg3,arg4,arg5,arg6); - return; - } - void protected_setMicroFocusHint(int arg1,int arg2,int arg3,int arg4,bool arg5) { - TQWidget::setMicroFocusHint(arg1,arg2,arg3,arg4,arg5); - return; - } - void protected_setMicroFocusHint(int arg1,int arg2,int arg3,int arg4) { - TQWidget::setMicroFocusHint(arg1,arg2,arg3,arg4); - return; - } - ~TQWidgetJBridge() {QtSupport::qtKeyDeleted(this);} - int protected_fontMet(TQFont* arg1,int arg2,const char* arg3,int arg4) { - return (int) TQPaintDevice::fontMet(arg1,arg2,arg3,arg4); - } - int protected_fontMet(TQFont* arg1,int arg2,const char* arg3) { - return (int) TQPaintDevice::fontMet(arg1,arg2,arg3); - } - int protected_fontMet(TQFont* arg1,int arg2) { - return (int) TQPaintDevice::fontMet(arg1,arg2); - } - int protected_fontInf(TQFont* arg1,int arg2) { - return (int) TQPaintDevice::fontInf(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.qt.TQWidget","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.qt.TQWidget","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.qt.TQWidget","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.qt.TQWidget","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.qt.TQWidget","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.qt.TQWidget","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWidget","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.qt.TQWidget","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWidget","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.qt.TQWidget","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.qt.TQWidget",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.qt.TQWidget","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidget_acceptDrops(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->acceptDrops(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_adjustSize(JNIEnv* env, jobject obj) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->public_adjustSize(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidget_autoMask(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->autoMask(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_backgroundBrush(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQBrush *) &((TQWidget*) QtSupport::getQt(env, obj))->backgroundBrush(), "org.kde.qt.TQBrush"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_backgroundColor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQWidget*) QtSupport::getQt(env, obj))->backgroundColor(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWidget_backgroundMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->backgroundMode(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_backgroundOffset(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQWidget*) QtSupport::getQt(env, obj))->backgroundOffset()), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWidget_backgroundOrigin(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->backgroundOrigin(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_backgroundPixmap(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->backgroundPixmap(), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_baseSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQWidget*) QtSupport::getQt(env, obj))->baseSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QWidget_caption(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQWidget*) QtSupport::getQt(env, obj))->caption(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_childAt__II(JNIEnv* env, jobject obj, jint x, jint y) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->childAt((int) x, (int) y), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_childAt__IIZ(JNIEnv* env, jobject obj, jint x, jint y, jboolean includeThis) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->childAt((int) x, (int) y, (bool) includeThis), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_childAt__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->childAt((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_childAt__Lorg_kde_qt_QPoint_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean includeThis) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->childAt((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (bool) includeThis), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_childrenRect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQWidget*) QtSupport::getQt(env, obj))->childrenRect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_childrenRegion(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQWidget*) QtSupport::getQt(env, obj))->childrenRegion()), "org.kde.qt.TQRegion", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QWidget_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQWidget*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_clearFocus(JNIEnv* env, jobject obj) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->clearFocus(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_clearMask(JNIEnv* env, jobject obj) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->clearMask(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_clearWFlags(JNIEnv* env, jobject obj, jint n) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_clearWFlags((TQt::WFlags) n); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_clearWState(JNIEnv* env, jobject obj, jint n) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_clearWState((uint) n); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_clipRegion(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQWidget*) QtSupport::getQt(env, obj))->clipRegion()), "org.kde.qt.TQRegion", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_closeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TQCloseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidget_close__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->close(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidget_close__Z(JNIEnv* env, jobject obj, jboolean alsoDelete) -{ - jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->close((bool) alsoDelete); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_colorGroup(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColorGroup *) &((TQWidget*) QtSupport::getQt(env, obj))->colorGroup(), "org.kde.qt.TQColorGroup"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_constPolish(JNIEnv* env, jobject obj) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->constPolish(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_contextMenuEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_create__(JNIEnv* env, jobject obj) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_create(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_create__J(JNIEnv* env, jobject obj, jlong arg1) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_create((WId) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_create__JZ(JNIEnv* env, jobject obj, jlong arg1, jboolean initializeWindow) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_create((WId) arg1, (bool) initializeWindow); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_create__JZZ(JNIEnv* env, jobject obj, jlong arg1, jboolean initializeWindow, jboolean destroyOldWindow) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_create((WId) arg1, (bool) initializeWindow, (bool) destroyOldWindow); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_cursor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQCursor *) &((TQWidget*) QtSupport::getQt(env, obj))->cursor(), "org.kde.qt.TQCursor"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidget_customWhatsThis(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->customWhatsThis(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_destroy__(JNIEnv* env, jobject obj) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_destroy(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_destroy__Z(JNIEnv* env, jobject obj, jboolean destroyWindow) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_destroy((bool) destroyWindow); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_destroy__ZZ(JNIEnv* env, jobject obj, jboolean destroyWindow, jboolean destroySubWindows) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_destroy((bool) destroyWindow, (bool) destroySubWindows); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWidget_devType(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPaintDevice*)(TQWidget*) QtSupport::getQt(env, obj))->devType(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QWidget_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_dragEnterEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_dragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_dragLeaveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_dragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_dragMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_dragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_drawText__IILjava_lang_String_2(JNIEnv* env, jobject obj, jint x, jint y, jstring arg3) -{ -static TQString* _qstring_arg3 = 0; - ((TQWidget*) QtSupport::getQt(env, obj))->drawText((int) x, (int) y, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_drawText__Lorg_kde_qt_QPoint_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - ((TQWidget*) QtSupport::getQt(env, obj))->drawText((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_dropEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_dropEvent((TQDropEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_enabledChange(JNIEnv* env, jobject obj, jboolean oldEnabled) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_enabledChange((bool) oldEnabled); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_enterEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_enterEvent((TQEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_eraseColor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQWidget*) QtSupport::getQt(env, obj))->eraseColor(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_erasePixmap(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->erasePixmap(), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_erase__(JNIEnv* env, jobject obj) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->erase(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_erase__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->erase((int) x, (int) y, (int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_erase__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->erase((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_erase__Lorg_kde_qt_QRegion_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->erase((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidget_event(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQWidget*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQWidget*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_find(JNIEnv* env, jclass cls, jlong arg1) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQWidgetJBridge::find((WId) arg1), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_focusData(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_focusData(), "org.kde.qt.TQFocusData"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_focusInEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidget_focusNextPrevChild(JNIEnv* env, jobject obj, jboolean next) -{ - jboolean xret = (jboolean) ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_focusNextPrevChild((bool) next); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_focusOutEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWidget_focusPolicy(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->focusPolicy(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_focusProxy(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->focusProxy(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_focusWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->focusWidget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_fontChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWidget_fontInf(JNIEnv* env, jobject obj, jobject arg1, jint arg2) -{ - jint xret = (jint) ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_fontInf((TQFont*) QtSupport::getQt(env, arg1), (int) arg2); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_fontInfo(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFontInfo(((TQWidget*) QtSupport::getQt(env, obj))->fontInfo()), "org.kde.qt.TQFontInfo", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWidget_fontMet__Lorg_kde_qt_QFont_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2) -{ - jint xret = (jint) ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TQFont*) QtSupport::getQt(env, arg1), (int) arg2); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWidget_fontMet__Lorg_kde_qt_QFont_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jint arg2, jstring arg3) -{ -static TQCString* _qstring_arg3 = 0; - jint xret = (jint) ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TQFont*) QtSupport::getQt(env, arg1), (int) arg2, (const char*) QtSupport::toCharString(env, arg3, &_qstring_arg3)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWidget_fontMet__Lorg_kde_qt_QFont_2ILjava_lang_String_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2, jstring arg3, jint arg4) -{ -static TQCString* _qstring_arg3 = 0; - jint xret = (jint) ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TQFont*) QtSupport::getQt(env, arg1), (int) arg2, (const char*) QtSupport::toCharString(env, arg3, &_qstring_arg3), (int) arg4); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_fontMetrics(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFontMetrics(((TQWidget*) QtSupport::getQt(env, obj))->fontMetrics()), "org.kde.qt.TQFontMetrics", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_font(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((TQWidget*) QtSupport::getQt(env, obj))->font()), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_foregroundColor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQWidget*) QtSupport::getQt(env, obj))->foregroundColor(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_frameGeometry(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQWidget*) QtSupport::getQt(env, obj))->frameGeometry()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_frameSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQWidget*) QtSupport::getQt(env, obj))->frameSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_geometry(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRect *) &((TQWidget*) QtSupport::getQt(env, obj))->geometry(), "org.kde.qt.TQRect"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWidget_getWFlags(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_getWFlags(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWidget_getWState(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_getWState(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_grabKeyboard(JNIEnv* env, jobject obj) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->grabKeyboard(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_grabMouse__(JNIEnv* env, jobject obj) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->grabMouse(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_grabMouse__Lorg_kde_qt_QCursor_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->grabMouse((const TQCursor&)*(const TQCursor*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidget_hasFocus(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->hasFocus(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidget_hasMouseTracking(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->hasMouseTracking(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidget_hasMouse(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->hasMouse(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWidget_heightForWidth(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->heightForWidth((int) arg1); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWidget_height(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->height(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_hideEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_hideEvent((TQHideEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_hide(JNIEnv* env, jobject obj) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->public_hide(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QWidget_iconText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQWidget*) QtSupport::getQt(env, obj))->iconText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_icon(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->icon(), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_iconify(JNIEnv* env, jobject obj) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->iconify(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_imComposeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_imComposeEvent((TQIMEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_imEndEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_imEndEvent((TQIMEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_imStartEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_imStartEvent((TQIMEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidget_isActiveWindow(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isActiveWindow(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidget_isDesktop(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isDesktop(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidget_isDialog(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isDialog(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidget_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidget_isEnabledToTLW(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isEnabledToTLW(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidget_isEnabledTo(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isEnabledTo((TQWidget*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidget_isEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidget_isExtDev(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQPaintDevice*)(TQWidget*) QtSupport::getQt(env, obj))->isExtDev(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidget_isFocusEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isFocusEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidget_isFullScreen(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isFullScreen(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidget_isHidden(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isHidden(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidget_isInputMethodEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isInputMethodEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidget_isMaximized(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isMaximized(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidget_isMinimized(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isMinimized(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidget_isModal(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isModal(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidget_isPopup(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isPopup(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidget_isShown(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isShown(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidget_isTopLevel(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isTopLevel(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidget_isUpdatesEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isUpdatesEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidget_isVisibleToTLW(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isVisibleToTLW(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidget_isVisibleTo(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isVisibleTo((TQWidget*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidget_isVisible(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isVisible(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_keyReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_keyReleaseEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_keyboardGrabber(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQWidgetJBridge::keyboardGrabber(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_layout(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->layout(), "org.kde.qt.TQLayout"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_leaveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_lower(JNIEnv* env, jobject obj) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->lower(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_mapFromGlobal(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQWidget*) QtSupport::getQt(env, obj))->mapFromGlobal((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_mapFromParent(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQWidget*) QtSupport::getQt(env, obj))->mapFromParent((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_mapFrom(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQWidget*) QtSupport::getQt(env, obj))->mapFrom((TQWidget*) QtSupport::getQt(env, arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg2))), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_mapToGlobal(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQWidget*) QtSupport::getQt(env, obj))->mapToGlobal((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_mapToParent(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQWidget*) QtSupport::getQt(env, obj))->mapToParent((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_mapTo(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQWidget*) QtSupport::getQt(env, obj))->mapTo((TQWidget*) QtSupport::getQt(env, arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg2))), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWidget_maximumHeight(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->maximumHeight(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_maximumSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQWidget*) QtSupport::getQt(env, obj))->maximumSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWidget_maximumWidth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->maximumWidth(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWidget_metric(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_metric((int) arg1); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_microFocusHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQWidget*) QtSupport::getQt(env, obj))->microFocusHint()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWidget_minimumHeight(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->minimumHeight(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQWidget*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_minimumSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQWidget*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWidget_minimumWidth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->minimumWidth(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_mouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_mouseGrabber(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQWidgetJBridge::mouseGrabber(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_moveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_moveEvent((TQMoveEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_move__II(JNIEnv* env, jobject obj, jint x, jint y) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->move((int) x, (int) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_move__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->move((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_newTQWidget__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQWidgetJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_newTQWidget__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_newTQWidget__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 TQWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_newTQWidget__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 TQWidgetJBridge((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 jboolean JNICALL -Java_org_kde_qt_QWidget_ownCursor(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->ownCursor(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidget_ownFont(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->ownFont(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidget_ownPalette(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->ownPalette(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_paintEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidget_paintingActive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQPaintDevice*)(TQWidget*) QtSupport::getQt(env, obj))->paintingActive(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_paletteBackgroundColor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQWidget*) QtSupport::getQt(env, obj))->paletteBackgroundColor(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_paletteBackgroundPixmap(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->paletteBackgroundPixmap(), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_paletteChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_paletteChange((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_paletteForegroundColor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQWidget*) QtSupport::getQt(env, obj))->paletteForegroundColor(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_palette(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPalette *) &((TQWidget*) QtSupport::getQt(env, obj))->palette(), "org.kde.qt.TQPalette"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_parentWidget__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->parentWidget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_parentWidget__Z(JNIEnv* env, jobject obj, jboolean sameWindow) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->parentWidget((bool) sameWindow), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_polish(JNIEnv* env, jobject obj) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->public_polish(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_pos(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQWidget*) QtSupport::getQt(env, obj))->pos()), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_raise(JNIEnv* env, jobject obj) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->raise(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_recreate__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject parent, jint f, jobject p) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->recreate((TQWidget*) QtSupport::getQt(env, parent), (TQt::WFlags) f, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_recreate__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QPoint_2Z(JNIEnv* env, jobject obj, jobject parent, jint f, jobject p, jboolean showIt) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->recreate((TQWidget*) QtSupport::getQt(env, parent), (TQt::WFlags) f, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p), (bool) showIt); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_rect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQWidget*) QtSupport::getQt(env, obj))->rect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_releaseKeyboard(JNIEnv* env, jobject obj) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->releaseKeyboard(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_releaseMouse(JNIEnv* env, jobject obj) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->releaseMouse(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_repaint__(JNIEnv* env, jobject obj) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->repaint(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_repaint__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->repaint((int) x, (int) y, (int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_repaint__IIIIZ(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jboolean erase) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->repaint((int) x, (int) y, (int) w, (int) h, (bool) erase); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_repaint__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->repaint((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_repaint__Lorg_kde_qt_QRect_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean erase) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->repaint((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (bool) erase); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_repaint__Lorg_kde_qt_QRegion_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->repaint((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_repaint__Lorg_kde_qt_QRegion_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean erase) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->repaint((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1), (bool) erase); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_repaint__Z(JNIEnv* env, jobject obj, jboolean erase) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->repaint((bool) erase); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_reparent__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject parent, jint arg2, jobject arg3) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->reparent((TQWidget*) QtSupport::getQt(env, parent), (TQt::WFlags) arg2, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg3)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_reparent__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QPoint_2Z(JNIEnv* env, jobject obj, jobject parent, jint arg2, jobject arg3, jboolean showIt) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->reparent((TQWidget*) QtSupport::getQt(env, parent), (TQt::WFlags) arg2, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg3), (bool) showIt); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_reparent__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject parent, jobject arg2) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->reparent((TQWidget*) QtSupport::getQt(env, parent), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_reparent__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QPoint_2Z(JNIEnv* env, jobject obj, jobject parent, jobject arg2, jboolean showIt) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->reparent((TQWidget*) QtSupport::getQt(env, parent), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg2), (bool) showIt); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_resetInputContext(JNIEnv* env, jobject obj) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_resetInputContext(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_resize__II(JNIEnv* env, jobject obj, jint w, jint h) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->resize((int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_resize__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->resize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWidget_resolution(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQPaintDevice*)(TQWidget*) QtSupport::getQt(env, obj))->resolution(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_scroll__II(JNIEnv* env, jobject obj, jint dx, jint dy) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->scroll((int) dx, (int) dy); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_scroll__IILorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jint dx, jint dy, jobject arg3) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->scroll((int) dx, (int) dy, (const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg3)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setAcceptDrops(JNIEnv* env, jobject obj, jboolean on) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setAcceptDrops((bool) on); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setActiveWindow(JNIEnv* env, jobject obj) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->public_setActiveWindow(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setAutoMask(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setAutoMask((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setBackgroundColor(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setBackgroundColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setBackgroundMode__I(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setBackgroundMode((TQt::BackgroundMode) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setBackgroundMode__II(JNIEnv* env, jobject obj, jint arg1, jint arg2) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setBackgroundMode((TQt::BackgroundMode) arg1, (TQt::BackgroundMode) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setBackgroundOrigin(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setBackgroundOrigin((TQWidget::BackgroundOrigin) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setBackgroundPixmap(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setBackgroundPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setBaseSize__II(JNIEnv* env, jobject obj, jint basew, jint baseh) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setBaseSize((int) basew, (int) baseh); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setBaseSize__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setBaseSize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setCaption(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQWidget*) QtSupport::getQt(env, obj))->setCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setCursor(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setCursor((const TQCursor&)*(const TQCursor*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setDisabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setDisabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setEnabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setEnabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setEraseColor(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setEraseColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setErasePixmap(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setErasePixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setFixedHeight(JNIEnv* env, jobject obj, jint h) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setFixedHeight((int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setFixedSize__II(JNIEnv* env, jobject obj, jint w, jint h) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setFixedSize((int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setFixedSize__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setFixedSize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setFixedWidth(JNIEnv* env, jobject obj, jint w) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setFixedWidth((int) w); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setFocusPolicy(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setFocusPolicy((TQWidget::FocusPolicy) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setFocusProxy(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setFocusProxy((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setFocus(JNIEnv* env, jobject obj) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->public_setFocus(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setFont__Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setFont__Lorg_kde_qt_QFont_2Z(JNIEnv* env, jobject obj, jobject f, jboolean arg2) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, f), (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setGeometry__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setGeometry((int) x, (int) y, (int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setGeometry__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setGeometry((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setHidden(JNIEnv* env, jobject obj, jboolean hide) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setHidden((bool) hide); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setIconText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TQWidget*) QtSupport::getQt(env, obj))->setIconText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setIcon(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setIcon((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setInputMethodEnabled(JNIEnv* env, jobject obj, jboolean b) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setInputMethodEnabled((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setKeyCompression(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setKeyCompression((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setMask__Lorg_kde_qt_QBitmap_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setMask((const TQBitmap&)*(const TQBitmap*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setMask__Lorg_kde_qt_QRegion_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setMask((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setMaximumHeight(JNIEnv* env, jobject obj, jint maxh) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setMaximumHeight((int) maxh); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setMaximumSize__II(JNIEnv* env, jobject obj, jint maxw, jint maxh) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setMaximumSize((int) maxw, (int) maxh); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setMaximumSize__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setMaximumSize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setMaximumWidth(JNIEnv* env, jobject obj, jint maxw) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setMaximumWidth((int) maxw); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setMicroFocusHint__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setMicroFocusHint((int) x, (int) y, (int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setMicroFocusHint__IIIIZ(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jboolean text) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setMicroFocusHint((int) x, (int) y, (int) w, (int) h, (bool) text); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setMicroFocusHint__IIIIZLorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jboolean text, jobject f) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setMicroFocusHint((int) x, (int) y, (int) w, (int) h, (bool) text, (TQFont*) QtSupport::getQt(env, f)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setMinimumHeight(JNIEnv* env, jobject obj, jint minh) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setMinimumHeight((int) minh); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setMinimumSize__II(JNIEnv* env, jobject obj, jint minw, jint minh) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setMinimumSize((int) minw, (int) minh); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setMinimumSize__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setMinimumSize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setMinimumWidth(JNIEnv* env, jobject obj, jint minw) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setMinimumWidth((int) minw); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setMouseTracking(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setMouseTracking((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setName(JNIEnv* env, jobject obj, jstring name) -{ -static TQCString* _qstring_name = 0; - ((TQWidget*) QtSupport::getQt(env, obj))->setName((const char*) QtSupport::toCharString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setPaletteBackgroundColor(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setPaletteBackgroundColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setPaletteBackgroundPixmap(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setPaletteBackgroundPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setPaletteForegroundColor(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setPaletteForegroundColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setPalette__Lorg_kde_qt_QPalette_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setPalette__Lorg_kde_qt_QPalette_2Z(JNIEnv* env, jobject obj, jobject p, jboolean arg2) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, p), (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setResolution(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQPaintDevice*)(TQWidget*) QtSupport::getQt(env, obj))->setResolution((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setShown(JNIEnv* env, jobject obj, jboolean show) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setShown((bool) show); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setSizeIncrement__II(JNIEnv* env, jobject obj, jint w, jint h) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setSizeIncrement((int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setSizeIncrement__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setSizeIncrement((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setSizePolicy__II(JNIEnv* env, jobject obj, jint hor, jint ver) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setSizePolicy((TQSizePolicy::SizeType) hor, (TQSizePolicy::SizeType) ver); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setSizePolicy__IIZ(JNIEnv* env, jobject obj, jint hor, jint ver, jboolean hfw) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setSizePolicy((TQSizePolicy::SizeType) hor, (TQSizePolicy::SizeType) ver, (bool) hfw); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setSizePolicy__Lorg_kde_qt_QSizePolicy_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setSizePolicy((TQSizePolicy)*(TQSizePolicy*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_setStyle__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->setStyle((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)), "org.kde.qt.TQStyle"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setStyle__Lorg_kde_qt_QStyle_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setStyle((TQStyle*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setTabOrder(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) -{ - (void) cls; - TQWidgetJBridge::setTabOrder((TQWidget*) QtSupport::getQt(env, arg1), (TQWidget*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setUpdatesEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setUpdatesEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setWFlags(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setWFlags((TQt::WFlags) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setWState(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setWState((uint) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setWindowOpacity(JNIEnv* env, jobject obj, jdouble level) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setWindowOpacity((double) level); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_setWindowState(JNIEnv* env, jobject obj, jint windowState) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->setWindowState((uint) windowState); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_showEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_showFullScreen(JNIEnv* env, jobject obj) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->showFullScreen(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_showMaximized(JNIEnv* env, jobject obj) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->public_showMaximized(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_showMinimized(JNIEnv* env, jobject obj) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->public_showMinimized(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_showNormal(JNIEnv* env, jobject obj) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->public_showNormal(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_show(JNIEnv* env, jobject obj) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->public_show(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQWidget*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_sizeIncrement(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQWidget*) QtSupport::getQt(env, obj))->sizeIncrement()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_sizePolicy(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSizePolicy(((TQWidget*) QtSupport::getQt(env, obj))->sizePolicy()), "org.kde.qt.TQSizePolicy", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_size(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQWidget*) QtSupport::getQt(env, obj))->size()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_stackUnder(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->stackUnder((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_styleChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_style(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQStyle *) &((TQWidget*) QtSupport::getQt(env, obj))->style(), "org.kde.qt.TQStyle"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_tabletEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_tabletEvent((TQTabletEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWidget_testWFlags(JNIEnv* env, jobject obj, jint f) -{ - jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->testWFlags((TQt::WFlags) f); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWidget_testWState(JNIEnv* env, jobject obj, jint s) -{ - jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->testWState((TQt::WState) s); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_topLevelWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->topLevelWidget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QWidget_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQWidgetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QWidget_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQWidgetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_unsetCursor(JNIEnv* env, jobject obj) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->public_unsetCursor(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_unsetFont(JNIEnv* env, jobject obj) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->unsetFont(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_unsetPalette(JNIEnv* env, jobject obj) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->unsetPalette(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_updateGeometry(JNIEnv* env, jobject obj) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->updateGeometry(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_updateMask(JNIEnv* env, jobject obj) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_updateMask(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_update__(JNIEnv* env, jobject obj) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->update(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_update__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->update((int) x, (int) y, (int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_update__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidget*) QtSupport::getQt(env, obj))->update((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidget_visibleRect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQWidget*) QtSupport::getQt(env, obj))->visibleRect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_wheelEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWidget_width(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->width(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QWidget_winId(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((TQWidget*) QtSupport::getQt(env, obj))->winId(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_windowActivationChange(JNIEnv* env, jobject obj, jboolean oldActive) -{ - ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_windowActivationChange((bool) oldActive); - return; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_qt_QWidget_windowOpacity(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((TQWidget*) QtSupport::getQt(env, obj))->windowOpacity(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWidget_windowState(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->windowState(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWidget_x(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->x(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWidget_y(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->y(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_qt_QWidget_paintDevice(JNIEnv* env, jobject obj) -{ - return (jlong) (TQPaintDevice*)(TQWidget*) QtSupport::getQt(env, obj); -} - diff --git a/qtjava/javalib/qtjava/QWidget.h b/qtjava/javalib/qtjava/QWidget.h deleted file mode 100644 index ecde511d..00000000 --- a/qtjava/javalib/qtjava/QWidget.h +++ /dev/null @@ -1,311 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QWidget__ -#define __org_kde_qt_QWidget__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWidget_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_newTQWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_newTQWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_newTQWidget__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_newTQWidget__ (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QWidget_winId (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_style (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setStyle__Lorg_kde_qt_QStyle_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_setStyle__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isTopLevel (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isDialog (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isPopup (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isDesktop (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isModal (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isEnabledTo (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isEnabledToTLW (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_frameGeometry (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_geometry (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_x (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_y (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_pos (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_frameSize (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_size (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_width (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_height (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_rect (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_childrenRect (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_childrenRegion (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_minimumSize (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_maximumSize (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_minimumWidth (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_minimumHeight (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_maximumWidth (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_maximumHeight (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setMinimumSize__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setMinimumSize__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setMaximumSize__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setMaximumSize__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setMinimumWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setMinimumHeight (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setMaximumWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setMaximumHeight (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_sizeIncrement (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setSizeIncrement__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setSizeIncrement__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_baseSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setBaseSize__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setBaseSize__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setFixedSize__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setFixedSize__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setFixedWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setFixedHeight (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_mapToGlobal (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_mapFromGlobal (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_mapToParent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_mapFromParent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_mapTo (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_mapFrom (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_topLevelWidget (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_backgroundMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setBackgroundMode__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setBackgroundMode__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_foregroundColor (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_eraseColor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setEraseColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_erasePixmap (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setErasePixmap (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_colorGroup (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_palette (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_ownPalette (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setPalette__Lorg_kde_qt_QPalette_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_unsetPalette (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_paletteForegroundColor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setPaletteForegroundColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_paletteBackgroundColor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setPaletteBackgroundColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_paletteBackgroundPixmap (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setPaletteBackgroundPixmap (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_backgroundBrush (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_font (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_ownFont (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setFont__Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_unsetFont (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_fontMetrics (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_fontInfo (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_cursor (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_ownCursor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setCursor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_unsetCursor (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWidget_caption (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_icon (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWidget_iconText (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_hasMouseTracking (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_hasMouse (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setMask__Lorg_kde_qt_QBitmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setMask__Lorg_kde_qt_QRegion_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_clearMask (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_backgroundColor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setBackgroundColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_backgroundPixmap (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setBackgroundPixmap (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isActiveWindow (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setActiveWindow (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isFocusEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_focusPolicy (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setFocusPolicy (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_hasFocus (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setFocusProxy (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_focusProxy (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setInputMethodEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isInputMethodEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_grabMouse__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_grabMouse__Lorg_kde_qt_QCursor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_releaseMouse (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_grabKeyboard (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_releaseKeyboard (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isUpdatesEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_close__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isVisible (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isVisibleTo (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isVisibleToTLW (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_visibleRect (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isHidden (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isShown (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isMinimized (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isMaximized (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isFullScreen (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_windowState (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setWindowState (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_sizePolicy (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setSizePolicy__Lorg_kde_qt_QSizePolicy_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setSizePolicy__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setSizePolicy__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_heightForWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_clipRegion (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_layout (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_updateGeometry (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_reparent__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QPoint_2Z (JNIEnv *env, jobject, jobject, jint, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_reparent__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_reparent__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QPoint_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_reparent__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_recreate__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QPoint_2Z (JNIEnv *env, jobject, jobject, jint, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_recreate__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_erase__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_erase__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_erase__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_erase__Lorg_kde_qt_QRegion_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_scroll__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_scroll__IILorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_drawText__IILjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_drawText__Lorg_kde_qt_QPoint_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_focusWidget (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_microFocusHint (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_acceptDrops (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setAcceptDrops (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setAutoMask (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_autoMask (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setBackgroundOrigin (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_backgroundOrigin (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_backgroundOffset (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_customWhatsThis (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_parentWidget__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_parentWidget__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_testWState (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_testWFlags (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_childAt__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_childAt__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_childAt__Lorg_kde_qt_QPoint_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_childAt__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setWindowOpacity (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QWidget_windowOpacity (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setPalette__Lorg_kde_qt_QPalette_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setFont__Lorg_kde_qt_QFont_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setDisabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setCaption (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setIcon (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setIconText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setMouseTracking (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setFocus (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_clearFocus (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setUpdatesEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_update__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_update__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_update__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_repaint__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_repaint__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_repaint__IIIIZ (JNIEnv *env, jobject, jint, jint, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_repaint__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_repaint__Lorg_kde_qt_QRect_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_repaint__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_repaint__Lorg_kde_qt_QRegion_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_repaint__Lorg_kde_qt_QRegion_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_show (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_hide (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setShown (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setHidden (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_iconify (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_showMinimized (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_showMaximized (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_showFullScreen (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_showNormal (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_polish (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_constPolish (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_close__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_raise (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_lower (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_stackUnder (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_move__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_move__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_resize__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_resize__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setGeometry__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setGeometry__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_adjustSize (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWidget_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWidget_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setTabOrder (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_mouseGrabber (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_keyboardGrabber (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_find (JNIEnv *env, jclass, jlong); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_event (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_mouseDoubleClickEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_mouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_wheelEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_keyReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_focusInEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_focusOutEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_enterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_leaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_moveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_closeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_contextMenuEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_imStartEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_imComposeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_imEndEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_tabletEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_dragEnterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_dragMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_dragLeaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_dropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_showEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_hideEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_updateMask (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_styleChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_enabledChange (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_paletteChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_fontChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_windowActivationChange (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_metric (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_resetInputContext (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_create__JZZ (JNIEnv *env, jobject, jlong, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_create__JZ (JNIEnv *env, jobject, jlong, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_create__J (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_create__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_destroy__ZZ (JNIEnv *env, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_destroy__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_destroy__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_getWState (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setWState (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_clearWState (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_getWFlags (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setWFlags (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_clearWFlags (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_focusNextPrevChild (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_focusData (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setKeyCompression (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setMicroFocusHint__IIIIZLorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setMicroFocusHint__IIIIZ (JNIEnv *env, jobject, jint, jint, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setMicroFocusHint__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_devType (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isExtDev (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_paintingActive (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setResolution (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_resolution (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_fontMet__Lorg_kde_qt_QFont_2ILjava_lang_String_2I (JNIEnv *env, jobject, jobject, jint, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_fontMet__Lorg_kde_qt_QFont_2ILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_fontMet__Lorg_kde_qt_QFont_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_fontInf (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QWidget_paintDevice (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QWidget__ */ diff --git a/qtjava/javalib/qtjava/QWidgetItem.cpp b/qtjava/javalib/qtjava/QWidgetItem.cpp deleted file mode 100644 index beb5a7f6..00000000 --- a/qtjava/javalib/qtjava/QWidgetItem.cpp +++ /dev/null @@ -1,119 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -class TQWidgetItemJBridge : public TQWidgetItem -{ -public: - TQWidgetItemJBridge(TQWidget* arg1) : TQWidgetItem(arg1) {}; - ~TQWidgetItemJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidgetItem_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QWidgetItem_finalize(env, obj); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWidgetItem_expanding(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQWidgetItem*) QtSupport::getQt(env, obj))->expanding(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidgetItem_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQLayoutItem*)(TQWidgetItem*)QtSupport::getQt(env, obj))->layout() == 0 && ((TQLayoutItem*)(TQWidgetItem*)QtSupport::getQt(env, obj))->widget() == 0 && ((TQLayoutItem*)(TQWidgetItem*)QtSupport::getQt(env, obj))->spacerItem() == 0) { - delete (TQWidgetItem*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidgetItem_geometry(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQWidgetItem*) QtSupport::getQt(env, obj))->geometry()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidgetItem_hasHeightForWidth(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQWidgetItem*) QtSupport::getQt(env, obj))->hasHeightForWidth(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWidgetItem_heightForWidth(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQWidgetItem*) QtSupport::getQt(env, obj))->heightForWidth((int) arg1); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidgetItem_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidgetItem_isEmpty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQWidgetItem*) QtSupport::getQt(env, obj))->isEmpty(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidgetItem_maximumSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQWidgetItem*) QtSupport::getQt(env, obj))->maximumSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidgetItem_minimumSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQWidgetItem*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidgetItem_newTQWidgetItem(JNIEnv* env, jobject obj, jobject w) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQWidgetItemJBridge((TQWidget*) QtSupport::getQt(env, w))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidgetItem_setGeometry(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidgetItem*) QtSupport::getQt(env, obj))->setGeometry((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidgetItem_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQWidgetItem*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidgetItem_widget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidgetItem*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget"); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QWidgetItem.h b/qtjava/javalib/qtjava/QWidgetItem.h deleted file mode 100644 index 5729cecd..00000000 --- a/qtjava/javalib/qtjava/QWidgetItem.h +++ /dev/null @@ -1,32 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QWidgetItem__ -#define __org_kde_qt_QWidgetItem__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetItem_newTQWidgetItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidgetItem_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidgetItem_minimumSize (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidgetItem_maximumSize (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidgetItem_expanding (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidgetItem_isEmpty (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetItem_setGeometry (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidgetItem_geometry (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidgetItem_widget (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidgetItem_hasHeightForWidth (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidgetItem_heightForWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetItem_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetItem_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidgetItem_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QWidgetItem__ */ diff --git a/qtjava/javalib/qtjava/QWidgetStack.cpp b/qtjava/javalib/qtjava/QWidgetStack.cpp deleted file mode 100644 index 178a78b8..00000000 --- a/qtjava/javalib/qtjava/QWidgetStack.cpp +++ /dev/null @@ -1,601 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include - -class TQWidgetStackJBridge : public TQWidgetStack -{ -public: - TQWidgetStackJBridge(TQWidget* arg1,const char* arg2) : TQWidgetStack(arg1,arg2) {}; - TQWidgetStackJBridge(TQWidget* arg1) : TQWidgetStack(arg1) {}; - TQWidgetStackJBridge() : TQWidgetStack() {}; - TQWidgetStackJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQWidgetStack(arg1,arg2,arg3) {}; - void protected_frameChanged() { - TQWidgetStack::frameChanged(); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQWidgetStack::resizeEvent(arg1); - return; - } - void protected_setChildGeometries() { - TQWidgetStack::setChildGeometries(); - return; - } - void protected_childEvent(TQChildEvent* arg1) { - TQWidgetStack::childEvent(arg1); - return; - } - ~TQWidgetStackJBridge() {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")) { - TQWidgetStack::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 setChildGeometries() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWidgetStack","setChildGeometries")) { - TQWidgetStack::setChildGeometries(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWidgetStack","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.qt.TQWidgetStack","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.qt.TQWidgetStack","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.qt.TQWidgetStack","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.qt.TQWidgetStack","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWidgetStack","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")) { - TQWidgetStack::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.qt.TQWidgetStack","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWidgetStack","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.qt.TQWidgetStack","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.qt.TQWidgetStack",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.qt.TQWidgetStack","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWidgetStack_addWidget__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jint xret = (jint) ((TQWidgetStack*) QtSupport::getQt(env, obj))->addWidget((TQWidget*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWidgetStack_addWidget__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2) -{ - jint xret = (jint) ((TQWidgetStack*) QtSupport::getQt(env, obj))->addWidget((TQWidget*) QtSupport::getQt(env, arg1), (int) arg2); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidgetStack_childEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidgetStackJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TQChildEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QWidgetStack_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQWidgetStack*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidgetStack_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QWidgetStack_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidgetStack_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQWidgetStack*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQWidgetStack*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidgetStack_frameChanged(JNIEnv* env, jobject obj) -{ - ((TQWidgetStackJBridge*) QtSupport::getQt(env, obj))->protected_frameChanged(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWidgetStack_id(JNIEnv* env, jobject obj, jobject arg1) -{ - jint xret = (jint) ((TQWidgetStack*) QtSupport::getQt(env, obj))->id((TQWidget*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWidgetStack_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidgetStack_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidgetStack*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidgetStack_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQWidgetStack*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidgetStack_newTQWidgetStack__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQWidgetStackJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidgetStack_newTQWidgetStack__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQWidgetStackJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidgetStack_newTQWidgetStack__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 TQWidgetStackJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidgetStack_newTQWidgetStack__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 TQWidgetStackJBridge((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_qt_QWidgetStack_raiseWidget__I(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQWidgetStack*) QtSupport::getQt(env, obj))->raiseWidget((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidgetStack_raiseWidget__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidgetStack*) QtSupport::getQt(env, obj))->raiseWidget((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidgetStack_removeWidget(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidgetStack*) QtSupport::getQt(env, obj))->removeWidget((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidgetStack_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidgetStackJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidgetStack_setChildGeometries(JNIEnv* env, jobject obj) -{ - ((TQWidgetStackJBridge*) QtSupport::getQt(env, obj))->protected_setChildGeometries(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidgetStack_setFrameRect(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWidgetStack*) QtSupport::getQt(env, obj))->setFrameRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWidgetStack_show(JNIEnv* env, jobject obj) -{ - ((TQWidgetStack*) QtSupport::getQt(env, obj))->show(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidgetStack_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQWidgetStack*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QWidgetStack_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQWidgetStackJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QWidgetStack_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQWidgetStackJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidgetStack_visibleWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidgetStack*) QtSupport::getQt(env, obj))->visibleWidget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWidgetStack_widget(JNIEnv* env, jobject obj, jint arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidgetStack*) QtSupport::getQt(env, obj))->widget((int) arg1), "org.kde.qt.TQWidget"); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QWidgetStack.h b/qtjava/javalib/qtjava/QWidgetStack.h deleted file mode 100644 index 7e783e56..00000000 --- a/qtjava/javalib/qtjava/QWidgetStack.h +++ /dev/null @@ -1,45 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QWidgetStack__ -#define __org_kde_qt_QWidgetStack__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidgetStack_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWidgetStack_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_newTQWidgetStack__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_newTQWidgetStack__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_newTQWidgetStack__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_newTQWidgetStack__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidgetStack_addWidget__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidgetStack_addWidget__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_removeWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidgetStack_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidgetStack_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_show (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidgetStack_widget (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidgetStack_id (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidgetStack_visibleWidget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_setFrameRect (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_raiseWidget__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_raiseWidget__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWidgetStack_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWidgetStack_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_frameChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_setChildGeometries (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_childEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidgetStack_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QWidgetStack__ */ diff --git a/qtjava/javalib/qtjava/QWizard.cpp b/qtjava/javalib/qtjava/QWizard.cpp deleted file mode 100644 index df972f64..00000000 --- a/qtjava/javalib/qtjava/QWizard.cpp +++ /dev/null @@ -1,750 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include - -class TQWizardJBridge : public TQWizard -{ -public: - TQWizardJBridge(TQWidget* arg1,const char* arg2,bool arg3,TQt::WFlags arg4) : TQWizard(arg1,arg2,arg3,arg4) {}; - TQWizardJBridge(TQWidget* arg1,const char* arg2,bool arg3) : TQWizard(arg1,arg2,arg3) {}; - TQWizardJBridge(TQWidget* arg1,const char* arg2) : TQWizard(arg1,arg2) {}; - TQWizardJBridge(TQWidget* arg1) : TQWizard(arg1) {}; - TQWizardJBridge() : TQWizard() {}; - void protected_layOutButtonRow(TQHBoxLayout* arg1) { - TQWizard::layOutButtonRow(arg1); - return; - } - void protected_layOutTitleRow(TQHBoxLayout* arg1,const TQString& arg2) { - TQWizard::layOutTitleRow(arg1,arg2); - return; - } - void protected_back() { - TQWizard::back(); - return; - } - void protected_next() { - TQWizard::next(); - return; - } - void protected_help() { - TQWizard::help(); - return; - } - ~TQWizardJBridge() {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.qt.TQWizard","accept")) { - TQDialog::accept(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWizard","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.qt.TQWizard","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.qt.TQWizard","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.qt.TQWizard","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.qt.TQWizard","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWizard","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.qt.TQWizard","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.qt.TQWizard","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWizard","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.qt.TQWizard","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.qt.TQWizard","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.qt.TQWizard","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.qt.TQWizard","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWizard_addPage(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - ((TQWizard*) QtSupport::getQt(env, obj))->addPage((TQWidget*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWizard_appropriate(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TQWizard*) QtSupport::getQt(env, obj))->appropriate((TQWidget*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWizard_backButton(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWizard*) QtSupport::getQt(env, obj))->backButton(), "org.kde.qt.TQPushButton"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWizard_back(JNIEnv* env, jobject obj) -{ - ((TQWizardJBridge*) QtSupport::getQt(env, obj))->protected_back(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWizard_cancelButton(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWizard*) QtSupport::getQt(env, obj))->cancelButton(), "org.kde.qt.TQPushButton"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QWizard_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQWizard*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWizard_currentPage(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWizard*) QtSupport::getQt(env, obj))->currentPage(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWizard_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QWizard_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWizard_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - jboolean xret = (jboolean) ((TQWizard*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWizard_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQWizard*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQWizard*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWizard_finishButton(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWizard*) QtSupport::getQt(env, obj))->finishButton(), "org.kde.qt.TQPushButton"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWizard_helpButton(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWizard*) QtSupport::getQt(env, obj))->helpButton(), "org.kde.qt.TQPushButton"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWizard_help(JNIEnv* env, jobject obj) -{ - ((TQWizardJBridge*) QtSupport::getQt(env, obj))->protected_help(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWizard_indexOf(JNIEnv* env, jobject obj, jobject arg1) -{ - jint xret = (jint) ((TQWizard*) QtSupport::getQt(env, obj))->indexOf((TQWidget*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWizard_insertPage(JNIEnv* env, jobject obj, jobject arg1, jstring arg2, jint arg3) -{ -static TQString* _qstring_arg2 = 0; - ((TQWizard*) QtSupport::getQt(env, obj))->insertPage((TQWidget*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (int) arg3); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWizard_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWizard_layOutButtonRow(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWizardJBridge*) QtSupport::getQt(env, obj))->protected_layOutButtonRow((TQHBoxLayout*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWizard_layOutTitleRow(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - ((TQWizardJBridge*) QtSupport::getQt(env, obj))->protected_layOutTitleRow((TQHBoxLayout*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWizard_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWizard*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWizard_newTQWizard__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQWizardJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWizard_newTQWizard__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQWizardJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWizard_newTQWizard__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 TQWizardJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWizard_newTQWizard__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 TQWizardJBridge((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_qt_QWizard_newTQWizard__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 TQWizardJBridge((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 jobject JNICALL -Java_org_kde_qt_QWizard_nextButton(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWizard*) QtSupport::getQt(env, obj))->nextButton(), "org.kde.qt.TQPushButton"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWizard_next(JNIEnv* env, jobject obj) -{ - ((TQWizardJBridge*) QtSupport::getQt(env, obj))->protected_next(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QWizard_pageCount(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQWizard*) QtSupport::getQt(env, obj))->pageCount(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWizard_page(JNIEnv* env, jobject obj, jint arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWizard*) QtSupport::getQt(env, obj))->page((int) arg1), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWizard_removePage(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWizard*) QtSupport::getQt(env, obj))->removePage((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWizard_setAppropriate(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) -{ - ((TQWizard*) QtSupport::getQt(env, obj))->setAppropriate((TQWidget*) QtSupport::getQt(env, arg1), (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWizard_setBackEnabled(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) -{ - ((TQWizard*) QtSupport::getQt(env, obj))->setBackEnabled((TQWidget*) QtSupport::getQt(env, arg1), (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWizard_setFinishEnabled(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) -{ - ((TQWizard*) QtSupport::getQt(env, obj))->setFinishEnabled((TQWidget*) QtSupport::getQt(env, arg1), (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWizard_setFinish(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) -{ - ((TQWizard*) QtSupport::getQt(env, obj))->setFinish((TQWidget*) QtSupport::getQt(env, arg1), (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWizard_setFont(JNIEnv* env, jobject obj, jobject font) -{ - ((TQWizard*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWizard_setHelpEnabled(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) -{ - ((TQWizard*) QtSupport::getQt(env, obj))->setHelpEnabled((TQWidget*) QtSupport::getQt(env, arg1), (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWizard_setNextEnabled(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) -{ - ((TQWizard*) QtSupport::getQt(env, obj))->setNextEnabled((TQWidget*) QtSupport::getQt(env, arg1), (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWizard_setTitleFont(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWizard*) QtSupport::getQt(env, obj))->setTitleFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWizard_setTitle(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - ((TQWizard*) QtSupport::getQt(env, obj))->setTitle((TQWidget*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWizard_showPage(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWizard*) QtSupport::getQt(env, obj))->showPage((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWizard_show(JNIEnv* env, jobject obj) -{ - ((TQWizard*) QtSupport::getQt(env, obj))->show(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWizard_titleFont(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((TQWizard*) QtSupport::getQt(env, obj))->titleFont()), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QWizard_title(JNIEnv* env, jobject obj, jobject arg1) -{ - TQString _qstring; - _qstring = ((TQWizard*) QtSupport::getQt(env, obj))->title((TQWidget*) QtSupport::getQt(env, arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QWizard_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQWizardJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QWizard_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQWizardJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QWizard.h b/qtjava/javalib/qtjava/QWizard.h deleted file mode 100644 index c4b7ef8b..00000000 --- a/qtjava/javalib/qtjava/QWizard.h +++ /dev/null @@ -1,62 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QWizard__ -#define __org_kde_qt_QWizard__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWizard_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWizard_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_newTQWizard__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZI (JNIEnv *env, jobject, jobject, jstring, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_newTQWizard__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_newTQWizard__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_newTQWizard__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_newTQWizard__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_show (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_setFont (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_addPage (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_insertPage (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_removePage (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWizard_title (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_setTitle (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWizard_titleFont (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_setTitleFont (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_showPage (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWizard_currentPage (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWizard_page (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWizard_pageCount (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWizard_indexOf (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWizard_appropriate (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_setAppropriate (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWizard_backButton (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWizard_nextButton (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWizard_finishButton (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWizard_cancelButton (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWizard_helpButton (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWizard_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_setBackEnabled (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_setNextEnabled (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_setFinishEnabled (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_setHelpEnabled (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_setFinish (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWizard_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWizard_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_layOutButtonRow (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_layOutTitleRow (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_back (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_next (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_help (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWizard_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QWizard__ */ diff --git a/qtjava/javalib/qtjava/QWorkspace.cpp b/qtjava/javalib/qtjava/QWorkspace.cpp deleted file mode 100644 index c1676464..00000000 --- a/qtjava/javalib/qtjava/QWorkspace.cpp +++ /dev/null @@ -1,608 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -class TQWorkspaceJBridge : public TQWorkspace -{ -public: - TQWorkspaceJBridge(TQWidget* arg1,const char* arg2) : TQWorkspace(arg1,arg2) {}; - TQWorkspaceJBridge(TQWidget* arg1) : TQWorkspace(arg1) {}; - TQWorkspaceJBridge() : TQWorkspace() {}; - void protected_styleChange(TQStyle& arg1) { - TQWorkspace::styleChange(arg1); - return; - } - void protected_childEvent(TQChildEvent* arg1) { - TQWorkspace::childEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQWorkspace::resizeEvent(arg1); - return; - } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) TQWorkspace::eventFilter(arg1,arg2); - } - void protected_showEvent(TQShowEvent* arg1) { - TQWorkspace::showEvent(arg1); - return; - } - void protected_hideEvent(TQHideEvent* arg1) { - TQWorkspace::hideEvent(arg1); - return; - } - void protected_wheelEvent(TQWheelEvent* arg1) { - TQWorkspace::wheelEvent(arg1); - return; - } - ~TQWorkspaceJBridge() {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")) { - TQWorkspace::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.qt.TQWorkspace","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.qt.TQWorkspace","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.qt.TQWorkspace","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.qt.TQWorkspace","hide")) { - TQWidget::hide(); - } - 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.qt.TQWorkspace","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWorkspace::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWorkspace","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWorkspace","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")) { - TQWorkspace::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 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")) { - TQWorkspace::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.qt.TQWorkspace","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWorkspace","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.qt.TQWorkspace","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWorkspace::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.qt.TQWorkspace","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWorkspace_activateNextWindow(JNIEnv* env, jobject obj) -{ - ((TQWorkspace*) QtSupport::getQt(env, obj))->activateNextWindow(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWorkspace_activatePrevWindow(JNIEnv* env, jobject obj) -{ - ((TQWorkspace*) QtSupport::getQt(env, obj))->activatePrevWindow(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWorkspace_activeWindow(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWorkspace*) QtSupport::getQt(env, obj))->activeWindow(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWorkspace_cascade(JNIEnv* env, jobject obj) -{ - ((TQWorkspace*) QtSupport::getQt(env, obj))->cascade(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWorkspace_childEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWorkspaceJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TQChildEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QWorkspace_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQWorkspace*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWorkspace_closeActiveWindow(JNIEnv* env, jobject obj) -{ - ((TQWorkspace*) QtSupport::getQt(env, obj))->closeActiveWindow(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWorkspace_closeAllWindows(JNIEnv* env, jobject obj) -{ - ((TQWorkspace*) QtSupport::getQt(env, obj))->closeAllWindows(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWorkspace_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QWorkspace_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWorkspace_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - jboolean xret = (jboolean) ((TQWorkspaceJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWorkspace_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQWorkspace*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQWorkspace*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWorkspace_hideEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQWorkspaceJBridge*) QtSupport::getQt(env, obj))->protected_hideEvent((TQHideEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWorkspace_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWorkspace_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWorkspace*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWorkspace_newTQWorkspace__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQWorkspaceJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWorkspace_newTQWorkspace__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQWorkspaceJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWorkspace_newTQWorkspace__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 TQWorkspaceJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWorkspace_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWorkspaceJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QWorkspace_scrollBarsEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQWorkspace*) QtSupport::getQt(env, obj))->scrollBarsEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWorkspace_setPaletteBackgroundColor(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWorkspace*) QtSupport::getQt(env, obj))->setPaletteBackgroundColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWorkspace_setPaletteBackgroundPixmap(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWorkspace*) QtSupport::getQt(env, obj))->setPaletteBackgroundPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWorkspace_setScrollBarsEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TQWorkspace*) QtSupport::getQt(env, obj))->setScrollBarsEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWorkspace_showEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQWorkspaceJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWorkspace_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQWorkspace*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWorkspace_styleChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TQWorkspaceJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWorkspace_tile(JNIEnv* env, jobject obj) -{ - ((TQWorkspace*) QtSupport::getQt(env, obj))->tile(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QWorkspace_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQWorkspaceJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QWorkspace_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = TQWorkspaceJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QWorkspace_wheelEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TQWorkspaceJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWorkspace_windowList__(JNIEnv* env, jobject obj) -{ - TQWidgetList _qlist; - _qlist = ((TQWorkspace*) QtSupport::getQt(env, obj))->windowList(); - return (jobject) QtSupport::arrayWithTQWidgetList(env, (TQWidgetList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QWorkspace_windowList__I(JNIEnv* env, jobject obj, jint order) -{ - TQWidgetList _qlist; - _qlist = ((TQWorkspace*) QtSupport::getQt(env, obj))->windowList((TQWorkspace::WindowOrder) order); - return (jobject) QtSupport::arrayWithTQWidgetList(env, (TQWidgetList*) &_qlist); -} - diff --git a/qtjava/javalib/qtjava/QWorkspace.h b/qtjava/javalib/qtjava/QWorkspace.h deleted file mode 100644 index 3a88baac..00000000 --- a/qtjava/javalib/qtjava/QWorkspace.h +++ /dev/null @@ -1,49 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QWorkspace__ -#define __org_kde_qt_QWorkspace__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWorkspace_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWorkspace_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_newTQWorkspace__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_newTQWorkspace__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_newTQWorkspace__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWorkspace_activeWindow (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWorkspace_windowList__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWorkspace_windowList__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWorkspace_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWorkspace_scrollBarsEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_setScrollBarsEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_setPaletteBackgroundColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_setPaletteBackgroundPixmap (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_cascade (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_tile (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_closeActiveWindow (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_closeAllWindows (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_activateNextWindow (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_activatePrevWindow (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWorkspace_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWorkspace_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_styleChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_childEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWorkspace_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_showEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_hideEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_wheelEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWorkspace_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QWorkspace__ */ diff --git a/qtjava/javalib/qtjava/QXmlAttributes.cpp b/qtjava/javalib/qtjava/QXmlAttributes.cpp deleted file mode 100644 index d760ba3f..00000000 --- a/qtjava/javalib/qtjava/QXmlAttributes.cpp +++ /dev/null @@ -1,174 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQXmlAttributesJBridge : public TQXmlAttributes -{ -public: - TQXmlAttributesJBridge() : TQXmlAttributes() {}; - ~TQXmlAttributesJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlAttributes_append(JNIEnv* env, jobject obj, jstring qName, jstring uri, jstring localPart, jstring value) -{ -static TQString* _qstring_qName = 0; -static TQString* _qstring_uri = 0; -static TQString* _qstring_localPart = 0; -static TQString* _qstring_value = 0; - ((TQXmlAttributes*) QtSupport::getQt(env, obj))->append((const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName), (const TQString&)*(TQString*) QtSupport::toTQString(env, uri, &_qstring_uri), (const TQString&)*(TQString*) QtSupport::toTQString(env, localPart, &_qstring_localPart), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlAttributes_clear(JNIEnv* env, jobject obj) -{ - ((TQXmlAttributes*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QXmlAttributes_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQXmlAttributes*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlAttributes_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QXmlAttributes_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlAttributes_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQXmlAttributes*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QXmlAttributes_index__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring qName) -{ -static TQString* _qstring_qName = 0; - jint xret = (jint) ((TQXmlAttributes*) QtSupport::getQt(env, obj))->index((const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QXmlAttributes_index__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring uri, jstring localPart) -{ -static TQString* _qstring_uri = 0; -static TQString* _qstring_localPart = 0; - jint xret = (jint) ((TQXmlAttributes*) QtSupport::getQt(env, obj))->index((const TQString&)*(TQString*) QtSupport::toTQString(env, uri, &_qstring_uri), (const TQString&)*(TQString*) QtSupport::toTQString(env, localPart, &_qstring_localPart)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlAttributes_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QXmlAttributes_length(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQXmlAttributes*) QtSupport::getQt(env, obj))->length(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QXmlAttributes_localName(JNIEnv* env, jobject obj, jint index) -{ - TQString _qstring; - _qstring = ((TQXmlAttributes*) QtSupport::getQt(env, obj))->localName((int) index); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlAttributes_newTQXmlAttributes(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQXmlAttributesJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QXmlAttributes_qName(JNIEnv* env, jobject obj, jint index) -{ - TQString _qstring; - _qstring = ((TQXmlAttributes*) QtSupport::getQt(env, obj))->qName((int) index); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QXmlAttributes_type__I(JNIEnv* env, jobject obj, jint index) -{ - TQString _qstring; - _qstring = ((TQXmlAttributes*) QtSupport::getQt(env, obj))->type((int) index); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QXmlAttributes_type__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring qName) -{ - TQString _qstring; -static TQString* _qstring_qName = 0; - _qstring = ((TQXmlAttributes*) QtSupport::getQt(env, obj))->type((const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QXmlAttributes_type__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring uri, jstring localName) -{ - TQString _qstring; -static TQString* _qstring_uri = 0; -static TQString* _qstring_localName = 0; - _qstring = ((TQXmlAttributes*) QtSupport::getQt(env, obj))->type((const TQString&)*(TQString*) QtSupport::toTQString(env, uri, &_qstring_uri), (const TQString&)*(TQString*) QtSupport::toTQString(env, localName, &_qstring_localName)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QXmlAttributes_uri(JNIEnv* env, jobject obj, jint index) -{ - TQString _qstring; - _qstring = ((TQXmlAttributes*) QtSupport::getQt(env, obj))->uri((int) index); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QXmlAttributes_value__I(JNIEnv* env, jobject obj, jint index) -{ - TQString _qstring; - _qstring = ((TQXmlAttributes*) QtSupport::getQt(env, obj))->value((int) index); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QXmlAttributes_value__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring qName) -{ - TQString _qstring; -static TQString* _qstring_qName = 0; - _qstring = ((TQXmlAttributes*) QtSupport::getQt(env, obj))->value((const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QXmlAttributes_value__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring uri, jstring localName) -{ - TQString _qstring; -static TQString* _qstring_uri = 0; -static TQString* _qstring_localName = 0; - _qstring = ((TQXmlAttributes*) QtSupport::getQt(env, obj))->value((const TQString&)*(TQString*) QtSupport::toTQString(env, uri, &_qstring_uri), (const TQString&)*(TQString*) QtSupport::toTQString(env, localName, &_qstring_localName)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QXmlAttributes.h b/qtjava/javalib/qtjava/QXmlAttributes.h deleted file mode 100644 index d29d02f5..00000000 --- a/qtjava/javalib/qtjava/QXmlAttributes.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QXmlAttributes__ -#define __org_kde_qt_QXmlAttributes__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlAttributes_newTQXmlAttributes (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QXmlAttributes_index__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QXmlAttributes_index__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QXmlAttributes_length (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QXmlAttributes_count (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlAttributes_localName (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlAttributes_qName (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlAttributes_uri (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlAttributes_type__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlAttributes_type__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlAttributes_type__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlAttributes_value__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlAttributes_value__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlAttributes_value__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlAttributes_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlAttributes_append (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlAttributes_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlAttributes_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlAttributes_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QXmlAttributes__ */ diff --git a/qtjava/javalib/qtjava/QXmlContentHandler.cpp b/qtjava/javalib/qtjava/QXmlContentHandler.cpp deleted file mode 100644 index 2cef80a7..00000000 --- a/qtjava/javalib/qtjava/QXmlContentHandler.cpp +++ /dev/null @@ -1,106 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlContentHandler_characters(JNIEnv* env, jobject obj, jstring ch) -{ -static TQString* _qstring_ch = 0; - jboolean xret = (jboolean) ((TQXmlContentHandler*) QtSupport::getQt(env, obj))->characters((const TQString&)*(TQString*) QtSupport::toTQString(env, ch, &_qstring_ch)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlContentHandler_endDocument(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQXmlContentHandler*) QtSupport::getQt(env, obj))->endDocument(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlContentHandler_endElement(JNIEnv* env, jobject obj, jstring namespaceURI, jstring localName, jstring qName) -{ -static TQString* _qstring_namespaceURI = 0; -static TQString* _qstring_localName = 0; -static TQString* _qstring_qName = 0; - jboolean xret = (jboolean) ((TQXmlContentHandler*) QtSupport::getQt(env, obj))->endElement((const TQString&)*(TQString*) QtSupport::toTQString(env, namespaceURI, &_qstring_namespaceURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, localName, &_qstring_localName), (const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlContentHandler_endPrefixMapping(JNIEnv* env, jobject obj, jstring prefix) -{ -static TQString* _qstring_prefix = 0; - jboolean xret = (jboolean) ((TQXmlContentHandler*) QtSupport::getQt(env, obj))->endPrefixMapping((const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QXmlContentHandler_errorString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQXmlContentHandler*) QtSupport::getQt(env, obj))->errorString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlContentHandler_ignorableWhitespace(JNIEnv* env, jobject obj, jstring ch) -{ -static TQString* _qstring_ch = 0; - jboolean xret = (jboolean) ((TQXmlContentHandler*) QtSupport::getQt(env, obj))->ignorableWhitespace((const TQString&)*(TQString*) QtSupport::toTQString(env, ch, &_qstring_ch)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlContentHandler_processingInstruction(JNIEnv* env, jobject obj, jstring target, jstring data) -{ -static TQString* _qstring_target = 0; -static TQString* _qstring_data = 0; - jboolean xret = (jboolean) ((TQXmlContentHandler*) QtSupport::getQt(env, obj))->processingInstruction((const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target), (const TQString&)*(TQString*) QtSupport::toTQString(env, data, &_qstring_data)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlContentHandler_setDocumentLocator(JNIEnv* env, jobject obj, jobject locator) -{ - ((TQXmlContentHandler*) QtSupport::getQt(env, obj))->setDocumentLocator((TQXmlLocator*) QtSupport::getQt(env, locator)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlContentHandler_skippedEntity(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) ((TQXmlContentHandler*) QtSupport::getQt(env, obj))->skippedEntity((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlContentHandler_startDocument(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQXmlContentHandler*) QtSupport::getQt(env, obj))->startDocument(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlContentHandler_startElement(JNIEnv* env, jobject obj, jstring namespaceURI, jstring localName, jstring qName, jobject atts) -{ -static TQString* _qstring_namespaceURI = 0; -static TQString* _qstring_localName = 0; -static TQString* _qstring_qName = 0; - jboolean xret = (jboolean) ((TQXmlContentHandler*) QtSupport::getQt(env, obj))->startElement((const TQString&)*(TQString*) QtSupport::toTQString(env, namespaceURI, &_qstring_namespaceURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, localName, &_qstring_localName), (const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName), (const TQXmlAttributes&)*(const TQXmlAttributes*) QtSupport::getQt(env, atts)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlContentHandler_startPrefixMapping(JNIEnv* env, jobject obj, jstring prefix, jstring uri) -{ -static TQString* _qstring_prefix = 0; -static TQString* _qstring_uri = 0; - jboolean xret = (jboolean) ((TQXmlContentHandler*) QtSupport::getQt(env, obj))->startPrefixMapping((const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix), (const TQString&)*(TQString*) QtSupport::toTQString(env, uri, &_qstring_uri)); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QXmlContentHandler.h b/qtjava/javalib/qtjava/QXmlContentHandler.h deleted file mode 100644 index 76bbf0d4..00000000 --- a/qtjava/javalib/qtjava/QXmlContentHandler.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QXmlContentHandler__ -#define __org_kde_qt_QXmlContentHandler__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlContentHandler_setDocumentLocator (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlContentHandler_startDocument (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlContentHandler_endDocument (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlContentHandler_startPrefixMapping (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlContentHandler_endPrefixMapping (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlContentHandler_startElement (JNIEnv *env, jobject, jstring, jstring, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlContentHandler_endElement (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlContentHandler_characters (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlContentHandler_ignorableWhitespace (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlContentHandler_processingInstruction (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlContentHandler_skippedEntity (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlContentHandler_errorString (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QXmlContentHandler__ */ diff --git a/qtjava/javalib/qtjava/QXmlDTDHandler.cpp b/qtjava/javalib/qtjava/QXmlDTDHandler.cpp deleted file mode 100644 index a174731b..00000000 --- a/qtjava/javalib/qtjava/QXmlDTDHandler.cpp +++ /dev/null @@ -1,36 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QXmlDTDHandler_errorString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQXmlDTDHandler*) QtSupport::getQt(env, obj))->errorString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlDTDHandler_notationDecl(JNIEnv* env, jobject obj, jstring name, jstring publicId, jstring systemId) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_publicId = 0; -static TQString* _qstring_systemId = 0; - jboolean xret = (jboolean) ((TQXmlDTDHandler*) QtSupport::getQt(env, obj))->notationDecl((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, publicId, &_qstring_publicId), (const TQString&)*(TQString*) QtSupport::toTQString(env, systemId, &_qstring_systemId)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlDTDHandler_unparsedEntityDecl(JNIEnv* env, jobject obj, jstring name, jstring publicId, jstring systemId, jstring notationName) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_publicId = 0; -static TQString* _qstring_systemId = 0; -static TQString* _qstring_notationName = 0; - jboolean xret = (jboolean) ((TQXmlDTDHandler*) QtSupport::getQt(env, obj))->unparsedEntityDecl((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, publicId, &_qstring_publicId), (const TQString&)*(TQString*) QtSupport::toTQString(env, systemId, &_qstring_systemId), (const TQString&)*(TQString*) QtSupport::toTQString(env, notationName, &_qstring_notationName)); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QXmlDTDHandler.h b/qtjava/javalib/qtjava/QXmlDTDHandler.h deleted file mode 100644 index 1538707a..00000000 --- a/qtjava/javalib/qtjava/QXmlDTDHandler.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QXmlDTDHandler__ -#define __org_kde_qt_QXmlDTDHandler__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDTDHandler_notationDecl (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDTDHandler_unparsedEntityDecl (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlDTDHandler_errorString (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QXmlDTDHandler__ */ diff --git a/qtjava/javalib/qtjava/QXmlDeclHandler.cpp b/qtjava/javalib/qtjava/QXmlDeclHandler.cpp deleted file mode 100644 index 1abc52eb..00000000 --- a/qtjava/javalib/qtjava/QXmlDeclHandler.cpp +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlDeclHandler_attributeDecl(JNIEnv* env, jobject obj, jstring eName, jstring aName, jstring type, jstring valueDefault, jstring value) -{ -static TQString* _qstring_eName = 0; -static TQString* _qstring_aName = 0; -static TQString* _qstring_type = 0; -static TQString* _qstring_valueDefault = 0; -static TQString* _qstring_value = 0; - jboolean xret = (jboolean) ((TQXmlDeclHandler*) QtSupport::getQt(env, obj))->attributeDecl((const TQString&)*(TQString*) QtSupport::toTQString(env, eName, &_qstring_eName), (const TQString&)*(TQString*) QtSupport::toTQString(env, aName, &_qstring_aName), (const TQString&)*(TQString*) QtSupport::toTQString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, valueDefault, &_qstring_valueDefault), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QXmlDeclHandler_errorString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQXmlDeclHandler*) QtSupport::getQt(env, obj))->errorString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlDeclHandler_externalEntityDecl(JNIEnv* env, jobject obj, jstring name, jstring publicId, jstring systemId) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_publicId = 0; -static TQString* _qstring_systemId = 0; - jboolean xret = (jboolean) ((TQXmlDeclHandler*) QtSupport::getQt(env, obj))->externalEntityDecl((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, publicId, &_qstring_publicId), (const TQString&)*(TQString*) QtSupport::toTQString(env, systemId, &_qstring_systemId)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlDeclHandler_internalEntityDecl(JNIEnv* env, jobject obj, jstring name, jstring value) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_value = 0; - jboolean xret = (jboolean) ((TQXmlDeclHandler*) QtSupport::getQt(env, obj))->internalEntityDecl((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QXmlDeclHandler.h b/qtjava/javalib/qtjava/QXmlDeclHandler.h deleted file mode 100644 index d09b6816..00000000 --- a/qtjava/javalib/qtjava/QXmlDeclHandler.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QXmlDeclHandler__ -#define __org_kde_qt_QXmlDeclHandler__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDeclHandler_attributeDecl (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDeclHandler_internalEntityDecl (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDeclHandler_externalEntityDecl (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlDeclHandler_errorString (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QXmlDeclHandler__ */ diff --git a/qtjava/javalib/qtjava/QXmlDefaultHandler.cpp b/qtjava/javalib/qtjava/QXmlDefaultHandler.cpp deleted file mode 100644 index 27dc8d04..00000000 --- a/qtjava/javalib/qtjava/QXmlDefaultHandler.cpp +++ /dev/null @@ -1,283 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQXmlDefaultHandlerJBridge : public TQXmlDefaultHandler -{ -public: - TQXmlDefaultHandlerJBridge() : TQXmlDefaultHandler() {}; - ~TQXmlDefaultHandlerJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlDefaultHandler_attributeDecl(JNIEnv* env, jobject obj, jstring eName, jstring aName, jstring type, jstring valueDefault, jstring value) -{ -static TQString* _qstring_eName = 0; -static TQString* _qstring_aName = 0; -static TQString* _qstring_type = 0; -static TQString* _qstring_valueDefault = 0; -static TQString* _qstring_value = 0; - jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->attributeDecl((const TQString&)*(TQString*) QtSupport::toTQString(env, eName, &_qstring_eName), (const TQString&)*(TQString*) QtSupport::toTQString(env, aName, &_qstring_aName), (const TQString&)*(TQString*) QtSupport::toTQString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, valueDefault, &_qstring_valueDefault), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlDefaultHandler_characters(JNIEnv* env, jobject obj, jstring ch) -{ -static TQString* _qstring_ch = 0; - jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->characters((const TQString&)*(TQString*) QtSupport::toTQString(env, ch, &_qstring_ch)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlDefaultHandler_comment(JNIEnv* env, jobject obj, jstring ch) -{ -static TQString* _qstring_ch = 0; - jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->comment((const TQString&)*(TQString*) QtSupport::toTQString(env, ch, &_qstring_ch)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlDefaultHandler_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QXmlDefaultHandler_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlDefaultHandler_endCDATA(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->endCDATA(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlDefaultHandler_endDTD(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->endDTD(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlDefaultHandler_endDocument(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->endDocument(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlDefaultHandler_endElement(JNIEnv* env, jobject obj, jstring namespaceURI, jstring localName, jstring qName) -{ -static TQString* _qstring_namespaceURI = 0; -static TQString* _qstring_localName = 0; -static TQString* _qstring_qName = 0; - jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->endElement((const TQString&)*(TQString*) QtSupport::toTQString(env, namespaceURI, &_qstring_namespaceURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, localName, &_qstring_localName), (const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlDefaultHandler_endEntity(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->endEntity((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlDefaultHandler_endPrefixMapping(JNIEnv* env, jobject obj, jstring prefix) -{ -static TQString* _qstring_prefix = 0; - jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->endPrefixMapping((const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QXmlDefaultHandler_errorString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->errorString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlDefaultHandler_error(JNIEnv* env, jobject obj, jobject exception) -{ - jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->error((const TQXmlParseException&)*(const TQXmlParseException*) QtSupport::getQt(env, exception)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlDefaultHandler_externalEntityDecl(JNIEnv* env, jobject obj, jstring name, jstring publicId, jstring systemId) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_publicId = 0; -static TQString* _qstring_systemId = 0; - jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->externalEntityDecl((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, publicId, &_qstring_publicId), (const TQString&)*(TQString*) QtSupport::toTQString(env, systemId, &_qstring_systemId)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlDefaultHandler_fatalError(JNIEnv* env, jobject obj, jobject exception) -{ - jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->fatalError((const TQXmlParseException&)*(const TQXmlParseException*) QtSupport::getQt(env, exception)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlDefaultHandler_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQXmlDefaultHandler*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlDefaultHandler_ignorableWhitespace(JNIEnv* env, jobject obj, jstring ch) -{ -static TQString* _qstring_ch = 0; - jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->ignorableWhitespace((const TQString&)*(TQString*) QtSupport::toTQString(env, ch, &_qstring_ch)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlDefaultHandler_internalEntityDecl(JNIEnv* env, jobject obj, jstring name, jstring value) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_value = 0; - jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->internalEntityDecl((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlDefaultHandler_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlDefaultHandler_newTQXmlDefaultHandler(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQXmlDefaultHandlerJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlDefaultHandler_notationDecl(JNIEnv* env, jobject obj, jstring name, jstring publicId, jstring systemId) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_publicId = 0; -static TQString* _qstring_systemId = 0; - jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->notationDecl((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, publicId, &_qstring_publicId), (const TQString&)*(TQString*) QtSupport::toTQString(env, systemId, &_qstring_systemId)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlDefaultHandler_processingInstruction(JNIEnv* env, jobject obj, jstring target, jstring data) -{ -static TQString* _qstring_target = 0; -static TQString* _qstring_data = 0; - jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->processingInstruction((const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target), (const TQString&)*(TQString*) QtSupport::toTQString(env, data, &_qstring_data)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlDefaultHandler_resolveEntity(JNIEnv* env, jobject obj, jstring publicId, jstring systemId, jobject ret) -{ -static TQString* _qstring_publicId = 0; -static TQString* _qstring_systemId = 0; - jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->resolveEntity((const TQString&)*(TQString*) QtSupport::toTQString(env, publicId, &_qstring_publicId), (const TQString&)*(TQString*) QtSupport::toTQString(env, systemId, &_qstring_systemId), (TQXmlInputSource*&)*(TQXmlInputSource*) QtSupport::getQt(env, ret)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlDefaultHandler_setDocumentLocator(JNIEnv* env, jobject obj, jobject locator) -{ - ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->setDocumentLocator((TQXmlLocator*) QtSupport::getQt(env, locator)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlDefaultHandler_skippedEntity(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->skippedEntity((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlDefaultHandler_startCDATA(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->startCDATA(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlDefaultHandler_startDTD(JNIEnv* env, jobject obj, jstring name, jstring publicId, jstring systemId) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_publicId = 0; -static TQString* _qstring_systemId = 0; - jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->startDTD((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, publicId, &_qstring_publicId), (const TQString&)*(TQString*) QtSupport::toTQString(env, systemId, &_qstring_systemId)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlDefaultHandler_startDocument(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->startDocument(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlDefaultHandler_startElement(JNIEnv* env, jobject obj, jstring namespaceURI, jstring localName, jstring qName, jobject atts) -{ -static TQString* _qstring_namespaceURI = 0; -static TQString* _qstring_localName = 0; -static TQString* _qstring_qName = 0; - jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->startElement((const TQString&)*(TQString*) QtSupport::toTQString(env, namespaceURI, &_qstring_namespaceURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, localName, &_qstring_localName), (const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName), (const TQXmlAttributes&)*(const TQXmlAttributes*) QtSupport::getQt(env, atts)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlDefaultHandler_startEntity(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->startEntity((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlDefaultHandler_startPrefixMapping(JNIEnv* env, jobject obj, jstring prefix, jstring uri) -{ -static TQString* _qstring_prefix = 0; -static TQString* _qstring_uri = 0; - jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->startPrefixMapping((const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix), (const TQString&)*(TQString*) QtSupport::toTQString(env, uri, &_qstring_uri)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlDefaultHandler_unparsedEntityDecl(JNIEnv* env, jobject obj, jstring name, jstring publicId, jstring systemId, jstring notationName) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_publicId = 0; -static TQString* _qstring_systemId = 0; -static TQString* _qstring_notationName = 0; - jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->unparsedEntityDecl((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, publicId, &_qstring_publicId), (const TQString&)*(TQString*) QtSupport::toTQString(env, systemId, &_qstring_systemId), (const TQString&)*(TQString*) QtSupport::toTQString(env, notationName, &_qstring_notationName)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlDefaultHandler_warning(JNIEnv* env, jobject obj, jobject exception) -{ - jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->warning((const TQXmlParseException&)*(const TQXmlParseException*) QtSupport::getQt(env, exception)); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QXmlDefaultHandler.h b/qtjava/javalib/qtjava/QXmlDefaultHandler.h deleted file mode 100644 index b00a996d..00000000 --- a/qtjava/javalib/qtjava/QXmlDefaultHandler.h +++ /dev/null @@ -1,50 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QXmlDefaultHandler__ -#define __org_kde_qt_QXmlDefaultHandler__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlDefaultHandler_newTQXmlDefaultHandler (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlDefaultHandler_setDocumentLocator (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_startDocument (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_endDocument (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_startPrefixMapping (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_endPrefixMapping (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_startElement (JNIEnv *env, jobject, jstring, jstring, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_endElement (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_characters (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_ignorableWhitespace (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_processingInstruction (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_skippedEntity (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_warning (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_error (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_fatalError (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_notationDecl (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_unparsedEntityDecl (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_resolveEntity (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_startDTD (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_endDTD (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_startEntity (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_endEntity (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_startCDATA (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_endCDATA (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_comment (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_attributeDecl (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_internalEntityDecl (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_externalEntityDecl (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlDefaultHandler_errorString (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlDefaultHandler_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlDefaultHandler_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QXmlDefaultHandler__ */ diff --git a/qtjava/javalib/qtjava/QXmlEntityResolver.cpp b/qtjava/javalib/qtjava/QXmlEntityResolver.cpp deleted file mode 100644 index 018baa20..00000000 --- a/qtjava/javalib/qtjava/QXmlEntityResolver.cpp +++ /dev/null @@ -1,24 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QXmlEntityResolver_errorString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQXmlEntityResolver*) QtSupport::getQt(env, obj))->errorString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlEntityResolver_resolveEntity(JNIEnv* env, jobject obj, jstring publicId, jstring systemId, jobject ret) -{ -static TQString* _qstring_publicId = 0; -static TQString* _qstring_systemId = 0; - jboolean xret = (jboolean) ((TQXmlEntityResolver*) QtSupport::getQt(env, obj))->resolveEntity((const TQString&)*(TQString*) QtSupport::toTQString(env, publicId, &_qstring_publicId), (const TQString&)*(TQString*) QtSupport::toTQString(env, systemId, &_qstring_systemId), (TQXmlInputSource*&)*(TQXmlInputSource*) QtSupport::getQt(env, ret)); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QXmlEntityResolver.h b/qtjava/javalib/qtjava/QXmlEntityResolver.h deleted file mode 100644 index 4ecd2e67..00000000 --- a/qtjava/javalib/qtjava/QXmlEntityResolver.h +++ /dev/null @@ -1,20 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QXmlEntityResolver__ -#define __org_kde_qt_QXmlEntityResolver__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlEntityResolver_resolveEntity (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlEntityResolver_errorString (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QXmlEntityResolver__ */ diff --git a/qtjava/javalib/qtjava/QXmlErrorHandler.cpp b/qtjava/javalib/qtjava/QXmlErrorHandler.cpp deleted file mode 100644 index cbdb26e0..00000000 --- a/qtjava/javalib/qtjava/QXmlErrorHandler.cpp +++ /dev/null @@ -1,36 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QXmlErrorHandler_errorString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQXmlErrorHandler*) QtSupport::getQt(env, obj))->errorString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlErrorHandler_error(JNIEnv* env, jobject obj, jobject exception) -{ - jboolean xret = (jboolean) ((TQXmlErrorHandler*) QtSupport::getQt(env, obj))->error((const TQXmlParseException&)*(const TQXmlParseException*) QtSupport::getQt(env, exception)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlErrorHandler_fatalError(JNIEnv* env, jobject obj, jobject exception) -{ - jboolean xret = (jboolean) ((TQXmlErrorHandler*) QtSupport::getQt(env, obj))->fatalError((const TQXmlParseException&)*(const TQXmlParseException*) QtSupport::getQt(env, exception)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlErrorHandler_warning(JNIEnv* env, jobject obj, jobject exception) -{ - jboolean xret = (jboolean) ((TQXmlErrorHandler*) QtSupport::getQt(env, obj))->warning((const TQXmlParseException&)*(const TQXmlParseException*) QtSupport::getQt(env, exception)); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QXmlErrorHandler.h b/qtjava/javalib/qtjava/QXmlErrorHandler.h deleted file mode 100644 index b5d078cc..00000000 --- a/qtjava/javalib/qtjava/QXmlErrorHandler.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QXmlErrorHandler__ -#define __org_kde_qt_QXmlErrorHandler__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlErrorHandler_warning (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlErrorHandler_error (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlErrorHandler_fatalError (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlErrorHandler_errorString (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QXmlErrorHandler__ */ diff --git a/qtjava/javalib/qtjava/QXmlInputSource.cpp b/qtjava/javalib/qtjava/QXmlInputSource.cpp deleted file mode 100644 index 1d822f5f..00000000 --- a/qtjava/javalib/qtjava/QXmlInputSource.cpp +++ /dev/null @@ -1,161 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include - -class TQXmlInputSourceJBridge : public TQXmlInputSource -{ -public: - TQXmlInputSourceJBridge() : TQXmlInputSource() {}; - TQXmlInputSourceJBridge(TQIODevice* arg1) : TQXmlInputSource(arg1) {}; - TQXmlInputSourceJBridge(TQFile& arg1) : TQXmlInputSource(arg1) {}; - TQXmlInputSourceJBridge(TQTextStream& arg1) : TQXmlInputSource(arg1) {}; - void public_fetchData() { - TQXmlInputSource::fetchData(); - return; - } - void public_reset() { - TQXmlInputSource::reset(); - return; - } - TQString protected_fromRawData(const TQByteArray& arg1,bool arg2) { - return (TQString) TQXmlInputSource::fromRawData(arg1,arg2); - } - TQString protected_fromRawData(const TQByteArray& arg1) { - return (TQString) TQXmlInputSource::fromRawData(arg1); - } - ~TQXmlInputSourceJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QXmlInputSource_data(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQXmlInputSource*) QtSupport::getQt(env, obj))->data(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlInputSource_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QXmlInputSource_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlInputSource_fetchData(JNIEnv* env, jobject obj) -{ - ((TQXmlInputSourceJBridge*) QtSupport::getQt(env, obj))->public_fetchData(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlInputSource_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQXmlInputSource*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QXmlInputSource_fromRawData___3B(JNIEnv* env, jobject obj, jbyteArray data) -{ - TQString _qstring; -static TQByteArray* _qbyteArray_data = 0; - _qstring = ((TQXmlInputSourceJBridge*) QtSupport::getQt(env, obj))->protected_fromRawData((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QXmlInputSource_fromRawData___3BZ(JNIEnv* env, jobject obj, jbyteArray data, jboolean beginning) -{ - TQString _qstring; -static TQByteArray* _qbyteArray_data = 0; - _qstring = ((TQXmlInputSourceJBridge*) QtSupport::getQt(env, obj))->protected_fromRawData((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (bool) beginning); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlInputSource_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlInputSource_newTQXmlInputSource__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQXmlInputSourceJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlInputSource_newTQXmlInputSource__Lorg_kde_qt_QFile_2(JNIEnv* env, jobject obj, jobject file) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQXmlInputSourceJBridge((TQFile&)*(TQFile*) QtSupport::getQt(env, file))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlInputSource_newTQXmlInputSource__Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject dev) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQXmlInputSourceJBridge((TQIODevice*) QtSupport::getQt(env, dev))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlInputSource_newTQXmlInputSource__Lorg_kde_qt_QTextStream_2(JNIEnv* env, jobject obj, jobject stream) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQXmlInputSourceJBridge((TQTextStream&)*(TQTextStream*) QtSupport::getQt(env, stream))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jchar JNICALL -Java_org_kde_qt_QXmlInputSource_next(JNIEnv* env, jobject obj) -{ - TQChar _qchar; - _qchar = ((TQXmlInputSource*) QtSupport::getQt(env, obj))->next(); - return (jchar) QtSupport::fromTQChar(env, (TQChar*) &_qchar); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlInputSource_reset(JNIEnv* env, jobject obj) -{ - ((TQXmlInputSourceJBridge*) QtSupport::getQt(env, obj))->public_reset(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlInputSource_setData__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring dat) -{ -static TQString* _qstring_dat = 0; - ((TQXmlInputSource*) QtSupport::getQt(env, obj))->setData((const TQString&)*(TQString*) QtSupport::toTQString(env, dat, &_qstring_dat)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlInputSource_setData___3B(JNIEnv* env, jobject obj, jbyteArray dat) -{ -static TQByteArray* _qbyteArray_dat = 0; - ((TQXmlInputSource*) QtSupport::getQt(env, obj))->setData((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, dat, &_qbyteArray_dat)); - return; -} - diff --git a/qtjava/javalib/qtjava/QXmlInputSource.h b/qtjava/javalib/qtjava/QXmlInputSource.h deleted file mode 100644 index 068a4add..00000000 --- a/qtjava/javalib/qtjava/QXmlInputSource.h +++ /dev/null @@ -1,33 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QXmlInputSource__ -#define __org_kde_qt_QXmlInputSource__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlInputSource_newTQXmlInputSource__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlInputSource_newTQXmlInputSource__Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlInputSource_newTQXmlInputSource__Lorg_kde_qt_QFile_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlInputSource_newTQXmlInputSource__Lorg_kde_qt_QTextStream_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlInputSource_setData__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlInputSource_setData___3B (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlInputSource_fetchData (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlInputSource_data (JNIEnv *env, jobject); -extern JNIEXPORT jchar JNICALL Java_org_kde_qt_QXmlInputSource_next (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlInputSource_reset (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlInputSource_fromRawData___3BZ (JNIEnv *env, jobject, jbyteArray, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlInputSource_fromRawData___3B (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlInputSource_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlInputSource_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlInputSource_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QXmlInputSource__ */ diff --git a/qtjava/javalib/qtjava/QXmlLexicalHandler.cpp b/qtjava/javalib/qtjava/QXmlLexicalHandler.cpp deleted file mode 100644 index 8f0f92bd..00000000 --- a/qtjava/javalib/qtjava/QXmlLexicalHandler.cpp +++ /dev/null @@ -1,70 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlLexicalHandler_comment(JNIEnv* env, jobject obj, jstring ch) -{ -static TQString* _qstring_ch = 0; - jboolean xret = (jboolean) ((TQXmlLexicalHandler*) QtSupport::getQt(env, obj))->comment((const TQString&)*(TQString*) QtSupport::toTQString(env, ch, &_qstring_ch)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlLexicalHandler_endCDATA(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQXmlLexicalHandler*) QtSupport::getQt(env, obj))->endCDATA(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlLexicalHandler_endDTD(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQXmlLexicalHandler*) QtSupport::getQt(env, obj))->endDTD(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlLexicalHandler_endEntity(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) ((TQXmlLexicalHandler*) QtSupport::getQt(env, obj))->endEntity((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QXmlLexicalHandler_errorString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQXmlLexicalHandler*) QtSupport::getQt(env, obj))->errorString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlLexicalHandler_startCDATA(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQXmlLexicalHandler*) QtSupport::getQt(env, obj))->startCDATA(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlLexicalHandler_startDTD(JNIEnv* env, jobject obj, jstring name, jstring publicId, jstring systemId) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_publicId = 0; -static TQString* _qstring_systemId = 0; - jboolean xret = (jboolean) ((TQXmlLexicalHandler*) QtSupport::getQt(env, obj))->startDTD((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, publicId, &_qstring_publicId), (const TQString&)*(TQString*) QtSupport::toTQString(env, systemId, &_qstring_systemId)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlLexicalHandler_startEntity(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) ((TQXmlLexicalHandler*) QtSupport::getQt(env, obj))->startEntity((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QXmlLexicalHandler.h b/qtjava/javalib/qtjava/QXmlLexicalHandler.h deleted file mode 100644 index 17966236..00000000 --- a/qtjava/javalib/qtjava/QXmlLexicalHandler.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QXmlLexicalHandler__ -#define __org_kde_qt_QXmlLexicalHandler__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlLexicalHandler_startDTD (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlLexicalHandler_endDTD (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlLexicalHandler_startEntity (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlLexicalHandler_endEntity (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlLexicalHandler_startCDATA (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlLexicalHandler_endCDATA (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlLexicalHandler_comment (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlLexicalHandler_errorString (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QXmlLexicalHandler__ */ diff --git a/qtjava/javalib/qtjava/QXmlLocator.cpp b/qtjava/javalib/qtjava/QXmlLocator.cpp deleted file mode 100644 index 89d6691f..00000000 --- a/qtjava/javalib/qtjava/QXmlLocator.cpp +++ /dev/null @@ -1,20 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QXmlLocator_columnNumber(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQXmlLocator*) QtSupport::getQt(env, obj))->columnNumber(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QXmlLocator_lineNumber(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQXmlLocator*) QtSupport::getQt(env, obj))->lineNumber(); - return xret; -} - diff --git a/qtjava/javalib/qtjava/QXmlLocator.h b/qtjava/javalib/qtjava/QXmlLocator.h deleted file mode 100644 index b82c7f8c..00000000 --- a/qtjava/javalib/qtjava/QXmlLocator.h +++ /dev/null @@ -1,20 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QXmlLocator__ -#define __org_kde_qt_QXmlLocator__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QXmlLocator_columnNumber (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QXmlLocator_lineNumber (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QXmlLocator__ */ diff --git a/qtjava/javalib/qtjava/QXmlNamespaceSupport.cpp b/qtjava/javalib/qtjava/QXmlNamespaceSupport.cpp deleted file mode 100644 index a4594b47..00000000 --- a/qtjava/javalib/qtjava/QXmlNamespaceSupport.cpp +++ /dev/null @@ -1,137 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include - -class TQXmlNamespaceSupportJBridge : public TQXmlNamespaceSupport -{ -public: - TQXmlNamespaceSupportJBridge() : TQXmlNamespaceSupport() {}; - ~TQXmlNamespaceSupportJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlNamespaceSupport_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QXmlNamespaceSupport_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlNamespaceSupport_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQXmlNamespaceSupport*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlNamespaceSupport_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlNamespaceSupport_newTQXmlNamespaceSupport(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQXmlNamespaceSupportJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlNamespaceSupport_popContext(JNIEnv* env, jobject obj) -{ - ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->popContext(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QXmlNamespaceSupport_prefix(JNIEnv* env, jobject obj, jstring arg1) -{ - TQString _qstring; -static TQString* _qstring_arg1 = 0; - _qstring = ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->prefix((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QXmlNamespaceSupport_prefixes__(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->prefixes(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QXmlNamespaceSupport_prefixes__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ - TQStringList _qlist; -static TQString* _qstring_arg1 = 0; - _qlist = ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->prefixes((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlNamespaceSupport_processName(JNIEnv* env, jobject obj, jstring arg1, jboolean arg2, jobject arg3, jobject arg4) -{ -static TQString* _qstring_arg1 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; - ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->processName((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) arg2, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, arg3, &_qstring_arg3), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, arg4, &_qstring_arg4)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_arg3, arg3); - QtSupport::fromTQStringToStringBuffer(env, _qstring_arg4, arg4); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlNamespaceSupport_pushContext(JNIEnv* env, jobject obj) -{ - ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->pushContext(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlNamespaceSupport_reset(JNIEnv* env, jobject obj) -{ - ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->reset(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlNamespaceSupport_setPrefix(JNIEnv* env, jobject obj, jstring arg1, jstring arg2) -{ -static TQString* _qstring_arg1 = 0; -static TQString* _qstring_arg2 = 0; - ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->setPrefix((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlNamespaceSupport_splitName(JNIEnv* env, jobject obj, jstring arg1, jobject arg2, jobject arg3) -{ -static TQString* _qstring_arg1 = 0; -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; - ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->splitName((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, arg2, &_qstring_arg2), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, arg3, &_qstring_arg3)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_arg2, arg2); - QtSupport::fromTQStringToStringBuffer(env, _qstring_arg3, arg3); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QXmlNamespaceSupport_uri(JNIEnv* env, jobject obj, jstring arg1) -{ - TQString _qstring; -static TQString* _qstring_arg1 = 0; - _qstring = ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->uri((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QXmlNamespaceSupport.h b/qtjava/javalib/qtjava/QXmlNamespaceSupport.h deleted file mode 100644 index b692e287..00000000 --- a/qtjava/javalib/qtjava/QXmlNamespaceSupport.h +++ /dev/null @@ -1,32 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QXmlNamespaceSupport__ -#define __org_kde_qt_QXmlNamespaceSupport__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlNamespaceSupport_newTQXmlNamespaceSupport (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlNamespaceSupport_setPrefix (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlNamespaceSupport_prefix (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlNamespaceSupport_uri (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlNamespaceSupport_splitName (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlNamespaceSupport_processName (JNIEnv *env, jobject, jstring, jboolean, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlNamespaceSupport_prefixes__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlNamespaceSupport_prefixes__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlNamespaceSupport_pushContext (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlNamespaceSupport_popContext (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlNamespaceSupport_reset (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlNamespaceSupport_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlNamespaceSupport_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlNamespaceSupport_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QXmlNamespaceSupport__ */ diff --git a/qtjava/javalib/qtjava/QXmlParseException.cpp b/qtjava/javalib/qtjava/QXmlParseException.cpp deleted file mode 100644 index 32f9cee4..00000000 --- a/qtjava/javalib/qtjava/QXmlParseException.cpp +++ /dev/null @@ -1,148 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQXmlParseExceptionJBridge : public TQXmlParseException -{ -public: - TQXmlParseExceptionJBridge(const TQString& arg1,int arg2,int arg3,const TQString& arg4,const TQString& arg5) : TQXmlParseException(arg1,arg2,arg3,arg4,arg5) {}; - TQXmlParseExceptionJBridge(const TQString& arg1,int arg2,int arg3,const TQString& arg4) : TQXmlParseException(arg1,arg2,arg3,arg4) {}; - TQXmlParseExceptionJBridge(const TQString& arg1,int arg2,int arg3) : TQXmlParseException(arg1,arg2,arg3) {}; - TQXmlParseExceptionJBridge(const TQString& arg1,int arg2) : TQXmlParseException(arg1,arg2) {}; - TQXmlParseExceptionJBridge(const TQString& arg1) : TQXmlParseException(arg1) {}; - TQXmlParseExceptionJBridge() : TQXmlParseException() {}; - ~TQXmlParseExceptionJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QXmlParseException_columnNumber(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQXmlParseException*) QtSupport::getQt(env, obj))->columnNumber(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlParseException_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QXmlParseException_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlParseException_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQXmlParseException*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlParseException_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QXmlParseException_lineNumber(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQXmlParseException*) QtSupport::getQt(env, obj))->lineNumber(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QXmlParseException_message(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQXmlParseException*) QtSupport::getQt(env, obj))->message(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlParseException_newTQXmlParseException__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQXmlParseExceptionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlParseException_newTQXmlParseException__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 TQXmlParseExceptionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlParseException_newTQXmlParseException__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint c) -{ -static TQString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQXmlParseExceptionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) c)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlParseException_newTQXmlParseException__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint c, jint l) -{ -static TQString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQXmlParseExceptionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) c, (int) l)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlParseException_newTQXmlParseException__Ljava_lang_String_2IILjava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jint c, jint l, jstring p) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_p = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQXmlParseExceptionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) c, (int) l, (const TQString&)*(TQString*) QtSupport::toTQString(env, p, &_qstring_p))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlParseException_newTQXmlParseException__Ljava_lang_String_2IILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jint c, jint l, jstring p, jstring s) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_p = 0; -static TQString* _qstring_s = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQXmlParseExceptionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) c, (int) l, (const TQString&)*(TQString*) QtSupport::toTQString(env, p, &_qstring_p), (const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QXmlParseException_publicId(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQXmlParseException*) QtSupport::getQt(env, obj))->publicId(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QXmlParseException_systemId(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TQXmlParseException*) QtSupport::getQt(env, obj))->systemId(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/qtjava/javalib/qtjava/QXmlParseException.h b/qtjava/javalib/qtjava/QXmlParseException.h deleted file mode 100644 index 79dcf2ab..00000000 --- a/qtjava/javalib/qtjava/QXmlParseException.h +++ /dev/null @@ -1,32 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QXmlParseException__ -#define __org_kde_qt_QXmlParseException__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlParseException_newTQXmlParseException__Ljava_lang_String_2IILjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jint, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlParseException_newTQXmlParseException__Ljava_lang_String_2IILjava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlParseException_newTQXmlParseException__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlParseException_newTQXmlParseException__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlParseException_newTQXmlParseException__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlParseException_newTQXmlParseException__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QXmlParseException_columnNumber (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_qt_QXmlParseException_lineNumber (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlParseException_publicId (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlParseException_systemId (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlParseException_message (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlParseException_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlParseException_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlParseException_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QXmlParseException__ */ diff --git a/qtjava/javalib/qtjava/QXmlReader.cpp b/qtjava/javalib/qtjava/QXmlReader.cpp deleted file mode 100644 index af6bee5e..00000000 --- a/qtjava/javalib/qtjava/QXmlReader.cpp +++ /dev/null @@ -1,140 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QXmlReader_DTDHandler(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQXmlReader*) QtSupport::getQt(env, obj))->DTDHandler(), "org.kde.qt.TQXmlDTDHandlerInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QXmlReader_contentHandler(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQXmlReader*) QtSupport::getQt(env, obj))->contentHandler(), "org.kde.qt.TQXmlContentHandlerInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QXmlReader_declHandler(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQXmlReader*) QtSupport::getQt(env, obj))->declHandler(), "org.kde.qt.TQXmlDeclHandlerInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QXmlReader_entityResolver(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQXmlReader*) QtSupport::getQt(env, obj))->entityResolver(), "org.kde.qt.TQXmlEntityResolverInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QXmlReader_errorHandler(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQXmlReader*) QtSupport::getQt(env, obj))->errorHandler(), "org.kde.qt.TQXmlErrorHandlerInterface"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlReader_feature__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) ((TQXmlReader*) QtSupport::getQt(env, obj))->feature((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlReader_feature__Ljava_lang_String_2_3Z(JNIEnv* env, jobject obj, jstring name, jbooleanArray ok) -{ -static TQString* _qstring_name = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jboolean xret = (jboolean) ((TQXmlReader*) QtSupport::getQt(env, obj))->feature((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlReader_hasFeature(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) ((TQXmlReader*) QtSupport::getQt(env, obj))->hasFeature((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlReader_hasProperty(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) ((TQXmlReader*) QtSupport::getQt(env, obj))->hasProperty((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QXmlReader_lexicalHandler(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQXmlReader*) QtSupport::getQt(env, obj))->lexicalHandler(), "org.kde.qt.TQXmlLexicalHandlerInterface"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlReader_parse(JNIEnv* env, jobject obj, jobject input) -{ - jboolean xret = (jboolean) ((TQXmlReader*) QtSupport::getQt(env, obj))->parse((const TQXmlInputSource&)*(const TQXmlInputSource*) QtSupport::getQt(env, input)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlReader_setContentHandler(JNIEnv* env, jobject obj, jobject handler) -{ - ((TQXmlReader*) QtSupport::getQt(env, obj))->setContentHandler((TQXmlContentHandler*) QtSupport::getQt(env, handler)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlReader_setDTDHandler(JNIEnv* env, jobject obj, jobject handler) -{ - ((TQXmlReader*) QtSupport::getQt(env, obj))->setDTDHandler((TQXmlDTDHandler*) QtSupport::getQt(env, handler)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlReader_setDeclHandler(JNIEnv* env, jobject obj, jobject handler) -{ - ((TQXmlReader*) QtSupport::getQt(env, obj))->setDeclHandler((TQXmlDeclHandler*) QtSupport::getQt(env, handler)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlReader_setEntityResolver(JNIEnv* env, jobject obj, jobject handler) -{ - ((TQXmlReader*) QtSupport::getQt(env, obj))->setEntityResolver((TQXmlEntityResolver*) QtSupport::getQt(env, handler)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlReader_setErrorHandler(JNIEnv* env, jobject obj, jobject handler) -{ - ((TQXmlReader*) QtSupport::getQt(env, obj))->setErrorHandler((TQXmlErrorHandler*) QtSupport::getQt(env, handler)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlReader_setFeature(JNIEnv* env, jobject obj, jstring name, jboolean value) -{ -static TQString* _qstring_name = 0; - ((TQXmlReader*) QtSupport::getQt(env, obj))->setFeature((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (bool) value); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlReader_setLexicalHandler(JNIEnv* env, jobject obj, jobject handler) -{ - ((TQXmlReader*) QtSupport::getQt(env, obj))->setLexicalHandler((TQXmlLexicalHandler*) QtSupport::getQt(env, handler)); - return; -} - diff --git a/qtjava/javalib/qtjava/QXmlReader.h b/qtjava/javalib/qtjava/QXmlReader.h deleted file mode 100644 index 29ff2498..00000000 --- a/qtjava/javalib/qtjava/QXmlReader.h +++ /dev/null @@ -1,36 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QXmlReader__ -#define __org_kde_qt_QXmlReader__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlReader_feature__Ljava_lang_String_2_3Z (JNIEnv *env, jobject, jstring, jbooleanArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlReader_feature__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlReader_setFeature (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlReader_hasFeature (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlReader_hasProperty (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlReader_setEntityResolver (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlReader_entityResolver (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlReader_setDTDHandler (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlReader_DTDHandler (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlReader_setContentHandler (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlReader_contentHandler (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlReader_setErrorHandler (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlReader_errorHandler (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlReader_setLexicalHandler (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlReader_lexicalHandler (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlReader_setDeclHandler (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlReader_declHandler (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlReader_parse (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QXmlReader__ */ diff --git a/qtjava/javalib/qtjava/QXmlSimpleReader.cpp b/qtjava/javalib/qtjava/QXmlSimpleReader.cpp deleted file mode 100644 index 3bde8b74..00000000 --- a/qtjava/javalib/qtjava/QXmlSimpleReader.cpp +++ /dev/null @@ -1,194 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include - -class TQXmlSimpleReaderJBridge : public TQXmlSimpleReader -{ -public: - TQXmlSimpleReaderJBridge() : TQXmlSimpleReader() {}; - ~TQXmlSimpleReaderJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QXmlSimpleReader_DTDHandler(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->DTDHandler(), "org.kde.qt.TQXmlDTDHandlerInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QXmlSimpleReader_contentHandler(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->contentHandler(), "org.kde.qt.TQXmlContentHandlerInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QXmlSimpleReader_declHandler(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->declHandler(), "org.kde.qt.TQXmlDeclHandlerInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlSimpleReader_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QXmlSimpleReader_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QXmlSimpleReader_entityResolver(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->entityResolver(), "org.kde.qt.TQXmlEntityResolverInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QXmlSimpleReader_errorHandler(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->errorHandler(), "org.kde.qt.TQXmlErrorHandlerInterface"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlSimpleReader_feature__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->feature((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlSimpleReader_feature__Ljava_lang_String_2_3Z(JNIEnv* env, jobject obj, jstring name, jbooleanArray ok) -{ -static TQString* _qstring_name = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jboolean xret = (jboolean) ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->feature((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlSimpleReader_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQXmlSimpleReader*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlSimpleReader_hasFeature(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->hasFeature((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlSimpleReader_hasProperty(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->hasProperty((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlSimpleReader_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QXmlSimpleReader_lexicalHandler(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->lexicalHandler(), "org.kde.qt.TQXmlLexicalHandlerInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlSimpleReader_newTQXmlSimpleReader(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQXmlSimpleReaderJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlSimpleReader_parseContinue(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->parseContinue(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlSimpleReader_parse__Lorg_kde_qt_QXmlInputSource_2(JNIEnv* env, jobject obj, jobject input) -{ - jboolean xret = (jboolean) ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->parse((const TQXmlInputSource&)*(const TQXmlInputSource*) QtSupport::getQt(env, input)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QXmlSimpleReader_parse__Lorg_kde_qt_QXmlInputSource_2Z(JNIEnv* env, jobject obj, jobject input, jboolean incremental) -{ - jboolean xret = (jboolean) ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->parse((const TQXmlInputSource*) QtSupport::getQt(env, input), (bool) incremental); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlSimpleReader_setContentHandler(JNIEnv* env, jobject obj, jobject handler) -{ - ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->setContentHandler((TQXmlContentHandler*) QtSupport::getQt(env, handler)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlSimpleReader_setDTDHandler(JNIEnv* env, jobject obj, jobject handler) -{ - ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->setDTDHandler((TQXmlDTDHandler*) QtSupport::getQt(env, handler)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlSimpleReader_setDeclHandler(JNIEnv* env, jobject obj, jobject handler) -{ - ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->setDeclHandler((TQXmlDeclHandler*) QtSupport::getQt(env, handler)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlSimpleReader_setEntityResolver(JNIEnv* env, jobject obj, jobject handler) -{ - ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->setEntityResolver((TQXmlEntityResolver*) QtSupport::getQt(env, handler)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlSimpleReader_setErrorHandler(JNIEnv* env, jobject obj, jobject handler) -{ - ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->setErrorHandler((TQXmlErrorHandler*) QtSupport::getQt(env, handler)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlSimpleReader_setFeature(JNIEnv* env, jobject obj, jstring name, jboolean value) -{ -static TQString* _qstring_name = 0; - ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->setFeature((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (bool) value); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlSimpleReader_setLexicalHandler(JNIEnv* env, jobject obj, jobject handler) -{ - ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->setLexicalHandler((TQXmlLexicalHandler*) QtSupport::getQt(env, handler)); - return; -} - diff --git a/qtjava/javalib/qtjava/QXmlSimpleReader.h b/qtjava/javalib/qtjava/QXmlSimpleReader.h deleted file mode 100644 index 63874703..00000000 --- a/qtjava/javalib/qtjava/QXmlSimpleReader.h +++ /dev/null @@ -1,42 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_qt_QXmlSimpleReader__ -#define __org_kde_qt_QXmlSimpleReader__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlSimpleReader_newTQXmlSimpleReader (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlSimpleReader_feature__Ljava_lang_String_2_3Z (JNIEnv *env, jobject, jstring, jbooleanArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlSimpleReader_feature__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlSimpleReader_setFeature (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlSimpleReader_hasFeature (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlSimpleReader_hasProperty (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlSimpleReader_setEntityResolver (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlSimpleReader_entityResolver (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlSimpleReader_setDTDHandler (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlSimpleReader_DTDHandler (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlSimpleReader_setContentHandler (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlSimpleReader_contentHandler (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlSimpleReader_setErrorHandler (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlSimpleReader_errorHandler (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlSimpleReader_setLexicalHandler (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlSimpleReader_lexicalHandler (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlSimpleReader_setDeclHandler (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlSimpleReader_declHandler (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlSimpleReader_parse__Lorg_kde_qt_QXmlInputSource_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlSimpleReader_parse__Lorg_kde_qt_QXmlInputSource_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlSimpleReader_parseContinue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlSimpleReader_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlSimpleReader_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlSimpleReader_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_qt_QXmlSimpleReader__ */ diff --git a/qtjava/javalib/qtjava/QtSupport.cpp b/qtjava/javalib/qtjava/QtSupport.cpp index 9bc668ef..1ffe58b9 100644 --- a/qtjava/javalib/qtjava/QtSupport.cpp +++ b/qtjava/javalib/qtjava/QtSupport.cpp @@ -22,7 +22,7 @@ #include #include -#include +#include #include static JavaVM * _jvm; diff --git a/qtjava/javalib/qtjava/TQAccel.cpp b/qtjava/javalib/qtjava/TQAccel.cpp new file mode 100644 index 00000000..13011808 --- /dev/null +++ b/qtjava/javalib/qtjava/TQAccel.cpp @@ -0,0 +1,314 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQAccelJBridge : public TQAccel +{ +public: + TQAccelJBridge(TQWidget* arg1,const char* arg2) : TQAccel(arg1,arg2) {}; + TQAccelJBridge(TQWidget* arg1) : TQAccel(arg1) {}; + TQAccelJBridge(TQWidget* arg1,TQObject* arg2,const char* arg3) : TQAccel(arg1,arg2,arg3) {}; + TQAccelJBridge(TQWidget* arg1,TQObject* arg2) : TQAccel(arg1,arg2) {}; + bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { + return (bool) TQAccel::eventFilter(arg1,arg2); + } + ~TQAccelJBridge() {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; + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QAccel_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQAccel*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAccel_clear(JNIEnv* env, jobject obj) +{ + ((TQAccel*) QtSupport::getQt(env, obj))->clear(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QAccel_connectItem(JNIEnv* env, jobject obj, jint id, jobject receiver, jstring member) +{ + jboolean xret = (jboolean) ((TQAccel*) QtSupport::getQt(env, obj))->connectItem((int) id, (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QAccel_count(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQAccel*) QtSupport::getQt(env, obj))->count(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QAccel_disconnectItem(JNIEnv* env, jobject obj, jint id, jobject receiver, jstring member) +{ + jboolean xret = (jboolean) ((TQAccel*) QtSupport::getQt(env, obj))->disconnectItem((int) id, (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAccel_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QAccel_finalize(env, obj); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QAccel_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) +{ + jboolean xret = (jboolean) ((TQAccelJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAccel_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQAccel*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQAccel*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QAccel_findKey(JNIEnv* env, jobject obj, jobject key) +{ + jint xret = (jint) ((TQAccel*) QtSupport::getQt(env, obj))->findKey((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, key)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QAccel_ignoreWhatsThis(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQAccel*) QtSupport::getQt(env, obj))->ignoreWhatsThis(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QAccel_insertItem__Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject key) +{ + jint xret = (jint) ((TQAccel*) QtSupport::getQt(env, obj))->insertItem((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, key)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QAccel_insertItem__Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jobject key, jint id) +{ + jint xret = (jint) ((TQAccel*) QtSupport::getQt(env, obj))->insertItem((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, key), (int) id); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QAccel_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QAccel_isEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQAccel*) QtSupport::getQt(env, obj))->isEnabled(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QAccel_isItemEnabled(JNIEnv* env, jobject obj, jint id) +{ + jboolean xret = (jboolean) ((TQAccel*) QtSupport::getQt(env, obj))->isItemEnabled((int) id); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QAccel_keyToString(JNIEnv* env, jclass cls, jobject k) +{ + TQString _qstring; + (void) cls; + _qstring = TQAccelJBridge::keyToString((TQKeySequence)*(TQKeySequence*) QtSupport::getQt(env, k)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QAccel_key(JNIEnv* env, jobject obj, jint id) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQKeySequence(((TQAccel*) QtSupport::getQt(env, obj))->key((int) id)), "org.kde.qt.TQKeySequence", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QAccel_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQAccel*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAccel_newTQAccel__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQAccelJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAccel_newTQAccel__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 TQAccelJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAccel_newTQAccel__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 TQAccelJBridge((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_qt_QAccel_newTQAccel__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 TQAccelJBridge((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_qt_QAccel_removeItem(JNIEnv* env, jobject obj, jint id) +{ + ((TQAccel*) QtSupport::getQt(env, obj))->removeItem((int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAccel_repairEventFilter(JNIEnv* env, jobject obj) +{ + ((TQAccel*) QtSupport::getQt(env, obj))->repairEventFilter(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAccel_setEnabled(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQAccel*) QtSupport::getQt(env, obj))->setEnabled((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAccel_setIgnoreWhatsThis(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQAccel*) QtSupport::getQt(env, obj))->setIgnoreWhatsThis((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAccel_setItemEnabled(JNIEnv* env, jobject obj, jint id, jboolean enable) +{ + ((TQAccel*) QtSupport::getQt(env, obj))->setItemEnabled((int) id, (bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAccel_setWhatsThis(JNIEnv* env, jobject obj, jint id, jstring arg2) +{ +static TQString* _qstring_arg2 = 0; + ((TQAccel*) QtSupport::getQt(env, obj))->setWhatsThis((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QAccel_shortcutKey(JNIEnv* env, jclass cls, jstring arg1) +{ + (void) cls; +static TQString* _qstring_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQKeySequence(TQAccelJBridge::shortcutKey((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1))), "org.kde.qt.TQKeySequence", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QAccel_stringToKey(JNIEnv* env, jclass cls, jstring arg1) +{ + (void) cls; +static TQString* _qstring_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQKeySequence(TQAccelJBridge::stringToKey((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1))), "org.kde.qt.TQKeySequence", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QAccel_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQAccelJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QAccel_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQAccelJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QAccel_whatsThis(JNIEnv* env, jobject obj, jint id) +{ + TQString _qstring; + _qstring = ((TQAccel*) QtSupport::getQt(env, obj))->whatsThis((int) id); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQAccel.h b/qtjava/javalib/qtjava/TQAccel.h new file mode 100644 index 00000000..3d27f3ac --- /dev/null +++ b/qtjava/javalib/qtjava/TQAccel.h @@ -0,0 +1,51 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QAccel__ +#define __org_kde_qt_QAccel__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QAccel_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QAccel_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAccel_newTQAccel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAccel_newTQAccel__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAccel_newTQAccel__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_qt_QAccel_newTQAccel__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QAccel_isEnabled (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAccel_setEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QAccel_count (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QAccel_insertItem__Lorg_kde_qt_QKeySequence_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QAccel_insertItem__Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAccel_removeItem (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAccel_clear (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QAccel_key (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QAccel_findKey (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QAccel_isItemEnabled (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAccel_setItemEnabled (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QAccel_connectItem (JNIEnv *env, jobject, jint, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QAccel_disconnectItem (JNIEnv *env, jobject, jint, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAccel_repairEventFilter (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAccel_setWhatsThis (JNIEnv *env, jobject, jint, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QAccel_whatsThis (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAccel_setIgnoreWhatsThis (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QAccel_ignoreWhatsThis (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QAccel_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QAccel_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QAccel_shortcutKey (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QAccel_keyToString (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QAccel_stringToKey (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QAccel_eventFilter (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAccel_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAccel_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QAccel_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QAccel__ */ diff --git a/qtjava/javalib/qtjava/TQAction.cpp b/qtjava/javalib/qtjava/TQAction.cpp new file mode 100644 index 00000000..91751c48 --- /dev/null +++ b/qtjava/javalib/qtjava/TQAction.cpp @@ -0,0 +1,511 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +class TQActionJBridge : public TQAction +{ +public: + TQActionJBridge(TQObject* arg1,const char* arg2) : TQAction(arg1,arg2) {}; + TQActionJBridge(TQObject* arg1) : TQAction(arg1) {}; + TQActionJBridge(const TQString& arg1,TQKeySequence arg2,TQObject* arg3,const char* arg4) : TQAction(arg1,arg2,arg3,arg4) {}; + TQActionJBridge(const TQString& arg1,TQKeySequence arg2,TQObject* arg3) : TQAction(arg1,arg2,arg3) {}; + TQActionJBridge(const TQIconSet& arg1,const TQString& arg2,TQKeySequence arg3,TQObject* arg4,const char* arg5) : TQAction(arg1,arg2,arg3,arg4,arg5) {}; + TQActionJBridge(const TQIconSet& arg1,const TQString& arg2,TQKeySequence arg3,TQObject* arg4) : TQAction(arg1,arg2,arg3,arg4) {}; + TQActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TQString& arg3,TQKeySequence arg4,TQObject* arg5,const char* arg6,bool arg7) : TQAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TQActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TQString& arg3,TQKeySequence arg4,TQObject* arg5,const char* arg6) : TQAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TQActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TQString& arg3,TQKeySequence arg4,TQObject* arg5) : TQAction(arg1,arg2,arg3,arg4,arg5) {}; + TQActionJBridge(const TQString& arg1,const TQString& arg2,TQKeySequence arg3,TQObject* arg4,const char* arg5,bool arg6) : TQAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TQActionJBridge(const TQString& arg1,const TQString& arg2,TQKeySequence arg3,TQObject* arg4,const char* arg5) : TQAction(arg1,arg2,arg3,arg4,arg5) {}; + TQActionJBridge(const TQString& arg1,const TQString& arg2,TQKeySequence arg3,TQObject* arg4) : TQAction(arg1,arg2,arg3,arg4) {}; + TQActionJBridge(TQObject* arg1,const char* arg2,bool arg3) : TQAction(arg1,arg2,arg3) {}; + void protected_addedTo(TQWidget* arg1,TQWidget* arg2) { + TQAction::addedTo(arg1,arg2); + return; + } + void protected_addedTo(int arg1,TQPopupMenu* arg2) { + TQAction::addedTo(arg1,arg2); + return; + } + ~TQActionJBridge() {QtSupport::qtKeyDeleted(this);} + 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")) { + TQAction::setIconSet(arg1); + } + return; + } + void setAccel(const TQKeySequence& arg1) { + if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TQKeySequence")) { + TQAction::setAccel(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.qt.TQAction",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QAction_accel(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQKeySequence(((TQAction*) QtSupport::getQt(env, obj))->accel()), "org.kde.qt.TQKeySequence", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAction_activate(JNIEnv* env, jobject obj) +{ + ((TQAction*) QtSupport::getQt(env, obj))->activate(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QAction_addTo(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQAction*) QtSupport::getQt(env, obj))->addTo((TQWidget*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAction_addedTo__ILorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jint index, jobject menu) +{ + ((TQActionJBridge*) QtSupport::getQt(env, obj))->protected_addedTo((int) index, (TQPopupMenu*) QtSupport::getQt(env, menu)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAction_addedTo__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject actionWidget, jobject container) +{ + ((TQActionJBridge*) QtSupport::getQt(env, obj))->protected_addedTo((TQWidget*) QtSupport::getQt(env, actionWidget), (TQWidget*) QtSupport::getQt(env, container)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QAction_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQAction*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAction_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QAction_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAction_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQAction*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQAction*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QAction_iconSet(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TQAction*) QtSupport::getQt(env, obj))->iconSet()), "org.kde.qt.TQIconSet", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QAction_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QAction_isEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQAction*) QtSupport::getQt(env, obj))->isEnabled(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QAction_isOn(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQAction*) QtSupport::getQt(env, obj))->isOn(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QAction_isToggleAction(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQAction*) QtSupport::getQt(env, obj))->isToggleAction(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QAction_isVisible(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQAction*) QtSupport::getQt(env, obj))->isVisible(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QAction_menuText(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQAction*) QtSupport::getQt(env, obj))->menuText(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QAction_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAction_newTQAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring menuText, jobject accel, jobject parent) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_menuText = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, menuText, &_qstring_menuText), (TQKeySequence)*(TQKeySequence*) QtSupport::getQt(env, accel), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAction_newTQAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring menuText, jobject accel, jobject parent, jstring name) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_menuText = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, menuText, &_qstring_menuText), (TQKeySequence)*(TQKeySequence*) QtSupport::getQt(env, accel), (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_qt_QAction_newTQAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring text, jstring menuText, jobject accel, jobject parent, jstring name, jboolean toggle) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_menuText = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, menuText, &_qstring_menuText), (TQKeySequence)*(TQKeySequence*) QtSupport::getQt(env, accel), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) toggle)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAction_newTQAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject icon, jstring menuText, jobject accel, jobject parent) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_menuText = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, menuText, &_qstring_menuText), (TQKeySequence)*(TQKeySequence*) QtSupport::getQt(env, accel), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAction_newTQAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject icon, jstring menuText, jobject accel, jobject parent, jstring name) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_menuText = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, menuText, &_qstring_menuText), (TQKeySequence)*(TQKeySequence*) QtSupport::getQt(env, accel), (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_qt_QAction_newTQAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring text, jobject icon, jstring menuText, jobject accel, jobject parent, jstring name, jboolean toggle) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_menuText = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, menuText, &_qstring_menuText), (TQKeySequence)*(TQKeySequence*) QtSupport::getQt(env, accel), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) toggle)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAction_newTQAction__Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring menuText, jobject accel, jobject parent) +{ +static TQString* _qstring_menuText = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, menuText, &_qstring_menuText), (TQKeySequence)*(TQKeySequence*) QtSupport::getQt(env, accel), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAction_newTQAction__Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring menuText, jobject accel, jobject parent, jstring name) +{ +static TQString* _qstring_menuText = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, menuText, &_qstring_menuText), (TQKeySequence)*(TQKeySequence*) QtSupport::getQt(env, accel), (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_qt_QAction_newTQAction__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject icon, jstring menuText, jobject accel, jobject parent) +{ +static TQString* _qstring_menuText = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQActionJBridge((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, menuText, &_qstring_menuText), (TQKeySequence)*(TQKeySequence*) QtSupport::getQt(env, accel), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAction_newTQAction__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject icon, jstring menuText, jobject accel, jobject parent, jstring name) +{ +static TQString* _qstring_menuText = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQActionJBridge((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, menuText, &_qstring_menuText), (TQKeySequence)*(TQKeySequence*) QtSupport::getQt(env, accel), (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_qt_QAction_newTQAction__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQActionJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAction_newTQAction__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 TQActionJBridge((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_qt_QAction_newTQAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean toggle) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQActionJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) toggle)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QAction_removeFrom(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQAction*) QtSupport::getQt(env, obj))->removeFrom((TQWidget*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAction_setAccel(JNIEnv* env, jobject obj, jobject key) +{ + ((TQAction*) QtSupport::getQt(env, obj))->setAccel((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, key)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAction_setDisabled(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQAction*) QtSupport::getQt(env, obj))->setDisabled((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAction_setEnabled(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQAction*) QtSupport::getQt(env, obj))->setEnabled((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAction_setIconSet(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQAction*) QtSupport::getQt(env, obj))->setIconSet((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAction_setMenuText(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQAction*) QtSupport::getQt(env, obj))->setMenuText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAction_setOn(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQAction*) QtSupport::getQt(env, obj))->setOn((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAction_setStatusTip(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQAction*) QtSupport::getQt(env, obj))->setStatusTip((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAction_setText(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQAction*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAction_setToggleAction(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQAction*) QtSupport::getQt(env, obj))->setToggleAction((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAction_setToolTip(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQAction*) QtSupport::getQt(env, obj))->setToolTip((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAction_setVisible(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQAction*) QtSupport::getQt(env, obj))->setVisible((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAction_setWhatsThis(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQAction*) QtSupport::getQt(env, obj))->setWhatsThis((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QAction_statusTip(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQAction*) QtSupport::getQt(env, obj))->statusTip(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QAction_text(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQAction*) QtSupport::getQt(env, obj))->text(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAction_toggle(JNIEnv* env, jobject obj) +{ + ((TQAction*) QtSupport::getQt(env, obj))->toggle(); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QAction_toolTip(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQAction*) QtSupport::getQt(env, obj))->toolTip(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QAction_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQActionJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QAction_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQActionJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QAction_whatsThis(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQAction*) QtSupport::getQt(env, obj))->whatsThis(); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQAction.h b/qtjava/javalib/qtjava/TQAction.h new file mode 100644 index 00000000..2980b90b --- /dev/null +++ b/qtjava/javalib/qtjava/TQAction.h @@ -0,0 +1,67 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QAction__ +#define __org_kde_qt_QAction__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QAction_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QAction_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_newTQAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_newTQAction__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_newTQAction__Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_newTQAction__Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_newTQAction__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_newTQAction__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_newTQAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jobject, jstring, jobject, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_newTQAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_newTQAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jstring, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_newTQAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_newTQAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_newTQAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_newTQAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_setIconSet (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QAction_iconSet (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_setText (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QAction_text (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_setMenuText (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QAction_menuText (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_setToolTip (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QAction_toolTip (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_setStatusTip (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QAction_statusTip (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_setWhatsThis (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QAction_whatsThis (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_setAccel (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QAction_accel (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_setToggleAction (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QAction_isToggleAction (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QAction_isOn (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QAction_isEnabled (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QAction_isVisible (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QAction_addTo (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QAction_removeFrom (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_activate (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_toggle (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_setOn (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_setEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_setDisabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_setVisible (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QAction_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QAction_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_addedTo__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_addedTo__ILorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QAction_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QAction__ */ diff --git a/qtjava/javalib/qtjava/TQActionGroup.cpp b/qtjava/javalib/qtjava/TQActionGroup.cpp new file mode 100644 index 00000000..754736e6 --- /dev/null +++ b/qtjava/javalib/qtjava/TQActionGroup.cpp @@ -0,0 +1,329 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQActionGroupJBridge : public TQActionGroup +{ +public: + TQActionGroupJBridge(TQObject* arg1,const char* arg2) : TQActionGroup(arg1,arg2) {}; + TQActionGroupJBridge(TQObject* arg1) : TQActionGroup(arg1) {}; + TQActionGroupJBridge(TQObject* arg1,const char* arg2,bool arg3) : TQActionGroup(arg1,arg2,arg3) {}; + void protected_childEvent(TQChildEvent* arg1) { + TQActionGroup::childEvent(arg1); + return; + } + void protected_addedTo(TQWidget* arg1,TQWidget* arg2,TQAction* arg3) { + TQActionGroup::addedTo(arg1,arg2,arg3); + return; + } + void protected_addedTo(int arg1,TQPopupMenu* arg2,TQAction* arg3) { + TQActionGroup::addedTo(arg1,arg2,arg3); + return; + } + void protected_addedTo(TQWidget* arg1,TQWidget* arg2) { + TQActionGroup::addedTo(arg1,arg2); + return; + } + void protected_addedTo(int arg1,TQPopupMenu* arg2) { + TQActionGroup::addedTo(arg1,arg2); + return; + } + ~TQActionGroupJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::removeChild(arg1); + } + return; + } + void setAccel(const TQKeySequence& arg1) { + if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TQKeySequence")) { + TQAction::setAccel(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")) { + TQActionGroup::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.qt.TQActionGroup",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QActionGroup_addSeparator(JNIEnv* env, jobject obj) +{ + ((TQActionGroup*) QtSupport::getQt(env, obj))->addSeparator(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QActionGroup_addTo(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQActionGroup*) QtSupport::getQt(env, obj))->addTo((TQWidget*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QActionGroup_add(JNIEnv* env, jobject obj, jobject a) +{ + ((TQActionGroup*) QtSupport::getQt(env, obj))->add((TQAction*) QtSupport::getQt(env, a)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QActionGroup_addedTo__ILorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jint index, jobject menu) +{ + ((TQActionGroupJBridge*) QtSupport::getQt(env, obj))->protected_addedTo((int) index, (TQPopupMenu*) QtSupport::getQt(env, menu)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QActionGroup_addedTo__ILorg_kde_qt_QPopupMenu_2Lorg_kde_qt_QAction_2(JNIEnv* env, jobject obj, jint index, jobject menu, jobject a) +{ + ((TQActionGroupJBridge*) QtSupport::getQt(env, obj))->protected_addedTo((int) index, (TQPopupMenu*) QtSupport::getQt(env, menu), (TQAction*) QtSupport::getQt(env, a)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QActionGroup_addedTo__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject actionWidget, jobject container) +{ + ((TQActionGroupJBridge*) QtSupport::getQt(env, obj))->protected_addedTo((TQWidget*) QtSupport::getQt(env, actionWidget), (TQWidget*) QtSupport::getQt(env, container)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QActionGroup_addedTo__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QAction_2(JNIEnv* env, jobject obj, jobject actionWidget, jobject container, jobject a) +{ + ((TQActionGroupJBridge*) QtSupport::getQt(env, obj))->protected_addedTo((TQWidget*) QtSupport::getQt(env, actionWidget), (TQWidget*) QtSupport::getQt(env, container), (TQAction*) QtSupport::getQt(env, a)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QActionGroup_childEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQActionGroupJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TQChildEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QActionGroup_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQActionGroup*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QActionGroup_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QActionGroup_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QActionGroup_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQActionGroup*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQActionGroup*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QActionGroup_insert(JNIEnv* env, jobject obj, jobject a) +{ + ((TQActionGroup*) QtSupport::getQt(env, obj))->insert((TQAction*) QtSupport::getQt(env, a)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QActionGroup_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QActionGroup_isExclusive(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQActionGroup*) QtSupport::getQt(env, obj))->isExclusive(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QActionGroup_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQActionGroup*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QActionGroup_newTQActionGroup__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQActionGroupJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QActionGroup_newTQActionGroup__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 TQActionGroupJBridge((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_qt_QActionGroup_newTQActionGroup__Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean exclusive) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQActionGroupJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) exclusive)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QActionGroup_removeFrom(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQActionGroup*) QtSupport::getQt(env, obj))->removeFrom((TQWidget*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QActionGroup_setEnabled(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQActionGroup*) QtSupport::getQt(env, obj))->setEnabled((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QActionGroup_setExclusive(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQActionGroup*) QtSupport::getQt(env, obj))->setExclusive((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QActionGroup_setIconSet(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQActionGroup*) QtSupport::getQt(env, obj))->setIconSet((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QActionGroup_setMenuText(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQActionGroup*) QtSupport::getQt(env, obj))->setMenuText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QActionGroup_setOn(JNIEnv* env, jobject obj, jboolean on) +{ + ((TQActionGroup*) QtSupport::getQt(env, obj))->setOn((bool) on); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QActionGroup_setText(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQActionGroup*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QActionGroup_setToggleAction(JNIEnv* env, jobject obj, jboolean toggle) +{ + ((TQActionGroup*) QtSupport::getQt(env, obj))->setToggleAction((bool) toggle); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QActionGroup_setToolTip(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQActionGroup*) QtSupport::getQt(env, obj))->setToolTip((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QActionGroup_setUsesDropDown(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TQActionGroup*) QtSupport::getQt(env, obj))->setUsesDropDown((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QActionGroup_setWhatsThis(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQActionGroup*) QtSupport::getQt(env, obj))->setWhatsThis((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QActionGroup_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQActionGroupJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QActionGroup_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQActionGroupJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QActionGroup_usesDropDown(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQActionGroup*) QtSupport::getQt(env, obj))->usesDropDown(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQActionGroup.h b/qtjava/javalib/qtjava/TQActionGroup.h new file mode 100644 index 00000000..3f9a122a --- /dev/null +++ b/qtjava/javalib/qtjava/TQActionGroup.h @@ -0,0 +1,50 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QActionGroup__ +#define __org_kde_qt_QActionGroup__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QActionGroup_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QActionGroup_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_newTQActionGroup__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_newTQActionGroup__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_newTQActionGroup__Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_setExclusive (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QActionGroup_isExclusive (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_add (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_addSeparator (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QActionGroup_addTo (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QActionGroup_removeFrom (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_setEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_setToggleAction (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_setOn (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_setUsesDropDown (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QActionGroup_usesDropDown (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_setIconSet (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_setText (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_setMenuText (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_setToolTip (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_setWhatsThis (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_insert (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QActionGroup_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QActionGroup_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_childEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_addedTo__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QAction_2 (JNIEnv *env, jobject, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_addedTo__ILorg_kde_qt_QPopupMenu_2Lorg_kde_qt_QAction_2 (JNIEnv *env, jobject, jint, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_addedTo__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_addedTo__ILorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QActionGroup_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QActionGroup__ */ diff --git a/qtjava/javalib/qtjava/TQApplication.cpp b/qtjava/javalib/qtjava/TQApplication.cpp new file mode 100644 index 00000000..85dddeee --- /dev/null +++ b/qtjava/javalib/qtjava/TQApplication.cpp @@ -0,0 +1,1090 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQApplicationJBridge : public TQApplication +{ +public: + TQApplicationJBridge(int& arg1,char** arg2) : TQApplication(arg1,arg2) {}; + TQApplicationJBridge(int& arg1,char** arg2,bool arg3) : TQApplication(arg1,arg2,arg3) {}; + TQApplicationJBridge(int& arg1,char** arg2,TQApplication::Type arg3) : TQApplication(arg1,arg2,arg3) {}; + bool protected_event(TQEvent* arg1) { + return (bool) TQApplication::event(arg1); + } + ~TQApplicationJBridge() {QtSupport::qtKeyDeleted(this);} + void commitData(TQSessionManager& arg1) { + if (!QtSupport::eventDelegate(this,"commitData",(void*)&arg1,"org.kde.qt.TQSessionManager")) { + TQApplication::commitData(arg1); + } + return; + } + void processOneEvent() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQApplication","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 saveState(TQSessionManager& arg1) { + if (!QtSupport::eventDelegate(this,"saveState",(void*)&arg1,"org.kde.qt.TQSessionManager")) { + TQApplication::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.qt.TQApplication",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_aboutTQt(JNIEnv* env, jobject obj) +{ + ((TQApplication*) QtSupport::getQt(env, obj))->aboutTQt(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QApplication_activeModalWidget(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQApplicationJBridge::activeModalWidget(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QApplication_activePopupWidget(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQApplicationJBridge::activePopupWidget(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QApplication_activeWindow(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQApplication*) QtSupport::getQt(env, obj))->activeWindow(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_addLibraryPath(JNIEnv* env, jclass cls, jstring arg1) +{ + (void) cls; +static TQString* _qstring_arg1 = 0; + TQApplicationJBridge::addLibraryPath((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QApplication_allWidgets(JNIEnv* env, jclass cls) +{ + TQWidgetList* _qlist; + (void) cls; + _qlist = TQApplicationJBridge::allWidgets(); + return (jobject) QtSupport::arrayWithTQWidgetList(env, (TQWidgetList*) _qlist); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QApplication_applicationDirPath(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQApplication*) QtSupport::getQt(env, obj))->applicationDirPath(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QApplication_applicationFilePath(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQApplication*) QtSupport::getQt(env, obj))->applicationFilePath(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_beep(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + TQApplicationJBridge::beep(); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QApplication_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQApplication*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QApplication_clipboard(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQApplicationJBridge::clipboard(), "org.kde.qt.TQClipboard"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_closeAllWindows(JNIEnv* env, jobject obj) +{ + ((TQApplication*) QtSupport::getQt(env, obj))->closeAllWindows(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QApplication_closingDown(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jboolean xret = (jboolean) TQApplicationJBridge::closingDown(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QApplication_colorMode(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jint xret = (jint) TQApplicationJBridge::colorMode(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QApplication_colorSpec(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jint xret = (jint) TQApplicationJBridge::colorSpec(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_commitData(JNIEnv* env, jobject obj, jobject sm) +{ + ((TQApplication*) QtSupport::getQt(env, obj))->commitData((TQSessionManager&)*(TQSessionManager*) QtSupport::getQt(env, sm)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QApplication_cursorFlashTime(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jint xret = (jint) TQApplicationJBridge::cursorFlashTime(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QApplication_defaultCodec(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQApplication*) QtSupport::getQt(env, obj))->defaultCodec(), "org.kde.qt.TQTextCodec"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QApplication_desktopSettingsAware(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jboolean xret = (jboolean) TQApplicationJBridge::desktopSettingsAware(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QApplication_desktop(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQApplicationJBridge::desktop(), "org.kde.qt.TQDesktopWidget"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QApplication_finalize(env, obj); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QApplication_doubleClickInterval(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jint xret = (jint) TQApplicationJBridge::doubleClickInterval(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QApplication_enter_1loop(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQApplication*) QtSupport::getQt(env, obj))->enter_loop(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QApplication_eventLoop(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQApplicationJBridge::eventLoop(), "org.kde.qt.TQEventLoop"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QApplication_event(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQApplicationJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QApplication_exec(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQApplication*) QtSupport::getQt(env, obj))->exec(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_exit_1loop(JNIEnv* env, jobject obj) +{ + ((TQApplication*) QtSupport::getQt(env, obj))->exit_loop(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_exit__(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + TQApplicationJBridge::exit(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_exit__I(JNIEnv* env, jclass cls, jint retcode) +{ + (void) cls; + (void) env; + TQApplicationJBridge::exit((int) retcode); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQApplication*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQApplication*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_flushX(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + TQApplicationJBridge::flushX(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_flush(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + TQApplicationJBridge::flush(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QApplication_focusWidget(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQApplication*) QtSupport::getQt(env, obj))->focusWidget(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QApplication_fontMetrics(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFontMetrics(TQApplicationJBridge::fontMetrics()), "org.kde.qt.TQFontMetrics", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QApplication_font__(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TQApplicationJBridge::font()), "org.kde.qt.TQFont", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QApplication_font__Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject arg1) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TQApplicationJBridge::font((const TQWidget*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQFont", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QApplication_globalStrut(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(TQApplicationJBridge::globalStrut()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QApplication_hasGlobalMouseTracking(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jboolean xret = (jboolean) TQApplicationJBridge::hasGlobalMouseTracking(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QApplication_hasPendingEvents(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQApplication*) QtSupport::getQt(env, obj))->hasPendingEvents(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QApplication_horizontalAlignment(JNIEnv* env, jclass cls, jint align) +{ + (void) cls; + (void) env; + jint xret = (jint) TQApplicationJBridge::horizontalAlignment((int) align); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_installTranslator(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQApplication*) QtSupport::getQt(env, obj))->installTranslator((TQTranslator*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QApplication_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QApplication_isEffectEnabled(JNIEnv* env, jclass cls, jint arg1) +{ + (void) cls; + (void) env; + jboolean xret = (jboolean) TQApplicationJBridge::isEffectEnabled((TQt::UIEffect) arg1); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QApplication_isSessionRestored(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQApplication*) QtSupport::getQt(env, obj))->isSessionRestored(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QApplication_libraryPaths(JNIEnv* env, jclass cls) +{ + TQStringList _qlist; + (void) cls; + _qlist = TQApplicationJBridge::libraryPaths(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QApplication_loopLevel(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQApplication*) QtSupport::getQt(env, obj))->loopLevel(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QApplication_mainWidget(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQApplication*) QtSupport::getQt(env, obj))->mainWidget(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QApplication_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQApplication*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QApplication_notify(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) +{ + jboolean xret = (jboolean) ((TQApplication*) QtSupport::getQt(env, obj))->notify((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QApplication_overrideCursor(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQApplicationJBridge::overrideCursor(), "org.kde.qt.TQCursor"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QApplication_palette__(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPalette(TQApplicationJBridge::palette()), "org.kde.qt.TQPalette", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QApplication_palette__Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject arg1) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPalette(TQApplicationJBridge::palette((const TQWidget*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQPalette", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_polish(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQApplication*) QtSupport::getQt(env, obj))->polish((TQWidget*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_postEvent(JNIEnv* env, jclass cls, jobject receiver, jobject event) +{ + (void) cls; + TQApplicationJBridge::postEvent((TQObject*) QtSupport::getQt(env, receiver), (TQEvent*) QtSupport::getQt(env, event)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_processEvents__(JNIEnv* env, jobject obj) +{ + ((TQApplication*) QtSupport::getQt(env, obj))->processEvents(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_processEvents__I(JNIEnv* env, jobject obj, jint maxtime) +{ + ((TQApplication*) QtSupport::getQt(env, obj))->processEvents((int) maxtime); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_processOneEvent(JNIEnv* env, jobject obj) +{ + ((TQApplication*) QtSupport::getQt(env, obj))->processOneEvent(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_quit(JNIEnv* env, jobject obj) +{ + ((TQApplication*) QtSupport::getQt(env, obj))->quit(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_removeLibraryPath(JNIEnv* env, jclass cls, jstring arg1) +{ + (void) cls; +static TQString* _qstring_arg1 = 0; + TQApplicationJBridge::removeLibraryPath((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_removePostedEvents(JNIEnv* env, jclass cls, jobject receiver) +{ + (void) cls; + TQApplicationJBridge::removePostedEvents((TQObject*) QtSupport::getQt(env, receiver)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_removeTranslator(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQApplication*) QtSupport::getQt(env, obj))->removeTranslator((TQTranslator*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_restoreOverrideCursor(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + TQApplicationJBridge::restoreOverrideCursor(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QApplication_reverseLayout(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jboolean xret = (jboolean) TQApplicationJBridge::reverseLayout(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_saveState(JNIEnv* env, jobject obj, jobject sm) +{ + ((TQApplication*) QtSupport::getQt(env, obj))->saveState((TQSessionManager&)*(TQSessionManager*) QtSupport::getQt(env, sm)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QApplication_sendEvent(JNIEnv* env, jclass cls, jobject receiver, jobject event) +{ + (void) cls; + jboolean xret = (jboolean) TQApplicationJBridge::sendEvent((TQObject*) QtSupport::getQt(env, receiver), (TQEvent*) QtSupport::getQt(env, event)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_sendPostedEvents__(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + TQApplicationJBridge::sendPostedEvents(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_sendPostedEvents__Lorg_kde_qt_QObject_2I(JNIEnv* env, jclass cls, jobject receiver, jint event_type) +{ + (void) cls; + TQApplicationJBridge::sendPostedEvents((TQObject*) QtSupport::getQt(env, receiver), (int) event_type); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QApplication_sessionId(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQApplication*) QtSupport::getQt(env, obj))->sessionId(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QApplication_sessionKey(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQApplication*) QtSupport::getQt(env, obj))->sessionKey(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_setColorMode(JNIEnv* env, jclass cls, jint arg1) +{ + (void) cls; + (void) env; + TQApplicationJBridge::setColorMode((TQApplication::ColorMode) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_setColorSpec(JNIEnv* env, jclass cls, jint arg1) +{ + (void) cls; + (void) env; + TQApplicationJBridge::setColorSpec((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_setCursorFlashTime(JNIEnv* env, jclass cls, jint arg1) +{ + (void) cls; + (void) env; + TQApplicationJBridge::setCursorFlashTime((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_setDefaultCodec(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQApplication*) QtSupport::getQt(env, obj))->setDefaultCodec((TQTextCodec*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_setDesktopSettingsAware(JNIEnv* env, jclass cls, jboolean arg1) +{ + (void) cls; + (void) env; + TQApplicationJBridge::setDesktopSettingsAware((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_setDoubleClickInterval(JNIEnv* env, jclass cls, jint arg1) +{ + (void) cls; + (void) env; + TQApplicationJBridge::setDoubleClickInterval((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_setEffectEnabled__I(JNIEnv* env, jclass cls, jint arg1) +{ + (void) cls; + (void) env; + TQApplicationJBridge::setEffectEnabled((TQt::UIEffect) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_setEffectEnabled__IZ(JNIEnv* env, jclass cls, jint arg1, jboolean enable) +{ + (void) cls; + (void) env; + TQApplicationJBridge::setEffectEnabled((TQt::UIEffect) arg1, (bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_setFont__Lorg_kde_qt_QFont_2(JNIEnv* env, jclass cls, jobject arg1) +{ + (void) cls; + TQApplicationJBridge::setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_setFont__Lorg_kde_qt_QFont_2Z(JNIEnv* env, jclass cls, jobject arg1, jboolean informWidgets) +{ + (void) cls; + TQApplicationJBridge::setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1), (bool) informWidgets); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_setFont__Lorg_kde_qt_QFont_2ZLjava_lang_String_2(JNIEnv* env, jclass cls, jobject arg1, jboolean informWidgets, jstring className) +{ + (void) cls; +static TQCString* _qstring_className = 0; + TQApplicationJBridge::setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1), (bool) informWidgets, (const char*) QtSupport::toCharString(env, className, &_qstring_className)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_setGlobalMouseTracking(JNIEnv* env, jclass cls, jboolean enable) +{ + (void) cls; + (void) env; + TQApplicationJBridge::setGlobalMouseTracking((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_setGlobalStrut(JNIEnv* env, jclass cls, jobject arg1) +{ + (void) cls; + TQApplicationJBridge::setGlobalStrut((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_setLibraryPaths(JNIEnv* env, jclass cls, jobjectArray arg1) +{ + (void) cls; +static TQStringList* _qlist_arg1 = 0; + TQApplicationJBridge::setLibraryPaths((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, arg1, &_qlist_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_setMainWidget(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQApplication*) QtSupport::getQt(env, obj))->setMainWidget((TQWidget*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_setOverrideCursor__Lorg_kde_qt_QCursor_2(JNIEnv* env, jclass cls, jobject arg1) +{ + (void) cls; + TQApplicationJBridge::setOverrideCursor((const TQCursor&)*(const TQCursor*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_setOverrideCursor__Lorg_kde_qt_QCursor_2Z(JNIEnv* env, jclass cls, jobject arg1, jboolean replace) +{ + (void) cls; + TQApplicationJBridge::setOverrideCursor((const TQCursor&)*(const TQCursor*) QtSupport::getQt(env, arg1), (bool) replace); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_setPalette__Lorg_kde_qt_QPalette_2(JNIEnv* env, jclass cls, jobject arg1) +{ + (void) cls; + TQApplicationJBridge::setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_setPalette__Lorg_kde_qt_QPalette_2Z(JNIEnv* env, jclass cls, jobject arg1, jboolean informWidgets) +{ + (void) cls; + TQApplicationJBridge::setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1), (bool) informWidgets); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_setPalette__Lorg_kde_qt_QPalette_2ZLjava_lang_String_2(JNIEnv* env, jclass cls, jobject arg1, jboolean informWidgets, jstring className) +{ + (void) cls; +static TQCString* _qstring_className = 0; + TQApplicationJBridge::setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1), (bool) informWidgets, (const char*) QtSupport::toCharString(env, className, &_qstring_className)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_setReverseLayout(JNIEnv* env, jclass cls, jboolean b) +{ + (void) cls; + (void) env; + TQApplicationJBridge::setReverseLayout((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_setStartDragDistance(JNIEnv* env, jclass cls, jint l) +{ + (void) cls; + (void) env; + TQApplicationJBridge::setStartDragDistance((int) l); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_setStartDragTime(JNIEnv* env, jclass cls, jint ms) +{ + (void) cls; + (void) env; + TQApplicationJBridge::setStartDragTime((int) ms); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QApplication_setStyle__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + (void) cls; +static TQString* _qstring_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQApplicationJBridge::setStyle((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)), "org.kde.qt.TQStyle"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_setStyle__Lorg_kde_qt_QStyle_2(JNIEnv* env, jclass cls, jobject arg1) +{ + (void) cls; + TQApplicationJBridge::setStyle((TQStyle*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_setWheelScrollLines(JNIEnv* env, jclass cls, jint arg1) +{ + (void) cls; + (void) env; + TQApplicationJBridge::setWheelScrollLines((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_setWinStyleHighlightColor(JNIEnv* env, jclass cls, jobject c) +{ + (void) cls; + TQApplicationJBridge::setWinStyleHighlightColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QApplication_startDragDistance(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jint xret = (jint) TQApplicationJBridge::startDragDistance(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QApplication_startDragTime(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jint xret = (jint) TQApplicationJBridge::startDragTime(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QApplication_startingUp(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jboolean xret = (jboolean) TQApplicationJBridge::startingUp(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QApplication_style(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQStyle *) &TQApplicationJBridge::style(), "org.kde.qt.TQStyle"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_syncX(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + TQApplicationJBridge::syncX(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QApplication_topLevelWidgets(JNIEnv* env, jclass cls) +{ + TQWidgetList* _qlist; + (void) cls; + _qlist = TQApplicationJBridge::topLevelWidgets(); + return (jobject) QtSupport::arrayWithTQWidgetList(env, (TQWidgetList*) _qlist); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QApplication_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQApplicationJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QApplication_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQApplicationJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QApplication_translate__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring context, jstring key) +{ + TQString _qstring; +static TQCString* _qstring_context = 0; +static TQCString* _qstring_key = 0; + _qstring = ((TQApplication*) QtSupport::getQt(env, obj))->translate((const char*) QtSupport::toCharString(env, context, &_qstring_context), (const char*) QtSupport::toCharString(env, key, &_qstring_key)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QApplication_translate__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring context, jstring key, jstring comment) +{ + TQString _qstring; +static TQCString* _qstring_context = 0; +static TQCString* _qstring_key = 0; +static TQCString* _qstring_comment = 0; + _qstring = ((TQApplication*) QtSupport::getQt(env, obj))->translate((const char*) QtSupport::toCharString(env, context, &_qstring_context), (const char*) QtSupport::toCharString(env, key, &_qstring_key), (const char*) QtSupport::toCharString(env, comment, &_qstring_comment)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QApplication_translate__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring context, jstring key, jstring comment, jint encoding) +{ + TQString _qstring; +static TQCString* _qstring_context = 0; +static TQCString* _qstring_key = 0; +static TQCString* _qstring_comment = 0; + _qstring = ((TQApplication*) QtSupport::getQt(env, obj))->translate((const char*) QtSupport::toCharString(env, context, &_qstring_context), (const char*) QtSupport::toCharString(env, key, &_qstring_key), (const char*) QtSupport::toCharString(env, comment, &_qstring_comment), (TQApplication::Encoding) encoding); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QApplication_type(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQApplication*) QtSupport::getQt(env, obj))->type(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_wakeUpGuiThread(JNIEnv* env, jobject obj) +{ + ((TQApplication*) QtSupport::getQt(env, obj))->wakeUpGuiThread(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QApplication_wheelScrollLines(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jint xret = (jint) TQApplicationJBridge::wheelScrollLines(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QApplication_widgetAt__II(JNIEnv* env, jclass cls, jint x, jint y) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQApplicationJBridge::widgetAt((int) x, (int) y), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QApplication_widgetAt__IIZ(JNIEnv* env, jclass cls, jint x, jint y, jboolean child) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQApplicationJBridge::widgetAt((int) x, (int) y, (bool) child), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QApplication_widgetAt__Lorg_kde_qt_QPoint_2(JNIEnv* env, jclass cls, jobject arg1) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQApplicationJBridge::widgetAt((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QApplication_widgetAt__Lorg_kde_qt_QPoint_2Z(JNIEnv* env, jclass cls, jobject arg1, jboolean child) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQApplicationJBridge::widgetAt((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (bool) child), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QApplication_winStyleHighlightColor(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &TQApplicationJBridge::winStyleHighlightColor(), "org.kde.qt.TQColor"); + return xret; +} + +static jobjectArray _args = 0; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_newTQApplication___3Ljava_lang_String_2(JNIEnv *env, jobject obj, jobjectArray args) +{ + int argc = (int) env->GetArrayLength(args) + 1; + _args = (jobjectArray) env->NewGlobalRef(args); + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQApplicationJBridge(argc, QtSupport::toArgv(env, args))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_newTQApplication___3Ljava_lang_String_2Z(JNIEnv *env, jobject obj, jobjectArray args, jboolean GUIenabled) +{ + int argc = (int) env->GetArrayLength(args) + 1; + _args = (jobjectArray) env->NewGlobalRef(args); + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQApplicationJBridge(argc, QtSupport::toArgv(env, args), (bool) GUIenabled)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QApplication_newTQApplication___3Ljava_lang_String_2I(JNIEnv *env, jobject obj, jobjectArray args, jint arg1) +{ + int argc = (int) env->GetArrayLength(args) + 1; + _args = (jobjectArray) env->NewGlobalRef(args); + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQApplicationJBridge(argc, QtSupport::toArgv(env, args), (TQApplication::Type) arg1)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobjectArray JNICALL +Java_org_kde_qt_QApplication_args(JNIEnv *env, jobject obj) +{ + (void) env; + (void) obj; + return _args; +} + diff --git a/qtjava/javalib/qtjava/TQApplication.h b/qtjava/javalib/qtjava/TQApplication.h new file mode 100644 index 00000000..3b659e8f --- /dev/null +++ b/qtjava/javalib/qtjava/TQApplication.h @@ -0,0 +1,137 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QApplication__ +#define __org_kde_qt_QApplication__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QApplication_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_newTQApplication___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_newTQApplication___3Ljava_lang_String_2Z (JNIEnv *env, jobject, jobjectArray, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_newTQApplication___3Ljava_lang_String_2I (JNIEnv *env, jobject, jobjectArray, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QApplication_type (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_mainWidget (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setMainWidget (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_polish (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_focusWidget (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_activeWindow (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QApplication_exec (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_processEvents__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_processEvents__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_processOneEvent (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QApplication_hasPendingEvents (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QApplication_enter_1loop (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_exit_1loop (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QApplication_loopLevel (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QApplication_notify (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setDefaultCodec (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_defaultCodec (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_installTranslator (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_removeTranslator (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QApplication_translate__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jstring, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QApplication_translate__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QApplication_translate__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QApplication_applicationDirPath (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QApplication_applicationFilePath (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QApplication_isSessionRestored (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QApplication_sessionId (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QApplication_sessionKey (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_commitData (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_saveState (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_wakeUpGuiThread (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_quit (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_closeAllWindows (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_aboutTQt (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QApplication_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QApplication_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_style (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setStyle__Lorg_kde_qt_QStyle_2 (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_setStyle__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QApplication_colorMode (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setColorMode (JNIEnv *env, jclass, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QApplication_colorSpec (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setColorSpec (JNIEnv *env, jclass, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_overrideCursor (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setOverrideCursor__Lorg_kde_qt_QCursor_2Z (JNIEnv *env, jclass, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setOverrideCursor__Lorg_kde_qt_QCursor_2 (JNIEnv *env, jclass, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_restoreOverrideCursor (JNIEnv *env, jclass); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QApplication_hasGlobalMouseTracking (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setGlobalMouseTracking (JNIEnv *env, jclass, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_palette__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_palette__ (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setPalette__Lorg_kde_qt_QPalette_2ZLjava_lang_String_2 (JNIEnv *env, jclass, jobject, jboolean, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setPalette__Lorg_kde_qt_QPalette_2Z (JNIEnv *env, jclass, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setPalette__Lorg_kde_qt_QPalette_2 (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_font__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_font__ (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setFont__Lorg_kde_qt_QFont_2ZLjava_lang_String_2 (JNIEnv *env, jclass, jobject, jboolean, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setFont__Lorg_kde_qt_QFont_2Z (JNIEnv *env, jclass, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setFont__Lorg_kde_qt_QFont_2 (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_fontMetrics (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_allWidgets (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_topLevelWidgets (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_desktop (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_activePopupWidget (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_activeModalWidget (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_clipboard (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_widgetAt__IIZ (JNIEnv *env, jclass, jint, jint, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_widgetAt__II (JNIEnv *env, jclass, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_widgetAt__Lorg_kde_qt_QPoint_2Z (JNIEnv *env, jclass, jobject, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_widgetAt__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_eventLoop (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_exit__I (JNIEnv *env, jclass, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_exit__ (JNIEnv *env, jclass); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QApplication_sendEvent (JNIEnv *env, jclass, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_postEvent (JNIEnv *env, jclass, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_sendPostedEvents__Lorg_kde_qt_QObject_2I (JNIEnv *env, jclass, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_sendPostedEvents__ (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_removePostedEvents (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QApplication_startingUp (JNIEnv *env, jclass); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QApplication_closingDown (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_flushX (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_flush (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_syncX (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_beep (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setWinStyleHighlightColor (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_winStyleHighlightColor (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setDesktopSettingsAware (JNIEnv *env, jclass, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QApplication_desktopSettingsAware (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setCursorFlashTime (JNIEnv *env, jclass, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QApplication_cursorFlashTime (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setDoubleClickInterval (JNIEnv *env, jclass, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QApplication_doubleClickInterval (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setWheelScrollLines (JNIEnv *env, jclass, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QApplication_wheelScrollLines (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setGlobalStrut (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_globalStrut (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setLibraryPaths (JNIEnv *env, jclass, jobjectArray); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_libraryPaths (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_addLibraryPath (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_removeLibraryPath (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setStartDragTime (JNIEnv *env, jclass, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QApplication_startDragTime (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setStartDragDistance (JNIEnv *env, jclass, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QApplication_startDragDistance (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setReverseLayout (JNIEnv *env, jclass, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QApplication_reverseLayout (JNIEnv *env, jclass); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QApplication_horizontalAlignment (JNIEnv *env, jclass, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QApplication_isEffectEnabled (JNIEnv *env, jclass, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setEffectEnabled__IZ (JNIEnv *env, jclass, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setEffectEnabled__I (JNIEnv *env, jclass, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QApplication_event (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QApplication_isDisposed (JNIEnv *env, jobject); +extern JNIEXPORT jobjectArray JNICALL Java_org_kde_qt_QApplication_args (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QApplication__ */ diff --git a/qtjava/javalib/qtjava/TQAsyncIO.cpp b/qtjava/javalib/qtjava/TQAsyncIO.cpp new file mode 100644 index 00000000..20d64641 --- /dev/null +++ b/qtjava/javalib/qtjava/TQAsyncIO.cpp @@ -0,0 +1,65 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + +class TQAsyncIOJBridge : public TQAsyncIO +{ +public: + TQAsyncIOJBridge() : TQAsyncIO() {}; + void protected_ready() { + TQAsyncIO::ready(); + return; + } + ~TQAsyncIOJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAsyncIO_connect(JNIEnv* env, jobject obj, jobject arg1, jstring member) +{ +static TQCString* _qstring_member = 0; + ((TQAsyncIO*) QtSupport::getQt(env, obj))->connect((TQObject*) QtSupport::getQt(env, arg1), (const char*) QtSupport::toCharString(env, member, &_qstring_member)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAsyncIO_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QAsyncIO_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAsyncIO_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQAsyncIO*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QAsyncIO_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAsyncIO_newTQAsyncIO(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQAsyncIOJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAsyncIO_ready(JNIEnv* env, jobject obj) +{ + ((TQAsyncIOJBridge*) QtSupport::getQt(env, obj))->protected_ready(); + return; +} + diff --git a/qtjava/javalib/qtjava/TQAsyncIO.h b/qtjava/javalib/qtjava/TQAsyncIO.h new file mode 100644 index 00000000..bce6ce27 --- /dev/null +++ b/qtjava/javalib/qtjava/TQAsyncIO.h @@ -0,0 +1,24 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QAsyncIO__ +#define __org_kde_qt_QAsyncIO__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAsyncIO_connect (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAsyncIO_newTQAsyncIO (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAsyncIO_ready (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAsyncIO_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAsyncIO_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QAsyncIO_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QAsyncIO__ */ diff --git a/qtjava/javalib/qtjava/TQAuServer.cpp b/qtjava/javalib/qtjava/TQAuServer.cpp new file mode 100644 index 00000000..8b320fb6 --- /dev/null +++ b/qtjava/javalib/qtjava/TQAuServer.cpp @@ -0,0 +1,79 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QAuServer_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQAuServer*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAuServer_init(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQAuServer*) QtSupport::getQt(env, obj))->init((TQSound*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QAuServer_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQAuServer*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QAuServer_okay(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQAuServer*) QtSupport::getQt(env, obj))->okay(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAuServer_play__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename) +{ +static TQString* _qstring_filename = 0; + ((TQAuServer*) QtSupport::getQt(env, obj))->play((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAuServer_play__Lorg_kde_qt_QSound_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQAuServer*) QtSupport::getQt(env, obj))->play((TQSound*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QAuServer_stop(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQAuServer*) QtSupport::getQt(env, obj))->stop((TQSound*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QAuServer_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQAuServer::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QAuServer_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQAuServer::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQAuServer.h b/qtjava/javalib/qtjava/TQAuServer.h new file mode 100644 index 00000000..164b0262 --- /dev/null +++ b/qtjava/javalib/qtjava/TQAuServer.h @@ -0,0 +1,27 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QAuServer__ +#define __org_kde_qt_QAuServer__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QAuServer_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QAuServer_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAuServer_init (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAuServer_play__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAuServer_play__Lorg_kde_qt_QSound_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QAuServer_stop (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QAuServer_okay (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QAuServer_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QAuServer_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QAuServer__ */ diff --git a/qtjava/javalib/qtjava/TQBig5Codec.cpp b/qtjava/javalib/qtjava/TQBig5Codec.cpp new file mode 100644 index 00000000..28d70b81 --- /dev/null +++ b/qtjava/javalib/qtjava/TQBig5Codec.cpp @@ -0,0 +1,106 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQBig5CodecJBridge : public TQBig5Codec +{ +public: + TQBig5CodecJBridge() : TQBig5Codec() {}; + ~TQBig5CodecJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBig5Codec_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QBig5Codec_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBig5Codec_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQBig5Codec*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QBig5Codec_fromUnicode(JNIEnv* env, jobject obj, jstring uc, jintArray lenInOut) +{ + TQCString _qstring; +static TQString* _qstring_uc = 0; + int* _int_lenInOut = QtSupport::toIntPtr(env, lenInOut); + _qstring = ((TQBig5Codec*) QtSupport::getQt(env, obj))->fromUnicode((const TQString&)*(TQString*) QtSupport::toTQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); + env->SetIntArrayRegion(lenInOut, 0, 1, (jint *) _int_lenInOut); + return QtSupport::fromTQCString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QBig5Codec_heuristicContentMatch(JNIEnv* env, jobject obj, jstring chars, jint len) +{ +static TQCString* _qstring_chars = 0; + jint xret = (jint) ((TQBig5Codec*) QtSupport::getQt(env, obj))->heuristicContentMatch((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QBig5Codec_heuristicNameMatch(JNIEnv* env, jobject obj, jstring hint) +{ +static TQCString* _qstring_hint = 0; + jint xret = (jint) ((TQBig5Codec*) QtSupport::getQt(env, obj))->heuristicNameMatch((const char*) QtSupport::toCharString(env, hint, &_qstring_hint)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QBig5Codec_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QBig5Codec_makeDecoder(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQBig5Codec*) QtSupport::getQt(env, obj))->makeDecoder(), "org.kde.qt.TQTextDecoder"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QBig5Codec_mibEnum(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQBig5Codec*) QtSupport::getQt(env, obj))->mibEnum(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QBig5Codec_name(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQBig5Codec*) QtSupport::getQt(env, obj))->name(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBig5Codec_newTQBig5Codec(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQBig5CodecJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QBig5Codec_toUnicode(JNIEnv* env, jobject obj, jstring chars, jint len) +{ + TQString _qstring; +static TQCString* _qstring_chars = 0; + _qstring = ((TQBig5Codec*) QtSupport::getQt(env, obj))->toUnicode((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQBig5Codec.h b/qtjava/javalib/qtjava/TQBig5Codec.h new file mode 100644 index 00000000..4b912a1c --- /dev/null +++ b/qtjava/javalib/qtjava/TQBig5Codec.h @@ -0,0 +1,29 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QBig5Codec__ +#define __org_kde_qt_QBig5Codec__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QBig5Codec_mibEnum (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QBig5Codec_name (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QBig5Codec_makeDecoder (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QBig5Codec_fromUnicode (JNIEnv *env, jobject, jstring, jintArray); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QBig5Codec_toUnicode (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QBig5Codec_heuristicContentMatch (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QBig5Codec_heuristicNameMatch (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBig5Codec_newTQBig5Codec (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBig5Codec_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBig5Codec_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QBig5Codec_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QBig5Codec__ */ diff --git a/qtjava/javalib/qtjava/TQBitmap.cpp b/qtjava/javalib/qtjava/TQBitmap.cpp new file mode 100644 index 00000000..38f9e130 --- /dev/null +++ b/qtjava/javalib/qtjava/TQBitmap.cpp @@ -0,0 +1,231 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include + +#include +#include + +class TQBitmapJBridge : public TQBitmap +{ +public: + TQBitmapJBridge() : TQBitmap() {}; + TQBitmapJBridge(int arg1,int arg2,bool arg3,TQPixmap::Optimization arg4) : TQBitmap(arg1,arg2,arg3,arg4) {}; + TQBitmapJBridge(int arg1,int arg2,bool arg3) : TQBitmap(arg1,arg2,arg3) {}; + TQBitmapJBridge(int arg1,int arg2) : TQBitmap(arg1,arg2) {}; + TQBitmapJBridge(const TQSize& arg1,bool arg2,TQPixmap::Optimization arg3) : TQBitmap(arg1,arg2,arg3) {}; + TQBitmapJBridge(const TQSize& arg1,bool arg2) : TQBitmap(arg1,arg2) {}; + TQBitmapJBridge(const TQSize& arg1) : TQBitmap(arg1) {}; + TQBitmapJBridge(int arg1,int arg2,const uchar* arg3,bool arg4) : TQBitmap(arg1,arg2,arg3,arg4) {}; + TQBitmapJBridge(int arg1,int arg2,const uchar* arg3) : TQBitmap(arg1,arg2,arg3) {}; + TQBitmapJBridge(const TQSize& arg1,const uchar* arg2,bool arg3) : TQBitmap(arg1,arg2,arg3) {}; + TQBitmapJBridge(const TQSize& arg1,const uchar* arg2) : TQBitmap(arg1,arg2) {}; + TQBitmapJBridge(const TQBitmap& arg1) : TQBitmap(arg1) {}; + TQBitmapJBridge(const TQString& arg1,const char* arg2) : TQBitmap(arg1,arg2) {}; + TQBitmapJBridge(const TQString& arg1) : TQBitmap(arg1) {}; + ~TQBitmapJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBitmap_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QBitmap_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBitmap_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQBitmap*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QBitmap_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBitmap_newTQBitmap__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQBitmapJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBitmap_newTQBitmap__II(JNIEnv* env, jobject obj, jint w, jint h) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQBitmapJBridge((int) w, (int) h)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBitmap_newTQBitmap__IIZ(JNIEnv* env, jobject obj, jint w, jint h, jboolean clear) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQBitmapJBridge((int) w, (int) h, (bool) clear)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBitmap_newTQBitmap__IIZI(JNIEnv* env, jobject obj, jint w, jint h, jboolean clear, jint arg4) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQBitmapJBridge((int) w, (int) h, (bool) clear, (TQPixmap::Optimization) arg4)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBitmap_newTQBitmap__II_3C(JNIEnv* env, jobject obj, jint w, jint h, jcharArray bits) +{ +static TQByteArray* _qbytearray_bits = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQBitmapJBridge((int) w, (int) h, (const uchar*) QtSupport::toUcharArray(env, bits, &_qbytearray_bits))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBitmap_newTQBitmap__II_3CZ(JNIEnv* env, jobject obj, jint w, jint h, jcharArray bits, jboolean isXbitmap) +{ +static TQByteArray* _qbytearray_bits = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQBitmapJBridge((int) w, (int) h, (const uchar*) QtSupport::toUcharArray(env, bits, &_qbytearray_bits), (bool) isXbitmap)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBitmap_newTQBitmap__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 TQBitmapJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBitmap_newTQBitmap__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; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQBitmapJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBitmap_newTQBitmap__Lorg_kde_qt_QBitmap_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQBitmapJBridge((const TQBitmap&)*(const TQBitmap*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBitmap_newTQBitmap__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQBitmapJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBitmap_newTQBitmap__Lorg_kde_qt_QSize_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean clear) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQBitmapJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (bool) clear)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBitmap_newTQBitmap__Lorg_kde_qt_QSize_2ZI(JNIEnv* env, jobject obj, jobject arg1, jboolean clear, jint arg3) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQBitmapJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (bool) clear, (TQPixmap::Optimization) arg3)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBitmap_newTQBitmap__Lorg_kde_qt_QSize_2_3C(JNIEnv* env, jobject obj, jobject arg1, jcharArray bits) +{ +static TQByteArray* _qbytearray_bits = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQBitmapJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (const uchar*) QtSupport::toUcharArray(env, bits, &_qbytearray_bits))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBitmap_newTQBitmap__Lorg_kde_qt_QSize_2_3CZ(JNIEnv* env, jobject obj, jobject arg1, jcharArray bits, jboolean isXbitmap) +{ +static TQByteArray* _qbytearray_bits = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQBitmapJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (const uchar*) QtSupport::toUcharArray(env, bits, &_qbytearray_bits), (bool) isXbitmap)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QBitmap_xForm(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQBitmap(((TQBitmap*) QtSupport::getQt(env, obj))->xForm((const TQWMatrix&)*(const TQWMatrix*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQBitmap", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBitmap_newTQBitmap__Lorg_kde_qt_QPixmap_2(JNIEnv *env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + TQBitmap temp; + temp = (TQPixmap&) *(TQPixmap *) QtSupport::getQt(env, arg1); + QtSupport::setQt(env, obj, new TQBitmapJBridge(temp)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBitmap_newTQBitmap__Lorg_kde_qt_QImage_2(JNIEnv *env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + TQBitmap temp; + temp = (TQImage&) *(TQImage *) QtSupport::getQt(env, arg1); + QtSupport::setQt(env, obj, new TQBitmapJBridge(temp)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + diff --git a/qtjava/javalib/qtjava/TQBitmap.h b/qtjava/javalib/qtjava/TQBitmap.h new file mode 100644 index 00000000..e20bba15 --- /dev/null +++ b/qtjava/javalib/qtjava/TQBitmap.h @@ -0,0 +1,38 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QBitmap__ +#define __org_kde_qt_QBitmap__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newTQBitmap__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newTQBitmap__IIZI (JNIEnv *env, jobject, jint, jint, jboolean, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newTQBitmap__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newTQBitmap__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newTQBitmap__Lorg_kde_qt_QSize_2ZI (JNIEnv *env, jobject, jobject, jboolean, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newTQBitmap__Lorg_kde_qt_QSize_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newTQBitmap__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newTQBitmap__II_3CZ (JNIEnv *env, jobject, jint, jint, jcharArray, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newTQBitmap__II_3C (JNIEnv *env, jobject, jint, jint, jcharArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newTQBitmap__Lorg_kde_qt_QSize_2_3CZ (JNIEnv *env, jobject, jobject, jcharArray, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newTQBitmap__Lorg_kde_qt_QSize_2_3C (JNIEnv *env, jobject, jobject, jcharArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newTQBitmap__Lorg_kde_qt_QBitmap_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newTQBitmap__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newTQBitmap__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QBitmap_xForm (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QBitmap_isDisposed (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newTQBitmap__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newTQBitmap__Lorg_kde_qt_QImage_2 (JNIEnv *env, jobject, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QBitmap__ */ diff --git a/qtjava/javalib/qtjava/TQBoxLayout.cpp b/qtjava/javalib/qtjava/TQBoxLayout.cpp new file mode 100644 index 00000000..ccd4f3ce --- /dev/null +++ b/qtjava/javalib/qtjava/TQBoxLayout.cpp @@ -0,0 +1,459 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include + +#include +#include + +class TQBoxLayoutJBridge : public TQBoxLayout +{ +public: + TQBoxLayoutJBridge(TQWidget* arg1,TQBoxLayout::Direction arg2,int arg3,int arg4,const char* arg5) : TQBoxLayout(arg1,arg2,arg3,arg4,arg5) {}; + TQBoxLayoutJBridge(TQWidget* arg1,TQBoxLayout::Direction arg2,int arg3,int arg4) : TQBoxLayout(arg1,arg2,arg3,arg4) {}; + TQBoxLayoutJBridge(TQWidget* arg1,TQBoxLayout::Direction arg2,int arg3) : TQBoxLayout(arg1,arg2,arg3) {}; + TQBoxLayoutJBridge(TQWidget* arg1,TQBoxLayout::Direction arg2) : TQBoxLayout(arg1,arg2) {}; + TQBoxLayoutJBridge(TQLayout* arg1,TQBoxLayout::Direction arg2,int arg3,const char* arg4) : TQBoxLayout(arg1,arg2,arg3,arg4) {}; + TQBoxLayoutJBridge(TQLayout* arg1,TQBoxLayout::Direction arg2,int arg3) : TQBoxLayout(arg1,arg2,arg3) {}; + TQBoxLayoutJBridge(TQLayout* arg1,TQBoxLayout::Direction arg2) : TQBoxLayout(arg1,arg2) {}; + TQBoxLayoutJBridge(TQBoxLayout::Direction arg1,int arg2,const char* arg3) : TQBoxLayout(arg1,arg2,arg3) {}; + TQBoxLayoutJBridge(TQBoxLayout::Direction arg1,int arg2) : TQBoxLayout(arg1,arg2) {}; + TQBoxLayoutJBridge(TQBoxLayout::Direction arg1) : TQBoxLayout(arg1) {}; + void protected_insertItem(int arg1,TQLayoutItem* arg2) { + TQBoxLayout::insertItem(arg1,arg2); + return; + } + ~TQBoxLayoutJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::removeChild(arg1); + } + return; + } + void setMenuBar(TQMenuBar* arg1) { + if (!QtSupport::eventDelegate(this,"setMenuBar",(void*)arg1,"org.kde.qt.TQMenuBar")) { + TQLayout::setMenuBar(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")) { + TQLayout::childEvent(arg1); + } + return; + } + void insertChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::insertChild(arg1); + } + return; + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBoxLayout_addItem(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQBoxLayout*) QtSupport::getQt(env, obj))->addItem((TQLayoutItem*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBoxLayout_addLayout__Lorg_kde_qt_QLayout_2(JNIEnv* env, jobject obj, jobject layout) +{ + ((TQBoxLayout*) QtSupport::getQt(env, obj))->addLayout((TQLayout*) QtSupport::getQt(env, layout)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBoxLayout_addLayout__Lorg_kde_qt_QLayout_2I(JNIEnv* env, jobject obj, jobject layout, jint stretch) +{ + ((TQBoxLayout*) QtSupport::getQt(env, obj))->addLayout((TQLayout*) QtSupport::getQt(env, layout), (int) stretch); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBoxLayout_addSpacing(JNIEnv* env, jobject obj, jint size) +{ + ((TQBoxLayout*) QtSupport::getQt(env, obj))->addSpacing((int) size); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBoxLayout_addStretch__(JNIEnv* env, jobject obj) +{ + ((TQBoxLayout*) QtSupport::getQt(env, obj))->addStretch(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBoxLayout_addStretch__I(JNIEnv* env, jobject obj, jint stretch) +{ + ((TQBoxLayout*) QtSupport::getQt(env, obj))->addStretch((int) stretch); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBoxLayout_addStrut(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQBoxLayout*) QtSupport::getQt(env, obj))->addStrut((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBoxLayout_addWidget__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQBoxLayout*) QtSupport::getQt(env, obj))->addWidget((TQWidget*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBoxLayout_addWidget__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject arg1, jint stretch) +{ + ((TQBoxLayout*) QtSupport::getQt(env, obj))->addWidget((TQWidget*) QtSupport::getQt(env, arg1), (int) stretch); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBoxLayout_addWidget__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject arg1, jint stretch, jint alignment) +{ + ((TQBoxLayout*) QtSupport::getQt(env, obj))->addWidget((TQWidget*) QtSupport::getQt(env, arg1), (int) stretch, (int) alignment); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QBoxLayout_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQBoxLayout*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QBoxLayout_direction(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQBoxLayout*) QtSupport::getQt(env, obj))->direction(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBoxLayout_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QBoxLayout_finalize(env, obj); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QBoxLayout_expanding(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQBoxLayout*) QtSupport::getQt(env, obj))->expanding(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBoxLayout_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQLayoutItem*)(TQBoxLayout*)QtSupport::getQt(env, obj))->layout() == 0 && ((TQLayoutItem*)(TQBoxLayout*)QtSupport::getQt(env, obj))->widget() == 0 && ((TQLayoutItem*)(TQBoxLayout*)QtSupport::getQt(env, obj))->spacerItem() == 0) { + delete (TQBoxLayout*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QBoxLayout_findWidget(JNIEnv* env, jobject obj, jobject w) +{ + jint xret = (jint) ((TQBoxLayout*) QtSupport::getQt(env, obj))->findWidget((TQWidget*) QtSupport::getQt(env, w)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QBoxLayout_hasHeightForWidth(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQBoxLayout*) QtSupport::getQt(env, obj))->hasHeightForWidth(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QBoxLayout_heightForWidth(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQBoxLayout*) QtSupport::getQt(env, obj))->heightForWidth((int) arg1); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBoxLayout_insertItem(JNIEnv* env, jobject obj, jint index, jobject arg2) +{ + ((TQBoxLayoutJBridge*) QtSupport::getQt(env, obj))->protected_insertItem((int) index, (TQLayoutItem*) QtSupport::getQt(env, arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBoxLayout_insertLayout__ILorg_kde_qt_QLayout_2(JNIEnv* env, jobject obj, jint index, jobject layout) +{ + ((TQBoxLayout*) QtSupport::getQt(env, obj))->insertLayout((int) index, (TQLayout*) QtSupport::getQt(env, layout)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBoxLayout_insertLayout__ILorg_kde_qt_QLayout_2I(JNIEnv* env, jobject obj, jint index, jobject layout, jint stretch) +{ + ((TQBoxLayout*) QtSupport::getQt(env, obj))->insertLayout((int) index, (TQLayout*) QtSupport::getQt(env, layout), (int) stretch); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBoxLayout_insertSpacing(JNIEnv* env, jobject obj, jint index, jint size) +{ + ((TQBoxLayout*) QtSupport::getQt(env, obj))->insertSpacing((int) index, (int) size); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBoxLayout_insertStretch__I(JNIEnv* env, jobject obj, jint index) +{ + ((TQBoxLayout*) QtSupport::getQt(env, obj))->insertStretch((int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBoxLayout_insertStretch__II(JNIEnv* env, jobject obj, jint index, jint stretch) +{ + ((TQBoxLayout*) QtSupport::getQt(env, obj))->insertStretch((int) index, (int) stretch); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBoxLayout_insertWidget__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint index, jobject widget) +{ + ((TQBoxLayout*) QtSupport::getQt(env, obj))->insertWidget((int) index, (TQWidget*) QtSupport::getQt(env, widget)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBoxLayout_insertWidget__ILorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jint index, jobject widget, jint stretch) +{ + ((TQBoxLayout*) QtSupport::getQt(env, obj))->insertWidget((int) index, (TQWidget*) QtSupport::getQt(env, widget), (int) stretch); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBoxLayout_insertWidget__ILorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jint index, jobject widget, jint stretch, jint alignment) +{ + ((TQBoxLayout*) QtSupport::getQt(env, obj))->insertWidget((int) index, (TQWidget*) QtSupport::getQt(env, widget), (int) stretch, (int) alignment); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBoxLayout_invalidate(JNIEnv* env, jobject obj) +{ + ((TQBoxLayout*) QtSupport::getQt(env, obj))->invalidate(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QBoxLayout_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QBoxLayout_maximumSize(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQBoxLayout*) QtSupport::getQt(env, obj))->maximumSize()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QBoxLayout_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQBoxLayout*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QBoxLayout_minimumHeightForWidth(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQBoxLayout*) QtSupport::getQt(env, obj))->minimumHeightForWidth((int) arg1); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QBoxLayout_minimumSize(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQBoxLayout*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBoxLayout_newTQBoxLayout__I(JNIEnv* env, jobject obj, jint arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQBoxLayoutJBridge((TQBoxLayout::Direction) arg1)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBoxLayout_newTQBoxLayout__II(JNIEnv* env, jobject obj, jint arg1, jint spacing) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQBoxLayoutJBridge((TQBoxLayout::Direction) arg1, (int) spacing)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBoxLayout_newTQBoxLayout__IILjava_lang_String_2(JNIEnv* env, jobject obj, jint arg1, jint spacing, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQBoxLayoutJBridge((TQBoxLayout::Direction) arg1, (int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBoxLayout_newTQBoxLayout__Lorg_kde_qt_QLayout_2I(JNIEnv* env, jobject obj, jobject parentLayout, jint arg2) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQBoxLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout), (TQBoxLayout::Direction) arg2)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBoxLayout_newTQBoxLayout__Lorg_kde_qt_QLayout_2II(JNIEnv* env, jobject obj, jobject parentLayout, jint arg2, jint spacing) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQBoxLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout), (TQBoxLayout::Direction) arg2, (int) spacing)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBoxLayout_newTQBoxLayout__Lorg_kde_qt_QLayout_2IILjava_lang_String_2(JNIEnv* env, jobject obj, jobject parentLayout, jint arg2, jint spacing, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQBoxLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout), (TQBoxLayout::Direction) arg2, (int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBoxLayout_newTQBoxLayout__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject parent, jint arg2) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQBoxLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (TQBoxLayout::Direction) arg2)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBoxLayout_newTQBoxLayout__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject parent, jint arg2, jint border) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQBoxLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (TQBoxLayout::Direction) arg2, (int) border)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBoxLayout_newTQBoxLayout__Lorg_kde_qt_QWidget_2III(JNIEnv* env, jobject obj, jobject parent, jint arg2, jint border, jint spacing) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQBoxLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (TQBoxLayout::Direction) arg2, (int) border, (int) spacing)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBoxLayout_newTQBoxLayout__Lorg_kde_qt_QWidget_2IIILjava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jint arg2, jint border, jint spacing, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQBoxLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (TQBoxLayout::Direction) arg2, (int) border, (int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBoxLayout_setDirection(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQBoxLayout*) QtSupport::getQt(env, obj))->setDirection((TQBoxLayout::Direction) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBoxLayout_setGeometry(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQBoxLayout*) QtSupport::getQt(env, obj))->setGeometry((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QBoxLayout_setStretchFactor__Lorg_kde_qt_QLayout_2I(JNIEnv* env, jobject obj, jobject l, jint stretch) +{ + jboolean xret = (jboolean) ((TQBoxLayout*) QtSupport::getQt(env, obj))->setStretchFactor((TQLayout*) QtSupport::getQt(env, l), (int) stretch); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QBoxLayout_setStretchFactor__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject arg1, jint stretch) +{ + jboolean xret = (jboolean) ((TQBoxLayout*) QtSupport::getQt(env, obj))->setStretchFactor((TQWidget*) QtSupport::getQt(env, arg1), (int) stretch); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QBoxLayout_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQBoxLayout*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QBoxLayout_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQBoxLayoutJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QBoxLayout_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQBoxLayoutJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQBoxLayout.h b/qtjava/javalib/qtjava/TQBoxLayout.h new file mode 100644 index 00000000..b29d6b7e --- /dev/null +++ b/qtjava/javalib/qtjava/TQBoxLayout.h @@ -0,0 +1,68 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QBoxLayout__ +#define __org_kde_qt_QBoxLayout__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QBoxLayout_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QBoxLayout_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_newTQBoxLayout__Lorg_kde_qt_QWidget_2IIILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jint, jint, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_newTQBoxLayout__Lorg_kde_qt_QWidget_2III (JNIEnv *env, jobject, jobject, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_newTQBoxLayout__Lorg_kde_qt_QWidget_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_newTQBoxLayout__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_newTQBoxLayout__Lorg_kde_qt_QLayout_2IILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jint, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_newTQBoxLayout__Lorg_kde_qt_QLayout_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_newTQBoxLayout__Lorg_kde_qt_QLayout_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_newTQBoxLayout__IILjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_newTQBoxLayout__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_newTQBoxLayout__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_addItem (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QBoxLayout_direction (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_setDirection (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_addSpacing (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_addStretch__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_addStretch__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_addWidget__Lorg_kde_qt_QWidget_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_addWidget__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_addWidget__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_addLayout__Lorg_kde_qt_QLayout_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_addLayout__Lorg_kde_qt_QLayout_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_addStrut (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_insertSpacing (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_insertStretch__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_insertStretch__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_insertWidget__ILorg_kde_qt_QWidget_2II (JNIEnv *env, jobject, jint, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_insertWidget__ILorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jint, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_insertWidget__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_insertLayout__ILorg_kde_qt_QLayout_2I (JNIEnv *env, jobject, jint, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_insertLayout__ILorg_kde_qt_QLayout_2 (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QBoxLayout_setStretchFactor__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QBoxLayout_setStretchFactor__Lorg_kde_qt_QLayout_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QBoxLayout_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QBoxLayout_minimumSize (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QBoxLayout_maximumSize (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QBoxLayout_hasHeightForWidth (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QBoxLayout_heightForWidth (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QBoxLayout_minimumHeightForWidth (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QBoxLayout_expanding (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_invalidate (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_setGeometry (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QBoxLayout_findWidget (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QBoxLayout_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QBoxLayout_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_insertItem (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QBoxLayout_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QBoxLayout__ */ diff --git a/qtjava/javalib/qtjava/TQBrush.cpp b/qtjava/javalib/qtjava/TQBrush.cpp new file mode 100644 index 00000000..5afc1645 --- /dev/null +++ b/qtjava/javalib/qtjava/TQBrush.cpp @@ -0,0 +1,160 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +class TQBrushJBridge : public TQBrush +{ +public: + TQBrushJBridge() : TQBrush() {}; + TQBrushJBridge(TQt::BrushStyle arg1) : TQBrush(arg1) {}; + TQBrushJBridge(const TQColor& arg1,TQt::BrushStyle arg2) : TQBrush(arg1,arg2) {}; + TQBrushJBridge(const TQColor& arg1) : TQBrush(arg1) {}; + TQBrushJBridge(const TQColor& arg1,const TQPixmap& arg2) : TQBrush(arg1,arg2) {}; + TQBrushJBridge(const TQBrush& arg1) : TQBrush(arg1) {}; + ~TQBrushJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QBrush_color(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQBrush*) QtSupport::getQt(env, obj))->color(), "org.kde.qt.TQColor"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBrush_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QBrush_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBrush_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQBrush*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QBrush_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBrush_newTQBrush__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQBrushJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBrush_newTQBrush__I(JNIEnv* env, jobject obj, jint arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQBrushJBridge((TQt::BrushStyle) arg1)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBrush_newTQBrush__Lorg_kde_qt_QBrush_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQBrushJBridge((const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBrush_newTQBrush__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQBrushJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBrush_newTQBrush__Lorg_kde_qt_QColor_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQBrushJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1), (TQt::BrushStyle) arg2)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBrush_newTQBrush__Lorg_kde_qt_QColor_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQBrushJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg2))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QBrush_op_1equals(JNIEnv* env, jobject obj, jobject p) +{ + jboolean xret = (jboolean) ((TQBrush*) QtSupport::getQt(env, obj))->operator==((const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, p)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QBrush_op_1not_1equals(JNIEnv* env, jobject obj, jobject b) +{ + jboolean xret = (jboolean) ((TQBrush*) QtSupport::getQt(env, obj))->operator!=((const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, b)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QBrush_pixmap(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQBrush*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TQPixmap"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBrush_setColor(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQBrush*) QtSupport::getQt(env, obj))->setColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBrush_setPixmap(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQBrush*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBrush_setStyle(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQBrush*) QtSupport::getQt(env, obj))->setStyle((TQt::BrushStyle) arg1); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QBrush_style(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQBrush*) QtSupport::getQt(env, obj))->style(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQBrush.h b/qtjava/javalib/qtjava/TQBrush.h new file mode 100644 index 00000000..ad802b80 --- /dev/null +++ b/qtjava/javalib/qtjava/TQBrush.h @@ -0,0 +1,35 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QBrush__ +#define __org_kde_qt_QBrush__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBrush_newTQBrush__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBrush_newTQBrush__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBrush_newTQBrush__Lorg_kde_qt_QColor_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBrush_newTQBrush__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBrush_newTQBrush__Lorg_kde_qt_QColor_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBrush_newTQBrush__Lorg_kde_qt_QBrush_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QBrush_style (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBrush_setStyle (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QBrush_color (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBrush_setColor (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QBrush_pixmap (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBrush_setPixmap (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QBrush_op_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QBrush_op_1not_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBrush_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBrush_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QBrush_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QBrush__ */ diff --git a/qtjava/javalib/qtjava/TQBuffer.cpp b/qtjava/javalib/qtjava/TQBuffer.cpp new file mode 100644 index 00000000..9dbb918d --- /dev/null +++ b/qtjava/javalib/qtjava/TQBuffer.cpp @@ -0,0 +1,175 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +class TQBufferJBridge : public TQBuffer +{ +public: + TQBufferJBridge() : TQBuffer() {}; + TQBufferJBridge(TQByteArray arg1) : TQBuffer(arg1) {}; + ~TQBufferJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QBuffer_at__(JNIEnv* env, jobject obj) +{ + jlong xret = (jlong) ((TQBuffer*) QtSupport::getQt(env, obj))->at(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QBuffer_at__J(JNIEnv* env, jobject obj, jlong arg1) +{ + jboolean xret = (jboolean) ((TQBuffer*) QtSupport::getQt(env, obj))->at((TQIODevice::Offset) arg1); + return xret; +} + +JNIEXPORT jbyteArray JNICALL +Java_org_kde_qt_QBuffer_buffer(JNIEnv* env, jobject obj) +{ + TQByteArray _qbyteArray; + _qbyteArray = ((TQBuffer*) QtSupport::getQt(env, obj))->buffer(); + return QtSupport::fromTQByteArray(env, &_qbyteArray); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBuffer_close(JNIEnv* env, jobject obj) +{ + ((TQBuffer*) QtSupport::getQt(env, obj))->close(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBuffer_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QBuffer_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBuffer_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQBuffer*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBuffer_flush(JNIEnv* env, jobject obj) +{ + ((TQBuffer*) QtSupport::getQt(env, obj))->flush(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QBuffer_getch(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQBuffer*) QtSupport::getQt(env, obj))->getch(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QBuffer_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBuffer_newTQBuffer__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQBufferJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QBuffer_newTQBuffer___3B(JNIEnv* env, jobject obj, jbyteArray arg1) +{ +static TQByteArray* _qbyteArray_arg1 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQBufferJBridge((TQByteArray)*(TQByteArray*) QtSupport::toTQByteArray(env, arg1, &_qbyteArray_arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QBuffer_open(JNIEnv* env, jobject obj, jint arg1) +{ + jboolean xret = (jboolean) ((TQBuffer*) QtSupport::getQt(env, obj))->open((int) arg1); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QBuffer_putch(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQBuffer*) QtSupport::getQt(env, obj))->putch((int) arg1); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QBuffer_readBlock(JNIEnv* env, jobject obj, jobject p, jlong arg2) +{ +static TQCString* _qstring_p = 0; + if (_qstring_p == 0) { _qstring_p = new TQCString(); } + _qstring_p->resize((uint) arg2); + jlong xret = (jlong) ((TQBuffer*) QtSupport::getQt(env, obj))->readBlock((char*) _qstring_p->data(), (Q_ULONG) arg2); + QtSupport::fromTQCStringToStringBuffer(env, _qstring_p, p); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QBuffer_readLine(JNIEnv* env, jobject obj, jstring p, jlong arg2) +{ +static TQCString* _qstring_p = 0; + jlong xret = (jlong) ((TQBuffer*) QtSupport::getQt(env, obj))->readLine((char*) QtSupport::toCharString(env, p, &_qstring_p), (Q_ULONG) arg2); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QBuffer_setBuffer(JNIEnv* env, jobject obj, jbyteArray arg1) +{ +static TQByteArray* _qbyteArray_arg1 = 0; + jboolean xret = (jboolean) ((TQBuffer*) QtSupport::getQt(env, obj))->setBuffer((TQByteArray)*(TQByteArray*) QtSupport::toTQByteArray(env, arg1, &_qbyteArray_arg1)); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QBuffer_size(JNIEnv* env, jobject obj) +{ + jlong xret = (jlong) ((TQBuffer*) QtSupport::getQt(env, obj))->size(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QBuffer_ungetch(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQBuffer*) QtSupport::getQt(env, obj))->ungetch((int) arg1); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QBuffer_writeBlock__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring p, jlong arg2) +{ +static TQCString* _qstring_p = 0; + jlong xret = (jlong) ((TQBuffer*) QtSupport::getQt(env, obj))->writeBlock((const char*) QtSupport::toCharString(env, p, &_qstring_p), (Q_ULONG) arg2); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QBuffer_writeBlock___3B(JNIEnv* env, jobject obj, jbyteArray data) +{ +static TQByteArray* _qbyteArray_data = 0; + jlong xret = (jlong) ((TQBuffer*) QtSupport::getQt(env, obj))->writeBlock((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQBuffer.h b/qtjava/javalib/qtjava/TQBuffer.h new file mode 100644 index 00000000..8b4ee52f --- /dev/null +++ b/qtjava/javalib/qtjava/TQBuffer.h @@ -0,0 +1,38 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QBuffer__ +#define __org_kde_qt_QBuffer__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBuffer_newTQBuffer__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBuffer_newTQBuffer___3B (JNIEnv *env, jobject, jbyteArray); +extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QBuffer_buffer (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QBuffer_setBuffer (JNIEnv *env, jobject, jbyteArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QBuffer_open (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBuffer_close (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBuffer_flush (JNIEnv *env, jobject); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QBuffer_size (JNIEnv *env, jobject); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QBuffer_at__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QBuffer_at__J (JNIEnv *env, jobject, jlong); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QBuffer_readBlock (JNIEnv *env, jobject, jobject, jlong); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QBuffer_writeBlock__Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jlong); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QBuffer_writeBlock___3B (JNIEnv *env, jobject, jbyteArray); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QBuffer_readLine (JNIEnv *env, jobject, jstring, jlong); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QBuffer_getch (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QBuffer_putch (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QBuffer_ungetch (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBuffer_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QBuffer_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QBuffer_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QBuffer__ */ diff --git a/qtjava/javalib/qtjava/TQButton.cpp b/qtjava/javalib/qtjava/TQButton.cpp new file mode 100644 index 00000000..08f48a53 --- /dev/null +++ b/qtjava/javalib/qtjava/TQButton.cpp @@ -0,0 +1,809 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQButtonJBridge : public TQButton +{ +public: + TQButtonJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQButton(arg1,arg2,arg3) {}; + TQButtonJBridge(TQWidget* arg1,const char* arg2) : TQButton(arg1,arg2) {}; + TQButtonJBridge(TQWidget* arg1) : TQButton(arg1) {}; + TQButtonJBridge() : TQButton() {}; + void protected_setToggleButton(bool arg1) { + TQButton::setToggleButton(arg1); + return; + } + void protected_setToggleType(TQButton::ToggleType arg1) { + TQButton::setToggleType(arg1); + return; + } + void protected_setOn(bool arg1) { + TQButton::setOn(arg1); + return; + } + void protected_setState(TQButton::ToggleState arg1) { + TQButton::setState(arg1); + return; + } + bool protected_hitButton(const TQPoint& arg1) { + return (bool) TQButton::hitButton(arg1); + } + void protected_drawButton(TQPainter* arg1) { + TQButton::drawButton(arg1); + return; + } + void protected_drawButtonLabel(TQPainter* arg1) { + TQButton::drawButtonLabel(arg1); + return; + } + void protected_keyPressEvent(TQKeyEvent* arg1) { + TQButton::keyPressEvent(arg1); + return; + } + void protected_keyReleaseEvent(TQKeyEvent* arg1) { + TQButton::keyReleaseEvent(arg1); + return; + } + void protected_mousePressEvent(TQMouseEvent* arg1) { + TQButton::mousePressEvent(arg1); + return; + } + void protected_mouseReleaseEvent(TQMouseEvent* arg1) { + TQButton::mouseReleaseEvent(arg1); + return; + } + void protected_mouseMoveEvent(TQMouseEvent* arg1) { + TQButton::mouseMoveEvent(arg1); + return; + } + void protected_paintEvent(TQPaintEvent* arg1) { + TQButton::paintEvent(arg1); + return; + } + void protected_focusInEvent(TQFocusEvent* arg1) { + TQButton::focusInEvent(arg1); + return; + } + void protected_focusOutEvent(TQFocusEvent* arg1) { + TQButton::focusOutEvent(arg1); + return; + } + void protected_enabledChange(bool arg1) { + TQButton::enabledChange(arg1); + return; + } + ~TQButtonJBridge() {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.qt.TQButton","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.qt.TQButton","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.qt.TQButton","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.qt.TQButton","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.qt.TQButton","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.qt.TQButton","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQButton","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 updateMask() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQButton","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQButton","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")) { + TQButton::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")) { + TQButton::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.qt.TQButton","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; + } + bool eventFilter(TQObject* object,TQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQButton",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.qt.TQButton","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QButton_accel(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQKeySequence(((TQButton*) QtSupport::getQt(env, obj))->accel()), "org.kde.qt.TQKeySequence", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButton_animateClick(JNIEnv* env, jobject obj) +{ + ((TQButton*) QtSupport::getQt(env, obj))->animateClick(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QButton_autoRepeat(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQButton*) QtSupport::getQt(env, obj))->autoRepeat(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QButton_autoResize(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQButton*) QtSupport::getQt(env, obj))->autoResize(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QButton_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQButton*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButton_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QButton_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButton_drawButtonLabel(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButtonLabel((TQPainter*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButton_drawButton(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButton((TQPainter*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButton_enabledChange(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_enabledChange((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButton_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQButton*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButton_focusInEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButton_focusOutEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QButton_group(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQButton*) QtSupport::getQt(env, obj))->group(), "org.kde.qt.TQButtonGroup"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QButton_hitButton(JNIEnv* env, jobject obj, jobject pos) +{ + jboolean xret = (jboolean) ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_hitButton((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QButton_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QButton_isDown(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQButton*) QtSupport::getQt(env, obj))->isDown(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QButton_isExclusiveToggle(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQButton*) QtSupport::getQt(env, obj))->isExclusiveToggle(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QButton_isOn(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQButton*) QtSupport::getQt(env, obj))->isOn(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QButton_isToggleButton(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQButton*) QtSupport::getQt(env, obj))->isToggleButton(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButton_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButton_keyReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_keyReleaseEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QButton_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButton_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButton_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButton_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButton_newTQButton__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQButtonJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButton_newTQButton__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQButtonJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButton_newTQButton__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 TQButtonJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButton_newTQButton__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 TQButtonJBridge((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_qt_QButton_paintEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QButton_pixmap(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQButton*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TQPixmap"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButton_setAccel(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQButton*) QtSupport::getQt(env, obj))->setAccel((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButton_setAutoRepeat(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQButton*) QtSupport::getQt(env, obj))->setAutoRepeat((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButton_setAutoResize(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQButton*) QtSupport::getQt(env, obj))->setAutoResize((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButton_setDown(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQButton*) QtSupport::getQt(env, obj))->setDown((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButton_setOn(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_setOn((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButton_setPixmap(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQButton*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButton_setState(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_setState((TQButton::ToggleState) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButton_setText(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQButton*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButton_setToggleButton(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_setToggleButton((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButton_setToggleType(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_setToggleType((TQButton::ToggleType) arg1); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QButton_state(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQButton*) QtSupport::getQt(env, obj))->state(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QButton_text(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQButton*) QtSupport::getQt(env, obj))->text(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QButton_toggleType(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQButton*) QtSupport::getQt(env, obj))->toggleType(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButton_toggle(JNIEnv* env, jobject obj) +{ + ((TQButton*) QtSupport::getQt(env, obj))->toggle(); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QButton_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQButtonJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QButton_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQButtonJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQButton.h b/qtjava/javalib/qtjava/TQButton.h new file mode 100644 index 00000000..1cf59815 --- /dev/null +++ b/qtjava/javalib/qtjava/TQButton.h @@ -0,0 +1,65 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QButton__ +#define __org_kde_qt_QButton__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QButton_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QButton_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_newTQButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_newTQButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_newTQButton__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_newTQButton__ (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QButton_text (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_setText (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QButton_pixmap (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_setPixmap (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QButton_accel (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_setAccel (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QButton_isToggleButton (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QButton_toggleType (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_setDown (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QButton_isDown (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QButton_isOn (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QButton_state (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QButton_autoResize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_setAutoResize (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QButton_autoRepeat (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_setAutoRepeat (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QButton_isExclusiveToggle (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QButton_group (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_animateClick (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_toggle (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QButton_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QButton_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_setToggleButton (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_setToggleType (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_setOn (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_setState (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QButton_hitButton (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_drawButton (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_drawButtonLabel (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_keyPressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_keyReleaseEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_mousePressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_mouseReleaseEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_mouseMoveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_paintEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_focusInEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_focusOutEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_enabledChange (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QButton_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QButton__ */ diff --git a/qtjava/javalib/qtjava/TQButtonGroup.cpp b/qtjava/javalib/qtjava/TQButtonGroup.cpp new file mode 100644 index 00000000..77f6393c --- /dev/null +++ b/qtjava/javalib/qtjava/TQButtonGroup.cpp @@ -0,0 +1,725 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQButtonGroupJBridge : public TQButtonGroup +{ +public: + TQButtonGroupJBridge(TQWidget* arg1,const char* arg2) : TQButtonGroup(arg1,arg2) {}; + TQButtonGroupJBridge(TQWidget* arg1) : TQButtonGroup(arg1) {}; + TQButtonGroupJBridge() : TQButtonGroup() {}; + TQButtonGroupJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQButtonGroup(arg1,arg2,arg3) {}; + TQButtonGroupJBridge(const TQString& arg1,TQWidget* arg2) : TQButtonGroup(arg1,arg2) {}; + TQButtonGroupJBridge(const TQString& arg1) : TQButtonGroup(arg1) {}; + TQButtonGroupJBridge(int arg1,TQt::Orientation arg2,TQWidget* arg3,const char* arg4) : TQButtonGroup(arg1,arg2,arg3,arg4) {}; + TQButtonGroupJBridge(int arg1,TQt::Orientation arg2,TQWidget* arg3) : TQButtonGroup(arg1,arg2,arg3) {}; + TQButtonGroupJBridge(int arg1,TQt::Orientation arg2) : TQButtonGroup(arg1,arg2) {}; + TQButtonGroupJBridge(int arg1,TQt::Orientation arg2,const TQString& arg3,TQWidget* arg4,const char* arg5) : TQButtonGroup(arg1,arg2,arg3,arg4,arg5) {}; + TQButtonGroupJBridge(int arg1,TQt::Orientation arg2,const TQString& arg3,TQWidget* arg4) : TQButtonGroup(arg1,arg2,arg3,arg4) {}; + TQButtonGroupJBridge(int arg1,TQt::Orientation arg2,const TQString& arg3) : TQButtonGroup(arg1,arg2,arg3) {}; + bool protected_event(TQEvent* arg1) { + return (bool) TQButtonGroup::event(arg1); + } + void protected_buttonPressed() { + TQButtonGroup::buttonPressed(); + return; + } + void protected_buttonReleased() { + TQButtonGroup::buttonReleased(); + return; + } + void protected_buttonClicked() { + TQButtonGroup::buttonClicked(); + return; + } + void protected_buttonToggled(bool arg1) { + TQButtonGroup::buttonToggled(arg1); + return; + } + ~TQButtonGroupJBridge() {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.qt.TQButtonGroup","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.qt.TQButtonGroup","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.qt.TQButtonGroup","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.qt.TQButtonGroup","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.qt.TQButtonGroup","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.qt.TQButtonGroup","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQButtonGroup","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.qt.TQButtonGroup","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQButtonGroup","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.qt.TQButtonGroup","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.qt.TQButtonGroup",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.qt.TQButtonGroup","frameChanged")) { + TQFrame::frameChanged(); + } + return; + } + void showMinimized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQButtonGroup","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButtonGroup_buttonClicked(JNIEnv* env, jobject obj) +{ + ((TQButtonGroupJBridge*) QtSupport::getQt(env, obj))->protected_buttonClicked(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButtonGroup_buttonPressed(JNIEnv* env, jobject obj) +{ + ((TQButtonGroupJBridge*) QtSupport::getQt(env, obj))->protected_buttonPressed(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButtonGroup_buttonReleased(JNIEnv* env, jobject obj) +{ + ((TQButtonGroupJBridge*) QtSupport::getQt(env, obj))->protected_buttonReleased(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButtonGroup_buttonToggled(JNIEnv* env, jobject obj, jboolean on) +{ + ((TQButtonGroupJBridge*) QtSupport::getQt(env, obj))->protected_buttonToggled((bool) on); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QButtonGroup_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQButtonGroup*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QButtonGroup_count(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQButtonGroup*) QtSupport::getQt(env, obj))->count(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButtonGroup_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QButtonGroup_finalize(env, obj); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QButtonGroup_event(JNIEnv* env, jobject obj, jobject e) +{ + jboolean xret = (jboolean) ((TQButtonGroupJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, e)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButtonGroup_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQButtonGroup*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQButtonGroup*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QButtonGroup_findButton(JNIEnv* env, jobject obj, jint id) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQButtonGroup*) QtSupport::getQt(env, obj))->find((int) id), "org.kde.qt.TQButton"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QButtonGroup_id(JNIEnv* env, jobject obj, jobject arg1) +{ + jint xret = (jint) ((TQButtonGroup*) QtSupport::getQt(env, obj))->id((TQButton*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QButtonGroup_insert__Lorg_kde_qt_QButton_2(JNIEnv* env, jobject obj, jobject arg1) +{ + jint xret = (jint) ((TQButtonGroup*) QtSupport::getQt(env, obj))->insert((TQButton*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QButtonGroup_insert__Lorg_kde_qt_QButton_2I(JNIEnv* env, jobject obj, jobject arg1, jint id) +{ + jint xret = (jint) ((TQButtonGroup*) QtSupport::getQt(env, obj))->insert((TQButton*) QtSupport::getQt(env, arg1), (int) id); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QButtonGroup_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QButtonGroup_isExclusive(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQButtonGroup*) QtSupport::getQt(env, obj))->isExclusive(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QButtonGroup_isRadioButtonExclusive(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQButtonGroup*) QtSupport::getQt(env, obj))->isRadioButtonExclusive(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QButtonGroup_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQButtonGroup*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButtonGroup_moveFocus(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQButtonGroup*) QtSupport::getQt(env, obj))->moveFocus((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButtonGroup_newTQButtonGroup__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQButtonGroupJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButtonGroup_newTQButtonGroup__II(JNIEnv* env, jobject obj, jint columns, jint o) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQButtonGroupJBridge((int) columns, (TQt::Orientation) o)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButtonGroup_newTQButtonGroup__IILjava_lang_String_2(JNIEnv* env, jobject obj, jint columns, jint o, jstring title) +{ +static TQString* _qstring_title = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQButtonGroupJBridge((int) columns, (TQt::Orientation) o, (const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButtonGroup_newTQButtonGroup__IILjava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint columns, jint o, jstring title, jobject parent) +{ +static TQString* _qstring_title = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQButtonGroupJBridge((int) columns, (TQt::Orientation) o, (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_qt_QButtonGroup_newTQButtonGroup__IILjava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint columns, jint o, 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 TQButtonGroupJBridge((int) columns, (TQt::Orientation) o, (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_qt_QButtonGroup_newTQButtonGroup__IILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint columns, jint o, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQButtonGroupJBridge((int) columns, (TQt::Orientation) o, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButtonGroup_newTQButtonGroup__IILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint columns, jint o, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQButtonGroupJBridge((int) columns, (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_qt_QButtonGroup_newTQButtonGroup__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 TQButtonGroupJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButtonGroup_newTQButtonGroup__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 TQButtonGroupJBridge((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_qt_QButtonGroup_newTQButtonGroup__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 TQButtonGroupJBridge((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_qt_QButtonGroup_newTQButtonGroup__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQButtonGroupJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButtonGroup_newTQButtonGroup__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 TQButtonGroupJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButtonGroup_remove(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQButtonGroup*) QtSupport::getQt(env, obj))->remove((TQButton*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QButtonGroup_selectedId(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQButtonGroup*) QtSupport::getQt(env, obj))->selectedId(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QButtonGroup_selected(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQButtonGroup*) QtSupport::getQt(env, obj))->selected(), "org.kde.qt.TQButton"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButtonGroup_setButton(JNIEnv* env, jobject obj, jint id) +{ + ((TQButtonGroup*) QtSupport::getQt(env, obj))->setButton((int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButtonGroup_setExclusive(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQButtonGroup*) QtSupport::getQt(env, obj))->setExclusive((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QButtonGroup_setRadioButtonExclusive(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQButtonGroup*) QtSupport::getQt(env, obj))->setRadioButtonExclusive((bool) arg1); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QButtonGroup_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQButtonGroupJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QButtonGroup_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQButtonGroupJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQButtonGroup.h b/qtjava/javalib/qtjava/TQButtonGroup.h new file mode 100644 index 00000000..6871226a --- /dev/null +++ b/qtjava/javalib/qtjava/TQButtonGroup.h @@ -0,0 +1,56 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QButtonGroup__ +#define __org_kde_qt_QButtonGroup__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QButtonGroup_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QButtonGroup_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_newTQButtonGroup__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_newTQButtonGroup__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_newTQButtonGroup__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_newTQButtonGroup__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_newTQButtonGroup__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_newTQButtonGroup__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_newTQButtonGroup__IILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_newTQButtonGroup__IILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_newTQButtonGroup__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_newTQButtonGroup__IILjava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_newTQButtonGroup__IILjava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_newTQButtonGroup__IILjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QButtonGroup_isExclusive (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QButtonGroup_isRadioButtonExclusive (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_setExclusive (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_setRadioButtonExclusive (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QButtonGroup_insert__Lorg_kde_qt_QButton_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QButtonGroup_insert__Lorg_kde_qt_QButton_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_remove (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QButtonGroup_findButton (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QButtonGroup_id (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QButtonGroup_count (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_setButton (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_moveFocus (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QButtonGroup_selected (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QButtonGroup_selectedId (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QButtonGroup_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QButtonGroup_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QButtonGroup_event (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_buttonPressed (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_buttonReleased (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_buttonClicked (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_buttonToggled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QButtonGroup_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QButtonGroup__ */ diff --git a/qtjava/javalib/qtjava/TQCanvas.cpp b/qtjava/javalib/qtjava/TQCanvas.cpp new file mode 100644 index 00000000..8e7d5772 --- /dev/null +++ b/qtjava/javalib/qtjava/TQCanvas.cpp @@ -0,0 +1,666 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQCanvasJBridge : public TQCanvas +{ +public: + TQCanvasJBridge(TQObject* arg1,const char* arg2) : TQCanvas(arg1,arg2) {}; + TQCanvasJBridge(TQObject* arg1) : TQCanvas(arg1) {}; + TQCanvasJBridge() : TQCanvas() {}; + TQCanvasJBridge(int arg1,int arg2) : TQCanvas(arg1,arg2) {}; + TQCanvasJBridge(TQPixmap arg1,int arg2,int arg3,int arg4,int arg5) : TQCanvas(arg1,arg2,arg3,arg4,arg5) {}; + void public_setAllChanged() { + TQCanvas::setAllChanged(); + return; + } + void public_advance() { + TQCanvas::advance(); + return; + } + void public_update() { + TQCanvas::update(); + return; + } + void protected_drawBackground(TQPainter& arg1,const TQRect& arg2) { + TQCanvas::drawBackground(arg1,arg2); + return; + } + void protected_drawForeground(TQPainter& arg1,const TQRect& arg2) { + TQCanvas::drawForeground(arg1,arg2); + return; + } + ~TQCanvasJBridge() {QtSupport::qtKeyDeleted(this);} + void removeItem(TQCanvasItem* arg1) { + if (!QtSupport::eventDelegate(this,"removeItem",(void*)arg1,"org.kde.qt.TQCanvasItem")) { + TQCanvas::removeItem(arg1); + } + return; + } + void addItem(TQCanvasItem* arg1) { + if (!QtSupport::eventDelegate(this,"addItem",(void*)arg1,"org.kde.qt.TQCanvasItem")) { + TQCanvas::addItem(arg1); + } + return; + } + void removeAnimation(TQCanvasItem* arg1) { + if (!QtSupport::eventDelegate(this,"removeAnimation",(void*)arg1,"org.kde.qt.TQCanvasItem")) { + TQCanvas::removeAnimation(arg1); + } + return; + } + void update() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQCanvas","update")) { + TQCanvas::update(); + } + return; + } + void removeChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::removeChild(arg1); + } + return; + } + void removeView(TQCanvasView* arg1) { + if (!QtSupport::eventDelegate(this,"removeView",(void*)arg1,"org.kde.qt.TQCanvasView")) { + TQCanvas::removeView(arg1); + } + return; + } + void setAllChanged() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQCanvas","setAllChanged")) { + TQCanvas::setAllChanged(); + } + return; + } + void setChanged(const TQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setChanged",(void*)&arg1,"org.kde.qt.TQRect")) { + TQCanvas::setChanged(arg1); + } + return; + } + void setBackgroundPixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQCanvas::setBackgroundPixmap(arg1); + } + return; + } + void customEvent(TQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { + TQObject::customEvent(arg1); + } + return; + } + void addAnimation(TQCanvasItem* arg1) { + if (!QtSupport::eventDelegate(this,"addAnimation",(void*)arg1,"org.kde.qt.TQCanvasItem")) { + TQCanvas::addAnimation(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 setUnchanged(const TQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setUnchanged",(void*)&arg1,"org.kde.qt.TQRect")) { + TQCanvas::setUnchanged(arg1); + } + return; + } + void addView(TQCanvasView* arg1) { + if (!QtSupport::eventDelegate(this,"addView",(void*)arg1,"org.kde.qt.TQCanvasView")) { + TQCanvas::addView(arg1); + } + return; + } + void setBackgroundColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQCanvas::setBackgroundColor(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.qt.TQCanvas",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } + void advance() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQCanvas","advance")) { + TQCanvas::advance(); + } + return; + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_addAnimation(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQCanvas*) QtSupport::getQt(env, obj))->addAnimation((TQCanvasItem*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_addItemToChunkContaining(JNIEnv* env, jobject obj, jobject arg1, jint x, jint y) +{ + ((TQCanvas*) QtSupport::getQt(env, obj))->addItemToChunkContaining((TQCanvasItem*) QtSupport::getQt(env, arg1), (int) x, (int) y); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_addItemToChunk(JNIEnv* env, jobject obj, jobject arg1, jint i, jint j) +{ + ((TQCanvas*) QtSupport::getQt(env, obj))->addItemToChunk((TQCanvasItem*) QtSupport::getQt(env, arg1), (int) i, (int) j); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_addItem(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQCanvas*) QtSupport::getQt(env, obj))->addItem((TQCanvasItem*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_addView(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQCanvas*) QtSupport::getQt(env, obj))->addView((TQCanvasView*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_advance(JNIEnv* env, jobject obj) +{ + ((TQCanvasJBridge*) QtSupport::getQt(env, obj))->public_advance(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvas_allItems(JNIEnv* env, jobject obj) +{ + TQCanvasItemList _qlist; + _qlist = ((TQCanvas*) QtSupport::getQt(env, obj))->allItems(); + return (jobject) QtSupport::arrayWithTQCanvasItemList(env, (TQCanvasItemList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvas_backgroundColor(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TQCanvas*) QtSupport::getQt(env, obj))->backgroundColor()), "org.kde.qt.TQColor", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvas_backgroundPixmap(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQCanvas*) QtSupport::getQt(env, obj))->backgroundPixmap()), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvas_chunkSize(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCanvas*) QtSupport::getQt(env, obj))->chunkSize(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QCanvas_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQCanvas*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvas_collisions__Lorg_kde_qt_QPointArray_2Lorg_kde_qt_QCanvasItem_2Z(JNIEnv* env, jobject obj, jobject pa, jobject item, jboolean exact) +{ + TQCanvasItemList _qlist; + _qlist = ((TQCanvas*) QtSupport::getQt(env, obj))->collisions((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, pa), (const TQCanvasItem*) QtSupport::getQt(env, item), (bool) exact); + return (jobject) QtSupport::arrayWithTQCanvasItemList(env, (TQCanvasItemList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvas_collisions__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1) +{ + TQCanvasItemList _qlist; + _qlist = ((TQCanvas*) QtSupport::getQt(env, obj))->collisions((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)); + return (jobject) QtSupport::arrayWithTQCanvasItemList(env, (TQCanvasItemList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvas_collisions__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) +{ + TQCanvasItemList _qlist; + _qlist = ((TQCanvas*) QtSupport::getQt(env, obj))->collisions((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); + return (jobject) QtSupport::arrayWithTQCanvasItemList(env, (TQCanvasItemList*) &_qlist); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QCanvas_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_drawArea__Lorg_kde_qt_QRect_2Lorg_kde_qt_QPainter_2(JNIEnv* env, jobject obj, jobject arg1, jobject p) +{ + ((TQCanvas*) QtSupport::getQt(env, obj))->drawArea((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (TQPainter*) QtSupport::getQt(env, p)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_drawArea__Lorg_kde_qt_QRect_2Lorg_kde_qt_QPainter_2Z(JNIEnv* env, jobject obj, jobject arg1, jobject p, jboolean double_buffer) +{ + ((TQCanvas*) QtSupport::getQt(env, obj))->drawArea((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (TQPainter*) QtSupport::getQt(env, p), (bool) double_buffer); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_drawBackground(JNIEnv* env, jobject obj, jobject arg1, jobject area) +{ + ((TQCanvasJBridge*) QtSupport::getQt(env, obj))->protected_drawBackground((TQPainter&)*(TQPainter*) QtSupport::getQt(env, arg1), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, area)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_drawCanvasArea__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQCanvas*) QtSupport::getQt(env, obj))->drawCanvasArea((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_drawCanvasArea__Lorg_kde_qt_QRect_2Lorg_kde_qt_QPainter_2(JNIEnv* env, jobject obj, jobject arg1, jobject p) +{ + ((TQCanvas*) QtSupport::getQt(env, obj))->drawCanvasArea((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (TQPainter*) QtSupport::getQt(env, p)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_drawCanvasArea__Lorg_kde_qt_QRect_2Lorg_kde_qt_QPainter_2Z(JNIEnv* env, jobject obj, jobject arg1, jobject p, jboolean double_buffer) +{ + ((TQCanvas*) QtSupport::getQt(env, obj))->drawCanvasArea((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (TQPainter*) QtSupport::getQt(env, p), (bool) double_buffer); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_drawForeground(JNIEnv* env, jobject obj, jobject arg1, jobject area) +{ + ((TQCanvasJBridge*) QtSupport::getQt(env, obj))->protected_drawForeground((TQPainter&)*(TQPainter*) QtSupport::getQt(env, arg1), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, area)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_drawViewArea(JNIEnv* env, jobject obj, jobject view, jobject p, jobject r, jboolean dbuf) +{ + ((TQCanvas*) QtSupport::getQt(env, obj))->drawViewArea((TQCanvasView*) QtSupport::getQt(env, view), (TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (bool) dbuf); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQCanvas*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQCanvas*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvas_height(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCanvas*) QtSupport::getQt(env, obj))->height(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvas_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvas_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQCanvas*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_newTQCanvas__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCanvasJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_newTQCanvas__II(JNIEnv* env, jobject obj, jint w, jint h) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCanvasJBridge((int) w, (int) h)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_newTQCanvas__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCanvasJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_newTQCanvas__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 TQCanvasJBridge((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_qt_QCanvas_newTQCanvas__Lorg_kde_qt_QPixmap_2IIII(JNIEnv* env, jobject obj, jobject p, jint h, jint v, jint tilewidth, jint tileheight) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCanvasJBridge((TQPixmap)*(TQPixmap*) QtSupport::getQt(env, p), (int) h, (int) v, (int) tilewidth, (int) tileheight)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvas_onCanvas__II(JNIEnv* env, jobject obj, jint x, jint y) +{ + jboolean xret = (jboolean) ((TQCanvas*) QtSupport::getQt(env, obj))->onCanvas((int) x, (int) y); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvas_onCanvas__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject p) +{ + jboolean xret = (jboolean) ((TQCanvas*) QtSupport::getQt(env, obj))->onCanvas((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvas_rect(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQCanvas*) QtSupport::getQt(env, obj))->rect()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_removeAnimation(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQCanvas*) QtSupport::getQt(env, obj))->removeAnimation((TQCanvasItem*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_removeItemFromChunkContaining(JNIEnv* env, jobject obj, jobject arg1, jint x, jint y) +{ + ((TQCanvas*) QtSupport::getQt(env, obj))->removeItemFromChunkContaining((TQCanvasItem*) QtSupport::getQt(env, arg1), (int) x, (int) y); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_removeItemFromChunk(JNIEnv* env, jobject obj, jobject arg1, jint i, jint j) +{ + ((TQCanvas*) QtSupport::getQt(env, obj))->removeItemFromChunk((TQCanvasItem*) QtSupport::getQt(env, arg1), (int) i, (int) j); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_removeItem(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQCanvas*) QtSupport::getQt(env, obj))->removeItem((TQCanvasItem*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_removeView(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQCanvas*) QtSupport::getQt(env, obj))->removeView((TQCanvasView*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_resize(JNIEnv* env, jobject obj, jint width, jint height) +{ + ((TQCanvas*) QtSupport::getQt(env, obj))->resize((int) width, (int) height); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_retune__I(JNIEnv* env, jobject obj, jint chunksize) +{ + ((TQCanvas*) QtSupport::getQt(env, obj))->retune((int) chunksize); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_retune__II(JNIEnv* env, jobject obj, jint chunksize, jint maxclusters) +{ + ((TQCanvas*) QtSupport::getQt(env, obj))->retune((int) chunksize, (int) maxclusters); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvas_sameChunk(JNIEnv* env, jobject obj, jint x1, jint y1, jint x2, jint y2) +{ + jboolean xret = (jboolean) ((TQCanvas*) QtSupport::getQt(env, obj))->sameChunk((int) x1, (int) y1, (int) x2, (int) y2); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_setAdvancePeriod(JNIEnv* env, jobject obj, jint ms) +{ + ((TQCanvas*) QtSupport::getQt(env, obj))->setAdvancePeriod((int) ms); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_setAllChanged(JNIEnv* env, jobject obj) +{ + ((TQCanvasJBridge*) QtSupport::getQt(env, obj))->public_setAllChanged(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_setBackgroundColor(JNIEnv* env, jobject obj, jobject c) +{ + ((TQCanvas*) QtSupport::getQt(env, obj))->setBackgroundColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_setBackgroundPixmap(JNIEnv* env, jobject obj, jobject p) +{ + ((TQCanvas*) QtSupport::getQt(env, obj))->setBackgroundPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, p)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_setChangedChunkContaining(JNIEnv* env, jobject obj, jint x, jint y) +{ + ((TQCanvas*) QtSupport::getQt(env, obj))->setChangedChunkContaining((int) x, (int) y); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_setChangedChunk(JNIEnv* env, jobject obj, jint i, jint j) +{ + ((TQCanvas*) QtSupport::getQt(env, obj))->setChangedChunk((int) i, (int) j); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_setChanged(JNIEnv* env, jobject obj, jobject area) +{ + ((TQCanvas*) QtSupport::getQt(env, obj))->setChanged((const TQRect&)*(const TQRect*) QtSupport::getQt(env, area)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_setDoubleBuffering(JNIEnv* env, jobject obj, jboolean y) +{ + ((TQCanvas*) QtSupport::getQt(env, obj))->setDoubleBuffering((bool) y); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_setTile(JNIEnv* env, jobject obj, jint x, jint y, jint tilenum) +{ + ((TQCanvas*) QtSupport::getQt(env, obj))->setTile((int) x, (int) y, (int) tilenum); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_setTiles(JNIEnv* env, jobject obj, jobject tiles, jint h, jint v, jint tilewidth, jint tileheight) +{ + ((TQCanvas*) QtSupport::getQt(env, obj))->setTiles((TQPixmap)*(TQPixmap*) QtSupport::getQt(env, tiles), (int) h, (int) v, (int) tilewidth, (int) tileheight); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_setUnchanged(JNIEnv* env, jobject obj, jobject area) +{ + ((TQCanvas*) QtSupport::getQt(env, obj))->setUnchanged((const TQRect&)*(const TQRect*) QtSupport::getQt(env, area)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_setUpdatePeriod(JNIEnv* env, jobject obj, jint ms) +{ + ((TQCanvas*) QtSupport::getQt(env, obj))->setUpdatePeriod((int) ms); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvas_size(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQCanvas*) QtSupport::getQt(env, obj))->size()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvas_tileHeight(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCanvas*) QtSupport::getQt(env, obj))->tileHeight(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvas_tileWidth(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCanvas*) QtSupport::getQt(env, obj))->tileWidth(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvas_tile(JNIEnv* env, jobject obj, jint x, jint y) +{ + jint xret = (jint) ((TQCanvas*) QtSupport::getQt(env, obj))->tile((int) x, (int) y); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvas_tilesHorizontally(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCanvas*) QtSupport::getQt(env, obj))->tilesHorizontally(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvas_tilesVertically(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCanvas*) QtSupport::getQt(env, obj))->tilesVertically(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QCanvas_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQCanvasJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QCanvas_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQCanvasJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvas_update(JNIEnv* env, jobject obj) +{ + ((TQCanvasJBridge*) QtSupport::getQt(env, obj))->public_update(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvas_validChunk__II(JNIEnv* env, jobject obj, jint x, jint y) +{ + jboolean xret = (jboolean) ((TQCanvas*) QtSupport::getQt(env, obj))->validChunk((int) x, (int) y); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvas_validChunk__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject p) +{ + jboolean xret = (jboolean) ((TQCanvas*) QtSupport::getQt(env, obj))->validChunk((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvas_width(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCanvas*) QtSupport::getQt(env, obj))->width(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQCanvas.h b/qtjava/javalib/qtjava/TQCanvas.h new file mode 100644 index 00000000..c8fd79fd --- /dev/null +++ b/qtjava/javalib/qtjava/TQCanvas.h @@ -0,0 +1,86 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QCanvas__ +#define __org_kde_qt_QCanvas__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvas_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QCanvas_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_newTQCanvas__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_newTQCanvas__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_newTQCanvas__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_newTQCanvas__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_newTQCanvas__Lorg_kde_qt_QPixmap_2IIII (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_setTiles (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_setBackgroundPixmap (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvas_backgroundPixmap (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_setBackgroundColor (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvas_backgroundColor (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_setTile (JNIEnv *env, jobject, jint, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvas_tile (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvas_tilesHorizontally (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvas_tilesVertically (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvas_tileWidth (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvas_tileHeight (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_resize (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvas_width (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvas_height (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvas_size (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvas_rect (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvas_onCanvas__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvas_onCanvas__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvas_validChunk__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvas_validChunk__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvas_chunkSize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_retune__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_retune__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvas_sameChunk (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_setChangedChunk (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_setChangedChunkContaining (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_setAllChanged (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_setChanged (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_setUnchanged (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_addItemToChunk (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_removeItemFromChunk (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_addItemToChunkContaining (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_removeItemFromChunkContaining (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvas_allItems (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvas_collisions__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvas_collisions__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvas_collisions__Lorg_kde_qt_QPointArray_2Lorg_kde_qt_QCanvasItem_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_drawArea__Lorg_kde_qt_QRect_2Lorg_kde_qt_QPainter_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_drawArea__Lorg_kde_qt_QRect_2Lorg_kde_qt_QPainter_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_addView (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_removeView (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_drawCanvasArea__Lorg_kde_qt_QRect_2Lorg_kde_qt_QPainter_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_drawCanvasArea__Lorg_kde_qt_QRect_2Lorg_kde_qt_QPainter_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_drawCanvasArea__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_drawViewArea (JNIEnv *env, jobject, jobject, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_addItem (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_addAnimation (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_removeItem (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_removeAnimation (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_setAdvancePeriod (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_setUpdatePeriod (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_setDoubleBuffering (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_advance (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_update (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QCanvas_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QCanvas_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_drawBackground (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_drawForeground (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvas_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QCanvas__ */ diff --git a/qtjava/javalib/qtjava/TQCanvasEllipse.cpp b/qtjava/javalib/qtjava/TQCanvasEllipse.cpp new file mode 100644 index 00000000..a01beeb3 --- /dev/null +++ b/qtjava/javalib/qtjava/TQCanvasEllipse.cpp @@ -0,0 +1,144 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQCanvasEllipseJBridge : public TQCanvasEllipse +{ +public: + TQCanvasEllipseJBridge(TQCanvas* arg1) : TQCanvasEllipse(arg1) {}; + TQCanvasEllipseJBridge(int arg1,int arg2,TQCanvas* arg3) : TQCanvasEllipse(arg1,arg2,arg3) {}; + TQCanvasEllipseJBridge(int arg1,int arg2,int arg3,int arg4,TQCanvas* arg5) : TQCanvasEllipse(arg1,arg2,arg3,arg4,arg5) {}; + void protected_drawShape(TQPainter& arg1) { + TQCanvasEllipse::drawShape(arg1); + return; + } + ~TQCanvasEllipseJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvasEllipse_angleLength(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCanvasEllipse*) QtSupport::getQt(env, obj))->angleLength(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvasEllipse_angleStart(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCanvasEllipse*) QtSupport::getQt(env, obj))->angleStart(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvasEllipse_areaPoints(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQCanvasEllipse*) QtSupport::getQt(env, obj))->areaPoints()), "org.kde.qt.TQPointArray", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvasEllipse_collidesWith(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQCanvasEllipse*) QtSupport::getQt(env, obj))->collidesWith((const TQCanvasItem*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasEllipse_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QCanvasEllipse_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasEllipse_drawShape(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQCanvasEllipseJBridge*) QtSupport::getQt(env, obj))->protected_drawShape((TQPainter&)*(TQPainter*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasEllipse_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQCanvasEllipse*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvasEllipse_height(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCanvasEllipse*) QtSupport::getQt(env, obj))->height(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvasEllipse_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasEllipse_newTQCanvasEllipse__IIIILorg_kde_qt_QCanvas_2(JNIEnv* env, jobject obj, jint width, jint height, jint startangle, jint angle, jobject canvas) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCanvasEllipseJBridge((int) width, (int) height, (int) startangle, (int) angle, (TQCanvas*) QtSupport::getQt(env, canvas))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasEllipse_newTQCanvasEllipse__IILorg_kde_qt_QCanvas_2(JNIEnv* env, jobject obj, jint width, jint height, jobject canvas) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCanvasEllipseJBridge((int) width, (int) height, (TQCanvas*) QtSupport::getQt(env, canvas))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasEllipse_newTQCanvasEllipse__Lorg_kde_qt_QCanvas_2(JNIEnv* env, jobject obj, jobject canvas) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCanvasEllipseJBridge((TQCanvas*) QtSupport::getQt(env, canvas))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvasEllipse_rtti(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCanvasEllipse*) QtSupport::getQt(env, obj))->rtti(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasEllipse_setAngles(JNIEnv* env, jobject obj, jint start, jint length) +{ + ((TQCanvasEllipse*) QtSupport::getQt(env, obj))->setAngles((int) start, (int) length); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasEllipse_setSize(JNIEnv* env, jobject obj, jint w, jint h) +{ + ((TQCanvasEllipse*) QtSupport::getQt(env, obj))->setSize((int) w, (int) h); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvasEllipse_width(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCanvasEllipse*) QtSupport::getQt(env, obj))->width(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQCanvasEllipse.h b/qtjava/javalib/qtjava/TQCanvasEllipse.h new file mode 100644 index 00000000..d8f6f5ac --- /dev/null +++ b/qtjava/javalib/qtjava/TQCanvasEllipse.h @@ -0,0 +1,34 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QCanvasEllipse__ +#define __org_kde_qt_QCanvasEllipse__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasEllipse_newTQCanvasEllipse__Lorg_kde_qt_QCanvas_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasEllipse_newTQCanvasEllipse__IILorg_kde_qt_QCanvas_2 (JNIEnv *env, jobject, jint, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasEllipse_newTQCanvasEllipse__IIIILorg_kde_qt_QCanvas_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasEllipse_width (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasEllipse_height (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasEllipse_setSize (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasEllipse_setAngles (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasEllipse_angleStart (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasEllipse_angleLength (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasEllipse_areaPoints (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasEllipse_collidesWith (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasEllipse_rtti (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasEllipse_drawShape (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasEllipse_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasEllipse_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasEllipse_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QCanvasEllipse__ */ diff --git a/qtjava/javalib/qtjava/TQCanvasItem.cpp b/qtjava/javalib/qtjava/TQCanvasItem.cpp new file mode 100644 index 00000000..822a887f --- /dev/null +++ b/qtjava/javalib/qtjava/TQCanvasItem.cpp @@ -0,0 +1,275 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvasItem_active(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQCanvasItem*) QtSupport::getQt(env, obj))->active(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasItem_advance(JNIEnv* env, jobject obj, jint stage) +{ + ((TQCanvasItem*) QtSupport::getQt(env, obj))->advance((int) stage); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvasItem_animated(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQCanvasItem*) QtSupport::getQt(env, obj))->animated(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvasItem_boundingRectAdvanced(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQCanvasItem*) QtSupport::getQt(env, obj))->boundingRectAdvanced()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvasItem_boundingRect(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQCanvasItem*) QtSupport::getQt(env, obj))->boundingRect()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvasItem_canvas(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQCanvasItem*) QtSupport::getQt(env, obj))->canvas(), "org.kde.qt.TQCanvas"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvasItem_collidesWith(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQCanvasItem*) QtSupport::getQt(env, obj))->collidesWith((const TQCanvasItem*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvasItem_collisions(JNIEnv* env, jobject obj, jboolean exact) +{ + TQCanvasItemList _qlist; + _qlist = ((TQCanvasItem*) QtSupport::getQt(env, obj))->collisions((bool) exact); + return (jobject) QtSupport::arrayWithTQCanvasItemList(env, (TQCanvasItemList*) &_qlist); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasItem_draw(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQCanvasItem*) QtSupport::getQt(env, obj))->draw((TQPainter&)*(TQPainter*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvasItem_enabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQCanvasItem*) QtSupport::getQt(env, obj))->enabled(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasItem_hide(JNIEnv* env, jobject obj) +{ + ((TQCanvasItem*) QtSupport::getQt(env, obj))->hide(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvasItem_isActive(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQCanvasItem*) QtSupport::getQt(env, obj))->isActive(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvasItem_isEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQCanvasItem*) QtSupport::getQt(env, obj))->isEnabled(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvasItem_isSelected(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQCanvasItem*) QtSupport::getQt(env, obj))->isSelected(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvasItem_isVisible(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQCanvasItem*) QtSupport::getQt(env, obj))->isVisible(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasItem_moveBy(JNIEnv* env, jobject obj, jdouble dx, jdouble dy) +{ + ((TQCanvasItem*) QtSupport::getQt(env, obj))->moveBy((double) dx, (double) dy); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasItem_move(JNIEnv* env, jobject obj, jdouble x, jdouble y) +{ + ((TQCanvasItem*) QtSupport::getQt(env, obj))->move((double) x, (double) y); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvasItem_rtti(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCanvasItem*) QtSupport::getQt(env, obj))->rtti(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvasItem_selected(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQCanvasItem*) QtSupport::getQt(env, obj))->selected(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasItem_setActive(JNIEnv* env, jobject obj, jboolean yes) +{ + ((TQCanvasItem*) QtSupport::getQt(env, obj))->setActive((bool) yes); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasItem_setAnimated(JNIEnv* env, jobject obj, jboolean y) +{ + ((TQCanvasItem*) QtSupport::getQt(env, obj))->setAnimated((bool) y); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasItem_setCanvas(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQCanvasItem*) QtSupport::getQt(env, obj))->setCanvas((TQCanvas*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasItem_setEnabled(JNIEnv* env, jobject obj, jboolean yes) +{ + ((TQCanvasItem*) QtSupport::getQt(env, obj))->setEnabled((bool) yes); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasItem_setSelected(JNIEnv* env, jobject obj, jboolean yes) +{ + ((TQCanvasItem*) QtSupport::getQt(env, obj))->setSelected((bool) yes); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasItem_setVelocity(JNIEnv* env, jobject obj, jdouble vx, jdouble vy) +{ + ((TQCanvasItem*) QtSupport::getQt(env, obj))->setVelocity((double) vx, (double) vy); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasItem_setVisible(JNIEnv* env, jobject obj, jboolean yes) +{ + ((TQCanvasItem*) QtSupport::getQt(env, obj))->setVisible((bool) yes); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasItem_setXVelocity(JNIEnv* env, jobject obj, jdouble vx) +{ + ((TQCanvasItem*) QtSupport::getQt(env, obj))->setXVelocity((double) vx); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasItem_setX(JNIEnv* env, jobject obj, jdouble a) +{ + ((TQCanvasItem*) QtSupport::getQt(env, obj))->setX((double) a); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasItem_setYVelocity(JNIEnv* env, jobject obj, jdouble vy) +{ + ((TQCanvasItem*) QtSupport::getQt(env, obj))->setYVelocity((double) vy); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasItem_setY(JNIEnv* env, jobject obj, jdouble a) +{ + ((TQCanvasItem*) QtSupport::getQt(env, obj))->setY((double) a); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasItem_setZ(JNIEnv* env, jobject obj, jdouble a) +{ + ((TQCanvasItem*) QtSupport::getQt(env, obj))->setZ((double) a); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasItem_show(JNIEnv* env, jobject obj) +{ + ((TQCanvasItem*) QtSupport::getQt(env, obj))->show(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvasItem_visible(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQCanvasItem*) QtSupport::getQt(env, obj))->visible(); + return xret; +} + +JNIEXPORT jdouble JNICALL +Java_org_kde_qt_QCanvasItem_xVelocity(JNIEnv* env, jobject obj) +{ + jdouble xret = (jdouble) ((TQCanvasItem*) QtSupport::getQt(env, obj))->xVelocity(); + return xret; +} + +JNIEXPORT jdouble JNICALL +Java_org_kde_qt_QCanvasItem_x(JNIEnv* env, jobject obj) +{ + jdouble xret = (jdouble) ((TQCanvasItem*) QtSupport::getQt(env, obj))->x(); + return xret; +} + +JNIEXPORT jdouble JNICALL +Java_org_kde_qt_QCanvasItem_yVelocity(JNIEnv* env, jobject obj) +{ + jdouble xret = (jdouble) ((TQCanvasItem*) QtSupport::getQt(env, obj))->yVelocity(); + return xret; +} + +JNIEXPORT jdouble JNICALL +Java_org_kde_qt_QCanvasItem_y(JNIEnv* env, jobject obj) +{ + jdouble xret = (jdouble) ((TQCanvasItem*) QtSupport::getQt(env, obj))->y(); + return xret; +} + +JNIEXPORT jdouble JNICALL +Java_org_kde_qt_QCanvasItem_z(JNIEnv* env, jobject obj) +{ + jdouble xret = (jdouble) ((TQCanvasItem*) QtSupport::getQt(env, obj))->z(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQCanvasItem.h b/qtjava/javalib/qtjava/TQCanvasItem.h new file mode 100644 index 00000000..65642bed --- /dev/null +++ b/qtjava/javalib/qtjava/TQCanvasItem.h @@ -0,0 +1,56 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QCanvasItem__ +#define __org_kde_qt_QCanvasItem__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QCanvasItem_x (JNIEnv *env, jobject); +extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QCanvasItem_y (JNIEnv *env, jobject); +extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QCanvasItem_z (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasItem_moveBy (JNIEnv *env, jobject, jdouble, jdouble); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasItem_move (JNIEnv *env, jobject, jdouble, jdouble); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasItem_setX (JNIEnv *env, jobject, jdouble); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasItem_setY (JNIEnv *env, jobject, jdouble); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasItem_setZ (JNIEnv *env, jobject, jdouble); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasItem_animated (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasItem_setAnimated (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasItem_setVelocity (JNIEnv *env, jobject, jdouble, jdouble); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasItem_setXVelocity (JNIEnv *env, jobject, jdouble); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasItem_setYVelocity (JNIEnv *env, jobject, jdouble); +extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QCanvasItem_xVelocity (JNIEnv *env, jobject); +extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QCanvasItem_yVelocity (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasItem_advance (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasItem_collidesWith (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasItem_collisions (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasItem_setCanvas (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasItem_draw (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasItem_show (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasItem_hide (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasItem_setVisible (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasItem_isVisible (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasItem_setSelected (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasItem_isSelected (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasItem_setEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasItem_isEnabled (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasItem_setActive (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasItem_isActive (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasItem_visible (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasItem_selected (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasItem_enabled (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasItem_active (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasItem_rtti (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasItem_boundingRect (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasItem_boundingRectAdvanced (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasItem_canvas (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QCanvasItem__ */ diff --git a/qtjava/javalib/qtjava/TQCanvasLine.cpp b/qtjava/javalib/qtjava/TQCanvasLine.cpp new file mode 100644 index 00000000..ce51bb2a --- /dev/null +++ b/qtjava/javalib/qtjava/TQCanvasLine.cpp @@ -0,0 +1,113 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include + +#include +#include + +class TQCanvasLineJBridge : public TQCanvasLine +{ +public: + TQCanvasLineJBridge(TQCanvas* arg1) : TQCanvasLine(arg1) {}; + void protected_drawShape(TQPainter& arg1) { + TQCanvasLine::drawShape(arg1); + return; + } + TQPointArray protected_areaPoints() { + return (TQPointArray) TQCanvasLine::areaPoints(); + } + ~TQCanvasLineJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvasLine_areaPoints(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQCanvasLineJBridge*) QtSupport::getQt(env, obj))->protected_areaPoints()), "org.kde.qt.TQPointArray", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasLine_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QCanvasLine_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasLine_drawShape(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQCanvasLineJBridge*) QtSupport::getQt(env, obj))->protected_drawShape((TQPainter&)*(TQPainter*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvasLine_endPoint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQCanvasLine*) QtSupport::getQt(env, obj))->endPoint()), "org.kde.qt.TQPoint", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasLine_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQCanvasLine*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvasLine_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasLine_moveBy(JNIEnv* env, jobject obj, jdouble dx, jdouble dy) +{ + ((TQCanvasLine*) QtSupport::getQt(env, obj))->moveBy((double) dx, (double) dy); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasLine_newTQCanvasLine(JNIEnv* env, jobject obj, jobject canvas) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCanvasLineJBridge((TQCanvas*) QtSupport::getQt(env, canvas))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvasLine_rtti(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCanvasLine*) QtSupport::getQt(env, obj))->rtti(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasLine_setPen(JNIEnv* env, jobject obj, jobject p) +{ + ((TQCanvasLine*) QtSupport::getQt(env, obj))->setPen((TQPen)*(TQPen*) QtSupport::getQt(env, p)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasLine_setPoints(JNIEnv* env, jobject obj, jint x1, jint y1, jint x2, jint y2) +{ + ((TQCanvasLine*) QtSupport::getQt(env, obj))->setPoints((int) x1, (int) y1, (int) x2, (int) y2); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvasLine_startPoint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQCanvasLine*) QtSupport::getQt(env, obj))->startPoint()), "org.kde.qt.TQPoint", TRUE); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQCanvasLine.h b/qtjava/javalib/qtjava/TQCanvasLine.h new file mode 100644 index 00000000..c3401b02 --- /dev/null +++ b/qtjava/javalib/qtjava/TQCanvasLine.h @@ -0,0 +1,30 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QCanvasLine__ +#define __org_kde_qt_QCanvasLine__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasLine_newTQCanvasLine (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasLine_setPoints (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasLine_startPoint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasLine_endPoint (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasLine_rtti (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasLine_setPen (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasLine_moveBy (JNIEnv *env, jobject, jdouble, jdouble); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasLine_drawShape (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasLine_areaPoints (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasLine_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasLine_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasLine_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QCanvasLine__ */ diff --git a/qtjava/javalib/qtjava/TQCanvasPixmap.cpp b/qtjava/javalib/qtjava/TQCanvasPixmap.cpp new file mode 100644 index 00000000..fa2499e6 --- /dev/null +++ b/qtjava/javalib/qtjava/TQCanvasPixmap.cpp @@ -0,0 +1,94 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include + +#include +#include + +class TQCanvasPixmapJBridge : public TQCanvasPixmap +{ +public: + TQCanvasPixmapJBridge(const TQString& arg1) : TQCanvasPixmap(arg1) {}; + TQCanvasPixmapJBridge(const TQImage& arg1) : TQCanvasPixmap(arg1) {}; + TQCanvasPixmapJBridge(const TQPixmap& arg1,const TQPoint& arg2) : TQCanvasPixmap(arg1,arg2) {}; + ~TQCanvasPixmapJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasPixmap_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QCanvasPixmap_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasPixmap_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQCanvasPixmap*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvasPixmap_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasPixmap_newTQCanvasPixmap__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring datafilename) +{ +static TQString* _qstring_datafilename = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCanvasPixmapJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, datafilename, &_qstring_datafilename))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasPixmap_newTQCanvasPixmap__Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject image) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCanvasPixmapJBridge((const TQImage&)*(const TQImage*) QtSupport::getQt(env, image))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasPixmap_newTQCanvasPixmap__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1, jobject hotspot) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCanvasPixmapJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, hotspot))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvasPixmap_offsetX(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCanvasPixmap*) QtSupport::getQt(env, obj))->offsetX(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvasPixmap_offsetY(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCanvasPixmap*) QtSupport::getQt(env, obj))->offsetY(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasPixmap_setOffset(JNIEnv* env, jobject obj, jint x, jint y) +{ + ((TQCanvasPixmap*) QtSupport::getQt(env, obj))->setOffset((int) x, (int) y); + return; +} + diff --git a/qtjava/javalib/qtjava/TQCanvasPixmap.h b/qtjava/javalib/qtjava/TQCanvasPixmap.h new file mode 100644 index 00000000..87196204 --- /dev/null +++ b/qtjava/javalib/qtjava/TQCanvasPixmap.h @@ -0,0 +1,27 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QCanvasPixmap__ +#define __org_kde_qt_QCanvasPixmap__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPixmap_newTQCanvasPixmap__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPixmap_newTQCanvasPixmap__Lorg_kde_qt_QImage_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPixmap_newTQCanvasPixmap__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasPixmap_offsetX (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasPixmap_offsetY (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPixmap_setOffset (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPixmap_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPixmap_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasPixmap_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QCanvasPixmap__ */ diff --git a/qtjava/javalib/qtjava/TQCanvasPixmapArray.cpp b/qtjava/javalib/qtjava/TQCanvasPixmapArray.cpp new file mode 100644 index 00000000..48fa2870 --- /dev/null +++ b/qtjava/javalib/qtjava/TQCanvasPixmapArray.cpp @@ -0,0 +1,131 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQCanvasPixmapArrayJBridge : public TQCanvasPixmapArray +{ +public: + TQCanvasPixmapArrayJBridge() : TQCanvasPixmapArray() {}; + TQCanvasPixmapArrayJBridge(const TQString& arg1,int arg2) : TQCanvasPixmapArray(arg1,arg2) {}; + TQCanvasPixmapArrayJBridge(const TQString& arg1) : TQCanvasPixmapArray(arg1) {}; + ~TQCanvasPixmapArrayJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvasPixmapArray_count(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCanvasPixmapArray*) QtSupport::getQt(env, obj))->count(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasPixmapArray_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QCanvasPixmapArray_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasPixmapArray_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQCanvasPixmapArray*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvasPixmapArray_image(JNIEnv* env, jobject obj, jint i) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQCanvasPixmapArray*) QtSupport::getQt(env, obj))->image((int) i), "org.kde.qt.TQCanvasPixmap"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvasPixmapArray_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvasPixmapArray_isValid(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQCanvasPixmapArray*) QtSupport::getQt(env, obj))->isValid(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasPixmapArray_newTQCanvasPixmapArray__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCanvasPixmapArrayJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasPixmapArray_newTQCanvasPixmapArray__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring datafilenamepattern) +{ +static TQString* _qstring_datafilenamepattern = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCanvasPixmapArrayJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, datafilenamepattern, &_qstring_datafilenamepattern))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasPixmapArray_newTQCanvasPixmapArray__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring datafilenamepattern, jint framecount) +{ +static TQString* _qstring_datafilenamepattern = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCanvasPixmapArrayJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, datafilenamepattern, &_qstring_datafilenamepattern), (int) framecount)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvasPixmapArray_op_1not(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQCanvasPixmapArray*) QtSupport::getQt(env, obj))->operator!(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvasPixmapArray_readCollisionMasks(JNIEnv* env, jobject obj, jstring filenamepattern) +{ +static TQString* _qstring_filenamepattern = 0; + jboolean xret = (jboolean) ((TQCanvasPixmapArray*) QtSupport::getQt(env, obj))->readCollisionMasks((const TQString&)*(TQString*) QtSupport::toTQString(env, filenamepattern, &_qstring_filenamepattern)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvasPixmapArray_readPixmaps__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring datafilenamepattern) +{ +static TQString* _qstring_datafilenamepattern = 0; + jboolean xret = (jboolean) ((TQCanvasPixmapArray*) QtSupport::getQt(env, obj))->readPixmaps((const TQString&)*(TQString*) QtSupport::toTQString(env, datafilenamepattern, &_qstring_datafilenamepattern)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvasPixmapArray_readPixmaps__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring datafilenamepattern, jint framecount) +{ +static TQString* _qstring_datafilenamepattern = 0; + jboolean xret = (jboolean) ((TQCanvasPixmapArray*) QtSupport::getQt(env, obj))->readPixmaps((const TQString&)*(TQString*) QtSupport::toTQString(env, datafilenamepattern, &_qstring_datafilenamepattern), (int) framecount); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasPixmapArray_setImage(JNIEnv* env, jobject obj, jint i, jobject p) +{ + ((TQCanvasPixmapArray*) QtSupport::getQt(env, obj))->setImage((int) i, (TQCanvasPixmap*) QtSupport::getQt(env, p)); + return; +} + diff --git a/qtjava/javalib/qtjava/TQCanvasPixmapArray.h b/qtjava/javalib/qtjava/TQCanvasPixmapArray.h new file mode 100644 index 00000000..2ec6be3e --- /dev/null +++ b/qtjava/javalib/qtjava/TQCanvasPixmapArray.h @@ -0,0 +1,32 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QCanvasPixmapArray__ +#define __org_kde_qt_QCanvasPixmapArray__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPixmapArray_newTQCanvasPixmapArray__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPixmapArray_newTQCanvasPixmapArray__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPixmapArray_newTQCanvasPixmapArray__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasPixmapArray_readPixmaps__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasPixmapArray_readPixmaps__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasPixmapArray_readCollisionMasks (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasPixmapArray_op_1not (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasPixmapArray_isValid (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasPixmapArray_image (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPixmapArray_setImage (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasPixmapArray_count (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPixmapArray_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPixmapArray_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasPixmapArray_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QCanvasPixmapArray__ */ diff --git a/qtjava/javalib/qtjava/TQCanvasPolygon.cpp b/qtjava/javalib/qtjava/TQCanvasPolygon.cpp new file mode 100644 index 00000000..2f4479d0 --- /dev/null +++ b/qtjava/javalib/qtjava/TQCanvasPolygon.cpp @@ -0,0 +1,94 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQCanvasPolygonJBridge : public TQCanvasPolygon +{ +public: + TQCanvasPolygonJBridge(TQCanvas* arg1) : TQCanvasPolygon(arg1) {}; + void protected_drawShape(TQPainter& arg1) { + TQCanvasPolygon::drawShape(arg1); + return; + } + ~TQCanvasPolygonJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvasPolygon_areaPoints(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQCanvasPolygon*) QtSupport::getQt(env, obj))->areaPoints()), "org.kde.qt.TQPointArray", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasPolygon_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QCanvasPolygon_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasPolygon_drawShape(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQCanvasPolygonJBridge*) QtSupport::getQt(env, obj))->protected_drawShape((TQPainter&)*(TQPainter*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasPolygon_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQCanvasPolygon*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvasPolygon_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasPolygon_moveBy(JNIEnv* env, jobject obj, jdouble dx, jdouble dy) +{ + ((TQCanvasPolygon*) QtSupport::getQt(env, obj))->moveBy((double) dx, (double) dy); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasPolygon_newTQCanvasPolygon(JNIEnv* env, jobject obj, jobject canvas) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCanvasPolygonJBridge((TQCanvas*) QtSupport::getQt(env, canvas))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvasPolygon_points(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQCanvasPolygon*) QtSupport::getQt(env, obj))->points()), "org.kde.qt.TQPointArray", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvasPolygon_rtti(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCanvasPolygon*) QtSupport::getQt(env, obj))->rtti(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasPolygon_setPoints(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQCanvasPolygon*) QtSupport::getQt(env, obj))->setPoints((TQPointArray)*(TQPointArray*) QtSupport::getQt(env, arg1)); + return; +} + diff --git a/qtjava/javalib/qtjava/TQCanvasPolygon.h b/qtjava/javalib/qtjava/TQCanvasPolygon.h new file mode 100644 index 00000000..01acb3e7 --- /dev/null +++ b/qtjava/javalib/qtjava/TQCanvasPolygon.h @@ -0,0 +1,28 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QCanvasPolygon__ +#define __org_kde_qt_QCanvasPolygon__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPolygon_newTQCanvasPolygon (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPolygon_setPoints (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasPolygon_points (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPolygon_moveBy (JNIEnv *env, jobject, jdouble, jdouble); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasPolygon_areaPoints (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasPolygon_rtti (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPolygon_drawShape (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPolygon_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPolygon_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasPolygon_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QCanvasPolygon__ */ diff --git a/qtjava/javalib/qtjava/TQCanvasPolygonalItem.cpp b/qtjava/javalib/qtjava/TQCanvasPolygonalItem.cpp new file mode 100644 index 00000000..59307c27 --- /dev/null +++ b/qtjava/javalib/qtjava/TQCanvasPolygonalItem.cpp @@ -0,0 +1,73 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include + +#include +#include + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvasPolygonalItem_areaPointsAdvanced(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQCanvasPolygonalItem*) QtSupport::getQt(env, obj))->areaPointsAdvanced()), "org.kde.qt.TQPointArray", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvasPolygonalItem_areaPoints(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQCanvasPolygonalItem*) QtSupport::getQt(env, obj))->areaPoints()), "org.kde.qt.TQPointArray", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvasPolygonalItem_boundingRect(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQCanvasPolygonalItem*) QtSupport::getQt(env, obj))->boundingRect()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvasPolygonalItem_brush(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQBrush(((TQCanvasPolygonalItem*) QtSupport::getQt(env, obj))->brush()), "org.kde.qt.TQBrush", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvasPolygonalItem_collidesWith(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQCanvasPolygonalItem*) QtSupport::getQt(env, obj))->collidesWith((const TQCanvasItem*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvasPolygonalItem_pen(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPen(((TQCanvasPolygonalItem*) QtSupport::getQt(env, obj))->pen()), "org.kde.qt.TQPen", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvasPolygonalItem_rtti(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCanvasPolygonalItem*) QtSupport::getQt(env, obj))->rtti(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasPolygonalItem_setBrush(JNIEnv* env, jobject obj, jobject b) +{ + ((TQCanvasPolygonalItem*) QtSupport::getQt(env, obj))->setBrush((TQBrush)*(TQBrush*) QtSupport::getQt(env, b)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasPolygonalItem_setPen(JNIEnv* env, jobject obj, jobject p) +{ + ((TQCanvasPolygonalItem*) QtSupport::getQt(env, obj))->setPen((TQPen)*(TQPen*) QtSupport::getQt(env, p)); + return; +} + diff --git a/qtjava/javalib/qtjava/TQCanvasPolygonalItem.h b/qtjava/javalib/qtjava/TQCanvasPolygonalItem.h new file mode 100644 index 00000000..2c71ca0e --- /dev/null +++ b/qtjava/javalib/qtjava/TQCanvasPolygonalItem.h @@ -0,0 +1,27 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QCanvasPolygonalItem__ +#define __org_kde_qt_QCanvasPolygonalItem__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasPolygonalItem_collidesWith (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPolygonalItem_setPen (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPolygonalItem_setBrush (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasPolygonalItem_pen (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasPolygonalItem_brush (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasPolygonalItem_areaPoints (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasPolygonalItem_areaPointsAdvanced (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasPolygonalItem_boundingRect (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasPolygonalItem_rtti (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QCanvasPolygonalItem__ */ diff --git a/qtjava/javalib/qtjava/TQCanvasRectangle.cpp b/qtjava/javalib/qtjava/TQCanvasRectangle.cpp new file mode 100644 index 00000000..5c11bc82 --- /dev/null +++ b/qtjava/javalib/qtjava/TQCanvasRectangle.cpp @@ -0,0 +1,149 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include + +#include +#include + +class TQCanvasRectangleJBridge : public TQCanvasRectangle +{ +public: + TQCanvasRectangleJBridge(TQCanvas* arg1) : TQCanvasRectangle(arg1) {}; + TQCanvasRectangleJBridge(const TQRect& arg1,TQCanvas* arg2) : TQCanvasRectangle(arg1,arg2) {}; + TQCanvasRectangleJBridge(int arg1,int arg2,int arg3,int arg4,TQCanvas* arg5) : TQCanvasRectangle(arg1,arg2,arg3,arg4,arg5) {}; + void protected_drawShape(TQPainter& arg1) { + TQCanvasRectangle::drawShape(arg1); + return; + } + TQPointArray protected_chunks() { + return (TQPointArray) TQCanvasRectangle::chunks(); + } + ~TQCanvasRectangleJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvasRectangle_areaPoints(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQCanvasRectangle*) QtSupport::getQt(env, obj))->areaPoints()), "org.kde.qt.TQPointArray", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvasRectangle_chunks(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQCanvasRectangleJBridge*) QtSupport::getQt(env, obj))->protected_chunks()), "org.kde.qt.TQPointArray", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvasRectangle_collidesWith(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQCanvasRectangle*) QtSupport::getQt(env, obj))->collidesWith((const TQCanvasItem*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasRectangle_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QCanvasRectangle_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasRectangle_drawShape(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQCanvasRectangleJBridge*) QtSupport::getQt(env, obj))->protected_drawShape((TQPainter&)*(TQPainter*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasRectangle_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQCanvasRectangle*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvasRectangle_height(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCanvasRectangle*) QtSupport::getQt(env, obj))->height(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvasRectangle_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasRectangle_newTQCanvasRectangle__IIIILorg_kde_qt_QCanvas_2(JNIEnv* env, jobject obj, jint x, jint y, jint width, jint height, jobject canvas) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCanvasRectangleJBridge((int) x, (int) y, (int) width, (int) height, (TQCanvas*) QtSupport::getQt(env, canvas))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasRectangle_newTQCanvasRectangle__Lorg_kde_qt_QCanvas_2(JNIEnv* env, jobject obj, jobject canvas) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCanvasRectangleJBridge((TQCanvas*) QtSupport::getQt(env, canvas))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasRectangle_newTQCanvasRectangle__Lorg_kde_qt_QRect_2Lorg_kde_qt_QCanvas_2(JNIEnv* env, jobject obj, jobject arg1, jobject canvas) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCanvasRectangleJBridge((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (TQCanvas*) QtSupport::getQt(env, canvas))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvasRectangle_rect(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQCanvasRectangle*) QtSupport::getQt(env, obj))->rect()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvasRectangle_rtti(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCanvasRectangle*) QtSupport::getQt(env, obj))->rtti(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasRectangle_setSize(JNIEnv* env, jobject obj, jint w, jint h) +{ + ((TQCanvasRectangle*) QtSupport::getQt(env, obj))->setSize((int) w, (int) h); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvasRectangle_size(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQCanvasRectangle*) QtSupport::getQt(env, obj))->size()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvasRectangle_width(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCanvasRectangle*) QtSupport::getQt(env, obj))->width(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQCanvasRectangle.h b/qtjava/javalib/qtjava/TQCanvasRectangle.h new file mode 100644 index 00000000..d59cff4f --- /dev/null +++ b/qtjava/javalib/qtjava/TQCanvasRectangle.h @@ -0,0 +1,34 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QCanvasRectangle__ +#define __org_kde_qt_QCanvasRectangle__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasRectangle_newTQCanvasRectangle__Lorg_kde_qt_QCanvas_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasRectangle_newTQCanvasRectangle__Lorg_kde_qt_QRect_2Lorg_kde_qt_QCanvas_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasRectangle_newTQCanvasRectangle__IIIILorg_kde_qt_QCanvas_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasRectangle_width (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasRectangle_height (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasRectangle_setSize (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasRectangle_size (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasRectangle_areaPoints (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasRectangle_rect (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasRectangle_collidesWith (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasRectangle_rtti (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasRectangle_drawShape (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasRectangle_chunks (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasRectangle_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasRectangle_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasRectangle_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QCanvasRectangle__ */ diff --git a/qtjava/javalib/qtjava/TQCanvasSpline.cpp b/qtjava/javalib/qtjava/TQCanvasSpline.cpp new file mode 100644 index 00000000..c73223d9 --- /dev/null +++ b/qtjava/javalib/qtjava/TQCanvasSpline.cpp @@ -0,0 +1,82 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQCanvasSplineJBridge : public TQCanvasSpline +{ +public: + TQCanvasSplineJBridge(TQCanvas* arg1) : TQCanvasSpline(arg1) {}; + ~TQCanvasSplineJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvasSpline_closed(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQCanvasSpline*) QtSupport::getQt(env, obj))->closed(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvasSpline_controlPoints(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQCanvasSpline*) QtSupport::getQt(env, obj))->controlPoints()), "org.kde.qt.TQPointArray", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasSpline_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QCanvasSpline_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasSpline_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQCanvasSpline*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvasSpline_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasSpline_newTQCanvasSpline(JNIEnv* env, jobject obj, jobject canvas) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCanvasSplineJBridge((TQCanvas*) QtSupport::getQt(env, canvas))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvasSpline_rtti(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCanvasSpline*) QtSupport::getQt(env, obj))->rtti(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasSpline_setControlPoints__Lorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQCanvasSpline*) QtSupport::getQt(env, obj))->setControlPoints((TQPointArray)*(TQPointArray*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasSpline_setControlPoints__Lorg_kde_qt_QPointArray_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean closed) +{ + ((TQCanvasSpline*) QtSupport::getQt(env, obj))->setControlPoints((TQPointArray)*(TQPointArray*) QtSupport::getQt(env, arg1), (bool) closed); + return; +} + diff --git a/qtjava/javalib/qtjava/TQCanvasSpline.h b/qtjava/javalib/qtjava/TQCanvasSpline.h new file mode 100644 index 00000000..244e03b9 --- /dev/null +++ b/qtjava/javalib/qtjava/TQCanvasSpline.h @@ -0,0 +1,27 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QCanvasSpline__ +#define __org_kde_qt_QCanvasSpline__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSpline_newTQCanvasSpline (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSpline_setControlPoints__Lorg_kde_qt_QPointArray_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSpline_setControlPoints__Lorg_kde_qt_QPointArray_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasSpline_controlPoints (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasSpline_closed (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasSpline_rtti (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSpline_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSpline_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasSpline_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QCanvasSpline__ */ diff --git a/qtjava/javalib/qtjava/TQCanvasSprite.cpp b/qtjava/javalib/qtjava/TQCanvasSprite.cpp new file mode 100644 index 00000000..2955c86d --- /dev/null +++ b/qtjava/javalib/qtjava/TQCanvasSprite.cpp @@ -0,0 +1,248 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQCanvasSpriteJBridge : public TQCanvasSprite +{ +public: + TQCanvasSpriteJBridge(TQCanvasPixmapArray* arg1,TQCanvas* arg2) : TQCanvasSprite(arg1,arg2) {}; + void public_setFrameAnimation() { + TQCanvasSprite::setFrameAnimation(); + return; + } + ~TQCanvasSpriteJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasSprite_advance(JNIEnv* env, jobject obj, jint stage) +{ + ((TQCanvasSprite*) QtSupport::getQt(env, obj))->advance((int) stage); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvasSprite_bottomEdge__(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCanvasSprite*) QtSupport::getQt(env, obj))->bottomEdge(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvasSprite_bottomEdge__I(JNIEnv* env, jobject obj, jint ny) +{ + jint xret = (jint) ((TQCanvasSprite*) QtSupport::getQt(env, obj))->bottomEdge((int) ny); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvasSprite_boundingRect(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQCanvasSprite*) QtSupport::getQt(env, obj))->boundingRect()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvasSprite_collidesWith(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQCanvasSprite*) QtSupport::getQt(env, obj))->collidesWith((const TQCanvasItem*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasSprite_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QCanvasSprite_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasSprite_draw(JNIEnv* env, jobject obj, jobject painter) +{ + ((TQCanvasSprite*) QtSupport::getQt(env, obj))->draw((TQPainter&)*(TQPainter*) QtSupport::getQt(env, painter)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasSprite_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQCanvasSprite*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvasSprite_frameCount(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCanvasSprite*) QtSupport::getQt(env, obj))->frameCount(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvasSprite_frame(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCanvasSprite*) QtSupport::getQt(env, obj))->frame(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvasSprite_height(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCanvasSprite*) QtSupport::getQt(env, obj))->height(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvasSprite_imageAdvanced(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQCanvasSprite*) QtSupport::getQt(env, obj))->imageAdvanced(), "org.kde.qt.TQCanvasPixmap"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvasSprite_image__(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQCanvasSprite*) QtSupport::getQt(env, obj))->image(), "org.kde.qt.TQCanvasPixmap"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvasSprite_image__I(JNIEnv* env, jobject obj, jint f) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQCanvasSprite*) QtSupport::getQt(env, obj))->image((int) f), "org.kde.qt.TQCanvasPixmap"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvasSprite_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvasSprite_leftEdge__(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCanvasSprite*) QtSupport::getQt(env, obj))->leftEdge(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvasSprite_leftEdge__I(JNIEnv* env, jobject obj, jint nx) +{ + jint xret = (jint) ((TQCanvasSprite*) QtSupport::getQt(env, obj))->leftEdge((int) nx); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasSprite_move__DD(JNIEnv* env, jobject obj, jdouble x, jdouble y) +{ + ((TQCanvasSprite*) QtSupport::getQt(env, obj))->move((double) x, (double) y); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasSprite_move__DDI(JNIEnv* env, jobject obj, jdouble x, jdouble y, jint frame) +{ + ((TQCanvasSprite*) QtSupport::getQt(env, obj))->move((double) x, (double) y, (int) frame); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasSprite_newTQCanvasSprite(JNIEnv* env, jobject obj, jobject array, jobject canvas) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCanvasSpriteJBridge((TQCanvasPixmapArray*) QtSupport::getQt(env, array), (TQCanvas*) QtSupport::getQt(env, canvas))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvasSprite_rightEdge__(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCanvasSprite*) QtSupport::getQt(env, obj))->rightEdge(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvasSprite_rightEdge__I(JNIEnv* env, jobject obj, jint nx) +{ + jint xret = (jint) ((TQCanvasSprite*) QtSupport::getQt(env, obj))->rightEdge((int) nx); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvasSprite_rtti(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCanvasSprite*) QtSupport::getQt(env, obj))->rtti(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasSprite_setFrameAnimation__(JNIEnv* env, jobject obj) +{ + ((TQCanvasSpriteJBridge*) QtSupport::getQt(env, obj))->public_setFrameAnimation(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasSprite_setFrameAnimation__I(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQCanvasSprite*) QtSupport::getQt(env, obj))->setFrameAnimation((TQCanvasSprite::FrameAnimationType) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasSprite_setFrameAnimation__II(JNIEnv* env, jobject obj, jint arg1, jint step) +{ + ((TQCanvasSprite*) QtSupport::getQt(env, obj))->setFrameAnimation((TQCanvasSprite::FrameAnimationType) arg1, (int) step); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasSprite_setFrameAnimation__III(JNIEnv* env, jobject obj, jint arg1, jint step, jint state) +{ + ((TQCanvasSprite*) QtSupport::getQt(env, obj))->setFrameAnimation((TQCanvasSprite::FrameAnimationType) arg1, (int) step, (int) state); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasSprite_setFrame(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQCanvasSprite*) QtSupport::getQt(env, obj))->setFrame((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasSprite_setSequence(JNIEnv* env, jobject obj, jobject seq) +{ + ((TQCanvasSprite*) QtSupport::getQt(env, obj))->setSequence((TQCanvasPixmapArray*) QtSupport::getQt(env, seq)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvasSprite_topEdge__(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCanvasSprite*) QtSupport::getQt(env, obj))->topEdge(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvasSprite_topEdge__I(JNIEnv* env, jobject obj, jint ny) +{ + jint xret = (jint) ((TQCanvasSprite*) QtSupport::getQt(env, obj))->topEdge((int) ny); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvasSprite_width(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCanvasSprite*) QtSupport::getQt(env, obj))->width(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQCanvasSprite.h b/qtjava/javalib/qtjava/TQCanvasSprite.h new file mode 100644 index 00000000..53aeb2f8 --- /dev/null +++ b/qtjava/javalib/qtjava/TQCanvasSprite.h @@ -0,0 +1,50 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QCanvasSprite__ +#define __org_kde_qt_QCanvasSprite__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSprite_newTQCanvasSprite (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSprite_setSequence (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSprite_move__DD (JNIEnv *env, jobject, jdouble, jdouble); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSprite_move__DDI (JNIEnv *env, jobject, jdouble, jdouble, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSprite_setFrame (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSprite_setFrameAnimation__III (JNIEnv *env, jobject, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSprite_setFrameAnimation__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSprite_setFrameAnimation__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSprite_setFrameAnimation__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasSprite_frame (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasSprite_frameCount (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasSprite_rtti (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasSprite_collidesWith (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasSprite_boundingRect (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasSprite_width (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasSprite_height (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasSprite_leftEdge__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasSprite_topEdge__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasSprite_rightEdge__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasSprite_bottomEdge__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasSprite_leftEdge__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasSprite_topEdge__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasSprite_rightEdge__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasSprite_bottomEdge__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasSprite_image__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasSprite_imageAdvanced (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasSprite_image__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSprite_advance (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSprite_draw (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSprite_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSprite_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasSprite_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QCanvasSprite__ */ diff --git a/qtjava/javalib/qtjava/TQCanvasText.cpp b/qtjava/javalib/qtjava/TQCanvasText.cpp new file mode 100644 index 00000000..01269da9 --- /dev/null +++ b/qtjava/javalib/qtjava/TQCanvasText.cpp @@ -0,0 +1,172 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQCanvasTextJBridge : public TQCanvasText +{ +public: + TQCanvasTextJBridge(TQCanvas* arg1) : TQCanvasText(arg1) {}; + TQCanvasTextJBridge(const TQString& arg1,TQCanvas* arg2) : TQCanvasText(arg1,arg2) {}; + TQCanvasTextJBridge(const TQString& arg1,TQFont arg2,TQCanvas* arg3) : TQCanvasText(arg1,arg2,arg3) {}; + void protected_draw(TQPainter& arg1) { + TQCanvasText::draw(arg1); + return; + } + ~TQCanvasTextJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvasText_boundingRect(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQCanvasText*) QtSupport::getQt(env, obj))->boundingRect()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvasText_collidesWith(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQCanvasText*) QtSupport::getQt(env, obj))->collidesWith((const TQCanvasItem*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvasText_color(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TQCanvasText*) QtSupport::getQt(env, obj))->color()), "org.kde.qt.TQColor", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasText_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QCanvasText_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasText_draw(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQCanvasTextJBridge*) QtSupport::getQt(env, obj))->protected_draw((TQPainter&)*(TQPainter*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasText_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQCanvasText*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvasText_font(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((TQCanvasText*) QtSupport::getQt(env, obj))->font()), "org.kde.qt.TQFont", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvasText_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasText_moveBy(JNIEnv* env, jobject obj, jdouble dx, jdouble dy) +{ + ((TQCanvasText*) QtSupport::getQt(env, obj))->moveBy((double) dx, (double) dy); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasText_newTQCanvasText__Ljava_lang_String_2Lorg_kde_qt_QCanvas_2(JNIEnv* env, jobject obj, jstring arg1, jobject canvas) +{ +static TQString* _qstring_arg1 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCanvasTextJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (TQCanvas*) QtSupport::getQt(env, canvas))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasText_newTQCanvasText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Lorg_kde_qt_QCanvas_2(JNIEnv* env, jobject obj, jstring arg1, jobject arg2, jobject canvas) +{ +static TQString* _qstring_arg1 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCanvasTextJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (TQFont)*(TQFont*) QtSupport::getQt(env, arg2), (TQCanvas*) QtSupport::getQt(env, canvas))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasText_newTQCanvasText__Lorg_kde_qt_QCanvas_2(JNIEnv* env, jobject obj, jobject canvas) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCanvasTextJBridge((TQCanvas*) QtSupport::getQt(env, canvas))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvasText_rtti(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCanvasText*) QtSupport::getQt(env, obj))->rtti(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasText_setColor(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQCanvasText*) QtSupport::getQt(env, obj))->setColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasText_setFont(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQCanvasText*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasText_setTextFlags(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQCanvasText*) QtSupport::getQt(env, obj))->setTextFlags((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasText_setText(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQCanvasText*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCanvasText_textFlags(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCanvasText*) QtSupport::getQt(env, obj))->textFlags(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QCanvasText_text(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQCanvasText*) QtSupport::getQt(env, obj))->text(); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQCanvasText.h b/qtjava/javalib/qtjava/TQCanvasText.h new file mode 100644 index 00000000..e37e542c --- /dev/null +++ b/qtjava/javalib/qtjava/TQCanvasText.h @@ -0,0 +1,37 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QCanvasText__ +#define __org_kde_qt_QCanvasText__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasText_newTQCanvasText__Lorg_kde_qt_QCanvas_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasText_newTQCanvasText__Ljava_lang_String_2Lorg_kde_qt_QCanvas_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasText_newTQCanvasText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Lorg_kde_qt_QCanvas_2 (JNIEnv *env, jobject, jstring, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasText_setText (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasText_setFont (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasText_setColor (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QCanvasText_text (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasText_font (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasText_color (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasText_moveBy (JNIEnv *env, jobject, jdouble, jdouble); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasText_textFlags (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasText_setTextFlags (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasText_boundingRect (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasText_collidesWith (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasText_rtti (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasText_draw (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasText_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasText_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasText_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QCanvasText__ */ diff --git a/qtjava/javalib/qtjava/TQCanvasView.cpp b/qtjava/javalib/qtjava/TQCanvasView.cpp new file mode 100644 index 00000000..91bd9b8a --- /dev/null +++ b/qtjava/javalib/qtjava/TQCanvasView.cpp @@ -0,0 +1,688 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include + +#include +#include + +class TQCanvasViewJBridge : public TQCanvasView +{ +public: + TQCanvasViewJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQCanvasView(arg1,arg2,arg3) {}; + TQCanvasViewJBridge(TQWidget* arg1,const char* arg2) : TQCanvasView(arg1,arg2) {}; + TQCanvasViewJBridge(TQWidget* arg1) : TQCanvasView(arg1) {}; + TQCanvasViewJBridge() : TQCanvasView() {}; + TQCanvasViewJBridge(TQCanvas* arg1,TQWidget* arg2,const char* arg3,TQt::WFlags arg4) : TQCanvasView(arg1,arg2,arg3,arg4) {}; + TQCanvasViewJBridge(TQCanvas* arg1,TQWidget* arg2,const char* arg3) : TQCanvasView(arg1,arg2,arg3) {}; + TQCanvasViewJBridge(TQCanvas* arg1,TQWidget* arg2) : TQCanvasView(arg1,arg2) {}; + TQCanvasViewJBridge(TQCanvas* arg1) : TQCanvasView(arg1) {}; + void protected_drawContents(TQPainter* arg1,int arg2,int arg3,int arg4,int arg5) { + TQCanvasView::drawContents(arg1,arg2,arg3,arg4,arg5); + return; + } + TQSize protected_sizeHint() { + return (TQSize) TQCanvasView::sizeHint(); + } + ~TQCanvasViewJBridge() {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.qt.TQCanvasView","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.qt.TQCanvasView","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.qt.TQCanvasView","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.qt.TQCanvasView","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.qt.TQCanvasView","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQCanvasView","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.qt.TQCanvasView","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQCanvasView","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.qt.TQCanvasView","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.qt.TQCanvasView","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvasView_canvas(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQCanvasView*) QtSupport::getQt(env, obj))->canvas(), "org.kde.qt.TQCanvas"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QCanvasView_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQCanvasView*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasView_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QCanvasView_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasView_drawContents(JNIEnv* env, jobject obj, jobject arg1, jint cx, jint cy, jint cw, jint ch) +{ + ((TQCanvasViewJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1), (int) cx, (int) cy, (int) cw, (int) ch); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasView_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQCanvasView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQCanvasView*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvasView_inverseWorldMatrix(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQWMatrix *) &((TQCanvasView*) QtSupport::getQt(env, obj))->inverseWorldMatrix(), "org.kde.qt.TQWMatrix"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvasView_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvasView_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQCanvasView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasView_newTQCanvasView__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCanvasViewJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasView_newTQCanvasView__Lorg_kde_qt_QCanvas_2(JNIEnv* env, jobject obj, jobject viewing) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCanvasViewJBridge((TQCanvas*) QtSupport::getQt(env, viewing))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasView_newTQCanvasView__Lorg_kde_qt_QCanvas_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject viewing, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCanvasViewJBridge((TQCanvas*) QtSupport::getQt(env, viewing), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasView_newTQCanvasView__Lorg_kde_qt_QCanvas_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject viewing, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCanvasViewJBridge((TQCanvas*) QtSupport::getQt(env, viewing), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasView_newTQCanvasView__Lorg_kde_qt_QCanvas_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject viewing, jobject parent, jstring name, jint f) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCanvasViewJBridge((TQCanvas*) QtSupport::getQt(env, viewing), (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_qt_QCanvasView_newTQCanvasView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCanvasViewJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasView_newTQCanvasView__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 TQCanvasViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCanvasView_newTQCanvasView__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 TQCanvasViewJBridge((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_qt_QCanvasView_setCanvas(JNIEnv* env, jobject obj, jobject v) +{ + ((TQCanvasView*) QtSupport::getQt(env, obj))->setCanvas((TQCanvas*) QtSupport::getQt(env, v)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCanvasView_setWorldMatrix(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQCanvasView*) QtSupport::getQt(env, obj))->setWorldMatrix((const TQWMatrix&)*(const TQWMatrix*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvasView_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQCanvasViewJBridge*) QtSupport::getQt(env, obj))->protected_sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QCanvasView_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQCanvasViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QCanvasView_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQCanvasViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCanvasView_worldMatrix(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQWMatrix *) &((TQCanvasView*) QtSupport::getQt(env, obj))->worldMatrix(), "org.kde.qt.TQWMatrix"); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQCanvasView.h b/qtjava/javalib/qtjava/TQCanvasView.h new file mode 100644 index 00000000..cd509a9f --- /dev/null +++ b/qtjava/javalib/qtjava/TQCanvasView.h @@ -0,0 +1,40 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QCanvasView__ +#define __org_kde_qt_QCanvasView__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasView_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QCanvasView_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasView_newTQCanvasView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasView_newTQCanvasView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasView_newTQCanvasView__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasView_newTQCanvasView__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasView_newTQCanvasView__Lorg_kde_qt_QCanvas_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasView_newTQCanvasView__Lorg_kde_qt_QCanvas_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasView_newTQCanvasView__Lorg_kde_qt_QCanvas_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasView_newTQCanvasView__Lorg_kde_qt_QCanvas_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasView_canvas (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasView_setCanvas (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasView_worldMatrix (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasView_inverseWorldMatrix (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasView_setWorldMatrix (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QCanvasView_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QCanvasView_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasView_drawContents (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasView_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasView_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasView_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasView_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QCanvasView__ */ diff --git a/qtjava/javalib/qtjava/TQCheckBox.cpp b/qtjava/javalib/qtjava/TQCheckBox.cpp new file mode 100644 index 00000000..8e6e1f0c --- /dev/null +++ b/qtjava/javalib/qtjava/TQCheckBox.cpp @@ -0,0 +1,577 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +class TQCheckBoxJBridge : public TQCheckBox +{ +public: + TQCheckBoxJBridge(TQWidget* arg1,const char* arg2) : TQCheckBox(arg1,arg2) {}; + TQCheckBoxJBridge(TQWidget* arg1) : TQCheckBox(arg1) {}; + TQCheckBoxJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQCheckBox(arg1,arg2,arg3) {}; + TQCheckBoxJBridge(const TQString& arg1,TQWidget* arg2) : TQCheckBox(arg1,arg2) {}; + void protected_resizeEvent(TQResizeEvent* arg1) { + TQCheckBox::resizeEvent(arg1); + return; + } + void protected_drawButton(TQPainter* arg1) { + TQCheckBox::drawButton(arg1); + return; + } + void protected_drawButtonLabel(TQPainter* arg1) { + TQCheckBox::drawButtonLabel(arg1); + return; + } + void protected_updateMask() { + TQCheckBox::updateMask(); + return; + } + bool protected_hitButton(const TQPoint& arg1) { + return (bool) TQCheckBox::hitButton(arg1); + } + ~TQCheckBoxJBridge() {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")) { + TQCheckBox::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.qt.TQCheckBox","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.qt.TQCheckBox","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.qt.TQCheckBox","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.qt.TQCheckBox","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.qt.TQCheckBox","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.qt.TQCheckBox","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQCheckBox","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.qt.TQCheckBox","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.qt.TQCheckBox","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; + } + bool eventFilter(TQObject* object,TQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQCheckBox",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.qt.TQCheckBox","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QCheckBox_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQCheckBox*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckBox_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QCheckBox_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckBox_drawButtonLabel(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQCheckBoxJBridge*) QtSupport::getQt(env, obj))->protected_drawButtonLabel((TQPainter*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckBox_drawButton(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQCheckBoxJBridge*) QtSupport::getQt(env, obj))->protected_drawButton((TQPainter*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckBox_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQCheckBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQCheckBox*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCheckBox_hitButton(JNIEnv* env, jobject obj, jobject pos) +{ + jboolean xret = (jboolean) ((TQCheckBoxJBridge*) QtSupport::getQt(env, obj))->protected_hitButton((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCheckBox_isChecked(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQCheckBox*) QtSupport::getQt(env, obj))->isChecked(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCheckBox_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCheckBox_isTristate(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQCheckBox*) QtSupport::getQt(env, obj))->isTristate(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCheckBox_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQCheckBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckBox_newTQCheckBox__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 TQCheckBoxJBridge((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_qt_QCheckBox_newTQCheckBox__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 TQCheckBoxJBridge((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_qt_QCheckBox_newTQCheckBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCheckBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckBox_newTQCheckBox__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 TQCheckBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckBox_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQCheckBoxJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckBox_setChecked(JNIEnv* env, jobject obj, jboolean check) +{ + ((TQCheckBox*) QtSupport::getQt(env, obj))->setChecked((bool) check); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckBox_setNoChange(JNIEnv* env, jobject obj) +{ + ((TQCheckBox*) QtSupport::getQt(env, obj))->setNoChange(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckBox_setTristate__(JNIEnv* env, jobject obj) +{ + ((TQCheckBox*) QtSupport::getQt(env, obj))->setTristate(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckBox_setTristate__Z(JNIEnv* env, jobject obj, jboolean y) +{ + ((TQCheckBox*) QtSupport::getQt(env, obj))->setTristate((bool) y); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCheckBox_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQCheckBox*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QCheckBox_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQCheckBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QCheckBox_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQCheckBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckBox_updateMask(JNIEnv* env, jobject obj) +{ + ((TQCheckBoxJBridge*) QtSupport::getQt(env, obj))->protected_updateMask(); + return; +} + diff --git a/qtjava/javalib/qtjava/TQCheckBox.h b/qtjava/javalib/qtjava/TQCheckBox.h new file mode 100644 index 00000000..e690ba59 --- /dev/null +++ b/qtjava/javalib/qtjava/TQCheckBox.h @@ -0,0 +1,41 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QCheckBox__ +#define __org_kde_qt_QCheckBox__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCheckBox_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QCheckBox_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckBox_newTQCheckBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckBox_newTQCheckBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckBox_newTQCheckBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckBox_newTQCheckBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCheckBox_isChecked (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckBox_setNoChange (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckBox_setTristate__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckBox_setTristate__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCheckBox_isTristate (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCheckBox_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckBox_setChecked (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QCheckBox_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QCheckBox_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckBox_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckBox_drawButton (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckBox_drawButtonLabel (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckBox_updateMask (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCheckBox_hitButton (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckBox_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckBox_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCheckBox_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QCheckBox__ */ diff --git a/qtjava/javalib/qtjava/TQCheckListItem.cpp b/qtjava/javalib/qtjava/TQCheckListItem.cpp new file mode 100644 index 00000000..08f8ec75 --- /dev/null +++ b/qtjava/javalib/qtjava/TQCheckListItem.cpp @@ -0,0 +1,341 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQCheckListItemJBridge : public TQCheckListItem +{ +public: + TQCheckListItemJBridge(TQCheckListItem* arg1,const TQString& arg2,TQCheckListItem::Type arg3) : TQCheckListItem(arg1,arg2,arg3) {}; + TQCheckListItemJBridge(TQCheckListItem* arg1,const TQString& arg2) : TQCheckListItem(arg1,arg2) {}; + TQCheckListItemJBridge(TQCheckListItem* arg1,TQListViewItem* arg2,const TQString& arg3,TQCheckListItem::Type arg4) : TQCheckListItem(arg1,arg2,arg3,arg4) {}; + TQCheckListItemJBridge(TQCheckListItem* arg1,TQListViewItem* arg2,const TQString& arg3) : TQCheckListItem(arg1,arg2,arg3) {}; + TQCheckListItemJBridge(TQListViewItem* arg1,const TQString& arg2,TQCheckListItem::Type arg3) : TQCheckListItem(arg1,arg2,arg3) {}; + TQCheckListItemJBridge(TQListViewItem* arg1,const TQString& arg2) : TQCheckListItem(arg1,arg2) {}; + TQCheckListItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,const TQString& arg3,TQCheckListItem::Type arg4) : TQCheckListItem(arg1,arg2,arg3,arg4) {}; + TQCheckListItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,const TQString& arg3) : TQCheckListItem(arg1,arg2,arg3) {}; + TQCheckListItemJBridge(TQListView* arg1,const TQString& arg2,TQCheckListItem::Type arg3) : TQCheckListItem(arg1,arg2,arg3) {}; + TQCheckListItemJBridge(TQListView* arg1,const TQString& arg2) : TQCheckListItem(arg1,arg2) {}; + TQCheckListItemJBridge(TQListView* arg1,TQListViewItem* arg2,const TQString& arg3,TQCheckListItem::Type arg4) : TQCheckListItem(arg1,arg2,arg3,arg4) {}; + TQCheckListItemJBridge(TQListView* arg1,TQListViewItem* arg2,const TQString& arg3) : TQCheckListItem(arg1,arg2,arg3) {}; + TQCheckListItemJBridge(TQListViewItem* arg1,const TQString& arg2,const TQPixmap& arg3) : TQCheckListItem(arg1,arg2,arg3) {}; + TQCheckListItemJBridge(TQListView* arg1,const TQString& arg2,const TQPixmap& arg3) : TQCheckListItem(arg1,arg2,arg3) {}; + void protected_activate() { + TQCheckListItem::activate(); + return; + } + void protected_turnOffChild() { + TQCheckListItem::turnOffChild(); + return; + } + void protected_stateChange(bool arg1) { + TQCheckListItem::stateChange(arg1); + return; + } + ~TQCheckListItemJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckListItem_activate(JNIEnv* env, jobject obj) +{ + ((TQCheckListItemJBridge*) QtSupport::getQt(env, obj))->protected_activate(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckListItem_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QCheckListItem_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckListItem_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQCheckListItem*)(TQCheckListItem*)QtSupport::getQt(env, obj))->parent() == 0 && ((TQCheckListItem*)(TQCheckListItem*)QtSupport::getQt(env, obj))->listView() == 0) { + delete (TQCheckListItem*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCheckListItem_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCheckListItem_isOn(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQCheckListItem*) QtSupport::getQt(env, obj))->isOn(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCheckListItem_isTristate(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQCheckListItem*) QtSupport::getQt(env, obj))->isTristate(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QCheckListItem_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 TQCheckListItemJBridge((TQCheckListItem*) 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_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QCheckListItem_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring text, jint arg3) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TQCheckListItem*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQCheckListItem::Type) arg3)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QCheckListItem_2Lorg_kde_qt_QListViewItem_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 TQCheckListItemJBridge((TQCheckListItem*) QtSupport::getQt(env, parent), (TQListViewItem*) 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_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QCheckListItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text, jint arg4) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TQCheckListItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQCheckListItem::Type) arg4)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QListViewItem_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 TQCheckListItemJBridge((TQListViewItem*) 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_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring text, jint arg3) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQCheckListItem::Type) arg3)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject parent, jstring text, jobject arg3) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg3))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_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 TQCheckListItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) 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_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text, jint arg4) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQCheckListItem::Type) arg4)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QListView_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 TQCheckListItemJBridge((TQListView*) 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_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring text, jint arg3) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TQListView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQCheckListItem::Type) arg3)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject parent, jstring text, jobject arg3) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TQListView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg3))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_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 TQCheckListItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) 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_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text, jint arg4) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQCheckListItem::Type) arg4)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckListItem_paintCell(JNIEnv* env, jobject obj, jobject arg1, jobject cg, jint column, jint width, jint alignment) +{ + ((TQCheckListItem*) QtSupport::getQt(env, obj))->paintCell((TQPainter*) QtSupport::getQt(env, arg1), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (int) column, (int) width, (int) alignment); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckListItem_paintFocus(JNIEnv* env, jobject obj, jobject arg1, jobject cg, jobject r) +{ + ((TQCheckListItem*) QtSupport::getQt(env, obj))->paintFocus((TQPainter*) QtSupport::getQt(env, arg1), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCheckListItem_rtti(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCheckListItem*) QtSupport::getQt(env, obj))->rtti(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckListItem_setOn(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQCheckListItem*) QtSupport::getQt(env, obj))->setOn((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckListItem_setState(JNIEnv* env, jobject obj, jint s) +{ + ((TQCheckListItem*) QtSupport::getQt(env, obj))->setState((TQCheckListItem::ToggleState) s); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckListItem_setTristate(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQCheckListItem*) QtSupport::getQt(env, obj))->setTristate((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckListItem_setup(JNIEnv* env, jobject obj) +{ + ((TQCheckListItem*) QtSupport::getQt(env, obj))->setup(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckListItem_stateChange(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQCheckListItemJBridge*) QtSupport::getQt(env, obj))->protected_stateChange((bool) arg1); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCheckListItem_state(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCheckListItem*) QtSupport::getQt(env, obj))->state(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QCheckListItem_text__(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQCheckListItem*) QtSupport::getQt(env, obj))->text(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QCheckListItem_text__I(JNIEnv* env, jobject obj, jint n) +{ + TQString _qstring; + _qstring = ((TQCheckListItem*) QtSupport::getQt(env, obj))->text((int) n); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckListItem_turnOffChild(JNIEnv* env, jobject obj) +{ + ((TQCheckListItemJBridge*) QtSupport::getQt(env, obj))->protected_turnOffChild(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCheckListItem_type(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCheckListItem*) QtSupport::getQt(env, obj))->type(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCheckListItem_width(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jint column) +{ + jint xret = (jint) ((TQCheckListItem*) QtSupport::getQt(env, obj))->width((const TQFontMetrics&)*(const TQFontMetrics*) QtSupport::getQt(env, arg1), (const TQListView*) QtSupport::getQt(env, arg2), (int) column); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQCheckListItem.h b/qtjava/javalib/qtjava/TQCheckListItem.h new file mode 100644 index 00000000..5a56080c --- /dev/null +++ b/qtjava/javalib/qtjava/TQCheckListItem.h @@ -0,0 +1,52 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QCheckListItem__ +#define __org_kde_qt_QCheckListItem__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QCheckListItem_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QCheckListItem_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QCheckListItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QCheckListItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_newTQCheckListItem__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_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_newTQCheckListItem__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_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_newTQCheckListItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_paintCell (JNIEnv *env, jobject, jobject, jobject, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_paintFocus (JNIEnv *env, jobject, jobject, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCheckListItem_width (JNIEnv *env, jobject, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_setup (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_setOn (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCheckListItem_isOn (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCheckListItem_type (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QCheckListItem_text__ (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QCheckListItem_text__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_setTristate (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCheckListItem_isTristate (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCheckListItem_state (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_setState (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCheckListItem_rtti (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_activate (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_turnOffChild (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_stateChange (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCheckListItem_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QCheckListItem__ */ diff --git a/qtjava/javalib/qtjava/TQCheckTableItem.cpp b/qtjava/javalib/qtjava/TQCheckTableItem.cpp new file mode 100644 index 00000000..26da3e80 --- /dev/null +++ b/qtjava/javalib/qtjava/TQCheckTableItem.cpp @@ -0,0 +1,108 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include + +#include +#include + +class TQCheckTableItemJBridge : public TQCheckTableItem +{ +public: + TQCheckTableItemJBridge(TQTable* arg1,const TQString& arg2) : TQCheckTableItem(arg1,arg2) {}; + ~TQCheckTableItemJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCheckTableItem_createEditor(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQCheckTableItem*) QtSupport::getQt(env, obj))->createEditor(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckTableItem_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QCheckTableItem_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckTableItem_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQTableItem*)(TQCheckTableItem*)QtSupport::getQt(env, obj))->table() == 0) { + delete (TQCheckTableItem*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCheckTableItem_isChecked(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQCheckTableItem*) QtSupport::getQt(env, obj))->isChecked(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCheckTableItem_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckTableItem_newTQCheckTableItem(JNIEnv* env, jobject obj, jobject table, jstring txt) +{ +static TQString* _qstring_txt = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCheckTableItemJBridge((TQTable*) QtSupport::getQt(env, table), (const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckTableItem_paint(JNIEnv* env, jobject obj, jobject p, jobject cg, jobject cr, jboolean selected) +{ + ((TQCheckTableItem*) QtSupport::getQt(env, obj))->paint((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, cr), (bool) selected); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCheckTableItem_rtti(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCheckTableItem*) QtSupport::getQt(env, obj))->rtti(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckTableItem_setChecked(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQCheckTableItem*) QtSupport::getQt(env, obj))->setChecked((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckTableItem_setContentFromEditor(JNIEnv* env, jobject obj, jobject w) +{ + ((TQCheckTableItem*) QtSupport::getQt(env, obj))->setContentFromEditor((TQWidget*) QtSupport::getQt(env, w)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCheckTableItem_setText(JNIEnv* env, jobject obj, jstring t) +{ +static TQString* _qstring_t = 0; + ((TQCheckTableItem*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, t, &_qstring_t)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCheckTableItem_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQCheckTableItem*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQCheckTableItem.h b/qtjava/javalib/qtjava/TQCheckTableItem.h new file mode 100644 index 00000000..303192ec --- /dev/null +++ b/qtjava/javalib/qtjava/TQCheckTableItem.h @@ -0,0 +1,30 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QCheckTableItem__ +#define __org_kde_qt_QCheckTableItem__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckTableItem_newTQCheckTableItem (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckTableItem_setText (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCheckTableItem_createEditor (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckTableItem_setContentFromEditor (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckTableItem_paint (JNIEnv *env, jobject, jobject, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckTableItem_setChecked (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCheckTableItem_isChecked (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCheckTableItem_rtti (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCheckTableItem_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckTableItem_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckTableItem_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCheckTableItem_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QCheckTableItem__ */ diff --git a/qtjava/javalib/qtjava/TQChildEvent.cpp b/qtjava/javalib/qtjava/TQChildEvent.cpp new file mode 100644 index 00000000..f67f5727 --- /dev/null +++ b/qtjava/javalib/qtjava/TQChildEvent.cpp @@ -0,0 +1,67 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + +class TQChildEventJBridge : public TQChildEvent +{ +public: + TQChildEventJBridge(TQEvent::Type arg1,TQObject* arg2) : TQChildEvent(arg1,arg2) {}; + ~TQChildEventJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QChildEvent_child(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQChildEvent*) QtSupport::getQt(env, obj))->child(), "org.kde.qt.TQObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QChildEvent_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QChildEvent_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QChildEvent_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQChildEvent*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QChildEvent_inserted(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQChildEvent*) QtSupport::getQt(env, obj))->inserted(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QChildEvent_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QChildEvent_newTQChildEvent(JNIEnv* env, jobject obj, jint type, jobject child) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQChildEventJBridge((TQEvent::Type) type, (TQObject*) QtSupport::getQt(env, child))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QChildEvent_removed(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQChildEvent*) QtSupport::getQt(env, obj))->removed(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQChildEvent.h b/qtjava/javalib/qtjava/TQChildEvent.h new file mode 100644 index 00000000..f54e60f5 --- /dev/null +++ b/qtjava/javalib/qtjava/TQChildEvent.h @@ -0,0 +1,25 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QChildEvent__ +#define __org_kde_qt_QChildEvent__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QChildEvent_newTQChildEvent (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QChildEvent_child (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QChildEvent_inserted (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QChildEvent_removed (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QChildEvent_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QChildEvent_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QChildEvent_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QChildEvent__ */ diff --git a/qtjava/javalib/qtjava/TQClassInfo.cpp b/qtjava/javalib/qtjava/TQClassInfo.cpp new file mode 100644 index 00000000..7cf9a0ad --- /dev/null +++ b/qtjava/javalib/qtjava/TQClassInfo.cpp @@ -0,0 +1,46 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + +class TQClassInfoJBridge : public TQClassInfo +{ +public: + TQClassInfoJBridge() : TQClassInfo() {}; + ~TQClassInfoJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QClassInfo_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QClassInfo_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QClassInfo_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQClassInfo*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QClassInfo_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QClassInfo_newTQClassInfo(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQClassInfoJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + diff --git a/qtjava/javalib/qtjava/TQClassInfo.h b/qtjava/javalib/qtjava/TQClassInfo.h new file mode 100644 index 00000000..919fa9e0 --- /dev/null +++ b/qtjava/javalib/qtjava/TQClassInfo.h @@ -0,0 +1,22 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QClassInfo__ +#define __org_kde_qt_QClassInfo__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QClassInfo_newTQClassInfo (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QClassInfo_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QClassInfo_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QClassInfo_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QClassInfo__ */ diff --git a/qtjava/javalib/qtjava/TQClipboard.cpp b/qtjava/javalib/qtjava/TQClipboard.cpp new file mode 100644 index 00000000..b390c9ea --- /dev/null +++ b/qtjava/javalib/qtjava/TQClipboard.cpp @@ -0,0 +1,237 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include + +#include +#include + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QClipboard_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQClipboard*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QClipboard_clear__(JNIEnv* env, jobject obj) +{ + ((TQClipboard*) QtSupport::getQt(env, obj))->clear(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QClipboard_clear__I(JNIEnv* env, jobject obj, jint mode) +{ + ((TQClipboard*) QtSupport::getQt(env, obj))->clear((TQClipboard::Mode) mode); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QClipboard_data__(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQClipboard*) QtSupport::getQt(env, obj))->data(), "org.kde.qt.TQMimeSourceInterface"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QClipboard_data__I(JNIEnv* env, jobject obj, jint mode) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQClipboard*) QtSupport::getQt(env, obj))->data((TQClipboard::Mode) mode), "org.kde.qt.TQMimeSourceInterface"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QClipboard_image__(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQClipboard*) QtSupport::getQt(env, obj))->image()), "org.kde.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QClipboard_image__I(JNIEnv* env, jobject obj, jint mode) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQClipboard*) QtSupport::getQt(env, obj))->image((TQClipboard::Mode) mode)), "org.kde.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QClipboard_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQClipboard*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QClipboard_ownsClipboard(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQClipboard*) QtSupport::getQt(env, obj))->ownsClipboard(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QClipboard_ownsSelection(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQClipboard*) QtSupport::getQt(env, obj))->ownsSelection(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QClipboard_pixmap__(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQClipboard*) QtSupport::getQt(env, obj))->pixmap()), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QClipboard_pixmap__I(JNIEnv* env, jobject obj, jint mode) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQClipboard*) QtSupport::getQt(env, obj))->pixmap((TQClipboard::Mode) mode)), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QClipboard_selectionModeEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQClipboard*) QtSupport::getQt(env, obj))->selectionModeEnabled(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QClipboard_setData__Lorg_kde_qt_QMimeSourceInterface_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQClipboard*) QtSupport::getQt(env, obj))->setData((TQMimeSource*) QtSupport::mimeSource(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QClipboard_setData__Lorg_kde_qt_QMimeSourceInterface_2I(JNIEnv* env, jobject obj, jobject arg1, jint mode) +{ + ((TQClipboard*) QtSupport::getQt(env, obj))->setData((TQMimeSource*) QtSupport::mimeSource(env, arg1), (TQClipboard::Mode) mode); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QClipboard_setImage__Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQClipboard*) QtSupport::getQt(env, obj))->setImage((const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QClipboard_setImage__Lorg_kde_qt_QImage_2I(JNIEnv* env, jobject obj, jobject arg1, jint mode) +{ + ((TQClipboard*) QtSupport::getQt(env, obj))->setImage((const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg1), (TQClipboard::Mode) mode); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QClipboard_setPixmap__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQClipboard*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QClipboard_setPixmap__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject arg1, jint mode) +{ + ((TQClipboard*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1), (TQClipboard::Mode) mode); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QClipboard_setSelectionMode(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TQClipboard*) QtSupport::getQt(env, obj))->setSelectionMode((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QClipboard_setText__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQClipboard*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QClipboard_setText__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring arg1, jint mode) +{ +static TQString* _qstring_arg1 = 0; + ((TQClipboard*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (TQClipboard::Mode) mode); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QClipboard_supportsSelection(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQClipboard*) QtSupport::getQt(env, obj))->supportsSelection(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QClipboard_text__(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQClipboard*) QtSupport::getQt(env, obj))->text(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QClipboard_text__I(JNIEnv* env, jobject obj, jint mode) +{ + TQString _qstring; + _qstring = ((TQClipboard*) QtSupport::getQt(env, obj))->text((TQClipboard::Mode) mode); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QClipboard_text__Ljava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject subtype) +{ + TQString _qstring; +static TQCString* _qcstring_subtype = 0; + if (_qcstring_subtype == 0) { + _qcstring_subtype = new TQCString(); + } + _qstring = ((TQClipboard*) QtSupport::getQt(env, obj))->text((TQCString&)*(TQCString*) _qcstring_subtype); + QtSupport::fromTQCStringToStringBuffer(env, _qcstring_subtype, subtype); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QClipboard_text__Ljava_lang_StringBuffer_2I(JNIEnv* env, jobject obj, jobject subtype, jint mode) +{ + TQString _qstring; +static TQCString* _qcstring_subtype = 0; + if (_qcstring_subtype == 0) { + _qcstring_subtype = new TQCString(); + } + _qstring = ((TQClipboard*) QtSupport::getQt(env, obj))->text((TQCString&)*(TQCString*) _qcstring_subtype, (TQClipboard::Mode) mode); + QtSupport::fromTQCStringToStringBuffer(env, _qcstring_subtype, subtype); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QClipboard_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQClipboard::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QClipboard_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQClipboard::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQClipboard.h b/qtjava/javalib/qtjava/TQClipboard.h new file mode 100644 index 00000000..c3bb9f9a --- /dev/null +++ b/qtjava/javalib/qtjava/TQClipboard.h @@ -0,0 +1,47 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QClipboard__ +#define __org_kde_qt_QClipboard__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QClipboard_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QClipboard_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QClipboard_clear__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QClipboard_clear__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QClipboard_supportsSelection (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QClipboard_ownsSelection (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QClipboard_ownsClipboard (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QClipboard_setSelectionMode (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QClipboard_selectionModeEnabled (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QClipboard_text__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QClipboard_text__Ljava_lang_StringBuffer_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QClipboard_setText__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QClipboard_data__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QClipboard_setData__Lorg_kde_qt_QMimeSourceInterface_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QClipboard_image__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QClipboard_pixmap__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QClipboard_setImage__Lorg_kde_qt_QImage_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QClipboard_setPixmap__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QClipboard_text__ (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QClipboard_text__Ljava_lang_StringBuffer_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QClipboard_setText__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QClipboard_data__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QClipboard_setData__Lorg_kde_qt_QMimeSourceInterface_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QClipboard_image__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QClipboard_pixmap__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QClipboard_setImage__Lorg_kde_qt_QImage_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QClipboard_setPixmap__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QClipboard_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QClipboard_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QClipboard__ */ diff --git a/qtjava/javalib/qtjava/TQCloseEvent.cpp b/qtjava/javalib/qtjava/TQCloseEvent.cpp new file mode 100644 index 00000000..08566ce8 --- /dev/null +++ b/qtjava/javalib/qtjava/TQCloseEvent.cpp @@ -0,0 +1,67 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + +class TQCloseEventJBridge : public TQCloseEvent +{ +public: + TQCloseEventJBridge() : TQCloseEvent() {}; + ~TQCloseEventJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCloseEvent_accept(JNIEnv* env, jobject obj) +{ + ((TQCloseEvent*) QtSupport::getQt(env, obj))->accept(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCloseEvent_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QCloseEvent_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCloseEvent_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQCloseEvent*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCloseEvent_ignore(JNIEnv* env, jobject obj) +{ + ((TQCloseEvent*) QtSupport::getQt(env, obj))->ignore(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCloseEvent_isAccepted(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQCloseEvent*) QtSupport::getQt(env, obj))->isAccepted(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCloseEvent_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCloseEvent_newTQCloseEvent(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCloseEventJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + diff --git a/qtjava/javalib/qtjava/TQCloseEvent.h b/qtjava/javalib/qtjava/TQCloseEvent.h new file mode 100644 index 00000000..391b75e3 --- /dev/null +++ b/qtjava/javalib/qtjava/TQCloseEvent.h @@ -0,0 +1,25 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QCloseEvent__ +#define __org_kde_qt_QCloseEvent__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCloseEvent_newTQCloseEvent (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCloseEvent_isAccepted (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCloseEvent_accept (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCloseEvent_ignore (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCloseEvent_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCloseEvent_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCloseEvent_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QCloseEvent__ */ diff --git a/qtjava/javalib/qtjava/TQColor.cpp b/qtjava/javalib/qtjava/TQColor.cpp new file mode 100644 index 00000000..d6866fbf --- /dev/null +++ b/qtjava/javalib/qtjava/TQColor.cpp @@ -0,0 +1,384 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +class TQColorJBridge : public TQColor +{ +public: + TQColorJBridge() : TQColor() {}; + TQColorJBridge(int arg1,int arg2,int arg3) : TQColor(arg1,arg2,arg3) {}; + TQColorJBridge(int arg1,int arg2,int arg3,TQColor::Spec arg4) : TQColor(arg1,arg2,arg3,arg4) {}; + TQColorJBridge(TQRgb arg1,uint arg2) : TQColor(arg1,arg2) {}; + TQColorJBridge(TQRgb arg1) : TQColor(arg1) {}; + TQColorJBridge(const TQString& arg1) : TQColor(arg1) {}; + TQColorJBridge(const TQColor& arg1) : TQColor(arg1) {}; + ~TQColorJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QColor_alloc(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQColor*) QtSupport::getQt(env, obj))->alloc(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QColor_blue(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQColor*) QtSupport::getQt(env, obj))->blue(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QColor_cleanup(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + TQColorJBridge::cleanup(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QColor_colorNames(JNIEnv* env, jclass cls) +{ + TQStringList _qlist; + (void) cls; + _qlist = TQColorJBridge::colorNames(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QColor_currentAllocContext(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jint xret = (jint) TQColorJBridge::currentAllocContext(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QColor_dark__(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TQColor*) QtSupport::getQt(env, obj))->dark()), "org.kde.qt.TQColor", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QColor_dark__I(JNIEnv* env, jobject obj, jint f) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TQColor*) QtSupport::getQt(env, obj))->dark((int) f)), "org.kde.qt.TQColor", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QColor_destroyAllocContext(JNIEnv* env, jclass cls, jint arg1) +{ + (void) cls; + (void) env; + TQColorJBridge::destroyAllocContext((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QColor_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QColor_finalize(env, obj); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QColor_enterAllocContext(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jint xret = (jint) TQColorJBridge::enterAllocContext(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QColor_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQColor*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QColor_getHsv(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); + ((TQColor*) QtSupport::getQt(env, obj))->getHsv( (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 void JNICALL +Java_org_kde_qt_QColor_getRgb(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); + ((TQColor*) QtSupport::getQt(env, obj))->getRgb( (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 jint JNICALL +Java_org_kde_qt_QColor_green(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQColor*) QtSupport::getQt(env, obj))->green(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QColor_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); + ((TQColor*) 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 void JNICALL +Java_org_kde_qt_QColor_initialize(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + TQColorJBridge::initialize(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QColor_isDirty(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQColor*) QtSupport::getQt(env, obj))->isDirty(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QColor_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QColor_isValid(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQColor*) QtSupport::getQt(env, obj))->isValid(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QColor_leaveAllocContext(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + TQColorJBridge::leaveAllocContext(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QColor_light__(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TQColor*) QtSupport::getQt(env, obj))->light()), "org.kde.qt.TQColor", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QColor_light__I(JNIEnv* env, jobject obj, jint f) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TQColor*) QtSupport::getQt(env, obj))->light((int) f)), "org.kde.qt.TQColor", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QColor_maxColors(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jint xret = (jint) TQColorJBridge::maxColors(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QColor_name(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQColor*) QtSupport::getQt(env, obj))->name(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QColor_newTQColor__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQColorJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QColor_newTQColor__I(JNIEnv* env, jobject obj, jint rgb) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQColorJBridge((TQRgb) rgb)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QColor_newTQColor__II(JNIEnv* env, jobject obj, jint rgb, jint pixel) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQColorJBridge((TQRgb) rgb, (uint) pixel)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QColor_newTQColor__III(JNIEnv* env, jobject obj, jint r, jint g, jint b) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQColorJBridge((int) r, (int) g, (int) b)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QColor_newTQColor__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint z, jint arg4) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQColorJBridge((int) x, (int) y, (int) z, (TQColor::Spec) arg4)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QColor_newTQColor__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 TQColorJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QColor_newTQColor__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQColorJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QColor_numBitPlanes(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jint xret = (jint) TQColorJBridge::numBitPlanes(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QColor_op_1equals(JNIEnv* env, jobject obj, jobject c) +{ + jboolean xret = (jboolean) ((TQColor*) QtSupport::getQt(env, obj))->operator==((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QColor_op_1not_1equals(JNIEnv* env, jobject obj, jobject c) +{ + jboolean xret = (jboolean) ((TQColor*) QtSupport::getQt(env, obj))->operator!=((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QColor_pixel(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQColor*) QtSupport::getQt(env, obj))->pixel(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QColor_red(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQColor*) QtSupport::getQt(env, obj))->red(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QColor_rgb__(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQColor*) QtSupport::getQt(env, obj))->rgb(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QColor_rgb___3I_3I_3I(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); + ((TQColor*) 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_qt_QColor_setHsv(JNIEnv* env, jobject obj, jint h, jint s, jint v) +{ + ((TQColor*) QtSupport::getQt(env, obj))->setHsv((int) h, (int) s, (int) v); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QColor_setNamedColor(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + ((TQColor*) QtSupport::getQt(env, obj))->setNamedColor((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QColor_setRgb__I(JNIEnv* env, jobject obj, jint rgb) +{ + ((TQColor*) QtSupport::getQt(env, obj))->setRgb((TQRgb) rgb); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QColor_setRgb__III(JNIEnv* env, jobject obj, jint r, jint g, jint b) +{ + ((TQColor*) QtSupport::getQt(env, obj))->setRgb((int) r, (int) g, (int) b); + return; +} + diff --git a/qtjava/javalib/qtjava/TQColor.h b/qtjava/javalib/qtjava/TQColor.h new file mode 100644 index 00000000..c5a2e803 --- /dev/null +++ b/qtjava/javalib/qtjava/TQColor.h @@ -0,0 +1,60 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QColor__ +#define __org_kde_qt_QColor__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_newTQColor__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_newTQColor__III (JNIEnv *env, jobject, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_newTQColor__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_newTQColor__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_newTQColor__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_newTQColor__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_newTQColor__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QColor_isValid (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QColor_isDirty (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QColor_name (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_setNamedColor (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QColor_rgb__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_setRgb__III (JNIEnv *env, jobject, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_setRgb__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_getRgb (JNIEnv *env, jobject, jintArray, jintArray, jintArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_rgb___3I_3I_3I (JNIEnv *env, jobject, jintArray, jintArray, jintArray); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QColor_red (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QColor_green (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QColor_blue (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_setHsv (JNIEnv *env, jobject, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_getHsv (JNIEnv *env, jobject, jintArray, jintArray, jintArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_hsv (JNIEnv *env, jobject, jintArray, jintArray, jintArray); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColor_light__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColor_light__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColor_dark__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColor_dark__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QColor_op_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QColor_op_1not_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QColor_alloc (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QColor_pixel (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QColor_maxColors (JNIEnv *env, jclass); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QColor_numBitPlanes (JNIEnv *env, jclass); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QColor_enterAllocContext (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_leaveAllocContext (JNIEnv *env, jclass); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QColor_currentAllocContext (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_destroyAllocContext (JNIEnv *env, jclass, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_initialize (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_cleanup (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColor_colorNames (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QColor_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QColor__ */ diff --git a/qtjava/javalib/qtjava/TQColorDialog.cpp b/qtjava/javalib/qtjava/TQColorDialog.cpp new file mode 100644 index 00000000..8f3cfad0 --- /dev/null +++ b/qtjava/javalib/qtjava/TQColorDialog.cpp @@ -0,0 +1,154 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QColorDialog_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQColorDialog*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QColorDialog_customColor(JNIEnv* env, jclass cls, jint arg1) +{ + (void) cls; + (void) env; + jint xret = (jint) TQColorDialog::customColor((int) arg1); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QColorDialog_customCount(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jint xret = (jint) TQColorDialog::customCount(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QColorDialog_getColor__(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TQColorDialog::getColor()), "org.kde.qt.TQColor", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QColorDialog_getColor__Lorg_kde_qt_QColor_2(JNIEnv* env, jclass cls, jobject init) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TQColorDialog::getColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, init))), "org.kde.qt.TQColor", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QColorDialog_getColor__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject init, jobject parent) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TQColorDialog::getColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, init), (TQWidget*) QtSupport::getQt(env, parent))), "org.kde.qt.TQColor", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QColorDialog_getColor__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject init, jobject parent, jstring name) +{ + (void) cls; +static TQCString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TQColorDialog::getColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, init), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))), "org.kde.qt.TQColor", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QColorDialog_getRgba__I(JNIEnv* env, jclass cls, jint arg1) +{ + (void) cls; + (void) env; + jint xret = (jint) TQColorDialog::getRgba((TQRgb) arg1); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QColorDialog_getRgba__I_3Z(JNIEnv* env, jclass cls, jint arg1, jbooleanArray ok) +{ + (void) cls; + bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); + jint xret = (jint) TQColorDialog::getRgba((TQRgb) arg1, (bool*) _bool_ok); + env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QColorDialog_getRgba__I_3ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jint arg1, jbooleanArray ok, jobject parent) +{ + (void) cls; + bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); + jint xret = (jint) TQColorDialog::getRgba((TQRgb) arg1, (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent)); + env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QColorDialog_getRgba__I_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jint arg1, jbooleanArray ok, jobject parent, jstring name) +{ + (void) cls; + bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); +static TQCString* _qstring_name = 0; + jint xret = (jint) TQColorDialog::getRgba((TQRgb) arg1, (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 xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QColorDialog_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQColorDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QColorDialog_setCustomColor(JNIEnv* env, jclass cls, jint arg1, jint arg2) +{ + (void) cls; + (void) env; + TQColorDialog::setCustomColor((int) arg1, (TQRgb) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QColorDialog_setStandardColor(JNIEnv* env, jclass cls, jint arg1, jint arg2) +{ + (void) cls; + (void) env; + TQColorDialog::setStandardColor((int) arg1, (TQRgb) arg2); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QColorDialog_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQColorDialog::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QColorDialog_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQColorDialog::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQColorDialog.h b/qtjava/javalib/qtjava/TQColorDialog.h new file mode 100644 index 00000000..0b4786af --- /dev/null +++ b/qtjava/javalib/qtjava/TQColorDialog.h @@ -0,0 +1,34 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QColorDialog__ +#define __org_kde_qt_QColorDialog__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorDialog_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QColorDialog_className (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QColorDialog_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QColorDialog_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorDialog_getColor__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorDialog_getColor__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorDialog_getColor__Lorg_kde_qt_QColor_2 (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorDialog_getColor__ (JNIEnv *env, jclass); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QColorDialog_getRgba__I_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jint, jbooleanArray, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QColorDialog_getRgba__I_3ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jint, jbooleanArray, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QColorDialog_getRgba__I_3Z (JNIEnv *env, jclass, jint, jbooleanArray); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QColorDialog_getRgba__I (JNIEnv *env, jclass, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QColorDialog_customCount (JNIEnv *env, jclass); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QColorDialog_customColor (JNIEnv *env, jclass, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorDialog_setCustomColor (JNIEnv *env, jclass, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorDialog_setStandardColor (JNIEnv *env, jclass, jint, jint); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QColorDialog__ */ diff --git a/qtjava/javalib/qtjava/TQColorDrag.cpp b/qtjava/javalib/qtjava/TQColorDrag.cpp new file mode 100644 index 00000000..932721ef --- /dev/null +++ b/qtjava/javalib/qtjava/TQColorDrag.cpp @@ -0,0 +1,201 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQColorDragJBridge : public TQColorDrag +{ +public: + TQColorDragJBridge(const TQColor& arg1,TQWidget* arg2,const char* arg3) : TQColorDrag(arg1,arg2,arg3) {}; + TQColorDragJBridge(const TQColor& arg1,TQWidget* arg2) : TQColorDrag(arg1,arg2) {}; + TQColorDragJBridge(const TQColor& arg1) : TQColorDrag(arg1) {}; + TQColorDragJBridge(TQWidget* arg1,const char* arg2) : TQColorDrag(arg1,arg2) {}; + TQColorDragJBridge(TQWidget* arg1) : TQColorDrag(arg1) {}; + TQColorDragJBridge() : TQColorDrag() {}; + ~TQColorDragJBridge() {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.qt.TQColorDrag",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QColorDrag_canDecode(JNIEnv* env, jclass cls, jobject arg1) +{ + (void) cls; + jboolean xret = (jboolean) TQColorDragJBridge::canDecode((TQMimeSource*) QtSupport::mimeSource(env, arg1)); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QColorDrag_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQColorDrag*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QColorDrag_decode(JNIEnv* env, jclass cls, jobject arg1, jobject col) +{ + (void) cls; + jboolean xret = (jboolean) TQColorDragJBridge::decode((TQMimeSource*) QtSupport::mimeSource(env, arg1), (TQColor&)*(TQColor*) QtSupport::getQt(env, col)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QColorDrag_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QColorDrag_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QColorDrag_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQColorDrag*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQColorDrag*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QColorDrag_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QColorDrag_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQColorDrag*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QColorDrag_newTQColorDrag__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQColorDragJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QColorDrag_newTQColorDrag__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject col) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQColorDragJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QColorDrag_newTQColorDrag__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 TQColorDragJBridge((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_qt_QColorDrag_newTQColorDrag__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 TQColorDragJBridge((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_qt_QColorDrag_newTQColorDrag__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject dragSource) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQColorDragJBridge((TQWidget*) QtSupport::getQt(env, dragSource))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QColorDrag_newTQColorDrag__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 TQColorDragJBridge((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_qt_QColorDrag_setColor(JNIEnv* env, jobject obj, jobject col) +{ + ((TQColorDrag*) QtSupport::getQt(env, obj))->setColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QColorDrag_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQColorDragJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QColorDrag_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQColorDragJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQColorDrag.h b/qtjava/javalib/qtjava/TQColorDrag.h new file mode 100644 index 00000000..6ee7d7c2 --- /dev/null +++ b/qtjava/javalib/qtjava/TQColorDrag.h @@ -0,0 +1,34 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QColorDrag__ +#define __org_kde_qt_QColorDrag__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorDrag_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QColorDrag_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorDrag_newTQColorDrag__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_qt_QColorDrag_newTQColorDrag__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorDrag_newTQColorDrag__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorDrag_newTQColorDrag__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorDrag_newTQColorDrag__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorDrag_newTQColorDrag__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorDrag_setColor (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QColorDrag_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QColorDrag_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QColorDrag_canDecode (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QColorDrag_decode (JNIEnv *env, jclass, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorDrag_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorDrag_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QColorDrag_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QColorDrag__ */ diff --git a/qtjava/javalib/qtjava/TQColorGroup.cpp b/qtjava/javalib/qtjava/TQColorGroup.cpp new file mode 100644 index 00000000..66c9e966 --- /dev/null +++ b/qtjava/javalib/qtjava/TQColorGroup.cpp @@ -0,0 +1,235 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQColorGroupJBridge : public TQColorGroup +{ +public: + TQColorGroupJBridge() : TQColorGroup() {}; + TQColorGroupJBridge(const TQColor& arg1,const TQColor& arg2,const TQColor& arg3,const TQColor& arg4,const TQColor& arg5,const TQColor& arg6,const TQColor& arg7) : TQColorGroup(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TQColorGroupJBridge(const TQBrush& arg1,const TQBrush& arg2,const TQBrush& arg3,const TQBrush& arg4,const TQBrush& arg5,const TQBrush& arg6,const TQBrush& arg7,const TQBrush& arg8,const TQBrush& arg9) : TQColorGroup(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; + TQColorGroupJBridge(const TQColorGroup& arg1) : TQColorGroup(arg1) {}; + ~TQColorGroupJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QColorGroup_background(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->background(), "org.kde.qt.TQColor"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QColorGroup_base(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->base(), "org.kde.qt.TQColor"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QColorGroup_brightText(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->brightText(), "org.kde.qt.TQColor"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QColorGroup_brush(JNIEnv* env, jobject obj, jint arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQBrush *) &((TQColorGroup*) QtSupport::getQt(env, obj))->brush((TQColorGroup::ColorRole) arg1), "org.kde.qt.TQBrush"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QColorGroup_buttonText(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->buttonText(), "org.kde.qt.TQColor"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QColorGroup_button(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->button(), "org.kde.qt.TQColor"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QColorGroup_color(JNIEnv* env, jobject obj, jint arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->color((TQColorGroup::ColorRole) arg1), "org.kde.qt.TQColor"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QColorGroup_dark(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->dark(), "org.kde.qt.TQColor"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QColorGroup_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QColorGroup_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QColorGroup_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQColorGroup*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QColorGroup_foreground(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->foreground(), "org.kde.qt.TQColor"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QColorGroup_highlight(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->highlight(), "org.kde.qt.TQColor"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QColorGroup_highlightedText(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->highlightedText(), "org.kde.qt.TQColor"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QColorGroup_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QColorGroup_light(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->light(), "org.kde.qt.TQColor"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QColorGroup_linkVisited(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->linkVisited(), "org.kde.qt.TQColor"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QColorGroup_link(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->link(), "org.kde.qt.TQColor"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QColorGroup_mid(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->mid(), "org.kde.qt.TQColor"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QColorGroup_midlight(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->midlight(), "org.kde.qt.TQColor"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QColorGroup_newTQColorGroup__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQColorGroupJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QColorGroup_newTQColorGroup__Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2(JNIEnv* env, jobject obj, jobject foreground, jobject button, jobject light, jobject dark, jobject mid, jobject text, jobject bright_text, jobject base, jobject background) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQColorGroupJBridge((const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, foreground), (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, button), (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, light), (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, dark), (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, mid), (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, text), (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, bright_text), (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, base), (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, background))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QColorGroup_newTQColorGroup__Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQColorGroupJBridge((const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QColorGroup_newTQColorGroup__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject foreground, jobject button, jobject light, jobject dark, jobject mid, jobject text, jobject base) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQColorGroupJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, foreground), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, button), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, light), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, dark), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, mid), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, text), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, base))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QColorGroup_op_1equals(JNIEnv* env, jobject obj, jobject g) +{ + jboolean xret = (jboolean) ((TQColorGroup*) QtSupport::getQt(env, obj))->operator==((const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QColorGroup_op_1not_1equals(JNIEnv* env, jobject obj, jobject g) +{ + jboolean xret = (jboolean) ((TQColorGroup*) QtSupport::getQt(env, obj))->operator!=((const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QColorGroup_setBrush(JNIEnv* env, jobject obj, jint arg1, jobject arg2) +{ + ((TQColorGroup*) QtSupport::getQt(env, obj))->setBrush((TQColorGroup::ColorRole) arg1, (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QColorGroup_setColor(JNIEnv* env, jobject obj, jint arg1, jobject arg2) +{ + ((TQColorGroup*) QtSupport::getQt(env, obj))->setColor((TQColorGroup::ColorRole) arg1, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg2)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QColorGroup_shadow(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->shadow(), "org.kde.qt.TQColor"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QColorGroup_text(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->text(), "org.kde.qt.TQColor"); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQColorGroup.h b/qtjava/javalib/qtjava/TQColorGroup.h new file mode 100644 index 00000000..8a53ddcc --- /dev/null +++ b/qtjava/javalib/qtjava/TQColorGroup.h @@ -0,0 +1,47 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QColorGroup__ +#define __org_kde_qt_QColorGroup__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorGroup_newTQColorGroup__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorGroup_newTQColorGroup__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject, jobject, jobject, jobject, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorGroup_newTQColorGroup__Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2 (JNIEnv *env, jobject, jobject, jobject, jobject, jobject, jobject, jobject, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorGroup_newTQColorGroup__Lorg_kde_qt_QColorGroup_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorGroup_color (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorGroup_brush (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorGroup_setColor (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorGroup_setBrush (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorGroup_foreground (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorGroup_button (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorGroup_light (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorGroup_dark (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorGroup_mid (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorGroup_text (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorGroup_base (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorGroup_background (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorGroup_midlight (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorGroup_brightText (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorGroup_buttonText (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorGroup_shadow (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorGroup_highlight (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorGroup_highlightedText (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorGroup_link (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorGroup_linkVisited (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QColorGroup_op_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QColorGroup_op_1not_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorGroup_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorGroup_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QColorGroup_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QColorGroup__ */ diff --git a/qtjava/javalib/qtjava/TQComboBox.cpp b/qtjava/javalib/qtjava/TQComboBox.cpp new file mode 100644 index 00000000..4a0dc900 --- /dev/null +++ b/qtjava/javalib/qtjava/TQComboBox.cpp @@ -0,0 +1,1013 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQComboBoxJBridge : public TQComboBox +{ +public: + TQComboBoxJBridge(TQWidget* arg1,const char* arg2) : TQComboBox(arg1,arg2) {}; + TQComboBoxJBridge(TQWidget* arg1) : TQComboBox(arg1) {}; + TQComboBoxJBridge() : TQComboBox() {}; + TQComboBoxJBridge(bool arg1,TQWidget* arg2,const char* arg3) : TQComboBox(arg1,arg2,arg3) {}; + TQComboBoxJBridge(bool arg1,TQWidget* arg2) : TQComboBox(arg1,arg2) {}; + TQComboBoxJBridge(bool arg1) : TQComboBox(arg1) {}; + void public_popup() { + TQComboBox::popup(); + return; + } + void protected_paintEvent(TQPaintEvent* arg1) { + TQComboBox::paintEvent(arg1); + return; + } + void protected_resizeEvent(TQResizeEvent* arg1) { + TQComboBox::resizeEvent(arg1); + return; + } + void protected_mousePressEvent(TQMouseEvent* arg1) { + TQComboBox::mousePressEvent(arg1); + return; + } + void protected_mouseMoveEvent(TQMouseEvent* arg1) { + TQComboBox::mouseMoveEvent(arg1); + return; + } + void protected_mouseReleaseEvent(TQMouseEvent* arg1) { + TQComboBox::mouseReleaseEvent(arg1); + return; + } + void protected_mouseDoubleClickEvent(TQMouseEvent* arg1) { + TQComboBox::mouseDoubleClickEvent(arg1); + return; + } + void protected_keyPressEvent(TQKeyEvent* arg1) { + TQComboBox::keyPressEvent(arg1); + return; + } + void protected_focusInEvent(TQFocusEvent* arg1) { + TQComboBox::focusInEvent(arg1); + return; + } + void protected_focusOutEvent(TQFocusEvent* arg1) { + TQComboBox::focusOutEvent(arg1); + return; + } + void protected_wheelEvent(TQWheelEvent* arg1) { + TQComboBox::wheelEvent(arg1); + return; + } + void protected_styleChange(TQStyle& arg1) { + TQComboBox::styleChange(arg1); + return; + } + void protected_updateMask() { + TQComboBox::updateMask(); + return; + } + ~TQComboBoxJBridge() {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.qt.TQComboBox","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.qt.TQComboBox","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.qt.TQComboBox","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.qt.TQComboBox","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.qt.TQComboBox","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQComboBox","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.qt.TQComboBox","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.qt.TQComboBox","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.qt.TQComboBox","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.qt.TQComboBox","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QComboBox_autoCompletion(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQComboBox*) QtSupport::getQt(env, obj))->autoCompletion(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QComboBox_autoResize(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQComboBox*) QtSupport::getQt(env, obj))->autoResize(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_changeItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint index) +{ +static TQString* _qstring_text = 0; + ((TQComboBox*) QtSupport::getQt(env, obj))->changeItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_changeItem__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint index) +{ + ((TQComboBox*) QtSupport::getQt(env, obj))->changeItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_changeItem__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject pixmap, jstring text, jint index) +{ +static TQString* _qstring_text = 0; + ((TQComboBox*) QtSupport::getQt(env, obj))->changeItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QComboBox_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQComboBox*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_clearEdit(JNIEnv* env, jobject obj) +{ + ((TQComboBox*) QtSupport::getQt(env, obj))->clearEdit(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_clearValidator(JNIEnv* env, jobject obj) +{ + ((TQComboBox*) QtSupport::getQt(env, obj))->clearValidator(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_clear(JNIEnv* env, jobject obj) +{ + ((TQComboBox*) QtSupport::getQt(env, obj))->clear(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QComboBox_count(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQComboBox*) QtSupport::getQt(env, obj))->count(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QComboBox_currentItem(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQComboBox*) QtSupport::getQt(env, obj))->currentItem(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QComboBox_currentText(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQComboBox*) QtSupport::getQt(env, obj))->currentText(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QComboBox_finalize(env, obj); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QComboBox_duplicatesEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQComboBox*) QtSupport::getQt(env, obj))->duplicatesEnabled(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QComboBox_editable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQComboBox*) QtSupport::getQt(env, obj))->editable(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QComboBox_eventFilter(JNIEnv* env, jobject obj, jobject object, jobject event) +{ + jboolean xret = (jboolean) ((TQComboBox*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, object), (TQEvent*) QtSupport::getQt(env, event)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQComboBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQComboBox*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_focusInEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_focusOutEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_hide(JNIEnv* env, jobject obj) +{ + ((TQComboBox*) QtSupport::getQt(env, obj))->hide(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_insertItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) +{ +static TQString* _qstring_text = 0; + ((TQComboBox*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_insertItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint index) +{ +static TQString* _qstring_text = 0; + ((TQComboBox*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_insertItem__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pixmap) +{ + ((TQComboBox*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_insertItem__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint index) +{ + ((TQComboBox*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_insertItem__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject pixmap, jstring text) +{ +static TQString* _qstring_text = 0; + ((TQComboBox*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_insertItem__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject pixmap, jstring text, jint index) +{ +static TQString* _qstring_text = 0; + ((TQComboBox*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_insertStrList___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray arg1) +{ +static TQStrList* _qlist_arg1 = 0; + ((TQComboBox*) QtSupport::getQt(env, obj))->insertStrList((const TQStrList&)*(TQStrList*) QtSupport::toTQStrList(env, arg1, &_qlist_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_insertStrList___3Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobjectArray arg1, jint index) +{ +static TQStrList* _qlist_arg1 = 0; + ((TQComboBox*) QtSupport::getQt(env, obj))->insertStrList((const TQStrList&)*(TQStrList*) QtSupport::toTQStrList(env, arg1, &_qlist_arg1), (int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_insertStrList___3Ljava_lang_String_2II(JNIEnv* env, jobject obj, jobjectArray arg1, jint numStrings, jint index) +{ + ((TQComboBox*) QtSupport::getQt(env, obj))->insertStrList((const char**) QtSupport::toStringArray(env, arg1), (int) numStrings, (int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_insertStringList___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray arg1) +{ +static TQStringList* _qlist_arg1 = 0; + ((TQComboBox*) QtSupport::getQt(env, obj))->insertStringList((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, arg1, &_qlist_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_insertStringList___3Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobjectArray arg1, jint index) +{ +static TQStringList* _qlist_arg1 = 0; + ((TQComboBox*) QtSupport::getQt(env, obj))->insertStringList((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, arg1, &_qlist_arg1), (int) index); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QComboBox_insertionPolicy(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQComboBox*) QtSupport::getQt(env, obj))->insertionPolicy(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QComboBox_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_keyPressEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QComboBox_lineEdit(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQComboBox*) QtSupport::getQt(env, obj))->lineEdit(), "org.kde.qt.TQLineEdit"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QComboBox_listBox(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQComboBox*) QtSupport::getQt(env, obj))->listBox(), "org.kde.qt.TQListBox"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QComboBox_maxCount(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQComboBox*) QtSupport::getQt(env, obj))->maxCount(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QComboBox_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQComboBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_mouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_newTQComboBox__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQComboBoxJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_newTQComboBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQComboBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_newTQComboBox__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 TQComboBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_newTQComboBox__Z(JNIEnv* env, jobject obj, jboolean rw) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQComboBoxJBridge((bool) rw)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_newTQComboBox__ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jboolean rw, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQComboBoxJBridge((bool) rw, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_newTQComboBox__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 TQComboBoxJBridge((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_qt_QComboBox_paintEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QComboBox_pixmap(JNIEnv* env, jobject obj, jint index) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQComboBox*) QtSupport::getQt(env, obj))->pixmap((int) index), "org.kde.qt.TQPixmap"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_popup(JNIEnv* env, jobject obj) +{ + ((TQComboBoxJBridge*) QtSupport::getQt(env, obj))->public_popup(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_removeItem(JNIEnv* env, jobject obj, jint index) +{ + ((TQComboBox*) QtSupport::getQt(env, obj))->removeItem((int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_setAutoCompletion(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQComboBox*) QtSupport::getQt(env, obj))->setAutoCompletion((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_setAutoResize(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQComboBox*) QtSupport::getQt(env, obj))->setAutoResize((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_setCurrentItem(JNIEnv* env, jobject obj, jint index) +{ + ((TQComboBox*) QtSupport::getQt(env, obj))->setCurrentItem((int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_setCurrentText(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQComboBox*) QtSupport::getQt(env, obj))->setCurrentText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_setDuplicatesEnabled(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TQComboBox*) QtSupport::getQt(env, obj))->setDuplicatesEnabled((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_setEditText(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQComboBox*) QtSupport::getQt(env, obj))->setEditText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_setEditable(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQComboBox*) QtSupport::getQt(env, obj))->setEditable((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_setEnabled(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQComboBox*) QtSupport::getQt(env, obj))->setEnabled((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_setFont(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQComboBox*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_setInsertionPolicy(JNIEnv* env, jobject obj, jint policy) +{ + ((TQComboBox*) QtSupport::getQt(env, obj))->setInsertionPolicy((TQComboBox::Policy) policy); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_setLineEdit(JNIEnv* env, jobject obj, jobject edit) +{ + ((TQComboBox*) QtSupport::getQt(env, obj))->setLineEdit((TQLineEdit*) QtSupport::getQt(env, edit)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_setListBox(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQComboBox*) QtSupport::getQt(env, obj))->setListBox((TQListBox*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_setMaxCount(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQComboBox*) QtSupport::getQt(env, obj))->setMaxCount((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_setPalette(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQComboBox*) QtSupport::getQt(env, obj))->setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_setSizeLimit(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQComboBox*) QtSupport::getQt(env, obj))->setSizeLimit((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_setValidator(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQComboBox*) QtSupport::getQt(env, obj))->setValidator((const TQValidator*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QComboBox_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQComboBox*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QComboBox_sizeLimit(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQComboBox*) QtSupport::getQt(env, obj))->sizeLimit(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_styleChange(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QComboBox_text(JNIEnv* env, jobject obj, jint index) +{ + TQString _qstring; + _qstring = ((TQComboBox*) QtSupport::getQt(env, obj))->text((int) index); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QComboBox_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQComboBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QComboBox_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQComboBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_updateMask(JNIEnv* env, jobject obj) +{ + ((TQComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_updateMask(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QComboBox_validator(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQComboBox*) QtSupport::getQt(env, obj))->validator(), "org.kde.qt.TQValidator"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboBox_wheelEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, e)); + return; +} + diff --git a/qtjava/javalib/qtjava/TQComboBox.h b/qtjava/javalib/qtjava/TQComboBox.h new file mode 100644 index 00000000..62472515 --- /dev/null +++ b/qtjava/javalib/qtjava/TQComboBox.h @@ -0,0 +1,96 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QComboBox__ +#define __org_kde_qt_QComboBox__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QComboBox_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QComboBox_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_newTQComboBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_newTQComboBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_newTQComboBox__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_newTQComboBox__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jboolean, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_newTQComboBox__ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jboolean, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_newTQComboBox__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QComboBox_count (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_insertStringList___3Ljava_lang_String_2I (JNIEnv *env, jobject, jobjectArray, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_insertStringList___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_insertStrList___3Ljava_lang_String_2I (JNIEnv *env, jobject, jobjectArray, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_insertStrList___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_insertStrList___3Ljava_lang_String_2II (JNIEnv *env, jobject, jobjectArray, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_insertItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_insertItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_insertItem__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_insertItem__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_insertItem__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_insertItem__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_removeItem (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QComboBox_currentItem (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_setCurrentItem (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QComboBox_currentText (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_setCurrentText (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QComboBox_text (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QComboBox_pixmap (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_changeItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_changeItem__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_changeItem__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QComboBox_autoResize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_setAutoResize (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QComboBox_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_setPalette (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_setFont (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_setEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_setSizeLimit (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QComboBox_sizeLimit (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_setMaxCount (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QComboBox_maxCount (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_setInsertionPolicy (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QComboBox_insertionPolicy (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_setValidator (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QComboBox_validator (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_setListBox (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QComboBox_listBox (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_setLineEdit (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QComboBox_lineEdit (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_setAutoCompletion (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QComboBox_autoCompletion (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QComboBox_eventFilter (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_setDuplicatesEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QComboBox_duplicatesEnabled (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QComboBox_editable (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_setEditable (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_popup (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_hide (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_clear (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_clearValidator (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_clearEdit (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_setEditText (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QComboBox_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QComboBox_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_paintEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_mousePressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_mouseMoveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_mouseReleaseEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_mouseDoubleClickEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_keyPressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_focusInEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_focusOutEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_wheelEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_styleChange (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_updateMask (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QComboBox_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QComboBox__ */ diff --git a/qtjava/javalib/qtjava/TQComboTableItem.cpp b/qtjava/javalib/qtjava/TQComboTableItem.cpp new file mode 100644 index 00000000..6a0d9280 --- /dev/null +++ b/qtjava/javalib/qtjava/TQComboTableItem.cpp @@ -0,0 +1,166 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQComboTableItemJBridge : public TQComboTableItem +{ +public: + TQComboTableItemJBridge(TQTable* arg1,const TQStringList& arg2,bool arg3) : TQComboTableItem(arg1,arg2,arg3) {}; + TQComboTableItemJBridge(TQTable* arg1,const TQStringList& arg2) : TQComboTableItem(arg1,arg2) {}; + ~TQComboTableItemJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QComboTableItem_count(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQComboTableItem*) QtSupport::getQt(env, obj))->count(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QComboTableItem_createEditor(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQComboTableItem*) QtSupport::getQt(env, obj))->createEditor(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QComboTableItem_currentItem(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQComboTableItem*) QtSupport::getQt(env, obj))->currentItem(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QComboTableItem_currentText(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQComboTableItem*) QtSupport::getQt(env, obj))->currentText(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboTableItem_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QComboTableItem_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboTableItem_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQTableItem*)(TQComboTableItem*)QtSupport::getQt(env, obj))->table() == 0) { + delete (TQComboTableItem*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QComboTableItem_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QComboTableItem_isEditable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQComboTableItem*) QtSupport::getQt(env, obj))->isEditable(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboTableItem_newTQComboTableItem__Lorg_kde_qt_QTable_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject table, jobjectArray list) +{ +static TQStringList* _qlist_list = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQComboTableItemJBridge((TQTable*) QtSupport::getQt(env, table), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboTableItem_newTQComboTableItem__Lorg_kde_qt_QTable_2_3Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject table, jobjectArray list, jboolean editable) +{ +static TQStringList* _qlist_list = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQComboTableItemJBridge((TQTable*) QtSupport::getQt(env, table), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (bool) editable)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboTableItem_paint(JNIEnv* env, jobject obj, jobject p, jobject cg, jobject cr, jboolean selected) +{ + ((TQComboTableItem*) QtSupport::getQt(env, obj))->paint((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, cr), (bool) selected); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QComboTableItem_rtti(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQComboTableItem*) QtSupport::getQt(env, obj))->rtti(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboTableItem_setContentFromEditor(JNIEnv* env, jobject obj, jobject w) +{ + ((TQComboTableItem*) QtSupport::getQt(env, obj))->setContentFromEditor((TQWidget*) QtSupport::getQt(env, w)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboTableItem_setCurrentItem__I(JNIEnv* env, jobject obj, jint i) +{ + ((TQComboTableItem*) QtSupport::getQt(env, obj))->setCurrentItem((int) i); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboTableItem_setCurrentItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring i) +{ +static TQString* _qstring_i = 0; + ((TQComboTableItem*) QtSupport::getQt(env, obj))->setCurrentItem((const TQString&)*(TQString*) QtSupport::toTQString(env, i, &_qstring_i)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboTableItem_setEditable(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQComboTableItem*) QtSupport::getQt(env, obj))->setEditable((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QComboTableItem_setStringList(JNIEnv* env, jobject obj, jobjectArray l) +{ +static TQStringList* _qlist_l = 0; + ((TQComboTableItem*) QtSupport::getQt(env, obj))->setStringList((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, l, &_qlist_l)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QComboTableItem_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQComboTableItem*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QComboTableItem_text(JNIEnv* env, jobject obj, jint i) +{ + TQString _qstring; + _qstring = ((TQComboTableItem*) QtSupport::getQt(env, obj))->text((int) i); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQComboTableItem.h b/qtjava/javalib/qtjava/TQComboTableItem.h new file mode 100644 index 00000000..efeaaa72 --- /dev/null +++ b/qtjava/javalib/qtjava/TQComboTableItem.h @@ -0,0 +1,37 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QComboTableItem__ +#define __org_kde_qt_QComboTableItem__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboTableItem_newTQComboTableItem__Lorg_kde_qt_QTable_2_3Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jobjectArray, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboTableItem_newTQComboTableItem__Lorg_kde_qt_QTable_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobjectArray); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QComboTableItem_createEditor (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboTableItem_setContentFromEditor (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboTableItem_paint (JNIEnv *env, jobject, jobject, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboTableItem_setCurrentItem__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboTableItem_setCurrentItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QComboTableItem_currentItem (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QComboTableItem_currentText (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QComboTableItem_count (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QComboTableItem_text (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboTableItem_setEditable (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QComboTableItem_isEditable (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboTableItem_setStringList (JNIEnv *env, jobject, jobjectArray); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QComboTableItem_rtti (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QComboTableItem_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboTableItem_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboTableItem_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QComboTableItem_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QComboTableItem__ */ diff --git a/qtjava/javalib/qtjava/TQContextMenuEvent.cpp b/qtjava/javalib/qtjava/TQContextMenuEvent.cpp new file mode 100644 index 00000000..bded20c7 --- /dev/null +++ b/qtjava/javalib/qtjava/TQContextMenuEvent.cpp @@ -0,0 +1,150 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQContextMenuEventJBridge : public TQContextMenuEvent +{ +public: + TQContextMenuEventJBridge(TQContextMenuEvent::Reason arg1,const TQPoint& arg2,const TQPoint& arg3,int arg4) : TQContextMenuEvent(arg1,arg2,arg3,arg4) {}; + TQContextMenuEventJBridge(TQContextMenuEvent::Reason arg1,const TQPoint& arg2,int arg3) : TQContextMenuEvent(arg1,arg2,arg3) {}; + ~TQContextMenuEventJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QContextMenuEvent_accept(JNIEnv* env, jobject obj) +{ + ((TQContextMenuEvent*) QtSupport::getQt(env, obj))->accept(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QContextMenuEvent_consume(JNIEnv* env, jobject obj) +{ + ((TQContextMenuEvent*) QtSupport::getQt(env, obj))->consume(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QContextMenuEvent_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QContextMenuEvent_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QContextMenuEvent_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQContextMenuEvent*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QContextMenuEvent_globalPos(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQContextMenuEvent*) QtSupport::getQt(env, obj))->globalPos(), "org.kde.qt.TQPoint"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QContextMenuEvent_globalX(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQContextMenuEvent*) QtSupport::getQt(env, obj))->globalX(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QContextMenuEvent_globalY(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQContextMenuEvent*) QtSupport::getQt(env, obj))->globalY(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QContextMenuEvent_ignore(JNIEnv* env, jobject obj) +{ + ((TQContextMenuEvent*) QtSupport::getQt(env, obj))->ignore(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QContextMenuEvent_isAccepted(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQContextMenuEvent*) QtSupport::getQt(env, obj))->isAccepted(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QContextMenuEvent_isConsumed(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQContextMenuEvent*) QtSupport::getQt(env, obj))->isConsumed(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QContextMenuEvent_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QContextMenuEvent_newTQContextMenuEvent__ILorg_kde_qt_QPoint_2I(JNIEnv* env, jobject obj, jint reason, jobject pos, jint state) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQContextMenuEventJBridge((TQContextMenuEvent::Reason) reason, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (int) state)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QContextMenuEvent_newTQContextMenuEvent__ILorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2I(JNIEnv* env, jobject obj, jint reason, jobject pos, jobject globalPos, jint state) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQContextMenuEventJBridge((TQContextMenuEvent::Reason) reason, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, globalPos), (int) state)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QContextMenuEvent_pos(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQContextMenuEvent*) QtSupport::getQt(env, obj))->pos(), "org.kde.qt.TQPoint"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QContextMenuEvent_reason(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQContextMenuEvent*) QtSupport::getQt(env, obj))->reason(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QContextMenuEvent_state(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQContextMenuEvent*) QtSupport::getQt(env, obj))->state(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QContextMenuEvent_x(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQContextMenuEvent*) QtSupport::getQt(env, obj))->x(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QContextMenuEvent_y(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQContextMenuEvent*) QtSupport::getQt(env, obj))->y(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQContextMenuEvent.h b/qtjava/javalib/qtjava/TQContextMenuEvent.h new file mode 100644 index 00000000..a36d0c2f --- /dev/null +++ b/qtjava/javalib/qtjava/TQContextMenuEvent.h @@ -0,0 +1,36 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QContextMenuEvent__ +#define __org_kde_qt_QContextMenuEvent__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QContextMenuEvent_newTQContextMenuEvent__ILorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2I (JNIEnv *env, jobject, jint, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QContextMenuEvent_newTQContextMenuEvent__ILorg_kde_qt_QPoint_2I (JNIEnv *env, jobject, jint, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QContextMenuEvent_x (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QContextMenuEvent_y (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QContextMenuEvent_globalX (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QContextMenuEvent_globalY (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QContextMenuEvent_pos (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QContextMenuEvent_globalPos (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QContextMenuEvent_state (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QContextMenuEvent_isAccepted (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QContextMenuEvent_isConsumed (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QContextMenuEvent_consume (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QContextMenuEvent_accept (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QContextMenuEvent_ignore (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QContextMenuEvent_reason (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QContextMenuEvent_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QContextMenuEvent_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QContextMenuEvent_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QContextMenuEvent__ */ diff --git a/qtjava/javalib/qtjava/TQCursor.cpp b/qtjava/javalib/qtjava/TQCursor.cpp new file mode 100644 index 00000000..2e04f3be --- /dev/null +++ b/qtjava/javalib/qtjava/TQCursor.cpp @@ -0,0 +1,215 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +class TQCursorJBridge : public TQCursor +{ +public: + TQCursorJBridge() : TQCursor() {}; + TQCursorJBridge(int arg1) : TQCursor(arg1) {}; + TQCursorJBridge(const TQBitmap& arg1,const TQBitmap& arg2,int arg3,int arg4) : TQCursor(arg1,arg2,arg3,arg4) {}; + TQCursorJBridge(const TQBitmap& arg1,const TQBitmap& arg2,int arg3) : TQCursor(arg1,arg2,arg3) {}; + TQCursorJBridge(const TQBitmap& arg1,const TQBitmap& arg2) : TQCursor(arg1,arg2) {}; + TQCursorJBridge(const TQPixmap& arg1,int arg2,int arg3) : TQCursor(arg1,arg2,arg3) {}; + TQCursorJBridge(const TQPixmap& arg1,int arg2) : TQCursor(arg1,arg2) {}; + TQCursorJBridge(const TQPixmap& arg1) : TQCursor(arg1) {}; + TQCursorJBridge(const TQCursor& arg1) : TQCursor(arg1) {}; + ~TQCursorJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCursor_bitmap(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQCursor*) QtSupport::getQt(env, obj))->bitmap(), "org.kde.qt.TQBitmap"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCursor_cleanup(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + TQCursorJBridge::cleanup(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCursor_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QCursor_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCursor_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQCursor*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCursor_hotSpot(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQCursor*) QtSupport::getQt(env, obj))->hotSpot()), "org.kde.qt.TQPoint", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCursor_initialize(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + TQCursorJBridge::initialize(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCursor_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCursor_mask(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQCursor*) QtSupport::getQt(env, obj))->mask(), "org.kde.qt.TQBitmap"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCursor_newTQCursor__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCursorJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCursor_newTQCursor__I(JNIEnv* env, jobject obj, jint shape) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCursorJBridge((int) shape)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCursor_newTQCursor__Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2(JNIEnv* env, jobject obj, jobject bitmap, jobject mask) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCursorJBridge((const TQBitmap&)*(const TQBitmap*) QtSupport::getQt(env, bitmap), (const TQBitmap&)*(const TQBitmap*) QtSupport::getQt(env, mask))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCursor_newTQCursor__Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2I(JNIEnv* env, jobject obj, jobject bitmap, jobject mask, jint hotX) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCursorJBridge((const TQBitmap&)*(const TQBitmap*) QtSupport::getQt(env, bitmap), (const TQBitmap&)*(const TQBitmap*) QtSupport::getQt(env, mask), (int) hotX)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCursor_newTQCursor__Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2II(JNIEnv* env, jobject obj, jobject bitmap, jobject mask, jint hotX, jint hotY) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCursorJBridge((const TQBitmap&)*(const TQBitmap*) QtSupport::getQt(env, bitmap), (const TQBitmap&)*(const TQBitmap*) QtSupport::getQt(env, mask), (int) hotX, (int) hotY)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCursor_newTQCursor__Lorg_kde_qt_QCursor_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCursorJBridge((const TQCursor&)*(const TQCursor*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCursor_newTQCursor__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pixmap) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCursorJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCursor_newTQCursor__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint hotX) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCursorJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) hotX)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCursor_newTQCursor__Lorg_kde_qt_QPixmap_2II(JNIEnv* env, jobject obj, jobject pixmap, jint hotX, jint hotY) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCursorJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) hotX, (int) hotY)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCursor_pos(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(TQCursorJBridge::pos()), "org.kde.qt.TQPoint", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCursor_setPos__II(JNIEnv* env, jclass cls, jint x, jint y) +{ + (void) cls; + (void) env; + TQCursorJBridge::setPos((int) x, (int) y); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCursor_setPos__Lorg_kde_qt_QPoint_2(JNIEnv* env, jclass cls, jobject arg1) +{ + (void) cls; + TQCursorJBridge::setPos((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCursor_setShape(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQCursor*) QtSupport::getQt(env, obj))->setShape((int) arg1); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QCursor_shape(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQCursor*) QtSupport::getQt(env, obj))->shape(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQCursor.h b/qtjava/javalib/qtjava/TQCursor.h new file mode 100644 index 00000000..53fed8cd --- /dev/null +++ b/qtjava/javalib/qtjava/TQCursor.h @@ -0,0 +1,40 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QCursor__ +#define __org_kde_qt_QCursor__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_newTQCursor__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_newTQCursor__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_newTQCursor__Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2II (JNIEnv *env, jobject, jobject, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_newTQCursor__Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2I (JNIEnv *env, jobject, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_newTQCursor__Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_newTQCursor__Lorg_kde_qt_QPixmap_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_newTQCursor__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_newTQCursor__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_newTQCursor__Lorg_kde_qt_QCursor_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QCursor_shape (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_setShape (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCursor_bitmap (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCursor_mask (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCursor_hotSpot (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCursor_pos (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_setPos__II (JNIEnv *env, jclass, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_setPos__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jclass, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_initialize (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_cleanup (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCursor_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QCursor__ */ diff --git a/qtjava/javalib/qtjava/TQCustomEvent.cpp b/qtjava/javalib/qtjava/TQCustomEvent.cpp new file mode 100644 index 00000000..a583b8d0 --- /dev/null +++ b/qtjava/javalib/qtjava/TQCustomEvent.cpp @@ -0,0 +1,46 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + +class TQCustomEventJBridge : public TQCustomEvent +{ +public: + TQCustomEventJBridge(int arg1) : TQCustomEvent(arg1) {}; + ~TQCustomEventJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCustomEvent_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QCustomEvent_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCustomEvent_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQCustomEvent*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCustomEvent_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCustomEvent_newTQCustomEvent(JNIEnv* env, jobject obj, jint type) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQCustomEventJBridge((int) type)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + diff --git a/qtjava/javalib/qtjava/TQCustomEvent.h b/qtjava/javalib/qtjava/TQCustomEvent.h new file mode 100644 index 00000000..c58bb6b8 --- /dev/null +++ b/qtjava/javalib/qtjava/TQCustomEvent.h @@ -0,0 +1,22 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QCustomEvent__ +#define __org_kde_qt_QCustomEvent__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCustomEvent_newTQCustomEvent (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCustomEvent_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCustomEvent_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCustomEvent_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QCustomEvent__ */ diff --git a/qtjava/javalib/qtjava/TQCustomMenuItem.cpp b/qtjava/javalib/qtjava/TQCustomMenuItem.cpp new file mode 100644 index 00000000..9f869f98 --- /dev/null +++ b/qtjava/javalib/qtjava/TQCustomMenuItem.cpp @@ -0,0 +1,44 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCustomMenuItem_fullSpan(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQCustomMenuItem*) QtSupport::getQt(env, obj))->fullSpan(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QCustomMenuItem_isSeparator(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQCustomMenuItem*) QtSupport::getQt(env, obj))->isSeparator(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCustomMenuItem_paint(JNIEnv* env, jobject obj, jobject p, jobject cg, jboolean act, jboolean enabled, jint x, jint y, jint w, jint h) +{ + ((TQCustomMenuItem*) QtSupport::getQt(env, obj))->paint((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (bool) act, (bool) enabled, (int) x, (int) y, (int) w, (int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QCustomMenuItem_setFont(JNIEnv* env, jobject obj, jobject font) +{ + ((TQCustomMenuItem*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QCustomMenuItem_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQCustomMenuItem*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQCustomMenuItem.h b/qtjava/javalib/qtjava/TQCustomMenuItem.h new file mode 100644 index 00000000..2be7a2d8 --- /dev/null +++ b/qtjava/javalib/qtjava/TQCustomMenuItem.h @@ -0,0 +1,23 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QCustomMenuItem__ +#define __org_kde_qt_QCustomMenuItem__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCustomMenuItem_fullSpan (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCustomMenuItem_isSeparator (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCustomMenuItem_setFont (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QCustomMenuItem_paint (JNIEnv *env, jobject, jobject, jobject, jboolean, jboolean, jint, jint, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QCustomMenuItem_sizeHint (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QCustomMenuItem__ */ diff --git a/qtjava/javalib/qtjava/TQDataBrowser.cpp b/qtjava/javalib/qtjava/TQDataBrowser.cpp new file mode 100644 index 00000000..181cc568 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDataBrowser.cpp @@ -0,0 +1,966 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQDataBrowserJBridge : public TQDataBrowser +{ +public: + TQDataBrowserJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQDataBrowser(arg1,arg2,arg3) {}; + TQDataBrowserJBridge(TQWidget* arg1,const char* arg2) : TQDataBrowser(arg1,arg2) {}; + TQDataBrowserJBridge(TQWidget* arg1) : TQDataBrowser(arg1) {}; + TQDataBrowserJBridge() : TQDataBrowser() {}; + void public_refresh() { + TQDataBrowser::refresh(); + return; + } + void public_insert() { + TQDataBrowser::insert(); + return; + } + void public_update() { + TQDataBrowser::update(); + return; + } + void public_del() { + TQDataBrowser::del(); + return; + } + void public_first() { + TQDataBrowser::first(); + return; + } + void public_last() { + TQDataBrowser::last(); + return; + } + void public_next() { + TQDataBrowser::next(); + return; + } + void public_prev() { + TQDataBrowser::prev(); + return; + } + void public_readFields() { + TQDataBrowser::readFields(); + return; + } + void public_writeFields() { + TQDataBrowser::writeFields(); + return; + } + void public_clearValues() { + TQDataBrowser::clearValues(); + return; + } + bool protected_insertCurrent() { + return (bool) TQDataBrowser::insertCurrent(); + } + bool protected_updateCurrent() { + return (bool) TQDataBrowser::updateCurrent(); + } + bool protected_deleteCurrent() { + return (bool) TQDataBrowser::deleteCurrent(); + } + bool protected_currentEdited() { + return (bool) TQDataBrowser::currentEdited(); + } + TQSql::Confirm protected_confirmEdit(TQSql::Op arg1) { + return (TQSql::Confirm) TQDataBrowser::confirmEdit(arg1); + } + TQSql::Confirm protected_confirmCancel(TQSql::Op arg1) { + return (TQSql::Confirm) TQDataBrowser::confirmCancel(arg1); + } + void protected_handleError(const TQSqlError& arg1) { + TQDataBrowser::handleError(arg1); + return; + } + ~TQDataBrowserJBridge() {QtSupport::qtKeyDeleted(this);} + void writeFields() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","writeFields")) { + TQDataBrowser::writeFields(); + } + 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; + } + bool currentEdited() { + return QtSupport::booleanDelegate(this,"currentEdited"); + } + void del() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","del")) { + TQDataBrowser::del(); + } + return; + } + void setActiveWindow() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","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.qt.TQDataBrowser","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.qt.TQDataBrowser","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.qt.TQDataBrowser","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 last() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","last")) { + TQDataBrowser::last(); + } + return; + } + void update() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","update")) { + TQDataBrowser::update(); + } + return; + } + void next() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","next")) { + TQDataBrowser::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.qt.TQDataBrowser","unsetCursor")) { + TQWidget::unsetCursor(); + } + return; + } + void readFields() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","readFields")) { + TQDataBrowser::readFields(); + } + return; + } + void hideEvent(TQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { + TQWidget::hideEvent(arg1); + } + return; + } + void moveEvent(TQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { + TQWidget::moveEvent(arg1); + } + return; + } + void polish() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","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 prev() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","prev")) { + TQDataBrowser::prev(); + } + 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; + } + bool updateCurrent() { + return QtSupport::booleanDelegate(this,"updateCurrent"); + } + 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.qt.TQDataBrowser","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","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 insert() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","insert")) { + TQDataBrowser::insert(); + } + 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.qt.TQDataBrowser","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 clearValues() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","clearValues")) { + TQDataBrowser::clearValues(); + } + return; + } + void focusInEvent(TQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { + TQWidget::focusInEvent(arg1); + } + return; + } + bool deleteCurrent() { + return QtSupport::booleanDelegate(this,"deleteCurrent"); + } + void refresh() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","refresh")) { + TQDataBrowser::refresh(); + } + return; + } + void tabletEvent(TQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { + TQWidget::tabletEvent(arg1); + } + return; + } + void handleError(const TQSqlError& arg1) { + if (!QtSupport::eventDelegate(this,"handleError",(void*)&arg1,"org.kde.qt.TQSqlError")) { + TQDataBrowser::handleError(arg1); + } + return; + } + void keyReleaseEvent(TQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { + TQWidget::keyReleaseEvent(arg1); + } + return; + } + void setForm(TQSqlForm* arg1) { + if (!QtSupport::eventDelegate(this,"setForm",(void*)arg1,"org.kde.qt.TQSqlForm")) { + TQDataBrowser::setForm(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.qt.TQDataBrowser",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } + bool insertCurrent() { + return QtSupport::booleanDelegate(this,"insertCurrent"); + } + void setGeometry(const TQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { + TQWidget::setGeometry(arg1); + } + return; + } + void first() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","first")) { + TQDataBrowser::first(); + } + return; + } + void showMinimized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataBrowser_autoEdit(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDataBrowser*) QtSupport::getQt(env, obj))->autoEdit(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataBrowser_boundaryChecking(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDataBrowser*) QtSupport::getQt(env, obj))->boundaryChecking(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDataBrowser_boundary(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDataBrowser*) QtSupport::getQt(env, obj))->boundary(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDataBrowser_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQDataBrowser*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataBrowser_clearValues(JNIEnv* env, jobject obj) +{ + ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_clearValues(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDataBrowser_confirmCancel(JNIEnv* env, jobject obj, jint m) +{ + jint xret = (jint) ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->protected_confirmCancel((TQSql::Op) m); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataBrowser_confirmCancels(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDataBrowser*) QtSupport::getQt(env, obj))->confirmCancels(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataBrowser_confirmDelete(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDataBrowser*) QtSupport::getQt(env, obj))->confirmDelete(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDataBrowser_confirmEdit(JNIEnv* env, jobject obj, jint m) +{ + jint xret = (jint) ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->protected_confirmEdit((TQSql::Op) m); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataBrowser_confirmEdits(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDataBrowser*) QtSupport::getQt(env, obj))->confirmEdits(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataBrowser_confirmInsert(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDataBrowser*) QtSupport::getQt(env, obj))->confirmInsert(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataBrowser_confirmUpdate(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDataBrowser*) QtSupport::getQt(env, obj))->confirmUpdate(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataBrowser_currentEdited(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->protected_currentEdited(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataBrowser_del(JNIEnv* env, jobject obj) +{ + ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_del(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataBrowser_deleteCurrent(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->protected_deleteCurrent(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataBrowser_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDataBrowser_finalize(env, obj); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDataBrowser_filter(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQDataBrowser*) QtSupport::getQt(env, obj))->filter(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataBrowser_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQDataBrowser*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQDataBrowser*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataBrowser_first(JNIEnv* env, jobject obj) +{ + ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_first(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDataBrowser_form(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDataBrowser*) QtSupport::getQt(env, obj))->form(), "org.kde.qt.TQSqlForm"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataBrowser_handleError(JNIEnv* env, jobject obj, jobject error) +{ + ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->protected_handleError((const TQSqlError&)*(const TQSqlError*) QtSupport::getQt(env, error)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataBrowser_insertCurrent(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->protected_insertCurrent(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataBrowser_insert(JNIEnv* env, jobject obj) +{ + ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_insert(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataBrowser_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataBrowser_isReadOnly(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDataBrowser*) QtSupport::getQt(env, obj))->isReadOnly(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataBrowser_last(JNIEnv* env, jobject obj) +{ + ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_last(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDataBrowser_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDataBrowser*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataBrowser_newTQDataBrowser__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDataBrowserJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataBrowser_newTQDataBrowser__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDataBrowserJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataBrowser_newTQDataBrowser__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 TQDataBrowserJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataBrowser_newTQDataBrowser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint fl) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDataBrowserJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) fl)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataBrowser_next(JNIEnv* env, jobject obj) +{ + ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_next(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataBrowser_prev(JNIEnv* env, jobject obj) +{ + ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_prev(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataBrowser_readFields(JNIEnv* env, jobject obj) +{ + ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_readFields(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataBrowser_refresh(JNIEnv* env, jobject obj) +{ + ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_refresh(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataBrowser_seek__I(JNIEnv* env, jobject obj, jint i) +{ + jboolean xret = (jboolean) ((TQDataBrowser*) QtSupport::getQt(env, obj))->seek((int) i); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataBrowser_seek__IZ(JNIEnv* env, jobject obj, jint i, jboolean relative) +{ + jboolean xret = (jboolean) ((TQDataBrowser*) QtSupport::getQt(env, obj))->seek((int) i, (bool) relative); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataBrowser_setAutoEdit(JNIEnv* env, jobject obj, jboolean autoEdit) +{ + ((TQDataBrowser*) QtSupport::getQt(env, obj))->setAutoEdit((bool) autoEdit); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataBrowser_setBoundaryChecking(JNIEnv* env, jobject obj, jboolean active) +{ + ((TQDataBrowser*) QtSupport::getQt(env, obj))->setBoundaryChecking((bool) active); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataBrowser_setConfirmCancels(JNIEnv* env, jobject obj, jboolean confirm) +{ + ((TQDataBrowser*) QtSupport::getQt(env, obj))->setConfirmCancels((bool) confirm); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataBrowser_setConfirmDelete(JNIEnv* env, jobject obj, jboolean confirm) +{ + ((TQDataBrowser*) QtSupport::getQt(env, obj))->setConfirmDelete((bool) confirm); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataBrowser_setConfirmEdits(JNIEnv* env, jobject obj, jboolean confirm) +{ + ((TQDataBrowser*) QtSupport::getQt(env, obj))->setConfirmEdits((bool) confirm); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataBrowser_setConfirmInsert(JNIEnv* env, jobject obj, jboolean confirm) +{ + ((TQDataBrowser*) QtSupport::getQt(env, obj))->setConfirmInsert((bool) confirm); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataBrowser_setConfirmUpdate(JNIEnv* env, jobject obj, jboolean confirm) +{ + ((TQDataBrowser*) QtSupport::getQt(env, obj))->setConfirmUpdate((bool) confirm); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataBrowser_setFilter(JNIEnv* env, jobject obj, jstring filter) +{ +static TQString* _qstring_filter = 0; + ((TQDataBrowser*) QtSupport::getQt(env, obj))->setFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataBrowser_setForm(JNIEnv* env, jobject obj, jobject form) +{ + ((TQDataBrowser*) QtSupport::getQt(env, obj))->setForm((TQSqlForm*) QtSupport::getQt(env, form)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataBrowser_setReadOnly(JNIEnv* env, jobject obj, jboolean active) +{ + ((TQDataBrowser*) QtSupport::getQt(env, obj))->setReadOnly((bool) active); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataBrowser_setSort__Lorg_kde_qt_QSqlIndex_2(JNIEnv* env, jobject obj, jobject sort) +{ + ((TQDataBrowser*) QtSupport::getQt(env, obj))->setSort((const TQSqlIndex&)*(const TQSqlIndex*) QtSupport::getQt(env, sort)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataBrowser_setSort___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray sort) +{ +static TQStringList* _qlist_sort = 0; + ((TQDataBrowser*) QtSupport::getQt(env, obj))->setSort((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, sort, &_qlist_sort)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataBrowser_setSqlCursor__Lorg_kde_qt_QSqlCursor_2(JNIEnv* env, jobject obj, jobject cursor) +{ + ((TQDataBrowser*) QtSupport::getQt(env, obj))->setSqlCursor((TQSqlCursor*) QtSupport::getQt(env, cursor)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataBrowser_setSqlCursor__Lorg_kde_qt_QSqlCursor_2Z(JNIEnv* env, jobject obj, jobject cursor, jboolean autoDelete) +{ + ((TQDataBrowser*) QtSupport::getQt(env, obj))->setSqlCursor((TQSqlCursor*) QtSupport::getQt(env, cursor), (bool) autoDelete); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDataBrowser_sort(JNIEnv* env, jobject obj) +{ + TQStringList _qlist; + _qlist = ((TQDataBrowser*) QtSupport::getQt(env, obj))->sort(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDataBrowser_sqlCursor(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDataBrowser*) QtSupport::getQt(env, obj))->sqlCursor(), "org.kde.qt.TQSqlCursor"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDataBrowser_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQDataBrowserJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDataBrowser_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQDataBrowserJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataBrowser_updateBoundary(JNIEnv* env, jobject obj) +{ + ((TQDataBrowser*) QtSupport::getQt(env, obj))->updateBoundary(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataBrowser_updateCurrent(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->protected_updateCurrent(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataBrowser_update(JNIEnv* env, jobject obj) +{ + ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_update(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataBrowser_writeFields(JNIEnv* env, jobject obj) +{ + ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_writeFields(); + return; +} + diff --git a/qtjava/javalib/qtjava/TQDataBrowser.h b/qtjava/javalib/qtjava/TQDataBrowser.h new file mode 100644 index 00000000..c7bc63f9 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDataBrowser.h @@ -0,0 +1,77 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDataBrowser__ +#define __org_kde_qt_QDataBrowser__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataBrowser_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataBrowser_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_newTQDataBrowser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_newTQDataBrowser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_newTQDataBrowser__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_newTQDataBrowser__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDataBrowser_boundary (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_setBoundaryChecking (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataBrowser_boundaryChecking (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_setSort__Lorg_kde_qt_QSqlIndex_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_setSort___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataBrowser_sort (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_setFilter (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataBrowser_filter (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_setSqlCursor__Lorg_kde_qt_QSqlCursor_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_setSqlCursor__Lorg_kde_qt_QSqlCursor_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataBrowser_sqlCursor (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_setForm (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataBrowser_form (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_setConfirmEdits (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_setConfirmInsert (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_setConfirmUpdate (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_setConfirmDelete (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_setConfirmCancels (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataBrowser_confirmEdits (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataBrowser_confirmInsert (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataBrowser_confirmUpdate (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataBrowser_confirmDelete (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataBrowser_confirmCancels (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_setReadOnly (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataBrowser_isReadOnly (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_setAutoEdit (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataBrowser_autoEdit (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataBrowser_seek__IZ (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataBrowser_seek__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_refresh (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_insert (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_update (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_del (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_first (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_last (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_next (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_prev (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_readFields (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_writeFields (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_clearValues (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_updateBoundary (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataBrowser_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataBrowser_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataBrowser_insertCurrent (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataBrowser_updateCurrent (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataBrowser_deleteCurrent (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataBrowser_currentEdited (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDataBrowser_confirmEdit (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDataBrowser_confirmCancel (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_handleError (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataBrowser_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDataBrowser__ */ diff --git a/qtjava/javalib/qtjava/TQDataPump.cpp b/qtjava/javalib/qtjava/TQDataPump.cpp new file mode 100644 index 00000000..fb3306f8 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDataPump.cpp @@ -0,0 +1,120 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQDataPumpJBridge : public TQDataPump +{ +public: + TQDataPumpJBridge(TQDataSource* arg1,TQDataSink* arg2) : TQDataPump(arg1,arg2) {}; + ~TQDataPumpJBridge() {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.qt.TQDataPump",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDataPump_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQDataPump*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataPump_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDataPump_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataPump_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQDataPump*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQDataPump*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataPump_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDataPump_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDataPump*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataPump_newTQDataPump(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDataPumpJBridge((TQDataSource*) QtSupport::getQt(env, arg1), (TQDataSink*) QtSupport::getQt(env, arg2))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDataPump_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQDataPumpJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDataPump_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQDataPumpJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQDataPump.h b/qtjava/javalib/qtjava/TQDataPump.h new file mode 100644 index 00000000..a64ba76f --- /dev/null +++ b/qtjava/javalib/qtjava/TQDataPump.h @@ -0,0 +1,26 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDataPump__ +#define __org_kde_qt_QDataPump__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataPump_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataPump_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataPump_newTQDataPump (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataPump_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataPump_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataPump_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataPump_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataPump_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDataPump__ */ diff --git a/qtjava/javalib/qtjava/TQDataSink.cpp b/qtjava/javalib/qtjava/TQDataSink.cpp new file mode 100644 index 00000000..69bce061 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDataSink.cpp @@ -0,0 +1,35 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataSink_eof(JNIEnv* env, jobject obj) +{ + ((TQDataSink*) QtSupport::getQt(env, obj))->eof(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataSink_maybeReady(JNIEnv* env, jobject obj) +{ + ((TQDataSink*) QtSupport::getQt(env, obj))->maybeReady(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDataSink_readyToReceive(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDataSink*) QtSupport::getQt(env, obj))->readyToReceive(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataSink_receive(JNIEnv* env, jobject obj, jcharArray arg1, jint count) +{ +static TQByteArray* _qbytearray_arg1 = 0; + ((TQDataSink*) QtSupport::getQt(env, obj))->receive((const uchar*) QtSupport::toUcharArray(env, arg1, &_qbytearray_arg1), (int) count); + return; +} + diff --git a/qtjava/javalib/qtjava/TQDataSink.h b/qtjava/javalib/qtjava/TQDataSink.h new file mode 100644 index 00000000..fb790663 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDataSink.h @@ -0,0 +1,22 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDataSink__ +#define __org_kde_qt_QDataSink__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDataSink_readyToReceive (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataSink_receive (JNIEnv *env, jobject, jcharArray, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataSink_eof (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataSink_maybeReady (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDataSink__ */ diff --git a/qtjava/javalib/qtjava/TQDataSource.cpp b/qtjava/javalib/qtjava/TQDataSource.cpp new file mode 100644 index 00000000..01b8d05d --- /dev/null +++ b/qtjava/javalib/qtjava/TQDataSource.cpp @@ -0,0 +1,48 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataSource_enableRewind(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQDataSource*) QtSupport::getQt(env, obj))->enableRewind((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataSource_maybeReady(JNIEnv* env, jobject obj) +{ + ((TQDataSource*) QtSupport::getQt(env, obj))->maybeReady(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDataSource_readyToSend(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDataSource*) QtSupport::getQt(env, obj))->readyToSend(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataSource_rewind(JNIEnv* env, jobject obj) +{ + ((TQDataSource*) QtSupport::getQt(env, obj))->rewind(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataSource_rewindable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDataSource*) QtSupport::getQt(env, obj))->rewindable(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataSource_sendTo(JNIEnv* env, jobject obj, jobject arg1, jint count) +{ + ((TQDataSource*) QtSupport::getQt(env, obj))->sendTo((TQDataSink*) QtSupport::getQt(env, arg1), (int) count); + return; +} + diff --git a/qtjava/javalib/qtjava/TQDataSource.h b/qtjava/javalib/qtjava/TQDataSource.h new file mode 100644 index 00000000..43bc1a45 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDataSource.h @@ -0,0 +1,24 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDataSource__ +#define __org_kde_qt_QDataSource__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDataSource_readyToSend (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataSource_sendTo (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataSource_maybeReady (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataSource_rewindable (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataSource_enableRewind (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataSource_rewind (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDataSource__ */ diff --git a/qtjava/javalib/qtjava/TQDataStream.cpp b/qtjava/javalib/qtjava/TQDataStream.cpp new file mode 100644 index 00000000..ff875824 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDataStream.cpp @@ -0,0 +1,280 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQDataStreamJBridge : public TQDataStream +{ +public: + TQDataStreamJBridge() : TQDataStream() {}; + TQDataStreamJBridge(TQIODevice* arg1) : TQDataStream(arg1) {}; + TQDataStreamJBridge(TQByteArray arg1,int arg2) : TQDataStream(arg1,arg2) {}; + ~TQDataStreamJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataStream_atEnd(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDataStream*) QtSupport::getQt(env, obj))->atEnd(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDataStream_byteOrder(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDataStream*) QtSupport::getQt(env, obj))->byteOrder(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDataStream_device(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDataStream*) QtSupport::getQt(env, obj))->device(), "org.kde.qt.TQIODeviceInterface"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataStream_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDataStream_finalize(env, obj); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataStream_eof(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDataStream*) QtSupport::getQt(env, obj))->eof(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataStream_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQDataStream*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataStream_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataStream_isPrintableData(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDataStream*) QtSupport::getQt(env, obj))->isPrintableData(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataStream_newTQDataStream__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDataStreamJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataStream_newTQDataStream__Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDataStreamJBridge((TQIODevice*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataStream_newTQDataStream___3BI(JNIEnv* env, jobject obj, jbyteArray arg1, jint mode) +{ +static TQByteArray* _qbyteArray_arg1 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDataStreamJBridge((TQByteArray)*(TQByteArray*) QtSupport::toTQByteArray(env, arg1, &_qbyteArray_arg1), (int) mode)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDataStream_op_1read__C(JNIEnv* env, jobject obj, jchar i) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &((TQDataStream*) QtSupport::getQt(env, obj))->operator>>((Q_INT8&) i), "org.kde.qt.TQDataStream"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDataStream_op_1read__D(JNIEnv* env, jobject obj, jdouble f) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &((TQDataStream*) QtSupport::getQt(env, obj))->operator>>((double&) f), "org.kde.qt.TQDataStream"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDataStream_op_1read__F(JNIEnv* env, jobject obj, jfloat f) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &((TQDataStream*) QtSupport::getQt(env, obj))->operator>>((float&) f), "org.kde.qt.TQDataStream"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDataStream_op_1read__I(JNIEnv* env, jobject obj, jint i) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &((TQDataStream*) QtSupport::getQt(env, obj))->operator>>((Q_INT32&) i), "org.kde.qt.TQDataStream"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDataStream_op_1read__J(JNIEnv* env, jobject obj, jlong i) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &((TQDataStream*) QtSupport::getQt(env, obj))->operator>>((Q_LONG&) i), "org.kde.qt.TQDataStream"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDataStream_op_1read__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring str) +{ +static TQCString* _qstring_str = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &((TQDataStream*) QtSupport::getQt(env, obj))->operator>>((char*&) *(char*)QtSupport::toCharString(env, str, &_qstring_str)), "org.kde.qt.TQDataStream"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDataStream_op_1read__S(JNIEnv* env, jobject obj, jshort i) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &((TQDataStream*) QtSupport::getQt(env, obj))->operator>>((Q_UINT8&) i), "org.kde.qt.TQDataStream"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDataStream_op_1write__C(JNIEnv* env, jobject obj, jchar i) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &((TQDataStream*) QtSupport::getQt(env, obj))->operator<<((Q_INT8) i), "org.kde.qt.TQDataStream"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDataStream_op_1write__D(JNIEnv* env, jobject obj, jdouble f) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &((TQDataStream*) QtSupport::getQt(env, obj))->operator<<((double) f), "org.kde.qt.TQDataStream"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDataStream_op_1write__F(JNIEnv* env, jobject obj, jfloat f) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &((TQDataStream*) QtSupport::getQt(env, obj))->operator<<((float) f), "org.kde.qt.TQDataStream"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDataStream_op_1write__I(JNIEnv* env, jobject obj, jint i) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &((TQDataStream*) QtSupport::getQt(env, obj))->operator<<((Q_INT32) i), "org.kde.qt.TQDataStream"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDataStream_op_1write__J(JNIEnv* env, jobject obj, jlong i) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &((TQDataStream*) QtSupport::getQt(env, obj))->operator<<((Q_INT64) i), "org.kde.qt.TQDataStream"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDataStream_op_1write__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring str) +{ +static TQCString* _qstring_str = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &((TQDataStream*) QtSupport::getQt(env, obj))->operator<<((const char*) QtSupport::toCharString(env, str, &_qstring_str)), "org.kde.qt.TQDataStream"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDataStream_op_1write__S(JNIEnv* env, jobject obj, jshort i) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &((TQDataStream*) QtSupport::getQt(env, obj))->operator<<((Q_UINT8) i), "org.kde.qt.TQDataStream"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDataStream_readBytes(JNIEnv* env, jobject obj, jstring arg1, jint len) +{ +static TQCString* _qstring_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &((TQDataStream*) QtSupport::getQt(env, obj))->readBytes((char*&) *(char*)QtSupport::toCharString(env, arg1, &_qstring_arg1), (uint&) len), "org.kde.qt.TQDataStream"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDataStream_readRawBytes(JNIEnv* env, jobject obj, jstring arg1, jint len) +{ +static TQCString* _qstring_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &((TQDataStream*) QtSupport::getQt(env, obj))->readRawBytes((char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (uint) len), "org.kde.qt.TQDataStream"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataStream_setByteOrder(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQDataStream*) QtSupport::getQt(env, obj))->setByteOrder((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataStream_setDevice(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQDataStream*) QtSupport::getQt(env, obj))->setDevice((TQIODevice*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataStream_setPrintableData(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQDataStream*) QtSupport::getQt(env, obj))->setPrintableData((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataStream_setVersion(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQDataStream*) QtSupport::getQt(env, obj))->setVersion((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataStream_unsetDevice(JNIEnv* env, jobject obj) +{ + ((TQDataStream*) QtSupport::getQt(env, obj))->unsetDevice(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDataStream_version(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDataStream*) QtSupport::getQt(env, obj))->version(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDataStream_writeBytes(JNIEnv* env, jobject obj, jstring arg1, jint len) +{ +static TQCString* _qstring_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &((TQDataStream*) QtSupport::getQt(env, obj))->writeBytes((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (uint) len), "org.kde.qt.TQDataStream"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDataStream_writeRawBytes(JNIEnv* env, jobject obj, jstring arg1, jint len) +{ +static TQCString* _qstring_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &((TQDataStream*) QtSupport::getQt(env, obj))->writeRawBytes((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (uint) len), "org.kde.qt.TQDataStream"); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQDataStream.h b/qtjava/javalib/qtjava/TQDataStream.h new file mode 100644 index 00000000..fcb96ead --- /dev/null +++ b/qtjava/javalib/qtjava/TQDataStream.h @@ -0,0 +1,53 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDataStream__ +#define __org_kde_qt_QDataStream__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataStream_newTQDataStream__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataStream_newTQDataStream__Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataStream_newTQDataStream___3BI (JNIEnv *env, jobject, jbyteArray, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_device (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataStream_setDevice (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataStream_unsetDevice (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataStream_atEnd (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataStream_eof (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDataStream_byteOrder (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataStream_setByteOrder (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataStream_isPrintableData (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataStream_setPrintableData (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDataStream_version (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataStream_setVersion (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_op_1read__C (JNIEnv *env, jobject, jchar); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_op_1read__S (JNIEnv *env, jobject, jshort); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_op_1read__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_op_1read__J (JNIEnv *env, jobject, jlong); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_op_1read__F (JNIEnv *env, jobject, jfloat); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_op_1read__D (JNIEnv *env, jobject, jdouble); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_op_1read__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_op_1write__C (JNIEnv *env, jobject, jchar); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_op_1write__S (JNIEnv *env, jobject, jshort); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_op_1write__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_op_1write__J (JNIEnv *env, jobject, jlong); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_op_1write__F (JNIEnv *env, jobject, jfloat); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_op_1write__D (JNIEnv *env, jobject, jdouble); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_op_1write__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_readBytes (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_readRawBytes (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_writeBytes (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataStream_writeRawBytes (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataStream_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataStream_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataStream_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDataStream__ */ diff --git a/qtjava/javalib/qtjava/TQDataTable.cpp b/qtjava/javalib/qtjava/TQDataTable.cpp new file mode 100644 index 00000000..88068513 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDataTable.cpp @@ -0,0 +1,1494 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQDataTableJBridge : public TQDataTable +{ +public: + TQDataTableJBridge(TQWidget* arg1,const char* arg2) : TQDataTable(arg1,arg2) {}; + TQDataTableJBridge(TQWidget* arg1) : TQDataTable(arg1) {}; + TQDataTableJBridge() : TQDataTable() {}; + TQDataTableJBridge(TQSqlCursor* arg1,bool arg2,TQWidget* arg3,const char* arg4) : TQDataTable(arg1,arg2,arg3,arg4) {}; + TQDataTableJBridge(TQSqlCursor* arg1,bool arg2,TQWidget* arg3) : TQDataTable(arg1,arg2,arg3) {}; + TQDataTableJBridge(TQSqlCursor* arg1,bool arg2) : TQDataTable(arg1,arg2) {}; + TQDataTableJBridge(TQSqlCursor* arg1) : TQDataTable(arg1) {}; + void public_setSqlCursor() { + TQDataTable::setSqlCursor(); + return; + } + void public_refresh() { + TQDataTable::refresh(); + return; + } + bool protected_insertCurrent() { + return (bool) TQDataTable::insertCurrent(); + } + bool protected_updateCurrent() { + return (bool) TQDataTable::updateCurrent(); + } + bool protected_deleteCurrent() { + return (bool) TQDataTable::deleteCurrent(); + } + TQSql::Confirm protected_confirmEdit(TQSql::Op arg1) { + return (TQSql::Confirm) TQDataTable::confirmEdit(arg1); + } + TQSql::Confirm protected_confirmCancel(TQSql::Op arg1) { + return (TQSql::Confirm) TQDataTable::confirmCancel(arg1); + } + void protected_handleError(const TQSqlError& arg1) { + TQDataTable::handleError(arg1); + return; + } + bool protected_beginInsert() { + return (bool) TQDataTable::beginInsert(); + } + TQWidget* protected_beginUpdate(int arg1,int arg2,bool arg3) { + return (TQWidget*) TQDataTable::beginUpdate(arg1,arg2,arg3); + } + bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { + return (bool) TQDataTable::eventFilter(arg1,arg2); + } + void protected_keyPressEvent(TQKeyEvent* arg1) { + TQDataTable::keyPressEvent(arg1); + return; + } + void protected_resizeEvent(TQResizeEvent* arg1) { + TQDataTable::resizeEvent(arg1); + return; + } + void protected_contentsMousePressEvent(TQMouseEvent* arg1) { + TQDataTable::contentsMousePressEvent(arg1); + return; + } + void protected_contentsContextMenuEvent(TQContextMenuEvent* arg1) { + TQDataTable::contentsContextMenuEvent(arg1); + return; + } + void protected_endEdit(int arg1,int arg2,bool arg3,bool arg4) { + TQDataTable::endEdit(arg1,arg2,arg3,arg4); + return; + } + TQWidget* protected_createEditor(int arg1,int arg2,bool arg3) { + return (TQWidget*) TQDataTable::createEditor(arg1,arg2,arg3); + } + void protected_activateNextCell() { + TQDataTable::activateNextCell(); + return; + } + int protected_indexOf(uint arg1) { + return (int) TQDataTable::indexOf(arg1); + } + void protected_reset() { + TQDataTable::reset(); + return; + } + void protected_setSize(TQSqlCursor* arg1) { + TQDataTable::setSize(arg1); + return; + } + void protected_repaintCell(int arg1,int arg2) { + TQDataTable::repaintCell(arg1,arg2); + return; + } + void protected_paintCell(TQPainter* arg1,int arg2,int arg3,const TQRect& arg4,bool arg5,const TQColorGroup& arg6) { + TQDataTable::paintCell(arg1,arg2,arg3,arg4,arg5,arg6); + return; + } + void protected_paintField(TQPainter* arg1,const TQSqlField* arg2,const TQRect& arg3,bool arg4) { + TQDataTable::paintField(arg1,arg2,arg3,arg4); + return; + } + void protected_drawContents(TQPainter* arg1,int arg2,int arg3,int arg4,int arg5) { + TQDataTable::drawContents(arg1,arg2,arg3,arg4,arg5); + return; + } + int protected_fieldAlignment(const TQSqlField* arg1) { + return (int) TQDataTable::fieldAlignment(arg1); + } + void protected_columnClicked(int arg1) { + TQDataTable::columnClicked(arg1); + return; + } + void protected_resizeData(int arg1) { + TQDataTable::resizeData(arg1); + return; + } + TQTableItem* protected_item(int arg1,int arg2) { + return (TQTableItem*) TQDataTable::item(arg1,arg2); + } + void protected_setItem(int arg1,int arg2,TQTableItem* arg3) { + TQDataTable::setItem(arg1,arg2,arg3); + return; + } + void protected_clearCell(int arg1,int arg2) { + TQDataTable::clearCell(arg1,arg2); + return; + } + void protected_setPixmap(int arg1,int arg2,const TQPixmap& arg3) { + TQDataTable::setPixmap(arg1,arg2,arg3); + return; + } + void protected_takeItem(TQTableItem* arg1) { + TQDataTable::takeItem(arg1); + return; + } + ~TQDataTableJBridge() {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")) { + TQDataTable::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")) { + TQTable::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")) { + TQTable::contentsDragLeaveEvent(arg1); + } + return; + } + void setActiveWindow() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataTable","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")) { + TQTable::focusOutEvent(arg1); + } + return; + } + void setFocus() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataTable","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.qt.TQDataTable","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")) { + TQTable::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")) { + TQTable::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.qt.TQDataTable","unsetCursor")) { + TQWidget::unsetCursor(); + } + return; + } + void contentsDropEvent(TQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { + TQTable::contentsDropEvent(arg1); + } + return; + } + void hideEvent(TQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { + TQWidget::hideEvent(arg1); + } + return; + } + void moveEvent(TQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { + TQWidget::moveEvent(arg1); + } + return; + } + void polish() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataTable","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataTable","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")) { + TQTable::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")) { + TQDataTable::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")) { + TQTable::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.qt.TQDataTable","startDrag")) { + TQTable::startDrag(); + } + return; + } + bool updateCurrent() { + return QtSupport::booleanDelegate(this,"updateCurrent"); + } + 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")) { + TQTable::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")) { + TQTable::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")) { + TQDataTable::contentsMousePressEvent(arg1); + } + return; + } + void updateMask() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataTable","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataTable","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; + } + bool beginInsert() { + return QtSupport::booleanDelegate(this,"beginInsert"); + } + 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.qt.TQDataTable","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")) { + TQTable::focusInEvent(arg1); + } + return; + } + bool deleteCurrent() { + return QtSupport::booleanDelegate(this,"deleteCurrent"); + } + void refresh() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataTable","refresh")) { + TQDataTable::refresh(); + } + return; + } + void tabletEvent(TQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { + TQWidget::tabletEvent(arg1); + } + return; + } + void handleError(const TQSqlError& arg1) { + if (!QtSupport::eventDelegate(this,"handleError",(void*)&arg1,"org.kde.qt.TQSqlError")) { + TQDataTable::handleError(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")) { + TQTable::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")) { + TQDataTable::contentsContextMenuEvent(arg1); + } + return; + } + bool insertCurrent() { + return QtSupport::booleanDelegate(this,"insertCurrent"); + } + void setGeometry(const TQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { + TQWidget::setGeometry(arg1); + } + return; + } + void setSort(const TQSqlIndex& arg1) { + if (!QtSupport::eventDelegate(this,"setSort",(void*)&arg1,"org.kde.qt.TQSqlIndex")) { + TQDataTable::setSort(arg1); + } + return; + } + void viewportMousePressEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMousePressEvent(arg1); + } + return; + } + void showMinimized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataTable","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_activateNextCell(JNIEnv* env, jobject obj) +{ + ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_activateNextCell(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_addColumn__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fieldName) +{ +static TQString* _qstring_fieldName = 0; + ((TQDataTable*) QtSupport::getQt(env, obj))->addColumn((const TQString&)*(TQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_addColumn__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fieldName, jstring label) +{ +static TQString* _qstring_fieldName = 0; +static TQString* _qstring_label = 0; + ((TQDataTable*) QtSupport::getQt(env, obj))->addColumn((const TQString&)*(TQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_addColumn__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring fieldName, jstring label, jint width) +{ +static TQString* _qstring_fieldName = 0; +static TQString* _qstring_label = 0; + ((TQDataTable*) QtSupport::getQt(env, obj))->addColumn((const TQString&)*(TQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) width); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_addColumn__Ljava_lang_String_2Ljava_lang_String_2ILorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jstring fieldName, jstring label, jint width, jobject iconset) +{ +static TQString* _qstring_fieldName = 0; +static TQString* _qstring_label = 0; + ((TQDataTable*) QtSupport::getQt(env, obj))->addColumn((const TQString&)*(TQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) width, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_adjustColumn(JNIEnv* env, jobject obj, jint col) +{ + ((TQDataTable*) QtSupport::getQt(env, obj))->adjustColumn((int) col); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataTable_autoDelete(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDataTable*) QtSupport::getQt(env, obj))->autoDelete(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataTable_autoEdit(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDataTable*) QtSupport::getQt(env, obj))->autoEdit(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataTable_beginInsert(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_beginInsert(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDataTable_beginUpdate(JNIEnv* env, jobject obj, jint row, jint col, jboolean replace) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_beginUpdate((int) row, (int) col, (bool) replace), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDataTable_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQDataTable*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_clearCell(JNIEnv* env, jobject obj, jint row, jint col) +{ + ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_clearCell((int) row, (int) col); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_columnClicked(JNIEnv* env, jobject obj, jint col) +{ + ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_columnClicked((int) col); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDataTable_confirmCancel(JNIEnv* env, jobject obj, jint m) +{ + jint xret = (jint) ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_confirmCancel((TQSql::Op) m); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataTable_confirmCancels(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDataTable*) QtSupport::getQt(env, obj))->confirmCancels(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataTable_confirmDelete(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDataTable*) QtSupport::getQt(env, obj))->confirmDelete(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDataTable_confirmEdit(JNIEnv* env, jobject obj, jint m) +{ + jint xret = (jint) ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_confirmEdit((TQSql::Op) m); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataTable_confirmEdits(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDataTable*) QtSupport::getQt(env, obj))->confirmEdits(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataTable_confirmInsert(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDataTable*) QtSupport::getQt(env, obj))->confirmInsert(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataTable_confirmUpdate(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDataTable*) QtSupport::getQt(env, obj))->confirmUpdate(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_contentsContextMenuEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDataTable_createEditor(JNIEnv* env, jobject obj, jint row, jint col, jboolean initFromCell) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_createEditor((int) row, (int) col, (bool) initFromCell), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDataTable_currentRecord(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDataTable*) QtSupport::getQt(env, obj))->currentRecord(), "org.kde.qt.TQSqlRecord"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDataTable_dateFormat(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDataTable*) QtSupport::getQt(env, obj))->dateFormat(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataTable_deleteCurrent(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_deleteCurrent(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDataTable_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_drawContents(JNIEnv* env, jobject obj, jobject p, jint cx, jint cy, jint cw, jint ch) +{ + ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, p), (int) cx, (int) cy, (int) cw, (int) ch); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_endEdit(JNIEnv* env, jobject obj, jint row, jint col, jboolean accept, jboolean replace) +{ + ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_endEdit((int) row, (int) col, (bool) accept, (bool) replace); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataTable_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject e) +{ + jboolean xret = (jboolean) ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, e)); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDataTable_falseText(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQDataTable*) QtSupport::getQt(env, obj))->falseText(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDataTable_fieldAlignment(JNIEnv* env, jobject obj, jobject field) +{ + jint xret = (jint) ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_fieldAlignment((const TQSqlField*) QtSupport::getQt(env, field)); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDataTable_filter(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQDataTable*) QtSupport::getQt(env, obj))->filter(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQDataTable*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQDataTable*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataTable_findBuffer__Lorg_kde_qt_QSqlIndex_2(JNIEnv* env, jobject obj, jobject idx) +{ + jboolean xret = (jboolean) ((TQDataTable*) QtSupport::getQt(env, obj))->findBuffer((const TQSqlIndex&)*(const TQSqlIndex*) QtSupport::getQt(env, idx)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataTable_findBuffer__Lorg_kde_qt_QSqlIndex_2I(JNIEnv* env, jobject obj, jobject idx, jint atHint) +{ + jboolean xret = (jboolean) ((TQDataTable*) QtSupport::getQt(env, obj))->findBuffer((const TQSqlIndex&)*(const TQSqlIndex*) QtSupport::getQt(env, idx), (int) atHint); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_find(JNIEnv* env, jobject obj, jstring str, jboolean caseSensitive, jboolean backwards) +{ +static TQString* _qstring_str = 0; + ((TQDataTable*) QtSupport::getQt(env, obj))->find((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (bool) caseSensitive, (bool) backwards); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_handleError(JNIEnv* env, jobject obj, jobject e) +{ + ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_handleError((const TQSqlError&)*(const TQSqlError*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_hideColumn(JNIEnv* env, jobject obj, jint col) +{ + ((TQDataTable*) QtSupport::getQt(env, obj))->hideColumn((int) col); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDataTable_indexOf(JNIEnv* env, jobject obj, jint i) +{ + jint xret = (jint) ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_indexOf((uint) i); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataTable_insertCurrent(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_insertCurrent(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_installEditorFactory(JNIEnv* env, jobject obj, jobject f) +{ + ((TQDataTable*) QtSupport::getQt(env, obj))->installEditorFactory((TQSqlEditorFactory*) QtSupport::getQt(env, f)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_installPropertyMap(JNIEnv* env, jobject obj, jobject m) +{ + ((TQDataTable*) QtSupport::getQt(env, obj))->installPropertyMap((TQSqlPropertyMap*) QtSupport::getQt(env, m)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataTable_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDataTable_item(JNIEnv* env, jobject obj, jint row, jint col) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_item((int) row, (int) col), "org.kde.qt.TQTableItem"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDataTable_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDataTable*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_newTQDataTable__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDataTableJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_newTQDataTable__Lorg_kde_qt_QSqlCursor_2(JNIEnv* env, jobject obj, jobject cursor) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDataTableJBridge((TQSqlCursor*) QtSupport::getQt(env, cursor))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_newTQDataTable__Lorg_kde_qt_QSqlCursor_2Z(JNIEnv* env, jobject obj, jobject cursor, jboolean autoPopulate) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDataTableJBridge((TQSqlCursor*) QtSupport::getQt(env, cursor), (bool) autoPopulate)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_newTQDataTable__Lorg_kde_qt_QSqlCursor_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject cursor, jboolean autoPopulate, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDataTableJBridge((TQSqlCursor*) QtSupport::getQt(env, cursor), (bool) autoPopulate, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_newTQDataTable__Lorg_kde_qt_QSqlCursor_2ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject cursor, jboolean autoPopulate, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDataTableJBridge((TQSqlCursor*) QtSupport::getQt(env, cursor), (bool) autoPopulate, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_newTQDataTable__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDataTableJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_newTQDataTable__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 TQDataTableJBridge((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_qt_QDataTable_nullText(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQDataTable*) QtSupport::getQt(env, obj))->nullText(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDataTable_numCols(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDataTable*) QtSupport::getQt(env, obj))->numCols(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDataTable_numRows(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDataTable*) QtSupport::getQt(env, obj))->numRows(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_paintCell(JNIEnv* env, jobject obj, jobject p, jint row, jint col, jobject cr, jboolean selected, jobject cg) +{ + ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_paintCell((TQPainter*) QtSupport::getQt(env, p), (int) row, (int) col, (const TQRect&)*(const TQRect*) QtSupport::getQt(env, cr), (bool) selected, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_paintField(JNIEnv* env, jobject obj, jobject p, jobject field, jobject cr, jboolean selected) +{ + ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_paintField((TQPainter*) QtSupport::getQt(env, p), (const TQSqlField*) QtSupport::getQt(env, field), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, cr), (bool) selected); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_refresh__(JNIEnv* env, jobject obj) +{ + ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->public_refresh(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_refresh__I(JNIEnv* env, jobject obj, jint mode) +{ + ((TQDataTable*) QtSupport::getQt(env, obj))->refresh((TQDataTable::Refresh) mode); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_removeColumn(JNIEnv* env, jobject obj, jint col) +{ + ((TQDataTable*) QtSupport::getQt(env, obj))->removeColumn((uint) col); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_repaintCell(JNIEnv* env, jobject obj, jint row, jint col) +{ + ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_repaintCell((int) row, (int) col); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_reset(JNIEnv* env, jobject obj) +{ + ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_reset(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_resizeData(JNIEnv* env, jobject obj, jint len) +{ + ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_resizeData((int) len); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_setAutoDelete(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TQDataTable*) QtSupport::getQt(env, obj))->setAutoDelete((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_setAutoEdit(JNIEnv* env, jobject obj, jboolean autoEdit) +{ + ((TQDataTable*) QtSupport::getQt(env, obj))->setAutoEdit((bool) autoEdit); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_setColumnStretchable(JNIEnv* env, jobject obj, jint col, jboolean stretch) +{ + ((TQDataTable*) QtSupport::getQt(env, obj))->setColumnStretchable((int) col, (bool) stretch); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_setColumnWidth(JNIEnv* env, jobject obj, jint col, jint w) +{ + ((TQDataTable*) QtSupport::getQt(env, obj))->setColumnWidth((int) col, (int) w); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_setColumn__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint col, jstring fieldName) +{ +static TQString* _qstring_fieldName = 0; + ((TQDataTable*) QtSupport::getQt(env, obj))->setColumn((uint) col, (const TQString&)*(TQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_setColumn__ILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint col, jstring fieldName, jstring label) +{ +static TQString* _qstring_fieldName = 0; +static TQString* _qstring_label = 0; + ((TQDataTable*) QtSupport::getQt(env, obj))->setColumn((uint) col, (const TQString&)*(TQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_setColumn__ILjava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jint col, jstring fieldName, jstring label, jint width) +{ +static TQString* _qstring_fieldName = 0; +static TQString* _qstring_label = 0; + ((TQDataTable*) QtSupport::getQt(env, obj))->setColumn((uint) col, (const TQString&)*(TQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) width); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_setColumn__ILjava_lang_String_2Ljava_lang_String_2ILorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jint col, jstring fieldName, jstring label, jint width, jobject iconset) +{ +static TQString* _qstring_fieldName = 0; +static TQString* _qstring_label = 0; + ((TQDataTable*) QtSupport::getQt(env, obj))->setColumn((uint) col, (const TQString&)*(TQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) width, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_setConfirmCancels(JNIEnv* env, jobject obj, jboolean confirm) +{ + ((TQDataTable*) QtSupport::getQt(env, obj))->setConfirmCancels((bool) confirm); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_setConfirmDelete(JNIEnv* env, jobject obj, jboolean confirm) +{ + ((TQDataTable*) QtSupport::getQt(env, obj))->setConfirmDelete((bool) confirm); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_setConfirmEdits(JNIEnv* env, jobject obj, jboolean confirm) +{ + ((TQDataTable*) QtSupport::getQt(env, obj))->setConfirmEdits((bool) confirm); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_setConfirmInsert(JNIEnv* env, jobject obj, jboolean confirm) +{ + ((TQDataTable*) QtSupport::getQt(env, obj))->setConfirmInsert((bool) confirm); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_setConfirmUpdate(JNIEnv* env, jobject obj, jboolean confirm) +{ + ((TQDataTable*) QtSupport::getQt(env, obj))->setConfirmUpdate((bool) confirm); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_setDateFormat(JNIEnv* env, jobject obj, jint f) +{ + ((TQDataTable*) QtSupport::getQt(env, obj))->setDateFormat((const TQt::DateFormat) f); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_setFalseText(JNIEnv* env, jobject obj, jstring falseText) +{ +static TQString* _qstring_falseText = 0; + ((TQDataTable*) QtSupport::getQt(env, obj))->setFalseText((const TQString&)*(TQString*) QtSupport::toTQString(env, falseText, &_qstring_falseText)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_setFilter(JNIEnv* env, jobject obj, jstring filter) +{ +static TQString* _qstring_filter = 0; + ((TQDataTable*) QtSupport::getQt(env, obj))->setFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_setItem(JNIEnv* env, jobject obj, jint row, jint col, jobject item) +{ + ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_setItem((int) row, (int) col, (TQTableItem*) QtSupport::getQt(env, item)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_setNullText(JNIEnv* env, jobject obj, jstring nullText) +{ +static TQString* _qstring_nullText = 0; + ((TQDataTable*) QtSupport::getQt(env, obj))->setNullText((const TQString&)*(TQString*) QtSupport::toTQString(env, nullText, &_qstring_nullText)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_setNumCols(JNIEnv* env, jobject obj, jint c) +{ + ((TQDataTable*) QtSupport::getQt(env, obj))->setNumCols((int) c); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_setNumRows(JNIEnv* env, jobject obj, jint r) +{ + ((TQDataTable*) QtSupport::getQt(env, obj))->setNumRows((int) r); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_setPixmap(JNIEnv* env, jobject obj, jint row, jint col, jobject pix) +{ + ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_setPixmap((int) row, (int) col, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_setSize(JNIEnv* env, jobject obj, jobject sql) +{ + ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_setSize((TQSqlCursor*) QtSupport::getQt(env, sql)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_setSort__Lorg_kde_qt_QSqlIndex_2(JNIEnv* env, jobject obj, jobject sort) +{ + ((TQDataTable*) QtSupport::getQt(env, obj))->setSort((const TQSqlIndex&)*(const TQSqlIndex*) QtSupport::getQt(env, sort)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_setSort___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray sort) +{ +static TQStringList* _qlist_sort = 0; + ((TQDataTable*) QtSupport::getQt(env, obj))->setSort((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, sort, &_qlist_sort)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_setSqlCursor__(JNIEnv* env, jobject obj) +{ + ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->public_setSqlCursor(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_setSqlCursor__Lorg_kde_qt_QSqlCursor_2(JNIEnv* env, jobject obj, jobject cursor) +{ + ((TQDataTable*) QtSupport::getQt(env, obj))->setSqlCursor((TQSqlCursor*) QtSupport::getQt(env, cursor)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_setSqlCursor__Lorg_kde_qt_QSqlCursor_2Z(JNIEnv* env, jobject obj, jobject cursor, jboolean autoPopulate) +{ + ((TQDataTable*) QtSupport::getQt(env, obj))->setSqlCursor((TQSqlCursor*) QtSupport::getQt(env, cursor), (bool) autoPopulate); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_setSqlCursor__Lorg_kde_qt_QSqlCursor_2ZZ(JNIEnv* env, jobject obj, jobject cursor, jboolean autoPopulate, jboolean autoDelete) +{ + ((TQDataTable*) QtSupport::getQt(env, obj))->setSqlCursor((TQSqlCursor*) QtSupport::getQt(env, cursor), (bool) autoPopulate, (bool) autoDelete); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_setTrueText(JNIEnv* env, jobject obj, jstring trueText) +{ +static TQString* _qstring_trueText = 0; + ((TQDataTable*) QtSupport::getQt(env, obj))->setTrueText((const TQString&)*(TQString*) QtSupport::toTQString(env, trueText, &_qstring_trueText)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_showColumn(JNIEnv* env, jobject obj, jint col) +{ + ((TQDataTable*) QtSupport::getQt(env, obj))->showColumn((int) col); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_sortAscending(JNIEnv* env, jobject obj, jint col) +{ + ((TQDataTable*) QtSupport::getQt(env, obj))->sortAscending((int) col); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_sortColumn__I(JNIEnv* env, jobject obj, jint col) +{ + ((TQDataTable*) QtSupport::getQt(env, obj))->sortColumn((int) col); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_sortColumn__IZ(JNIEnv* env, jobject obj, jint col, jboolean ascending) +{ + ((TQDataTable*) QtSupport::getQt(env, obj))->sortColumn((int) col, (bool) ascending); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_sortColumn__IZZ(JNIEnv* env, jobject obj, jint col, jboolean ascending, jboolean wholeRows) +{ + ((TQDataTable*) QtSupport::getQt(env, obj))->sortColumn((int) col, (bool) ascending, (bool) wholeRows); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_sortDescending(JNIEnv* env, jobject obj, jint col) +{ + ((TQDataTable*) QtSupport::getQt(env, obj))->sortDescending((int) col); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDataTable_sort(JNIEnv* env, jobject obj) +{ + TQStringList _qlist; + _qlist = ((TQDataTable*) QtSupport::getQt(env, obj))->sort(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDataTable_sqlCursor(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDataTable*) QtSupport::getQt(env, obj))->sqlCursor(), "org.kde.qt.TQSqlCursor"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_swapColumns__II(JNIEnv* env, jobject obj, jint col1, jint col2) +{ + ((TQDataTable*) QtSupport::getQt(env, obj))->swapColumns((int) col1, (int) col2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_swapColumns__IIZ(JNIEnv* env, jobject obj, jint col1, jint col2, jboolean swapHeaders) +{ + ((TQDataTable*) QtSupport::getQt(env, obj))->swapColumns((int) col1, (int) col2, (bool) swapHeaders); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataTable_takeItem(JNIEnv* env, jobject obj, jobject i) +{ + ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_takeItem((TQTableItem*) QtSupport::getQt(env, i)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDataTable_text(JNIEnv* env, jobject obj, jint row, jint col) +{ + TQString _qstring; + _qstring = ((TQDataTable*) QtSupport::getQt(env, obj))->text((int) row, (int) col); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDataTable_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQDataTableJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDataTable_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQDataTableJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDataTable_trueText(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQDataTable*) QtSupport::getQt(env, obj))->trueText(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataTable_updateCurrent(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_updateCurrent(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDataTable_value(JNIEnv* env, jobject obj, jint row, jint col) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQDataTable*) QtSupport::getQt(env, obj))->value((int) row, (int) col)), "org.kde.qt.TQVariant", TRUE); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQDataTable.h b/qtjava/javalib/qtjava/TQDataTable.h new file mode 100644 index 00000000..3871bcca --- /dev/null +++ b/qtjava/javalib/qtjava/TQDataTable.h @@ -0,0 +1,130 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDataTable__ +#define __org_kde_qt_QDataTable__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataTable_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataTable_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_newTQDataTable__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_newTQDataTable__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_newTQDataTable__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_newTQDataTable__Lorg_kde_qt_QSqlCursor_2ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jboolean, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_newTQDataTable__Lorg_kde_qt_QSqlCursor_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jboolean, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_newTQDataTable__Lorg_kde_qt_QSqlCursor_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_newTQDataTable__Lorg_kde_qt_QSqlCursor_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_addColumn__Ljava_lang_String_2Ljava_lang_String_2ILorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jstring, jstring, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_addColumn__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_addColumn__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_addColumn__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_removeColumn (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setColumn__ILjava_lang_String_2Ljava_lang_String_2ILorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jint, jstring, jstring, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setColumn__ILjava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jint, jstring, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setColumn__ILjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setColumn__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataTable_nullText (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataTable_trueText (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataTable_falseText (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDataTable_dateFormat (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataTable_confirmEdits (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataTable_confirmInsert (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataTable_confirmUpdate (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataTable_confirmDelete (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataTable_confirmCancels (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataTable_autoDelete (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataTable_autoEdit (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataTable_filter (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataTable_sort (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setSqlCursor__Lorg_kde_qt_QSqlCursor_2ZZ (JNIEnv *env, jobject, jobject, jboolean, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setSqlCursor__Lorg_kde_qt_QSqlCursor_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setSqlCursor__Lorg_kde_qt_QSqlCursor_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setSqlCursor__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataTable_sqlCursor (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setNullText (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setTrueText (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setFalseText (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setDateFormat (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setConfirmEdits (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setConfirmInsert (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setConfirmUpdate (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setConfirmDelete (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setConfirmCancels (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setAutoDelete (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setAutoEdit (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setFilter (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setSort___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setSort__Lorg_kde_qt_QSqlIndex_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_refresh__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_sortColumn__IZZ (JNIEnv *env, jobject, jint, jboolean, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_sortColumn__IZ (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_sortColumn__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataTable_text (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataTable_value (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataTable_currentRecord (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_installEditorFactory (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_installPropertyMap (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDataTable_numCols (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDataTable_numRows (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setNumCols (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setNumRows (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataTable_findBuffer__Lorg_kde_qt_QSqlIndex_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataTable_findBuffer__Lorg_kde_qt_QSqlIndex_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_hideColumn (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_showColumn (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_find (JNIEnv *env, jobject, jstring, jboolean, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_sortAscending (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_sortDescending (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_refresh__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setColumnWidth (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_adjustColumn (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setColumnStretchable (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_swapColumns__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_swapColumns__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataTable_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataTable_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataTable_insertCurrent (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataTable_updateCurrent (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataTable_deleteCurrent (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDataTable_confirmEdit (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDataTable_confirmCancel (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_handleError (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataTable_beginInsert (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataTable_beginUpdate (JNIEnv *env, jobject, jint, jint, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataTable_eventFilter (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_keyPressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_contentsMousePressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_contentsContextMenuEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_endEdit (JNIEnv *env, jobject, jint, jint, jboolean, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataTable_createEditor (JNIEnv *env, jobject, jint, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_activateNextCell (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDataTable_indexOf (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_reset (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setSize (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_repaintCell (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_paintCell (JNIEnv *env, jobject, jobject, jint, jint, jobject, jboolean, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_paintField (JNIEnv *env, jobject, jobject, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_drawContents (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDataTable_fieldAlignment (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_columnClicked (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_resizeData (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataTable_item (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setItem (JNIEnv *env, jobject, jint, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_clearCell (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setPixmap (JNIEnv *env, jobject, jint, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_takeItem (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataTable_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDataTable__ */ diff --git a/qtjava/javalib/qtjava/TQDataView.cpp b/qtjava/javalib/qtjava/TQDataView.cpp new file mode 100644 index 00000000..d28f0e6f --- /dev/null +++ b/qtjava/javalib/qtjava/TQDataView.cpp @@ -0,0 +1,569 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQDataViewJBridge : public TQDataView +{ +public: + TQDataViewJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQDataView(arg1,arg2,arg3) {}; + TQDataViewJBridge(TQWidget* arg1,const char* arg2) : TQDataView(arg1,arg2) {}; + TQDataViewJBridge(TQWidget* arg1) : TQDataView(arg1) {}; + TQDataViewJBridge() : TQDataView() {}; + void public_readFields() { + TQDataView::readFields(); + return; + } + void public_writeFields() { + TQDataView::writeFields(); + return; + } + void public_clearValues() { + TQDataView::clearValues(); + return; + } + ~TQDataViewJBridge() {QtSupport::qtKeyDeleted(this);} + void writeFields() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataView","writeFields")) { + TQDataView::writeFields(); + } + 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.qt.TQDataView","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.qt.TQDataView","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.qt.TQDataView","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.qt.TQDataView","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.qt.TQDataView","unsetCursor")) { + TQWidget::unsetCursor(); + } + return; + } + void readFields() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataView","readFields")) { + TQDataView::readFields(); + } + return; + } + void hideEvent(TQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { + TQWidget::hideEvent(arg1); + } + return; + } + void moveEvent(TQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { + TQWidget::moveEvent(arg1); + } + return; + } + void polish() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataView","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataView","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.qt.TQDataView","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataView","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 setRecord(TQSqlRecord* arg1) { + if (!QtSupport::eventDelegate(this,"setRecord",(void*)arg1,"org.kde.qt.TQSqlRecord")) { + TQDataView::setRecord(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.qt.TQDataView","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 clearValues() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataView","clearValues")) { + TQDataView::clearValues(); + } + return; + } + void focusInEvent(TQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { + TQWidget::focusInEvent(arg1); + } + return; + } + void refresh(TQSqlRecord* arg1) { + if (!QtSupport::eventDelegate(this,"refresh",(void*)arg1,"org.kde.qt.TQSqlRecord")) { + TQDataView::refresh(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 setForm(TQSqlForm* arg1) { + if (!QtSupport::eventDelegate(this,"setForm",(void*)arg1,"org.kde.qt.TQSqlForm")) { + TQDataView::setForm(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.qt.TQDataView",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.qt.TQDataView","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDataView_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQDataView*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataView_clearValues(JNIEnv* env, jobject obj) +{ + ((TQDataViewJBridge*) QtSupport::getQt(env, obj))->public_clearValues(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataView_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDataView_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataView_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQDataView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQDataView*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDataView_form(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDataView*) QtSupport::getQt(env, obj))->form(), "org.kde.qt.TQSqlForm"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataView_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDataView_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDataView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataView_newTQDataView__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDataViewJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataView_newTQDataView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDataViewJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataView_newTQDataView__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 TQDataViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataView_newTQDataView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint fl) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDataViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) fl)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataView_readFields(JNIEnv* env, jobject obj) +{ + ((TQDataViewJBridge*) QtSupport::getQt(env, obj))->public_readFields(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDataView_record(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDataView*) QtSupport::getQt(env, obj))->record(), "org.kde.qt.TQSqlRecord"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataView_refresh(JNIEnv* env, jobject obj, jobject buf) +{ + ((TQDataView*) QtSupport::getQt(env, obj))->refresh((TQSqlRecord*) QtSupport::getQt(env, buf)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataView_setForm(JNIEnv* env, jobject obj, jobject form) +{ + ((TQDataView*) QtSupport::getQt(env, obj))->setForm((TQSqlForm*) QtSupport::getQt(env, form)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataView_setRecord(JNIEnv* env, jobject obj, jobject record) +{ + ((TQDataView*) QtSupport::getQt(env, obj))->setRecord((TQSqlRecord*) QtSupport::getQt(env, record)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDataView_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQDataViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDataView_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQDataViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataView_writeFields(JNIEnv* env, jobject obj) +{ + ((TQDataViewJBridge*) QtSupport::getQt(env, obj))->public_writeFields(); + return; +} + diff --git a/qtjava/javalib/qtjava/TQDataView.h b/qtjava/javalib/qtjava/TQDataView.h new file mode 100644 index 00000000..4cfa063c --- /dev/null +++ b/qtjava/javalib/qtjava/TQDataView.h @@ -0,0 +1,37 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDataView__ +#define __org_kde_qt_QDataView__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataView_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataView_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataView_newTQDataView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataView_newTQDataView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataView_newTQDataView__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataView_newTQDataView__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataView_setForm (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataView_form (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataView_setRecord (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataView_record (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataView_refresh (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataView_readFields (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataView_writeFields (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataView_clearValues (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataView_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataView_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataView_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataView_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataView_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDataView__ */ diff --git a/qtjava/javalib/qtjava/TQDateEdit.cpp b/qtjava/javalib/qtjava/TQDateEdit.cpp new file mode 100644 index 00000000..bcb46402 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDateEdit.cpp @@ -0,0 +1,781 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +class TQDateEditJBridge : public TQDateEdit +{ +public: + TQDateEditJBridge(TQWidget* arg1,const char* arg2) : TQDateEdit(arg1,arg2) {}; + TQDateEditJBridge(TQWidget* arg1) : TQDateEdit(arg1) {}; + TQDateEditJBridge() : TQDateEdit() {}; + TQDateEditJBridge(const TQDate& arg1,TQWidget* arg2,const char* arg3) : TQDateEdit(arg1,arg2,arg3) {}; + TQDateEditJBridge(const TQDate& arg1,TQWidget* arg2) : TQDateEdit(arg1,arg2) {}; + TQDateEditJBridge(const TQDate& arg1) : TQDateEdit(arg1) {}; + bool protected_event(TQEvent* arg1) { + return (bool) TQDateEdit::event(arg1); + } + void protected_timerEvent(TQTimerEvent* arg1) { + TQDateEdit::timerEvent(arg1); + return; + } + void protected_resizeEvent(TQResizeEvent* arg1) { + TQDateEdit::resizeEvent(arg1); + return; + } + void protected_stepUp() { + TQDateEdit::stepUp(); + return; + } + void protected_stepDown() { + TQDateEdit::stepDown(); + return; + } + TQString protected_sectionFormattedText(int arg1) { + return (TQString) TQDateEdit::sectionFormattedText(arg1); + } + void protected_addNumber(int arg1,int arg2) { + TQDateEdit::addNumber(arg1,arg2); + return; + } + void protected_removeLastNumber(int arg1) { + TQDateEdit::removeLastNumber(arg1); + return; + } + bool protected_setFocusSection(int arg1) { + return (bool) TQDateEdit::setFocusSection(arg1); + } + void protected_setYear(int arg1) { + TQDateEdit::setYear(arg1); + return; + } + void protected_setMonth(int arg1) { + TQDateEdit::setMonth(arg1); + return; + } + void protected_setDay(int arg1) { + TQDateEdit::setDay(arg1); + return; + } + void protected_fix() { + TQDateEdit::fix(); + return; + } + bool protected_outOfRange(int arg1,int arg2,int arg3) { + return (bool) TQDateEdit::outOfRange(arg1,arg2,arg3); + } + void protected_updateButtons() { + TQDateEdit::updateButtons(); + return; + } + ~TQDateEditJBridge() {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")) { + TQDateEdit::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.qt.TQDateEdit","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.qt.TQDateEdit","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.qt.TQDateEdit","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.qt.TQDateEdit","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.qt.TQDateEdit","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.qt.TQDateEdit","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDateEdit","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")) { + TQDateEdit::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.qt.TQDateEdit","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDateEdit","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.qt.TQDateEdit","adjustSize")) { + TQWidget::adjustSize(); + } + return; + } + void wheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQWidget::wheelEvent(arg1); + } + return; + } + void fix() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDateEdit","fix")) { + TQDateEdit::fix(); + } + 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.qt.TQDateEdit",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.qt.TQDateEdit","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateEdit_addNumber(JNIEnv* env, jobject obj, jint sec, jint num) +{ + ((TQDateEditJBridge*) QtSupport::getQt(env, obj))->protected_addNumber((int) sec, (int) num); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDateEdit_autoAdvance(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDateEdit*) QtSupport::getQt(env, obj))->autoAdvance(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDateEdit_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQDateEdit*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDateEdit_date(JNIEnv* env, jobject obj) +{ + TQDate _qdate; + _qdate = ((TQDateEdit*) QtSupport::getQt(env, obj))->date(); + return (jobject) QtSupport::fromTQDate(env, (TQDate*) &_qdate); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateEdit_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDateEdit_finalize(env, obj); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDateEdit_event(JNIEnv* env, jobject obj, jobject e) +{ + jboolean xret = (jboolean) ((TQDateEditJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, e)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateEdit_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQDateEdit*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQDateEdit*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateEdit_fix(JNIEnv* env, jobject obj) +{ + ((TQDateEditJBridge*) QtSupport::getQt(env, obj))->protected_fix(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDateEdit_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDateEdit_maxValue(JNIEnv* env, jobject obj) +{ + TQDate _qdate; + _qdate = ((TQDateEdit*) QtSupport::getQt(env, obj))->maxValue(); + return (jobject) QtSupport::fromTQDate(env, (TQDate*) &_qdate); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDateEdit_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDateEdit*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDateEdit_minValue(JNIEnv* env, jobject obj) +{ + TQDate _qdate; + _qdate = ((TQDateEdit*) QtSupport::getQt(env, obj))->minValue(); + return (jobject) QtSupport::fromTQDate(env, (TQDate*) &_qdate); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDateEdit_minimumSizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQDateEdit*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateEdit_newTQDateEdit__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDateEditJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateEdit_newTQDateEdit__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 TQDateEditJBridge((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateEdit_newTQDateEdit__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 TQDateEditJBridge((const 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_qt_QDateEdit_newTQDateEdit__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 TQDateEditJBridge((const 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_qt_QDateEdit_newTQDateEdit__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDateEditJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateEdit_newTQDateEdit__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 TQDateEditJBridge((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_qt_QDateEdit_order(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDateEdit*) QtSupport::getQt(env, obj))->order(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDateEdit_outOfRange(JNIEnv* env, jobject obj, jint y, jint m, jint d) +{ + jboolean xret = (jboolean) ((TQDateEditJBridge*) QtSupport::getQt(env, obj))->protected_outOfRange((int) y, (int) m, (int) d); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateEdit_removeFirstNumber(JNIEnv* env, jobject obj, jint sec) +{ + ((TQDateEdit*) QtSupport::getQt(env, obj))->removeFirstNumber((int) sec); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateEdit_removeLastNumber(JNIEnv* env, jobject obj, jint sec) +{ + ((TQDateEditJBridge*) QtSupport::getQt(env, obj))->protected_removeLastNumber((int) sec); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateEdit_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQDateEditJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDateEdit_sectionFormattedText(JNIEnv* env, jobject obj, jint sec) +{ + TQString _qstring; + _qstring = ((TQDateEditJBridge*) QtSupport::getQt(env, obj))->protected_sectionFormattedText((int) sec); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDateEdit_separator(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQDateEdit*) QtSupport::getQt(env, obj))->separator(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateEdit_setAutoAdvance(JNIEnv* env, jobject obj, jboolean advance) +{ + ((TQDateEdit*) QtSupport::getQt(env, obj))->setAutoAdvance((bool) advance); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateEdit_setDate(JNIEnv* env, jobject obj, jobject date) +{ +static TQDate* _qdate_date = 0; + ((TQDateEdit*) QtSupport::getQt(env, obj))->setDate((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateEdit_setDay(JNIEnv* env, jobject obj, jint day) +{ + ((TQDateEditJBridge*) QtSupport::getQt(env, obj))->protected_setDay((int) day); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDateEdit_setFocusSection(JNIEnv* env, jobject obj, jint s) +{ + jboolean xret = (jboolean) ((TQDateEditJBridge*) QtSupport::getQt(env, obj))->protected_setFocusSection((int) s); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateEdit_setMaxValue(JNIEnv* env, jobject obj, jobject d) +{ +static TQDate* _qdate_d = 0; + ((TQDateEdit*) QtSupport::getQt(env, obj))->setMaxValue((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, d, &_qdate_d)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateEdit_setMinValue(JNIEnv* env, jobject obj, jobject d) +{ +static TQDate* _qdate_d = 0; + ((TQDateEdit*) QtSupport::getQt(env, obj))->setMinValue((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, d, &_qdate_d)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateEdit_setMonth(JNIEnv* env, jobject obj, jint month) +{ + ((TQDateEditJBridge*) QtSupport::getQt(env, obj))->protected_setMonth((int) month); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateEdit_setOrder(JNIEnv* env, jobject obj, jint order) +{ + ((TQDateEdit*) QtSupport::getQt(env, obj))->setOrder((TQDateEdit::Order) order); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateEdit_setRange(JNIEnv* env, jobject obj, jobject min, jobject max) +{ +static TQDate* _qdate_min = 0; +static TQDate* _qdate_max = 0; + ((TQDateEdit*) QtSupport::getQt(env, obj))->setRange((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, min, &_qdate_min), (const TQDate&)*(TQDate*) QtSupport::toTQDate(env, max, &_qdate_max)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateEdit_setSeparator(JNIEnv* env, jobject obj, jstring s) +{ +static TQString* _qstring_s = 0; + ((TQDateEdit*) QtSupport::getQt(env, obj))->setSeparator((const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateEdit_setYear(JNIEnv* env, jobject obj, jint year) +{ + ((TQDateEditJBridge*) QtSupport::getQt(env, obj))->protected_setYear((int) year); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDateEdit_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQDateEdit*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateEdit_stepDown(JNIEnv* env, jobject obj) +{ + ((TQDateEditJBridge*) QtSupport::getQt(env, obj))->protected_stepDown(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateEdit_stepUp(JNIEnv* env, jobject obj) +{ + ((TQDateEditJBridge*) QtSupport::getQt(env, obj))->protected_stepUp(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateEdit_timerEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQDateEditJBridge*) QtSupport::getQt(env, obj))->protected_timerEvent((TQTimerEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDateEdit_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQDateEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDateEdit_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQDateEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateEdit_updateButtons(JNIEnv* env, jobject obj) +{ + ((TQDateEditJBridge*) QtSupport::getQt(env, obj))->protected_updateButtons(); + return; +} + diff --git a/qtjava/javalib/qtjava/TQDateEdit.h b/qtjava/javalib/qtjava/TQDateEdit.h new file mode 100644 index 00000000..f1f1d29c --- /dev/null +++ b/qtjava/javalib/qtjava/TQDateEdit.h @@ -0,0 +1,62 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDateEdit__ +#define __org_kde_qt_QDateEdit__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDateEdit_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDateEdit_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_newTQDateEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_newTQDateEdit__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_newTQDateEdit__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_newTQDateEdit__Ljava_util_Calendar_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_newTQDateEdit__Ljava_util_Calendar_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_newTQDateEdit__Ljava_util_Calendar_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDateEdit_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDateEdit_minimumSizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDateEdit_date (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_setOrder (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDateEdit_order (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_setAutoAdvance (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDateEdit_autoAdvance (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_setMinValue (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDateEdit_minValue (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_setMaxValue (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDateEdit_maxValue (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_setRange (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDateEdit_separator (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_setSeparator (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_removeFirstNumber (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_setDate (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDateEdit_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDateEdit_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDateEdit_event (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_timerEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_stepUp (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_stepDown (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDateEdit_sectionFormattedText (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_addNumber (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_removeLastNumber (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDateEdit_setFocusSection (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_setYear (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_setMonth (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_setDay (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_fix (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDateEdit_outOfRange (JNIEnv *env, jobject, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_updateButtons (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDateEdit_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDateEdit__ */ diff --git a/qtjava/javalib/qtjava/TQDateTimeEdit.cpp b/qtjava/javalib/qtjava/TQDateTimeEdit.cpp new file mode 100644 index 00000000..3c68d35a --- /dev/null +++ b/qtjava/javalib/qtjava/TQDateTimeEdit.cpp @@ -0,0 +1,595 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +class TQDateTimeEditJBridge : public TQDateTimeEdit +{ +public: + TQDateTimeEditJBridge(TQWidget* arg1,const char* arg2) : TQDateTimeEdit(arg1,arg2) {}; + TQDateTimeEditJBridge(TQWidget* arg1) : TQDateTimeEdit(arg1) {}; + TQDateTimeEditJBridge() : TQDateTimeEdit() {}; + TQDateTimeEditJBridge(const TQDateTime& arg1,TQWidget* arg2,const char* arg3) : TQDateTimeEdit(arg1,arg2,arg3) {}; + TQDateTimeEditJBridge(const TQDateTime& arg1,TQWidget* arg2) : TQDateTimeEdit(arg1,arg2) {}; + TQDateTimeEditJBridge(const TQDateTime& arg1) : TQDateTimeEdit(arg1) {}; + void protected_init() { + TQDateTimeEdit::init(); + return; + } + void protected_resizeEvent(TQResizeEvent* arg1) { + TQDateTimeEdit::resizeEvent(arg1); + return; + } + void protected_newValue(const TQDate& arg1) { + TQDateTimeEdit::newValue(arg1); + return; + } + void protected_newValue(const TQTime& arg1) { + TQDateTimeEdit::newValue(arg1); + return; + } + ~TQDateTimeEditJBridge() {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")) { + TQDateTimeEdit::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.qt.TQDateTimeEdit","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.qt.TQDateTimeEdit","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.qt.TQDateTimeEdit","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.qt.TQDateTimeEdit","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.qt.TQDateTimeEdit","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.qt.TQDateTimeEdit","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDateTimeEdit","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.qt.TQDateTimeEdit","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDateTimeEdit","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.qt.TQDateTimeEdit","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.qt.TQDateTimeEdit",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.qt.TQDateTimeEdit","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDateTimeEdit_autoAdvance(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDateTimeEdit*) QtSupport::getQt(env, obj))->autoAdvance(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDateTimeEdit_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQDateTimeEdit*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDateTimeEdit_dateEdit(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDateTimeEdit*) QtSupport::getQt(env, obj))->dateEdit(), "org.kde.qt.TQDateEdit"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDateTimeEdit_dateTime(JNIEnv* env, jobject obj) +{ + TQDateTime _qdate; + _qdate = ((TQDateTimeEdit*) QtSupport::getQt(env, obj))->dateTime(); + return (jobject) QtSupport::fromTQDateTime(env, (TQDateTime*) &_qdate); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateTimeEdit_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDateTimeEdit_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateTimeEdit_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQDateTimeEdit*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQDateTimeEdit*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateTimeEdit_init(JNIEnv* env, jobject obj) +{ + ((TQDateTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_init(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDateTimeEdit_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDateTimeEdit_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDateTimeEdit*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDateTimeEdit_minimumSizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQDateTimeEdit*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateTimeEdit_newTQDateTimeEdit__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDateTimeEditJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateTimeEdit_newTQDateTimeEdit__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 TQDateTimeEditJBridge((const TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, datetime, &_qdate_datetime))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateTimeEdit_newTQDateTimeEdit__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 TQDateTimeEditJBridge((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_qt_QDateTimeEdit_newTQDateTimeEdit__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 TQDateTimeEditJBridge((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_qt_QDateTimeEdit_newTQDateTimeEdit__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDateTimeEditJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateTimeEdit_newTQDateTimeEdit__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 TQDateTimeEditJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateTimeEdit_newValue__Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jobject d) +{ +static TQDate* _qdate_d = 0; + ((TQDateTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_newValue((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, d, &_qdate_d)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateTimeEdit_newValue__Ljava_util_Date_2(JNIEnv* env, jobject obj, jobject t) +{ +static TQTime* _qtime_t = 0; + ((TQDateTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_newValue((const TQTime&)*(TQTime*) QtSupport::toTQTime(env, t, &_qtime_t)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateTimeEdit_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQDateTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateTimeEdit_setAutoAdvance(JNIEnv* env, jobject obj, jboolean advance) +{ + ((TQDateTimeEdit*) QtSupport::getQt(env, obj))->setAutoAdvance((bool) advance); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateTimeEdit_setDateTime(JNIEnv* env, jobject obj, jobject dt) +{ +static TQDateTime* _qdate_dt = 0; + ((TQDateTimeEdit*) QtSupport::getQt(env, obj))->setDateTime((const TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, dt, &_qdate_dt)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDateTimeEdit_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQDateTimeEdit*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDateTimeEdit_timeEdit(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDateTimeEdit*) QtSupport::getQt(env, obj))->timeEdit(), "org.kde.qt.TQTimeEdit"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDateTimeEdit_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQDateTimeEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDateTimeEdit_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQDateTimeEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQDateTimeEdit.h b/qtjava/javalib/qtjava/TQDateTimeEdit.h new file mode 100644 index 00000000..b314823b --- /dev/null +++ b/qtjava/javalib/qtjava/TQDateTimeEdit.h @@ -0,0 +1,43 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDateTimeEdit__ +#define __org_kde_qt_QDateTimeEdit__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDateTimeEdit_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDateTimeEdit_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEdit_newTQDateTimeEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEdit_newTQDateTimeEdit__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEdit_newTQDateTimeEdit__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEdit_newTQDateTimeEdit__Ljava_util_Calendar_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEdit_newTQDateTimeEdit__Ljava_util_Calendar_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEdit_newTQDateTimeEdit__Ljava_util_Calendar_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDateTimeEdit_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDateTimeEdit_minimumSizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDateTimeEdit_dateTime (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDateTimeEdit_dateEdit (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDateTimeEdit_timeEdit (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEdit_setAutoAdvance (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDateTimeEdit_autoAdvance (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEdit_setDateTime (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDateTimeEdit_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDateTimeEdit_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEdit_init (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEdit_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEdit_newValue__Ljava_util_Calendar_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEdit_newValue__Ljava_util_Date_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEdit_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEdit_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDateTimeEdit_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDateTimeEdit__ */ diff --git a/qtjava/javalib/qtjava/TQDateTimeEditBase.cpp b/qtjava/javalib/qtjava/TQDateTimeEditBase.cpp new file mode 100644 index 00000000..3a3257bf --- /dev/null +++ b/qtjava/javalib/qtjava/TQDateTimeEditBase.cpp @@ -0,0 +1,86 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateTimeEditBase_addNumber(JNIEnv* env, jobject obj, jint sec, jint num) +{ + ((TQDateTimeEditBase*) QtSupport::getQt(env, obj))->addNumber((int) sec, (int) num); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDateTimeEditBase_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQDateTimeEditBase*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDateTimeEditBase_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDateTimeEditBase*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateTimeEditBase_removeLastNumber(JNIEnv* env, jobject obj, jint sec) +{ + ((TQDateTimeEditBase*) QtSupport::getQt(env, obj))->removeLastNumber((int) sec); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDateTimeEditBase_sectionFormattedText(JNIEnv* env, jobject obj, jint sec) +{ + TQString _qstring; + _qstring = ((TQDateTimeEditBase*) QtSupport::getQt(env, obj))->sectionFormattedText((int) sec); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDateTimeEditBase_setFocusSection(JNIEnv* env, jobject obj, jint sec) +{ + jboolean xret = (jboolean) ((TQDateTimeEditBase*) QtSupport::getQt(env, obj))->setFocusSection((int) sec); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateTimeEditBase_stepDown(JNIEnv* env, jobject obj) +{ + ((TQDateTimeEditBase*) QtSupport::getQt(env, obj))->stepDown(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDateTimeEditBase_stepUp(JNIEnv* env, jobject obj) +{ + ((TQDateTimeEditBase*) QtSupport::getQt(env, obj))->stepUp(); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDateTimeEditBase_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQDateTimeEditBase::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDateTimeEditBase_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQDateTimeEditBase::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQDateTimeEditBase.h b/qtjava/javalib/qtjava/TQDateTimeEditBase.h new file mode 100644 index 00000000..1798cb65 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDateTimeEditBase.h @@ -0,0 +1,28 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDateTimeEditBase__ +#define __org_kde_qt_QDateTimeEditBase__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDateTimeEditBase_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDateTimeEditBase_className (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDateTimeEditBase_setFocusSection (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDateTimeEditBase_sectionFormattedText (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEditBase_addNumber (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEditBase_removeLastNumber (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEditBase_stepUp (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEditBase_stepDown (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDateTimeEditBase_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDateTimeEditBase_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDateTimeEditBase__ */ diff --git a/qtjava/javalib/qtjava/TQDesktopWidget.cpp b/qtjava/javalib/qtjava/TQDesktopWidget.cpp new file mode 100644 index 00000000..0c263a62 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDesktopWidget.cpp @@ -0,0 +1,555 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +class TQDesktopWidgetJBridge : public TQDesktopWidget +{ +public: + TQDesktopWidgetJBridge() : TQDesktopWidget() {}; + void protected_resizeEvent(TQResizeEvent* arg1) { + TQDesktopWidget::resizeEvent(arg1); + return; + } + ~TQDesktopWidgetJBridge() {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")) { + TQDesktopWidget::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.qt.TQDesktopWidget","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.qt.TQDesktopWidget","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.qt.TQDesktopWidget","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.qt.TQDesktopWidget","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.qt.TQDesktopWidget","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.qt.TQDesktopWidget","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDesktopWidget","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.qt.TQDesktopWidget","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDesktopWidget","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.qt.TQDesktopWidget","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 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.qt.TQDesktopWidget",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.qt.TQDesktopWidget","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDesktopWidget_availableGeometry__(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRect *) &((TQDesktopWidget*) QtSupport::getQt(env, obj))->availableGeometry(), "org.kde.qt.TQRect"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDesktopWidget_availableGeometry__I(JNIEnv* env, jobject obj, jint screen) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRect *) &((TQDesktopWidget*) QtSupport::getQt(env, obj))->availableGeometry((int) screen), "org.kde.qt.TQRect"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDesktopWidget_availableGeometry__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject point) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRect *) &((TQDesktopWidget*) QtSupport::getQt(env, obj))->availableGeometry((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, point)), "org.kde.qt.TQRect"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDesktopWidget_availableGeometry__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRect *) &((TQDesktopWidget*) QtSupport::getQt(env, obj))->availableGeometry((TQWidget*) QtSupport::getQt(env, widget)), "org.kde.qt.TQRect"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDesktopWidget_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQDesktopWidget*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDesktopWidget_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDesktopWidget_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDesktopWidget_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQDesktopWidget*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQDesktopWidget*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDesktopWidget_insertChild(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQDesktopWidget*) QtSupport::getQt(env, obj))->insertChild((TQObject*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDesktopWidget_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDesktopWidget_isVirtualDesktop(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDesktopWidget*) QtSupport::getQt(env, obj))->isVirtualDesktop(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDesktopWidget_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDesktopWidget*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDesktopWidget_newTQDesktopWidget(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDesktopWidgetJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDesktopWidget_numScreens(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDesktopWidget*) QtSupport::getQt(env, obj))->numScreens(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDesktopWidget_primaryScreen(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDesktopWidget*) QtSupport::getQt(env, obj))->primaryScreen(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDesktopWidget_resizeEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQDesktopWidgetJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDesktopWidget_screenGeometry__(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRect *) &((TQDesktopWidget*) QtSupport::getQt(env, obj))->screenGeometry(), "org.kde.qt.TQRect"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDesktopWidget_screenGeometry__I(JNIEnv* env, jobject obj, jint screen) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRect *) &((TQDesktopWidget*) QtSupport::getQt(env, obj))->screenGeometry((int) screen), "org.kde.qt.TQRect"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDesktopWidget_screenGeometry__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject point) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRect *) &((TQDesktopWidget*) QtSupport::getQt(env, obj))->screenGeometry((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, point)), "org.kde.qt.TQRect"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDesktopWidget_screenGeometry__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRect *) &((TQDesktopWidget*) QtSupport::getQt(env, obj))->screenGeometry((TQWidget*) QtSupport::getQt(env, widget)), "org.kde.qt.TQRect"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDesktopWidget_screenNumber__(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDesktopWidget*) QtSupport::getQt(env, obj))->screenNumber(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDesktopWidget_screenNumber__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1) +{ + jint xret = (jint) ((TQDesktopWidget*) QtSupport::getQt(env, obj))->screenNumber((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDesktopWidget_screenNumber__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) +{ + jint xret = (jint) ((TQDesktopWidget*) QtSupport::getQt(env, obj))->screenNumber((TQWidget*) QtSupport::getQt(env, widget)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDesktopWidget_screen__(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDesktopWidget*) QtSupport::getQt(env, obj))->screen(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDesktopWidget_screen__I(JNIEnv* env, jobject obj, jint screen) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDesktopWidget*) QtSupport::getQt(env, obj))->screen((int) screen), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDesktopWidget_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQDesktopWidgetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDesktopWidget_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQDesktopWidgetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQDesktopWidget.h b/qtjava/javalib/qtjava/TQDesktopWidget.h new file mode 100644 index 00000000..ca030054 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDesktopWidget.h @@ -0,0 +1,44 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDesktopWidget__ +#define __org_kde_qt_QDesktopWidget__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDesktopWidget_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDesktopWidget_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDesktopWidget_newTQDesktopWidget (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDesktopWidget_isVirtualDesktop (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDesktopWidget_numScreens (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDesktopWidget_primaryScreen (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDesktopWidget_screenNumber__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDesktopWidget_screenNumber__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDesktopWidget_screenNumber__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDesktopWidget_screen__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDesktopWidget_screen__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDesktopWidget_screenGeometry__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDesktopWidget_screenGeometry__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDesktopWidget_screenGeometry__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDesktopWidget_screenGeometry__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDesktopWidget_availableGeometry__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDesktopWidget_availableGeometry__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDesktopWidget_availableGeometry__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDesktopWidget_availableGeometry__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDesktopWidget_insertChild (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDesktopWidget_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDesktopWidget_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDesktopWidget_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDesktopWidget_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDesktopWidget_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDesktopWidget_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDesktopWidget__ */ diff --git a/qtjava/javalib/qtjava/TQDial.cpp b/qtjava/javalib/qtjava/TQDial.cpp new file mode 100644 index 00000000..96011df8 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDial.cpp @@ -0,0 +1,904 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include + +#include +#include + +class TQDialJBridge : public TQDial +{ +public: + TQDialJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQDial(arg1,arg2,arg3) {}; + TQDialJBridge(TQWidget* arg1,const char* arg2) : TQDial(arg1,arg2) {}; + TQDialJBridge(TQWidget* arg1) : TQDial(arg1) {}; + TQDialJBridge() : TQDial() {}; + TQDialJBridge(int arg1,int arg2,int arg3,int arg4,TQWidget* arg5,const char* arg6) : TQDial(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TQDialJBridge(int arg1,int arg2,int arg3,int arg4,TQWidget* arg5) : TQDial(arg1,arg2,arg3,arg4,arg5) {}; + TQDialJBridge(int arg1,int arg2,int arg3,int arg4) : TQDial(arg1,arg2,arg3,arg4) {}; + void protected_resizeEvent(TQResizeEvent* arg1) { + TQDial::resizeEvent(arg1); + return; + } + void protected_paintEvent(TQPaintEvent* arg1) { + TQDial::paintEvent(arg1); + return; + } + void protected_keyPressEvent(TQKeyEvent* arg1) { + TQDial::keyPressEvent(arg1); + return; + } + void protected_mousePressEvent(TQMouseEvent* arg1) { + TQDial::mousePressEvent(arg1); + return; + } + void protected_mouseReleaseEvent(TQMouseEvent* arg1) { + TQDial::mouseReleaseEvent(arg1); + return; + } + void protected_mouseMoveEvent(TQMouseEvent* arg1) { + TQDial::mouseMoveEvent(arg1); + return; + } + void protected_wheelEvent(TQWheelEvent* arg1) { + TQDial::wheelEvent(arg1); + return; + } + void protected_focusInEvent(TQFocusEvent* arg1) { + TQDial::focusInEvent(arg1); + return; + } + void protected_focusOutEvent(TQFocusEvent* arg1) { + TQDial::focusOutEvent(arg1); + return; + } + void protected_valueChange() { + TQDial::valueChange(); + return; + } + void protected_rangeChange() { + TQDial::rangeChange(); + return; + } + void protected_repaintScreen(const TQRect* arg1) { + TQDial::repaintScreen(arg1); + return; + } + void protected_repaintScreen() { + TQDial::repaintScreen(); + return; + } + ~TQDialJBridge() {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_stepChange() { + TQRangeControl::stepChange(); + 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")) { + TQDial::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 repaintScreen(const TQRect* arg1) { + if (!QtSupport::eventDelegate(this,"repaintScreen",(void*)arg1,"org.kde.qt.TQRect")) { + TQDial::repaintScreen(arg1); + } + return; + } + void stepChange() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDial","stepChange")) { + TQRangeControl::stepChange(); + } + return; + } + void setActiveWindow() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDial","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.qt.TQDial","show")) { + TQWidget::show(); + } + return; + } + void focusOutEvent(TQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { + TQDial::focusOutEvent(arg1); + } + return; + } + void setFocus() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDial","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.qt.TQDial","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")) { + TQDial::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.qt.TQDial","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.qt.TQDial","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDial","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")) { + TQDial::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")) { + TQDial::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.qt.TQDial","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDial","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")) { + TQDial::mousePressEvent(arg1); + } + return; + } + void mouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQDial::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.qt.TQDial","adjustSize")) { + TQWidget::adjustSize(); + } + return; + } + void wheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQDial::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")) { + TQDial::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.qt.TQDial",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.qt.TQDial","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_addLine(JNIEnv* env, jobject obj) +{ + ((TQDial*) QtSupport::getQt(env, obj))->addLine(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_addPage(JNIEnv* env, jobject obj) +{ + ((TQDial*) QtSupport::getQt(env, obj))->addPage(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDial_bound(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQRangeControl*)(TQDial*) QtSupport::getQt(env, obj))->bound((int) arg1); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDial_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQDial*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_directSetValue(JNIEnv* env, jobject obj, jint val) +{ + ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_directSetValue((int) val); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDial_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQDial*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQDial*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_focusInEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_focusOutEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDial_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDial_lineStep(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDial*) QtSupport::getQt(env, obj))->lineStep(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDial_maxValue(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDial*) QtSupport::getQt(env, obj))->maxValue(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDial_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDial*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDial_minValue(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDial*) QtSupport::getQt(env, obj))->minValue(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDial_minimumSizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQDial*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_newTQDial__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDialJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_newTQDial__IIII(JNIEnv* env, jobject obj, jint minValue, jint maxValue, jint pageStep, jint value) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDialJBridge((int) minValue, (int) maxValue, (int) pageStep, (int) value)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_newTQDial__IIIILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint minValue, jint maxValue, jint pageStep, jint value, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDialJBridge((int) minValue, (int) maxValue, (int) pageStep, (int) value, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_newTQDial__IIIILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint minValue, jint maxValue, jint pageStep, jint value, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDialJBridge((int) minValue, (int) maxValue, (int) pageStep, (int) value, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_newTQDial__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDialJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_newTQDial__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 TQDialJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_newTQDial__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 TQDialJBridge((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_qt_QDial_notchSize(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDial*) QtSupport::getQt(env, obj))->notchSize(); + return xret; +} + +JNIEXPORT jdouble JNICALL +Java_org_kde_qt_QDial_notchTarget(JNIEnv* env, jobject obj) +{ + jdouble xret = (jdouble) ((TQDial*) QtSupport::getQt(env, obj))->notchTarget(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDial_notchesVisible(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDial*) QtSupport::getQt(env, obj))->notchesVisible(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDial_pageStep(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDial*) QtSupport::getQt(env, obj))->pageStep(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_paintEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDial_positionFromValue(JNIEnv* env, jobject obj, jint val, jint space) +{ + jint xret = (jint) ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_positionFromValue((int) val, (int) space); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDial_prevValue(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_prevValue(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_rangeChange(JNIEnv* env, jobject obj) +{ + ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_rangeChange(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_repaintScreen__(JNIEnv* env, jobject obj) +{ + ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_repaintScreen(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_repaintScreen__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject cr) +{ + ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_repaintScreen((const TQRect*) QtSupport::getQt(env, cr)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_setLineStep(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQDial*) QtSupport::getQt(env, obj))->setLineStep((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_setMaxValue(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQDial*) QtSupport::getQt(env, obj))->setMaxValue((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_setMinValue(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQDial*) QtSupport::getQt(env, obj))->setMinValue((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_setNotchTarget(JNIEnv* env, jobject obj, jdouble arg1) +{ + ((TQDial*) QtSupport::getQt(env, obj))->setNotchTarget((double) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_setNotchesVisible(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQDial*) QtSupport::getQt(env, obj))->setNotchesVisible((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_setPageStep(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQDial*) QtSupport::getQt(env, obj))->setPageStep((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_setRange(JNIEnv* env, jobject obj, jint minValue, jint maxValue) +{ + ((TQRangeControl*)(TQDial*) QtSupport::getQt(env, obj))->setRange((int) minValue, (int) maxValue); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_setSteps(JNIEnv* env, jobject obj, jint line, jint page) +{ + ((TQRangeControl*)(TQDial*) QtSupport::getQt(env, obj))->setSteps((int) line, (int) page); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_setTracking(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TQDial*) QtSupport::getQt(env, obj))->setTracking((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_setValue(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQDial*) QtSupport::getQt(env, obj))->setValue((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_setWrapping(JNIEnv* env, jobject obj, jboolean on) +{ + ((TQDial*) QtSupport::getQt(env, obj))->setWrapping((bool) on); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDial_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQDial*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_stepChange(JNIEnv* env, jobject obj) +{ + ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_stepChange(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_subtractLine(JNIEnv* env, jobject obj) +{ + ((TQDial*) QtSupport::getQt(env, obj))->subtractLine(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_subtractPage(JNIEnv* env, jobject obj) +{ + ((TQDial*) QtSupport::getQt(env, obj))->subtractPage(); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDial_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQDialJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDial_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQDialJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDial_tracking(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDial*) QtSupport::getQt(env, obj))->tracking(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_valueChange(JNIEnv* env, jobject obj) +{ + ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_valueChange(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDial_valueFromPosition(JNIEnv* env, jobject obj, jint pos, jint space) +{ + jint xret = (jint) ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_valueFromPosition((int) pos, (int) space); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDial_value(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDial*) QtSupport::getQt(env, obj))->value(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDial_wheelEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDial_wrapping(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDial*) QtSupport::getQt(env, obj))->wrapping(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQDial.h b/qtjava/javalib/qtjava/TQDial.h new file mode 100644 index 00000000..8110ad02 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDial.h @@ -0,0 +1,78 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDial__ +#define __org_kde_qt_QDial__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDial_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDial_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_newTQDial__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_newTQDial__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_newTQDial__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_newTQDial__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_newTQDial__IIIILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_newTQDial__IIIILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_newTQDial__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDial_tracking (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDial_wrapping (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDial_notchSize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_setNotchTarget (JNIEnv *env, jobject, jdouble); +extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QDial_notchTarget (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDial_notchesVisible (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDial_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDial_minimumSizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDial_minValue (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDial_maxValue (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_setMinValue (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_setMaxValue (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDial_lineStep (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDial_pageStep (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_setLineStep (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_setPageStep (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDial_value (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_setValue (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_addLine (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_subtractLine (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_addPage (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_subtractPage (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_setNotchesVisible (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_setWrapping (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_setTracking (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDial_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDial_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_paintEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_keyPressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_mousePressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_mouseReleaseEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_mouseMoveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_wheelEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_focusInEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_focusOutEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_valueChange (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_rangeChange (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_repaintScreen__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_repaintScreen__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDial_isDisposed (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_setRange (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_setSteps (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDial_bound (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDial_positionFromValue (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDial_valueFromPosition (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_directSetValue (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDial_prevValue (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_stepChange (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDial__ */ diff --git a/qtjava/javalib/qtjava/TQDialog.cpp b/qtjava/javalib/qtjava/TQDialog.cpp new file mode 100644 index 00000000..a8ef984e --- /dev/null +++ b/qtjava/javalib/qtjava/TQDialog.cpp @@ -0,0 +1,727 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQDialogJBridge : public TQDialog +{ +public: + TQDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3,TQt::WFlags arg4) : TQDialog(arg1,arg2,arg3,arg4) {}; + TQDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3) : TQDialog(arg1,arg2,arg3) {}; + TQDialogJBridge(TQWidget* arg1,const char* arg2) : TQDialog(arg1,arg2) {}; + TQDialogJBridge(TQWidget* arg1) : TQDialog(arg1) {}; + TQDialogJBridge() : TQDialog() {}; + void protected_setResult(int arg1) { + TQDialog::setResult(arg1); + return; + } + void protected_keyPressEvent(TQKeyEvent* arg1) { + TQDialog::keyPressEvent(arg1); + return; + } + void protected_closeEvent(TQCloseEvent* arg1) { + TQDialog::closeEvent(arg1); + return; + } + void protected_resizeEvent(TQResizeEvent* arg1) { + TQDialog::resizeEvent(arg1); + return; + } + void protected_contextMenuEvent(TQContextMenuEvent* arg1) { + TQDialog::contextMenuEvent(arg1); + return; + } + bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { + return (bool) TQDialog::eventFilter(arg1,arg2); + } + void protected_adjustPosition(TQWidget* arg1) { + TQDialog::adjustPosition(arg1); + return; + } + void protected_done(int arg1) { + TQDialog::done(arg1); + return; + } + void protected_accept() { + TQDialog::accept(); + return; + } + void protected_reject() { + TQDialog::reject(); + return; + } + void protected_showExtension(bool arg1) { + TQDialog::showExtension(arg1); + return; + } + ~TQDialogJBridge() {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.qt.TQDialog","accept")) { + TQDialog::accept(); + } + return; + } + void setActiveWindow() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDialog","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.qt.TQDialog","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.qt.TQDialog","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.qt.TQDialog","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDialog","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.qt.TQDialog","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDialog","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.qt.TQDialog","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.qt.TQDialog","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.qt.TQDialog","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDialog_accept(JNIEnv* env, jobject obj) +{ + ((TQDialogJBridge*) QtSupport::getQt(env, obj))->protected_accept(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDialog_adjustPosition(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQDialogJBridge*) QtSupport::getQt(env, obj))->protected_adjustPosition((TQWidget*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDialog_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQDialog*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDialog_closeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQDialogJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TQCloseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDialog_contextMenuEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQDialogJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDialog_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDialog_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDialog_done(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQDialogJBridge*) QtSupport::getQt(env, obj))->protected_done((int) arg1); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDialog_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) +{ + jboolean xret = (jboolean) ((TQDialogJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDialog_exec(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDialog*) QtSupport::getQt(env, obj))->exec(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDialog_extension(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDialog*) QtSupport::getQt(env, obj))->extension(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDialog_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQDialog*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDialog_hide(JNIEnv* env, jobject obj) +{ + ((TQDialog*) QtSupport::getQt(env, obj))->hide(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDialog_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDialog_isModal(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDialog*) QtSupport::getQt(env, obj))->isModal(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDialog_isSizeGripEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDialog*) QtSupport::getQt(env, obj))->isSizeGripEnabled(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDialog_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQDialogJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDialog_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDialog_minimumSizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQDialog*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDialog_move__II(JNIEnv* env, jobject obj, jint x, jint y) +{ + ((TQDialog*) QtSupport::getQt(env, obj))->move((int) x, (int) y); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDialog_move__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject p) +{ + ((TQDialog*) QtSupport::getQt(env, obj))->move((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDialog_newTQDialog__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDialogJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDialog_newTQDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDialogJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDialog_newTQDialog__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 TQDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDialog_newTQDialog__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 TQDialogJBridge((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_qt_QDialog_newTQDialog__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 TQDialogJBridge((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 jint JNICALL +Java_org_kde_qt_QDialog_orientation(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDialog*) QtSupport::getQt(env, obj))->orientation(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDialog_reject(JNIEnv* env, jobject obj) +{ + ((TQDialogJBridge*) QtSupport::getQt(env, obj))->protected_reject(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDialog_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQDialogJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDialog_resize__II(JNIEnv* env, jobject obj, jint w, jint h) +{ + ((TQDialog*) QtSupport::getQt(env, obj))->resize((int) w, (int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDialog_resize__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQDialog*) QtSupport::getQt(env, obj))->resize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDialog_result(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDialog*) QtSupport::getQt(env, obj))->result(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDialog_setExtension(JNIEnv* env, jobject obj, jobject extension) +{ + ((TQDialog*) QtSupport::getQt(env, obj))->setExtension((TQWidget*) QtSupport::getQt(env, extension)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDialog_setGeometry__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) +{ + ((TQDialog*) QtSupport::getQt(env, obj))->setGeometry((int) x, (int) y, (int) w, (int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDialog_setGeometry__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQDialog*) QtSupport::getQt(env, obj))->setGeometry((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDialog_setModal(JNIEnv* env, jobject obj, jboolean modal) +{ + ((TQDialog*) QtSupport::getQt(env, obj))->setModal((bool) modal); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDialog_setOrientation(JNIEnv* env, jobject obj, jint orientation) +{ + ((TQDialog*) QtSupport::getQt(env, obj))->setOrientation((TQt::Orientation) orientation); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDialog_setResult(JNIEnv* env, jobject obj, jint r) +{ + ((TQDialogJBridge*) QtSupport::getQt(env, obj))->protected_setResult((int) r); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDialog_setSizeGripEnabled(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQDialog*) QtSupport::getQt(env, obj))->setSizeGripEnabled((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDialog_showExtension(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQDialogJBridge*) QtSupport::getQt(env, obj))->protected_showExtension((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDialog_show(JNIEnv* env, jobject obj) +{ + ((TQDialog*) QtSupport::getQt(env, obj))->show(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDialog_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQDialog*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDialog_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQDialogJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDialog_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQDialogJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQDialog.h b/qtjava/javalib/qtjava/TQDialog.h new file mode 100644 index 00000000..abfb688e --- /dev/null +++ b/qtjava/javalib/qtjava/TQDialog.h @@ -0,0 +1,61 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDialog__ +#define __org_kde_qt_QDialog__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDialog_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDialog_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_newTQDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZI (JNIEnv *env, jobject, jobject, jstring, jboolean, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_newTQDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_newTQDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_newTQDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_newTQDialog__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDialog_result (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_show (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_hide (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_move__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_move__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_resize__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_resize__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_setGeometry__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_setGeometry__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_setOrientation (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDialog_orientation (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_setExtension (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDialog_extension (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDialog_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDialog_minimumSizeHint (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_setSizeGripEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDialog_isSizeGripEnabled (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_setModal (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDialog_isModal (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDialog_exec (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDialog_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDialog_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_setResult (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_keyPressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_closeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_contextMenuEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDialog_eventFilter (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_adjustPosition (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_done (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_accept (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_reject (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_showExtension (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDialog_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDialog__ */ diff --git a/qtjava/javalib/qtjava/TQDir.cpp b/qtjava/javalib/qtjava/TQDir.cpp new file mode 100644 index 00000000..6b3c26c2 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDir.cpp @@ -0,0 +1,645 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +class TQDirJBridge : public TQDir +{ +public: + TQDirJBridge() : TQDir() {}; + TQDirJBridge(const TQString& arg1,const TQString& arg2,int arg3,int arg4) : TQDir(arg1,arg2,arg3,arg4) {}; + TQDirJBridge(const TQString& arg1,const TQString& arg2,int arg3) : TQDir(arg1,arg2,arg3) {}; + TQDirJBridge(const TQString& arg1,const TQString& arg2) : TQDir(arg1,arg2) {}; + TQDirJBridge(const TQString& arg1) : TQDir(arg1) {}; + TQDirJBridge(const TQDir& arg1) : TQDir(arg1) {}; + void public_convertToAbs() { + TQDir::convertToAbs(); + return; + } + ~TQDirJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDir_absFilePath__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName) +{ + TQString _qstring; +static TQString* _qstring_fileName = 0; + _qstring = ((TQDir*) QtSupport::getQt(env, obj))->absFilePath((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDir_absFilePath__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring fileName, jboolean acceptAbsPath) +{ + TQString _qstring; +static TQString* _qstring_fileName = 0; + _qstring = ((TQDir*) QtSupport::getQt(env, obj))->absFilePath((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (bool) acceptAbsPath); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDir_absPath(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQDir*) QtSupport::getQt(env, obj))->absPath(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDir_canonicalPath(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQDir*) QtSupport::getQt(env, obj))->canonicalPath(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDir_cdUp(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->cdUp(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDir_cd__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring dirName) +{ +static TQString* _qstring_dirName = 0; + jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->cd((const TQString&)*(TQString*) QtSupport::toTQString(env, dirName, &_qstring_dirName)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDir_cd__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring dirName, jboolean acceptAbsPath) +{ +static TQString* _qstring_dirName = 0; + jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->cd((const TQString&)*(TQString*) QtSupport::toTQString(env, dirName, &_qstring_dirName), (bool) acceptAbsPath); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDir_cleanDirPath(JNIEnv* env, jclass cls, jstring dirPath) +{ + TQString _qstring; + (void) cls; +static TQString* _qstring_dirPath = 0; + _qstring = TQDirJBridge::cleanDirPath((const TQString&)*(TQString*) QtSupport::toTQString(env, dirPath, &_qstring_dirPath)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDir_convertSeparators(JNIEnv* env, jclass cls, jstring pathName) +{ + TQString _qstring; + (void) cls; +static TQString* _qstring_pathName = 0; + _qstring = TQDirJBridge::convertSeparators((const TQString&)*(TQString*) QtSupport::toTQString(env, pathName, &_qstring_pathName)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDir_convertToAbs(JNIEnv* env, jobject obj) +{ + ((TQDirJBridge*) QtSupport::getQt(env, obj))->public_convertToAbs(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDir_count(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDir*) QtSupport::getQt(env, obj))->count(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDir_currentDirPath(JNIEnv* env, jclass cls) +{ + TQString _qstring; + (void) cls; + _qstring = TQDirJBridge::currentDirPath(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDir_current(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDir(TQDirJBridge::current()), "org.kde.qt.TQDir", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDir_dirName(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQDir*) QtSupport::getQt(env, obj))->dirName(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDir_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDir_finalize(env, obj); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDir_encodedEntryList__(JNIEnv* env, jobject obj) +{ + TQStrList _qlist; + _qlist = ((TQDir*) QtSupport::getQt(env, obj))->encodedEntryList(); + return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDir_encodedEntryList__I(JNIEnv* env, jobject obj, jint filterSpec) +{ + TQStrList _qlist; + _qlist = ((TQDir*) QtSupport::getQt(env, obj))->encodedEntryList((int) filterSpec); + return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDir_encodedEntryList__II(JNIEnv* env, jobject obj, jint filterSpec, jint sortSpec) +{ + TQStrList _qlist; + _qlist = ((TQDir*) QtSupport::getQt(env, obj))->encodedEntryList((int) filterSpec, (int) sortSpec); + return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDir_encodedEntryList__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring nameFilter) +{ + TQStrList _qlist; +static TQString* _qstring_nameFilter = 0; + _qlist = ((TQDir*) QtSupport::getQt(env, obj))->encodedEntryList((const TQString&)*(TQString*) QtSupport::toTQString(env, nameFilter, &_qstring_nameFilter)); + return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDir_encodedEntryList__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring nameFilter, jint filterSpec) +{ + TQStrList _qlist; +static TQString* _qstring_nameFilter = 0; + _qlist = ((TQDir*) QtSupport::getQt(env, obj))->encodedEntryList((const TQString&)*(TQString*) QtSupport::toTQString(env, nameFilter, &_qstring_nameFilter), (int) filterSpec); + return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDir_encodedEntryList__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring nameFilter, jint filterSpec, jint sortSpec) +{ + TQStrList _qlist; +static TQString* _qstring_nameFilter = 0; + _qlist = ((TQDir*) QtSupport::getQt(env, obj))->encodedEntryList((const TQString&)*(TQString*) QtSupport::toTQString(env, nameFilter, &_qstring_nameFilter), (int) filterSpec, (int) sortSpec); + return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDir_entryList__(JNIEnv* env, jobject obj) +{ + TQStringList _qlist; + _qlist = ((TQDir*) QtSupport::getQt(env, obj))->entryList(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDir_entryList__I(JNIEnv* env, jobject obj, jint filterSpec) +{ + TQStringList _qlist; + _qlist = ((TQDir*) QtSupport::getQt(env, obj))->entryList((int) filterSpec); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDir_entryList__II(JNIEnv* env, jobject obj, jint filterSpec, jint sortSpec) +{ + TQStringList _qlist; + _qlist = ((TQDir*) QtSupport::getQt(env, obj))->entryList((int) filterSpec, (int) sortSpec); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDir_entryList__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring nameFilter) +{ + TQStringList _qlist; +static TQString* _qstring_nameFilter = 0; + _qlist = ((TQDir*) QtSupport::getQt(env, obj))->entryList((const TQString&)*(TQString*) QtSupport::toTQString(env, nameFilter, &_qstring_nameFilter)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDir_entryList__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring nameFilter, jint filterSpec) +{ + TQStringList _qlist; +static TQString* _qstring_nameFilter = 0; + _qlist = ((TQDir*) QtSupport::getQt(env, obj))->entryList((const TQString&)*(TQString*) QtSupport::toTQString(env, nameFilter, &_qstring_nameFilter), (int) filterSpec); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDir_entryList__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring nameFilter, jint filterSpec, jint sortSpec) +{ + TQStringList _qlist; +static TQString* _qstring_nameFilter = 0; + _qlist = ((TQDir*) QtSupport::getQt(env, obj))->entryList((const TQString&)*(TQString*) QtSupport::toTQString(env, nameFilter, &_qstring_nameFilter), (int) filterSpec, (int) sortSpec); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDir_exists__(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->exists(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDir_exists__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->exists((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDir_exists__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring name, jboolean acceptAbsPath) +{ +static TQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->exists((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (bool) acceptAbsPath); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDir_filePath__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName) +{ + TQString _qstring; +static TQString* _qstring_fileName = 0; + _qstring = ((TQDir*) QtSupport::getQt(env, obj))->filePath((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDir_filePath__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring fileName, jboolean acceptAbsPath) +{ + TQString _qstring; +static TQString* _qstring_fileName = 0; + _qstring = ((TQDir*) QtSupport::getQt(env, obj))->filePath((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (bool) acceptAbsPath); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDir_filter(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDir*) QtSupport::getQt(env, obj))->filter(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDir_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQDir*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDir_homeDirPath(JNIEnv* env, jclass cls) +{ + TQString _qstring; + (void) cls; + _qstring = TQDirJBridge::homeDirPath(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDir_home(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDir(TQDirJBridge::home()), "org.kde.qt.TQDir", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDir_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDir_isReadable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->isReadable(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDir_isRelativePath(JNIEnv* env, jclass cls, jstring path) +{ + (void) cls; +static TQString* _qstring_path = 0; + jboolean xret = (jboolean) TQDirJBridge::isRelativePath((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDir_isRelative(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->isRelative(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDir_isRoot(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->isRoot(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDir_matchAllDirs(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->matchAllDirs(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDir_match__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filter, jstring fileName) +{ + (void) cls; +static TQString* _qstring_filter = 0; +static TQString* _qstring_fileName = 0; + jboolean xret = (jboolean) TQDirJBridge::match((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDir_match___3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobjectArray filters, jstring fileName) +{ + (void) cls; +static TQStringList* _qlist_filters = 0; +static TQString* _qstring_fileName = 0; + jboolean xret = (jboolean) TQDirJBridge::match((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, filters, &_qlist_filters), (const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDir_mkdir__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring dirName) +{ +static TQString* _qstring_dirName = 0; + jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->mkdir((const TQString&)*(TQString*) QtSupport::toTQString(env, dirName, &_qstring_dirName)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDir_mkdir__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring dirName, jboolean acceptAbsPath) +{ +static TQString* _qstring_dirName = 0; + jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->mkdir((const TQString&)*(TQString*) QtSupport::toTQString(env, dirName, &_qstring_dirName), (bool) acceptAbsPath); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDir_nameFilter(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQDir*) QtSupport::getQt(env, obj))->nameFilter(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDir_newTQDir__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDirJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDir_newTQDir__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 TQDirJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDir_newTQDir__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring path, jstring nameFilter) +{ +static TQString* _qstring_path = 0; +static TQString* _qstring_nameFilter = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDirJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (const TQString&)*(TQString*) QtSupport::toTQString(env, nameFilter, &_qstring_nameFilter))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDir_newTQDir__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring path, jstring nameFilter, jint sortSpec) +{ +static TQString* _qstring_path = 0; +static TQString* _qstring_nameFilter = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDirJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (const TQString&)*(TQString*) QtSupport::toTQString(env, nameFilter, &_qstring_nameFilter), (int) sortSpec)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDir_newTQDir__Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring path, jstring nameFilter, jint sortSpec, jint filterSpec) +{ +static TQString* _qstring_path = 0; +static TQString* _qstring_nameFilter = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDirJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (const TQString&)*(TQString*) QtSupport::toTQString(env, nameFilter, &_qstring_nameFilter), (int) sortSpec, (int) filterSpec)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDir_newTQDir__Lorg_kde_qt_QDir_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDirJBridge((const TQDir&)*(const TQDir*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDir_op_1at(JNIEnv* env, jobject obj, jint arg1) +{ + TQString _qstring; + _qstring = ((TQDir*) QtSupport::getQt(env, obj))->operator[]((int) arg1); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDir_op_1equals(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->operator==((const TQDir&)*(const TQDir*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDir_op_1not_1equals(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->operator!=((const TQDir&)*(const TQDir*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDir_path(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQDir*) QtSupport::getQt(env, obj))->path(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDir_refresh(JNIEnv* env, jobject obj) +{ + ((TQDir*) QtSupport::getQt(env, obj))->refresh(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDir_remove__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName) +{ +static TQString* _qstring_fileName = 0; + jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->remove((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDir_remove__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring fileName, jboolean acceptAbsPath) +{ +static TQString* _qstring_fileName = 0; + jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->remove((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (bool) acceptAbsPath); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDir_rename__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring newName) +{ +static TQString* _qstring_name = 0; +static TQString* _qstring_newName = 0; + jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->rename((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, newName, &_qstring_newName)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDir_rename__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring name, jstring newName, jboolean acceptAbsPaths) +{ +static TQString* _qstring_name = 0; +static TQString* _qstring_newName = 0; + jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->rename((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, newName, &_qstring_newName), (bool) acceptAbsPaths); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDir_rmdir__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring dirName) +{ +static TQString* _qstring_dirName = 0; + jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->rmdir((const TQString&)*(TQString*) QtSupport::toTQString(env, dirName, &_qstring_dirName)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDir_rmdir__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring dirName, jboolean acceptAbsPath) +{ +static TQString* _qstring_dirName = 0; + jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->rmdir((const TQString&)*(TQString*) QtSupport::toTQString(env, dirName, &_qstring_dirName), (bool) acceptAbsPath); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDir_rootDirPath(JNIEnv* env, jclass cls) +{ + TQString _qstring; + (void) cls; + _qstring = TQDirJBridge::rootDirPath(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDir_root(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDir(TQDirJBridge::root()), "org.kde.qt.TQDir", TRUE); + return xret; +} + +JNIEXPORT jchar JNICALL +Java_org_kde_qt_QDir_separator(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jchar xret = (jchar) TQDirJBridge::separator(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDir_setCurrent(JNIEnv* env, jclass cls, jstring path) +{ + (void) cls; +static TQString* _qstring_path = 0; + jboolean xret = (jboolean) TQDirJBridge::setCurrent((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDir_setFilter(JNIEnv* env, jobject obj, jint filterSpec) +{ + ((TQDir*) QtSupport::getQt(env, obj))->setFilter((int) filterSpec); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDir_setMatchAllDirs(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQDir*) QtSupport::getQt(env, obj))->setMatchAllDirs((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDir_setNameFilter(JNIEnv* env, jobject obj, jstring nameFilter) +{ +static TQString* _qstring_nameFilter = 0; + ((TQDir*) QtSupport::getQt(env, obj))->setNameFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, nameFilter, &_qstring_nameFilter)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDir_setPath(JNIEnv* env, jobject obj, jstring path) +{ +static TQString* _qstring_path = 0; + ((TQDir*) QtSupport::getQt(env, obj))->setPath((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDir_setSorting(JNIEnv* env, jobject obj, jint sortSpec) +{ + ((TQDir*) QtSupport::getQt(env, obj))->setSorting((int) sortSpec); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDir_sorting(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDir*) QtSupport::getQt(env, obj))->sorting(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQDir.h b/qtjava/javalib/qtjava/TQDir.h new file mode 100644 index 00000000..590e34e5 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDir.h @@ -0,0 +1,92 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDir__ +#define __org_kde_qt_QDir__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDir_newTQDir__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDir_newTQDir__Ljava_lang_String_2Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jstring, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDir_newTQDir__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDir_newTQDir__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDir_newTQDir__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDir_newTQDir__Lorg_kde_qt_QDir_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDir_setPath (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDir_path (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDir_absPath (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDir_canonicalPath (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDir_dirName (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDir_filePath__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDir_filePath__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDir_absFilePath__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDir_absFilePath__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_cd__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_cd__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_cdUp (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDir_nameFilter (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDir_setNameFilter (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDir_filter (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDir_setFilter (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDir_sorting (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDir_setSorting (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_matchAllDirs (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDir_setMatchAllDirs (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDir_count (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDir_op_1at (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDir_encodedEntryList__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDir_encodedEntryList__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDir_encodedEntryList__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDir_encodedEntryList__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDir_encodedEntryList__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDir_encodedEntryList__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDir_entryList__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDir_entryList__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDir_entryList__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDir_entryList__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDir_entryList__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDir_entryList__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_mkdir__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_mkdir__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_rmdir__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_rmdir__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_isReadable (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_exists__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_isRoot (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_isRelative (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDir_convertToAbs (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_op_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_op_1not_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_remove__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_remove__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_rename__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_rename__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_exists__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_exists__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDir_refresh (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDir_convertSeparators (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jchar JNICALL Java_org_kde_qt_QDir_separator (JNIEnv *env, jclass); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_setCurrent (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDir_current (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDir_home (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDir_root (JNIEnv *env, jclass); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDir_currentDirPath (JNIEnv *env, jclass); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDir_homeDirPath (JNIEnv *env, jclass); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDir_rootDirPath (JNIEnv *env, jclass); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_match___3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobjectArray, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_match__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDir_cleanDirPath (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_isRelativePath (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDir_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDir_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDir__ */ diff --git a/qtjava/javalib/qtjava/TQDockArea.cpp b/qtjava/javalib/qtjava/TQDockArea.cpp new file mode 100644 index 00000000..57c9ce82 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDockArea.cpp @@ -0,0 +1,573 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include + +#include +#include + +class TQDockAreaJBridge : public TQDockArea +{ +public: + TQDockAreaJBridge(TQt::Orientation arg1,TQDockArea::HandlePosition arg2,TQWidget* arg3,const char* arg4) : TQDockArea(arg1,arg2,arg3,arg4) {}; + TQDockAreaJBridge(TQt::Orientation arg1,TQDockArea::HandlePosition arg2,TQWidget* arg3) : TQDockArea(arg1,arg2,arg3) {}; + TQDockAreaJBridge(TQt::Orientation arg1,TQDockArea::HandlePosition arg2) : TQDockArea(arg1,arg2) {}; + TQDockAreaJBridge(TQt::Orientation arg1) : TQDockArea(arg1) {}; + ~TQDockAreaJBridge() {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.qt.TQDockArea","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.qt.TQDockArea","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.qt.TQDockArea","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.qt.TQDockArea","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.qt.TQDockArea","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.qt.TQDockArea","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDockArea","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.qt.TQDockArea","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDockArea","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.qt.TQDockArea","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.qt.TQDockArea","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDockArea_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQDockArea*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDockArea_count(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDockArea*) QtSupport::getQt(env, obj))->count(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockArea_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDockArea_finalize(env, obj); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDockArea_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) +{ + jboolean xret = (jboolean) ((TQDockArea*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockArea_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQDockArea*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQDockArea*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDockArea_handlePosition(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDockArea*) QtSupport::getQt(env, obj))->handlePosition(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDockArea_hasDockWindow__Lorg_kde_qt_QDockWindow_2(JNIEnv* env, jobject obj, jobject w) +{ + jboolean xret = (jboolean) ((TQDockArea*) QtSupport::getQt(env, obj))->hasDockWindow((TQDockWindow*) QtSupport::getQt(env, w)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDockArea_hasDockWindow__Lorg_kde_qt_QDockWindow_2_3I(JNIEnv* env, jobject obj, jobject w, jintArray index) +{ + int* _int_index = QtSupport::toIntPtr(env, index); + jboolean xret = (jboolean) ((TQDockArea*) QtSupport::getQt(env, obj))->hasDockWindow((TQDockWindow*) QtSupport::getQt(env, w), (int*) _int_index); + env->SetIntArrayRegion(index, 0, 1, (jint *) _int_index); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockArea_invalidNextOffset(JNIEnv* env, jobject obj, jobject dw) +{ + ((TQDockArea*) QtSupport::getQt(env, obj))->invalidNextOffset((TQDockWindow*) QtSupport::getQt(env, dw)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDockArea_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDockArea_isDockWindowAccepted(JNIEnv* env, jobject obj, jobject dw) +{ + jboolean xret = (jboolean) ((TQDockArea*) QtSupport::getQt(env, obj))->isDockWindowAccepted((TQDockWindow*) QtSupport::getQt(env, dw)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDockArea_isEmpty(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDockArea*) QtSupport::getQt(env, obj))->isEmpty(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockArea_lineUp(JNIEnv* env, jobject obj, jboolean keepNewLines) +{ + ((TQDockArea*) QtSupport::getQt(env, obj))->lineUp((bool) keepNewLines); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDockArea_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDockArea*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockArea_moveDockWindow__Lorg_kde_qt_QDockWindow_2(JNIEnv* env, jobject obj, jobject w) +{ + ((TQDockArea*) QtSupport::getQt(env, obj))->moveDockWindow((TQDockWindow*) QtSupport::getQt(env, w)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockArea_moveDockWindow__Lorg_kde_qt_QDockWindow_2I(JNIEnv* env, jobject obj, jobject w, jint index) +{ + ((TQDockArea*) QtSupport::getQt(env, obj))->moveDockWindow((TQDockWindow*) QtSupport::getQt(env, w), (int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockArea_moveDockWindow__Lorg_kde_qt_QDockWindow_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QRect_2Z(JNIEnv* env, jobject obj, jobject w, jobject globalPos, jobject rect, jboolean swap) +{ + ((TQDockArea*) QtSupport::getQt(env, obj))->moveDockWindow((TQDockWindow*) QtSupport::getQt(env, w), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, globalPos), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, rect), (bool) swap); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockArea_newTQDockArea__I(JNIEnv* env, jobject obj, jint o) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDockAreaJBridge((TQt::Orientation) o)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockArea_newTQDockArea__II(JNIEnv* env, jobject obj, jint o, jint h) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDockAreaJBridge((TQt::Orientation) o, (TQDockArea::HandlePosition) h)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockArea_newTQDockArea__IILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint o, jint h, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDockAreaJBridge((TQt::Orientation) o, (TQDockArea::HandlePosition) h, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockArea_newTQDockArea__IILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint o, jint h, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDockAreaJBridge((TQt::Orientation) o, (TQDockArea::HandlePosition) h, (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_qt_QDockArea_orientation(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDockArea*) QtSupport::getQt(env, obj))->orientation(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockArea_removeDockWindow__Lorg_kde_qt_QDockWindow_2ZZ(JNIEnv* env, jobject obj, jobject w, jboolean makeFloating, jboolean swap) +{ + ((TQDockArea*) QtSupport::getQt(env, obj))->removeDockWindow((TQDockWindow*) QtSupport::getQt(env, w), (bool) makeFloating, (bool) swap); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockArea_removeDockWindow__Lorg_kde_qt_QDockWindow_2ZZZ(JNIEnv* env, jobject obj, jobject w, jboolean makeFloating, jboolean swap, jboolean fixNewLines) +{ + ((TQDockArea*) QtSupport::getQt(env, obj))->removeDockWindow((TQDockWindow*) QtSupport::getQt(env, w), (bool) makeFloating, (bool) swap, (bool) fixNewLines); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockArea_setAcceptDockWindow(JNIEnv* env, jobject obj, jobject dw, jboolean accept) +{ + ((TQDockArea*) QtSupport::getQt(env, obj))->setAcceptDockWindow((TQDockWindow*) QtSupport::getQt(env, dw), (bool) accept); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDockArea_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQDockAreaJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDockArea_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQDockAreaJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQDockArea.h b/qtjava/javalib/qtjava/TQDockArea.h new file mode 100644 index 00000000..4bea61df --- /dev/null +++ b/qtjava/javalib/qtjava/TQDockArea.h @@ -0,0 +1,45 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDockArea__ +#define __org_kde_qt_QDockArea__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDockArea_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDockArea_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockArea_newTQDockArea__IILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockArea_newTQDockArea__IILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockArea_newTQDockArea__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockArea_newTQDockArea__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockArea_moveDockWindow__Lorg_kde_qt_QDockWindow_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QRect_2Z (JNIEnv *env, jobject, jobject, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockArea_removeDockWindow__Lorg_kde_qt_QDockWindow_2ZZZ (JNIEnv *env, jobject, jobject, jboolean, jboolean, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockArea_removeDockWindow__Lorg_kde_qt_QDockWindow_2ZZ (JNIEnv *env, jobject, jobject, jboolean, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockArea_moveDockWindow__Lorg_kde_qt_QDockWindow_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockArea_moveDockWindow__Lorg_kde_qt_QDockWindow_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockArea_hasDockWindow__Lorg_kde_qt_QDockWindow_2_3I (JNIEnv *env, jobject, jobject, jintArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockArea_hasDockWindow__Lorg_kde_qt_QDockWindow_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockArea_invalidNextOffset (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDockArea_orientation (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDockArea_handlePosition (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockArea_eventFilter (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockArea_isEmpty (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDockArea_count (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockArea_isDockWindowAccepted (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockArea_setAcceptDockWindow (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockArea_lineUp (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDockArea_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDockArea_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockArea_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockArea_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockArea_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDockArea__ */ diff --git a/qtjava/javalib/qtjava/TQDockWindow.cpp b/qtjava/javalib/qtjava/TQDockWindow.cpp new file mode 100644 index 00000000..b2ec3c79 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDockWindow.cpp @@ -0,0 +1,894 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +class TQDockWindowJBridge : public TQDockWindow +{ +public: + TQDockWindowJBridge(TQDockWindow::Place arg1,TQWidget* arg2,const char* arg3,TQt::WFlags arg4) : TQDockWindow(arg1,arg2,arg3,arg4) {}; + TQDockWindowJBridge(TQDockWindow::Place arg1,TQWidget* arg2,const char* arg3) : TQDockWindow(arg1,arg2,arg3) {}; + TQDockWindowJBridge(TQDockWindow::Place arg1,TQWidget* arg2) : TQDockWindow(arg1,arg2) {}; + TQDockWindowJBridge(TQDockWindow::Place arg1) : TQDockWindow(arg1) {}; + TQDockWindowJBridge() : TQDockWindow() {}; + TQDockWindowJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQDockWindow(arg1,arg2,arg3) {}; + TQDockWindowJBridge(TQWidget* arg1,const char* arg2) : TQDockWindow(arg1,arg2) {}; + TQDockWindowJBridge(TQWidget* arg1) : TQDockWindow(arg1) {}; + void public_undock() { + TQDockWindow::undock(); + return; + } + void public_dock() { + TQDockWindow::dock(); + return; + } + void protected_resizeEvent(TQResizeEvent* arg1) { + TQDockWindow::resizeEvent(arg1); + return; + } + void protected_showEvent(TQShowEvent* arg1) { + TQDockWindow::showEvent(arg1); + return; + } + void protected_hideEvent(TQHideEvent* arg1) { + TQDockWindow::hideEvent(arg1); + return; + } + void protected_contextMenuEvent(TQContextMenuEvent* arg1) { + TQDockWindow::contextMenuEvent(arg1); + return; + } + void protected_drawFrame(TQPainter* arg1) { + TQDockWindow::drawFrame(arg1); + return; + } + void protected_drawContents(TQPainter* arg1) { + TQDockWindow::drawContents(arg1); + return; + } + bool protected_event(TQEvent* arg1) { + return (bool) TQDockWindow::event(arg1); + } + ~TQDockWindowJBridge() {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")) { + TQDockWindow::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.qt.TQDockWindow","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.qt.TQDockWindow","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.qt.TQDockWindow","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.qt.TQDockWindow","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.qt.TQDockWindow","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.qt.TQDockWindow","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDockWindow","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")) { + TQDockWindow::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.qt.TQDockWindow","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")) { + TQObject::childEvent(arg1); + } + return; + } + void undock() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDockWindow","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.qt.TQDockWindow","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDockWindow","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.qt.TQDockWindow","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.qt.TQDockWindow","frameChanged")) { + TQFrame::frameChanged(); + } + return; + } + void showMinimized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDockWindow","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDockWindow_area(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDockWindow*) QtSupport::getQt(env, obj))->area(), "org.kde.qt.TQDockArea"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDockWindow_boxLayout(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDockWindow*) QtSupport::getQt(env, obj))->boxLayout(), "org.kde.qt.TQBoxLayout"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDockWindow_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQDockWindow*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDockWindow_closeMode(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDockWindow*) QtSupport::getQt(env, obj))->closeMode(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockWindow_contextMenuEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQDockWindowJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockWindow_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDockWindow_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockWindow_dock(JNIEnv* env, jobject obj) +{ + ((TQDockWindowJBridge*) QtSupport::getQt(env, obj))->public_dock(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockWindow_drawContents(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQDockWindowJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockWindow_drawFrame(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQDockWindowJBridge*) QtSupport::getQt(env, obj))->protected_drawFrame((TQPainter*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDockWindow_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject e) +{ + jboolean xret = (jboolean) ((TQDockWindow*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, e)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDockWindow_event(JNIEnv* env, jobject obj, jobject e) +{ + jboolean xret = (jboolean) ((TQDockWindowJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, e)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockWindow_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQDockWindow*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQDockWindow*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDockWindow_fixedExtent(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQDockWindow*) QtSupport::getQt(env, obj))->fixedExtent()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockWindow_hideEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQDockWindowJBridge*) QtSupport::getQt(env, obj))->protected_hideEvent((TQHideEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDockWindow_isCloseEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDockWindow*) QtSupport::getQt(env, obj))->isCloseEnabled(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDockWindow_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDockWindow_isHorizontalStretchable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDockWindow*) QtSupport::getQt(env, obj))->isHorizontalStretchable(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDockWindow_isHorizontallyStretchable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDockWindow*) QtSupport::getQt(env, obj))->isHorizontallyStretchable(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDockWindow_isMovingEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDockWindow*) QtSupport::getQt(env, obj))->isMovingEnabled(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDockWindow_isResizeEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDockWindow*) QtSupport::getQt(env, obj))->isResizeEnabled(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDockWindow_isStretchable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDockWindow*) QtSupport::getQt(env, obj))->isStretchable(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDockWindow_isVerticalStretchable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDockWindow*) QtSupport::getQt(env, obj))->isVerticalStretchable(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDockWindow_isVerticallyStretchable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDockWindow*) QtSupport::getQt(env, obj))->isVerticallyStretchable(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDockWindow_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDockWindow*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDockWindow_minimumSizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQDockWindow*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDockWindow_minimumSize(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQDockWindow*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDockWindow_newLine(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDockWindow*) QtSupport::getQt(env, obj))->newLine(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockWindow_newTQDockWindow__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDockWindowJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockWindow_newTQDockWindow__I(JNIEnv* env, jobject obj, jint p) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDockWindowJBridge((TQDockWindow::Place) p)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockWindow_newTQDockWindow__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint p, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDockWindowJBridge((TQDockWindow::Place) p, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockWindow_newTQDockWindow__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint p, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDockWindowJBridge((TQDockWindow::Place) p, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockWindow_newTQDockWindow__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jint p, jobject parent, jstring name, jint f) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDockWindowJBridge((TQDockWindow::Place) p, (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_qt_QDockWindow_newTQDockWindow__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDockWindowJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockWindow_newTQDockWindow__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 TQDockWindowJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockWindow_newTQDockWindow__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 TQDockWindowJBridge((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_qt_QDockWindow_offset(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDockWindow*) QtSupport::getQt(env, obj))->offset(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDockWindow_opaqueMoving(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDockWindow*) QtSupport::getQt(env, obj))->opaqueMoving(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDockWindow_orientation(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDockWindow*) QtSupport::getQt(env, obj))->orientation(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDockWindow_place(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDockWindow*) QtSupport::getQt(env, obj))->place(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockWindow_resizeEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQDockWindowJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockWindow_setCaption(JNIEnv* env, jobject obj, jstring s) +{ +static TQString* _qstring_s = 0; + ((TQDockWindow*) QtSupport::getQt(env, obj))->setCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockWindow_setCloseMode(JNIEnv* env, jobject obj, jint m) +{ + ((TQDockWindow*) QtSupport::getQt(env, obj))->setCloseMode((int) m); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockWindow_setFixedExtentHeight(JNIEnv* env, jobject obj, jint h) +{ + ((TQDockWindow*) QtSupport::getQt(env, obj))->setFixedExtentHeight((int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockWindow_setFixedExtentWidth(JNIEnv* env, jobject obj, jint w) +{ + ((TQDockWindow*) QtSupport::getQt(env, obj))->setFixedExtentWidth((int) w); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockWindow_setHorizontalStretchable(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQDockWindow*) QtSupport::getQt(env, obj))->setHorizontalStretchable((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockWindow_setHorizontallyStretchable(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQDockWindow*) QtSupport::getQt(env, obj))->setHorizontallyStretchable((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockWindow_setMovingEnabled(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQDockWindow*) QtSupport::getQt(env, obj))->setMovingEnabled((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockWindow_setNewLine(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQDockWindow*) QtSupport::getQt(env, obj))->setNewLine((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockWindow_setOffset(JNIEnv* env, jobject obj, jint o) +{ + ((TQDockWindow*) QtSupport::getQt(env, obj))->setOffset((int) o); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockWindow_setOpaqueMoving(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQDockWindow*) QtSupport::getQt(env, obj))->setOpaqueMoving((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockWindow_setOrientation(JNIEnv* env, jobject obj, jint o) +{ + ((TQDockWindow*) QtSupport::getQt(env, obj))->setOrientation((TQt::Orientation) o); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockWindow_setResizeEnabled(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQDockWindow*) QtSupport::getQt(env, obj))->setResizeEnabled((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockWindow_setVerticalStretchable(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQDockWindow*) QtSupport::getQt(env, obj))->setVerticalStretchable((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockWindow_setVerticallyStretchable(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQDockWindow*) QtSupport::getQt(env, obj))->setVerticallyStretchable((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockWindow_setWidget(JNIEnv* env, jobject obj, jobject w) +{ + ((TQDockWindow*) QtSupport::getQt(env, obj))->setWidget((TQWidget*) QtSupport::getQt(env, w)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockWindow_showEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQDockWindowJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDockWindow_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQDockWindow*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDockWindow_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQDockWindowJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDockWindow_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQDockWindowJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockWindow_undock__(JNIEnv* env, jobject obj) +{ + ((TQDockWindowJBridge*) QtSupport::getQt(env, obj))->public_undock(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDockWindow_undock__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject w) +{ + ((TQDockWindow*) QtSupport::getQt(env, obj))->undock((TQWidget*) QtSupport::getQt(env, w)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDockWindow_widget(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDockWindow*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget"); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQDockWindow.h b/qtjava/javalib/qtjava/TQDockWindow.h new file mode 100644 index 00000000..db5aaf97 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDockWindow.h @@ -0,0 +1,80 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDockWindow__ +#define __org_kde_qt_QDockWindow__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDockWindow_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDockWindow_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_newTQDockWindow__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jint, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_newTQDockWindow__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_newTQDockWindow__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_newTQDockWindow__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_newTQDockWindow__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_newTQDockWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_newTQDockWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_newTQDockWindow__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_setWidget (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDockWindow_widget (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDockWindow_place (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDockWindow_area (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_setCloseMode (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockWindow_isCloseEnabled (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDockWindow_closeMode (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_setResizeEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_setMovingEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockWindow_isResizeEnabled (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockWindow_isMovingEnabled (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_setHorizontallyStretchable (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_setVerticallyStretchable (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockWindow_isHorizontallyStretchable (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockWindow_isVerticallyStretchable (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_setHorizontalStretchable (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_setVerticalStretchable (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockWindow_isHorizontalStretchable (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockWindow_isVerticalStretchable (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockWindow_isStretchable (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_setOffset (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDockWindow_offset (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_setFixedExtentWidth (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_setFixedExtentHeight (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDockWindow_fixedExtent (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_setNewLine (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockWindow_newLine (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDockWindow_orientation (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDockWindow_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDockWindow_minimumSize (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDockWindow_minimumSizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDockWindow_boxLayout (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_setOpaqueMoving (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockWindow_opaqueMoving (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockWindow_eventFilter (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_undock__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_undock__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_dock (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_setOrientation (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_setCaption (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDockWindow_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDockWindow_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_showEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_hideEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_contextMenuEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_drawFrame (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_drawContents (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockWindow_event (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockWindow_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDockWindow__ */ diff --git a/qtjava/javalib/qtjava/TQDomAttr.cpp b/qtjava/javalib/qtjava/TQDomAttr.cpp new file mode 100644 index 00000000..8ea13346 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDomAttr.cpp @@ -0,0 +1,110 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQDomAttrJBridge : public TQDomAttr +{ +public: + TQDomAttrJBridge() : TQDomAttr() {}; + TQDomAttrJBridge(const TQDomAttr& arg1) : TQDomAttr(arg1) {}; + ~TQDomAttrJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomAttr_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDomAttr_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomAttr_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQDomAttr*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomAttr_isAttr(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDomAttr*) QtSupport::getQt(env, obj))->isAttr(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomAttr_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDomAttr_name(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQDomAttr*) QtSupport::getQt(env, obj))->name(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomAttr_newTQDomAttr__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDomAttrJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomAttr_newTQDomAttr__Lorg_kde_qt_QDomAttr_2(JNIEnv* env, jobject obj, jobject x) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDomAttrJBridge((const TQDomAttr&)*(const TQDomAttr*) QtSupport::getQt(env, x))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDomAttr_nodeType(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDomAttr*) QtSupport::getQt(env, obj))->nodeType(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomAttr_ownerElement(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomElement(((TQDomAttr*) QtSupport::getQt(env, obj))->ownerElement()), "org.kde.qt.TQDomElement", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomAttr_setValue(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQDomAttr*) QtSupport::getQt(env, obj))->setValue((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomAttr_specified(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDomAttr*) QtSupport::getQt(env, obj))->specified(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDomAttr_value(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQDomAttr*) QtSupport::getQt(env, obj))->value(); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQDomAttr.h b/qtjava/javalib/qtjava/TQDomAttr.h new file mode 100644 index 00000000..d9f46a1d --- /dev/null +++ b/qtjava/javalib/qtjava/TQDomAttr.h @@ -0,0 +1,30 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDomAttr__ +#define __org_kde_qt_QDomAttr__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomAttr_newTQDomAttr__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomAttr_newTQDomAttr__Lorg_kde_qt_QDomAttr_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomAttr_name (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomAttr_specified (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomAttr_ownerElement (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomAttr_value (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomAttr_setValue (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDomAttr_nodeType (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomAttr_isAttr (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomAttr_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomAttr_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomAttr_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDomAttr__ */ diff --git a/qtjava/javalib/qtjava/TQDomCDATASection.cpp b/qtjava/javalib/qtjava/TQDomCDATASection.cpp new file mode 100644 index 00000000..c92280ca --- /dev/null +++ b/qtjava/javalib/qtjava/TQDomCDATASection.cpp @@ -0,0 +1,71 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + +class TQDomCDATASectionJBridge : public TQDomCDATASection +{ +public: + TQDomCDATASectionJBridge() : TQDomCDATASection() {}; + TQDomCDATASectionJBridge(const TQDomCDATASection& arg1) : TQDomCDATASection(arg1) {}; + ~TQDomCDATASectionJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomCDATASection_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDomCDATASection_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomCDATASection_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQDomCDATASection*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomCDATASection_isCDATASection(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDomCDATASection*) QtSupport::getQt(env, obj))->isCDATASection(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomCDATASection_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomCDATASection_newTQDomCDATASection__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDomCDATASectionJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomCDATASection_newTQDomCDATASection__Lorg_kde_qt_QDomCDATASection_2(JNIEnv* env, jobject obj, jobject x) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDomCDATASectionJBridge((const TQDomCDATASection&)*(const TQDomCDATASection*) QtSupport::getQt(env, x))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDomCDATASection_nodeType(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDomCDATASection*) QtSupport::getQt(env, obj))->nodeType(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQDomCDATASection.h b/qtjava/javalib/qtjava/TQDomCDATASection.h new file mode 100644 index 00000000..e40acbe0 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDomCDATASection.h @@ -0,0 +1,25 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDomCDATASection__ +#define __org_kde_qt_QDomCDATASection__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomCDATASection_newTQDomCDATASection__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomCDATASection_newTQDomCDATASection__Lorg_kde_qt_QDomCDATASection_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDomCDATASection_nodeType (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomCDATASection_isCDATASection (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomCDATASection_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomCDATASection_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomCDATASection_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDomCDATASection__ */ diff --git a/qtjava/javalib/qtjava/TQDomCharacterData.cpp b/qtjava/javalib/qtjava/TQDomCharacterData.cpp new file mode 100644 index 00000000..a0dce4e7 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDomCharacterData.cpp @@ -0,0 +1,134 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQDomCharacterDataJBridge : public TQDomCharacterData +{ +public: + TQDomCharacterDataJBridge() : TQDomCharacterData() {}; + TQDomCharacterDataJBridge(const TQDomCharacterData& arg1) : TQDomCharacterData(arg1) {}; + ~TQDomCharacterDataJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomCharacterData_appendData(JNIEnv* env, jobject obj, jstring arg) +{ +static TQString* _qstring_arg = 0; + ((TQDomCharacterData*) QtSupport::getQt(env, obj))->appendData((const TQString&)*(TQString*) QtSupport::toTQString(env, arg, &_qstring_arg)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDomCharacterData_data(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQDomCharacterData*) QtSupport::getQt(env, obj))->data(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomCharacterData_deleteData(JNIEnv* env, jobject obj, jlong offset, jlong count) +{ + ((TQDomCharacterData*) QtSupport::getQt(env, obj))->deleteData((unsigned long) offset, (unsigned long) count); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomCharacterData_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDomCharacterData_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomCharacterData_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQDomCharacterData*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomCharacterData_insertData(JNIEnv* env, jobject obj, jlong offset, jstring arg) +{ +static TQString* _qstring_arg = 0; + ((TQDomCharacterData*) QtSupport::getQt(env, obj))->insertData((unsigned long) offset, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg, &_qstring_arg)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomCharacterData_isCharacterData(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDomCharacterData*) QtSupport::getQt(env, obj))->isCharacterData(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomCharacterData_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDomCharacterData_length(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDomCharacterData*) QtSupport::getQt(env, obj))->length(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomCharacterData_newTQDomCharacterData__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDomCharacterDataJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomCharacterData_newTQDomCharacterData__Lorg_kde_qt_QDomCharacterData_2(JNIEnv* env, jobject obj, jobject x) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDomCharacterDataJBridge((const TQDomCharacterData&)*(const TQDomCharacterData*) QtSupport::getQt(env, x))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDomCharacterData_nodeType(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDomCharacterData*) QtSupport::getQt(env, obj))->nodeType(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomCharacterData_replaceData(JNIEnv* env, jobject obj, jlong offset, jlong count, jstring arg) +{ +static TQString* _qstring_arg = 0; + ((TQDomCharacterData*) QtSupport::getQt(env, obj))->replaceData((unsigned long) offset, (unsigned long) count, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg, &_qstring_arg)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomCharacterData_setData(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQDomCharacterData*) QtSupport::getQt(env, obj))->setData((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDomCharacterData_substringData(JNIEnv* env, jobject obj, jlong offset, jlong count) +{ + TQString _qstring; + _qstring = ((TQDomCharacterData*) QtSupport::getQt(env, obj))->substringData((unsigned long) offset, (unsigned long) count); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQDomCharacterData.h b/qtjava/javalib/qtjava/TQDomCharacterData.h new file mode 100644 index 00000000..3f30a37f --- /dev/null +++ b/qtjava/javalib/qtjava/TQDomCharacterData.h @@ -0,0 +1,33 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDomCharacterData__ +#define __org_kde_qt_QDomCharacterData__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomCharacterData_newTQDomCharacterData__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomCharacterData_newTQDomCharacterData__Lorg_kde_qt_QDomCharacterData_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomCharacterData_substringData (JNIEnv *env, jobject, jlong, jlong); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomCharacterData_appendData (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomCharacterData_insertData (JNIEnv *env, jobject, jlong, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomCharacterData_deleteData (JNIEnv *env, jobject, jlong, jlong); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomCharacterData_replaceData (JNIEnv *env, jobject, jlong, jlong, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDomCharacterData_length (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomCharacterData_data (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomCharacterData_setData (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDomCharacterData_nodeType (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomCharacterData_isCharacterData (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomCharacterData_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomCharacterData_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomCharacterData_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDomCharacterData__ */ diff --git a/qtjava/javalib/qtjava/TQDomComment.cpp b/qtjava/javalib/qtjava/TQDomComment.cpp new file mode 100644 index 00000000..ad66b3db --- /dev/null +++ b/qtjava/javalib/qtjava/TQDomComment.cpp @@ -0,0 +1,71 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + +class TQDomCommentJBridge : public TQDomComment +{ +public: + TQDomCommentJBridge() : TQDomComment() {}; + TQDomCommentJBridge(const TQDomComment& arg1) : TQDomComment(arg1) {}; + ~TQDomCommentJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomComment_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDomComment_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomComment_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQDomComment*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomComment_isComment(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDomComment*) QtSupport::getQt(env, obj))->isComment(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomComment_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomComment_newTQDomComment__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDomCommentJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomComment_newTQDomComment__Lorg_kde_qt_QDomComment_2(JNIEnv* env, jobject obj, jobject x) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDomCommentJBridge((const TQDomComment&)*(const TQDomComment*) QtSupport::getQt(env, x))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDomComment_nodeType(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDomComment*) QtSupport::getQt(env, obj))->nodeType(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQDomComment.h b/qtjava/javalib/qtjava/TQDomComment.h new file mode 100644 index 00000000..cb3cc6e3 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDomComment.h @@ -0,0 +1,25 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDomComment__ +#define __org_kde_qt_QDomComment__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomComment_newTQDomComment__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomComment_newTQDomComment__Lorg_kde_qt_QDomComment_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDomComment_nodeType (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomComment_isComment (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomComment_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomComment_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomComment_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDomComment__ */ diff --git a/qtjava/javalib/qtjava/TQDomDocument.cpp b/qtjava/javalib/qtjava/TQDomDocument.cpp new file mode 100644 index 00000000..76ff1d87 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDomDocument.cpp @@ -0,0 +1,561 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQDomDocumentJBridge : public TQDomDocument +{ +public: + TQDomDocumentJBridge() : TQDomDocument() {}; + TQDomDocumentJBridge(const TQString& arg1) : TQDomDocument(arg1) {}; + TQDomDocumentJBridge(const TQDomDocumentType& arg1) : TQDomDocument(arg1) {}; + TQDomDocumentJBridge(const TQDomDocument& arg1) : TQDomDocument(arg1) {}; + ~TQDomDocumentJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomDocument_createAttributeNS(JNIEnv* env, jobject obj, jstring nsURI, jstring qName) +{ +static TQString* _qstring_nsURI = 0; +static TQString* _qstring_qName = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomAttr(((TQDomDocument*) QtSupport::getQt(env, obj))->createAttributeNS((const TQString&)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName))), "org.kde.qt.TQDomAttr", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomDocument_createAttribute(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomAttr(((TQDomDocument*) QtSupport::getQt(env, obj))->createAttribute((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQDomAttr", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomDocument_createCDATASection(JNIEnv* env, jobject obj, jstring data) +{ +static TQString* _qstring_data = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomCDATASection(((TQDomDocument*) QtSupport::getQt(env, obj))->createCDATASection((const TQString&)*(TQString*) QtSupport::toTQString(env, data, &_qstring_data))), "org.kde.qt.TQDomCDATASection", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomDocument_createComment(JNIEnv* env, jobject obj, jstring data) +{ +static TQString* _qstring_data = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomComment(((TQDomDocument*) QtSupport::getQt(env, obj))->createComment((const TQString&)*(TQString*) QtSupport::toTQString(env, data, &_qstring_data))), "org.kde.qt.TQDomComment", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomDocument_createDocumentFragment(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocumentFragment(((TQDomDocument*) QtSupport::getQt(env, obj))->createDocumentFragment()), "org.kde.qt.TQDomDocumentFragment", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomDocument_createElementNS(JNIEnv* env, jobject obj, jstring nsURI, jstring qName) +{ +static TQString* _qstring_nsURI = 0; +static TQString* _qstring_qName = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomElement(((TQDomDocument*) QtSupport::getQt(env, obj))->createElementNS((const TQString&)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName))), "org.kde.qt.TQDomElement", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomDocument_createElement(JNIEnv* env, jobject obj, jstring tagName) +{ +static TQString* _qstring_tagName = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomElement(((TQDomDocument*) QtSupport::getQt(env, obj))->createElement((const TQString&)*(TQString*) QtSupport::toTQString(env, tagName, &_qstring_tagName))), "org.kde.qt.TQDomElement", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomDocument_createEntityReference(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomEntityReference(((TQDomDocument*) QtSupport::getQt(env, obj))->createEntityReference((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQDomEntityReference", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomDocument_createProcessingInstruction(JNIEnv* env, jobject obj, jstring target, jstring data) +{ +static TQString* _qstring_target = 0; +static TQString* _qstring_data = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomProcessingInstruction(((TQDomDocument*) QtSupport::getQt(env, obj))->createProcessingInstruction((const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target), (const TQString&)*(TQString*) QtSupport::toTQString(env, data, &_qstring_data))), "org.kde.qt.TQDomProcessingInstruction", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomDocument_createTextNode(JNIEnv* env, jobject obj, jstring data) +{ +static TQString* _qstring_data = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomText(((TQDomDocument*) QtSupport::getQt(env, obj))->createTextNode((const TQString&)*(TQString*) QtSupport::toTQString(env, data, &_qstring_data))), "org.kde.qt.TQDomText", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomDocument_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDomDocument_finalize(env, obj); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomDocument_doctype(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocumentType(((TQDomDocument*) QtSupport::getQt(env, obj))->doctype()), "org.kde.qt.TQDomDocumentType", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomDocument_documentElement(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomElement(((TQDomDocument*) QtSupport::getQt(env, obj))->documentElement()), "org.kde.qt.TQDomElement", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomDocument_elementById(JNIEnv* env, jobject obj, jstring elementId) +{ +static TQString* _qstring_elementId = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomElement(((TQDomDocument*) QtSupport::getQt(env, obj))->elementById((const TQString&)*(TQString*) QtSupport::toTQString(env, elementId, &_qstring_elementId))), "org.kde.qt.TQDomElement", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomDocument_elementsByTagNameNS(JNIEnv* env, jobject obj, jstring nsURI, jstring localName) +{ + TQDomNodeList _qlist; +static TQString* _qstring_nsURI = 0; +static TQString* _qstring_localName = 0; + _qlist = ((TQDomDocument*) QtSupport::getQt(env, obj))->elementsByTagNameNS((const TQString&)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, localName, &_qstring_localName)); + return (jobject) QtSupport::arrayWithTQDomNodeList(env, (TQDomNodeList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomDocument_elementsByTagName(JNIEnv* env, jobject obj, jstring tagname) +{ + TQDomNodeList _qlist; +static TQString* _qstring_tagname = 0; + _qlist = ((TQDomDocument*) QtSupport::getQt(env, obj))->elementsByTagName((const TQString&)*(TQString*) QtSupport::toTQString(env, tagname, &_qstring_tagname)); + return (jobject) QtSupport::arrayWithTQDomNodeList(env, (TQDomNodeList*) &_qlist); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomDocument_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQDomDocument*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomDocument_implementation(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomImplementation(((TQDomDocument*) QtSupport::getQt(env, obj))->implementation()), "org.kde.qt.TQDomImplementation", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomDocument_importNode(JNIEnv* env, jobject obj, jobject importedNode, jboolean deep) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomDocument*) QtSupport::getQt(env, obj))->importNode((const TQDomNode&)*(const TQDomNode*) QtSupport::getQt(env, importedNode), (bool) deep)), "org.kde.qt.TQDomNode", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomDocument_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomDocument_isDocument(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->isDocument(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomDocument_newTQDomDocument__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDomDocumentJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomDocument_newTQDomDocument__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 TQDomDocumentJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomDocument_newTQDomDocument__Lorg_kde_qt_QDomDocumentType_2(JNIEnv* env, jobject obj, jobject doctype) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDomDocumentJBridge((const TQDomDocumentType&)*(const TQDomDocumentType*) QtSupport::getQt(env, doctype))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomDocument_newTQDomDocument__Lorg_kde_qt_QDomDocument_2(JNIEnv* env, jobject obj, jobject x) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDomDocumentJBridge((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, x))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDomDocument_nodeType(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDomDocument*) QtSupport::getQt(env, obj))->nodeType(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) +{ +static TQCString* _qcstring_text = 0; + jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, text, &_qcstring_text)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jstring text, jobject errorMsg) +{ +static TQCString* _qcstring_text = 0; +static TQString* _qstring_errorMsg = 0; + jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, text, &_qcstring_text), (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg)); + QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jobject obj, jstring text, jobject errorMsg, jintArray errorLine) +{ +static TQCString* _qcstring_text = 0; +static TQString* _qstring_errorMsg = 0; + int* _int_errorLine = QtSupport::toIntPtr(env, errorLine); + jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, text, &_qcstring_text), (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine); + QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); + env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2Ljava_lang_StringBuffer_2_3I_3I(JNIEnv* env, jobject obj, jstring text, jobject errorMsg, jintArray errorLine, jintArray errorColumn) +{ +static TQCString* _qcstring_text = 0; +static TQString* _qstring_errorMsg = 0; + int* _int_errorLine = QtSupport::toIntPtr(env, errorLine); + int* _int_errorColumn = QtSupport::toIntPtr(env, errorColumn); + jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, text, &_qcstring_text), (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn); + QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); + env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine); + env->SetIntArrayRegion(errorColumn, 0, 1, (jint *) _int_errorColumn); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring text, jboolean namespaceProcessing) +{ +static TQCString* _qcstring_text = 0; + jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, text, &_qcstring_text), (bool) namespaceProcessing); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2ZLjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jstring text, jboolean namespaceProcessing, jobject errorMsg) +{ +static TQCString* _qcstring_text = 0; +static TQString* _qstring_errorMsg = 0; + jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, text, &_qcstring_text), (bool) namespaceProcessing, (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg)); + QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2ZLjava_lang_StringBuffer_2_3I(JNIEnv* env, jobject obj, jstring text, jboolean namespaceProcessing, jobject errorMsg, jintArray errorLine) +{ +static TQCString* _qcstring_text = 0; +static TQString* _qstring_errorMsg = 0; + int* _int_errorLine = QtSupport::toIntPtr(env, errorLine); + jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, text, &_qcstring_text), (bool) namespaceProcessing, (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine); + QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); + env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2ZLjava_lang_StringBuffer_2_3I_3I(JNIEnv* env, jobject obj, jstring text, jboolean namespaceProcessing, jobject errorMsg, jintArray errorLine, jintArray errorColumn) +{ +static TQCString* _qcstring_text = 0; +static TQString* _qstring_errorMsg = 0; + int* _int_errorLine = QtSupport::toIntPtr(env, errorLine); + int* _int_errorColumn = QtSupport::toIntPtr(env, errorColumn); + jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, text, &_qcstring_text), (bool) namespaceProcessing, (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn); + QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); + env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine); + env->SetIntArrayRegion(errorColumn, 0, 1, (jint *) _int_errorColumn); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject dev) +{ + jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((TQIODevice*) QtSupport::getQt(env, dev)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject dev, jobject errorMsg) +{ +static TQString* _qstring_errorMsg = 0; + jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((TQIODevice*) QtSupport::getQt(env, dev), (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg)); + QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jobject obj, jobject dev, jobject errorMsg, jintArray errorLine) +{ +static TQString* _qstring_errorMsg = 0; + int* _int_errorLine = QtSupport::toIntPtr(env, errorLine); + jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((TQIODevice*) QtSupport::getQt(env, dev), (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine); + QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); + env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_StringBuffer_2_3I_3I(JNIEnv* env, jobject obj, jobject dev, jobject errorMsg, jintArray errorLine, jintArray errorColumn) +{ +static TQString* _qstring_errorMsg = 0; + int* _int_errorLine = QtSupport::toIntPtr(env, errorLine); + int* _int_errorColumn = QtSupport::toIntPtr(env, errorColumn); + jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((TQIODevice*) QtSupport::getQt(env, dev), (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn); + QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); + env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine); + env->SetIntArrayRegion(errorColumn, 0, 1, (jint *) _int_errorColumn); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2Z(JNIEnv* env, jobject obj, jobject dev, jboolean namespaceProcessing) +{ + jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((TQIODevice*) QtSupport::getQt(env, dev), (bool) namespaceProcessing); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2ZLjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject dev, jboolean namespaceProcessing, jobject errorMsg) +{ +static TQString* _qstring_errorMsg = 0; + jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((TQIODevice*) QtSupport::getQt(env, dev), (bool) namespaceProcessing, (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg)); + QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2ZLjava_lang_StringBuffer_2_3I(JNIEnv* env, jobject obj, jobject dev, jboolean namespaceProcessing, jobject errorMsg, jintArray errorLine) +{ +static TQString* _qstring_errorMsg = 0; + int* _int_errorLine = QtSupport::toIntPtr(env, errorLine); + jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((TQIODevice*) QtSupport::getQt(env, dev), (bool) namespaceProcessing, (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine); + QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); + env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2ZLjava_lang_StringBuffer_2_3I_3I(JNIEnv* env, jobject obj, jobject dev, jboolean namespaceProcessing, jobject errorMsg, jintArray errorLine, jintArray errorColumn) +{ +static TQString* _qstring_errorMsg = 0; + int* _int_errorLine = QtSupport::toIntPtr(env, errorLine); + int* _int_errorColumn = QtSupport::toIntPtr(env, errorColumn); + jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((TQIODevice*) QtSupport::getQt(env, dev), (bool) namespaceProcessing, (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn); + QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); + env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine); + env->SetIntArrayRegion(errorColumn, 0, 1, (jint *) _int_errorColumn); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QXmlInputSource_2Lorg_kde_qt_QXmlReader_2(JNIEnv* env, jobject obj, jobject source, jobject reader) +{ + jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((TQXmlInputSource*) QtSupport::getQt(env, source), (TQXmlReader*) QtSupport::getQt(env, reader)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QXmlInputSource_2Lorg_kde_qt_QXmlReader_2Ljava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject source, jobject reader, jobject errorMsg) +{ +static TQString* _qstring_errorMsg = 0; + jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((TQXmlInputSource*) QtSupport::getQt(env, source), (TQXmlReader*) QtSupport::getQt(env, reader), (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg)); + QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QXmlInputSource_2Lorg_kde_qt_QXmlReader_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jobject obj, jobject source, jobject reader, jobject errorMsg, jintArray errorLine) +{ +static TQString* _qstring_errorMsg = 0; + int* _int_errorLine = QtSupport::toIntPtr(env, errorLine); + jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((TQXmlInputSource*) QtSupport::getQt(env, source), (TQXmlReader*) QtSupport::getQt(env, reader), (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine); + QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); + env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QXmlInputSource_2Lorg_kde_qt_QXmlReader_2Ljava_lang_StringBuffer_2_3I_3I(JNIEnv* env, jobject obj, jobject source, jobject reader, jobject errorMsg, jintArray errorLine, jintArray errorColumn) +{ +static TQString* _qstring_errorMsg = 0; + int* _int_errorLine = QtSupport::toIntPtr(env, errorLine); + int* _int_errorColumn = QtSupport::toIntPtr(env, errorColumn); + jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((TQXmlInputSource*) QtSupport::getQt(env, source), (TQXmlReader*) QtSupport::getQt(env, reader), (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn); + QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); + env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine); + env->SetIntArrayRegion(errorColumn, 0, 1, (jint *) _int_errorColumn); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomDocument_setContent___3B(JNIEnv* env, jobject obj, jbyteArray text) +{ +static TQByteArray* _qbyteArray_text = 0; + jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, text, &_qbyteArray_text)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomDocument_setContent___3BLjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jbyteArray text, jobject errorMsg) +{ +static TQByteArray* _qbyteArray_text = 0; +static TQString* _qstring_errorMsg = 0; + jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, text, &_qbyteArray_text), (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg)); + QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomDocument_setContent___3BLjava_lang_StringBuffer_2_3I(JNIEnv* env, jobject obj, jbyteArray text, jobject errorMsg, jintArray errorLine) +{ +static TQByteArray* _qbyteArray_text = 0; +static TQString* _qstring_errorMsg = 0; + int* _int_errorLine = QtSupport::toIntPtr(env, errorLine); + jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, text, &_qbyteArray_text), (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine); + QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); + env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomDocument_setContent___3BLjava_lang_StringBuffer_2_3I_3I(JNIEnv* env, jobject obj, jbyteArray text, jobject errorMsg, jintArray errorLine, jintArray errorColumn) +{ +static TQByteArray* _qbyteArray_text = 0; +static TQString* _qstring_errorMsg = 0; + int* _int_errorLine = QtSupport::toIntPtr(env, errorLine); + int* _int_errorColumn = QtSupport::toIntPtr(env, errorColumn); + jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, text, &_qbyteArray_text), (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn); + QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); + env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine); + env->SetIntArrayRegion(errorColumn, 0, 1, (jint *) _int_errorColumn); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomDocument_setContent___3BZ(JNIEnv* env, jobject obj, jbyteArray text, jboolean namespaceProcessing) +{ +static TQByteArray* _qbyteArray_text = 0; + jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, text, &_qbyteArray_text), (bool) namespaceProcessing); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomDocument_setContent___3BZLjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jbyteArray text, jboolean namespaceProcessing, jobject errorMsg) +{ +static TQByteArray* _qbyteArray_text = 0; +static TQString* _qstring_errorMsg = 0; + jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, text, &_qbyteArray_text), (bool) namespaceProcessing, (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg)); + QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomDocument_setContent___3BZLjava_lang_StringBuffer_2_3I(JNIEnv* env, jobject obj, jbyteArray text, jboolean namespaceProcessing, jobject errorMsg, jintArray errorLine) +{ +static TQByteArray* _qbyteArray_text = 0; +static TQString* _qstring_errorMsg = 0; + int* _int_errorLine = QtSupport::toIntPtr(env, errorLine); + jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, text, &_qbyteArray_text), (bool) namespaceProcessing, (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine); + QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); + env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomDocument_setContent___3BZLjava_lang_StringBuffer_2_3I_3I(JNIEnv* env, jobject obj, jbyteArray text, jboolean namespaceProcessing, jobject errorMsg, jintArray errorLine, jintArray errorColumn) +{ +static TQByteArray* _qbyteArray_text = 0; +static TQString* _qstring_errorMsg = 0; + int* _int_errorLine = QtSupport::toIntPtr(env, errorLine); + int* _int_errorColumn = QtSupport::toIntPtr(env, errorColumn); + jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, text, &_qbyteArray_text), (bool) namespaceProcessing, (TQString*) QtSupport::toTQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn); + QtSupport::fromTQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); + env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine); + env->SetIntArrayRegion(errorColumn, 0, 1, (jint *) _int_errorColumn); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDomDocument_toCString__(JNIEnv* env, jobject obj) +{ + TQCString _qstring; + _qstring = ((TQDomDocument*) QtSupport::getQt(env, obj))->toCString(); + return QtSupport::fromTQCString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDomDocument_toCString__I(JNIEnv* env, jobject obj, jint arg1) +{ + TQCString _qstring; + _qstring = ((TQDomDocument*) QtSupport::getQt(env, obj))->toCString((int) arg1); + return QtSupport::fromTQCString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDomDocument_toString__(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQDomDocument*) QtSupport::getQt(env, obj))->toString(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDomDocument_toString__I(JNIEnv* env, jobject obj, jint arg1) +{ + TQString _qstring; + _qstring = ((TQDomDocument*) QtSupport::getQt(env, obj))->toString((int) arg1); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQDomDocument.h b/qtjava/javalib/qtjava/TQDomDocument.h new file mode 100644 index 00000000..26e2d697 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDomDocument.h @@ -0,0 +1,76 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDomDocument__ +#define __org_kde_qt_QDomDocument__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocument_newTQDomDocument__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocument_newTQDomDocument__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocument_newTQDomDocument__Lorg_kde_qt_QDomDocumentType_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocument_newTQDomDocument__Lorg_kde_qt_QDomDocument_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocument_createElement (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocument_createDocumentFragment (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocument_createTextNode (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocument_createComment (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocument_createCDATASection (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocument_createProcessingInstruction (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocument_createAttribute (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocument_createEntityReference (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocument_elementsByTagName (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocument_importNode (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocument_createElementNS (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocument_createAttributeNS (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocument_elementsByTagNameNS (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocument_elementById (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocument_doctype (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocument_implementation (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocument_documentElement (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2ZLjava_lang_StringBuffer_2_3I_3I (JNIEnv *env, jobject, jstring, jboolean, jobject, jintArray, jintArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2ZLjava_lang_StringBuffer_2_3I (JNIEnv *env, jobject, jstring, jboolean, jobject, jintArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2ZLjava_lang_StringBuffer_2 (JNIEnv *env, jobject, jstring, jboolean, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent___3BZLjava_lang_StringBuffer_2_3I_3I (JNIEnv *env, jobject, jbyteArray, jboolean, jobject, jintArray, jintArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent___3BZLjava_lang_StringBuffer_2_3I (JNIEnv *env, jobject, jbyteArray, jboolean, jobject, jintArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent___3BZLjava_lang_StringBuffer_2 (JNIEnv *env, jobject, jbyteArray, jboolean, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent___3BZ (JNIEnv *env, jobject, jbyteArray, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2ZLjava_lang_StringBuffer_2_3I_3I (JNIEnv *env, jobject, jobject, jboolean, jobject, jintArray, jintArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2ZLjava_lang_StringBuffer_2_3I (JNIEnv *env, jobject, jobject, jboolean, jobject, jintArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2ZLjava_lang_StringBuffer_2 (JNIEnv *env, jobject, jobject, jboolean, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2Ljava_lang_StringBuffer_2_3I_3I (JNIEnv *env, jobject, jstring, jobject, jintArray, jintArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jobject, jstring, jobject, jintArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent___3BLjava_lang_StringBuffer_2_3I_3I (JNIEnv *env, jobject, jbyteArray, jobject, jintArray, jintArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent___3BLjava_lang_StringBuffer_2_3I (JNIEnv *env, jobject, jbyteArray, jobject, jintArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent___3BLjava_lang_StringBuffer_2 (JNIEnv *env, jobject, jbyteArray, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent___3B (JNIEnv *env, jobject, jbyteArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_StringBuffer_2_3I_3I (JNIEnv *env, jobject, jobject, jobject, jintArray, jintArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jobject, jobject, jobject, jintArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QXmlInputSource_2Lorg_kde_qt_QXmlReader_2Ljava_lang_StringBuffer_2_3I_3I (JNIEnv *env, jobject, jobject, jobject, jobject, jintArray, jintArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QXmlInputSource_2Lorg_kde_qt_QXmlReader_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jobject, jobject, jobject, jobject, jintArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QXmlInputSource_2Lorg_kde_qt_QXmlReader_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jobject, jobject, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QXmlInputSource_2Lorg_kde_qt_QXmlReader_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDomDocument_nodeType (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_isDocument (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomDocument_toString__ (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomDocument_toString__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomDocument_toCString__ (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomDocument_toCString__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocument_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocument_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDomDocument__ */ diff --git a/qtjava/javalib/qtjava/TQDomDocumentFragment.cpp b/qtjava/javalib/qtjava/TQDomDocumentFragment.cpp new file mode 100644 index 00000000..364e626b --- /dev/null +++ b/qtjava/javalib/qtjava/TQDomDocumentFragment.cpp @@ -0,0 +1,71 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + +class TQDomDocumentFragmentJBridge : public TQDomDocumentFragment +{ +public: + TQDomDocumentFragmentJBridge() : TQDomDocumentFragment() {}; + TQDomDocumentFragmentJBridge(const TQDomDocumentFragment& arg1) : TQDomDocumentFragment(arg1) {}; + ~TQDomDocumentFragmentJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomDocumentFragment_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDomDocumentFragment_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomDocumentFragment_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQDomDocumentFragment*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomDocumentFragment_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomDocumentFragment_isDocumentFragment(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDomDocumentFragment*) QtSupport::getQt(env, obj))->isDocumentFragment(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomDocumentFragment_newTQDomDocumentFragment__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDomDocumentFragmentJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomDocumentFragment_newTQDomDocumentFragment__Lorg_kde_qt_QDomDocumentFragment_2(JNIEnv* env, jobject obj, jobject x) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDomDocumentFragmentJBridge((const TQDomDocumentFragment&)*(const TQDomDocumentFragment*) QtSupport::getQt(env, x))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDomDocumentFragment_nodeType(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDomDocumentFragment*) QtSupport::getQt(env, obj))->nodeType(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQDomDocumentFragment.h b/qtjava/javalib/qtjava/TQDomDocumentFragment.h new file mode 100644 index 00000000..4d1e8c29 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDomDocumentFragment.h @@ -0,0 +1,25 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDomDocumentFragment__ +#define __org_kde_qt_QDomDocumentFragment__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocumentFragment_newTQDomDocumentFragment__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocumentFragment_newTQDomDocumentFragment__Lorg_kde_qt_QDomDocumentFragment_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDomDocumentFragment_nodeType (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocumentFragment_isDocumentFragment (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocumentFragment_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocumentFragment_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocumentFragment_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDomDocumentFragment__ */ diff --git a/qtjava/javalib/qtjava/TQDomDocumentType.cpp b/qtjava/javalib/qtjava/TQDomDocumentType.cpp new file mode 100644 index 00000000..3a0846e0 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDomDocumentType.cpp @@ -0,0 +1,118 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQDomDocumentTypeJBridge : public TQDomDocumentType +{ +public: + TQDomDocumentTypeJBridge() : TQDomDocumentType() {}; + TQDomDocumentTypeJBridge(const TQDomDocumentType& arg1) : TQDomDocumentType(arg1) {}; + ~TQDomDocumentTypeJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomDocumentType_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDomDocumentType_finalize(env, obj); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomDocumentType_entities(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNamedNodeMap(((TQDomDocumentType*) QtSupport::getQt(env, obj))->entities()), "org.kde.qt.TQDomNamedNodeMap", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomDocumentType_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQDomDocumentType*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDomDocumentType_internalSubset(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQDomDocumentType*) QtSupport::getQt(env, obj))->internalSubset(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomDocumentType_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomDocumentType_isDocumentType(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDomDocumentType*) QtSupport::getQt(env, obj))->isDocumentType(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDomDocumentType_name(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQDomDocumentType*) QtSupport::getQt(env, obj))->name(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomDocumentType_newTQDomDocumentType__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDomDocumentTypeJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomDocumentType_newTQDomDocumentType__Lorg_kde_qt_QDomDocumentType_2(JNIEnv* env, jobject obj, jobject x) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDomDocumentTypeJBridge((const TQDomDocumentType&)*(const TQDomDocumentType*) QtSupport::getQt(env, x))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDomDocumentType_nodeType(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDomDocumentType*) QtSupport::getQt(env, obj))->nodeType(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomDocumentType_notations(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNamedNodeMap(((TQDomDocumentType*) QtSupport::getQt(env, obj))->notations()), "org.kde.qt.TQDomNamedNodeMap", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDomDocumentType_publicId(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQDomDocumentType*) QtSupport::getQt(env, obj))->publicId(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDomDocumentType_systemId(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQDomDocumentType*) QtSupport::getQt(env, obj))->systemId(); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQDomDocumentType.h b/qtjava/javalib/qtjava/TQDomDocumentType.h new file mode 100644 index 00000000..388bd5ec --- /dev/null +++ b/qtjava/javalib/qtjava/TQDomDocumentType.h @@ -0,0 +1,31 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDomDocumentType__ +#define __org_kde_qt_QDomDocumentType__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocumentType_newTQDomDocumentType__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocumentType_newTQDomDocumentType__Lorg_kde_qt_QDomDocumentType_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomDocumentType_name (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocumentType_entities (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomDocumentType_notations (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomDocumentType_publicId (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomDocumentType_systemId (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomDocumentType_internalSubset (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDomDocumentType_nodeType (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocumentType_isDocumentType (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocumentType_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocumentType_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocumentType_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDomDocumentType__ */ diff --git a/qtjava/javalib/qtjava/TQDomElement.cpp b/qtjava/javalib/qtjava/TQDomElement.cpp new file mode 100644 index 00000000..fd81bb98 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDomElement.cpp @@ -0,0 +1,294 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQDomElementJBridge : public TQDomElement +{ +public: + TQDomElementJBridge() : TQDomElement() {}; + TQDomElementJBridge(const TQDomElement& arg1) : TQDomElement(arg1) {}; + ~TQDomElementJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDomElement_attributeNS(JNIEnv* env, jobject obj, jstring nsURI, jstring localName, jstring defValue) +{ + TQString _qstring; +static TQString* _qstring_nsURI = 0; +static TQString* _qstring_localName = 0; +static TQString* _qstring_defValue = 0; + _qstring = ((TQDomElement*) QtSupport::getQt(env, obj))->attributeNS((const TQString)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, localName, &_qstring_localName), (const TQString&)*(TQString*) QtSupport::toTQString(env, defValue, &_qstring_defValue)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomElement_attributeNodeNS(JNIEnv* env, jobject obj, jstring nsURI, jstring localName) +{ +static TQString* _qstring_nsURI = 0; +static TQString* _qstring_localName = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomAttr(((TQDomElement*) QtSupport::getQt(env, obj))->attributeNodeNS((const TQString&)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, localName, &_qstring_localName))), "org.kde.qt.TQDomAttr", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomElement_attributeNode(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomAttr(((TQDomElement*) QtSupport::getQt(env, obj))->attributeNode((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQDomAttr", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDomElement_attribute__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) +{ + TQString _qstring; +static TQString* _qstring_name = 0; + _qstring = ((TQDomElement*) QtSupport::getQt(env, obj))->attribute((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDomElement_attribute__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring defValue) +{ + TQString _qstring; +static TQString* _qstring_name = 0; +static TQString* _qstring_defValue = 0; + _qstring = ((TQDomElement*) QtSupport::getQt(env, obj))->attribute((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, defValue, &_qstring_defValue)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomElement_attributes(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNamedNodeMap(((TQDomElement*) QtSupport::getQt(env, obj))->attributes()), "org.kde.qt.TQDomNamedNodeMap", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomElement_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDomElement_finalize(env, obj); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomElement_elementsByTagNameNS(JNIEnv* env, jobject obj, jstring nsURI, jstring localName) +{ + TQDomNodeList _qlist; +static TQString* _qstring_nsURI = 0; +static TQString* _qstring_localName = 0; + _qlist = ((TQDomElement*) QtSupport::getQt(env, obj))->elementsByTagNameNS((const TQString&)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, localName, &_qstring_localName)); + return (jobject) QtSupport::arrayWithTQDomNodeList(env, (TQDomNodeList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomElement_elementsByTagName(JNIEnv* env, jobject obj, jstring tagname) +{ + TQDomNodeList _qlist; +static TQString* _qstring_tagname = 0; + _qlist = ((TQDomElement*) QtSupport::getQt(env, obj))->elementsByTagName((const TQString&)*(TQString*) QtSupport::toTQString(env, tagname, &_qstring_tagname)); + return (jobject) QtSupport::arrayWithTQDomNodeList(env, (TQDomNodeList*) &_qlist); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomElement_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQDomElement*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomElement_hasAttributeNS(JNIEnv* env, jobject obj, jstring nsURI, jstring localName) +{ +static TQString* _qstring_nsURI = 0; +static TQString* _qstring_localName = 0; + jboolean xret = (jboolean) ((TQDomElement*) QtSupport::getQt(env, obj))->hasAttributeNS((const TQString&)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, localName, &_qstring_localName)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomElement_hasAttribute(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TQDomElement*) QtSupport::getQt(env, obj))->hasAttribute((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomElement_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomElement_isElement(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDomElement*) QtSupport::getQt(env, obj))->isElement(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomElement_newTQDomElement__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDomElementJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomElement_newTQDomElement__Lorg_kde_qt_QDomElement_2(JNIEnv* env, jobject obj, jobject x) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDomElementJBridge((const TQDomElement&)*(const TQDomElement*) QtSupport::getQt(env, x))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDomElement_nodeType(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDomElement*) QtSupport::getQt(env, obj))->nodeType(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomElement_removeAttributeNS(JNIEnv* env, jobject obj, jstring nsURI, jstring localName) +{ +static TQString* _qstring_nsURI = 0; +static TQString* _qstring_localName = 0; + ((TQDomElement*) QtSupport::getQt(env, obj))->removeAttributeNS((const TQString&)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, localName, &_qstring_localName)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomElement_removeAttributeNode(JNIEnv* env, jobject obj, jobject oldAttr) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomAttr(((TQDomElement*) QtSupport::getQt(env, obj))->removeAttributeNode((const TQDomAttr&)*(const TQDomAttr*) QtSupport::getQt(env, oldAttr))), "org.kde.qt.TQDomAttr", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomElement_removeAttribute(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + ((TQDomElement*) QtSupport::getQt(env, obj))->removeAttribute((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomElement_setAttributeNS__Ljava_lang_String_2Ljava_lang_String_2D(JNIEnv* env, jobject obj, jstring nsURI, jstring qName, jdouble value) +{ +static TQString* _qstring_nsURI = 0; +static TQString* _qstring_qName = 0; + ((TQDomElement*) QtSupport::getQt(env, obj))->setAttributeNS((const TQString)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName), (double) value); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomElement_setAttributeNS__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring nsURI, jstring qName, jint value) +{ +static TQString* _qstring_nsURI = 0; +static TQString* _qstring_qName = 0; + ((TQDomElement*) QtSupport::getQt(env, obj))->setAttributeNS((const TQString)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName), (int) value); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomElement_setAttributeNS__Ljava_lang_String_2Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring nsURI, jstring qName, jlong value) +{ +static TQString* _qstring_nsURI = 0; +static TQString* _qstring_qName = 0; + ((TQDomElement*) QtSupport::getQt(env, obj))->setAttributeNS((const TQString)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName), (long) value); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomElement_setAttributeNS__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring nsURI, jstring qName, jstring value) +{ +static TQString* _qstring_nsURI = 0; +static TQString* _qstring_qName = 0; +static TQString* _qstring_value = 0; + ((TQDomElement*) QtSupport::getQt(env, obj))->setAttributeNS((const TQString)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomElement_setAttributeNodeNS(JNIEnv* env, jobject obj, jobject newAttr) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomAttr(((TQDomElement*) QtSupport::getQt(env, obj))->setAttributeNodeNS((const TQDomAttr&)*(const TQDomAttr*) QtSupport::getQt(env, newAttr))), "org.kde.qt.TQDomAttr", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomElement_setAttributeNode(JNIEnv* env, jobject obj, jobject newAttr) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomAttr(((TQDomElement*) QtSupport::getQt(env, obj))->setAttributeNode((const TQDomAttr&)*(const TQDomAttr*) QtSupport::getQt(env, newAttr))), "org.kde.qt.TQDomAttr", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomElement_setAttribute__Ljava_lang_String_2D(JNIEnv* env, jobject obj, jstring name, jdouble value) +{ +static TQString* _qstring_name = 0; + ((TQDomElement*) QtSupport::getQt(env, obj))->setAttribute((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (double) value); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomElement_setAttribute__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint value) +{ +static TQString* _qstring_name = 0; + ((TQDomElement*) QtSupport::getQt(env, obj))->setAttribute((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) value); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomElement_setAttribute__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring name, jlong value) +{ +static TQString* _qstring_name = 0; + ((TQDomElement*) QtSupport::getQt(env, obj))->setAttribute((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (long) value); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomElement_setAttribute__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring value) +{ +static TQString* _qstring_name = 0; +static TQString* _qstring_value = 0; + ((TQDomElement*) QtSupport::getQt(env, obj))->setAttribute((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomElement_setTagName(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + ((TQDomElement*) QtSupport::getQt(env, obj))->setTagName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDomElement_tagName(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQDomElement*) QtSupport::getQt(env, obj))->tagName(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDomElement_text(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQDomElement*) QtSupport::getQt(env, obj))->text(); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQDomElement.h b/qtjava/javalib/qtjava/TQDomElement.h new file mode 100644 index 00000000..dfdd53ae --- /dev/null +++ b/qtjava/javalib/qtjava/TQDomElement.h @@ -0,0 +1,51 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDomElement__ +#define __org_kde_qt_QDomElement__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomElement_newTQDomElement__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomElement_newTQDomElement__Lorg_kde_qt_QDomElement_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomElement_attribute__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomElement_attribute__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomElement_setAttribute__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomElement_setAttribute__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomElement_setAttribute__Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jlong); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomElement_setAttribute__Ljava_lang_String_2D (JNIEnv *env, jobject, jstring, jdouble); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomElement_removeAttribute (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomElement_attributeNode (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomElement_setAttributeNode (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomElement_removeAttributeNode (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomElement_elementsByTagName (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomElement_hasAttribute (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomElement_attributeNS (JNIEnv *env, jobject, jstring, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomElement_setAttributeNS__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomElement_setAttributeNS__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomElement_setAttributeNS__Ljava_lang_String_2Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jstring, jlong); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomElement_setAttributeNS__Ljava_lang_String_2Ljava_lang_String_2D (JNIEnv *env, jobject, jstring, jstring, jdouble); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomElement_removeAttributeNS (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomElement_attributeNodeNS (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomElement_setAttributeNodeNS (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomElement_elementsByTagNameNS (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomElement_hasAttributeNS (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomElement_tagName (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomElement_setTagName (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomElement_attributes (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDomElement_nodeType (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomElement_isElement (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomElement_text (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomElement_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomElement_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomElement_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDomElement__ */ diff --git a/qtjava/javalib/qtjava/TQDomEntity.cpp b/qtjava/javalib/qtjava/TQDomEntity.cpp new file mode 100644 index 00000000..f2d99d52 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDomEntity.cpp @@ -0,0 +1,96 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQDomEntityJBridge : public TQDomEntity +{ +public: + TQDomEntityJBridge() : TQDomEntity() {}; + TQDomEntityJBridge(const TQDomEntity& arg1) : TQDomEntity(arg1) {}; + ~TQDomEntityJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomEntity_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDomEntity_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomEntity_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQDomEntity*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomEntity_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomEntity_isEntity(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDomEntity*) QtSupport::getQt(env, obj))->isEntity(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomEntity_newTQDomEntity__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDomEntityJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomEntity_newTQDomEntity__Lorg_kde_qt_QDomEntity_2(JNIEnv* env, jobject obj, jobject x) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDomEntityJBridge((const TQDomEntity&)*(const TQDomEntity*) QtSupport::getQt(env, x))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDomEntity_nodeType(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDomEntity*) QtSupport::getQt(env, obj))->nodeType(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDomEntity_notationName(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQDomEntity*) QtSupport::getQt(env, obj))->notationName(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDomEntity_publicId(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQDomEntity*) QtSupport::getQt(env, obj))->publicId(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDomEntity_systemId(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQDomEntity*) QtSupport::getQt(env, obj))->systemId(); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQDomEntity.h b/qtjava/javalib/qtjava/TQDomEntity.h new file mode 100644 index 00000000..c652b815 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDomEntity.h @@ -0,0 +1,28 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDomEntity__ +#define __org_kde_qt_QDomEntity__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomEntity_newTQDomEntity__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomEntity_newTQDomEntity__Lorg_kde_qt_QDomEntity_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomEntity_publicId (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomEntity_systemId (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomEntity_notationName (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDomEntity_nodeType (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomEntity_isEntity (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomEntity_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomEntity_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomEntity_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDomEntity__ */ diff --git a/qtjava/javalib/qtjava/TQDomEntityReference.cpp b/qtjava/javalib/qtjava/TQDomEntityReference.cpp new file mode 100644 index 00000000..edaea6b9 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDomEntityReference.cpp @@ -0,0 +1,71 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + +class TQDomEntityReferenceJBridge : public TQDomEntityReference +{ +public: + TQDomEntityReferenceJBridge() : TQDomEntityReference() {}; + TQDomEntityReferenceJBridge(const TQDomEntityReference& arg1) : TQDomEntityReference(arg1) {}; + ~TQDomEntityReferenceJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomEntityReference_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDomEntityReference_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomEntityReference_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQDomEntityReference*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomEntityReference_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomEntityReference_isEntityReference(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDomEntityReference*) QtSupport::getQt(env, obj))->isEntityReference(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomEntityReference_newTQDomEntityReference__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDomEntityReferenceJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomEntityReference_newTQDomEntityReference__Lorg_kde_qt_QDomEntityReference_2(JNIEnv* env, jobject obj, jobject x) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDomEntityReferenceJBridge((const TQDomEntityReference&)*(const TQDomEntityReference*) QtSupport::getQt(env, x))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDomEntityReference_nodeType(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDomEntityReference*) QtSupport::getQt(env, obj))->nodeType(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQDomEntityReference.h b/qtjava/javalib/qtjava/TQDomEntityReference.h new file mode 100644 index 00000000..7d52365e --- /dev/null +++ b/qtjava/javalib/qtjava/TQDomEntityReference.h @@ -0,0 +1,25 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDomEntityReference__ +#define __org_kde_qt_QDomEntityReference__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomEntityReference_newTQDomEntityReference__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomEntityReference_newTQDomEntityReference__Lorg_kde_qt_QDomEntityReference_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDomEntityReference_nodeType (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomEntityReference_isEntityReference (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomEntityReference_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomEntityReference_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomEntityReference_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDomEntityReference__ */ diff --git a/qtjava/javalib/qtjava/TQDomImplementation.cpp b/qtjava/javalib/qtjava/TQDomImplementation.cpp new file mode 100644 index 00000000..1705b6c1 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDomImplementation.cpp @@ -0,0 +1,107 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQDomImplementationJBridge : public TQDomImplementation +{ +public: + TQDomImplementationJBridge() : TQDomImplementation() {}; + TQDomImplementationJBridge(const TQDomImplementation& arg1) : TQDomImplementation(arg1) {}; + ~TQDomImplementationJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomImplementation_createDocumentType(JNIEnv* env, jobject obj, jstring qName, jstring publicId, jstring systemId) +{ +static TQString* _qstring_qName = 0; +static TQString* _qstring_publicId = 0; +static TQString* _qstring_systemId = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocumentType(((TQDomImplementation*) QtSupport::getQt(env, obj))->createDocumentType((const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName), (const TQString&)*(TQString*) QtSupport::toTQString(env, publicId, &_qstring_publicId), (const TQString&)*(TQString*) QtSupport::toTQString(env, systemId, &_qstring_systemId))), "org.kde.qt.TQDomDocumentType", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomImplementation_createDocument(JNIEnv* env, jobject obj, jstring nsURI, jstring qName, jobject doctype) +{ +static TQString* _qstring_nsURI = 0; +static TQString* _qstring_qName = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocument(((TQDomImplementation*) QtSupport::getQt(env, obj))->createDocument((const TQString&)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName), (const TQDomDocumentType&)*(const TQDomDocumentType*) QtSupport::getQt(env, doctype))), "org.kde.qt.TQDomDocument", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomImplementation_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDomImplementation_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomImplementation_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQDomImplementation*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomImplementation_hasFeature(JNIEnv* env, jobject obj, jstring feature, jstring version) +{ +static TQString* _qstring_feature = 0; +static TQString* _qstring_version = 0; + jboolean xret = (jboolean) ((TQDomImplementation*) QtSupport::getQt(env, obj))->hasFeature((const TQString&)*(TQString*) QtSupport::toTQString(env, feature, &_qstring_feature), (const TQString&)*(TQString*) QtSupport::toTQString(env, version, &_qstring_version)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomImplementation_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomImplementation_isNull(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDomImplementation*) QtSupport::getQt(env, obj))->isNull(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomImplementation_newTQDomImplementation__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDomImplementationJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomImplementation_newTQDomImplementation__Lorg_kde_qt_QDomImplementation_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDomImplementationJBridge((const TQDomImplementation&)*(const TQDomImplementation*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomImplementation_op_1equals(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQDomImplementation*) QtSupport::getQt(env, obj))->operator==((const TQDomImplementation&)*(const TQDomImplementation*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomImplementation_op_1not_1equals(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQDomImplementation*) QtSupport::getQt(env, obj))->operator!=((const TQDomImplementation&)*(const TQDomImplementation*) QtSupport::getQt(env, arg1)); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQDomImplementation.h b/qtjava/javalib/qtjava/TQDomImplementation.h new file mode 100644 index 00000000..7e75e34c --- /dev/null +++ b/qtjava/javalib/qtjava/TQDomImplementation.h @@ -0,0 +1,29 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDomImplementation__ +#define __org_kde_qt_QDomImplementation__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomImplementation_newTQDomImplementation__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomImplementation_newTQDomImplementation__Lorg_kde_qt_QDomImplementation_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomImplementation_op_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomImplementation_op_1not_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomImplementation_hasFeature (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomImplementation_createDocumentType (JNIEnv *env, jobject, jstring, jstring, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomImplementation_createDocument (JNIEnv *env, jobject, jstring, jstring, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomImplementation_isNull (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomImplementation_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomImplementation_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomImplementation_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDomImplementation__ */ diff --git a/qtjava/javalib/qtjava/TQDomNamedNodeMap.cpp b/qtjava/javalib/qtjava/TQDomNamedNodeMap.cpp new file mode 100644 index 00000000..e212185d --- /dev/null +++ b/qtjava/javalib/qtjava/TQDomNamedNodeMap.cpp @@ -0,0 +1,149 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQDomNamedNodeMapJBridge : public TQDomNamedNodeMap +{ +public: + TQDomNamedNodeMapJBridge() : TQDomNamedNodeMap() {}; + TQDomNamedNodeMapJBridge(const TQDomNamedNodeMap& arg1) : TQDomNamedNodeMap(arg1) {}; + ~TQDomNamedNodeMapJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomNamedNodeMap_contains(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TQDomNamedNodeMap*) QtSupport::getQt(env, obj))->contains((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDomNamedNodeMap_count(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDomNamedNodeMap*) QtSupport::getQt(env, obj))->count(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomNamedNodeMap_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDomNamedNodeMap_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomNamedNodeMap_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQDomNamedNodeMap*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomNamedNodeMap_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomNamedNodeMap_item(JNIEnv* env, jobject obj, jint index) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNamedNodeMap*) QtSupport::getQt(env, obj))->item((int) index)), "org.kde.qt.TQDomNode", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDomNamedNodeMap_length(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDomNamedNodeMap*) QtSupport::getQt(env, obj))->length(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomNamedNodeMap_namedItemNS(JNIEnv* env, jobject obj, jstring nsURI, jstring localName) +{ +static TQString* _qstring_nsURI = 0; +static TQString* _qstring_localName = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNamedNodeMap*) QtSupport::getQt(env, obj))->namedItemNS((const TQString&)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, localName, &_qstring_localName))), "org.kde.qt.TQDomNode", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomNamedNodeMap_namedItem(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNamedNodeMap*) QtSupport::getQt(env, obj))->namedItem((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQDomNode", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomNamedNodeMap_newTQDomNamedNodeMap__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDomNamedNodeMapJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomNamedNodeMap_newTQDomNamedNodeMap__Lorg_kde_qt_QDomNamedNodeMap_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDomNamedNodeMapJBridge((const TQDomNamedNodeMap&)*(const TQDomNamedNodeMap*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomNamedNodeMap_op_1equals(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQDomNamedNodeMap*) QtSupport::getQt(env, obj))->operator==((const TQDomNamedNodeMap&)*(const TQDomNamedNodeMap*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomNamedNodeMap_op_1not_1equals(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQDomNamedNodeMap*) QtSupport::getQt(env, obj))->operator!=((const TQDomNamedNodeMap&)*(const TQDomNamedNodeMap*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomNamedNodeMap_removeNamedItemNS(JNIEnv* env, jobject obj, jstring nsURI, jstring localName) +{ +static TQString* _qstring_nsURI = 0; +static TQString* _qstring_localName = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNamedNodeMap*) QtSupport::getQt(env, obj))->removeNamedItemNS((const TQString&)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, localName, &_qstring_localName))), "org.kde.qt.TQDomNode", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomNamedNodeMap_removeNamedItem(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNamedNodeMap*) QtSupport::getQt(env, obj))->removeNamedItem((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQDomNode", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomNamedNodeMap_setNamedItemNS(JNIEnv* env, jobject obj, jobject newNode) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNamedNodeMap*) QtSupport::getQt(env, obj))->setNamedItemNS((const TQDomNode&)*(const TQDomNode*) QtSupport::getQt(env, newNode))), "org.kde.qt.TQDomNode", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomNamedNodeMap_setNamedItem(JNIEnv* env, jobject obj, jobject newNode) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNamedNodeMap*) QtSupport::getQt(env, obj))->setNamedItem((const TQDomNode&)*(const TQDomNode*) QtSupport::getQt(env, newNode))), "org.kde.qt.TQDomNode", TRUE); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQDomNamedNodeMap.h b/qtjava/javalib/qtjava/TQDomNamedNodeMap.h new file mode 100644 index 00000000..4e9961fc --- /dev/null +++ b/qtjava/javalib/qtjava/TQDomNamedNodeMap.h @@ -0,0 +1,35 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDomNamedNodeMap__ +#define __org_kde_qt_QDomNamedNodeMap__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNamedNodeMap_newTQDomNamedNodeMap__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNamedNodeMap_newTQDomNamedNodeMap__Lorg_kde_qt_QDomNamedNodeMap_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNamedNodeMap_op_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNamedNodeMap_op_1not_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNamedNodeMap_namedItem (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNamedNodeMap_setNamedItem (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNamedNodeMap_removeNamedItem (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNamedNodeMap_item (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNamedNodeMap_namedItemNS (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNamedNodeMap_setNamedItemNS (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNamedNodeMap_removeNamedItemNS (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDomNamedNodeMap_length (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDomNamedNodeMap_count (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNamedNodeMap_contains (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNamedNodeMap_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNamedNodeMap_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNamedNodeMap_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDomNamedNodeMap__ */ diff --git a/qtjava/javalib/qtjava/TQDomNode.cpp b/qtjava/javalib/qtjava/TQDomNode.cpp new file mode 100644 index 00000000..108d592e --- /dev/null +++ b/qtjava/javalib/qtjava/TQDomNode.cpp @@ -0,0 +1,487 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQDomNodeJBridge : public TQDomNode +{ +public: + TQDomNodeJBridge() : TQDomNode() {}; + TQDomNodeJBridge(const TQDomNode& arg1) : TQDomNode(arg1) {}; + void public_normalize() { + TQDomNode::normalize(); + return; + } + ~TQDomNodeJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomNode_appendChild(JNIEnv* env, jobject obj, jobject newChild) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNode*) QtSupport::getQt(env, obj))->appendChild((const TQDomNode&)*(const TQDomNode*) QtSupport::getQt(env, newChild))), "org.kde.qt.TQDomNode", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomNode_attributes(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNamedNodeMap(((TQDomNode*) QtSupport::getQt(env, obj))->attributes()), "org.kde.qt.TQDomNamedNodeMap", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomNode_childNodes(JNIEnv* env, jobject obj) +{ + TQDomNodeList _qlist; + _qlist = ((TQDomNode*) QtSupport::getQt(env, obj))->childNodes(); + return (jobject) QtSupport::arrayWithTQDomNodeList(env, (TQDomNodeList*) &_qlist); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomNode_clear(JNIEnv* env, jobject obj) +{ + ((TQDomNode*) QtSupport::getQt(env, obj))->clear(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomNode_cloneNode__(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNode*) QtSupport::getQt(env, obj))->cloneNode()), "org.kde.qt.TQDomNode", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomNode_cloneNode__Z(JNIEnv* env, jobject obj, jboolean deep) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNode*) QtSupport::getQt(env, obj))->cloneNode((bool) deep)), "org.kde.qt.TQDomNode", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomNode_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDomNode_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomNode_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQDomNode*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomNode_firstChild(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNode*) QtSupport::getQt(env, obj))->firstChild()), "org.kde.qt.TQDomNode", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomNode_hasAttributes(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->hasAttributes(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomNode_hasChildNodes(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->hasChildNodes(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomNode_insertAfter(JNIEnv* env, jobject obj, jobject newChild, jobject refChild) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNode*) QtSupport::getQt(env, obj))->insertAfter((const TQDomNode&)*(const TQDomNode*) QtSupport::getQt(env, newChild), (const TQDomNode&)*(const TQDomNode*) QtSupport::getQt(env, refChild))), "org.kde.qt.TQDomNode", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomNode_insertBefore(JNIEnv* env, jobject obj, jobject newChild, jobject refChild) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNode*) QtSupport::getQt(env, obj))->insertBefore((const TQDomNode&)*(const TQDomNode*) QtSupport::getQt(env, newChild), (const TQDomNode&)*(const TQDomNode*) QtSupport::getQt(env, refChild))), "org.kde.qt.TQDomNode", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomNode_isAttr(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->isAttr(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomNode_isCDATASection(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->isCDATASection(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomNode_isCharacterData(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->isCharacterData(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomNode_isComment(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->isComment(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomNode_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomNode_isDocumentFragment(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->isDocumentFragment(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomNode_isDocumentType(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->isDocumentType(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomNode_isDocument(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->isDocument(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomNode_isElement(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->isElement(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomNode_isEntityReference(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->isEntityReference(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomNode_isEntity(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->isEntity(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomNode_isNotation(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->isNotation(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomNode_isNull(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->isNull(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomNode_isProcessingInstruction(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->isProcessingInstruction(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomNode_isSupported(JNIEnv* env, jobject obj, jstring feature, jstring version) +{ +static TQString* _qstring_feature = 0; +static TQString* _qstring_version = 0; + jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->isSupported((const TQString&)*(TQString*) QtSupport::toTQString(env, feature, &_qstring_feature), (const TQString&)*(TQString*) QtSupport::toTQString(env, version, &_qstring_version)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomNode_isText(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->isText(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomNode_lastChild(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNode*) QtSupport::getQt(env, obj))->lastChild()), "org.kde.qt.TQDomNode", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDomNode_localName(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQDomNode*) QtSupport::getQt(env, obj))->localName(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomNode_namedItem(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNode*) QtSupport::getQt(env, obj))->namedItem((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQDomNode", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDomNode_namespaceURI(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQDomNode*) QtSupport::getQt(env, obj))->namespaceURI(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomNode_newTQDomNode__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDomNodeJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomNode_newTQDomNode__Lorg_kde_qt_QDomNode_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDomNodeJBridge((const TQDomNode&)*(const TQDomNode*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomNode_nextSibling(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNode*) QtSupport::getQt(env, obj))->nextSibling()), "org.kde.qt.TQDomNode", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDomNode_nodeName(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQDomNode*) QtSupport::getQt(env, obj))->nodeName(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDomNode_nodeType(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDomNode*) QtSupport::getQt(env, obj))->nodeType(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDomNode_nodeValue(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQDomNode*) QtSupport::getQt(env, obj))->nodeValue(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomNode_normalize(JNIEnv* env, jobject obj) +{ + ((TQDomNodeJBridge*) QtSupport::getQt(env, obj))->public_normalize(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomNode_op_1equals(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->operator==((const TQDomNode&)*(const TQDomNode*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomNode_op_1not_1equals(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->operator!=((const TQDomNode&)*(const TQDomNode*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomNode_ownerDocument(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocument(((TQDomNode*) QtSupport::getQt(env, obj))->ownerDocument()), "org.kde.qt.TQDomDocument", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomNode_parentNode(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNode*) QtSupport::getQt(env, obj))->parentNode()), "org.kde.qt.TQDomNode", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDomNode_prefix(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQDomNode*) QtSupport::getQt(env, obj))->prefix(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomNode_previousSibling(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNode*) QtSupport::getQt(env, obj))->previousSibling()), "org.kde.qt.TQDomNode", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomNode_removeChild(JNIEnv* env, jobject obj, jobject oldChild) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNode*) QtSupport::getQt(env, obj))->removeChild((const TQDomNode&)*(const TQDomNode*) QtSupport::getQt(env, oldChild))), "org.kde.qt.TQDomNode", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomNode_replaceChild(JNIEnv* env, jobject obj, jobject newChild, jobject oldChild) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNode(((TQDomNode*) QtSupport::getQt(env, obj))->replaceChild((const TQDomNode&)*(const TQDomNode*) QtSupport::getQt(env, newChild), (const TQDomNode&)*(const TQDomNode*) QtSupport::getQt(env, oldChild))), "org.kde.qt.TQDomNode", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomNode_save(JNIEnv* env, jobject obj, jobject arg1, jint arg2) +{ + ((TQDomNode*) QtSupport::getQt(env, obj))->save((TQTextStream&)*(TQTextStream*) QtSupport::getQt(env, arg1), (int) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomNode_setNodeValue(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQDomNode*) QtSupport::getQt(env, obj))->setNodeValue((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomNode_setPrefix(JNIEnv* env, jobject obj, jstring pre) +{ +static TQString* _qstring_pre = 0; + ((TQDomNode*) QtSupport::getQt(env, obj))->setPrefix((const TQString&)*(TQString*) QtSupport::toTQString(env, pre, &_qstring_pre)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomNode_toAttr(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomAttr(((TQDomNode*) QtSupport::getQt(env, obj))->toAttr()), "org.kde.qt.TQDomAttr", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomNode_toCDATASection(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomCDATASection(((TQDomNode*) QtSupport::getQt(env, obj))->toCDATASection()), "org.kde.qt.TQDomCDATASection", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomNode_toCharacterData(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomCharacterData(((TQDomNode*) QtSupport::getQt(env, obj))->toCharacterData()), "org.kde.qt.TQDomCharacterData", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomNode_toComment(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomComment(((TQDomNode*) QtSupport::getQt(env, obj))->toComment()), "org.kde.qt.TQDomComment", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomNode_toDocumentFragment(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocumentFragment(((TQDomNode*) QtSupport::getQt(env, obj))->toDocumentFragment()), "org.kde.qt.TQDomDocumentFragment", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomNode_toDocumentType(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocumentType(((TQDomNode*) QtSupport::getQt(env, obj))->toDocumentType()), "org.kde.qt.TQDomDocumentType", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomNode_toDocument(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocument(((TQDomNode*) QtSupport::getQt(env, obj))->toDocument()), "org.kde.qt.TQDomDocument", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomNode_toElement(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomElement(((TQDomNode*) QtSupport::getQt(env, obj))->toElement()), "org.kde.qt.TQDomElement", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomNode_toEntityReference(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomEntityReference(((TQDomNode*) QtSupport::getQt(env, obj))->toEntityReference()), "org.kde.qt.TQDomEntityReference", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomNode_toEntity(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomEntity(((TQDomNode*) QtSupport::getQt(env, obj))->toEntity()), "org.kde.qt.TQDomEntity", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomNode_toNotation(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomNotation(((TQDomNode*) QtSupport::getQt(env, obj))->toNotation()), "org.kde.qt.TQDomNotation", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomNode_toProcessingInstruction(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomProcessingInstruction(((TQDomNode*) QtSupport::getQt(env, obj))->toProcessingInstruction()), "org.kde.qt.TQDomProcessingInstruction", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomNode_toText(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomText(((TQDomNode*) QtSupport::getQt(env, obj))->toText()), "org.kde.qt.TQDomText", TRUE); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQDomNode.h b/qtjava/javalib/qtjava/TQDomNode.h new file mode 100644 index 00000000..b64ccab7 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDomNode.h @@ -0,0 +1,82 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDomNode__ +#define __org_kde_qt_QDomNode__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNode_newTQDomNode__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNode_newTQDomNode__Lorg_kde_qt_QDomNode_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_op_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_op_1not_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_insertBefore (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_insertAfter (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_replaceChild (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_removeChild (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_appendChild (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_hasChildNodes (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_cloneNode__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_cloneNode__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNode_normalize (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_isSupported (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomNode_nodeName (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDomNode_nodeType (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_parentNode (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_childNodes (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_firstChild (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_lastChild (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_previousSibling (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_nextSibling (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_attributes (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_ownerDocument (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomNode_namespaceURI (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomNode_localName (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_hasAttributes (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomNode_nodeValue (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNode_setNodeValue (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomNode_prefix (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNode_setPrefix (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_isAttr (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_isCDATASection (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_isDocumentFragment (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_isDocument (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_isDocumentType (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_isElement (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_isEntityReference (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_isText (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_isEntity (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_isNotation (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_isProcessingInstruction (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_isCharacterData (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_isComment (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_namedItem (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_isNull (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNode_clear (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_toAttr (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_toCDATASection (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_toDocumentFragment (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_toDocument (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_toDocumentType (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_toElement (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_toEntityReference (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_toText (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_toEntity (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_toNotation (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_toProcessingInstruction (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_toCharacterData (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomNode_toComment (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNode_save (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNode_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNode_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDomNode__ */ diff --git a/qtjava/javalib/qtjava/TQDomNotation.cpp b/qtjava/javalib/qtjava/TQDomNotation.cpp new file mode 100644 index 00000000..5cd9aa88 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDomNotation.cpp @@ -0,0 +1,88 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQDomNotationJBridge : public TQDomNotation +{ +public: + TQDomNotationJBridge() : TQDomNotation() {}; + TQDomNotationJBridge(const TQDomNotation& arg1) : TQDomNotation(arg1) {}; + ~TQDomNotationJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomNotation_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDomNotation_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomNotation_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQDomNotation*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomNotation_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomNotation_isNotation(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDomNotation*) QtSupport::getQt(env, obj))->isNotation(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomNotation_newTQDomNotation__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDomNotationJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomNotation_newTQDomNotation__Lorg_kde_qt_QDomNotation_2(JNIEnv* env, jobject obj, jobject x) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDomNotationJBridge((const TQDomNotation&)*(const TQDomNotation*) QtSupport::getQt(env, x))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDomNotation_nodeType(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDomNotation*) QtSupport::getQt(env, obj))->nodeType(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDomNotation_publicId(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQDomNotation*) QtSupport::getQt(env, obj))->publicId(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDomNotation_systemId(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQDomNotation*) QtSupport::getQt(env, obj))->systemId(); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQDomNotation.h b/qtjava/javalib/qtjava/TQDomNotation.h new file mode 100644 index 00000000..db826a79 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDomNotation.h @@ -0,0 +1,27 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDomNotation__ +#define __org_kde_qt_QDomNotation__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNotation_newTQDomNotation__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNotation_newTQDomNotation__Lorg_kde_qt_QDomNotation_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomNotation_publicId (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomNotation_systemId (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDomNotation_nodeType (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNotation_isNotation (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNotation_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNotation_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNotation_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDomNotation__ */ diff --git a/qtjava/javalib/qtjava/TQDomProcessingInstruction.cpp b/qtjava/javalib/qtjava/TQDomProcessingInstruction.cpp new file mode 100644 index 00000000..5f93236a --- /dev/null +++ b/qtjava/javalib/qtjava/TQDomProcessingInstruction.cpp @@ -0,0 +1,96 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQDomProcessingInstructionJBridge : public TQDomProcessingInstruction +{ +public: + TQDomProcessingInstructionJBridge() : TQDomProcessingInstruction() {}; + TQDomProcessingInstructionJBridge(const TQDomProcessingInstruction& arg1) : TQDomProcessingInstruction(arg1) {}; + ~TQDomProcessingInstructionJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDomProcessingInstruction_data(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQDomProcessingInstruction*) QtSupport::getQt(env, obj))->data(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomProcessingInstruction_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDomProcessingInstruction_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomProcessingInstruction_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQDomProcessingInstruction*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomProcessingInstruction_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomProcessingInstruction_isProcessingInstruction(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDomProcessingInstruction*) QtSupport::getQt(env, obj))->isProcessingInstruction(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomProcessingInstruction_newTQDomProcessingInstruction__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDomProcessingInstructionJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomProcessingInstruction_newTQDomProcessingInstruction__Lorg_kde_qt_QDomProcessingInstruction_2(JNIEnv* env, jobject obj, jobject x) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDomProcessingInstructionJBridge((const TQDomProcessingInstruction&)*(const TQDomProcessingInstruction*) QtSupport::getQt(env, x))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDomProcessingInstruction_nodeType(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDomProcessingInstruction*) QtSupport::getQt(env, obj))->nodeType(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomProcessingInstruction_setData(JNIEnv* env, jobject obj, jstring d) +{ +static TQString* _qstring_d = 0; + ((TQDomProcessingInstruction*) QtSupport::getQt(env, obj))->setData((const TQString&)*(TQString*) QtSupport::toTQString(env, d, &_qstring_d)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDomProcessingInstruction_target(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQDomProcessingInstruction*) QtSupport::getQt(env, obj))->target(); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQDomProcessingInstruction.h b/qtjava/javalib/qtjava/TQDomProcessingInstruction.h new file mode 100644 index 00000000..3b2e475f --- /dev/null +++ b/qtjava/javalib/qtjava/TQDomProcessingInstruction.h @@ -0,0 +1,28 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDomProcessingInstruction__ +#define __org_kde_qt_QDomProcessingInstruction__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomProcessingInstruction_newTQDomProcessingInstruction__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomProcessingInstruction_newTQDomProcessingInstruction__Lorg_kde_qt_QDomProcessingInstruction_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomProcessingInstruction_target (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomProcessingInstruction_data (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomProcessingInstruction_setData (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDomProcessingInstruction_nodeType (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomProcessingInstruction_isProcessingInstruction (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomProcessingInstruction_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomProcessingInstruction_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomProcessingInstruction_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDomProcessingInstruction__ */ diff --git a/qtjava/javalib/qtjava/TQDomText.cpp b/qtjava/javalib/qtjava/TQDomText.cpp new file mode 100644 index 00000000..7128c2c5 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDomText.cpp @@ -0,0 +1,78 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + +class TQDomTextJBridge : public TQDomText +{ +public: + TQDomTextJBridge() : TQDomText() {}; + TQDomTextJBridge(const TQDomText& arg1) : TQDomText(arg1) {}; + ~TQDomTextJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomText_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDomText_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomText_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQDomText*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomText_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomText_isText(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDomText*) QtSupport::getQt(env, obj))->isText(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomText_newTQDomText__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDomTextJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomText_newTQDomText__Lorg_kde_qt_QDomText_2(JNIEnv* env, jobject obj, jobject x) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDomTextJBridge((const TQDomText&)*(const TQDomText*) QtSupport::getQt(env, x))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDomText_nodeType(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDomText*) QtSupport::getQt(env, obj))->nodeType(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDomText_splitText(JNIEnv* env, jobject obj, jint offset) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomText(((TQDomText*) QtSupport::getQt(env, obj))->splitText((int) offset)), "org.kde.qt.TQDomText", TRUE); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQDomText.h b/qtjava/javalib/qtjava/TQDomText.h new file mode 100644 index 00000000..903d5d2a --- /dev/null +++ b/qtjava/javalib/qtjava/TQDomText.h @@ -0,0 +1,26 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDomText__ +#define __org_kde_qt_QDomText__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomText_newTQDomText__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomText_newTQDomText__Lorg_kde_qt_QDomText_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDomText_splitText (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDomText_nodeType (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomText_isText (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomText_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomText_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomText_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDomText__ */ diff --git a/qtjava/javalib/qtjava/TQDoubleValidator.cpp b/qtjava/javalib/qtjava/TQDoubleValidator.cpp new file mode 100644 index 00000000..61f3e3f7 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDoubleValidator.cpp @@ -0,0 +1,222 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQDoubleValidatorJBridge : public TQDoubleValidator +{ +public: + TQDoubleValidatorJBridge(TQObject* arg1,const char* arg2) : TQDoubleValidator(arg1,arg2) {}; + TQDoubleValidatorJBridge(TQObject* arg1) : TQDoubleValidator(arg1) {}; + TQDoubleValidatorJBridge(double arg1,double arg2,int arg3,TQObject* arg4,const char* arg5) : TQDoubleValidator(arg1,arg2,arg3,arg4,arg5) {}; + TQDoubleValidatorJBridge(double arg1,double arg2,int arg3,TQObject* arg4) : TQDoubleValidator(arg1,arg2,arg3,arg4) {}; + ~TQDoubleValidatorJBridge() {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.qt.TQDoubleValidator",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT jdouble JNICALL +Java_org_kde_qt_QDoubleValidator_bottom(JNIEnv* env, jobject obj) +{ + jdouble xret = (jdouble) ((TQDoubleValidator*) QtSupport::getQt(env, obj))->bottom(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDoubleValidator_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQDoubleValidator*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDoubleValidator_decimals(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDoubleValidator*) QtSupport::getQt(env, obj))->decimals(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDoubleValidator_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDoubleValidator_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDoubleValidator_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQDoubleValidator*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQDoubleValidator*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDoubleValidator_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDoubleValidator_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDoubleValidator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDoubleValidator_newTQDoubleValidator__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 TQDoubleValidatorJBridge((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_qt_QDoubleValidator_newTQDoubleValidator__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 TQDoubleValidatorJBridge((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_qt_QDoubleValidator_newTQDoubleValidator__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDoubleValidatorJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDoubleValidator_newTQDoubleValidator__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 TQDoubleValidatorJBridge((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_qt_QDoubleValidator_setBottom(JNIEnv* env, jobject obj, jdouble arg1) +{ + ((TQDoubleValidator*) QtSupport::getQt(env, obj))->setBottom((double) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDoubleValidator_setDecimals(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQDoubleValidator*) QtSupport::getQt(env, obj))->setDecimals((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDoubleValidator_setRange__DD(JNIEnv* env, jobject obj, jdouble bottom, jdouble top) +{ + ((TQDoubleValidator*) QtSupport::getQt(env, obj))->setRange((double) bottom, (double) top); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDoubleValidator_setRange__DDI(JNIEnv* env, jobject obj, jdouble bottom, jdouble top, jint decimals) +{ + ((TQDoubleValidator*) QtSupport::getQt(env, obj))->setRange((double) bottom, (double) top, (int) decimals); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDoubleValidator_setTop(JNIEnv* env, jobject obj, jdouble arg1) +{ + ((TQDoubleValidator*) QtSupport::getQt(env, obj))->setTop((double) arg1); + return; +} + +JNIEXPORT jdouble JNICALL +Java_org_kde_qt_QDoubleValidator_top(JNIEnv* env, jobject obj) +{ + jdouble xret = (jdouble) ((TQDoubleValidator*) QtSupport::getQt(env, obj))->top(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDoubleValidator_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQDoubleValidatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDoubleValidator_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQDoubleValidatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDoubleValidator_validate(JNIEnv* env, jobject obj, jobject arg1, jintArray arg2) +{ +static TQString* _qstring_arg1 = 0; + int* _int_arg2 = QtSupport::toIntPtr(env, arg2); + jint xret = (jint) ((TQDoubleValidator*) 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/qtjava/javalib/qtjava/TQDoubleValidator.h b/qtjava/javalib/qtjava/TQDoubleValidator.h new file mode 100644 index 00000000..bd2c370c --- /dev/null +++ b/qtjava/javalib/qtjava/TQDoubleValidator.h @@ -0,0 +1,38 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDoubleValidator__ +#define __org_kde_qt_QDoubleValidator__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDoubleValidator_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDoubleValidator_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDoubleValidator_newTQDoubleValidator__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDoubleValidator_newTQDoubleValidator__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDoubleValidator_newTQDoubleValidator__DDILorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jdouble, jdouble, jint, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDoubleValidator_newTQDoubleValidator__DDILorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jdouble, jdouble, jint, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDoubleValidator_validate (JNIEnv *env, jobject, jobject, jintArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDoubleValidator_setRange__DDI (JNIEnv *env, jobject, jdouble, jdouble, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDoubleValidator_setRange__DD (JNIEnv *env, jobject, jdouble, jdouble); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDoubleValidator_setBottom (JNIEnv *env, jobject, jdouble); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDoubleValidator_setTop (JNIEnv *env, jobject, jdouble); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDoubleValidator_setDecimals (JNIEnv *env, jobject, jint); +extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QDoubleValidator_bottom (JNIEnv *env, jobject); +extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QDoubleValidator_top (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDoubleValidator_decimals (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDoubleValidator_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDoubleValidator_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDoubleValidator_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDoubleValidator_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDoubleValidator_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDoubleValidator__ */ diff --git a/qtjava/javalib/qtjava/TQDragEnterEvent.cpp b/qtjava/javalib/qtjava/TQDragEnterEvent.cpp new file mode 100644 index 00000000..ddc9410e --- /dev/null +++ b/qtjava/javalib/qtjava/TQDragEnterEvent.cpp @@ -0,0 +1,47 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQDragEnterEventJBridge : public TQDragEnterEvent +{ +public: + TQDragEnterEventJBridge(const TQPoint& arg1) : TQDragEnterEvent(arg1) {}; + ~TQDragEnterEventJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDragEnterEvent_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDragEnterEvent_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDragEnterEvent_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQDragEnterEvent*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDragEnterEvent_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDragEnterEvent_newTQDragEnterEvent(JNIEnv* env, jobject obj, jobject pos) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDragEnterEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + diff --git a/qtjava/javalib/qtjava/TQDragEnterEvent.h b/qtjava/javalib/qtjava/TQDragEnterEvent.h new file mode 100644 index 00000000..379e6c0b --- /dev/null +++ b/qtjava/javalib/qtjava/TQDragEnterEvent.h @@ -0,0 +1,22 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDragEnterEvent__ +#define __org_kde_qt_QDragEnterEvent__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragEnterEvent_newTQDragEnterEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragEnterEvent_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragEnterEvent_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDragEnterEvent_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDragEnterEvent__ */ diff --git a/qtjava/javalib/qtjava/TQDragLeaveEvent.cpp b/qtjava/javalib/qtjava/TQDragLeaveEvent.cpp new file mode 100644 index 00000000..cd0c3731 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDragLeaveEvent.cpp @@ -0,0 +1,46 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + +class TQDragLeaveEventJBridge : public TQDragLeaveEvent +{ +public: + TQDragLeaveEventJBridge() : TQDragLeaveEvent() {}; + ~TQDragLeaveEventJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDragLeaveEvent_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDragLeaveEvent_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDragLeaveEvent_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQDragLeaveEvent*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDragLeaveEvent_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDragLeaveEvent_newTQDragLeaveEvent(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDragLeaveEventJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + diff --git a/qtjava/javalib/qtjava/TQDragLeaveEvent.h b/qtjava/javalib/qtjava/TQDragLeaveEvent.h new file mode 100644 index 00000000..823be5d8 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDragLeaveEvent.h @@ -0,0 +1,22 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDragLeaveEvent__ +#define __org_kde_qt_QDragLeaveEvent__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragLeaveEvent_newTQDragLeaveEvent (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragLeaveEvent_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragLeaveEvent_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDragLeaveEvent_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDragLeaveEvent__ */ diff --git a/qtjava/javalib/qtjava/TQDragManager.cpp b/qtjava/javalib/qtjava/TQDragManager.cpp new file mode 100644 index 00000000..80917818 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDragManager.cpp @@ -0,0 +1,43 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDragManager_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQDragManager*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDragManager_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDragManager*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDragManager_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQDragManager::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDragManager_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQDragManager::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQDragManager.h b/qtjava/javalib/qtjava/TQDragManager.h new file mode 100644 index 00000000..2673f61e --- /dev/null +++ b/qtjava/javalib/qtjava/TQDragManager.h @@ -0,0 +1,22 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDragManager__ +#define __org_kde_qt_QDragManager__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDragManager_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDragManager_className (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDragManager_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDragManager_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDragManager__ */ diff --git a/qtjava/javalib/qtjava/TQDragMoveEvent.cpp b/qtjava/javalib/qtjava/TQDragMoveEvent.cpp new file mode 100644 index 00000000..3457917b --- /dev/null +++ b/qtjava/javalib/qtjava/TQDragMoveEvent.cpp @@ -0,0 +1,101 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQDragMoveEventJBridge : public TQDragMoveEvent +{ +public: + TQDragMoveEventJBridge(const TQPoint& arg1,TQEvent::Type arg2) : TQDragMoveEvent(arg1,arg2) {}; + TQDragMoveEventJBridge(const TQPoint& arg1) : TQDragMoveEvent(arg1) {}; + ~TQDragMoveEventJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDragMoveEvent_accept__(JNIEnv* env, jobject obj) +{ + ((TQDragMoveEvent*) QtSupport::getQt(env, obj))->accept(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDragMoveEvent_accept__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject r) +{ + ((TQDragMoveEvent*) QtSupport::getQt(env, obj))->accept((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDragMoveEvent_accept__Z(JNIEnv* env, jobject obj, jboolean y) +{ + ((TQDragMoveEvent*) QtSupport::getQt(env, obj))->accept((bool) y); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDragMoveEvent_answerRect(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQDragMoveEvent*) QtSupport::getQt(env, obj))->answerRect()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDragMoveEvent_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDragMoveEvent_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDragMoveEvent_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQDragMoveEvent*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDragMoveEvent_ignore__(JNIEnv* env, jobject obj) +{ + ((TQDragMoveEvent*) QtSupport::getQt(env, obj))->ignore(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDragMoveEvent_ignore__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject r) +{ + ((TQDragMoveEvent*) QtSupport::getQt(env, obj))->ignore((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDragMoveEvent_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDragMoveEvent_newTQDragMoveEvent__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject pos) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDragMoveEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDragMoveEvent_newTQDragMoveEvent__Lorg_kde_qt_QPoint_2I(JNIEnv* env, jobject obj, jobject pos, jint typ) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDragMoveEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (TQEvent::Type) typ)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + diff --git a/qtjava/javalib/qtjava/TQDragMoveEvent.h b/qtjava/javalib/qtjava/TQDragMoveEvent.h new file mode 100644 index 00000000..676f77ae --- /dev/null +++ b/qtjava/javalib/qtjava/TQDragMoveEvent.h @@ -0,0 +1,29 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDragMoveEvent__ +#define __org_kde_qt_QDragMoveEvent__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragMoveEvent_newTQDragMoveEvent__Lorg_kde_qt_QPoint_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragMoveEvent_newTQDragMoveEvent__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDragMoveEvent_answerRect (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragMoveEvent_accept__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragMoveEvent_accept__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragMoveEvent_accept__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragMoveEvent_ignore__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragMoveEvent_ignore__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragMoveEvent_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragMoveEvent_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDragMoveEvent_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDragMoveEvent__ */ diff --git a/qtjava/javalib/qtjava/TQDragObject.cpp b/qtjava/javalib/qtjava/TQDragObject.cpp new file mode 100644 index 00000000..43a0254c --- /dev/null +++ b/qtjava/javalib/qtjava/TQDragObject.cpp @@ -0,0 +1,172 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include + +#include +#include + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDragObject_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQDragObject*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDragObject_dragCopy(JNIEnv* env, jobject obj) +{ + ((TQDragObject*) QtSupport::getQt(env, obj))->dragCopy(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDragObject_dragLink(JNIEnv* env, jobject obj) +{ + ((TQDragObject*) QtSupport::getQt(env, obj))->dragLink(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDragObject_dragMove(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDragObject*) QtSupport::getQt(env, obj))->dragMove(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDragObject_drag(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDragObject*) QtSupport::getQt(env, obj))->drag(); + return xret; +} + +JNIEXPORT jbyteArray JNICALL +Java_org_kde_qt_QDragObject_encodedData(JNIEnv* env, jobject obj, jstring arg1) +{ + TQByteArray _qbyteArray; +static TQCString* _qstring_arg1 = 0; + _qbyteArray = ((TQMimeSource*)(TQDragObject*) QtSupport::getQt(env, obj))->encodedData((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQByteArray(env, &_qbyteArray); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDragObject_format__(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQMimeSource*)(TQDragObject*) QtSupport::getQt(env, obj))->format(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDragObject_format__I(JNIEnv* env, jobject obj, jint n) +{ + const char* _qstring; + _qstring = ((TQMimeSource*)(TQDragObject*) QtSupport::getQt(env, obj))->format((int) n); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDragObject_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDragObject*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDragObject_pixmapHotSpot(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQDragObject*) QtSupport::getQt(env, obj))->pixmapHotSpot()), "org.kde.qt.TQPoint", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDragObject_pixmap(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQDragObject*) QtSupport::getQt(env, obj))->pixmap()), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDragObject_provides(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQCString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TQMimeSource*)(TQDragObject*) QtSupport::getQt(env, obj))->provides((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDragObject_serialNumber(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMimeSource*)(TQDragObject*) QtSupport::getQt(env, obj))->serialNumber(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDragObject_setPixmap__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQDragObject*) QtSupport::getQt(env, obj))->setPixmap((TQPixmap)*(TQPixmap*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDragObject_setPixmap__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1, jobject hotspot) +{ + ((TQDragObject*) QtSupport::getQt(env, obj))->setPixmap((TQPixmap)*(TQPixmap*) QtSupport::getQt(env, arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, hotspot)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDragObject_setTarget(JNIEnv* env, jclass cls, jobject arg1) +{ + (void) cls; + TQDragObject::setTarget((TQWidget*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDragObject_source(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDragObject*) QtSupport::getQt(env, obj))->source(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDragObject_target(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQDragObject::target(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDragObject_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQDragObject::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDragObject_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQDragObject::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QDragObject_mimeSource(JNIEnv* env, jobject obj) +{ + return (jlong) (TQMimeSource*) (TQDragObject*) QtSupport::getQt(env, obj); +} + diff --git a/qtjava/javalib/qtjava/TQDragObject.h b/qtjava/javalib/qtjava/TQDragObject.h new file mode 100644 index 00000000..633197e3 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDragObject.h @@ -0,0 +1,39 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDragObject__ +#define __org_kde_qt_QDragObject__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDragObject_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDragObject_className (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDragObject_drag (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDragObject_dragMove (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragObject_dragCopy (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragObject_dragLink (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragObject_setPixmap__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragObject_setPixmap__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDragObject_pixmap (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDragObject_pixmapHotSpot (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDragObject_source (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDragObject_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDragObject_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDragObject_target (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragObject_setTarget (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDragObject_format__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDragObject_format__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDragObject_provides (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QDragObject_encodedData (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDragObject_serialNumber (JNIEnv *env, jobject); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QDragObject_mimeSource (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDragObject__ */ diff --git a/qtjava/javalib/qtjava/TQDragResponseEvent.cpp b/qtjava/javalib/qtjava/TQDragResponseEvent.cpp new file mode 100644 index 00000000..db156950 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDragResponseEvent.cpp @@ -0,0 +1,53 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + +class TQDragResponseEventJBridge : public TQDragResponseEvent +{ +public: + TQDragResponseEventJBridge(bool arg1) : TQDragResponseEvent(arg1) {}; + ~TQDragResponseEventJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDragResponseEvent_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDragResponseEvent_finalize(env, obj); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDragResponseEvent_dragAccepted(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDragResponseEvent*) QtSupport::getQt(env, obj))->dragAccepted(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDragResponseEvent_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQDragResponseEvent*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDragResponseEvent_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDragResponseEvent_newTQDragResponseEvent(JNIEnv* env, jobject obj, jboolean accepted) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDragResponseEventJBridge((bool) accepted)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + diff --git a/qtjava/javalib/qtjava/TQDragResponseEvent.h b/qtjava/javalib/qtjava/TQDragResponseEvent.h new file mode 100644 index 00000000..0489ce68 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDragResponseEvent.h @@ -0,0 +1,23 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDragResponseEvent__ +#define __org_kde_qt_QDragResponseEvent__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragResponseEvent_newTQDragResponseEvent (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDragResponseEvent_dragAccepted (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragResponseEvent_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragResponseEvent_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDragResponseEvent_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDragResponseEvent__ */ diff --git a/qtjava/javalib/qtjava/TQDropEvent.cpp b/qtjava/javalib/qtjava/TQDropEvent.cpp new file mode 100644 index 00000000..24443f5a --- /dev/null +++ b/qtjava/javalib/qtjava/TQDropEvent.cpp @@ -0,0 +1,199 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +class TQDropEventJBridge : public TQDropEvent +{ +public: + TQDropEventJBridge(const TQPoint& arg1,TQEvent::Type arg2) : TQDropEvent(arg1,arg2) {}; + TQDropEventJBridge(const TQPoint& arg1) : TQDropEvent(arg1) {}; + ~TQDropEventJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDropEvent_acceptAction__(JNIEnv* env, jobject obj) +{ + ((TQDropEvent*) QtSupport::getQt(env, obj))->acceptAction(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDropEvent_acceptAction__Z(JNIEnv* env, jobject obj, jboolean y) +{ + ((TQDropEvent*) QtSupport::getQt(env, obj))->acceptAction((bool) y); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDropEvent_accept__(JNIEnv* env, jobject obj) +{ + ((TQDropEvent*) QtSupport::getQt(env, obj))->accept(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDropEvent_accept__Z(JNIEnv* env, jobject obj, jboolean y) +{ + ((TQDropEvent*) QtSupport::getQt(env, obj))->accept((bool) y); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDropEvent_action(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDropEvent*) QtSupport::getQt(env, obj))->action(); + return xret; +} + +JNIEXPORT jbyteArray JNICALL +Java_org_kde_qt_QDropEvent_data(JNIEnv* env, jobject obj, jstring f) +{ + TQByteArray _qbyteArray; +static TQCString* _qstring_f = 0; + _qbyteArray = ((TQDropEvent*) QtSupport::getQt(env, obj))->data((const char*) QtSupport::toCharString(env, f, &_qstring_f)); + return QtSupport::fromTQByteArray(env, &_qbyteArray); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDropEvent_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDropEvent_finalize(env, obj); + return; +} + +JNIEXPORT jbyteArray JNICALL +Java_org_kde_qt_QDropEvent_encodedData(JNIEnv* env, jobject obj, jstring arg1) +{ + TQByteArray _qbyteArray; +static TQCString* _qstring_arg1 = 0; + _qbyteArray = ((TQDropEvent*) QtSupport::getQt(env, obj))->encodedData((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQByteArray(env, &_qbyteArray); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDropEvent_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQDropEvent*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDropEvent_format__(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQDropEvent*) QtSupport::getQt(env, obj))->format(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDropEvent_format__I(JNIEnv* env, jobject obj, jint n) +{ + const char* _qstring; + _qstring = ((TQDropEvent*) QtSupport::getQt(env, obj))->format((int) n); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDropEvent_ignore(JNIEnv* env, jobject obj) +{ + ((TQDropEvent*) QtSupport::getQt(env, obj))->ignore(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDropEvent_isAccepted(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDropEvent*) QtSupport::getQt(env, obj))->isAccepted(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDropEvent_isActionAccepted(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDropEvent*) QtSupport::getQt(env, obj))->isActionAccepted(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDropEvent_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDropEvent_newTQDropEvent__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject pos) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDropEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDropEvent_newTQDropEvent__Lorg_kde_qt_QPoint_2I(JNIEnv* env, jobject obj, jobject pos, jint typ) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDropEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (TQEvent::Type) typ)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDropEvent_pos(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQDropEvent*) QtSupport::getQt(env, obj))->pos(), "org.kde.qt.TQPoint"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDropEvent_provides(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQCString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TQDropEvent*) QtSupport::getQt(env, obj))->provides((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDropEvent_serialNumber(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMimeSource*)(TQDropEvent*) QtSupport::getQt(env, obj))->serialNumber(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDropEvent_setAction(JNIEnv* env, jobject obj, jint a) +{ + ((TQDropEvent*) QtSupport::getQt(env, obj))->setAction((TQDropEvent::Action) a); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDropEvent_setPoint(JNIEnv* env, jobject obj, jobject np) +{ + ((TQDropEvent*) QtSupport::getQt(env, obj))->setPoint((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, np)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QDropEvent_source(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDropEvent*) QtSupport::getQt(env, obj))->source(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QDropEvent_mimeSource(JNIEnv* env, jobject obj) +{ + return (jlong) (TQMimeSource*) (TQDropEvent*) QtSupport::getQt(env, obj); +} + diff --git a/qtjava/javalib/qtjava/TQDropEvent.h b/qtjava/javalib/qtjava/TQDropEvent.h new file mode 100644 index 00000000..5a1bf3a9 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDropEvent.h @@ -0,0 +1,42 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDropEvent__ +#define __org_kde_qt_QDropEvent__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDropEvent_newTQDropEvent__Lorg_kde_qt_QPoint_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDropEvent_newTQDropEvent__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDropEvent_pos (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDropEvent_isAccepted (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDropEvent_accept__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDropEvent_accept__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDropEvent_ignore (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDropEvent_isActionAccepted (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDropEvent_acceptAction__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDropEvent_acceptAction__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDropEvent_setAction (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDropEvent_action (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QDropEvent_source (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDropEvent_format__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QDropEvent_format__ (JNIEnv *env, jobject); +extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QDropEvent_encodedData (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDropEvent_provides (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QDropEvent_data (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDropEvent_setPoint (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDropEvent_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDropEvent_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDropEvent_isDisposed (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QDropEvent_serialNumber (JNIEnv *env, jobject); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QDropEvent_mimeSource (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDropEvent__ */ diff --git a/qtjava/javalib/qtjava/TQDropSite.cpp b/qtjava/javalib/qtjava/TQDropSite.cpp new file mode 100644 index 00000000..d4313bc0 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDropSite.cpp @@ -0,0 +1,46 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + +class TQDropSiteJBridge : public TQDropSite +{ +public: + TQDropSiteJBridge(TQWidget* arg1) : TQDropSite(arg1) {}; + ~TQDropSiteJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDropSite_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDropSite_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDropSite_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQDropSite*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDropSite_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDropSite_newTQDropSite(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDropSiteJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + diff --git a/qtjava/javalib/qtjava/TQDropSite.h b/qtjava/javalib/qtjava/TQDropSite.h new file mode 100644 index 00000000..9c97ed82 --- /dev/null +++ b/qtjava/javalib/qtjava/TQDropSite.h @@ -0,0 +1,22 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QDropSite__ +#define __org_kde_qt_QDropSite__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDropSite_newTQDropSite (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDropSite_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QDropSite_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDropSite_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QDropSite__ */ diff --git a/qtjava/javalib/qtjava/TQEditorFactory.cpp b/qtjava/javalib/qtjava/TQEditorFactory.cpp new file mode 100644 index 00000000..7de9ca86 --- /dev/null +++ b/qtjava/javalib/qtjava/TQEditorFactory.cpp @@ -0,0 +1,130 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQEditorFactoryJBridge : public TQEditorFactory +{ +public: + TQEditorFactoryJBridge(TQObject* arg1,const char* arg2) : TQEditorFactory(arg1,arg2) {}; + TQEditorFactoryJBridge(TQObject* arg1) : TQEditorFactory(arg1) {}; + TQEditorFactoryJBridge() : TQEditorFactory() {}; + ~TQEditorFactoryJBridge() {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.qt.TQEditorFactory",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QEditorFactory_createEditor(JNIEnv* env, jobject obj, jobject parent, jobject v) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQEditorFactory*) QtSupport::getQt(env, obj))->createEditor((TQWidget*) QtSupport::getQt(env, parent), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, v)), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QEditorFactory_defaultFactory(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQEditorFactoryJBridge::defaultFactory(), "org.kde.qt.TQEditorFactory"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QEditorFactory_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QEditorFactory_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QEditorFactory_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQEditorFactory*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQEditorFactory*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QEditorFactory_installDefaultFactory(JNIEnv* env, jclass cls, jobject factory) +{ + (void) cls; + TQEditorFactoryJBridge::installDefaultFactory((TQEditorFactory*) QtSupport::getQt(env, factory)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QEditorFactory_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QEditorFactory_newTQEditorFactory__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQEditorFactoryJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QEditorFactory_newTQEditorFactory__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQEditorFactoryJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QEditorFactory_newTQEditorFactory__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 TQEditorFactoryJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + diff --git a/qtjava/javalib/qtjava/TQEditorFactory.h b/qtjava/javalib/qtjava/TQEditorFactory.h new file mode 100644 index 00000000..d33984c8 --- /dev/null +++ b/qtjava/javalib/qtjava/TQEditorFactory.h @@ -0,0 +1,27 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QEditorFactory__ +#define __org_kde_qt_QEditorFactory__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QEditorFactory_newTQEditorFactory__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QEditorFactory_newTQEditorFactory__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QEditorFactory_newTQEditorFactory__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QEditorFactory_createEditor (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QEditorFactory_defaultFactory (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QEditorFactory_installDefaultFactory (JNIEnv *env, jclass, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QEditorFactory_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QEditorFactory_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QEditorFactory_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QEditorFactory__ */ diff --git a/qtjava/javalib/qtjava/TQErrorMessage.cpp b/qtjava/javalib/qtjava/TQErrorMessage.cpp new file mode 100644 index 00000000..f0de500e --- /dev/null +++ b/qtjava/javalib/qtjava/TQErrorMessage.cpp @@ -0,0 +1,455 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQErrorMessageJBridge : public TQErrorMessage +{ +public: + TQErrorMessageJBridge(TQWidget* arg1,const char* arg2) : TQErrorMessage(arg1,arg2) {}; + TQErrorMessageJBridge(TQWidget* arg1) : TQErrorMessage(arg1) {}; + void protected_done(int arg1) { + TQErrorMessage::done(arg1); + return; + } + ~TQErrorMessageJBridge() {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.qt.TQErrorMessage","accept")) { + TQDialog::accept(); + } + return; + } + void setActiveWindow() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQErrorMessage","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.qt.TQErrorMessage","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.qt.TQErrorMessage","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.qt.TQErrorMessage","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQErrorMessage","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.qt.TQErrorMessage","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQErrorMessage","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.qt.TQErrorMessage","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.qt.TQErrorMessage","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.qt.TQErrorMessage","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QErrorMessage_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQErrorMessage*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QErrorMessage_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QErrorMessage_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QErrorMessage_done(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQErrorMessageJBridge*) QtSupport::getQt(env, obj))->protected_done((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QErrorMessage_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQErrorMessage*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQErrorMessage*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QErrorMessage_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QErrorMessage_message(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQErrorMessage*) QtSupport::getQt(env, obj))->message((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QErrorMessage_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQErrorMessage*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QErrorMessage_newTQErrorMessage__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQErrorMessageJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QErrorMessage_newTQErrorMessage__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 TQErrorMessageJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QErrorMessage_qtHandler(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQErrorMessageJBridge::qtHandler(), "org.kde.qt.TQErrorMessage"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QErrorMessage_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQErrorMessageJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QErrorMessage_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQErrorMessageJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQErrorMessage.h b/qtjava/javalib/qtjava/TQErrorMessage.h new file mode 100644 index 00000000..de180772 --- /dev/null +++ b/qtjava/javalib/qtjava/TQErrorMessage.h @@ -0,0 +1,30 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QErrorMessage__ +#define __org_kde_qt_QErrorMessage__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QErrorMessage_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QErrorMessage_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QErrorMessage_newTQErrorMessage__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QErrorMessage_newTQErrorMessage__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QErrorMessage_message (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QErrorMessage_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QErrorMessage_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QErrorMessage_qtHandler (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QErrorMessage_done (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QErrorMessage_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QErrorMessage_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QErrorMessage_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QErrorMessage__ */ diff --git a/qtjava/javalib/qtjava/TQEucJpCodec.cpp b/qtjava/javalib/qtjava/TQEucJpCodec.cpp new file mode 100644 index 00000000..6c7e7e96 --- /dev/null +++ b/qtjava/javalib/qtjava/TQEucJpCodec.cpp @@ -0,0 +1,114 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQEucJpCodecJBridge : public TQEucJpCodec +{ +public: + TQEucJpCodecJBridge() : TQEucJpCodec() {}; + ~TQEucJpCodecJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QEucJpCodec_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QEucJpCodec_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QEucJpCodec_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQEucJpCodec*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QEucJpCodec_fromUnicode(JNIEnv* env, jobject obj, jstring uc, jintArray lenInOut) +{ + TQCString _qstring; +static TQString* _qstring_uc = 0; + int* _int_lenInOut = QtSupport::toIntPtr(env, lenInOut); + _qstring = ((TQEucJpCodec*) QtSupport::getQt(env, obj))->fromUnicode((const TQString&)*(TQString*) QtSupport::toTQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); + env->SetIntArrayRegion(lenInOut, 0, 1, (jint *) _int_lenInOut); + return QtSupport::fromTQCString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QEucJpCodec_heuristicContentMatch(JNIEnv* env, jobject obj, jstring chars, jint len) +{ +static TQCString* _qstring_chars = 0; + jint xret = (jint) ((TQEucJpCodec*) QtSupport::getQt(env, obj))->heuristicContentMatch((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QEucJpCodec_heuristicNameMatch(JNIEnv* env, jobject obj, jstring hint) +{ +static TQCString* _qstring_hint = 0; + jint xret = (jint) ((TQEucJpCodec*) QtSupport::getQt(env, obj))->heuristicNameMatch((const char*) QtSupport::toCharString(env, hint, &_qstring_hint)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QEucJpCodec_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QEucJpCodec_makeDecoder(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQEucJpCodec*) QtSupport::getQt(env, obj))->makeDecoder(), "org.kde.qt.TQTextDecoder"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QEucJpCodec_mibEnum(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQEucJpCodec*) QtSupport::getQt(env, obj))->mibEnum(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QEucJpCodec_mimeName(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQEucJpCodec*) QtSupport::getQt(env, obj))->mimeName(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QEucJpCodec_name(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQEucJpCodec*) QtSupport::getQt(env, obj))->name(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QEucJpCodec_newTQEucJpCodec(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQEucJpCodecJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QEucJpCodec_toUnicode(JNIEnv* env, jobject obj, jstring chars, jint len) +{ + TQString _qstring; +static TQCString* _qstring_chars = 0; + _qstring = ((TQEucJpCodec*) QtSupport::getQt(env, obj))->toUnicode((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQEucJpCodec.h b/qtjava/javalib/qtjava/TQEucJpCodec.h new file mode 100644 index 00000000..0c0450b1 --- /dev/null +++ b/qtjava/javalib/qtjava/TQEucJpCodec.h @@ -0,0 +1,30 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QEucJpCodec__ +#define __org_kde_qt_QEucJpCodec__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QEucJpCodec_mibEnum (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QEucJpCodec_name (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QEucJpCodec_mimeName (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QEucJpCodec_makeDecoder (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QEucJpCodec_fromUnicode (JNIEnv *env, jobject, jstring, jintArray); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QEucJpCodec_toUnicode (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QEucJpCodec_heuristicContentMatch (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QEucJpCodec_heuristicNameMatch (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QEucJpCodec_newTQEucJpCodec (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QEucJpCodec_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QEucJpCodec_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QEucJpCodec_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QEucJpCodec__ */ diff --git a/qtjava/javalib/qtjava/TQEucKrCodec.cpp b/qtjava/javalib/qtjava/TQEucKrCodec.cpp new file mode 100644 index 00000000..1f6c6cf5 --- /dev/null +++ b/qtjava/javalib/qtjava/TQEucKrCodec.cpp @@ -0,0 +1,114 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQEucKrCodecJBridge : public TQEucKrCodec +{ +public: + TQEucKrCodecJBridge() : TQEucKrCodec() {}; + ~TQEucKrCodecJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QEucKrCodec_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QEucKrCodec_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QEucKrCodec_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQEucKrCodec*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QEucKrCodec_fromUnicode(JNIEnv* env, jobject obj, jstring uc, jintArray lenInOut) +{ + TQCString _qstring; +static TQString* _qstring_uc = 0; + int* _int_lenInOut = QtSupport::toIntPtr(env, lenInOut); + _qstring = ((TQEucKrCodec*) QtSupport::getQt(env, obj))->fromUnicode((const TQString&)*(TQString*) QtSupport::toTQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); + env->SetIntArrayRegion(lenInOut, 0, 1, (jint *) _int_lenInOut); + return QtSupport::fromTQCString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QEucKrCodec_heuristicContentMatch(JNIEnv* env, jobject obj, jstring chars, jint len) +{ +static TQCString* _qstring_chars = 0; + jint xret = (jint) ((TQEucKrCodec*) QtSupport::getQt(env, obj))->heuristicContentMatch((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QEucKrCodec_heuristicNameMatch(JNIEnv* env, jobject obj, jstring hint) +{ +static TQCString* _qstring_hint = 0; + jint xret = (jint) ((TQEucKrCodec*) QtSupport::getQt(env, obj))->heuristicNameMatch((const char*) QtSupport::toCharString(env, hint, &_qstring_hint)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QEucKrCodec_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QEucKrCodec_makeDecoder(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQEucKrCodec*) QtSupport::getQt(env, obj))->makeDecoder(), "org.kde.qt.TQTextDecoder"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QEucKrCodec_mibEnum(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQEucKrCodec*) QtSupport::getQt(env, obj))->mibEnum(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QEucKrCodec_mimeName(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQEucKrCodec*) QtSupport::getQt(env, obj))->mimeName(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QEucKrCodec_name(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQEucKrCodec*) QtSupport::getQt(env, obj))->name(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QEucKrCodec_newTQEucKrCodec(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQEucKrCodecJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QEucKrCodec_toUnicode(JNIEnv* env, jobject obj, jstring chars, jint len) +{ + TQString _qstring; +static TQCString* _qstring_chars = 0; + _qstring = ((TQEucKrCodec*) QtSupport::getQt(env, obj))->toUnicode((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQEucKrCodec.h b/qtjava/javalib/qtjava/TQEucKrCodec.h new file mode 100644 index 00000000..5e90eefb --- /dev/null +++ b/qtjava/javalib/qtjava/TQEucKrCodec.h @@ -0,0 +1,30 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QEucKrCodec__ +#define __org_kde_qt_QEucKrCodec__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QEucKrCodec_mibEnum (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QEucKrCodec_name (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QEucKrCodec_mimeName (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QEucKrCodec_makeDecoder (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QEucKrCodec_fromUnicode (JNIEnv *env, jobject, jstring, jintArray); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QEucKrCodec_toUnicode (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QEucKrCodec_heuristicContentMatch (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QEucKrCodec_heuristicNameMatch (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QEucKrCodec_newTQEucKrCodec (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QEucKrCodec_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QEucKrCodec_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QEucKrCodec_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QEucKrCodec__ */ diff --git a/qtjava/javalib/qtjava/TQEvent.cpp b/qtjava/javalib/qtjava/TQEvent.cpp new file mode 100644 index 00000000..43c40add --- /dev/null +++ b/qtjava/javalib/qtjava/TQEvent.cpp @@ -0,0 +1,60 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + +class TQEventJBridge : public TQEvent +{ +public: + TQEventJBridge(TQEvent::Type arg1) : TQEvent(arg1) {}; + ~TQEventJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QEvent_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QEvent_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QEvent_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQEvent*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QEvent_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QEvent_newTQEvent(JNIEnv* env, jobject obj, jint type) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQEventJBridge((TQEvent::Type) type)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QEvent_spontaneous(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQEvent*) QtSupport::getQt(env, obj))->spontaneous(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QEvent_type(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQEvent*) QtSupport::getQt(env, obj))->type(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQEvent.h b/qtjava/javalib/qtjava/TQEvent.h new file mode 100644 index 00000000..59001558 --- /dev/null +++ b/qtjava/javalib/qtjava/TQEvent.h @@ -0,0 +1,24 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QEvent__ +#define __org_kde_qt_QEvent__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QEvent_newTQEvent (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QEvent_type (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QEvent_spontaneous (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QEvent_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QEvent_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QEvent_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QEvent__ */ diff --git a/qtjava/javalib/qtjava/TQEventLoop.cpp b/qtjava/javalib/qtjava/TQEventLoop.cpp new file mode 100644 index 00000000..cde628c6 --- /dev/null +++ b/qtjava/javalib/qtjava/TQEventLoop.cpp @@ -0,0 +1,294 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQEventLoopJBridge : public TQEventLoop +{ +public: + TQEventLoopJBridge(TQObject* arg1,const char* arg2) : TQEventLoop(arg1,arg2) {}; + TQEventLoopJBridge(TQObject* arg1) : TQEventLoop(arg1) {}; + TQEventLoopJBridge() : TQEventLoop() {}; + void public_exit() { + TQEventLoop::exit(); + return; + } + void public_exitLoop() { + TQEventLoop::exitLoop(); + return; + } + void public_wakeUp() { + TQEventLoop::wakeUp(); + return; + } + ~TQEventLoopJBridge() {QtSupport::qtKeyDeleted(this);} + void unregisterSocketNotifier(TQSocketNotifier* arg1) { + if (!QtSupport::eventDelegate(this,"unregisterSocketNotifier",(void*)arg1,"org.kde.qt.TQSocketNotifier")) { + TQEventLoop::unregisterSocketNotifier(arg1); + } + return; + } + void removeChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::removeChild(arg1); + } + return; + } + void exitLoop() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQEventLoop","exitLoop")) { + TQEventLoop::exitLoop(); + } + return; + } + void customEvent(TQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { + TQObject::customEvent(arg1); + } + return; + } + void wakeUp() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQEventLoop","wakeUp")) { + TQEventLoop::wakeUp(); + } + return; + } + void registerSocketNotifier(TQSocketNotifier* arg1) { + if (!QtSupport::eventDelegate(this,"registerSocketNotifier",(void*)arg1,"org.kde.qt.TQSocketNotifier")) { + TQEventLoop::registerSocketNotifier(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 hasPendingEvents() { + return QtSupport::booleanDelegate(this,"hasPendingEvents"); + } + 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.qt.TQEventLoop",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QEventLoop_activateSocketNotifiers(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQEventLoop*) QtSupport::getQt(env, obj))->activateSocketNotifiers(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QEventLoop_activateTimers(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQEventLoop*) QtSupport::getQt(env, obj))->activateTimers(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QEventLoop_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQEventLoop*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QEventLoop_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QEventLoop_finalize(env, obj); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QEventLoop_enterLoop(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQEventLoop*) QtSupport::getQt(env, obj))->enterLoop(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QEventLoop_exec(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQEventLoop*) QtSupport::getQt(env, obj))->exec(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QEventLoop_exitLoop(JNIEnv* env, jobject obj) +{ + ((TQEventLoopJBridge*) QtSupport::getQt(env, obj))->public_exitLoop(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QEventLoop_exit__(JNIEnv* env, jobject obj) +{ + ((TQEventLoopJBridge*) QtSupport::getQt(env, obj))->public_exit(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QEventLoop_exit__I(JNIEnv* env, jobject obj, jint retcode) +{ + ((TQEventLoop*) QtSupport::getQt(env, obj))->exit((int) retcode); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QEventLoop_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQEventLoop*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQEventLoop*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QEventLoop_hasPendingEvents(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQEventLoop*) QtSupport::getQt(env, obj))->hasPendingEvents(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QEventLoop_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QEventLoop_loopLevel(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQEventLoop*) QtSupport::getQt(env, obj))->loopLevel(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QEventLoop_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQEventLoop*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QEventLoop_newTQEventLoop__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQEventLoopJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QEventLoop_newTQEventLoop__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQEventLoopJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QEventLoop_newTQEventLoop__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 TQEventLoopJBridge((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_qt_QEventLoop_processEvents__I(JNIEnv* env, jobject obj, jint flags) +{ + jboolean xret = (jboolean) ((TQEventLoop*) QtSupport::getQt(env, obj))->processEvents((TQEventLoop::ProcessEventsFlags) flags); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QEventLoop_processEvents__II(JNIEnv* env, jobject obj, jint flags, jint maxtime) +{ + ((TQEventLoop*) QtSupport::getQt(env, obj))->processEvents((TQEventLoop::ProcessEventsFlags) flags, (int) maxtime); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QEventLoop_registerSocketNotifier(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQEventLoop*) QtSupport::getQt(env, obj))->registerSocketNotifier((TQSocketNotifier*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QEventLoop_setSocketNotifierPending(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQEventLoop*) QtSupport::getQt(env, obj))->setSocketNotifierPending((TQSocketNotifier*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QEventLoop_timeToWait(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQEventLoop*) QtSupport::getQt(env, obj))->timeToWait(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QEventLoop_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQEventLoopJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QEventLoop_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQEventLoopJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QEventLoop_unregisterSocketNotifier(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQEventLoop*) QtSupport::getQt(env, obj))->unregisterSocketNotifier((TQSocketNotifier*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QEventLoop_wakeUp(JNIEnv* env, jobject obj) +{ + ((TQEventLoopJBridge*) QtSupport::getQt(env, obj))->public_wakeUp(); + return; +} + diff --git a/qtjava/javalib/qtjava/TQEventLoop.h b/qtjava/javalib/qtjava/TQEventLoop.h new file mode 100644 index 00000000..70f1a640 --- /dev/null +++ b/qtjava/javalib/qtjava/TQEventLoop.h @@ -0,0 +1,44 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QEventLoop__ +#define __org_kde_qt_QEventLoop__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QEventLoop_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QEventLoop_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QEventLoop_newTQEventLoop__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QEventLoop_newTQEventLoop__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QEventLoop_newTQEventLoop__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QEventLoop_processEvents__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QEventLoop_processEvents__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QEventLoop_hasPendingEvents (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QEventLoop_registerSocketNotifier (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QEventLoop_unregisterSocketNotifier (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QEventLoop_setSocketNotifierPending (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QEventLoop_activateSocketNotifiers (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QEventLoop_activateTimers (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QEventLoop_timeToWait (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QEventLoop_exec (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QEventLoop_exit__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QEventLoop_exit__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QEventLoop_enterLoop (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QEventLoop_exitLoop (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QEventLoop_loopLevel (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QEventLoop_wakeUp (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QEventLoop_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QEventLoop_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QEventLoop_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QEventLoop_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QEventLoop_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QEventLoop__ */ diff --git a/qtjava/javalib/qtjava/TQFile.cpp b/qtjava/javalib/qtjava/TQFile.cpp new file mode 100644 index 00000000..b1197d90 --- /dev/null +++ b/qtjava/javalib/qtjava/TQFile.cpp @@ -0,0 +1,278 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include + +#include +#include + +class TQFileJBridge : public TQFile +{ +public: + TQFileJBridge() : TQFile() {}; + TQFileJBridge(const TQString& arg1) : TQFile(arg1) {}; + void protected_setErrorString(const TQString& arg1) { + TQFile::setErrorString(arg1); + return; + } + ~TQFileJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFile_atEnd(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFile*) QtSupport::getQt(env, obj))->atEnd(); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QFile_at__(JNIEnv* env, jobject obj) +{ + jlong xret = (jlong) ((TQFile*) QtSupport::getQt(env, obj))->at(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFile_at__J(JNIEnv* env, jobject obj, jlong arg1) +{ + jboolean xret = (jboolean) ((TQFile*) QtSupport::getQt(env, obj))->at((TQIODevice::Offset) arg1); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFile_close(JNIEnv* env, jobject obj) +{ + ((TQFile*) QtSupport::getQt(env, obj))->close(); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFile_decodeName(JNIEnv* env, jclass cls, jstring localFileName) +{ + TQString _qstring; + (void) cls; +static TQCString* _qcstring_localFileName = 0; + _qstring = TQFileJBridge::decodeName((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, localFileName, &_qcstring_localFileName)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFile_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QFile_finalize(env, obj); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFile_encodeName(JNIEnv* env, jclass cls, jstring fileName) +{ + TQCString _qstring; + (void) cls; +static TQString* _qstring_fileName = 0; + _qstring = TQFileJBridge::encodeName((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); + return QtSupport::fromTQCString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFile_errorString(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQFile*) QtSupport::getQt(env, obj))->errorString(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFile_exists__(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFile*) QtSupport::getQt(env, obj))->exists(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFile_exists__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring fileName) +{ + (void) cls; +static TQString* _qstring_fileName = 0; + jboolean xret = (jboolean) TQFileJBridge::exists((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFile_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQFile*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFile_flush(JNIEnv* env, jobject obj) +{ + ((TQFile*) QtSupport::getQt(env, obj))->flush(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFile_getch(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFile*) QtSupport::getQt(env, obj))->getch(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFile_handle(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFile*) QtSupport::getQt(env, obj))->handle(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFile_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFile_name(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQFile*) QtSupport::getQt(env, obj))->name(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFile_newTQFile__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQFileJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFile_newTQFile__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 TQFileJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFile_open__I(JNIEnv* env, jobject obj, jint arg1) +{ + jboolean xret = (jboolean) ((TQFile*) QtSupport::getQt(env, obj))->open((int) arg1); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFile_open__II(JNIEnv* env, jobject obj, jint arg1, jint arg2) +{ + jboolean xret = (jboolean) ((TQFile*) QtSupport::getQt(env, obj))->open((int) arg1, (int) arg2); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFile_putch(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQFile*) QtSupport::getQt(env, obj))->putch((int) arg1); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QFile_readBlock(JNIEnv* env, jobject obj, jobject data, jlong len) +{ +static TQCString* _qstring_data = 0; + if (_qstring_data == 0) { _qstring_data = new TQCString(); } + _qstring_data->resize((uint) len); + jlong xret = (jlong) ((TQFile*) QtSupport::getQt(env, obj))->readBlock((char*) _qstring_data->data(), (Q_ULONG) len); + QtSupport::fromTQCStringToStringBuffer(env, _qstring_data, data); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QFile_readLine__Ljava_lang_StringBuffer_2J(JNIEnv* env, jobject obj, jobject arg1, jlong maxlen) +{ +static TQString* _qstring_arg1 = 0; + jlong xret = (jlong) ((TQFile*) QtSupport::getQt(env, obj))->readLine((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, arg1, &_qstring_arg1), (Q_ULONG) maxlen); + QtSupport::fromTQStringToStringBuffer(env, _qstring_arg1, arg1); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QFile_readLine__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring data, jlong maxlen) +{ +static TQCString* _qstring_data = 0; + jlong xret = (jlong) ((TQFile*) QtSupport::getQt(env, obj))->readLine((char*) QtSupport::toCharString(env, data, &_qstring_data), (Q_ULONG) maxlen); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFile_remove__(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFile*) QtSupport::getQt(env, obj))->remove(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFile_remove__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring fileName) +{ + (void) cls; +static TQString* _qstring_fileName = 0; + jboolean xret = (jboolean) TQFileJBridge::remove((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFile_setErrorString(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQFileJBridge*) QtSupport::getQt(env, obj))->protected_setErrorString((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFile_setName(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + ((TQFile*) QtSupport::getQt(env, obj))->setName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QFile_size(JNIEnv* env, jobject obj) +{ + jlong xret = (jlong) ((TQFile*) QtSupport::getQt(env, obj))->size(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFile_ungetch(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQFile*) QtSupport::getQt(env, obj))->ungetch((int) arg1); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QFile_writeBlock__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring data, jlong len) +{ +static TQCString* _qstring_data = 0; + jlong xret = (jlong) ((TQFile*) QtSupport::getQt(env, obj))->writeBlock((const char*) QtSupport::toCharString(env, data, &_qstring_data), (Q_ULONG) len); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QFile_writeBlock___3B(JNIEnv* env, jobject obj, jbyteArray data) +{ +static TQByteArray* _qbyteArray_data = 0; + jlong xret = (jlong) ((TQFile*) QtSupport::getQt(env, obj))->writeBlock((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQFile.h b/qtjava/javalib/qtjava/TQFile.h new file mode 100644 index 00000000..cdc67db6 --- /dev/null +++ b/qtjava/javalib/qtjava/TQFile.h @@ -0,0 +1,50 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QFile__ +#define __org_kde_qt_QFile__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFile_newTQFile__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFile_newTQFile__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFile_name (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFile_setName (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFile_exists__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFile_remove__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFile_open__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFile_open__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFile_close (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFile_flush (JNIEnv *env, jobject); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QFile_size (JNIEnv *env, jobject); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QFile_at__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFile_at__J (JNIEnv *env, jobject, jlong); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFile_atEnd (JNIEnv *env, jobject); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QFile_readBlock (JNIEnv *env, jobject, jobject, jlong); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QFile_writeBlock__Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jlong); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QFile_writeBlock___3B (JNIEnv *env, jobject, jbyteArray); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QFile_readLine__Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jlong); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QFile_readLine__Ljava_lang_StringBuffer_2J (JNIEnv *env, jobject, jobject, jlong); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFile_getch (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFile_putch (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFile_ungetch (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFile_handle (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFile_errorString (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFile_encodeName (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFile_decodeName (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFile_exists__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFile_remove__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFile_setErrorString (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFile_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFile_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFile_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QFile__ */ diff --git a/qtjava/javalib/qtjava/TQFileDialog.cpp b/qtjava/javalib/qtjava/TQFileDialog.cpp new file mode 100644 index 00000000..2751510c --- /dev/null +++ b/qtjava/javalib/qtjava/TQFileDialog.cpp @@ -0,0 +1,1233 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQFileDialogJBridge : public TQFileDialog +{ +public: + TQFileDialogJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4,bool arg5) : TQFileDialog(arg1,arg2,arg3,arg4,arg5) {}; + TQFileDialogJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4) : TQFileDialog(arg1,arg2,arg3,arg4) {}; + TQFileDialogJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3) : TQFileDialog(arg1,arg2,arg3) {}; + TQFileDialogJBridge(const TQString& arg1,const TQString& arg2) : TQFileDialog(arg1,arg2) {}; + TQFileDialogJBridge(const TQString& arg1) : TQFileDialog(arg1) {}; + TQFileDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3) : TQFileDialog(arg1,arg2,arg3) {}; + TQFileDialogJBridge(TQWidget* arg1,const char* arg2) : TQFileDialog(arg1,arg2) {}; + TQFileDialogJBridge(TQWidget* arg1) : TQFileDialog(arg1) {}; + TQFileDialogJBridge() : TQFileDialog() {}; + void protected_resizeEvent(TQResizeEvent* arg1) { + TQFileDialog::resizeEvent(arg1); + return; + } + void protected_keyPressEvent(TQKeyEvent* arg1) { + TQFileDialog::keyPressEvent(arg1); + return; + } + void protected_addWidgets(TQLabel* arg1,TQWidget* arg2,TQPushButton* arg3) { + TQFileDialog::addWidgets(arg1,arg2,arg3); + return; + } + void protected_addToolButton(TQButton* arg1,bool arg2) { + TQFileDialog::addToolButton(arg1,arg2); + return; + } + void protected_addToolButton(TQButton* arg1) { + TQFileDialog::addToolButton(arg1); + return; + } + void protected_addLeftWidget(TQWidget* arg1) { + TQFileDialog::addLeftWidget(arg1); + return; + } + void protected_addRightWidget(TQWidget* arg1) { + TQFileDialog::addRightWidget(arg1); + return; + } + ~TQFileDialogJBridge() {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")) { + TQFileDialog::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.qt.TQFileDialog","accept")) { + TQDialog::accept(); + } + return; + } + void setActiveWindow() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFileDialog","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.qt.TQFileDialog","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.qt.TQFileDialog","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.qt.TQFileDialog","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFileDialog","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")) { + TQFileDialog::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.qt.TQFileDialog","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFileDialog","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.qt.TQFileDialog","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.qt.TQFileDialog","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.qt.TQFileDialog","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_addFilter(JNIEnv* env, jobject obj, jstring filter) +{ +static TQString* _qstring_filter = 0; + ((TQFileDialog*) QtSupport::getQt(env, obj))->addFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_addLeftWidget(JNIEnv* env, jobject obj, jobject w) +{ + ((TQFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_addLeftWidget((TQWidget*) QtSupport::getQt(env, w)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_addRightWidget(JNIEnv* env, jobject obj, jobject w) +{ + ((TQFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_addRightWidget((TQWidget*) QtSupport::getQt(env, w)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_addToolButton__Lorg_kde_qt_QButton_2(JNIEnv* env, jobject obj, jobject b) +{ + ((TQFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_addToolButton((TQButton*) QtSupport::getQt(env, b)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_addToolButton__Lorg_kde_qt_QButton_2Z(JNIEnv* env, jobject obj, jobject b, jboolean separator) +{ + ((TQFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_addToolButton((TQButton*) QtSupport::getQt(env, b), (bool) separator); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_addWidgets(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jobject arg3) +{ + ((TQFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_addWidgets((TQLabel*) QtSupport::getQt(env, arg1), (TQWidget*) QtSupport::getQt(env, arg2), (TQPushButton*) QtSupport::getQt(env, arg3)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileDialog_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQFileDialog*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileDialog_dirPath(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQFileDialog*) QtSupport::getQt(env, obj))->dirPath(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFileDialog_dir(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQFileDialog*) QtSupport::getQt(env, obj))->dir(), "org.kde.qt.TQDir"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QFileDialog_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_done(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQFileDialog*) QtSupport::getQt(env, obj))->done((int) arg1); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFileDialog_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) +{ + jboolean xret = (jboolean) ((TQFileDialog*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQFileDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQFileDialog*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileDialog_getExistingDirectory__(JNIEnv* env, jclass cls) +{ + TQString _qstring; + (void) cls; + _qstring = TQFileDialogJBridge::getExistingDirectory(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileDialog_getExistingDirectory__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring dir) +{ + TQString _qstring; + (void) cls; +static TQString* _qstring_dir = 0; + _qstring = TQFileDialogJBridge::getExistingDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileDialog_getExistingDirectory__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring dir, jobject parent) +{ + TQString _qstring; + (void) cls; +static TQString* _qstring_dir = 0; + _qstring = TQFileDialogJBridge::getExistingDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileDialog_getExistingDirectory__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring dir, jobject parent, jstring name) +{ + TQString _qstring; + (void) cls; +static TQString* _qstring_dir = 0; +static TQCString* _qstring_name = 0; + _qstring = TQFileDialogJBridge::getExistingDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileDialog_getExistingDirectory__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring dir, jobject parent, jstring name, jstring caption) +{ + TQString _qstring; + (void) cls; +static TQString* _qstring_dir = 0; +static TQCString* _qstring_name = 0; +static TQString* _qstring_caption = 0; + _qstring = TQFileDialogJBridge::getExistingDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileDialog_getExistingDirectory__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring dir, jobject parent, jstring name, jstring caption, jboolean dirOnly) +{ + TQString _qstring; + (void) cls; +static TQString* _qstring_dir = 0; +static TQCString* _qstring_name = 0; +static TQString* _qstring_caption = 0; + _qstring = TQFileDialogJBridge::getExistingDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (bool) dirOnly); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileDialog_getExistingDirectory__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2ZZ(JNIEnv* env, jclass cls, jstring dir, jobject parent, jstring name, jstring caption, jboolean dirOnly, jboolean resolveSymlinks) +{ + TQString _qstring; + (void) cls; +static TQString* _qstring_dir = 0; +static TQCString* _qstring_name = 0; +static TQString* _qstring_caption = 0; + _qstring = TQFileDialogJBridge::getExistingDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (bool) dirOnly, (bool) resolveSymlinks); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileDialog_getOpenFileName__(JNIEnv* env, jclass cls) +{ + TQString _qstring; + (void) cls; + _qstring = TQFileDialogJBridge::getOpenFileName(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring initially) +{ + TQString _qstring; + (void) cls; +static TQString* _qstring_initially = 0; + _qstring = TQFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring initially, jstring filter) +{ + TQString _qstring; + (void) cls; +static TQString* _qstring_initially = 0; +static TQString* _qstring_filter = 0; + _qstring = TQFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring initially, jstring filter, jobject parent) +{ + TQString _qstring; + (void) cls; +static TQString* _qstring_initially = 0; +static TQString* _qstring_filter = 0; + _qstring = TQFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (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_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring initially, jstring filter, jobject parent, jstring name) +{ + TQString _qstring; + (void) cls; +static TQString* _qstring_initially = 0; +static TQString* _qstring_filter = 0; +static TQCString* _qstring_name = 0; + _qstring = TQFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring initially, jstring filter, jobject parent, jstring name, jstring caption) +{ + TQString _qstring; + (void) cls; +static TQString* _qstring_initially = 0; +static TQString* _qstring_filter = 0; +static TQCString* _qstring_name = 0; +static TQString* _qstring_caption = 0; + _qstring = TQFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring initially, jstring filter, jobject parent, jstring name, jstring caption, jobject selectedFilter) +{ + TQString _qstring; + (void) cls; +static TQString* _qstring_initially = 0; +static TQString* _qstring_filter = 0; +static TQCString* _qstring_name = 0; +static TQString* _qstring_caption = 0; +static TQString* _qstring_selectedFilter = 0; + _qstring = TQFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQString*) QtSupport::toTQStringFromStringBuffer(env, selectedFilter, &_qstring_selectedFilter)); + QtSupport::fromTQStringToStringBuffer(env, _qstring_selectedFilter, selectedFilter); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Z(JNIEnv* env, jclass cls, jstring initially, jstring filter, jobject parent, jstring name, jstring caption, jobject selectedFilter, jboolean resolveSymlinks) +{ + TQString _qstring; + (void) cls; +static TQString* _qstring_initially = 0; +static TQString* _qstring_filter = 0; +static TQCString* _qstring_name = 0; +static TQString* _qstring_caption = 0; +static TQString* _qstring_selectedFilter = 0; + _qstring = TQFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQString*) QtSupport::toTQStringFromStringBuffer(env, selectedFilter, &_qstring_selectedFilter), (bool) resolveSymlinks); + QtSupport::fromTQStringToStringBuffer(env, _qstring_selectedFilter, selectedFilter); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFileDialog_getOpenFileNames__(JNIEnv* env, jclass cls) +{ + TQStringList _qlist; + (void) cls; + _qlist = TQFileDialogJBridge::getOpenFileNames(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filter) +{ + TQStringList _qlist; + (void) cls; +static TQString* _qstring_filter = 0; + _qlist = TQFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filter, jstring dir) +{ + TQStringList _qlist; + (void) cls; +static TQString* _qstring_filter = 0; +static TQString* _qstring_dir = 0; + _qlist = TQFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring filter, jstring dir, jobject parent) +{ + TQStringList _qlist; + (void) cls; +static TQString* _qstring_filter = 0; +static TQString* _qstring_dir = 0; + _qlist = TQFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filter, jstring dir, jobject parent, jstring name) +{ + TQStringList _qlist; + (void) cls; +static TQString* _qstring_filter = 0; +static TQString* _qstring_dir = 0; +static TQCString* _qstring_name = 0; + _qlist = TQFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filter, jstring dir, jobject parent, jstring name, jstring caption) +{ + TQStringList _qlist; + (void) cls; +static TQString* _qstring_filter = 0; +static TQString* _qstring_dir = 0; +static TQCString* _qstring_name = 0; +static TQString* _qstring_caption = 0; + _qlist = TQFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring filter, jstring dir, jobject parent, jstring name, jstring caption, jobject selectedFilter) +{ + TQStringList _qlist; + (void) cls; +static TQString* _qstring_filter = 0; +static TQString* _qstring_dir = 0; +static TQCString* _qstring_name = 0; +static TQString* _qstring_caption = 0; +static TQString* _qstring_selectedFilter = 0; + _qlist = TQFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQString*) QtSupport::toTQStringFromStringBuffer(env, selectedFilter, &_qstring_selectedFilter)); + QtSupport::fromTQStringToStringBuffer(env, _qstring_selectedFilter, selectedFilter); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Z(JNIEnv* env, jclass cls, jstring filter, jstring dir, jobject parent, jstring name, jstring caption, jobject selectedFilter, jboolean resolveSymlinks) +{ + TQStringList _qlist; + (void) cls; +static TQString* _qstring_filter = 0; +static TQString* _qstring_dir = 0; +static TQCString* _qstring_name = 0; +static TQString* _qstring_caption = 0; +static TQString* _qstring_selectedFilter = 0; + _qlist = TQFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQString*) QtSupport::toTQStringFromStringBuffer(env, selectedFilter, &_qstring_selectedFilter), (bool) resolveSymlinks); + QtSupport::fromTQStringToStringBuffer(env, _qstring_selectedFilter, selectedFilter); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileDialog_getSaveFileName__(JNIEnv* env, jclass cls) +{ + TQString _qstring; + (void) cls; + _qstring = TQFileDialogJBridge::getSaveFileName(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring initially) +{ + TQString _qstring; + (void) cls; +static TQString* _qstring_initially = 0; + _qstring = TQFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring initially, jstring filter) +{ + TQString _qstring; + (void) cls; +static TQString* _qstring_initially = 0; +static TQString* _qstring_filter = 0; + _qstring = TQFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring initially, jstring filter, jobject parent) +{ + TQString _qstring; + (void) cls; +static TQString* _qstring_initially = 0; +static TQString* _qstring_filter = 0; + _qstring = TQFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (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_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring initially, jstring filter, jobject parent, jstring name) +{ + TQString _qstring; + (void) cls; +static TQString* _qstring_initially = 0; +static TQString* _qstring_filter = 0; +static TQCString* _qstring_name = 0; + _qstring = TQFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring initially, jstring filter, jobject parent, jstring name, jstring caption) +{ + TQString _qstring; + (void) cls; +static TQString* _qstring_initially = 0; +static TQString* _qstring_filter = 0; +static TQCString* _qstring_name = 0; +static TQString* _qstring_caption = 0; + _qstring = TQFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring initially, jstring filter, jobject parent, jstring name, jstring caption, jobject selectedFilter) +{ + TQString _qstring; + (void) cls; +static TQString* _qstring_initially = 0; +static TQString* _qstring_filter = 0; +static TQCString* _qstring_name = 0; +static TQString* _qstring_caption = 0; +static TQString* _qstring_selectedFilter = 0; + _qstring = TQFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQString*) QtSupport::toTQStringFromStringBuffer(env, selectedFilter, &_qstring_selectedFilter)); + QtSupport::fromTQStringToStringBuffer(env, _qstring_selectedFilter, selectedFilter); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Z(JNIEnv* env, jclass cls, jstring initially, jstring filter, jobject parent, jstring name, jstring caption, jobject selectedFilter, jboolean resolveSymlinks) +{ + TQString _qstring; + (void) cls; +static TQString* _qstring_initially = 0; +static TQString* _qstring_filter = 0; +static TQCString* _qstring_name = 0; +static TQString* _qstring_caption = 0; +static TQString* _qstring_selectedFilter = 0; + _qstring = TQFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQString*) QtSupport::toTQStringFromStringBuffer(env, selectedFilter, &_qstring_selectedFilter), (bool) resolveSymlinks); + QtSupport::fromTQStringToStringBuffer(env, _qstring_selectedFilter, selectedFilter); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFileDialog_iconProvider(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQFileDialogJBridge::iconProvider(), "org.kde.qt.TQFileIconProvider"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFileDialog_isContentsPreviewEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFileDialog*) QtSupport::getQt(env, obj))->isContentsPreviewEnabled(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFileDialog_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFileDialog_isInfoPreviewEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFileDialog*) QtSupport::getQt(env, obj))->isInfoPreviewEnabled(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFileDialog_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQFileDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFileDialog_mode(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFileDialog*) QtSupport::getQt(env, obj))->mode(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_newTQFileDialog__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQFileDialogJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_newTQFileDialog__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring dirName) +{ +static TQString* _qstring_dirName = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQFileDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, dirName, &_qstring_dirName))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_newTQFileDialog__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring dirName, jstring filter) +{ +static TQString* _qstring_dirName = 0; +static TQString* _qstring_filter = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQFileDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, dirName, &_qstring_dirName), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_newTQFileDialog__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring dirName, jstring filter, jobject parent) +{ +static TQString* _qstring_dirName = 0; +static TQString* _qstring_filter = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQFileDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, dirName, &_qstring_dirName), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_newTQFileDialog__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring dirName, jstring filter, jobject parent, jstring name) +{ +static TQString* _qstring_dirName = 0; +static TQString* _qstring_filter = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQFileDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, dirName, &_qstring_dirName), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_newTQFileDialog__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring dirName, jstring filter, jobject parent, jstring name, jboolean modal) +{ +static TQString* _qstring_dirName = 0; +static TQString* _qstring_filter = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQFileDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, dirName, &_qstring_dirName), (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_qt_QFileDialog_newTQFileDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQFileDialogJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_newTQFileDialog__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 TQFileDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_newTQFileDialog__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 TQFileDialogJBridge((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_qt_QFileDialog_previewMode(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFileDialog*) QtSupport::getQt(env, obj))->previewMode(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_rereadDir(JNIEnv* env, jobject obj) +{ + ((TQFileDialog*) QtSupport::getQt(env, obj))->rereadDir(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_resortDir(JNIEnv* env, jobject obj) +{ + ((TQFileDialog*) QtSupport::getQt(env, obj))->resortDir(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_selectAll(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQFileDialog*) QtSupport::getQt(env, obj))->selectAll((bool) b); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileDialog_selectedFile(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQFileDialog*) QtSupport::getQt(env, obj))->selectedFile(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFileDialog_selectedFiles(JNIEnv* env, jobject obj) +{ + TQStringList _qlist; + _qlist = ((TQFileDialog*) QtSupport::getQt(env, obj))->selectedFiles(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileDialog_selectedFilter(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQFileDialog*) QtSupport::getQt(env, obj))->selectedFilter(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_setContentsPreviewEnabled(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQFileDialog*) QtSupport::getQt(env, obj))->setContentsPreviewEnabled((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_setContentsPreview(JNIEnv* env, jobject obj, jobject w, jobject preview) +{ + ((TQFileDialog*) QtSupport::getQt(env, obj))->setContentsPreview((TQWidget*) QtSupport::getQt(env, w), (TQFilePreview*) QtSupport::getQt(env, preview)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_setDir__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQFileDialog*) QtSupport::getQt(env, obj))->setDir((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_setDir__Lorg_kde_qt_QDir_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQFileDialog*) QtSupport::getQt(env, obj))->setDir((const TQDir&)*(const TQDir*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_setFilter(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQFileDialog*) QtSupport::getQt(env, obj))->setFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_setFilters__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQFileDialog*) QtSupport::getQt(env, obj))->setFilters((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_setFilters___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray arg1) +{ + ((TQFileDialog*) QtSupport::getQt(env, obj))->setFilters((const char**) QtSupport::toStringArray(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_setIconProvider(JNIEnv* env, jclass cls, jobject arg1) +{ + (void) cls; + TQFileDialogJBridge::setIconProvider((TQFileIconProvider*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_setInfoPreviewEnabled(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQFileDialog*) QtSupport::getQt(env, obj))->setInfoPreviewEnabled((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_setInfoPreview(JNIEnv* env, jobject obj, jobject w, jobject preview) +{ + ((TQFileDialog*) QtSupport::getQt(env, obj))->setInfoPreview((TQWidget*) QtSupport::getQt(env, w), (TQFilePreview*) QtSupport::getQt(env, preview)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_setMode(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQFileDialog*) QtSupport::getQt(env, obj))->setMode((TQFileDialog::Mode) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_setPreviewMode(JNIEnv* env, jobject obj, jint m) +{ + ((TQFileDialog*) QtSupport::getQt(env, obj))->setPreviewMode((TQFileDialog::PreviewMode) m); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_setSelectedFilter__I(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQFileDialog*) QtSupport::getQt(env, obj))->setSelectedFilter((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_setSelectedFilter__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQFileDialog*) QtSupport::getQt(env, obj))->setSelectedFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_setSelection(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQFileDialog*) QtSupport::getQt(env, obj))->setSelection((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_setShowHiddenFiles(JNIEnv* env, jobject obj, jboolean s) +{ + ((TQFileDialog*) QtSupport::getQt(env, obj))->setShowHiddenFiles((bool) s); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_setUrl(JNIEnv* env, jobject obj, jobject url) +{ + ((TQFileDialog*) QtSupport::getQt(env, obj))->setUrl((const TQUrlOperator&)*(const TQUrlOperator*) QtSupport::getQt(env, url)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileDialog_setViewMode(JNIEnv* env, jobject obj, jint m) +{ + ((TQFileDialog*) QtSupport::getQt(env, obj))->setViewMode((TQFileDialog::ViewMode) m); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFileDialog_showHiddenFiles(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFileDialog*) QtSupport::getQt(env, obj))->showHiddenFiles(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileDialog_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQFileDialogJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileDialog_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQFileDialogJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFileDialog_url(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQUrl(((TQFileDialog*) QtSupport::getQt(env, obj))->url()), "org.kde.qt.TQUrlInterface", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFileDialog_viewMode(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFileDialog*) QtSupport::getQt(env, obj))->viewMode(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQFileDialog.h b/qtjava/javalib/qtjava/TQFileDialog.h new file mode 100644 index 00000000..f70a4c00 --- /dev/null +++ b/qtjava/javalib/qtjava/TQFileDialog.h @@ -0,0 +1,109 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QFileDialog__ +#define __org_kde_qt_QFileDialog__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFileDialog_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_newTQFileDialog__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_qt_QFileDialog_newTQFileDialog__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_qt_QFileDialog_newTQFileDialog__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_newTQFileDialog__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_newTQFileDialog__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_newTQFileDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_newTQFileDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_newTQFileDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_newTQFileDialog__ (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_selectedFile (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_selectedFilter (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_setSelectedFilter__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_setSelectedFilter__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_setSelection (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_selectAll (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFileDialog_selectedFiles (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_dirPath (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_setDir__Lorg_kde_qt_QDir_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFileDialog_dir (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_setShowHiddenFiles (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileDialog_showHiddenFiles (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_rereadDir (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_resortDir (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_setMode (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFileDialog_mode (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_setViewMode (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFileDialog_viewMode (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_setPreviewMode (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFileDialog_previewMode (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileDialog_eventFilter (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileDialog_isInfoPreviewEnabled (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileDialog_isContentsPreviewEnabled (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_setInfoPreviewEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_setContentsPreviewEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_setInfoPreview (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_setContentsPreview (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFileDialog_url (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_addFilter (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_done (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_setDir__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_setUrl (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_setFilter (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_setFilters__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_setFilters___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Z (JNIEnv *env, jclass, jstring, jstring, jobject, jstring, jstring, jobject, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jstring, jstring, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_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_qt_QFileDialog_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_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_getOpenFileName__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_getOpenFileName__ (JNIEnv *env, jclass); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Z (JNIEnv *env, jclass, jstring, jstring, jobject, jstring, jstring, jobject, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jstring, jstring, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_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_qt_QFileDialog_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_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_getSaveFileName__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_getSaveFileName__ (JNIEnv *env, jclass); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_getExistingDirectory__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2ZZ (JNIEnv *env, jclass, jstring, jobject, jstring, jstring, jboolean, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_getExistingDirectory__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jobject, jstring, jstring, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_getExistingDirectory__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobject, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_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_qt_QFileDialog_getExistingDirectory__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_getExistingDirectory__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_getExistingDirectory__ (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Z (JNIEnv *env, jclass, jstring, jstring, jobject, jstring, jstring, jobject, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jstring, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jstring, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFileDialog_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_qt_QFileDialog_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_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFileDialog_getOpenFileNames__ (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_setIconProvider (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFileDialog_iconProvider (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_keyPressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_addWidgets (JNIEnv *env, jobject, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_addToolButton__Lorg_kde_qt_QButton_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_addToolButton__Lorg_kde_qt_QButton_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_addLeftWidget (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_addRightWidget (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileDialog_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QFileDialog__ */ diff --git a/qtjava/javalib/qtjava/TQFileIconProvider.cpp b/qtjava/javalib/qtjava/TQFileIconProvider.cpp new file mode 100644 index 00000000..73491ca2 --- /dev/null +++ b/qtjava/javalib/qtjava/TQFileIconProvider.cpp @@ -0,0 +1,151 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQFileIconProviderJBridge : public TQFileIconProvider +{ +public: + TQFileIconProviderJBridge(TQObject* arg1,const char* arg2) : TQFileIconProvider(arg1,arg2) {}; + TQFileIconProviderJBridge(TQObject* arg1) : TQFileIconProvider(arg1) {}; + TQFileIconProviderJBridge() : TQFileIconProvider() {}; + ~TQFileIconProviderJBridge() {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.qt.TQFileIconProvider",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileIconProvider_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQFileIconProvider*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileIconProvider_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QFileIconProvider_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileIconProvider_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQFileIconProvider*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQFileIconProvider*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFileIconProvider_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFileIconProvider_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQFileIconProvider*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileIconProvider_newTQFileIconProvider__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQFileIconProviderJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileIconProvider_newTQFileIconProvider__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQFileIconProviderJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileIconProvider_newTQFileIconProvider__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 TQFileIconProviderJBridge((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_qt_QFileIconProvider_pixmap(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQFileIconProvider*) QtSupport::getQt(env, obj))->pixmap((const TQFileInfo&)*(const TQFileInfo*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQPixmap"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileIconProvider_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQFileIconProviderJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileIconProvider_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQFileIconProviderJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQFileIconProvider.h b/qtjava/javalib/qtjava/TQFileIconProvider.h new file mode 100644 index 00000000..dd5e9c80 --- /dev/null +++ b/qtjava/javalib/qtjava/TQFileIconProvider.h @@ -0,0 +1,29 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QFileIconProvider__ +#define __org_kde_qt_QFileIconProvider__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFileIconProvider_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileIconProvider_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileIconProvider_newTQFileIconProvider__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileIconProvider_newTQFileIconProvider__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileIconProvider_newTQFileIconProvider__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFileIconProvider_pixmap (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileIconProvider_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileIconProvider_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileIconProvider_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileIconProvider_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileIconProvider_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QFileIconProvider__ */ diff --git a/qtjava/javalib/qtjava/TQFileInfo.cpp b/qtjava/javalib/qtjava/TQFileInfo.cpp new file mode 100644 index 00000000..53f43a0d --- /dev/null +++ b/qtjava/javalib/qtjava/TQFileInfo.cpp @@ -0,0 +1,373 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQFileInfoJBridge : public TQFileInfo +{ +public: + TQFileInfoJBridge() : TQFileInfo() {}; + TQFileInfoJBridge(const TQString& arg1) : TQFileInfo(arg1) {}; + TQFileInfoJBridge(const TQFile& arg1) : TQFileInfo(arg1) {}; + TQFileInfoJBridge(const TQDir& arg1,const TQString& arg2) : TQFileInfo(arg1,arg2) {}; + TQFileInfoJBridge(const TQFileInfo& arg1) : TQFileInfo(arg1) {}; + ~TQFileInfoJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileInfo_absFilePath(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQFileInfo*) QtSupport::getQt(env, obj))->absFilePath(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileInfo_baseName__(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQFileInfo*) QtSupport::getQt(env, obj))->baseName(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileInfo_baseName__Z(JNIEnv* env, jobject obj, jboolean complete) +{ + TQString _qstring; + _qstring = ((TQFileInfo*) QtSupport::getQt(env, obj))->baseName((bool) complete); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFileInfo_caching(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFileInfo*) QtSupport::getQt(env, obj))->caching(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFileInfo_convertToAbs(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFileInfo*) QtSupport::getQt(env, obj))->convertToAbs(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFileInfo_created(JNIEnv* env, jobject obj) +{ + TQDateTime _qdate; + _qdate = ((TQFileInfo*) QtSupport::getQt(env, obj))->created(); + return (jobject) QtSupport::fromTQDateTime(env, (TQDateTime*) &_qdate); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileInfo_dirPath__(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQFileInfo*) QtSupport::getQt(env, obj))->dirPath(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileInfo_dirPath__Z(JNIEnv* env, jobject obj, jboolean absPath) +{ + TQString _qstring; + _qstring = ((TQFileInfo*) QtSupport::getQt(env, obj))->dirPath((bool) absPath); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFileInfo_dir__(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDir(((TQFileInfo*) QtSupport::getQt(env, obj))->dir()), "org.kde.qt.TQDir", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFileInfo_dir__Z(JNIEnv* env, jobject obj, jboolean absPath) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDir(((TQFileInfo*) QtSupport::getQt(env, obj))->dir((bool) absPath)), "org.kde.qt.TQDir", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileInfo_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QFileInfo_finalize(env, obj); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFileInfo_exists(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFileInfo*) QtSupport::getQt(env, obj))->exists(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileInfo_extension__(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQFileInfo*) QtSupport::getQt(env, obj))->extension(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileInfo_extension__Z(JNIEnv* env, jobject obj, jboolean complete) +{ + TQString _qstring; + _qstring = ((TQFileInfo*) QtSupport::getQt(env, obj))->extension((bool) complete); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileInfo_fileName(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQFileInfo*) QtSupport::getQt(env, obj))->fileName(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileInfo_filePath(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQFileInfo*) QtSupport::getQt(env, obj))->filePath(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileInfo_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQFileInfo*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFileInfo_groupId(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFileInfo*) QtSupport::getQt(env, obj))->groupId(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileInfo_group(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQFileInfo*) QtSupport::getQt(env, obj))->group(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFileInfo_isDir(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFileInfo*) QtSupport::getQt(env, obj))->isDir(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFileInfo_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFileInfo_isExecutable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFileInfo*) QtSupport::getQt(env, obj))->isExecutable(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFileInfo_isFile(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFileInfo*) QtSupport::getQt(env, obj))->isFile(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFileInfo_isHidden(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFileInfo*) QtSupport::getQt(env, obj))->isHidden(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFileInfo_isReadable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFileInfo*) QtSupport::getQt(env, obj))->isReadable(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFileInfo_isRelative(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFileInfo*) QtSupport::getQt(env, obj))->isRelative(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFileInfo_isSymLink(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFileInfo*) QtSupport::getQt(env, obj))->isSymLink(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFileInfo_isWritable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFileInfo*) QtSupport::getQt(env, obj))->isWritable(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFileInfo_lastModified(JNIEnv* env, jobject obj) +{ + TQDateTime _qdate; + _qdate = ((TQFileInfo*) QtSupport::getQt(env, obj))->lastModified(); + return (jobject) QtSupport::fromTQDateTime(env, (TQDateTime*) &_qdate); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFileInfo_lastRead(JNIEnv* env, jobject obj) +{ + TQDateTime _qdate; + _qdate = ((TQFileInfo*) QtSupport::getQt(env, obj))->lastRead(); + return (jobject) QtSupport::fromTQDateTime(env, (TQDateTime*) &_qdate); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileInfo_newTQFileInfo__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQFileInfoJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileInfo_newTQFileInfo__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring file) +{ +static TQString* _qstring_file = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQFileInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileInfo_newTQFileInfo__Lorg_kde_qt_QDir_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring fileName) +{ +static TQString* _qstring_fileName = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQFileInfoJBridge((const TQDir&)*(const TQDir*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileInfo_newTQFileInfo__Lorg_kde_qt_QFileInfo_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQFileInfoJBridge((const TQFileInfo&)*(const TQFileInfo*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileInfo_newTQFileInfo__Lorg_kde_qt_QFile_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQFileInfoJBridge((const TQFile&)*(const TQFile*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFileInfo_ownerId(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFileInfo*) QtSupport::getQt(env, obj))->ownerId(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileInfo_owner(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQFileInfo*) QtSupport::getQt(env, obj))->owner(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFileInfo_permission(JNIEnv* env, jobject obj, jint permissionSpec) +{ + jboolean xret = (jboolean) ((TQFileInfo*) QtSupport::getQt(env, obj))->permission((int) permissionSpec); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFileInfo_readLink(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQFileInfo*) QtSupport::getQt(env, obj))->readLink(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileInfo_refresh(JNIEnv* env, jobject obj) +{ + ((TQFileInfo*) QtSupport::getQt(env, obj))->refresh(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileInfo_setCaching(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQFileInfo*) QtSupport::getQt(env, obj))->setCaching((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileInfo_setFile__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring file) +{ +static TQString* _qstring_file = 0; + ((TQFileInfo*) QtSupport::getQt(env, obj))->setFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileInfo_setFile__Lorg_kde_qt_QDir_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring fileName) +{ +static TQString* _qstring_fileName = 0; + ((TQFileInfo*) QtSupport::getQt(env, obj))->setFile((const TQDir&)*(const TQDir*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFileInfo_setFile__Lorg_kde_qt_QFile_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQFileInfo*) QtSupport::getQt(env, obj))->setFile((const TQFile&)*(const TQFile*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QFileInfo_size(JNIEnv* env, jobject obj) +{ + jlong xret = (jlong) ((TQFileInfo*) QtSupport::getQt(env, obj))->size(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQFileInfo.h b/qtjava/javalib/qtjava/TQFileInfo.h new file mode 100644 index 00000000..8c6c5538 --- /dev/null +++ b/qtjava/javalib/qtjava/TQFileInfo.h @@ -0,0 +1,63 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QFileInfo__ +#define __org_kde_qt_QFileInfo__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileInfo_newTQFileInfo__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileInfo_newTQFileInfo__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileInfo_newTQFileInfo__Lorg_kde_qt_QFile_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileInfo_newTQFileInfo__Lorg_kde_qt_QDir_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileInfo_newTQFileInfo__Lorg_kde_qt_QFileInfo_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileInfo_setFile__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileInfo_setFile__Lorg_kde_qt_QFile_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileInfo_setFile__Lorg_kde_qt_QDir_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileInfo_exists (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileInfo_refresh (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileInfo_caching (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileInfo_setCaching (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileInfo_filePath (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileInfo_fileName (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileInfo_absFilePath (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileInfo_baseName__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileInfo_baseName__ (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileInfo_extension__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileInfo_extension__ (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileInfo_dirPath__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileInfo_dirPath__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFileInfo_dir__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFileInfo_dir__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileInfo_isReadable (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileInfo_isWritable (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileInfo_isExecutable (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileInfo_isHidden (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileInfo_isRelative (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileInfo_convertToAbs (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileInfo_isFile (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileInfo_isDir (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileInfo_isSymLink (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileInfo_readLink (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileInfo_owner (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFileInfo_ownerId (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileInfo_group (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFileInfo_groupId (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileInfo_permission (JNIEnv *env, jobject, jint); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QFileInfo_size (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFileInfo_created (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFileInfo_lastModified (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFileInfo_lastRead (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileInfo_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileInfo_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileInfo_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QFileInfo__ */ diff --git a/qtjava/javalib/qtjava/TQFilePreview.cpp b/qtjava/javalib/qtjava/TQFilePreview.cpp new file mode 100644 index 00000000..7a277c20 --- /dev/null +++ b/qtjava/javalib/qtjava/TQFilePreview.cpp @@ -0,0 +1,14 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFilePreview_previewUrl(JNIEnv* env, jobject obj, jobject url) +{ + ((TQFilePreview*) QtSupport::getQt(env, obj))->previewUrl((const TQUrl&)*(const TQUrl*) QtSupport::getQt(env, url)); + return; +} + diff --git a/qtjava/javalib/qtjava/TQFilePreview.h b/qtjava/javalib/qtjava/TQFilePreview.h new file mode 100644 index 00000000..c5f189e2 --- /dev/null +++ b/qtjava/javalib/qtjava/TQFilePreview.h @@ -0,0 +1,19 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QFilePreview__ +#define __org_kde_qt_QFilePreview__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFilePreview_previewUrl (JNIEnv *env, jobject, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QFilePreview__ */ diff --git a/qtjava/javalib/qtjava/TQFocusData.cpp b/qtjava/javalib/qtjava/TQFocusData.cpp new file mode 100644 index 00000000..1c4c6775 --- /dev/null +++ b/qtjava/javalib/qtjava/TQFocusData.cpp @@ -0,0 +1,55 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFocusData_count(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFocusData*) QtSupport::getQt(env, obj))->count(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFocusData_first(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQFocusData*) QtSupport::getQt(env, obj))->first(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFocusData_focusWidget(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQFocusData*) QtSupport::getQt(env, obj))->focusWidget(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFocusData_home(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQFocusData*) QtSupport::getQt(env, obj))->home(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFocusData_last(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQFocusData*) QtSupport::getQt(env, obj))->last(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFocusData_next(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQFocusData*) QtSupport::getQt(env, obj))->next(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFocusData_prev(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQFocusData*) QtSupport::getQt(env, obj))->prev(), "org.kde.qt.TQWidget"); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQFocusData.h b/qtjava/javalib/qtjava/TQFocusData.h new file mode 100644 index 00000000..977b96ad --- /dev/null +++ b/qtjava/javalib/qtjava/TQFocusData.h @@ -0,0 +1,25 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QFocusData__ +#define __org_kde_qt_QFocusData__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFocusData_focusWidget (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFocusData_home (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFocusData_next (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFocusData_prev (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFocusData_first (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFocusData_last (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFocusData_count (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QFocusData__ */ diff --git a/qtjava/javalib/qtjava/TQFocusEvent.cpp b/qtjava/javalib/qtjava/TQFocusEvent.cpp new file mode 100644 index 00000000..3cfb1213 --- /dev/null +++ b/qtjava/javalib/qtjava/TQFocusEvent.cpp @@ -0,0 +1,87 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + +class TQFocusEventJBridge : public TQFocusEvent +{ +public: + TQFocusEventJBridge(TQEvent::Type arg1) : TQFocusEvent(arg1) {}; + ~TQFocusEventJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFocusEvent_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QFocusEvent_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFocusEvent_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQFocusEvent*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFocusEvent_gotFocus(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFocusEvent*) QtSupport::getQt(env, obj))->gotFocus(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFocusEvent_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFocusEvent_lostFocus(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFocusEvent*) QtSupport::getQt(env, obj))->lostFocus(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFocusEvent_newTQFocusEvent(JNIEnv* env, jobject obj, jint type) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQFocusEventJBridge((TQEvent::Type) type)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFocusEvent_reason(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jint xret = (jint) TQFocusEventJBridge::reason(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFocusEvent_resetReason(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + TQFocusEventJBridge::resetReason(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFocusEvent_setReason(JNIEnv* env, jclass cls, jint reason) +{ + (void) cls; + (void) env; + TQFocusEventJBridge::setReason((TQFocusEvent::Reason) reason); + return; +} + diff --git a/qtjava/javalib/qtjava/TQFocusEvent.h b/qtjava/javalib/qtjava/TQFocusEvent.h new file mode 100644 index 00000000..821aba71 --- /dev/null +++ b/qtjava/javalib/qtjava/TQFocusEvent.h @@ -0,0 +1,27 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QFocusEvent__ +#define __org_kde_qt_QFocusEvent__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFocusEvent_newTQFocusEvent (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFocusEvent_gotFocus (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFocusEvent_lostFocus (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFocusEvent_reason (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFocusEvent_setReason (JNIEnv *env, jclass, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFocusEvent_resetReason (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFocusEvent_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFocusEvent_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFocusEvent_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QFocusEvent__ */ diff --git a/qtjava/javalib/qtjava/TQFont.cpp b/qtjava/javalib/qtjava/TQFont.cpp new file mode 100644 index 00000000..ebff1907 --- /dev/null +++ b/qtjava/javalib/qtjava/TQFont.cpp @@ -0,0 +1,560 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQFontJBridge : public TQFont +{ +public: + TQFontJBridge() : TQFont() {}; + TQFontJBridge(const TQString& arg1,int arg2,int arg3,bool arg4) : TQFont(arg1,arg2,arg3,arg4) {}; + TQFontJBridge(const TQString& arg1,int arg2,int arg3) : TQFont(arg1,arg2,arg3) {}; + TQFontJBridge(const TQString& arg1,int arg2) : TQFont(arg1,arg2) {}; + TQFontJBridge(const TQString& arg1) : TQFont(arg1) {}; + TQFontJBridge(const TQFont& arg1) : TQFont(arg1) {}; + bool protected_dirty() { + return (bool) TQFont::dirty(); + } + int protected_deciPointSize() { + return (int) TQFont::deciPointSize(); + } + ~TQFontJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFont_bold(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFont*) QtSupport::getQt(env, obj))->bold(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFont_cacheStatistics(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + TQFontJBridge::cacheStatistics(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFont_cleanup(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + TQFontJBridge::cleanup(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFont_deciPointSize(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFontJBridge*) QtSupport::getQt(env, obj))->protected_deciPointSize(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFont_defaultFamily(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQFont*) QtSupport::getQt(env, obj))->defaultFamily(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFont_defaultFont(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TQFontJBridge::defaultFont()), "org.kde.qt.TQFont", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFont_dirty(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFontJBridge*) QtSupport::getQt(env, obj))->protected_dirty(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFont_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QFont_finalize(env, obj); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFont_exactMatch(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFont*) QtSupport::getQt(env, obj))->exactMatch(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFont_family(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQFont*) QtSupport::getQt(env, obj))->family(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFont_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQFont*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFont_fixedPitch(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFont*) QtSupport::getQt(env, obj))->fixedPitch(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFont_fromString(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TQFont*) QtSupport::getQt(env, obj))->fromString((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFont_handle(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFont*) QtSupport::getQt(env, obj))->handle(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFont_initialize(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + TQFontJBridge::initialize(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFont_insertSubstitution(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + (void) cls; +static TQString* _qstring_arg1 = 0; +static TQString* _qstring_arg2 = 0; + TQFontJBridge::insertSubstitution((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFont_insertSubstitutions(JNIEnv* env, jclass cls, jstring arg1, jobjectArray arg2) +{ + (void) cls; +static TQString* _qstring_arg1 = 0; +static TQStringList* _qlist_arg2 = 0; + TQFontJBridge::insertSubstitutions((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, arg2, &_qlist_arg2)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFont_isCopyOf(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQFont*) QtSupport::getQt(env, obj))->isCopyOf((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFont_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFont_italic(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFont*) QtSupport::getQt(env, obj))->italic(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFont_key(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQFont*) QtSupport::getQt(env, obj))->key(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFont_lastResortFamily(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQFont*) QtSupport::getQt(env, obj))->lastResortFamily(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFont_lastResortFont(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQFont*) QtSupport::getQt(env, obj))->lastResortFont(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFont_newTQFont__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQFontJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFont_newTQFont__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring family) +{ +static TQString* _qstring_family = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQFontJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, family, &_qstring_family))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFont_newTQFont__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring family, jint pointSize) +{ +static TQString* _qstring_family = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQFontJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, family, &_qstring_family), (int) pointSize)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFont_newTQFont__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring family, jint pointSize, jint weight) +{ +static TQString* _qstring_family = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQFontJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, family, &_qstring_family), (int) pointSize, (int) weight)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFont_newTQFont__Ljava_lang_String_2IIZ(JNIEnv* env, jobject obj, jstring family, jint pointSize, jint weight, jboolean italic) +{ +static TQString* _qstring_family = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQFontJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, family, &_qstring_family), (int) pointSize, (int) weight, (bool) italic)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFont_newTQFont__Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQFontJBridge((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFont_op_1equals(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQFont*) QtSupport::getQt(env, obj))->operator==((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFont_op_1not_1equals(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQFont*) QtSupport::getQt(env, obj))->operator!=((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFont_overline(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFont*) QtSupport::getQt(env, obj))->overline(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFont_pixelSize(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFont*) QtSupport::getQt(env, obj))->pixelSize(); + return xret; +} + +JNIEXPORT jfloat JNICALL +Java_org_kde_qt_QFont_pointSizeFloat(JNIEnv* env, jobject obj) +{ + jfloat xret = (jfloat) ((TQFont*) QtSupport::getQt(env, obj))->pointSizeFloat(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFont_pointSize(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFont*) QtSupport::getQt(env, obj))->pointSize(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFont_rawMode(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFont*) QtSupport::getQt(env, obj))->rawMode(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFont_rawName(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQFont*) QtSupport::getQt(env, obj))->rawName(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFont_removeSubstitution(JNIEnv* env, jclass cls, jstring arg1) +{ + (void) cls; +static TQString* _qstring_arg1 = 0; + TQFontJBridge::removeSubstitution((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFont_resolve(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((TQFont*) QtSupport::getQt(env, obj))->resolve((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQFont", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFont_setBold(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQFont*) QtSupport::getQt(env, obj))->setBold((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFont_setDefaultFont(JNIEnv* env, jclass cls, jobject arg1) +{ + (void) cls; + TQFontJBridge::setDefaultFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFont_setFamily(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQFont*) QtSupport::getQt(env, obj))->setFamily((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFont_setFixedPitch(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQFont*) QtSupport::getQt(env, obj))->setFixedPitch((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFont_setItalic(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQFont*) QtSupport::getQt(env, obj))->setItalic((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFont_setOverline(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQFont*) QtSupport::getQt(env, obj))->setOverline((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFont_setPixelSizeFloat(JNIEnv* env, jobject obj, jfloat arg1) +{ + ((TQFont*) QtSupport::getQt(env, obj))->setPixelSizeFloat((float) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFont_setPixelSize(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQFont*) QtSupport::getQt(env, obj))->setPixelSize((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFont_setPointSizeFloat(JNIEnv* env, jobject obj, jfloat arg1) +{ + ((TQFont*) QtSupport::getQt(env, obj))->setPointSizeFloat((float) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFont_setPointSize(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQFont*) QtSupport::getQt(env, obj))->setPointSize((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFont_setRawMode(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQFont*) QtSupport::getQt(env, obj))->setRawMode((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFont_setRawName(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQFont*) QtSupport::getQt(env, obj))->setRawName((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFont_setStretch(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQFont*) QtSupport::getQt(env, obj))->setStretch((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFont_setStrikeOut(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQFont*) QtSupport::getQt(env, obj))->setStrikeOut((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFont_setStyleHint__I(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQFont*) QtSupport::getQt(env, obj))->setStyleHint((TQFont::StyleHint) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFont_setStyleHint__II(JNIEnv* env, jobject obj, jint arg1, jint arg2) +{ + ((TQFont*) QtSupport::getQt(env, obj))->setStyleHint((TQFont::StyleHint) arg1, (TQFont::StyleStrategy) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFont_setStyleStrategy(JNIEnv* env, jobject obj, jint s) +{ + ((TQFont*) QtSupport::getQt(env, obj))->setStyleStrategy((TQFont::StyleStrategy) s); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFont_setUnderline(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQFont*) QtSupport::getQt(env, obj))->setUnderline((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFont_setWeight(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQFont*) QtSupport::getQt(env, obj))->setWeight((int) arg1); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFont_stretch(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFont*) QtSupport::getQt(env, obj))->stretch(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFont_strikeOut(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFont*) QtSupport::getQt(env, obj))->strikeOut(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFont_styleHint(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFont*) QtSupport::getQt(env, obj))->styleHint(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFont_styleStrategy(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFont*) QtSupport::getQt(env, obj))->styleStrategy(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFont_substitute(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQString* _qstring_arg1 = 0; + _qstring = TQFontJBridge::substitute((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFont_substitutes(JNIEnv* env, jclass cls, jstring arg1) +{ + TQStringList _qlist; + (void) cls; +static TQString* _qstring_arg1 = 0; + _qlist = TQFontJBridge::substitutes((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFont_substitutions(JNIEnv* env, jclass cls) +{ + TQStringList _qlist; + (void) cls; + _qlist = TQFontJBridge::substitutions(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFont_toString(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQFont*) QtSupport::getQt(env, obj))->toString(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFont_underline(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFont*) QtSupport::getQt(env, obj))->underline(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFont_weight(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFont*) QtSupport::getQt(env, obj))->weight(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQFont.h b/qtjava/javalib/qtjava/TQFont.h new file mode 100644 index 00000000..688f995f --- /dev/null +++ b/qtjava/javalib/qtjava/TQFont.h @@ -0,0 +1,86 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QFont__ +#define __org_kde_qt_QFont__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_newTQFont__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_newTQFont__Ljava_lang_String_2IIZ (JNIEnv *env, jobject, jstring, jint, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_newTQFont__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_newTQFont__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_newTQFont__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_newTQFont__Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFont_family (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setFamily (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFont_pointSize (JNIEnv *env, jobject); +extern JNIEXPORT jfloat JNICALL Java_org_kde_qt_QFont_pointSizeFloat (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setPointSize (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setPointSizeFloat (JNIEnv *env, jobject, jfloat); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFont_pixelSize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setPixelSize (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setPixelSizeFloat (JNIEnv *env, jobject, jfloat); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFont_weight (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setWeight (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFont_bold (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setBold (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFont_italic (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setItalic (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFont_underline (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setUnderline (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFont_overline (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setOverline (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFont_strikeOut (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setStrikeOut (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFont_fixedPitch (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setFixedPitch (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFont_styleHint (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFont_styleStrategy (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setStyleHint__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setStyleHint__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setStyleStrategy (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFont_stretch (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setStretch (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFont_rawMode (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setRawMode (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFont_exactMatch (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFont_op_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFont_op_1not_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFont_isCopyOf (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFont_handle (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setRawName (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFont_rawName (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFont_key (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFont_toString (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFont_fromString (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFont_defaultFamily (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFont_lastResortFamily (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFont_lastResortFont (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFont_resolve (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFont_substitute (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFont_substitutes (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFont_substitutions (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_insertSubstitution (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_insertSubstitutions (JNIEnv *env, jclass, jstring, jobjectArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_removeSubstitution (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_initialize (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_cleanup (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_cacheStatistics (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFont_defaultFont (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setDefaultFont (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFont_dirty (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFont_deciPointSize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFont_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QFont__ */ diff --git a/qtjava/javalib/qtjava/TQFontDatabase.cpp b/qtjava/javalib/qtjava/TQFontDatabase.cpp new file mode 100644 index 00000000..0c43423d --- /dev/null +++ b/qtjava/javalib/qtjava/TQFontDatabase.cpp @@ -0,0 +1,362 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +class TQFontDatabaseJBridge : public TQFontDatabase +{ +public: + TQFontDatabaseJBridge() : TQFontDatabase() {}; + ~TQFontDatabaseJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFontDatabase_bold__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2) +{ +static TQString* _qstring_arg1 = 0; +static TQString* _qstring_arg2 = 0; + jboolean xret = (jboolean) ((TQFontDatabase*) QtSupport::getQt(env, obj))->bold((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFontDatabase_bold__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jstring arg3) +{ +static TQString* _qstring_arg1 = 0; +static TQString* _qstring_arg2 = 0; +static TQString* _qstring_arg3 = 0; + jboolean xret = (jboolean) ((TQFontDatabase*) QtSupport::getQt(env, obj))->bold((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFontDatabase_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QFontDatabase_finalize(env, obj); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFontDatabase_families__(JNIEnv* env, jobject obj) +{ + TQStringList _qlist; + _qlist = ((TQFontDatabase*) QtSupport::getQt(env, obj))->families(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFontDatabase_families__I(JNIEnv* env, jobject obj, jint arg1) +{ + TQStringList _qlist; + _qlist = ((TQFontDatabase*) QtSupport::getQt(env, obj))->families((TQFont::Script) arg1); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFontDatabase_families__Z(JNIEnv* env, jobject obj, jboolean arg1) +{ + TQStringList _qlist; + _qlist = ((TQFontDatabase*) QtSupport::getQt(env, obj))->families((bool) arg1); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFontDatabase_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQFontDatabase*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFontDatabase_font__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jint arg3) +{ +static TQString* _qstring_arg1 = 0; +static TQString* _qstring_arg2 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((TQFontDatabase*) QtSupport::getQt(env, obj))->font((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (int) arg3)), "org.kde.qt.TQFont", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFontDatabase_font__Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jint arg3, jstring arg4) +{ +static TQString* _qstring_arg1 = 0; +static TQString* _qstring_arg2 = 0; +static TQString* _qstring_arg4 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((TQFontDatabase*) QtSupport::getQt(env, obj))->font((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (int) arg3, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4))), "org.kde.qt.TQFont", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFontDatabase_isBitmapScalable__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TQFontDatabase*) QtSupport::getQt(env, obj))->isBitmapScalable((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFontDatabase_isBitmapScalable__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2) +{ +static TQString* _qstring_arg1 = 0; +static TQString* _qstring_arg2 = 0; + jboolean xret = (jboolean) ((TQFontDatabase*) QtSupport::getQt(env, obj))->isBitmapScalable((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFontDatabase_isBitmapScalable__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jstring arg3) +{ +static TQString* _qstring_arg1 = 0; +static TQString* _qstring_arg2 = 0; +static TQString* _qstring_arg3 = 0; + jboolean xret = (jboolean) ((TQFontDatabase*) QtSupport::getQt(env, obj))->isBitmapScalable((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFontDatabase_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFontDatabase_isFixedPitch__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TQFontDatabase*) QtSupport::getQt(env, obj))->isFixedPitch((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFontDatabase_isFixedPitch__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2) +{ +static TQString* _qstring_arg1 = 0; +static TQString* _qstring_arg2 = 0; + jboolean xret = (jboolean) ((TQFontDatabase*) QtSupport::getQt(env, obj))->isFixedPitch((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFontDatabase_isFixedPitch__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jstring arg3) +{ +static TQString* _qstring_arg1 = 0; +static TQString* _qstring_arg2 = 0; +static TQString* _qstring_arg3 = 0; + jboolean xret = (jboolean) ((TQFontDatabase*) QtSupport::getQt(env, obj))->isFixedPitch((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFontDatabase_isScalable__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TQFontDatabase*) QtSupport::getQt(env, obj))->isScalable((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFontDatabase_isScalable__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2) +{ +static TQString* _qstring_arg1 = 0; +static TQString* _qstring_arg2 = 0; + jboolean xret = (jboolean) ((TQFontDatabase*) QtSupport::getQt(env, obj))->isScalable((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFontDatabase_isScalable__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jstring arg3) +{ +static TQString* _qstring_arg1 = 0; +static TQString* _qstring_arg2 = 0; +static TQString* _qstring_arg3 = 0; + jboolean xret = (jboolean) ((TQFontDatabase*) QtSupport::getQt(env, obj))->isScalable((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFontDatabase_isSmoothlyScalable__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TQFontDatabase*) QtSupport::getQt(env, obj))->isSmoothlyScalable((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFontDatabase_isSmoothlyScalable__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2) +{ +static TQString* _qstring_arg1 = 0; +static TQString* _qstring_arg2 = 0; + jboolean xret = (jboolean) ((TQFontDatabase*) QtSupport::getQt(env, obj))->isSmoothlyScalable((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFontDatabase_isSmoothlyScalable__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jstring arg3) +{ +static TQString* _qstring_arg1 = 0; +static TQString* _qstring_arg2 = 0; +static TQString* _qstring_arg3 = 0; + jboolean xret = (jboolean) ((TQFontDatabase*) QtSupport::getQt(env, obj))->isSmoothlyScalable((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFontDatabase_italic__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2) +{ +static TQString* _qstring_arg1 = 0; +static TQString* _qstring_arg2 = 0; + jboolean xret = (jboolean) ((TQFontDatabase*) QtSupport::getQt(env, obj))->italic((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFontDatabase_italic__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jstring arg3) +{ +static TQString* _qstring_arg1 = 0; +static TQString* _qstring_arg2 = 0; +static TQString* _qstring_arg3 = 0; + jboolean xret = (jboolean) ((TQFontDatabase*) QtSupport::getQt(env, obj))->italic((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFontDatabase_newTQFontDatabase(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQFontDatabaseJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jintArray JNICALL +Java_org_kde_qt_QFontDatabase_pointSizes__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +{ + TQValueList _qintArray; +static TQString* _qstring_arg1 = 0; + _qintArray = ((TQFontDatabase*) QtSupport::getQt(env, obj))->pointSizes((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQIntValueList(env, &_qintArray); +} + +JNIEXPORT jintArray JNICALL +Java_org_kde_qt_QFontDatabase_pointSizes__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2) +{ + TQValueList _qintArray; +static TQString* _qstring_arg1 = 0; +static TQString* _qstring_arg2 = 0; + _qintArray = ((TQFontDatabase*) QtSupport::getQt(env, obj))->pointSizes((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQIntValueList(env, &_qintArray); +} + +JNIEXPORT jintArray JNICALL +Java_org_kde_qt_QFontDatabase_pointSizes__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jstring arg3) +{ + TQValueList _qintArray; +static TQString* _qstring_arg1 = 0; +static TQString* _qstring_arg2 = 0; +static TQString* _qstring_arg3 = 0; + _qintArray = ((TQFontDatabase*) QtSupport::getQt(env, obj))->pointSizes((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3)); + return QtSupport::fromTQIntValueList(env, &_qintArray); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFontDatabase_scriptName(JNIEnv* env, jclass cls, jint arg1) +{ + TQString _qstring; + (void) cls; + _qstring = TQFontDatabaseJBridge::scriptName((TQFont::Script) arg1); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFontDatabase_scriptSample(JNIEnv* env, jclass cls, jint arg1) +{ + TQString _qstring; + (void) cls; + _qstring = TQFontDatabaseJBridge::scriptSample((TQFont::Script) arg1); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jintArray JNICALL +Java_org_kde_qt_QFontDatabase_smoothSizes__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2) +{ + TQValueList _qintArray; +static TQString* _qstring_arg1 = 0; +static TQString* _qstring_arg2 = 0; + _qintArray = ((TQFontDatabase*) QtSupport::getQt(env, obj))->smoothSizes((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQIntValueList(env, &_qintArray); +} + +JNIEXPORT jintArray JNICALL +Java_org_kde_qt_QFontDatabase_smoothSizes__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jstring arg3) +{ + TQValueList _qintArray; +static TQString* _qstring_arg1 = 0; +static TQString* _qstring_arg2 = 0; +static TQString* _qstring_arg3 = 0; + _qintArray = ((TQFontDatabase*) QtSupport::getQt(env, obj))->smoothSizes((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3)); + return QtSupport::fromTQIntValueList(env, &_qintArray); +} + +JNIEXPORT jintArray JNICALL +Java_org_kde_qt_QFontDatabase_standardSizes(JNIEnv* env, jclass cls) +{ + TQValueList _qintArray; + (void) cls; + _qintArray = TQFontDatabaseJBridge::standardSizes(); + return QtSupport::fromTQIntValueList(env, &_qintArray); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFontDatabase_styleString(JNIEnv* env, jobject obj, jobject arg1) +{ + TQString _qstring; + _qstring = ((TQFontDatabase*) QtSupport::getQt(env, obj))->styleString((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFontDatabase_styles__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +{ + TQStringList _qlist; +static TQString* _qstring_arg1 = 0; + _qlist = ((TQFontDatabase*) QtSupport::getQt(env, obj))->styles((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFontDatabase_styles__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2) +{ + TQStringList _qlist; +static TQString* _qstring_arg1 = 0; +static TQString* _qstring_arg2 = 0; + _qlist = ((TQFontDatabase*) QtSupport::getQt(env, obj))->styles((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFontDatabase_weight__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2) +{ +static TQString* _qstring_arg1 = 0; +static TQString* _qstring_arg2 = 0; + jint xret = (jint) ((TQFontDatabase*) QtSupport::getQt(env, obj))->weight((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFontDatabase_weight__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jstring arg3) +{ +static TQString* _qstring_arg1 = 0; +static TQString* _qstring_arg2 = 0; +static TQString* _qstring_arg3 = 0; + jint xret = (jint) ((TQFontDatabase*) QtSupport::getQt(env, obj))->weight((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3)); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQFontDatabase.h b/qtjava/javalib/qtjava/TQFontDatabase.h new file mode 100644 index 00000000..ff5a87f9 --- /dev/null +++ b/qtjava/javalib/qtjava/TQFontDatabase.h @@ -0,0 +1,56 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QFontDatabase__ +#define __org_kde_qt_QFontDatabase__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFontDatabase_newTQFontDatabase (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontDatabase_families__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontDatabase_families__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontDatabase_styles__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jintArray JNICALL Java_org_kde_qt_QFontDatabase_pointSizes__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jintArray JNICALL Java_org_kde_qt_QFontDatabase_pointSizes__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jintArray JNICALL Java_org_kde_qt_QFontDatabase_smoothSizes__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFontDatabase_styleString (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontDatabase_font__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontDatabase_isBitmapScalable__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontDatabase_isBitmapScalable__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontDatabase_isSmoothlyScalable__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontDatabase_isSmoothlyScalable__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontDatabase_isScalable__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontDatabase_isScalable__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontDatabase_isFixedPitch__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontDatabase_isFixedPitch__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontDatabase_italic__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontDatabase_bold__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontDatabase_weight__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontDatabase_families__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontDatabase_styles__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jintArray JNICALL Java_org_kde_qt_QFontDatabase_pointSizes__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); +extern JNIEXPORT jintArray JNICALL Java_org_kde_qt_QFontDatabase_smoothSizes__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontDatabase_font__Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jint, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontDatabase_isBitmapScalable__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontDatabase_isSmoothlyScalable__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontDatabase_isScalable__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontDatabase_isFixedPitch__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontDatabase_italic__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontDatabase_bold__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontDatabase_weight__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); +extern JNIEXPORT jintArray JNICALL Java_org_kde_qt_QFontDatabase_standardSizes (JNIEnv *env, jclass); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFontDatabase_scriptName (JNIEnv *env, jclass, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFontDatabase_scriptSample (JNIEnv *env, jclass, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFontDatabase_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFontDatabase_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontDatabase_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QFontDatabase__ */ diff --git a/qtjava/javalib/qtjava/TQFontDialog.cpp b/qtjava/javalib/qtjava/TQFontDialog.cpp new file mode 100644 index 00000000..e6cd8c1d --- /dev/null +++ b/qtjava/javalib/qtjava/TQFontDialog.cpp @@ -0,0 +1,106 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFontDialog_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQFontDialog*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFontDialog_getFont___3Z(JNIEnv* env, jclass cls, jbooleanArray ok) +{ + (void) cls; + bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TQFontDialog::getFont( (bool*) _bool_ok)), "org.kde.qt.TQFont", TRUE); + env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFontDialog_getFont___3ZLorg_kde_qt_QFont_2(JNIEnv* env, jclass cls, jbooleanArray ok, jobject def) +{ + (void) cls; + bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TQFontDialog::getFont( (bool*) _bool_ok, (const TQFont&)*(const TQFont*) QtSupport::getQt(env, def))), "org.kde.qt.TQFont", TRUE); + env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFontDialog_getFont___3ZLorg_kde_qt_QFont_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jbooleanArray ok, jobject def, jobject parent) +{ + (void) cls; + bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TQFontDialog::getFont( (bool*) _bool_ok, (const TQFont&)*(const TQFont*) QtSupport::getQt(env, def), (TQWidget*) QtSupport::getQt(env, parent))), "org.kde.qt.TQFont", TRUE); + env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFontDialog_getFont___3ZLorg_kde_qt_QFont_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jbooleanArray ok, jobject def, jobject parent, jstring name) +{ + (void) cls; + bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); +static TQCString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TQFontDialog::getFont( (bool*) _bool_ok, (const TQFont&)*(const TQFont*) QtSupport::getQt(env, def), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))), "org.kde.qt.TQFont", TRUE); + env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFontDialog_getFont___3ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jbooleanArray ok, jobject parent) +{ + (void) cls; + bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TQFontDialog::getFont( (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent))), "org.kde.qt.TQFont", TRUE); + env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFontDialog_getFont___3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jbooleanArray ok, jobject parent, jstring name) +{ + (void) cls; + bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); +static TQCString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TQFontDialog::getFont( (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))), "org.kde.qt.TQFont", TRUE); + env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFontDialog_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQFontDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFontDialog_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQFontDialog::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFontDialog_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQFontDialog::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQFontDialog.h b/qtjava/javalib/qtjava/TQFontDialog.h new file mode 100644 index 00000000..b6b86905 --- /dev/null +++ b/qtjava/javalib/qtjava/TQFontDialog.h @@ -0,0 +1,28 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QFontDialog__ +#define __org_kde_qt_QFontDialog__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontDialog_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFontDialog_className (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFontDialog_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFontDialog_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontDialog_getFont___3ZLorg_kde_qt_QFont_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jbooleanArray, jobject, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontDialog_getFont___3ZLorg_kde_qt_QFont_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jbooleanArray, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontDialog_getFont___3ZLorg_kde_qt_QFont_2 (JNIEnv *env, jclass, jbooleanArray, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontDialog_getFont___3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jbooleanArray, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontDialog_getFont___3ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jbooleanArray, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontDialog_getFont___3Z (JNIEnv *env, jclass, jbooleanArray); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QFontDialog__ */ diff --git a/qtjava/javalib/qtjava/TQFontInfo.cpp b/qtjava/javalib/qtjava/TQFontInfo.cpp new file mode 100644 index 00000000..c9ae9ed9 --- /dev/null +++ b/qtjava/javalib/qtjava/TQFontInfo.cpp @@ -0,0 +1,162 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQFontInfoJBridge : public TQFontInfo +{ +public: + TQFontInfoJBridge(const TQFont& arg1) : TQFontInfo(arg1) {}; + TQFontInfoJBridge(const TQFont& arg1,TQFont::Script arg2) : TQFontInfo(arg1,arg2) {}; + TQFontInfoJBridge(const TQFontInfo& arg1) : TQFontInfo(arg1) {}; + ~TQFontInfoJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFontInfo_bold(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFontInfo*) QtSupport::getQt(env, obj))->bold(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFontInfo_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QFontInfo_finalize(env, obj); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFontInfo_exactMatch(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFontInfo*) QtSupport::getQt(env, obj))->exactMatch(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFontInfo_family(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQFontInfo*) QtSupport::getQt(env, obj))->family(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFontInfo_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQFontInfo*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFontInfo_fixedPitch(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFontInfo*) QtSupport::getQt(env, obj))->fixedPitch(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFontInfo_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFontInfo_italic(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFontInfo*) QtSupport::getQt(env, obj))->italic(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFontInfo_newTQFontInfo__Lorg_kde_qt_QFontInfo_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQFontInfoJBridge((const TQFontInfo&)*(const TQFontInfo*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFontInfo_newTQFontInfo__Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQFontInfoJBridge((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFontInfo_newTQFontInfo__Lorg_kde_qt_QFont_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQFontInfoJBridge((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1), (TQFont::Script) arg2)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFontInfo_overline(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFontInfo*) QtSupport::getQt(env, obj))->overline(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFontInfo_pixelSize(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFontInfo*) QtSupport::getQt(env, obj))->pixelSize(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFontInfo_pointSize(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFontInfo*) QtSupport::getQt(env, obj))->pointSize(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFontInfo_rawMode(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFontInfo*) QtSupport::getQt(env, obj))->rawMode(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFontInfo_strikeOut(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFontInfo*) QtSupport::getQt(env, obj))->strikeOut(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFontInfo_styleHint(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFontInfo*) QtSupport::getQt(env, obj))->styleHint(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFontInfo_underline(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFontInfo*) QtSupport::getQt(env, obj))->underline(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFontInfo_weight(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFontInfo*) QtSupport::getQt(env, obj))->weight(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQFontInfo.h b/qtjava/javalib/qtjava/TQFontInfo.h new file mode 100644 index 00000000..393ea5da --- /dev/null +++ b/qtjava/javalib/qtjava/TQFontInfo.h @@ -0,0 +1,37 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QFontInfo__ +#define __org_kde_qt_QFontInfo__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFontInfo_newTQFontInfo__Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFontInfo_newTQFontInfo__Lorg_kde_qt_QFont_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFontInfo_newTQFontInfo__Lorg_kde_qt_QFontInfo_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFontInfo_family (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontInfo_pixelSize (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontInfo_pointSize (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontInfo_italic (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontInfo_weight (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontInfo_bold (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontInfo_underline (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontInfo_overline (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontInfo_strikeOut (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontInfo_fixedPitch (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontInfo_styleHint (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontInfo_rawMode (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontInfo_exactMatch (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFontInfo_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFontInfo_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontInfo_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QFontInfo__ */ diff --git a/qtjava/javalib/qtjava/TQFontMetrics.cpp b/qtjava/javalib/qtjava/TQFontMetrics.cpp new file mode 100644 index 00000000..b439e1d0 --- /dev/null +++ b/qtjava/javalib/qtjava/TQFontMetrics.cpp @@ -0,0 +1,304 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include + +#include +#include + +class TQFontMetricsJBridge : public TQFontMetrics +{ +public: + TQFontMetricsJBridge(const TQFont& arg1) : TQFontMetrics(arg1) {}; + TQFontMetricsJBridge(const TQFont& arg1,TQFont::Script arg2) : TQFontMetrics(arg1,arg2) {}; + TQFontMetricsJBridge(const TQFontMetrics& arg1) : TQFontMetrics(arg1) {}; + ~TQFontMetricsJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFontMetrics_ascent(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->ascent(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFontMetrics_boundingRect__C(JNIEnv* env, jobject obj, jchar arg1) +{ +static TQChar* _qchar_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQFontMetrics*) QtSupport::getQt(env, obj))->boundingRect((TQChar)*(TQChar*) QtSupport::toTQChar(env, arg1, &_qchar_arg1))), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFontMetrics_boundingRect__IIIIILjava_lang_String_2(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint flags, jstring str) +{ +static TQString* _qstring_str = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQFontMetrics*) QtSupport::getQt(env, obj))->boundingRect((int) x, (int) y, (int) w, (int) h, (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str))), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFontMetrics_boundingRect__IIIIILjava_lang_String_2I(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint flags, jstring str, jint len) +{ +static TQString* _qstring_str = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQFontMetrics*) QtSupport::getQt(env, obj))->boundingRect((int) x, (int) y, (int) w, (int) h, (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) len)), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFontMetrics_boundingRect__IIIIILjava_lang_String_2II(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint flags, jstring str, jint len, jint tabstops) +{ +static TQString* _qstring_str = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQFontMetrics*) QtSupport::getQt(env, obj))->boundingRect((int) x, (int) y, (int) w, (int) h, (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) len, (int) tabstops)), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFontMetrics_boundingRect__IIIIILjava_lang_String_2II_3I(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint flags, jstring str, jint len, jint tabstops, jintArray tabarray) +{ +static TQString* _qstring_str = 0; + int* _int_tabarray = QtSupport::toIntPtr(env, tabarray); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQFontMetrics*) QtSupport::getQt(env, obj))->boundingRect((int) x, (int) y, (int) w, (int) h, (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) len, (int) tabstops, (int*) _int_tabarray)), "org.kde.qt.TQRect", TRUE); + env->SetIntArrayRegion(tabarray, 0, 1, (jint *) _int_tabarray); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFontMetrics_boundingRect__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQFontMetrics*) QtSupport::getQt(env, obj))->boundingRect((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1))), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFontMetrics_boundingRect__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring arg1, jint len) +{ +static TQString* _qstring_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQFontMetrics*) QtSupport::getQt(env, obj))->boundingRect((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (int) len)), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFontMetrics_charWidth(JNIEnv* env, jobject obj, jstring str, jint pos) +{ +static TQString* _qstring_str = 0; + jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->charWidth((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) pos); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFontMetrics_descent(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->descent(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFontMetrics_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QFontMetrics_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFontMetrics_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQFontMetrics*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFontMetrics_height(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->height(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFontMetrics_inFont(JNIEnv* env, jobject obj, jchar arg1) +{ +static TQChar* _qchar_arg1 = 0; + jboolean xret = (jboolean) ((TQFontMetrics*) QtSupport::getQt(env, obj))->inFont((TQChar)*(TQChar*) QtSupport::toTQChar(env, arg1, &_qchar_arg1)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFontMetrics_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFontMetrics_leading(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->leading(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFontMetrics_leftBearing(JNIEnv* env, jobject obj, jchar arg1) +{ +static TQChar* _qchar_arg1 = 0; + jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->leftBearing((TQChar)*(TQChar*) QtSupport::toTQChar(env, arg1, &_qchar_arg1)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFontMetrics_lineSpacing(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->lineSpacing(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFontMetrics_lineWidth(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->lineWidth(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFontMetrics_maxWidth(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->maxWidth(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFontMetrics_minLeftBearing(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->minLeftBearing(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFontMetrics_minRightBearing(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->minRightBearing(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFontMetrics_newTQFontMetrics__Lorg_kde_qt_QFontMetrics_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQFontMetricsJBridge((const TQFontMetrics&)*(const TQFontMetrics*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFontMetrics_newTQFontMetrics__Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQFontMetricsJBridge((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFontMetrics_newTQFontMetrics__Lorg_kde_qt_QFont_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQFontMetricsJBridge((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1), (TQFont::Script) arg2)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFontMetrics_overlinePos(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->overlinePos(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFontMetrics_rightBearing(JNIEnv* env, jobject obj, jchar arg1) +{ +static TQChar* _qchar_arg1 = 0; + jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->rightBearing((TQChar)*(TQChar*) QtSupport::toTQChar(env, arg1, &_qchar_arg1)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFontMetrics_size__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint flags, jstring str) +{ +static TQString* _qstring_str = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQFontMetrics*) QtSupport::getQt(env, obj))->size((int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str))), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFontMetrics_size__ILjava_lang_String_2I(JNIEnv* env, jobject obj, jint flags, jstring str, jint len) +{ +static TQString* _qstring_str = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQFontMetrics*) QtSupport::getQt(env, obj))->size((int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) len)), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFontMetrics_size__ILjava_lang_String_2II(JNIEnv* env, jobject obj, jint flags, jstring str, jint len, jint tabstops) +{ +static TQString* _qstring_str = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQFontMetrics*) QtSupport::getQt(env, obj))->size((int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) len, (int) tabstops)), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFontMetrics_size__ILjava_lang_String_2II_3I(JNIEnv* env, jobject obj, jint flags, jstring str, jint len, jint tabstops, jintArray tabarray) +{ +static TQString* _qstring_str = 0; + int* _int_tabarray = QtSupport::toIntPtr(env, tabarray); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQFontMetrics*) QtSupport::getQt(env, obj))->size((int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) len, (int) tabstops, (int*) _int_tabarray)), "org.kde.qt.TQSize", TRUE); + env->SetIntArrayRegion(tabarray, 0, 1, (jint *) _int_tabarray); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFontMetrics_strikeOutPos(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->strikeOutPos(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFontMetrics_underlinePos(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->underlinePos(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFontMetrics_width__C(JNIEnv* env, jobject obj, jchar arg1) +{ +static TQChar* _qchar_arg1 = 0; + jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->width((TQChar)*(TQChar*) QtSupport::toTQChar(env, arg1, &_qchar_arg1)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFontMetrics_width__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->width((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFontMetrics_width__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring arg1, jint len) +{ +static TQString* _qstring_arg1 = 0; + jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->width((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (int) len); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQFontMetrics.h b/qtjava/javalib/qtjava/TQFontMetrics.h new file mode 100644 index 00000000..4cc76b89 --- /dev/null +++ b/qtjava/javalib/qtjava/TQFontMetrics.h @@ -0,0 +1,54 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QFontMetrics__ +#define __org_kde_qt_QFontMetrics__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFontMetrics_newTQFontMetrics__Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFontMetrics_newTQFontMetrics__Lorg_kde_qt_QFont_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFontMetrics_newTQFontMetrics__Lorg_kde_qt_QFontMetrics_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_ascent (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_descent (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_height (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_leading (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_lineSpacing (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_minLeftBearing (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_minRightBearing (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_maxWidth (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontMetrics_inFont (JNIEnv *env, jobject, jchar); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_leftBearing (JNIEnv *env, jobject, jchar); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_rightBearing (JNIEnv *env, jobject, jchar); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_width__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_width__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_width__C (JNIEnv *env, jobject, jchar); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_charWidth (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontMetrics_boundingRect__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontMetrics_boundingRect__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontMetrics_boundingRect__C (JNIEnv *env, jobject, jchar); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontMetrics_boundingRect__IIIIILjava_lang_String_2II_3I (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jstring, jint, jint, jintArray); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontMetrics_boundingRect__IIIIILjava_lang_String_2II (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jstring, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontMetrics_boundingRect__IIIIILjava_lang_String_2I (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jstring, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontMetrics_boundingRect__IIIIILjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontMetrics_size__ILjava_lang_String_2II_3I (JNIEnv *env, jobject, jint, jstring, jint, jint, jintArray); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontMetrics_size__ILjava_lang_String_2II (JNIEnv *env, jobject, jint, jstring, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontMetrics_size__ILjava_lang_String_2I (JNIEnv *env, jobject, jint, jstring, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontMetrics_size__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_underlinePos (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_overlinePos (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_strikeOutPos (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_lineWidth (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFontMetrics_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFontMetrics_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontMetrics_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QFontMetrics__ */ diff --git a/qtjava/javalib/qtjava/TQFrame.cpp b/qtjava/javalib/qtjava/TQFrame.cpp new file mode 100644 index 00000000..ead8f8c5 --- /dev/null +++ b/qtjava/javalib/qtjava/TQFrame.cpp @@ -0,0 +1,678 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQFrameJBridge : public TQFrame +{ +public: + TQFrameJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQFrame(arg1,arg2,arg3) {}; + TQFrameJBridge(TQWidget* arg1,const char* arg2) : TQFrame(arg1,arg2) {}; + TQFrameJBridge(TQWidget* arg1) : TQFrame(arg1) {}; + TQFrameJBridge() : TQFrame() {}; + void protected_paintEvent(TQPaintEvent* arg1) { + TQFrame::paintEvent(arg1); + return; + } + void protected_resizeEvent(TQResizeEvent* arg1) { + TQFrame::resizeEvent(arg1); + return; + } + void protected_drawFrame(TQPainter* arg1) { + TQFrame::drawFrame(arg1); + return; + } + void protected_drawContents(TQPainter* arg1) { + TQFrame::drawContents(arg1); + return; + } + void protected_frameChanged() { + TQFrame::frameChanged(); + return; + } + void protected_styleChange(TQStyle& arg1) { + TQFrame::styleChange(arg1); + return; + } + ~TQFrameJBridge() {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.qt.TQFrame","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.qt.TQFrame","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.qt.TQFrame","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.qt.TQFrame","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.qt.TQFrame","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.qt.TQFrame","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFrame","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.qt.TQFrame","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFrame","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.qt.TQFrame","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.qt.TQFrame",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.qt.TQFrame","frameChanged")) { + TQFrame::frameChanged(); + } + return; + } + void showMinimized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFrame","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFrame_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQFrame*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFrame_contentsRect(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQFrame*) QtSupport::getQt(env, obj))->contentsRect()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFrame_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QFrame_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFrame_drawContents(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQFrameJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFrame_drawFrame(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQFrameJBridge*) QtSupport::getQt(env, obj))->protected_drawFrame((TQPainter*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFrame_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQFrame*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQFrame*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFrame_frameChanged(JNIEnv* env, jobject obj) +{ + ((TQFrameJBridge*) QtSupport::getQt(env, obj))->protected_frameChanged(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFrame_frameRect(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQFrame*) QtSupport::getQt(env, obj))->frameRect()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFrame_frameShadow(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFrame*) QtSupport::getQt(env, obj))->frameShadow(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFrame_frameShape(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFrame*) QtSupport::getQt(env, obj))->frameShape(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFrame_frameStyle(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFrame*) QtSupport::getQt(env, obj))->frameStyle(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFrame_frameWidth(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFrame*) QtSupport::getQt(env, obj))->frameWidth(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFrame_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFrame_lineShapesOk(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFrame*) QtSupport::getQt(env, obj))->lineShapesOk(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFrame_lineWidth(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFrame*) QtSupport::getQt(env, obj))->lineWidth(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFrame_margin(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFrame*) QtSupport::getQt(env, obj))->margin(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFrame_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQFrame*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFrame_midLineWidth(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFrame*) QtSupport::getQt(env, obj))->midLineWidth(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFrame_newTQFrame__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQFrameJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFrame_newTQFrame__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQFrameJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFrame_newTQFrame__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 TQFrameJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFrame_newTQFrame__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 TQFrameJBridge((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_qt_QFrame_paintEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQFrameJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFrame_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQFrameJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFrame_setFrameRect(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQFrame*) QtSupport::getQt(env, obj))->setFrameRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFrame_setFrameShadow(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQFrame*) QtSupport::getQt(env, obj))->setFrameShadow((TQFrame::Shadow) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFrame_setFrameShape(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQFrame*) QtSupport::getQt(env, obj))->setFrameShape((TQFrame::Shape) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFrame_setFrameStyle(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQFrame*) QtSupport::getQt(env, obj))->setFrameStyle((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFrame_setLineWidth(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQFrame*) QtSupport::getQt(env, obj))->setLineWidth((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFrame_setMargin(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQFrame*) QtSupport::getQt(env, obj))->setMargin((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFrame_setMidLineWidth(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQFrame*) QtSupport::getQt(env, obj))->setMidLineWidth((int) arg1); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFrame_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQFrame*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFrame_styleChange(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQFrameJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFrame_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQFrameJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFrame_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQFrameJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQFrame.h b/qtjava/javalib/qtjava/TQFrame.h new file mode 100644 index 00000000..3c23f764 --- /dev/null +++ b/qtjava/javalib/qtjava/TQFrame.h @@ -0,0 +1,53 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QFrame__ +#define __org_kde_qt_QFrame__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFrame_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFrame_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_newTQFrame__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_newTQFrame__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_newTQFrame__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_newTQFrame__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFrame_frameStyle (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_setFrameStyle (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFrame_frameWidth (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFrame_contentsRect (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFrame_lineShapesOk (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFrame_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFrame_frameShape (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_setFrameShape (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFrame_frameShadow (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_setFrameShadow (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFrame_lineWidth (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_setLineWidth (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFrame_margin (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_setMargin (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFrame_midLineWidth (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_setMidLineWidth (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFrame_frameRect (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_setFrameRect (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFrame_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFrame_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_paintEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_drawFrame (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_drawContents (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_frameChanged (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_styleChange (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFrame_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QFrame__ */ diff --git a/qtjava/javalib/qtjava/TQFtp.cpp b/qtjava/javalib/qtjava/TQFtp.cpp new file mode 100644 index 00000000..2837636e --- /dev/null +++ b/qtjava/javalib/qtjava/TQFtp.cpp @@ -0,0 +1,600 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include + +#include +#include + +class TQFtpJBridge : public TQFtp +{ +public: + TQFtpJBridge() : TQFtp() {}; + TQFtpJBridge(TQObject* arg1,const char* arg2) : TQFtp(arg1,arg2) {}; + TQFtpJBridge(TQObject* arg1) : TQFtp(arg1) {}; + void protected_parseDir(const TQString& arg1,TQUrlInfo& arg2) { + TQFtp::parseDir(arg1,arg2); + return; + } + void protected_operationListChildren(TQNetworkOperation* arg1) { + TQFtp::operationListChildren(arg1); + return; + } + void protected_operationMkDir(TQNetworkOperation* arg1) { + TQFtp::operationMkDir(arg1); + return; + } + void protected_operationRemove(TQNetworkOperation* arg1) { + TQFtp::operationRemove(arg1); + return; + } + void protected_operationRename(TQNetworkOperation* arg1) { + TQFtp::operationRename(arg1); + return; + } + void protected_operationGet(TQNetworkOperation* arg1) { + TQFtp::operationGet(arg1); + return; + } + void protected_operationPut(TQNetworkOperation* arg1) { + TQFtp::operationPut(arg1); + return; + } + void protected_hostFound() { + TQFtp::hostFound(); + return; + } + void protected_connected() { + TQFtp::connected(); + return; + } + void protected_closed() { + TQFtp::closed(); + return; + } + void protected_dataHostFound() { + TQFtp::dataHostFound(); + return; + } + void protected_dataConnected() { + TQFtp::dataConnected(); + return; + } + void protected_dataClosed() { + TQFtp::dataClosed(); + return; + } + void protected_dataReadyRead() { + TQFtp::dataReadyRead(); + return; + } + void protected_dataBytesWritten(int arg1) { + TQFtp::dataBytesWritten(arg1); + return; + } + void protected_error(int arg1) { + TQFtp::error(arg1); + return; + } + ~TQFtpJBridge() {QtSupport::qtKeyDeleted(this);} + void operationPutChunk(TQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationPutChunk",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { + TQNetworkProtocol::operationPutChunk(arg1); + } + return; + } + void processOperation(TQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"processOperation",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { + TQNetworkProtocol::processOperation(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 addOperation(TQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"addOperation",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { + TQNetworkProtocol::addOperation(arg1); + } + return; + } + void insertChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::insertChild(arg1); + } + return; + } + void clearOperationQueue() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFtp","clearOperationQueue")) { + TQNetworkProtocol::clearOperationQueue(); + } + return; + } + bool eventFilter(TQObject* object,TQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQFtp",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } + void stop() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFtp","stop")) { + TQNetworkProtocol::stop(); + } + return; + } + void setUrl(TQUrlOperator* arg1) { + if (!QtSupport::eventDelegate(this,"setUrl",(void*)arg1,"org.kde.qt.TQUrlOperator")) { + TQNetworkProtocol::setUrl(arg1); + } + return; + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFtp_abort(JNIEnv* env, jobject obj) +{ + ((TQFtp*) QtSupport::getQt(env, obj))->abort(); + return; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QFtp_bytesAvailable(JNIEnv* env, jobject obj) +{ + jlong xret = (jlong) ((TQFtp*) QtSupport::getQt(env, obj))->bytesAvailable(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFtp_cd(JNIEnv* env, jobject obj, jstring dir) +{ +static TQString* _qstring_dir = 0; + jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->cd((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir)); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFtp_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQFtp*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFtp_clearPendingCommands(JNIEnv* env, jobject obj) +{ + ((TQFtp*) QtSupport::getQt(env, obj))->clearPendingCommands(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFtp_close(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->close(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFtp_closed(JNIEnv* env, jobject obj) +{ + ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_closed(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFtp_connectToHost__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring host) +{ +static TQString* _qstring_host = 0; + jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->connectToHost((const TQString&)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFtp_connectToHost__Ljava_lang_String_2S(JNIEnv* env, jobject obj, jstring host, jshort port) +{ +static TQString* _qstring_host = 0; + jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->connectToHost((const TQString&)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host), (Q_UINT16) port); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFtp_connected(JNIEnv* env, jobject obj) +{ + ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_connected(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFtp_currentCommand(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->currentCommand(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFtp_currentDevice(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQFtp*) QtSupport::getQt(env, obj))->currentDevice(), "org.kde.qt.TQIODeviceInterface"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFtp_currentId(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->currentId(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFtp_dataBytesWritten(JNIEnv* env, jobject obj, jint nbytes) +{ + ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_dataBytesWritten((int) nbytes); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFtp_dataClosed(JNIEnv* env, jobject obj) +{ + ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_dataClosed(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFtp_dataConnected(JNIEnv* env, jobject obj) +{ + ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_dataConnected(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFtp_dataHostFound(JNIEnv* env, jobject obj) +{ + ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_dataHostFound(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFtp_dataReadyRead(JNIEnv* env, jobject obj) +{ + ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_dataReadyRead(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFtp_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QFtp_finalize(env, obj); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFtp_errorString(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQFtp*) QtSupport::getQt(env, obj))->errorString(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFtp_error__(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->error(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFtp_error__I(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_error((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFtp_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQFtp*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQFtp*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFtp_get__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring file) +{ +static TQString* _qstring_file = 0; + jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->get((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFtp_get__Ljava_lang_String_2Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jstring file, jobject dev) +{ +static TQString* _qstring_file = 0; + jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->get((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file), (TQIODevice*) QtSupport::getQt(env, dev)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFtp_hasPendingCommands(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQFtp*) QtSupport::getQt(env, obj))->hasPendingCommands(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFtp_hostFound(JNIEnv* env, jobject obj) +{ + ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_hostFound(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QFtp_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFtp_list__(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->list(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFtp_list__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring dir) +{ +static TQString* _qstring_dir = 0; + jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->list((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFtp_login__(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->login(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFtp_login__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring user) +{ +static TQString* _qstring_user = 0; + jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->login((const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFtp_login__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring user, jstring password) +{ +static TQString* _qstring_user = 0; +static TQString* _qstring_password = 0; + jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->login((const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, password, &_qstring_password)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QFtp_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQFtp*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFtp_mkdir(JNIEnv* env, jobject obj, jstring dir) +{ +static TQString* _qstring_dir = 0; + jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->mkdir((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFtp_newTQFtp__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQFtpJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFtp_newTQFtp__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQFtpJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFtp_newTQFtp__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 TQFtpJBridge((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_qt_QFtp_operationGet(JNIEnv* env, jobject obj, jobject op) +{ + ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_operationGet((TQNetworkOperation*) QtSupport::getQt(env, op)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFtp_operationListChildren(JNIEnv* env, jobject obj, jobject op) +{ + ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_operationListChildren((TQNetworkOperation*) QtSupport::getQt(env, op)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFtp_operationMkDir(JNIEnv* env, jobject obj, jobject op) +{ + ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_operationMkDir((TQNetworkOperation*) QtSupport::getQt(env, op)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFtp_operationPut(JNIEnv* env, jobject obj, jobject op) +{ + ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_operationPut((TQNetworkOperation*) QtSupport::getQt(env, op)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFtp_operationRemove(JNIEnv* env, jobject obj, jobject op) +{ + ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_operationRemove((TQNetworkOperation*) QtSupport::getQt(env, op)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFtp_operationRename(JNIEnv* env, jobject obj, jobject op) +{ + ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_operationRename((TQNetworkOperation*) QtSupport::getQt(env, op)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QFtp_parseDir(JNIEnv* env, jobject obj, jstring buffer, jobject info) +{ +static TQString* _qstring_buffer = 0; + ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_parseDir((const TQString&)*(TQString*) QtSupport::toTQString(env, buffer, &_qstring_buffer), (TQUrlInfo&)*(TQUrlInfo*) QtSupport::getQt(env, info)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFtp_put__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject dev, jstring file) +{ +static TQString* _qstring_file = 0; + jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->put((TQIODevice*) QtSupport::getQt(env, dev), (const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFtp_put___3BLjava_lang_String_2(JNIEnv* env, jobject obj, jbyteArray data, jstring file) +{ +static TQByteArray* _qbyteArray_data = 0; +static TQString* _qstring_file = 0; + jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->put((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFtp_rawCommand(JNIEnv* env, jobject obj, jstring command) +{ +static TQString* _qstring_command = 0; + jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->rawCommand((const TQString&)*(TQString*) QtSupport::toTQString(env, command, &_qstring_command)); + return xret; +} + +JNIEXPORT jbyteArray JNICALL +Java_org_kde_qt_QFtp_readAll(JNIEnv* env, jobject obj) +{ + TQByteArray _qbyteArray; + _qbyteArray = ((TQFtp*) QtSupport::getQt(env, obj))->readAll(); + return QtSupport::fromTQByteArray(env, &_qbyteArray); +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QFtp_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) ((TQFtp*) QtSupport::getQt(env, obj))->readBlock((char*) _qstring_data->data(), (Q_ULONG) maxlen); + QtSupport::fromTQCStringToStringBuffer(env, _qstring_data, data); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFtp_remove(JNIEnv* env, jobject obj, jstring file) +{ +static TQString* _qstring_file = 0; + jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->remove((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFtp_rename(JNIEnv* env, jobject obj, jstring oldname, jstring newname) +{ +static TQString* _qstring_oldname = 0; +static TQString* _qstring_newname = 0; + jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->rename((const TQString&)*(TQString*) QtSupport::toTQString(env, oldname, &_qstring_oldname), (const TQString&)*(TQString*) QtSupport::toTQString(env, newname, &_qstring_newname)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFtp_rmdir(JNIEnv* env, jobject obj, jstring dir) +{ +static TQString* _qstring_dir = 0; + jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->rmdir((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFtp_state(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->state(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QFtp_supportedOperations(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->supportedOperations(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFtp_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQFtpJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QFtp_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQFtpJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQFtp.h b/qtjava/javalib/qtjava/TQFtp.h new file mode 100644 index 00000000..50459e07 --- /dev/null +++ b/qtjava/javalib/qtjava/TQFtp.h @@ -0,0 +1,75 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QFtp__ +#define __org_kde_qt_QFtp__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFtp_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFtp_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_newTQFtp__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_newTQFtp__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_newTQFtp__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_supportedOperations (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_connectToHost__Ljava_lang_String_2S (JNIEnv *env, jobject, jstring, jshort); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_connectToHost__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_login__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_login__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_login__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_close (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_list__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_list__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_cd (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_get__Ljava_lang_String_2Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_get__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_put___3BLjava_lang_String_2 (JNIEnv *env, jobject, jbyteArray, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_put__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_remove (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_mkdir (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_rmdir (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_rename (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_rawCommand (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QFtp_bytesAvailable (JNIEnv *env, jobject); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QFtp_readBlock (JNIEnv *env, jobject, jobject, jlong); +extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QFtp_readAll (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_currentId (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QFtp_currentDevice (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_currentCommand (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFtp_hasPendingCommands (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_clearPendingCommands (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_state (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_error__ (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFtp_errorString (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_abort (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFtp_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QFtp_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_parseDir (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_operationListChildren (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_operationMkDir (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_operationRemove (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_operationRename (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_operationGet (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_operationPut (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_hostFound (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_connected (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_closed (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_dataHostFound (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_dataConnected (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_dataClosed (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_dataReadyRead (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_dataBytesWritten (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_error__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFtp_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QFtp__ */ diff --git a/qtjava/javalib/qtjava/TQGL.cpp b/qtjava/javalib/qtjava/TQGL.cpp new file mode 100644 index 00000000..0fa234ff --- /dev/null +++ b/qtjava/javalib/qtjava/TQGL.cpp @@ -0,0 +1,46 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + +class TQGLJBridge : public TQGL +{ +public: + TQGLJBridge() : TQGL() {}; + ~TQGLJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGL_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QGL_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGL_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQGL*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGL_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGL_newTQGL(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGLJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + diff --git a/qtjava/javalib/qtjava/TQGL.h b/qtjava/javalib/qtjava/TQGL.h new file mode 100644 index 00000000..e707487a --- /dev/null +++ b/qtjava/javalib/qtjava/TQGL.h @@ -0,0 +1,22 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QGL__ +#define __org_kde_qt_QGL__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGL_newTQGL (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGL_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGL_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGL_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QGL__ */ diff --git a/qtjava/javalib/qtjava/TQGLColormap.cpp b/qtjava/javalib/qtjava/TQGLColormap.cpp new file mode 100644 index 00000000..e6eae5af --- /dev/null +++ b/qtjava/javalib/qtjava/TQGLColormap.cpp @@ -0,0 +1,140 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQGLColormapJBridge : public TQGLColormap +{ +public: + TQGLColormapJBridge() : TQGLColormap() {}; + TQGLColormapJBridge(const TQGLColormap& arg1) : TQGLColormap(arg1) {}; + ~TQGLColormapJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLColormap_detach(JNIEnv* env, jobject obj) +{ + ((TQGLColormap*) QtSupport::getQt(env, obj))->detach(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLColormap_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QGLColormap_finalize(env, obj); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QGLColormap_entryColor(JNIEnv* env, jobject obj, jint idx) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TQGLColormap*) QtSupport::getQt(env, obj))->entryColor((int) idx)), "org.kde.qt.TQColor", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QGLColormap_entryRgb(JNIEnv* env, jobject obj, jint idx) +{ + jint xret = (jint) ((TQGLColormap*) QtSupport::getQt(env, obj))->entryRgb((int) idx); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLColormap_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQGLColormap*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QGLColormap_findNearest(JNIEnv* env, jobject obj, jint color) +{ + jint xret = (jint) ((TQGLColormap*) QtSupport::getQt(env, obj))->findNearest((TQRgb) color); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QGLColormap_find(JNIEnv* env, jobject obj, jint color) +{ + jint xret = (jint) ((TQGLColormap*) QtSupport::getQt(env, obj))->find((TQRgb) color); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGLColormap_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGLColormap_isEmpty(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQGLColormap*) QtSupport::getQt(env, obj))->isEmpty(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLColormap_newTQGLColormap__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGLColormapJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLColormap_newTQGLColormap__Lorg_kde_qt_QGLColormap_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGLColormapJBridge((const TQGLColormap&)*(const TQGLColormap*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLColormap_setEntries__I_3I(JNIEnv* env, jobject obj, jint count, jintArray colors) +{ + int* _int_colors = QtSupport::toIntPtr(env, colors); + ((TQGLColormap*) QtSupport::getQt(env, obj))->setEntries((int) count, (const TQRgb*) _int_colors); + env->SetIntArrayRegion(colors, 0, 1, (jint *) _int_colors); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLColormap_setEntries__I_3II(JNIEnv* env, jobject obj, jint count, jintArray colors, jint base) +{ + int* _int_colors = QtSupport::toIntPtr(env, colors); + ((TQGLColormap*) QtSupport::getQt(env, obj))->setEntries((int) count, (const TQRgb*) _int_colors, (int) base); + env->SetIntArrayRegion(colors, 0, 1, (jint *) _int_colors); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLColormap_setEntry__II(JNIEnv* env, jobject obj, jint idx, jint color) +{ + ((TQGLColormap*) QtSupport::getQt(env, obj))->setEntry((int) idx, (TQRgb) color); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLColormap_setEntry__ILorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jint idx, jobject color) +{ + ((TQGLColormap*) QtSupport::getQt(env, obj))->setEntry((int) idx, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, color)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QGLColormap_size(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQGLColormap*) QtSupport::getQt(env, obj))->size(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQGLColormap.h b/qtjava/javalib/qtjava/TQGLColormap.h new file mode 100644 index 00000000..8cb40a57 --- /dev/null +++ b/qtjava/javalib/qtjava/TQGLColormap.h @@ -0,0 +1,34 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QGLColormap__ +#define __org_kde_qt_QGLColormap__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLColormap_newTQGLColormap__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLColormap_newTQGLColormap__Lorg_kde_qt_QGLColormap_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLColormap_isEmpty (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGLColormap_size (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLColormap_detach (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLColormap_setEntries__I_3II (JNIEnv *env, jobject, jint, jintArray, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLColormap_setEntries__I_3I (JNIEnv *env, jobject, jint, jintArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLColormap_setEntry__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLColormap_setEntry__ILorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGLColormap_entryRgb (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLColormap_entryColor (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGLColormap_find (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGLColormap_findNearest (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLColormap_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLColormap_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLColormap_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QGLColormap__ */ diff --git a/qtjava/javalib/qtjava/TQGLContext.cpp b/qtjava/javalib/qtjava/TQGLContext.cpp new file mode 100644 index 00000000..d118df0e --- /dev/null +++ b/qtjava/javalib/qtjava/TQGLContext.cpp @@ -0,0 +1,289 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQGLContextJBridge : public TQGLContext +{ +public: + TQGLContextJBridge(const TQGLFormat& arg1,TQPaintDevice* arg2) : TQGLContext(arg1,arg2) {}; + TQGLContextJBridge(const TQGLFormat& arg1) : TQGLContext(arg1) {}; + void public_reset() { + TQGLContext::reset(); + return; + } + void public_makeCurrent() { + TQGLContext::makeCurrent(); + return; + } + void public_swapBuffers() { + TQGLContext::swapBuffers(); + return; + } + bool protected_chooseContext(const TQGLContext* arg1) { + return (bool) TQGLContext::chooseContext(arg1); + } + bool protected_chooseContext() { + return (bool) TQGLContext::chooseContext(); + } + void protected_doneCurrent() { + TQGLContext::doneCurrent(); + return; + } + bool protected_deviceIsPixmap() { + return (bool) TQGLContext::deviceIsPixmap(); + } + bool protected_windowCreated() { + return (bool) TQGLContext::windowCreated(); + } + void protected_setWindowCreated(bool arg1) { + TQGLContext::setWindowCreated(arg1); + return; + } + bool protected_initialized() { + return (bool) TQGLContext::initialized(); + } + void protected_setInitialized(bool arg1) { + TQGLContext::setInitialized(arg1); + return; + } + void protected_generateFontDisplayLists(const TQFont& arg1,int arg2) { + TQGLContext::generateFontDisplayLists(arg1,arg2); + return; + } + uint protected_colorIndex(const TQColor& arg1) { + return (uint) TQGLContext::colorIndex(arg1); + } + void protected_setValid(bool arg1) { + TQGLContext::setValid(arg1); + return; + } + void protected_setDevice(TQPaintDevice* arg1) { + TQGLContext::setDevice(arg1); + return; + } + ~TQGLContextJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGLContext_chooseContext__(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->protected_chooseContext(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGLContext_chooseContext__Lorg_kde_qt_QGLContext_2(JNIEnv* env, jobject obj, jobject shareContext) +{ + jboolean xret = (jboolean) ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->protected_chooseContext((const TQGLContext*) QtSupport::getQt(env, shareContext)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QGLContext_colorIndex(JNIEnv* env, jobject obj, jobject c) +{ + jint xret = (jint) ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->protected_colorIndex((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGLContext_create__(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQGLContext*) QtSupport::getQt(env, obj))->create(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGLContext_create__Lorg_kde_qt_QGLContext_2(JNIEnv* env, jobject obj, jobject shareContext) +{ + jboolean xret = (jboolean) ((TQGLContext*) QtSupport::getQt(env, obj))->create((const TQGLContext*) QtSupport::getQt(env, shareContext)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QGLContext_currentContext(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQGLContextJBridge::currentContext(), "org.kde.qt.TQGLContext"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGLContext_deviceIsPixmap(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->protected_deviceIsPixmap(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QGLContext_device(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQGLContext*) QtSupport::getQt(env, obj))->device(), "org.kde.qt.TQPaintDeviceInterface"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLContext_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QGLContext_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLContext_doneCurrent(JNIEnv* env, jobject obj) +{ + ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->protected_doneCurrent(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLContext_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQGLContext*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QGLContext_format(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQGLFormat(((TQGLContext*) QtSupport::getQt(env, obj))->format()), "org.kde.qt.TQGLFormat", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLContext_generateFontDisplayLists(JNIEnv* env, jobject obj, jobject fnt, jint listBase) +{ + ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->protected_generateFontDisplayLists((const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt), (int) listBase); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGLContext_initialized(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->protected_initialized(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGLContext_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGLContext_isSharing(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQGLContext*) QtSupport::getQt(env, obj))->isSharing(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGLContext_isValid(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQGLContext*) QtSupport::getQt(env, obj))->isValid(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLContext_makeCurrent(JNIEnv* env, jobject obj) +{ + ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->public_makeCurrent(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLContext_newTQGLContext__Lorg_kde_qt_QGLFormat_2(JNIEnv* env, jobject obj, jobject format) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGLContextJBridge((const TQGLFormat&)*(const TQGLFormat*) QtSupport::getQt(env, format))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLContext_newTQGLContext__Lorg_kde_qt_QGLFormat_2Lorg_kde_qt_QPaintDeviceInterface_2(JNIEnv* env, jobject obj, jobject format, jobject device) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGLContextJBridge((const TQGLFormat&)*(const TQGLFormat*) QtSupport::getQt(env, format), (TQPaintDevice*) QtSupport::paintDevice(env, device))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QGLContext_overlayTransparentColor(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TQGLContext*) QtSupport::getQt(env, obj))->overlayTransparentColor()), "org.kde.qt.TQColor", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QGLContext_requestedFormat(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQGLFormat(((TQGLContext*) QtSupport::getQt(env, obj))->requestedFormat()), "org.kde.qt.TQGLFormat", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLContext_reset(JNIEnv* env, jobject obj) +{ + ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->public_reset(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLContext_setDevice(JNIEnv* env, jobject obj, jobject pDev) +{ + ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->protected_setDevice((TQPaintDevice*) QtSupport::paintDevice(env, pDev)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLContext_setFormat(JNIEnv* env, jobject obj, jobject format) +{ + ((TQGLContext*) QtSupport::getQt(env, obj))->setFormat((const TQGLFormat&)*(const TQGLFormat*) QtSupport::getQt(env, format)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLContext_setInitialized(JNIEnv* env, jobject obj, jboolean on) +{ + ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->protected_setInitialized((bool) on); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLContext_setValid(JNIEnv* env, jobject obj, jboolean valid) +{ + ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->protected_setValid((bool) valid); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLContext_setWindowCreated(JNIEnv* env, jobject obj, jboolean on) +{ + ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->protected_setWindowCreated((bool) on); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLContext_swapBuffers(JNIEnv* env, jobject obj) +{ + ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->public_swapBuffers(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGLContext_windowCreated(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->protected_windowCreated(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQGLContext.h b/qtjava/javalib/qtjava/TQGLContext.h new file mode 100644 index 00000000..7923d775 --- /dev/null +++ b/qtjava/javalib/qtjava/TQGLContext.h @@ -0,0 +1,48 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QGLContext__ +#define __org_kde_qt_QGLContext__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_newTQGLContext__Lorg_kde_qt_QGLFormat_2Lorg_kde_qt_QPaintDeviceInterface_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_newTQGLContext__Lorg_kde_qt_QGLFormat_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLContext_create__Lorg_kde_qt_QGLContext_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLContext_create__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLContext_isValid (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLContext_isSharing (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_reset (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLContext_format (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLContext_requestedFormat (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_setFormat (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_makeCurrent (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_swapBuffers (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLContext_device (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLContext_overlayTransparentColor (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLContext_currentContext (JNIEnv *env, jclass); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLContext_chooseContext__Lorg_kde_qt_QGLContext_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLContext_chooseContext__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_doneCurrent (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLContext_deviceIsPixmap (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLContext_windowCreated (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_setWindowCreated (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLContext_initialized (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_setInitialized (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_generateFontDisplayLists (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGLContext_colorIndex (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_setValid (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_setDevice (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLContext_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QGLContext__ */ diff --git a/qtjava/javalib/qtjava/TQGLFormat.cpp b/qtjava/javalib/qtjava/TQGLFormat.cpp new file mode 100644 index 00000000..0eca2948 --- /dev/null +++ b/qtjava/javalib/qtjava/TQGLFormat.cpp @@ -0,0 +1,272 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + +class TQGLFormatJBridge : public TQGLFormat +{ +public: + TQGLFormatJBridge() : TQGLFormat() {}; + TQGLFormatJBridge(int arg1,int arg2) : TQGLFormat(arg1,arg2) {}; + TQGLFormatJBridge(int arg1) : TQGLFormat(arg1) {}; + ~TQGLFormatJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGLFormat_accum(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQGLFormat*) QtSupport::getQt(env, obj))->accum(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGLFormat_alpha(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQGLFormat*) QtSupport::getQt(env, obj))->alpha(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QGLFormat_defaultFormat(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQGLFormat(TQGLFormatJBridge::defaultFormat()), "org.kde.qt.TQGLFormat", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QGLFormat_defaultOverlayFormat(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQGLFormat(TQGLFormatJBridge::defaultOverlayFormat()), "org.kde.qt.TQGLFormat", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGLFormat_depth(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQGLFormat*) QtSupport::getQt(env, obj))->depth(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGLFormat_directRendering(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQGLFormat*) QtSupport::getQt(env, obj))->directRendering(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLFormat_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QGLFormat_finalize(env, obj); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGLFormat_doubleBuffer(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQGLFormat*) QtSupport::getQt(env, obj))->doubleBuffer(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLFormat_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQGLFormat*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGLFormat_hasOpenGLOverlays(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jboolean xret = (jboolean) TQGLFormatJBridge::hasOpenGLOverlays(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGLFormat_hasOpenGL(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jboolean xret = (jboolean) TQGLFormatJBridge::hasOpenGL(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGLFormat_hasOverlay(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQGLFormat*) QtSupport::getQt(env, obj))->hasOverlay(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGLFormat_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLFormat_newTQGLFormat__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGLFormatJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLFormat_newTQGLFormat__I(JNIEnv* env, jobject obj, jint options) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGLFormatJBridge((int) options)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLFormat_newTQGLFormat__II(JNIEnv* env, jobject obj, jint options, jint plane) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGLFormatJBridge((int) options, (int) plane)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QGLFormat_plane(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQGLFormat*) QtSupport::getQt(env, obj))->plane(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGLFormat_rgba(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQGLFormat*) QtSupport::getQt(env, obj))->rgba(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLFormat_setAccum(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TQGLFormat*) QtSupport::getQt(env, obj))->setAccum((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLFormat_setAlpha(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TQGLFormat*) QtSupport::getQt(env, obj))->setAlpha((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLFormat_setDefaultFormat(JNIEnv* env, jclass cls, jobject f) +{ + (void) cls; + TQGLFormatJBridge::setDefaultFormat((const TQGLFormat&)*(const TQGLFormat*) QtSupport::getQt(env, f)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLFormat_setDefaultOverlayFormat(JNIEnv* env, jclass cls, jobject f) +{ + (void) cls; + TQGLFormatJBridge::setDefaultOverlayFormat((const TQGLFormat&)*(const TQGLFormat*) QtSupport::getQt(env, f)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLFormat_setDepth(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TQGLFormat*) QtSupport::getQt(env, obj))->setDepth((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLFormat_setDirectRendering(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TQGLFormat*) QtSupport::getQt(env, obj))->setDirectRendering((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLFormat_setDoubleBuffer(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TQGLFormat*) QtSupport::getQt(env, obj))->setDoubleBuffer((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLFormat_setOption(JNIEnv* env, jobject obj, jint opt) +{ + ((TQGLFormat*) QtSupport::getQt(env, obj))->setOption((TQGL::FormatOption) opt); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLFormat_setOverlay(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TQGLFormat*) QtSupport::getQt(env, obj))->setOverlay((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLFormat_setPlane(JNIEnv* env, jobject obj, jint plane) +{ + ((TQGLFormat*) QtSupport::getQt(env, obj))->setPlane((int) plane); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLFormat_setRgba(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TQGLFormat*) QtSupport::getQt(env, obj))->setRgba((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLFormat_setStencil(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TQGLFormat*) QtSupport::getQt(env, obj))->setStencil((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLFormat_setStereo(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TQGLFormat*) QtSupport::getQt(env, obj))->setStereo((bool) enable); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGLFormat_stencil(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQGLFormat*) QtSupport::getQt(env, obj))->stencil(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGLFormat_stereo(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQGLFormat*) QtSupport::getQt(env, obj))->stereo(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGLFormat_testOption(JNIEnv* env, jobject obj, jint opt) +{ + jboolean xret = (jboolean) ((TQGLFormat*) QtSupport::getQt(env, obj))->testOption((TQGL::FormatOption) opt); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQGLFormat.h b/qtjava/javalib/qtjava/TQGLFormat.h new file mode 100644 index 00000000..f580d9a9 --- /dev/null +++ b/qtjava/javalib/qtjava/TQGLFormat.h @@ -0,0 +1,52 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QGLFormat__ +#define __org_kde_qt_QGLFormat__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_newTQGLFormat__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_newTQGLFormat__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_newTQGLFormat__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_doubleBuffer (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setDoubleBuffer (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_depth (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setDepth (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_rgba (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setRgba (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_alpha (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setAlpha (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_accum (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setAccum (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_stencil (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setStencil (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_stereo (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setStereo (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_directRendering (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setDirectRendering (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_hasOverlay (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setOverlay (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGLFormat_plane (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setPlane (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setOption (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_testOption (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLFormat_defaultFormat (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setDefaultFormat (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLFormat_defaultOverlayFormat (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setDefaultOverlayFormat (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_hasOpenGL (JNIEnv *env, jclass); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_hasOpenGLOverlays (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QGLFormat__ */ diff --git a/qtjava/javalib/qtjava/TQGLWidget.cpp b/qtjava/javalib/qtjava/TQGLWidget.cpp new file mode 100644 index 00000000..12662bbf --- /dev/null +++ b/qtjava/javalib/qtjava/TQGLWidget.cpp @@ -0,0 +1,1070 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQGLWidgetJBridge : public TQGLWidget +{ +public: + TQGLWidgetJBridge(TQWidget* arg1,const char* arg2,const TQGLWidget* arg3,TQt::WFlags arg4) : TQGLWidget(arg1,arg2,arg3,arg4) {}; + TQGLWidgetJBridge(TQWidget* arg1,const char* arg2,const TQGLWidget* arg3) : TQGLWidget(arg1,arg2,arg3) {}; + TQGLWidgetJBridge(TQWidget* arg1,const char* arg2) : TQGLWidget(arg1,arg2) {}; + TQGLWidgetJBridge(TQWidget* arg1) : TQGLWidget(arg1) {}; + TQGLWidgetJBridge() : TQGLWidget() {}; + TQGLWidgetJBridge(TQGLContext* arg1,TQWidget* arg2,const char* arg3,const TQGLWidget* arg4,TQt::WFlags arg5) : TQGLWidget(arg1,arg2,arg3,arg4,arg5) {}; + TQGLWidgetJBridge(TQGLContext* arg1,TQWidget* arg2,const char* arg3,const TQGLWidget* arg4) : TQGLWidget(arg1,arg2,arg3,arg4) {}; + TQGLWidgetJBridge(TQGLContext* arg1,TQWidget* arg2,const char* arg3) : TQGLWidget(arg1,arg2,arg3) {}; + TQGLWidgetJBridge(TQGLContext* arg1,TQWidget* arg2) : TQGLWidget(arg1,arg2) {}; + TQGLWidgetJBridge(const TQGLFormat& arg1,TQWidget* arg2,const char* arg3,const TQGLWidget* arg4,TQt::WFlags arg5) : TQGLWidget(arg1,arg2,arg3,arg4,arg5) {}; + TQGLWidgetJBridge(const TQGLFormat& arg1,TQWidget* arg2,const char* arg3,const TQGLWidget* arg4) : TQGLWidget(arg1,arg2,arg3,arg4) {}; + TQGLWidgetJBridge(const TQGLFormat& arg1,TQWidget* arg2,const char* arg3) : TQGLWidget(arg1,arg2,arg3) {}; + TQGLWidgetJBridge(const TQGLFormat& arg1,TQWidget* arg2) : TQGLWidget(arg1,arg2) {}; + TQGLWidgetJBridge(const TQGLFormat& arg1) : TQGLWidget(arg1) {}; + void public_makeCurrent() { + TQGLWidget::makeCurrent(); + return; + } + void public_swapBuffers() { + TQGLWidget::swapBuffers(); + return; + } + void public_makeOverlayCurrent() { + TQGLWidget::makeOverlayCurrent(); + return; + } + void public_updateGL() { + TQGLWidget::updateGL(); + return; + } + void public_updateOverlayGL() { + TQGLWidget::updateOverlayGL(); + return; + } + void protected_initializeGL() { + TQGLWidget::initializeGL(); + return; + } + void protected_resizeGL(int arg1,int arg2) { + TQGLWidget::resizeGL(arg1,arg2); + return; + } + void protected_paintGL() { + TQGLWidget::paintGL(); + return; + } + void protected_initializeOverlayGL() { + TQGLWidget::initializeOverlayGL(); + return; + } + void protected_resizeOverlayGL(int arg1,int arg2) { + TQGLWidget::resizeOverlayGL(arg1,arg2); + return; + } + void protected_paintOverlayGL() { + TQGLWidget::paintOverlayGL(); + return; + } + void protected_setAutoBufferSwap(bool arg1) { + TQGLWidget::setAutoBufferSwap(arg1); + return; + } + bool protected_autoBufferSwap() { + return (bool) TQGLWidget::autoBufferSwap(); + } + void protected_paintEvent(TQPaintEvent* arg1) { + TQGLWidget::paintEvent(arg1); + return; + } + void protected_resizeEvent(TQResizeEvent* arg1) { + TQGLWidget::resizeEvent(arg1); + return; + } + void protected_glInit() { + TQGLWidget::glInit(); + return; + } + void protected_glDraw() { + TQGLWidget::glDraw(); + return; + } + ~TQGLWidgetJBridge() {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")) { + TQGLWidget::resizeEvent(arg1); + } + return; + } + void setFormat(const TQGLFormat& arg1) { + if (!QtSupport::eventDelegate(this,"setFormat",(void*)&arg1,"org.kde.qt.TQGLFormat")) { + TQGLWidget::setFormat(arg1); + } + return; + } + void glDraw() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","glDraw")) { + TQGLWidget::glDraw(); + } + 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.qt.TQGLWidget","setActiveWindow")) { + TQWidget::setActiveWindow(); + } + return; + } + void updateGL() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","updateGL")) { + TQGLWidget::updateGL(); + } + 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.qt.TQGLWidget","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.qt.TQGLWidget","setFocus")) { + TQWidget::setFocus(); + } + return; + } + void dragMoveEvent(TQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { + TQWidget::dragMoveEvent(arg1); + } + return; + } + void initializeGL() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","initializeGL")) { + TQGLWidget::initializeGL(); + } + return; + } + void paintOverlayGL() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","paintOverlayGL")) { + TQGLWidget::paintOverlayGL(); + } + 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.qt.TQGLWidget","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")) { + TQGLWidget::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.qt.TQGLWidget","unsetCursor")) { + TQWidget::unsetCursor(); + } + return; + } + void makeOverlayCurrent() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","makeOverlayCurrent")) { + TQGLWidget::makeOverlayCurrent(); + } + return; + } + void hideEvent(TQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { + TQWidget::hideEvent(arg1); + } + return; + } + void moveEvent(TQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { + TQWidget::moveEvent(arg1); + } + return; + } + void polish() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","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 swapBuffers() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","swapBuffers")) { + TQGLWidget::swapBuffers(); + } + return; + } + void setPaletteBackgroundPixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setPaletteBackgroundPixmap(arg1); + } + return; + } + void glInit() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","glInit")) { + TQGLWidget::glInit(); + } + 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 initializeOverlayGL() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","initializeOverlayGL")) { + TQGLWidget::initializeOverlayGL(); + } + return; + } + void customEvent(TQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { + TQObject::customEvent(arg1); + } + return; + } + void makeCurrent() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","makeCurrent")) { + TQGLWidget::makeCurrent(); + } + 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.qt.TQGLWidget","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","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 updateOverlayGL() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","updateOverlayGL")) { + TQGLWidget::updateOverlayGL(); + } + 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.qt.TQGLWidget","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 paintGL() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","paintGL")) { + TQGLWidget::paintGL(); + } + 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.qt.TQGLWidget",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.qt.TQGLWidget","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGLWidget_autoBufferSwap(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_autoBufferSwap(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QGLWidget_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQGLWidget*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QGLWidget_colormap(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQGLColormap *) &((TQGLWidget*) QtSupport::getQt(env, obj))->colormap(), "org.kde.qt.TQGLColormap"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QGLWidget_context(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQGLWidget*) QtSupport::getQt(env, obj))->context(), "org.kde.qt.TQGLContext"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QGLWidget_convertToGLFormat(JNIEnv* env, jclass cls, jobject img) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(TQGLWidgetJBridge::convertToGLFormat((const TQImage&)*(const TQImage*) QtSupport::getQt(env, img))), "org.kde.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QGLWidget_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_doneCurrent(JNIEnv* env, jobject obj) +{ + ((TQGLWidget*) QtSupport::getQt(env, obj))->doneCurrent(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGLWidget_doubleBuffer(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQGLWidget*) QtSupport::getQt(env, obj))->doubleBuffer(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQGLWidget*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQGLWidget*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QGLWidget_format(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQGLFormat(((TQGLWidget*) QtSupport::getQt(env, obj))->format()), "org.kde.qt.TQGLFormat", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_glDraw(JNIEnv* env, jobject obj) +{ + ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_glDraw(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_glInit(JNIEnv* env, jobject obj) +{ + ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_glInit(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QGLWidget_grabFrameBuffer__(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQGLWidget*) QtSupport::getQt(env, obj))->grabFrameBuffer()), "org.kde.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QGLWidget_grabFrameBuffer__Z(JNIEnv* env, jobject obj, jboolean withAlpha) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQGLWidget*) QtSupport::getQt(env, obj))->grabFrameBuffer((bool) withAlpha)), "org.kde.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_initializeGL(JNIEnv* env, jobject obj) +{ + ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_initializeGL(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_initializeOverlayGL(JNIEnv* env, jobject obj) +{ + ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_initializeOverlayGL(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGLWidget_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGLWidget_isSharing(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQGLWidget*) QtSupport::getQt(env, obj))->isSharing(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGLWidget_isValid(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQGLWidget*) QtSupport::getQt(env, obj))->isValid(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_makeCurrent(JNIEnv* env, jobject obj) +{ + ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->public_makeCurrent(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_makeOverlayCurrent(JNIEnv* env, jobject obj) +{ + ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->public_makeOverlayCurrent(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QGLWidget_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQGLWidget*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_newTQGLWidget__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGLWidgetJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QGLContext_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject context, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGLWidgetJBridge((TQGLContext*) QtSupport::getQt(env, context), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QGLContext_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject context, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGLWidgetJBridge((TQGLContext*) QtSupport::getQt(env, context), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QGLContext_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QGLWidget_2(JNIEnv* env, jobject obj, jobject context, jobject parent, jstring name, jobject shareWidget) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGLWidgetJBridge((TQGLContext*) QtSupport::getQt(env, context), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQGLWidget*) QtSupport::getQt(env, shareWidget))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QGLContext_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QGLWidget_2I(JNIEnv* env, jobject obj, jobject context, jobject parent, jstring name, jobject shareWidget, jint f) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGLWidgetJBridge((TQGLContext*) QtSupport::getQt(env, context), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQGLWidget*) QtSupport::getQt(env, shareWidget), (TQt::WFlags) f)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QGLFormat_2(JNIEnv* env, jobject obj, jobject format) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGLWidgetJBridge((const TQGLFormat&)*(const TQGLFormat*) QtSupport::getQt(env, format))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QGLFormat_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject format, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGLWidgetJBridge((const TQGLFormat&)*(const TQGLFormat*) QtSupport::getQt(env, format), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QGLFormat_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject format, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGLWidgetJBridge((const TQGLFormat&)*(const TQGLFormat*) QtSupport::getQt(env, format), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QGLFormat_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QGLWidget_2(JNIEnv* env, jobject obj, jobject format, jobject parent, jstring name, jobject shareWidget) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGLWidgetJBridge((const TQGLFormat&)*(const TQGLFormat*) QtSupport::getQt(env, format), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQGLWidget*) QtSupport::getQt(env, shareWidget))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QGLFormat_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QGLWidget_2I(JNIEnv* env, jobject obj, jobject format, jobject parent, jstring name, jobject shareWidget, jint f) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGLWidgetJBridge((const TQGLFormat&)*(const TQGLFormat*) QtSupport::getQt(env, format), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQGLWidget*) QtSupport::getQt(env, shareWidget), (TQt::WFlags) f)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGLWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_newTQGLWidget__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 TQGLWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QGLWidget_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jobject shareWidget) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGLWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQGLWidget*) QtSupport::getQt(env, shareWidget))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QGLWidget_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jobject shareWidget, jint f) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGLWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQGLWidget*) QtSupport::getQt(env, shareWidget), (TQt::WFlags) f)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QGLWidget_overlayContext(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQGLWidget*) QtSupport::getQt(env, obj))->overlayContext(), "org.kde.qt.TQGLContext"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_paintEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_paintGL(JNIEnv* env, jobject obj) +{ + ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_paintGL(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_paintOverlayGL(JNIEnv* env, jobject obj) +{ + ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_paintOverlayGL(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_qglClearColor(JNIEnv* env, jobject obj, jobject c) +{ + ((TQGLWidget*) QtSupport::getQt(env, obj))->qglClearColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_qglColor(JNIEnv* env, jobject obj, jobject c) +{ + ((TQGLWidget*) QtSupport::getQt(env, obj))->qglColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QGLWidget_renderPixmap__(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQGLWidget*) QtSupport::getQt(env, obj))->renderPixmap()), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QGLWidget_renderPixmap__I(JNIEnv* env, jobject obj, jint w) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQGLWidget*) QtSupport::getQt(env, obj))->renderPixmap((int) w)), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QGLWidget_renderPixmap__II(JNIEnv* env, jobject obj, jint w, jint h) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQGLWidget*) QtSupport::getQt(env, obj))->renderPixmap((int) w, (int) h)), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QGLWidget_renderPixmap__IIZ(JNIEnv* env, jobject obj, jint w, jint h, jboolean useContext) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQGLWidget*) QtSupport::getQt(env, obj))->renderPixmap((int) w, (int) h, (bool) useContext)), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_renderText__DDDLjava_lang_String_2(JNIEnv* env, jobject obj, jdouble x, jdouble y, jdouble z, jstring str) +{ +static TQString* _qstring_str = 0; + ((TQGLWidget*) QtSupport::getQt(env, obj))->renderText((double) x, (double) y, (double) z, (const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_renderText__DDDLjava_lang_String_2Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jdouble x, jdouble y, jdouble z, jstring str, jobject fnt) +{ +static TQString* _qstring_str = 0; + ((TQGLWidget*) QtSupport::getQt(env, obj))->renderText((double) x, (double) y, (double) z, (const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_renderText__DDDLjava_lang_String_2Lorg_kde_qt_QFont_2I(JNIEnv* env, jobject obj, jdouble x, jdouble y, jdouble z, jstring str, jobject fnt, jint listBase) +{ +static TQString* _qstring_str = 0; + ((TQGLWidget*) QtSupport::getQt(env, obj))->renderText((double) x, (double) y, (double) z, (const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt), (int) listBase); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_renderText__IILjava_lang_String_2(JNIEnv* env, jobject obj, jint x, jint y, jstring str) +{ +static TQString* _qstring_str = 0; + ((TQGLWidget*) QtSupport::getQt(env, obj))->renderText((int) x, (int) y, (const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_renderText__IILjava_lang_String_2Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jint x, jint y, jstring str, jobject fnt) +{ +static TQString* _qstring_str = 0; + ((TQGLWidget*) QtSupport::getQt(env, obj))->renderText((int) x, (int) y, (const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_renderText__IILjava_lang_String_2Lorg_kde_qt_QFont_2I(JNIEnv* env, jobject obj, jint x, jint y, jstring str, jobject fnt, jint listBase) +{ +static TQString* _qstring_str = 0; + ((TQGLWidget*) QtSupport::getQt(env, obj))->renderText((int) x, (int) y, (const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt), (int) listBase); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_reparent__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject parent, jint f, jobject p) +{ + ((TQGLWidget*) QtSupport::getQt(env, obj))->reparent((TQWidget*) QtSupport::getQt(env, parent), (TQt::WFlags) f, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_reparent__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QPoint_2Z(JNIEnv* env, jobject obj, jobject parent, jint f, jobject p, jboolean showIt) +{ + ((TQGLWidget*) QtSupport::getQt(env, obj))->reparent((TQWidget*) QtSupport::getQt(env, parent), (TQt::WFlags) f, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p), (bool) showIt); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_resizeGL(JNIEnv* env, jobject obj, jint w, jint h) +{ + ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_resizeGL((int) w, (int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_resizeOverlayGL(JNIEnv* env, jobject obj, jint w, jint h) +{ + ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_resizeOverlayGL((int) w, (int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_setAutoBufferSwap(JNIEnv* env, jobject obj, jboolean on) +{ + ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setAutoBufferSwap((bool) on); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_setColormap(JNIEnv* env, jobject obj, jobject map) +{ + ((TQGLWidget*) QtSupport::getQt(env, obj))->setColormap((const TQGLColormap&)*(const TQGLColormap*) QtSupport::getQt(env, map)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_setContext__Lorg_kde_qt_QGLContext_2(JNIEnv* env, jobject obj, jobject context) +{ + ((TQGLWidget*) QtSupport::getQt(env, obj))->setContext((TQGLContext*) QtSupport::getQt(env, context)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_setContext__Lorg_kde_qt_QGLContext_2Lorg_kde_qt_QGLContext_2(JNIEnv* env, jobject obj, jobject context, jobject shareContext) +{ + ((TQGLWidget*) QtSupport::getQt(env, obj))->setContext((TQGLContext*) QtSupport::getQt(env, context), (const TQGLContext*) QtSupport::getQt(env, shareContext)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_setContext__Lorg_kde_qt_QGLContext_2Lorg_kde_qt_QGLContext_2Z(JNIEnv* env, jobject obj, jobject context, jobject shareContext, jboolean deleteOldContext) +{ + ((TQGLWidget*) QtSupport::getQt(env, obj))->setContext((TQGLContext*) QtSupport::getQt(env, context), (const TQGLContext*) QtSupport::getQt(env, shareContext), (bool) deleteOldContext); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_setFormat(JNIEnv* env, jobject obj, jobject format) +{ + ((TQGLWidget*) QtSupport::getQt(env, obj))->setFormat((const TQGLFormat&)*(const TQGLFormat*) QtSupport::getQt(env, format)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_setMouseTracking(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TQGLWidget*) QtSupport::getQt(env, obj))->setMouseTracking((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_swapBuffers(JNIEnv* env, jobject obj) +{ + ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->public_swapBuffers(); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QGLWidget_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQGLWidgetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QGLWidget_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQGLWidgetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_updateGL(JNIEnv* env, jobject obj) +{ + ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->public_updateGL(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGLWidget_updateOverlayGL(JNIEnv* env, jobject obj) +{ + ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->public_updateOverlayGL(); + return; +} + diff --git a/qtjava/javalib/qtjava/TQGLWidget.h b/qtjava/javalib/qtjava/TQGLWidget.h new file mode 100644 index 00000000..76f5f2e3 --- /dev/null +++ b/qtjava/javalib/qtjava/TQGLWidget.h @@ -0,0 +1,87 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QGLWidget__ +#define __org_kde_qt_QGLWidget__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLWidget_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGLWidget_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QGLWidget_2I (JNIEnv *env, jobject, jobject, jstring, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QGLWidget_2 (JNIEnv *env, jobject, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_newTQGLWidget__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QGLContext_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QGLWidget_2I (JNIEnv *env, jobject, jobject, jobject, jstring, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QGLContext_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QGLWidget_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QGLContext_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QGLContext_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QGLFormat_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QGLWidget_2I (JNIEnv *env, jobject, jobject, jobject, jstring, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QGLFormat_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QGLWidget_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QGLFormat_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QGLFormat_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_newTQGLWidget__Lorg_kde_qt_QGLFormat_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_qglColor (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_qglClearColor (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLWidget_isValid (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLWidget_isSharing (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_makeCurrent (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_doneCurrent (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLWidget_doubleBuffer (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_swapBuffers (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLWidget_format (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_setFormat (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLWidget_context (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_setContext__Lorg_kde_qt_QGLContext_2Lorg_kde_qt_QGLContext_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_setContext__Lorg_kde_qt_QGLContext_2Lorg_kde_qt_QGLContext_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_setContext__Lorg_kde_qt_QGLContext_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLWidget_renderPixmap__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLWidget_renderPixmap__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLWidget_renderPixmap__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLWidget_renderPixmap__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLWidget_grabFrameBuffer__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLWidget_grabFrameBuffer__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_makeOverlayCurrent (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLWidget_overlayContext (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_setMouseTracking (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_reparent__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QPoint_2Z (JNIEnv *env, jobject, jobject, jint, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_reparent__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject, jint, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLWidget_colormap (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_setColormap (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_renderText__IILjava_lang_String_2Lorg_kde_qt_QFont_2I (JNIEnv *env, jobject, jint, jint, jstring, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_renderText__IILjava_lang_String_2Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jint, jint, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_renderText__IILjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_renderText__DDDLjava_lang_String_2Lorg_kde_qt_QFont_2I (JNIEnv *env, jobject, jdouble, jdouble, jdouble, jstring, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_renderText__DDDLjava_lang_String_2Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jdouble, jdouble, jdouble, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_renderText__DDDLjava_lang_String_2 (JNIEnv *env, jobject, jdouble, jdouble, jdouble, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_updateGL (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_updateOverlayGL (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGLWidget_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGLWidget_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLWidget_convertToGLFormat (JNIEnv *env, jclass, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_initializeGL (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_resizeGL (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_paintGL (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_initializeOverlayGL (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_resizeOverlayGL (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_paintOverlayGL (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_setAutoBufferSwap (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLWidget_autoBufferSwap (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_paintEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_glInit (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_glDraw (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLWidget_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QGLWidget__ */ diff --git a/qtjava/javalib/qtjava/TQGb18030Codec.cpp b/qtjava/javalib/qtjava/TQGb18030Codec.cpp new file mode 100644 index 00000000..1f2330cf --- /dev/null +++ b/qtjava/javalib/qtjava/TQGb18030Codec.cpp @@ -0,0 +1,106 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQGb18030CodecJBridge : public TQGb18030Codec +{ +public: + TQGb18030CodecJBridge() : TQGb18030Codec() {}; + ~TQGb18030CodecJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGb18030Codec_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QGb18030Codec_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGb18030Codec_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQGb18030Codec*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QGb18030Codec_fromUnicode(JNIEnv* env, jobject obj, jstring uc, jintArray lenInOut) +{ + TQCString _qstring; +static TQString* _qstring_uc = 0; + int* _int_lenInOut = QtSupport::toIntPtr(env, lenInOut); + _qstring = ((TQGb18030Codec*) QtSupport::getQt(env, obj))->fromUnicode((const TQString&)*(TQString*) QtSupport::toTQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); + env->SetIntArrayRegion(lenInOut, 0, 1, (jint *) _int_lenInOut); + return QtSupport::fromTQCString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QGb18030Codec_heuristicContentMatch(JNIEnv* env, jobject obj, jstring chars, jint len) +{ +static TQCString* _qstring_chars = 0; + jint xret = (jint) ((TQGb18030Codec*) QtSupport::getQt(env, obj))->heuristicContentMatch((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QGb18030Codec_heuristicNameMatch(JNIEnv* env, jobject obj, jstring hint) +{ +static TQCString* _qstring_hint = 0; + jint xret = (jint) ((TQGb18030Codec*) QtSupport::getQt(env, obj))->heuristicNameMatch((const char*) QtSupport::toCharString(env, hint, &_qstring_hint)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGb18030Codec_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QGb18030Codec_makeDecoder(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQGb18030Codec*) QtSupport::getQt(env, obj))->makeDecoder(), "org.kde.qt.TQTextDecoder"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QGb18030Codec_mibEnum(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQGb18030Codec*) QtSupport::getQt(env, obj))->mibEnum(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QGb18030Codec_name(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQGb18030Codec*) QtSupport::getQt(env, obj))->name(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGb18030Codec_newTQGb18030Codec(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGb18030CodecJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QGb18030Codec_toUnicode(JNIEnv* env, jobject obj, jstring chars, jint len) +{ + TQString _qstring; +static TQCString* _qstring_chars = 0; + _qstring = ((TQGb18030Codec*) QtSupport::getQt(env, obj))->toUnicode((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQGb18030Codec.h b/qtjava/javalib/qtjava/TQGb18030Codec.h new file mode 100644 index 00000000..acda2716 --- /dev/null +++ b/qtjava/javalib/qtjava/TQGb18030Codec.h @@ -0,0 +1,29 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QGb18030Codec__ +#define __org_kde_qt_QGb18030Codec__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGb18030Codec_newTQGb18030Codec (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGb18030Codec_mibEnum (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGb18030Codec_name (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGb18030Codec_makeDecoder (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGb18030Codec_fromUnicode (JNIEnv *env, jobject, jstring, jintArray); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGb18030Codec_toUnicode (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGb18030Codec_heuristicContentMatch (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGb18030Codec_heuristicNameMatch (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGb18030Codec_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGb18030Codec_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGb18030Codec_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QGb18030Codec__ */ diff --git a/qtjava/javalib/qtjava/TQGrid.cpp b/qtjava/javalib/qtjava/TQGrid.cpp new file mode 100644 index 00000000..3dd728d4 --- /dev/null +++ b/qtjava/javalib/qtjava/TQGrid.cpp @@ -0,0 +1,549 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +class TQGridJBridge : public TQGrid +{ +public: + TQGridJBridge(int arg1,TQWidget* arg2,const char* arg3,TQt::WFlags arg4) : TQGrid(arg1,arg2,arg3,arg4) {}; + TQGridJBridge(int arg1,TQWidget* arg2,const char* arg3) : TQGrid(arg1,arg2,arg3) {}; + TQGridJBridge(int arg1,TQWidget* arg2) : TQGrid(arg1,arg2) {}; + TQGridJBridge(int arg1) : TQGrid(arg1) {}; + TQGridJBridge(int arg1,TQt::Orientation arg2,TQWidget* arg3,const char* arg4,TQt::WFlags arg5) : TQGrid(arg1,arg2,arg3,arg4,arg5) {}; + TQGridJBridge(int arg1,TQt::Orientation arg2,TQWidget* arg3,const char* arg4) : TQGrid(arg1,arg2,arg3,arg4) {}; + TQGridJBridge(int arg1,TQt::Orientation arg2,TQWidget* arg3) : TQGrid(arg1,arg2,arg3) {}; + TQGridJBridge(int arg1,TQt::Orientation arg2) : TQGrid(arg1,arg2) {}; + void protected_frameChanged() { + TQGrid::frameChanged(); + return; + } + ~TQGridJBridge() {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.qt.TQGrid","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.qt.TQGrid","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.qt.TQGrid","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.qt.TQGrid","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.qt.TQGrid","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.qt.TQGrid","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGrid","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.qt.TQGrid","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGrid","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.qt.TQGrid","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.qt.TQGrid",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.qt.TQGrid","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QGrid_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQGrid*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGrid_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QGrid_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGrid_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQGrid*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQGrid*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGrid_frameChanged(JNIEnv* env, jobject obj) +{ + ((TQGridJBridge*) QtSupport::getQt(env, obj))->protected_frameChanged(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGrid_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QGrid_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQGrid*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGrid_newTQGrid__I(JNIEnv* env, jobject obj, jint n) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGridJBridge((int) n)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGrid_newTQGrid__II(JNIEnv* env, jobject obj, jint n, jint orient) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGridJBridge((int) n, (TQt::Orientation) orient)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGrid_newTQGrid__IILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint n, jint orient, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGridJBridge((int) n, (TQt::Orientation) orient, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGrid_newTQGrid__IILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint n, jint orient, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGridJBridge((int) n, (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_qt_QGrid_newTQGrid__IILorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jint n, jint orient, jobject parent, jstring name, jint f) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGridJBridge((int) n, (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_qt_QGrid_newTQGrid__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint n, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGridJBridge((int) n, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGrid_newTQGrid__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint n, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGridJBridge((int) n, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGrid_newTQGrid__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jint n, jobject parent, jstring name, jint f) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGridJBridge((int) n, (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_qt_QGrid_setSpacing(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQGrid*) QtSupport::getQt(env, obj))->setSpacing((int) arg1); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QGrid_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQGrid*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QGrid_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQGridJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QGrid_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQGridJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQGrid.h b/qtjava/javalib/qtjava/TQGrid.h new file mode 100644 index 00000000..949fb9fe --- /dev/null +++ b/qtjava/javalib/qtjava/TQGrid.h @@ -0,0 +1,36 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QGrid__ +#define __org_kde_qt_QGrid__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGrid_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGrid_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGrid_newTQGrid__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jint, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGrid_newTQGrid__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGrid_newTQGrid__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGrid_newTQGrid__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGrid_newTQGrid__IILorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jint, jint, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGrid_newTQGrid__IILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGrid_newTQGrid__IILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGrid_newTQGrid__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGrid_setSpacing (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGrid_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGrid_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGrid_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGrid_frameChanged (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGrid_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGrid_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGrid_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QGrid__ */ diff --git a/qtjava/javalib/qtjava/TQGridLayout.cpp b/qtjava/javalib/qtjava/TQGridLayout.cpp new file mode 100644 index 00000000..74a6d7b3 --- /dev/null +++ b/qtjava/javalib/qtjava/TQGridLayout.cpp @@ -0,0 +1,567 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include + +#include +#include + +class TQGridLayoutJBridge : public TQGridLayout +{ +public: + TQGridLayoutJBridge(TQWidget* arg1,int arg2,int arg3,int arg4,int arg5,const char* arg6) : TQGridLayout(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TQGridLayoutJBridge(TQWidget* arg1,int arg2,int arg3,int arg4,int arg5) : TQGridLayout(arg1,arg2,arg3,arg4,arg5) {}; + TQGridLayoutJBridge(TQWidget* arg1,int arg2,int arg3,int arg4) : TQGridLayout(arg1,arg2,arg3,arg4) {}; + TQGridLayoutJBridge(TQWidget* arg1,int arg2,int arg3) : TQGridLayout(arg1,arg2,arg3) {}; + TQGridLayoutJBridge(TQWidget* arg1,int arg2) : TQGridLayout(arg1,arg2) {}; + TQGridLayoutJBridge(TQWidget* arg1) : TQGridLayout(arg1) {}; + TQGridLayoutJBridge(int arg1,int arg2,int arg3,const char* arg4) : TQGridLayout(arg1,arg2,arg3,arg4) {}; + TQGridLayoutJBridge(int arg1,int arg2,int arg3) : TQGridLayout(arg1,arg2,arg3) {}; + TQGridLayoutJBridge(int arg1,int arg2) : TQGridLayout(arg1,arg2) {}; + TQGridLayoutJBridge(int arg1) : TQGridLayout(arg1) {}; + TQGridLayoutJBridge() : TQGridLayout() {}; + TQGridLayoutJBridge(TQLayout* arg1,int arg2,int arg3,int arg4,const char* arg5) : TQGridLayout(arg1,arg2,arg3,arg4,arg5) {}; + TQGridLayoutJBridge(TQLayout* arg1,int arg2,int arg3,int arg4) : TQGridLayout(arg1,arg2,arg3,arg4) {}; + TQGridLayoutJBridge(TQLayout* arg1,int arg2,int arg3) : TQGridLayout(arg1,arg2,arg3) {}; + TQGridLayoutJBridge(TQLayout* arg1,int arg2) : TQGridLayout(arg1,arg2) {}; + TQGridLayoutJBridge(TQLayout* arg1) : TQGridLayout(arg1) {}; + bool protected_findWidget(TQWidget* arg1,int* arg2,int* arg3) { + return (bool) TQGridLayout::findWidget(arg1,arg2,arg3); + } + void protected_add(TQLayoutItem* arg1,int arg2,int arg3) { + TQGridLayout::add(arg1,arg2,arg3); + return; + } + ~TQGridLayoutJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::removeChild(arg1); + } + return; + } + void setMenuBar(TQMenuBar* arg1) { + if (!QtSupport::eventDelegate(this,"setMenuBar",(void*)arg1,"org.kde.qt.TQMenuBar")) { + TQLayout::setMenuBar(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")) { + TQLayout::childEvent(arg1); + } + return; + } + void insertChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::insertChild(arg1); + } + return; + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_addColSpacing(JNIEnv* env, jobject obj, jint col, jint minsize) +{ + ((TQGridLayout*) QtSupport::getQt(env, obj))->addColSpacing((int) col, (int) minsize); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_addItem__Lorg_kde_qt_QLayoutItemInterface_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQGridLayout*) QtSupport::getQt(env, obj))->addItem((TQLayoutItem*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_addItem__Lorg_kde_qt_QLayoutItemInterface_2II(JNIEnv* env, jobject obj, jobject item, jint row, jint col) +{ + ((TQGridLayout*) QtSupport::getQt(env, obj))->addItem((TQLayoutItem*) QtSupport::getQt(env, item), (int) row, (int) col); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_addLayout(JNIEnv* env, jobject obj, jobject layout, jint row, jint col) +{ + ((TQGridLayout*) QtSupport::getQt(env, obj))->addLayout((TQLayout*) QtSupport::getQt(env, layout), (int) row, (int) col); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_addMultiCellLayout__Lorg_kde_qt_QLayout_2IIII(JNIEnv* env, jobject obj, jobject layout, jint fromRow, jint toRow, jint fromCol, jint toCol) +{ + ((TQGridLayout*) QtSupport::getQt(env, obj))->addMultiCellLayout((TQLayout*) QtSupport::getQt(env, layout), (int) fromRow, (int) toRow, (int) fromCol, (int) toCol); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_addMultiCellLayout__Lorg_kde_qt_QLayout_2IIIII(JNIEnv* env, jobject obj, jobject layout, jint fromRow, jint toRow, jint fromCol, jint toCol, jint align) +{ + ((TQGridLayout*) QtSupport::getQt(env, obj))->addMultiCellLayout((TQLayout*) QtSupport::getQt(env, layout), (int) fromRow, (int) toRow, (int) fromCol, (int) toCol, (int) align); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_addMultiCellWidget__Lorg_kde_qt_QWidget_2IIII(JNIEnv* env, jobject obj, jobject arg1, jint fromRow, jint toRow, jint fromCol, jint toCol) +{ + ((TQGridLayout*) QtSupport::getQt(env, obj))->addMultiCellWidget((TQWidget*) QtSupport::getQt(env, arg1), (int) fromRow, (int) toRow, (int) fromCol, (int) toCol); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_addMultiCellWidget__Lorg_kde_qt_QWidget_2IIIII(JNIEnv* env, jobject obj, jobject arg1, jint fromRow, jint toRow, jint fromCol, jint toCol, jint align) +{ + ((TQGridLayout*) QtSupport::getQt(env, obj))->addMultiCellWidget((TQWidget*) QtSupport::getQt(env, arg1), (int) fromRow, (int) toRow, (int) fromCol, (int) toCol, (int) align); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_addMultiCell__Lorg_kde_qt_QLayoutItemInterface_2IIII(JNIEnv* env, jobject obj, jobject arg1, jint fromRow, jint toRow, jint fromCol, jint toCol) +{ + ((TQGridLayout*) QtSupport::getQt(env, obj))->addMultiCell((TQLayoutItem*) QtSupport::getQt(env, arg1), (int) fromRow, (int) toRow, (int) fromCol, (int) toCol); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_addMultiCell__Lorg_kde_qt_QLayoutItemInterface_2IIIII(JNIEnv* env, jobject obj, jobject arg1, jint fromRow, jint toRow, jint fromCol, jint toCol, jint align) +{ + ((TQGridLayout*) QtSupport::getQt(env, obj))->addMultiCell((TQLayoutItem*) QtSupport::getQt(env, arg1), (int) fromRow, (int) toRow, (int) fromCol, (int) toCol, (int) align); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_addRowSpacing(JNIEnv* env, jobject obj, jint row, jint minsize) +{ + ((TQGridLayout*) QtSupport::getQt(env, obj))->addRowSpacing((int) row, (int) minsize); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_addWidget__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject arg1, jint row, jint col) +{ + ((TQGridLayout*) QtSupport::getQt(env, obj))->addWidget((TQWidget*) QtSupport::getQt(env, arg1), (int) row, (int) col); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_addWidget__Lorg_kde_qt_QWidget_2III(JNIEnv* env, jobject obj, jobject arg1, jint row, jint col, jint align) +{ + ((TQGridLayout*) QtSupport::getQt(env, obj))->addWidget((TQWidget*) QtSupport::getQt(env, arg1), (int) row, (int) col, (int) align); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_add(JNIEnv* env, jobject obj, jobject arg1, jint row, jint col) +{ + ((TQGridLayoutJBridge*) QtSupport::getQt(env, obj))->protected_add((TQLayoutItem*) QtSupport::getQt(env, arg1), (int) row, (int) col); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QGridLayout_cellGeometry(JNIEnv* env, jobject obj, jint row, jint col) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQGridLayout*) QtSupport::getQt(env, obj))->cellGeometry((int) row, (int) col)), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QGridLayout_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQGridLayout*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QGridLayout_colSpacing(JNIEnv* env, jobject obj, jint col) +{ + jint xret = (jint) ((TQGridLayout*) QtSupport::getQt(env, obj))->colSpacing((int) col); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QGridLayout_colStretch(JNIEnv* env, jobject obj, jint col) +{ + jint xret = (jint) ((TQGridLayout*) QtSupport::getQt(env, obj))->colStretch((int) col); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QGridLayout_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_expand(JNIEnv* env, jobject obj, jint rows, jint cols) +{ + ((TQGridLayout*) QtSupport::getQt(env, obj))->expand((int) rows, (int) cols); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QGridLayout_expanding(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQGridLayout*) QtSupport::getQt(env, obj))->expanding(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQLayoutItem*)(TQGridLayout*)QtSupport::getQt(env, obj))->layout() == 0 && ((TQLayoutItem*)(TQGridLayout*)QtSupport::getQt(env, obj))->widget() == 0 && ((TQLayoutItem*)(TQGridLayout*)QtSupport::getQt(env, obj))->spacerItem() == 0) { + delete (TQGridLayout*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGridLayout_findWidget(JNIEnv* env, jobject obj, jobject w, jintArray r, jintArray c) +{ + int* _int_r = QtSupport::toIntPtr(env, r); + int* _int_c = QtSupport::toIntPtr(env, c); + jboolean xret = (jboolean) ((TQGridLayoutJBridge*) QtSupport::getQt(env, obj))->protected_findWidget((TQWidget*) QtSupport::getQt(env, w), (int*) _int_r, (int*) _int_c); + env->SetIntArrayRegion(r, 0, 1, (jint *) _int_r); + env->SetIntArrayRegion(c, 0, 1, (jint *) _int_c); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGridLayout_hasHeightForWidth(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQGridLayout*) QtSupport::getQt(env, obj))->hasHeightForWidth(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QGridLayout_heightForWidth(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQGridLayout*) QtSupport::getQt(env, obj))->heightForWidth((int) arg1); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_invalidate(JNIEnv* env, jobject obj) +{ + ((TQGridLayout*) QtSupport::getQt(env, obj))->invalidate(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGridLayout_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QGridLayout_maximumSize(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQGridLayout*) QtSupport::getQt(env, obj))->maximumSize()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QGridLayout_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQGridLayout*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QGridLayout_minimumHeightForWidth(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQGridLayout*) QtSupport::getQt(env, obj))->minimumHeightForWidth((int) arg1); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QGridLayout_minimumSize(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQGridLayout*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_newTQGridLayout__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGridLayoutJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_newTQGridLayout__I(JNIEnv* env, jobject obj, jint nRows) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGridLayoutJBridge((int) nRows)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_newTQGridLayout__II(JNIEnv* env, jobject obj, jint nRows, jint nCols) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGridLayoutJBridge((int) nRows, (int) nCols)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_newTQGridLayout__III(JNIEnv* env, jobject obj, jint nRows, jint nCols, jint spacing) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGridLayoutJBridge((int) nRows, (int) nCols, (int) spacing)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_newTQGridLayout__IIILjava_lang_String_2(JNIEnv* env, jobject obj, jint nRows, jint nCols, jint spacing, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGridLayoutJBridge((int) nRows, (int) nCols, (int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QLayout_2(JNIEnv* env, jobject obj, jobject parentLayout) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGridLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QLayout_2I(JNIEnv* env, jobject obj, jobject parentLayout, jint nRows) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGridLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout), (int) nRows)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QLayout_2II(JNIEnv* env, jobject obj, jobject parentLayout, jint nRows, jint nCols) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGridLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout), (int) nRows, (int) nCols)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QLayout_2III(JNIEnv* env, jobject obj, jobject parentLayout, jint nRows, jint nCols, jint spacing) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGridLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout), (int) nRows, (int) nCols, (int) spacing)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QLayout_2IIILjava_lang_String_2(JNIEnv* env, jobject obj, jobject parentLayout, jint nRows, jint nCols, jint spacing, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGridLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout), (int) nRows, (int) nCols, (int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGridLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject parent, jint nRows) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGridLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) nRows)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject parent, jint nRows, jint nCols) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGridLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) nRows, (int) nCols)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QWidget_2III(JNIEnv* env, jobject obj, jobject parent, jint nRows, jint nCols, jint border) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGridLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) nRows, (int) nCols, (int) border)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QWidget_2IIII(JNIEnv* env, jobject obj, jobject parent, jint nRows, jint nCols, jint border, jint spacing) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGridLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) nRows, (int) nCols, (int) border, (int) spacing)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QWidget_2IIIILjava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jint nRows, jint nCols, jint border, jint spacing, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGridLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) nRows, (int) nCols, (int) border, (int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QGridLayout_numCols(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQGridLayout*) QtSupport::getQt(env, obj))->numCols(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QGridLayout_numRows(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQGridLayout*) QtSupport::getQt(env, obj))->numRows(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QGridLayout_origin(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQGridLayout*) QtSupport::getQt(env, obj))->origin(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QGridLayout_rowSpacing(JNIEnv* env, jobject obj, jint row) +{ + jint xret = (jint) ((TQGridLayout*) QtSupport::getQt(env, obj))->rowSpacing((int) row); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QGridLayout_rowStretch(JNIEnv* env, jobject obj, jint row) +{ + jint xret = (jint) ((TQGridLayout*) QtSupport::getQt(env, obj))->rowStretch((int) row); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_setColSpacing(JNIEnv* env, jobject obj, jint col, jint minSize) +{ + ((TQGridLayout*) QtSupport::getQt(env, obj))->setColSpacing((int) col, (int) minSize); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_setColStretch(JNIEnv* env, jobject obj, jint col, jint stretch) +{ + ((TQGridLayout*) QtSupport::getQt(env, obj))->setColStretch((int) col, (int) stretch); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_setGeometry(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQGridLayout*) QtSupport::getQt(env, obj))->setGeometry((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_setOrigin(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQGridLayout*) QtSupport::getQt(env, obj))->setOrigin((TQGridLayout::Corner) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_setRowSpacing(JNIEnv* env, jobject obj, jint row, jint minSize) +{ + ((TQGridLayout*) QtSupport::getQt(env, obj))->setRowSpacing((int) row, (int) minSize); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridLayout_setRowStretch(JNIEnv* env, jobject obj, jint row, jint stretch) +{ + ((TQGridLayout*) QtSupport::getQt(env, obj))->setRowStretch((int) row, (int) stretch); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QGridLayout_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQGridLayout*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QGridLayout_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQGridLayoutJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QGridLayout_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQGridLayoutJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQGridLayout.h b/qtjava/javalib/qtjava/TQGridLayout.h new file mode 100644 index 00000000..d0b4d387 --- /dev/null +++ b/qtjava/javalib/qtjava/TQGridLayout.h @@ -0,0 +1,79 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QGridLayout__ +#define __org_kde_qt_QGridLayout__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGridLayout_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGridLayout_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QWidget_2IIIILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jint, jint, jint, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QWidget_2IIII (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QWidget_2III (JNIEnv *env, jobject, jobject, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QWidget_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newTQGridLayout__IIILjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jint, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newTQGridLayout__III (JNIEnv *env, jobject, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newTQGridLayout__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newTQGridLayout__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newTQGridLayout__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QLayout_2IIILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jint, jint, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QLayout_2III (JNIEnv *env, jobject, jobject, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QLayout_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QLayout_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newTQGridLayout__Lorg_kde_qt_QLayout_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGridLayout_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGridLayout_minimumSize (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGridLayout_maximumSize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_setRowStretch (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_setColStretch (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGridLayout_rowStretch (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGridLayout_colStretch (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_setRowSpacing (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_setColSpacing (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGridLayout_rowSpacing (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGridLayout_colSpacing (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGridLayout_numRows (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGridLayout_numCols (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGridLayout_cellGeometry (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGridLayout_hasHeightForWidth (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGridLayout_heightForWidth (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGridLayout_minimumHeightForWidth (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGridLayout_expanding (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_invalidate (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_addItem__Lorg_kde_qt_QLayoutItemInterface_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_addItem__Lorg_kde_qt_QLayoutItemInterface_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_addMultiCell__Lorg_kde_qt_QLayoutItemInterface_2IIIII (JNIEnv *env, jobject, jobject, jint, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_addMultiCell__Lorg_kde_qt_QLayoutItemInterface_2IIII (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_addWidget__Lorg_kde_qt_QWidget_2III (JNIEnv *env, jobject, jobject, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_addWidget__Lorg_kde_qt_QWidget_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_addMultiCellWidget__Lorg_kde_qt_QWidget_2IIIII (JNIEnv *env, jobject, jobject, jint, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_addMultiCellWidget__Lorg_kde_qt_QWidget_2IIII (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_addLayout (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_addMultiCellLayout__Lorg_kde_qt_QLayout_2IIIII (JNIEnv *env, jobject, jobject, jint, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_addMultiCellLayout__Lorg_kde_qt_QLayout_2IIII (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_addRowSpacing (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_addColSpacing (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_expand (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_setOrigin (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGridLayout_origin (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_setGeometry (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGridLayout_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGridLayout_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGridLayout_findWidget (JNIEnv *env, jobject, jobject, jintArray, jintArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_add (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGridLayout_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QGridLayout__ */ diff --git a/qtjava/javalib/qtjava/TQGridView.cpp b/qtjava/javalib/qtjava/TQGridView.cpp new file mode 100644 index 00000000..2e24a93d --- /dev/null +++ b/qtjava/javalib/qtjava/TQGridView.cpp @@ -0,0 +1,165 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include + +#include +#include + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QGridView_cellGeometry(JNIEnv* env, jobject obj, jint row, jint column) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQGridView*) QtSupport::getQt(env, obj))->cellGeometry((int) row, (int) column)), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QGridView_cellHeight(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQGridView*) QtSupport::getQt(env, obj))->cellHeight(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QGridView_cellRect(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQGridView*) QtSupport::getQt(env, obj))->cellRect()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QGridView_cellWidth(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQGridView*) QtSupport::getQt(env, obj))->cellWidth(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QGridView_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQGridView*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QGridView_columnAt(JNIEnv* env, jobject obj, jint x) +{ + jint xret = (jint) ((TQGridView*) QtSupport::getQt(env, obj))->columnAt((int) x); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridView_ensureCellVisible(JNIEnv* env, jobject obj, jint row, jint column) +{ + ((TQGridView*) QtSupport::getQt(env, obj))->ensureCellVisible((int) row, (int) column); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QGridView_gridSize(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQGridView*) QtSupport::getQt(env, obj))->gridSize()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QGridView_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQGridView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QGridView_numCols(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQGridView*) QtSupport::getQt(env, obj))->numCols(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QGridView_numRows(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQGridView*) QtSupport::getQt(env, obj))->numRows(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridView_repaintCell__II(JNIEnv* env, jobject obj, jint row, jint column) +{ + ((TQGridView*) QtSupport::getQt(env, obj))->repaintCell((int) row, (int) column); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridView_repaintCell__IIZ(JNIEnv* env, jobject obj, jint row, jint column, jboolean erase) +{ + ((TQGridView*) QtSupport::getQt(env, obj))->repaintCell((int) row, (int) column, (bool) erase); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QGridView_rowAt(JNIEnv* env, jobject obj, jint y) +{ + jint xret = (jint) ((TQGridView*) QtSupport::getQt(env, obj))->rowAt((int) y); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridView_setCellHeight(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQGridView*) QtSupport::getQt(env, obj))->setCellHeight((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridView_setCellWidth(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQGridView*) QtSupport::getQt(env, obj))->setCellWidth((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridView_setNumCols(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQGridView*) QtSupport::getQt(env, obj))->setNumCols((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridView_setNumRows(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQGridView*) QtSupport::getQt(env, obj))->setNumRows((int) arg1); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QGridView_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQGridView::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QGridView_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQGridView::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGridView_updateCell(JNIEnv* env, jobject obj, jint row, jint column) +{ + ((TQGridView*) QtSupport::getQt(env, obj))->updateCell((int) row, (int) column); + return; +} + diff --git a/qtjava/javalib/qtjava/TQGridView.h b/qtjava/javalib/qtjava/TQGridView.h new file mode 100644 index 00000000..710c0083 --- /dev/null +++ b/qtjava/javalib/qtjava/TQGridView.h @@ -0,0 +1,39 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QGridView__ +#define __org_kde_qt_QGridView__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGridView_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGridView_className (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGridView_numRows (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridView_setNumRows (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGridView_numCols (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridView_setNumCols (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGridView_cellWidth (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridView_setCellWidth (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGridView_cellHeight (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridView_setCellHeight (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGridView_cellRect (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGridView_cellGeometry (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGridView_gridSize (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGridView_rowAt (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGridView_columnAt (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridView_repaintCell__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridView_repaintCell__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridView_updateCell (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridView_ensureCellVisible (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGridView_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGridView_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QGridView__ */ diff --git a/qtjava/javalib/qtjava/TQGroupBox.cpp b/qtjava/javalib/qtjava/TQGroupBox.cpp new file mode 100644 index 00000000..52e506e6 --- /dev/null +++ b/qtjava/javalib/qtjava/TQGroupBox.cpp @@ -0,0 +1,796 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include + +#include +#include + +class TQGroupBoxJBridge : public TQGroupBox +{ +public: + TQGroupBoxJBridge(TQWidget* arg1,const char* arg2) : TQGroupBox(arg1,arg2) {}; + TQGroupBoxJBridge(TQWidget* arg1) : TQGroupBox(arg1) {}; + TQGroupBoxJBridge() : TQGroupBox() {}; + TQGroupBoxJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQGroupBox(arg1,arg2,arg3) {}; + TQGroupBoxJBridge(const TQString& arg1,TQWidget* arg2) : TQGroupBox(arg1,arg2) {}; + TQGroupBoxJBridge(const TQString& arg1) : TQGroupBox(arg1) {}; + TQGroupBoxJBridge(int arg1,TQt::Orientation arg2,TQWidget* arg3,const char* arg4) : TQGroupBox(arg1,arg2,arg3,arg4) {}; + TQGroupBoxJBridge(int arg1,TQt::Orientation arg2,TQWidget* arg3) : TQGroupBox(arg1,arg2,arg3) {}; + TQGroupBoxJBridge(int arg1,TQt::Orientation arg2) : TQGroupBox(arg1,arg2) {}; + TQGroupBoxJBridge(int arg1,TQt::Orientation arg2,const TQString& arg3,TQWidget* arg4,const char* arg5) : TQGroupBox(arg1,arg2,arg3,arg4,arg5) {}; + TQGroupBoxJBridge(int arg1,TQt::Orientation arg2,const TQString& arg3,TQWidget* arg4) : TQGroupBox(arg1,arg2,arg3,arg4) {}; + TQGroupBoxJBridge(int arg1,TQt::Orientation arg2,const TQString& arg3) : TQGroupBox(arg1,arg2,arg3) {}; + bool protected_event(TQEvent* arg1) { + return (bool) TQGroupBox::event(arg1); + } + void protected_childEvent(TQChildEvent* arg1) { + TQGroupBox::childEvent(arg1); + return; + } + void protected_resizeEvent(TQResizeEvent* arg1) { + TQGroupBox::resizeEvent(arg1); + return; + } + void protected_paintEvent(TQPaintEvent* arg1) { + TQGroupBox::paintEvent(arg1); + return; + } + void protected_focusInEvent(TQFocusEvent* arg1) { + TQGroupBox::focusInEvent(arg1); + return; + } + void protected_fontChange(const TQFont& arg1) { + TQGroupBox::fontChange(arg1); + return; + } + ~TQGroupBoxJBridge() {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.qt.TQGroupBox","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.qt.TQGroupBox","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.qt.TQGroupBox","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.qt.TQGroupBox","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.qt.TQGroupBox","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.qt.TQGroupBox","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGroupBox","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.qt.TQGroupBox","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGroupBox","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.qt.TQGroupBox","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.qt.TQGroupBox",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.qt.TQGroupBox","frameChanged")) { + TQFrame::frameChanged(); + } + return; + } + void showMinimized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGroupBox","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGroupBox_addSpace(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQGroupBox*) QtSupport::getQt(env, obj))->addSpace((int) arg1); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QGroupBox_alignment(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQGroupBox*) QtSupport::getQt(env, obj))->alignment(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGroupBox_childEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQGroupBoxJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TQChildEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QGroupBox_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQGroupBox*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QGroupBox_columns(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQGroupBox*) QtSupport::getQt(env, obj))->columns(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGroupBox_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QGroupBox_finalize(env, obj); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGroupBox_event(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQGroupBoxJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGroupBox_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQGroupBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQGroupBox*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGroupBox_focusInEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQGroupBoxJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGroupBox_fontChange(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQGroupBoxJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QGroupBox_insideMargin(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQGroupBox*) QtSupport::getQt(env, obj))->insideMargin(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QGroupBox_insideSpacing(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQGroupBox*) QtSupport::getQt(env, obj))->insideSpacing(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGroupBox_isCheckable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQGroupBox*) QtSupport::getQt(env, obj))->isCheckable(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGroupBox_isChecked(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQGroupBox*) QtSupport::getQt(env, obj))->isChecked(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGroupBox_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QGroupBox_isFlat(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQGroupBox*) QtSupport::getQt(env, obj))->isFlat(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QGroupBox_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQGroupBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGroupBox_newTQGroupBox__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGroupBoxJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGroupBox_newTQGroupBox__II(JNIEnv* env, jobject obj, jint strips, jint o) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGroupBoxJBridge((int) strips, (TQt::Orientation) o)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGroupBox_newTQGroupBox__IILjava_lang_String_2(JNIEnv* env, jobject obj, jint strips, jint o, jstring title) +{ +static TQString* _qstring_title = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGroupBoxJBridge((int) strips, (TQt::Orientation) o, (const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGroupBox_newTQGroupBox__IILjava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint strips, jint o, jstring title, jobject parent) +{ +static TQString* _qstring_title = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGroupBoxJBridge((int) strips, (TQt::Orientation) o, (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_qt_QGroupBox_newTQGroupBox__IILjava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint strips, jint o, 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 TQGroupBoxJBridge((int) strips, (TQt::Orientation) o, (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_qt_QGroupBox_newTQGroupBox__IILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint strips, jint o, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGroupBoxJBridge((int) strips, (TQt::Orientation) o, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGroupBox_newTQGroupBox__IILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint strips, jint o, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGroupBoxJBridge((int) strips, (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_qt_QGroupBox_newTQGroupBox__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 TQGroupBoxJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGroupBox_newTQGroupBox__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 TQGroupBoxJBridge((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_qt_QGroupBox_newTQGroupBox__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 TQGroupBoxJBridge((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_qt_QGroupBox_newTQGroupBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQGroupBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGroupBox_newTQGroupBox__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 TQGroupBoxJBridge((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_qt_QGroupBox_orientation(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQGroupBox*) QtSupport::getQt(env, obj))->orientation(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGroupBox_paintEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQGroupBoxJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGroupBox_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQGroupBoxJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGroupBox_setAlignment(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQGroupBox*) QtSupport::getQt(env, obj))->setAlignment((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGroupBox_setCheckable(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQGroupBox*) QtSupport::getQt(env, obj))->setCheckable((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGroupBox_setChecked(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQGroupBox*) QtSupport::getQt(env, obj))->setChecked((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGroupBox_setColumnLayout(JNIEnv* env, jobject obj, jint strips, jint o) +{ + ((TQGroupBox*) QtSupport::getQt(env, obj))->setColumnLayout((int) strips, (TQt::Orientation) o); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGroupBox_setColumns(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQGroupBox*) QtSupport::getQt(env, obj))->setColumns((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGroupBox_setEnabled(JNIEnv* env, jobject obj, jboolean on) +{ + ((TQGroupBox*) QtSupport::getQt(env, obj))->setEnabled((bool) on); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGroupBox_setFlat(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQGroupBox*) QtSupport::getQt(env, obj))->setFlat((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGroupBox_setInsideMargin(JNIEnv* env, jobject obj, jint m) +{ + ((TQGroupBox*) QtSupport::getQt(env, obj))->setInsideMargin((int) m); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGroupBox_setInsideSpacing(JNIEnv* env, jobject obj, jint s) +{ + ((TQGroupBox*) QtSupport::getQt(env, obj))->setInsideSpacing((int) s); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGroupBox_setOrientation(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQGroupBox*) QtSupport::getQt(env, obj))->setOrientation((TQt::Orientation) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QGroupBox_setTitle(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQGroupBox*) QtSupport::getQt(env, obj))->setTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QGroupBox_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQGroupBox*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QGroupBox_title(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQGroupBox*) QtSupport::getQt(env, obj))->title(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QGroupBox_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQGroupBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QGroupBox_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQGroupBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQGroupBox.h b/qtjava/javalib/qtjava/TQGroupBox.h new file mode 100644 index 00000000..657b741d --- /dev/null +++ b/qtjava/javalib/qtjava/TQGroupBox.h @@ -0,0 +1,65 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QGroupBox__ +#define __org_kde_qt_QGroupBox__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGroupBox_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGroupBox_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_newTQGroupBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_newTQGroupBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_newTQGroupBox__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_newTQGroupBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_newTQGroupBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_newTQGroupBox__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_newTQGroupBox__IILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_newTQGroupBox__IILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_newTQGroupBox__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_newTQGroupBox__IILjava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_newTQGroupBox__IILjava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_newTQGroupBox__IILjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_setColumnLayout (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGroupBox_title (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_setTitle (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGroupBox_alignment (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_setAlignment (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGroupBox_columns (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_setColumns (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGroupBox_orientation (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_setOrientation (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGroupBox_insideMargin (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QGroupBox_insideSpacing (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_setInsideMargin (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_setInsideSpacing (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_addSpace (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QGroupBox_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGroupBox_isFlat (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_setFlat (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGroupBox_isCheckable (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_setCheckable (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGroupBox_isChecked (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_setEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_setChecked (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGroupBox_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QGroupBox_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGroupBox_event (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_childEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_paintEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_focusInEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_fontChange (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGroupBox_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QGroupBox__ */ diff --git a/qtjava/javalib/qtjava/TQHBox.cpp b/qtjava/javalib/qtjava/TQHBox.cpp new file mode 100644 index 00000000..e73fb5eb --- /dev/null +++ b/qtjava/javalib/qtjava/TQHBox.cpp @@ -0,0 +1,534 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +class TQHBoxJBridge : public TQHBox +{ +public: + TQHBoxJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQHBox(arg1,arg2,arg3) {}; + TQHBoxJBridge(TQWidget* arg1,const char* arg2) : TQHBox(arg1,arg2) {}; + TQHBoxJBridge(TQWidget* arg1) : TQHBox(arg1) {}; + TQHBoxJBridge() : TQHBox() {}; + TQHBoxJBridge(bool arg1,TQWidget* arg2,const char* arg3,TQt::WFlags arg4) : TQHBox(arg1,arg2,arg3,arg4) {}; + TQHBoxJBridge(bool arg1,TQWidget* arg2,const char* arg3) : TQHBox(arg1,arg2,arg3) {}; + void protected_frameChanged() { + TQHBox::frameChanged(); + return; + } + ~TQHBoxJBridge() {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.qt.TQHBox","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.qt.TQHBox","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.qt.TQHBox","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.qt.TQHBox","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.qt.TQHBox","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.qt.TQHBox","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHBox","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.qt.TQHBox","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHBox","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.qt.TQHBox","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.qt.TQHBox",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.qt.TQHBox","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QHBox_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQHBox*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHBox_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QHBox_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHBox_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQHBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQHBox*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHBox_frameChanged(JNIEnv* env, jobject obj) +{ + ((TQHBoxJBridge*) QtSupport::getQt(env, obj))->protected_frameChanged(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QHBox_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QHBox_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQHBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHBox_newTQHBox__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHBoxJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHBox_newTQHBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHBox_newTQHBox__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 TQHBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHBox_newTQHBox__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 TQHBoxJBridge((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_qt_QHBox_newTQHBox__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jboolean horizontal, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHBoxJBridge((bool) horizontal, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHBox_newTQHBox__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jboolean horizontal, jobject parent, jstring name, jint f) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHBoxJBridge((bool) horizontal, (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_qt_QHBox_setSpacing(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQHBox*) QtSupport::getQt(env, obj))->setSpacing((int) arg1); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QHBox_setStretchFactor(JNIEnv* env, jobject obj, jobject arg1, jint stretch) +{ + jboolean xret = (jboolean) ((TQHBox*) QtSupport::getQt(env, obj))->setStretchFactor((TQWidget*) QtSupport::getQt(env, arg1), (int) stretch); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QHBox_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQHBox*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QHBox_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQHBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QHBox_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQHBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQHBox.h b/qtjava/javalib/qtjava/TQHBox.h new file mode 100644 index 00000000..b9baf4b6 --- /dev/null +++ b/qtjava/javalib/qtjava/TQHBox.h @@ -0,0 +1,35 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QHBox__ +#define __org_kde_qt_QHBox__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QHBox_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHBox_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBox_newTQHBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBox_newTQHBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBox_newTQHBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBox_newTQHBox__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBox_setSpacing (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHBox_setStretchFactor (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QHBox_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHBox_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHBox_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBox_newTQHBox__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jboolean, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBox_newTQHBox__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jboolean, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBox_frameChanged (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBox_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBox_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHBox_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QHBox__ */ diff --git a/qtjava/javalib/qtjava/TQHBoxLayout.cpp b/qtjava/javalib/qtjava/TQHBoxLayout.cpp new file mode 100644 index 00000000..54587967 --- /dev/null +++ b/qtjava/javalib/qtjava/TQHBoxLayout.cpp @@ -0,0 +1,221 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQHBoxLayoutJBridge : public TQHBoxLayout +{ +public: + TQHBoxLayoutJBridge(TQWidget* arg1,int arg2,int arg3,const char* arg4) : TQHBoxLayout(arg1,arg2,arg3,arg4) {}; + TQHBoxLayoutJBridge(TQWidget* arg1,int arg2,int arg3) : TQHBoxLayout(arg1,arg2,arg3) {}; + TQHBoxLayoutJBridge(TQWidget* arg1,int arg2) : TQHBoxLayout(arg1,arg2) {}; + TQHBoxLayoutJBridge(TQWidget* arg1) : TQHBoxLayout(arg1) {}; + TQHBoxLayoutJBridge(TQLayout* arg1,int arg2,const char* arg3) : TQHBoxLayout(arg1,arg2,arg3) {}; + TQHBoxLayoutJBridge(TQLayout* arg1,int arg2) : TQHBoxLayout(arg1,arg2) {}; + TQHBoxLayoutJBridge(TQLayout* arg1) : TQHBoxLayout(arg1) {}; + TQHBoxLayoutJBridge(int arg1,const char* arg2) : TQHBoxLayout(arg1,arg2) {}; + TQHBoxLayoutJBridge(int arg1) : TQHBoxLayout(arg1) {}; + TQHBoxLayoutJBridge() : TQHBoxLayout() {}; + ~TQHBoxLayoutJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::removeChild(arg1); + } + return; + } + void setMenuBar(TQMenuBar* arg1) { + if (!QtSupport::eventDelegate(this,"setMenuBar",(void*)arg1,"org.kde.qt.TQMenuBar")) { + TQLayout::setMenuBar(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")) { + TQLayout::childEvent(arg1); + } + return; + } + void insertChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::insertChild(arg1); + } + return; + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QHBoxLayout_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQHBoxLayout*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHBoxLayout_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QHBoxLayout_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHBoxLayout_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQLayoutItem*)(TQHBoxLayout*)QtSupport::getQt(env, obj))->layout() == 0 && ((TQLayoutItem*)(TQHBoxLayout*)QtSupport::getQt(env, obj))->widget() == 0 && ((TQLayoutItem*)(TQHBoxLayout*)QtSupport::getQt(env, obj))->spacerItem() == 0) { + delete (TQHBoxLayout*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QHBoxLayout_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QHBoxLayout_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQHBoxLayout*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHBoxLayoutJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__I(JNIEnv* env, jobject obj, jint spacing) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHBoxLayoutJBridge((int) spacing)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint spacing, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHBoxLayoutJBridge((int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__Lorg_kde_qt_QLayout_2(JNIEnv* env, jobject obj, jobject parentLayout) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHBoxLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__Lorg_kde_qt_QLayout_2I(JNIEnv* env, jobject obj, jobject parentLayout, jint spacing) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHBoxLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout), (int) spacing)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__Lorg_kde_qt_QLayout_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject parentLayout, jint spacing, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHBoxLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout), (int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHBoxLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject parent, jint border) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHBoxLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) border)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject parent, jint border, jint spacing) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHBoxLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) border, (int) spacing)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__Lorg_kde_qt_QWidget_2IILjava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jint border, jint spacing, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHBoxLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) border, (int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QHBoxLayout_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQHBoxLayoutJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QHBoxLayout_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQHBoxLayoutJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQHBoxLayout.h b/qtjava/javalib/qtjava/TQHBoxLayout.h new file mode 100644 index 00000000..14b11710 --- /dev/null +++ b/qtjava/javalib/qtjava/TQHBoxLayout.h @@ -0,0 +1,35 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QHBoxLayout__ +#define __org_kde_qt_QHBoxLayout__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QHBoxLayout_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHBoxLayout_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__Lorg_kde_qt_QWidget_2IILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jint, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__Lorg_kde_qt_QWidget_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__Lorg_kde_qt_QLayout_2ILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__Lorg_kde_qt_QLayout_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__Lorg_kde_qt_QLayout_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__ (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHBoxLayout_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHBoxLayout_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBoxLayout_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBoxLayout_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHBoxLayout_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QHBoxLayout__ */ diff --git a/qtjava/javalib/qtjava/TQHButtonGroup.cpp b/qtjava/javalib/qtjava/TQHButtonGroup.cpp new file mode 100644 index 00000000..57b5822f --- /dev/null +++ b/qtjava/javalib/qtjava/TQHButtonGroup.cpp @@ -0,0 +1,501 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQHButtonGroupJBridge : public TQHButtonGroup +{ +public: + TQHButtonGroupJBridge(TQWidget* arg1,const char* arg2) : TQHButtonGroup(arg1,arg2) {}; + TQHButtonGroupJBridge(TQWidget* arg1) : TQHButtonGroup(arg1) {}; + TQHButtonGroupJBridge() : TQHButtonGroup() {}; + TQHButtonGroupJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQHButtonGroup(arg1,arg2,arg3) {}; + TQHButtonGroupJBridge(const TQString& arg1,TQWidget* arg2) : TQHButtonGroup(arg1,arg2) {}; + TQHButtonGroupJBridge(const TQString& arg1) : TQHButtonGroup(arg1) {}; + ~TQHButtonGroupJBridge() {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.qt.TQHButtonGroup","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.qt.TQHButtonGroup","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.qt.TQHButtonGroup","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.qt.TQHButtonGroup","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.qt.TQHButtonGroup","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.qt.TQHButtonGroup","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHButtonGroup","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.qt.TQHButtonGroup","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHButtonGroup","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.qt.TQHButtonGroup","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.qt.TQHButtonGroup",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.qt.TQHButtonGroup","frameChanged")) { + TQFrame::frameChanged(); + } + return; + } + void showMinimized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHButtonGroup","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QHButtonGroup_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQHButtonGroup*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHButtonGroup_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QHButtonGroup_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHButtonGroup_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQHButtonGroup*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQHButtonGroup*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QHButtonGroup_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QHButtonGroup_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQHButtonGroup*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHButtonGroup_newTQHButtonGroup__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHButtonGroupJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHButtonGroup_newTQHButtonGroup__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 TQHButtonGroupJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHButtonGroup_newTQHButtonGroup__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 TQHButtonGroupJBridge((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_qt_QHButtonGroup_newTQHButtonGroup__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 TQHButtonGroupJBridge((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_qt_QHButtonGroup_newTQHButtonGroup__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHButtonGroupJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHButtonGroup_newTQHButtonGroup__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 TQHButtonGroupJBridge((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_qt_QHButtonGroup_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQHButtonGroupJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QHButtonGroup_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQHButtonGroupJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQHButtonGroup.h b/qtjava/javalib/qtjava/TQHButtonGroup.h new file mode 100644 index 00000000..c255883c --- /dev/null +++ b/qtjava/javalib/qtjava/TQHButtonGroup.h @@ -0,0 +1,31 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QHButtonGroup__ +#define __org_kde_qt_QHButtonGroup__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QHButtonGroup_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHButtonGroup_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHButtonGroup_newTQHButtonGroup__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHButtonGroup_newTQHButtonGroup__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHButtonGroup_newTQHButtonGroup__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHButtonGroup_newTQHButtonGroup__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHButtonGroup_newTQHButtonGroup__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHButtonGroup_newTQHButtonGroup__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHButtonGroup_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHButtonGroup_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHButtonGroup_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHButtonGroup_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHButtonGroup_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QHButtonGroup__ */ diff --git a/qtjava/javalib/qtjava/TQHGroupBox.cpp b/qtjava/javalib/qtjava/TQHGroupBox.cpp new file mode 100644 index 00000000..32c7bd51 --- /dev/null +++ b/qtjava/javalib/qtjava/TQHGroupBox.cpp @@ -0,0 +1,501 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQHGroupBoxJBridge : public TQHGroupBox +{ +public: + TQHGroupBoxJBridge(TQWidget* arg1,const char* arg2) : TQHGroupBox(arg1,arg2) {}; + TQHGroupBoxJBridge(TQWidget* arg1) : TQHGroupBox(arg1) {}; + TQHGroupBoxJBridge() : TQHGroupBox() {}; + TQHGroupBoxJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQHGroupBox(arg1,arg2,arg3) {}; + TQHGroupBoxJBridge(const TQString& arg1,TQWidget* arg2) : TQHGroupBox(arg1,arg2) {}; + TQHGroupBoxJBridge(const TQString& arg1) : TQHGroupBox(arg1) {}; + ~TQHGroupBoxJBridge() {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.qt.TQHGroupBox","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.qt.TQHGroupBox","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.qt.TQHGroupBox","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.qt.TQHGroupBox","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.qt.TQHGroupBox","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.qt.TQHGroupBox","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHGroupBox","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.qt.TQHGroupBox","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHGroupBox","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.qt.TQHGroupBox","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.qt.TQHGroupBox",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.qt.TQHGroupBox","frameChanged")) { + TQFrame::frameChanged(); + } + return; + } + void showMinimized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHGroupBox","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QHGroupBox_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQHGroupBox*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHGroupBox_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QHGroupBox_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHGroupBox_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQHGroupBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQHGroupBox*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QHGroupBox_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QHGroupBox_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQHGroupBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHGroupBox_newTQHGroupBox__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHGroupBoxJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHGroupBox_newTQHGroupBox__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 TQHGroupBoxJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHGroupBox_newTQHGroupBox__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 TQHGroupBoxJBridge((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_qt_QHGroupBox_newTQHGroupBox__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 TQHGroupBoxJBridge((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_qt_QHGroupBox_newTQHGroupBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHGroupBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHGroupBox_newTQHGroupBox__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 TQHGroupBoxJBridge((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_qt_QHGroupBox_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQHGroupBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QHGroupBox_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQHGroupBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQHGroupBox.h b/qtjava/javalib/qtjava/TQHGroupBox.h new file mode 100644 index 00000000..90176eb4 --- /dev/null +++ b/qtjava/javalib/qtjava/TQHGroupBox.h @@ -0,0 +1,31 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QHGroupBox__ +#define __org_kde_qt_QHGroupBox__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QHGroupBox_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHGroupBox_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHGroupBox_newTQHGroupBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHGroupBox_newTQHGroupBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHGroupBox_newTQHGroupBox__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHGroupBox_newTQHGroupBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHGroupBox_newTQHGroupBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHGroupBox_newTQHGroupBox__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHGroupBox_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHGroupBox_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHGroupBox_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHGroupBox_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHGroupBox_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QHGroupBox__ */ diff --git a/qtjava/javalib/qtjava/TQHeader.cpp b/qtjava/javalib/qtjava/TQHeader.cpp new file mode 100644 index 00000000..a8ab9cf7 --- /dev/null +++ b/qtjava/javalib/qtjava/TQHeader.cpp @@ -0,0 +1,1028 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQHeaderJBridge : public TQHeader +{ +public: + TQHeaderJBridge(TQWidget* arg1,const char* arg2) : TQHeader(arg1,arg2) {}; + TQHeaderJBridge(TQWidget* arg1) : TQHeader(arg1) {}; + TQHeaderJBridge() : TQHeader() {}; + TQHeaderJBridge(int arg1,TQWidget* arg2,const char* arg3) : TQHeader(arg1,arg2,arg3) {}; + TQHeaderJBridge(int arg1,TQWidget* arg2) : TQHeader(arg1,arg2) {}; + TQHeaderJBridge(int arg1) : TQHeader(arg1) {}; + void protected_paintEvent(TQPaintEvent* arg1) { + TQHeader::paintEvent(arg1); + return; + } + void protected_showEvent(TQShowEvent* arg1) { + TQHeader::showEvent(arg1); + return; + } + void protected_resizeEvent(TQResizeEvent* arg1) { + TQHeader::resizeEvent(arg1); + return; + } + TQRect protected_sRect(int arg1) { + return (TQRect) TQHeader::sRect(arg1); + } + void protected_paintSection(TQPainter* arg1,int arg2,const TQRect& arg3) { + TQHeader::paintSection(arg1,arg2,arg3); + return; + } + void protected_paintSectionLabel(TQPainter* arg1,int arg2,const TQRect& arg3) { + TQHeader::paintSectionLabel(arg1,arg2,arg3); + return; + } + void protected_fontChange(const TQFont& arg1) { + TQHeader::fontChange(arg1); + return; + } + void protected_mousePressEvent(TQMouseEvent* arg1) { + TQHeader::mousePressEvent(arg1); + return; + } + void protected_mouseReleaseEvent(TQMouseEvent* arg1) { + TQHeader::mouseReleaseEvent(arg1); + return; + } + void protected_mouseMoveEvent(TQMouseEvent* arg1) { + TQHeader::mouseMoveEvent(arg1); + return; + } + void protected_mouseDoubleClickEvent(TQMouseEvent* arg1) { + TQHeader::mouseDoubleClickEvent(arg1); + return; + } + void protected_keyPressEvent(TQKeyEvent* arg1) { + TQHeader::keyPressEvent(arg1); + return; + } + void protected_keyReleaseEvent(TQKeyEvent* arg1) { + TQHeader::keyReleaseEvent(arg1); + return; + } + ~TQHeaderJBridge() {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")) { + TQHeader::resizeEvent(arg1); + } + return; + } + void mouseDoubleClickEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQHeader::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.qt.TQHeader","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.qt.TQHeader","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.qt.TQHeader","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.qt.TQHeader","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")) { + TQHeader::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.qt.TQHeader","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.qt.TQHeader","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHeader","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")) { + TQHeader::showEvent(arg1); + } + return; + } + void keyPressEvent(TQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { + TQHeader::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")) { + TQHeader::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.qt.TQHeader","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHeader","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")) { + TQHeader::mousePressEvent(arg1); + } + return; + } + void mouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQHeader::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.qt.TQHeader","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")) { + TQHeader::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.qt.TQHeader",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.qt.TQHeader","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHeader_addLabel__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->addLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHeader_addLabel__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring arg1, jint size) +{ +static TQString* _qstring_arg1 = 0; + jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->addLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (int) size); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHeader_addLabel__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) +{ +static TQString* _qstring_arg2 = 0; + jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->addLabel((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHeader_addLabel__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject arg1, jstring arg2, jint size) +{ +static TQString* _qstring_arg2 = 0; + jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->addLabel((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (int) size); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_adjustHeaderSize(JNIEnv* env, jobject obj) +{ + ((TQHeader*) QtSupport::getQt(env, obj))->adjustHeaderSize(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHeader_cellAt(JNIEnv* env, jobject obj, jint pos) +{ + jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->cellAt((int) pos); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHeader_cellPos(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->cellPos((int) arg1); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHeader_cellSize(JNIEnv* env, jobject obj, jint i) +{ + jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->cellSize((int) i); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QHeader_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQHeader*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHeader_count(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->count(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QHeader_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQHeader*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQHeader*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_fontChange(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHeader_headerWidth(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->headerWidth(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QHeader_iconSet(JNIEnv* env, jobject obj, jint section) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQHeader*) QtSupport::getQt(env, obj))->iconSet((int) section), "org.kde.qt.TQIconSet"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QHeader_isClickEnabled__(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQHeader*) QtSupport::getQt(env, obj))->isClickEnabled(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QHeader_isClickEnabled__I(JNIEnv* env, jobject obj, jint section) +{ + jboolean xret = (jboolean) ((TQHeader*) QtSupport::getQt(env, obj))->isClickEnabled((int) section); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QHeader_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QHeader_isMovingEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQHeader*) QtSupport::getQt(env, obj))->isMovingEnabled(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QHeader_isResizeEnabled__(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQHeader*) QtSupport::getQt(env, obj))->isResizeEnabled(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QHeader_isResizeEnabled__I(JNIEnv* env, jobject obj, jint section) +{ + jboolean xret = (jboolean) ((TQHeader*) QtSupport::getQt(env, obj))->isResizeEnabled((int) section); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QHeader_isStretchEnabled__(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQHeader*) QtSupport::getQt(env, obj))->isStretchEnabled(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QHeader_isStretchEnabled__I(JNIEnv* env, jobject obj, jint section) +{ + jboolean xret = (jboolean) ((TQHeader*) QtSupport::getQt(env, obj))->isStretchEnabled((int) section); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_keyReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_keyReleaseEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QHeader_label(JNIEnv* env, jobject obj, jint section) +{ + TQString _qstring; + _qstring = ((TQHeader*) QtSupport::getQt(env, obj))->label((int) section); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHeader_mapToActual(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->mapToActual((int) arg1); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHeader_mapToIndex(JNIEnv* env, jobject obj, jint section) +{ + jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->mapToIndex((int) section); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHeader_mapToLogical(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->mapToLogical((int) arg1); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHeader_mapToSection(JNIEnv* env, jobject obj, jint index) +{ + jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->mapToSection((int) index); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QHeader_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQHeader*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_mouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_moveCell(JNIEnv* env, jobject obj, jint arg1, jint arg2) +{ + ((TQHeader*) QtSupport::getQt(env, obj))->moveCell((int) arg1, (int) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_moveSection(JNIEnv* env, jobject obj, jint section, jint toIndex) +{ + ((TQHeader*) QtSupport::getQt(env, obj))->moveSection((int) section, (int) toIndex); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_newTQHeader__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHeaderJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_newTQHeader__I(JNIEnv* env, jobject obj, jint arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHeaderJBridge((int) arg1)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_newTQHeader__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint arg1, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHeaderJBridge((int) arg1, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_newTQHeader__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint arg1, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHeaderJBridge((int) arg1, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_newTQHeader__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHeaderJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_newTQHeader__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 TQHeaderJBridge((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_qt_QHeader_offset(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->offset(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHeader_orientation(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->orientation(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_paintEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_paintSectionLabel(JNIEnv* env, jobject obj, jobject p, jint index, jobject fr) +{ + ((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_paintSectionLabel((TQPainter*) QtSupport::getQt(env, p), (int) index, (const TQRect&)*(const TQRect*) QtSupport::getQt(env, fr)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_paintSection(JNIEnv* env, jobject obj, jobject p, jint index, jobject fr) +{ + ((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_paintSection((TQPainter*) QtSupport::getQt(env, p), (int) index, (const TQRect&)*(const TQRect*) QtSupport::getQt(env, fr)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_removeLabel(JNIEnv* env, jobject obj, jint section) +{ + ((TQHeader*) QtSupport::getQt(env, obj))->removeLabel((int) section); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_resizeEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_resizeSection(JNIEnv* env, jobject obj, jint section, jint s) +{ + ((TQHeader*) QtSupport::getQt(env, obj))->resizeSection((int) section, (int) s); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QHeader_sRect(JNIEnv* env, jobject obj, jint index) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_sRect((int) index)), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHeader_sectionAt(JNIEnv* env, jobject obj, jint pos) +{ + jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->sectionAt((int) pos); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHeader_sectionPos(JNIEnv* env, jobject obj, jint section) +{ + jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->sectionPos((int) section); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QHeader_sectionRect(JNIEnv* env, jobject obj, jint section) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQHeader*) QtSupport::getQt(env, obj))->sectionRect((int) section)), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHeader_sectionSize(JNIEnv* env, jobject obj, jint section) +{ + jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->sectionSize((int) section); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_setCellSize(JNIEnv* env, jobject obj, jint arg1, jint arg2) +{ + ((TQHeader*) QtSupport::getQt(env, obj))->setCellSize((int) arg1, (int) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_setClickEnabled__Z(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQHeader*) QtSupport::getQt(env, obj))->setClickEnabled((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_setClickEnabled__ZI(JNIEnv* env, jobject obj, jboolean arg1, jint section) +{ + ((TQHeader*) QtSupport::getQt(env, obj))->setClickEnabled((bool) arg1, (int) section); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_setLabel__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint arg1, jstring arg2) +{ +static TQString* _qstring_arg2 = 0; + ((TQHeader*) QtSupport::getQt(env, obj))->setLabel((int) arg1, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_setLabel__ILjava_lang_String_2I(JNIEnv* env, jobject obj, jint arg1, jstring arg2, jint size) +{ +static TQString* _qstring_arg2 = 0; + ((TQHeader*) QtSupport::getQt(env, obj))->setLabel((int) arg1, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (int) size); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_setLabel__ILorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint arg1, jobject arg2, jstring arg3) +{ +static TQString* _qstring_arg3 = 0; + ((TQHeader*) QtSupport::getQt(env, obj))->setLabel((int) arg1, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, arg2), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_setLabel__ILorg_kde_qt_QIconSet_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jint arg1, jobject arg2, jstring arg3, jint size) +{ +static TQString* _qstring_arg3 = 0; + ((TQHeader*) QtSupport::getQt(env, obj))->setLabel((int) arg1, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, arg2), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (int) size); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_setMovingEnabled(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQHeader*) QtSupport::getQt(env, obj))->setMovingEnabled((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_setOffset(JNIEnv* env, jobject obj, jint pos) +{ + ((TQHeader*) QtSupport::getQt(env, obj))->setOffset((int) pos); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_setOrientation(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQHeader*) QtSupport::getQt(env, obj))->setOrientation((TQt::Orientation) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_setResizeEnabled__Z(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQHeader*) QtSupport::getQt(env, obj))->setResizeEnabled((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_setResizeEnabled__ZI(JNIEnv* env, jobject obj, jboolean arg1, jint section) +{ + ((TQHeader*) QtSupport::getQt(env, obj))->setResizeEnabled((bool) arg1, (int) section); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_setSortIndicator__I(JNIEnv* env, jobject obj, jint section) +{ + ((TQHeader*) QtSupport::getQt(env, obj))->setSortIndicator((int) section); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_setSortIndicator__II(JNIEnv* env, jobject obj, jint section, jint order) +{ + ((TQHeader*) QtSupport::getQt(env, obj))->setSortIndicator((int) section, (TQt::SortOrder) order); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_setSortIndicator__IZ(JNIEnv* env, jobject obj, jint section, jboolean ascending) +{ + ((TQHeader*) QtSupport::getQt(env, obj))->setSortIndicator((int) section, (bool) ascending); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_setStretchEnabled__Z(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQHeader*) QtSupport::getQt(env, obj))->setStretchEnabled((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_setStretchEnabled__ZI(JNIEnv* env, jobject obj, jboolean b, jint section) +{ + ((TQHeader*) QtSupport::getQt(env, obj))->setStretchEnabled((bool) b, (int) section); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_setTracking(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TQHeader*) QtSupport::getQt(env, obj))->setTracking((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_setUpdatesEnabled(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TQHeader*) QtSupport::getQt(env, obj))->setUpdatesEnabled((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHeader_showEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QHeader_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQHeader*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHeader_sortIndicatorOrder(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->sortIndicatorOrder(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHeader_sortIndicatorSection(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->sortIndicatorSection(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QHeader_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQHeaderJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QHeader_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQHeaderJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QHeader_tracking(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQHeader*) QtSupport::getQt(env, obj))->tracking(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQHeader.h b/qtjava/javalib/qtjava/TQHeader.h new file mode 100644 index 00000000..383cce7d --- /dev/null +++ b/qtjava/javalib/qtjava/TQHeader.h @@ -0,0 +1,100 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QHeader__ +#define __org_kde_qt_QHeader__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QHeader_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHeader_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_newTQHeader__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_newTQHeader__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_newTQHeader__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_newTQHeader__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_newTQHeader__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_newTQHeader__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_addLabel__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_addLabel__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_addLabel__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_addLabel__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_removeLabel (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setLabel__ILjava_lang_String_2I (JNIEnv *env, jobject, jint, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setLabel__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setLabel__ILorg_kde_qt_QIconSet_2Ljava_lang_String_2I (JNIEnv *env, jobject, jint, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setLabel__ILorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHeader_label (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QHeader_iconSet (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setOrientation (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_orientation (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setTracking (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHeader_tracking (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setClickEnabled__ZI (JNIEnv *env, jobject, jboolean, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setClickEnabled__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setResizeEnabled__ZI (JNIEnv *env, jobject, jboolean, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setResizeEnabled__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setMovingEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setStretchEnabled__ZI (JNIEnv *env, jobject, jboolean, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setStretchEnabled__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHeader_isClickEnabled__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHeader_isClickEnabled__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHeader_isResizeEnabled__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHeader_isResizeEnabled__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHeader_isMovingEnabled (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHeader_isStretchEnabled__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHeader_isStretchEnabled__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_resizeSection (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_sectionSize (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_sectionPos (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_sectionAt (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_count (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_headerWidth (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QHeader_sectionRect (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setCellSize (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_cellSize (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_cellPos (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_cellAt (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_offset (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QHeader_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_mapToSection (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_mapToIndex (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_mapToLogical (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_mapToActual (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_moveSection (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_moveCell (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setSortIndicator__IZ (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setSortIndicator__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setSortIndicator__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_sortIndicatorSection (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_sortIndicatorOrder (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_adjustHeaderSize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setUpdatesEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_setOffset (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHeader_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHeader_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_paintEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_showEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QHeader_sRect (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_paintSection (JNIEnv *env, jobject, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_paintSectionLabel (JNIEnv *env, jobject, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_fontChange (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_mousePressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_mouseReleaseEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_mouseMoveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_mouseDoubleClickEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_keyPressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_keyReleaseEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHeader_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QHeader__ */ diff --git a/qtjava/javalib/qtjava/TQHebrewCodec.cpp b/qtjava/javalib/qtjava/TQHebrewCodec.cpp new file mode 100644 index 00000000..ee69172a --- /dev/null +++ b/qtjava/javalib/qtjava/TQHebrewCodec.cpp @@ -0,0 +1,99 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQHebrewCodecJBridge : public TQHebrewCodec +{ +public: + TQHebrewCodecJBridge() : TQHebrewCodec() {}; + ~TQHebrewCodecJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHebrewCodec_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QHebrewCodec_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHebrewCodec_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQHebrewCodec*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QHebrewCodec_fromUnicode(JNIEnv* env, jobject obj, jstring uc, jintArray lenInOut) +{ + TQCString _qstring; +static TQString* _qstring_uc = 0; + int* _int_lenInOut = QtSupport::toIntPtr(env, lenInOut); + _qstring = ((TQHebrewCodec*) QtSupport::getQt(env, obj))->fromUnicode((const TQString&)*(TQString*) QtSupport::toTQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); + env->SetIntArrayRegion(lenInOut, 0, 1, (jint *) _int_lenInOut); + return QtSupport::fromTQCString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHebrewCodec_heuristicContentMatch(JNIEnv* env, jobject obj, jstring chars, jint len) +{ +static TQCString* _qstring_chars = 0; + jint xret = (jint) ((TQHebrewCodec*) QtSupport::getQt(env, obj))->heuristicContentMatch((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QHebrewCodec_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHebrewCodec_mibEnum(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQHebrewCodec*) QtSupport::getQt(env, obj))->mibEnum(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QHebrewCodec_mimeName(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQHebrewCodec*) QtSupport::getQt(env, obj))->mimeName(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QHebrewCodec_name(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQHebrewCodec*) QtSupport::getQt(env, obj))->name(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHebrewCodec_newTQHebrewCodec(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHebrewCodecJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QHebrewCodec_toUnicode(JNIEnv* env, jobject obj, jstring chars, jint len) +{ + TQString _qstring; +static TQCString* _qstring_chars = 0; + _qstring = ((TQHebrewCodec*) QtSupport::getQt(env, obj))->toUnicode((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQHebrewCodec.h b/qtjava/javalib/qtjava/TQHebrewCodec.h new file mode 100644 index 00000000..22e56f0d --- /dev/null +++ b/qtjava/javalib/qtjava/TQHebrewCodec.h @@ -0,0 +1,28 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QHebrewCodec__ +#define __org_kde_qt_QHebrewCodec__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHebrewCodec_mibEnum (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHebrewCodec_name (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHebrewCodec_mimeName (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHebrewCodec_fromUnicode (JNIEnv *env, jobject, jstring, jintArray); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHebrewCodec_toUnicode (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHebrewCodec_heuristicContentMatch (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHebrewCodec_newTQHebrewCodec (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHebrewCodec_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHebrewCodec_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHebrewCodec_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QHebrewCodec__ */ diff --git a/qtjava/javalib/qtjava/TQHideEvent.cpp b/qtjava/javalib/qtjava/TQHideEvent.cpp new file mode 100644 index 00000000..2040fa24 --- /dev/null +++ b/qtjava/javalib/qtjava/TQHideEvent.cpp @@ -0,0 +1,46 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + +class TQHideEventJBridge : public TQHideEvent +{ +public: + TQHideEventJBridge() : TQHideEvent() {}; + ~TQHideEventJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHideEvent_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QHideEvent_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHideEvent_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQHideEvent*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QHideEvent_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHideEvent_newTQHideEvent(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHideEventJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + diff --git a/qtjava/javalib/qtjava/TQHideEvent.h b/qtjava/javalib/qtjava/TQHideEvent.h new file mode 100644 index 00000000..ccfeb444 --- /dev/null +++ b/qtjava/javalib/qtjava/TQHideEvent.h @@ -0,0 +1,22 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QHideEvent__ +#define __org_kde_qt_QHideEvent__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHideEvent_newTQHideEvent (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHideEvent_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHideEvent_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHideEvent_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QHideEvent__ */ diff --git a/qtjava/javalib/qtjava/TQHostAddress.cpp b/qtjava/javalib/qtjava/TQHostAddress.cpp new file mode 100644 index 00000000..7608891e --- /dev/null +++ b/qtjava/javalib/qtjava/TQHostAddress.cpp @@ -0,0 +1,172 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQHostAddressJBridge : public TQHostAddress +{ +public: + TQHostAddressJBridge() : TQHostAddress() {}; + TQHostAddressJBridge(Q_UINT32 arg1) : TQHostAddress(arg1) {}; + TQHostAddressJBridge(Q_UINT8* arg1) : TQHostAddress(arg1) {}; + TQHostAddressJBridge(const TQString& arg1) : TQHostAddress(arg1) {}; + TQHostAddressJBridge(const TQHostAddress& arg1) : TQHostAddress(arg1) {}; + ~TQHostAddressJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHostAddress_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QHostAddress_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHostAddress_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQHostAddress*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHostAddress_ip4Addr(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQHostAddress*) QtSupport::getQt(env, obj))->ip4Addr(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QHostAddress_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QHostAddress_isIPv4Address(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQHostAddress*) QtSupport::getQt(env, obj))->isIPv4Address(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QHostAddress_isIPv6Address(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQHostAddress*) QtSupport::getQt(env, obj))->isIPv6Address(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QHostAddress_isIp4Addr(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQHostAddress*) QtSupport::getQt(env, obj))->isIp4Addr(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QHostAddress_isNull(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQHostAddress*) QtSupport::getQt(env, obj))->isNull(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHostAddress_newTQHostAddress__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHostAddressJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHostAddress_newTQHostAddress__I(JNIEnv* env, jobject obj, jint ip4Addr) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHostAddressJBridge((Q_UINT32) ip4Addr)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHostAddress_newTQHostAddress__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring address) +{ +static TQString* _qstring_address = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHostAddressJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, address, &_qstring_address))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHostAddress_newTQHostAddress__Lorg_kde_qt_QHostAddress_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHostAddressJBridge((const TQHostAddress&)*(const TQHostAddress*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHostAddress_newTQHostAddress__S(JNIEnv* env, jobject obj, jshort ip6Addr) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHostAddressJBridge((Q_UINT8*) ip6Addr)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QHostAddress_op_1equals(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQHostAddress*) QtSupport::getQt(env, obj))->operator==((const TQHostAddress&)*(const TQHostAddress*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHostAddress_setAddress__I(JNIEnv* env, jobject obj, jint ip4Addr) +{ + ((TQHostAddress*) QtSupport::getQt(env, obj))->setAddress((Q_UINT32) ip4Addr); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QHostAddress_setAddress__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring address) +{ +static TQString* _qstring_address = 0; + jboolean xret = (jboolean) ((TQHostAddress*) QtSupport::getQt(env, obj))->setAddress((const TQString&)*(TQString*) QtSupport::toTQString(env, address, &_qstring_address)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHostAddress_setAddress__S(JNIEnv* env, jobject obj, jshort ip6Addr) +{ + ((TQHostAddress*) QtSupport::getQt(env, obj))->setAddress((Q_UINT8*) ip6Addr); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHostAddress_toIPv4Address(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQHostAddress*) QtSupport::getQt(env, obj))->toIPv4Address(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QHostAddress_toString(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQHostAddress*) QtSupport::getQt(env, obj))->toString(); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQHostAddress.h b/qtjava/javalib/qtjava/TQHostAddress.h new file mode 100644 index 00000000..3752497c --- /dev/null +++ b/qtjava/javalib/qtjava/TQHostAddress.h @@ -0,0 +1,37 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QHostAddress__ +#define __org_kde_qt_QHostAddress__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHostAddress_newTQHostAddress__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHostAddress_newTQHostAddress__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHostAddress_newTQHostAddress__S (JNIEnv *env, jobject, jshort); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHostAddress_newTQHostAddress__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHostAddress_newTQHostAddress__Lorg_kde_qt_QHostAddress_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHostAddress_setAddress__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHostAddress_setAddress__S (JNIEnv *env, jobject, jshort); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHostAddress_setAddress__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHostAddress_isIp4Addr (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHostAddress_ip4Addr (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHostAddress_isIPv4Address (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHostAddress_toIPv4Address (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHostAddress_isIPv6Address (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHostAddress_toString (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHostAddress_op_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHostAddress_isNull (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHostAddress_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHostAddress_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHostAddress_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QHostAddress__ */ diff --git a/qtjava/javalib/qtjava/TQHttp.cpp b/qtjava/javalib/qtjava/TQHttp.cpp new file mode 100644 index 00000000..4b0f00bb --- /dev/null +++ b/qtjava/javalib/qtjava/TQHttp.cpp @@ -0,0 +1,509 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +class TQHttpJBridge : public TQHttp +{ +public: + TQHttpJBridge() : TQHttp() {}; + TQHttpJBridge(TQObject* arg1,const char* arg2) : TQHttp(arg1,arg2) {}; + TQHttpJBridge(TQObject* arg1) : TQHttp(arg1) {}; + TQHttpJBridge(const TQString& arg1,Q_UINT16 arg2,TQObject* arg3,const char* arg4) : TQHttp(arg1,arg2,arg3,arg4) {}; + TQHttpJBridge(const TQString& arg1,Q_UINT16 arg2,TQObject* arg3) : TQHttp(arg1,arg2,arg3) {}; + TQHttpJBridge(const TQString& arg1,Q_UINT16 arg2) : TQHttp(arg1,arg2) {}; + TQHttpJBridge(const TQString& arg1) : TQHttp(arg1) {}; + void protected_operationGet(TQNetworkOperation* arg1) { + TQHttp::operationGet(arg1); + return; + } + void protected_operationPut(TQNetworkOperation* arg1) { + TQHttp::operationPut(arg1); + return; + } + void protected_timerEvent(TQTimerEvent* arg1) { + TQHttp::timerEvent(arg1); + return; + } + ~TQHttpJBridge() {QtSupport::qtKeyDeleted(this);} + void operationRename(TQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationRename",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { + TQNetworkProtocol::operationRename(arg1); + } + return; + } + void operationPutChunk(TQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationPutChunk",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { + TQNetworkProtocol::operationPutChunk(arg1); + } + return; + } + void processOperation(TQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"processOperation",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { + TQNetworkProtocol::processOperation(arg1); + } + return; + } + void removeChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::removeChild(arg1); + } + return; + } + void operationListChildren(TQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationListChildren",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { + TQNetworkProtocol::operationListChildren(arg1); + } + return; + } + void customEvent(TQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { + TQObject::customEvent(arg1); + } + return; + } + void operationRemove(TQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationRemove",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { + TQNetworkProtocol::operationRemove(arg1); + } + return; + } + void timerEvent(TQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { + TQHttp::timerEvent(arg1); + } + return; + } + void childEvent(TQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { + TQObject::childEvent(arg1); + } + return; + } + void addOperation(TQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"addOperation",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { + TQNetworkProtocol::addOperation(arg1); + } + return; + } + void insertChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::insertChild(arg1); + } + return; + } + void clearOperationQueue() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHttp","clearOperationQueue")) { + TQNetworkProtocol::clearOperationQueue(); + } + return; + } + void operationMkDir(TQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationMkDir",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { + TQNetworkProtocol::operationMkDir(arg1); + } + return; + } + bool eventFilter(TQObject* object,TQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQHttp",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } + void stop() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHttp","stop")) { + TQNetworkProtocol::stop(); + } + return; + } + void setUrl(TQUrlOperator* arg1) { + if (!QtSupport::eventDelegate(this,"setUrl",(void*)arg1,"org.kde.qt.TQUrlOperator")) { + TQNetworkProtocol::setUrl(arg1); + } + return; + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHttp_abort(JNIEnv* env, jobject obj) +{ + ((TQHttp*) QtSupport::getQt(env, obj))->abort(); + return; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QHttp_bytesAvailable(JNIEnv* env, jobject obj) +{ + jlong xret = (jlong) ((TQHttp*) QtSupport::getQt(env, obj))->bytesAvailable(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QHttp_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQHttp*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHttp_clearPendingRequests(JNIEnv* env, jobject obj) +{ + ((TQHttp*) QtSupport::getQt(env, obj))->clearPendingRequests(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHttp_closeConnection(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->closeConnection(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QHttp_currentDestinationDevice(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQHttp*) QtSupport::getQt(env, obj))->currentDestinationDevice(), "org.kde.qt.TQIODeviceInterface"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHttp_currentId(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->currentId(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QHttp_currentRequest(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQHttpRequestHeader(((TQHttp*) QtSupport::getQt(env, obj))->currentRequest()), "org.kde.qt.TQHttpRequestHeader", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QHttp_currentSourceDevice(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQHttp*) QtSupport::getQt(env, obj))->currentSourceDevice(), "org.kde.qt.TQIODeviceInterface"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHttp_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QHttp_finalize(env, obj); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QHttp_errorString(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQHttp*) QtSupport::getQt(env, obj))->errorString(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHttp_error(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->error(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHttp_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQHttp*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQHttp*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHttp_get__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring path) +{ +static TQString* _qstring_path = 0; + jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->get((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHttp_get__Ljava_lang_String_2Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jstring path, jobject to) +{ +static TQString* _qstring_path = 0; + jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->get((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (TQIODevice*) QtSupport::getQt(env, to)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QHttp_hasPendingRequests(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQHttp*) QtSupport::getQt(env, obj))->hasPendingRequests(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHttp_head(JNIEnv* env, jobject obj, jstring path) +{ +static TQString* _qstring_path = 0; + jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->head((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QHttp_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QHttp_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQHttp*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHttp_newTQHttp__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHttpJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHttp_newTQHttp__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname) +{ +static TQString* _qstring_hostname = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHttpJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHttp_newTQHttp__Ljava_lang_String_2S(JNIEnv* env, jobject obj, jstring hostname, jshort port) +{ +static TQString* _qstring_hostname = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHttpJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname), (Q_UINT16) port)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHttp_newTQHttp__Ljava_lang_String_2SLorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring hostname, jshort port, jobject parent) +{ +static TQString* _qstring_hostname = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHttpJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname), (Q_UINT16) port, (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHttp_newTQHttp__Ljava_lang_String_2SLorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname, jshort port, jobject parent, jstring name) +{ +static TQString* _qstring_hostname = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHttpJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname), (Q_UINT16) port, (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_qt_QHttp_newTQHttp__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHttpJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHttp_newTQHttp__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 TQHttpJBridge((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_qt_QHttp_operationGet(JNIEnv* env, jobject obj, jobject op) +{ + ((TQHttpJBridge*) QtSupport::getQt(env, obj))->protected_operationGet((TQNetworkOperation*) QtSupport::getQt(env, op)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHttp_operationPut(JNIEnv* env, jobject obj, jobject op) +{ + ((TQHttpJBridge*) QtSupport::getQt(env, obj))->protected_operationPut((TQNetworkOperation*) QtSupport::getQt(env, op)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHttp_post__Ljava_lang_String_2Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jstring path, jobject data) +{ +static TQString* _qstring_path = 0; + jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->post((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (TQIODevice*) QtSupport::getQt(env, data)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHttp_post__Ljava_lang_String_2Lorg_kde_qt_QIODeviceInterface_2Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jstring path, jobject data, jobject to) +{ +static TQString* _qstring_path = 0; + jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->post((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (TQIODevice*) QtSupport::getQt(env, data), (TQIODevice*) QtSupport::getQt(env, to)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHttp_post__Ljava_lang_String_2_3B(JNIEnv* env, jobject obj, jstring path, jbyteArray data) +{ +static TQString* _qstring_path = 0; +static TQByteArray* _qbyteArray_data = 0; + jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->post((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHttp_post__Ljava_lang_String_2_3BLorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jstring path, jbyteArray data, jobject to) +{ +static TQString* _qstring_path = 0; +static TQByteArray* _qbyteArray_data = 0; + jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->post((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQIODevice*) QtSupport::getQt(env, to)); + return xret; +} + +JNIEXPORT jbyteArray JNICALL +Java_org_kde_qt_QHttp_readAll(JNIEnv* env, jobject obj) +{ + TQByteArray _qbyteArray; + _qbyteArray = ((TQHttp*) QtSupport::getQt(env, obj))->readAll(); + return QtSupport::fromTQByteArray(env, &_qbyteArray); +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QHttp_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) ((TQHttp*) QtSupport::getQt(env, obj))->readBlock((char*) _qstring_data->data(), (Q_ULONG) maxlen); + QtSupport::fromTQCStringToStringBuffer(env, _qstring_data, data); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHttp_request__Lorg_kde_qt_QHttpRequestHeader_2(JNIEnv* env, jobject obj, jobject header) +{ + jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->request((const TQHttpRequestHeader&)*(const TQHttpRequestHeader*) QtSupport::getQt(env, header)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHttp_request__Lorg_kde_qt_QHttpRequestHeader_2Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject header, jobject device) +{ + jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->request((const TQHttpRequestHeader&)*(const TQHttpRequestHeader*) QtSupport::getQt(env, header), (TQIODevice*) QtSupport::getQt(env, device)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHttp_request__Lorg_kde_qt_QHttpRequestHeader_2Lorg_kde_qt_QIODeviceInterface_2Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject header, jobject device, jobject to) +{ + jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->request((const TQHttpRequestHeader&)*(const TQHttpRequestHeader*) QtSupport::getQt(env, header), (TQIODevice*) QtSupport::getQt(env, device), (TQIODevice*) QtSupport::getQt(env, to)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHttp_request__Lorg_kde_qt_QHttpRequestHeader_2_3B(JNIEnv* env, jobject obj, jobject header, jbyteArray data) +{ +static TQByteArray* _qbyteArray_data = 0; + jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->request((const TQHttpRequestHeader&)*(const TQHttpRequestHeader*) QtSupport::getQt(env, header), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHttp_request__Lorg_kde_qt_QHttpRequestHeader_2_3BLorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject header, jbyteArray data, jobject to) +{ +static TQByteArray* _qbyteArray_data = 0; + jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->request((const TQHttpRequestHeader&)*(const TQHttpRequestHeader*) QtSupport::getQt(env, header), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQIODevice*) QtSupport::getQt(env, to)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHttp_setHost__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname) +{ +static TQString* _qstring_hostname = 0; + jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->setHost((const TQString&)*(TQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHttp_setHost__Ljava_lang_String_2S(JNIEnv* env, jobject obj, jstring hostname, jshort port) +{ +static TQString* _qstring_hostname = 0; + jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->setHost((const TQString&)*(TQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname), (Q_UINT16) port); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHttp_state(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->state(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHttp_supportedOperations(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQHttp*) QtSupport::getQt(env, obj))->supportedOperations(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHttp_timerEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQHttpJBridge*) QtSupport::getQt(env, obj))->protected_timerEvent((TQTimerEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QHttp_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQHttpJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QHttp_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQHttpJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQHttp.h b/qtjava/javalib/qtjava/TQHttp.h new file mode 100644 index 00000000..ab475917 --- /dev/null +++ b/qtjava/javalib/qtjava/TQHttp.h @@ -0,0 +1,64 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QHttp__ +#define __org_kde_qt_QHttp__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QHttp_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHttp_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttp_newTQHttp__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttp_newTQHttp__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttp_newTQHttp__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttp_newTQHttp__Ljava_lang_String_2SLorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jshort, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttp_newTQHttp__Ljava_lang_String_2SLorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jshort, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttp_newTQHttp__Ljava_lang_String_2S (JNIEnv *env, jobject, jstring, jshort); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttp_newTQHttp__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_supportedOperations (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_setHost__Ljava_lang_String_2S (JNIEnv *env, jobject, jstring, jshort); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_setHost__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_get__Ljava_lang_String_2Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_get__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_post__Ljava_lang_String_2Lorg_kde_qt_QIODeviceInterface_2Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jstring, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_post__Ljava_lang_String_2Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_post__Ljava_lang_String_2_3BLorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jstring, jbyteArray, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_post__Ljava_lang_String_2_3B (JNIEnv *env, jobject, jstring, jbyteArray); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_head (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_request__Lorg_kde_qt_QHttpRequestHeader_2Lorg_kde_qt_QIODeviceInterface_2Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jobject, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_request__Lorg_kde_qt_QHttpRequestHeader_2Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_request__Lorg_kde_qt_QHttpRequestHeader_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_request__Lorg_kde_qt_QHttpRequestHeader_2_3BLorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jobject, jbyteArray, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_request__Lorg_kde_qt_QHttpRequestHeader_2_3B (JNIEnv *env, jobject, jobject, jbyteArray); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_closeConnection (JNIEnv *env, jobject); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QHttp_bytesAvailable (JNIEnv *env, jobject); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QHttp_readBlock (JNIEnv *env, jobject, jobject, jlong); +extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QHttp_readAll (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_currentId (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QHttp_currentSourceDevice (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QHttp_currentDestinationDevice (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QHttp_currentRequest (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHttp_hasPendingRequests (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttp_clearPendingRequests (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_state (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttp_error (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHttp_errorString (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttp_abort (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHttp_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHttp_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttp_operationGet (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttp_operationPut (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttp_timerEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttp_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttp_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHttp_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QHttp__ */ diff --git a/qtjava/javalib/qtjava/TQHttpHeader.cpp b/qtjava/javalib/qtjava/TQHttpHeader.cpp new file mode 100644 index 00000000..92e2b44e --- /dev/null +++ b/qtjava/javalib/qtjava/TQHttpHeader.cpp @@ -0,0 +1,123 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHttpHeader_contentLength(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQHttpHeader*) QtSupport::getQt(env, obj))->contentLength(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QHttpHeader_contentType(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQHttpHeader*) QtSupport::getQt(env, obj))->contentType(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QHttpHeader_hasContentLength(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQHttpHeader*) QtSupport::getQt(env, obj))->hasContentLength(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QHttpHeader_hasContentType(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQHttpHeader*) QtSupport::getQt(env, obj))->hasContentType(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QHttpHeader_hasKey(JNIEnv* env, jobject obj, jstring key) +{ +static TQString* _qstring_key = 0; + jboolean xret = (jboolean) ((TQHttpHeader*) QtSupport::getQt(env, obj))->hasKey((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QHttpHeader_isValid(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQHttpHeader*) QtSupport::getQt(env, obj))->isValid(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QHttpHeader_keys(JNIEnv* env, jobject obj) +{ + TQStringList _qlist; + _qlist = ((TQHttpHeader*) QtSupport::getQt(env, obj))->keys(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHttpHeader_majorVersion(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQHttpHeader*) QtSupport::getQt(env, obj))->majorVersion(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHttpHeader_minorVersion(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQHttpHeader*) QtSupport::getQt(env, obj))->minorVersion(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHttpHeader_removeValue(JNIEnv* env, jobject obj, jstring key) +{ +static TQString* _qstring_key = 0; + ((TQHttpHeader*) QtSupport::getQt(env, obj))->removeValue((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHttpHeader_setContentLength(JNIEnv* env, jobject obj, jint len) +{ + ((TQHttpHeader*) QtSupport::getQt(env, obj))->setContentLength((int) len); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHttpHeader_setContentType(JNIEnv* env, jobject obj, jstring type) +{ +static TQString* _qstring_type = 0; + ((TQHttpHeader*) QtSupport::getQt(env, obj))->setContentType((const TQString&)*(TQString*) QtSupport::toTQString(env, type, &_qstring_type)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHttpHeader_setValue(JNIEnv* env, jobject obj, jstring key, jstring value) +{ +static TQString* _qstring_key = 0; +static TQString* _qstring_value = 0; + ((TQHttpHeader*) QtSupport::getQt(env, obj))->setValue((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QHttpHeader_toString(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQHttpHeader*) QtSupport::getQt(env, obj))->toString(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QHttpHeader_value(JNIEnv* env, jobject obj, jstring key) +{ + TQString _qstring; +static TQString* _qstring_key = 0; + _qstring = ((TQHttpHeader*) QtSupport::getQt(env, obj))->value((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQHttpHeader.h b/qtjava/javalib/qtjava/TQHttpHeader.h new file mode 100644 index 00000000..76117776 --- /dev/null +++ b/qtjava/javalib/qtjava/TQHttpHeader.h @@ -0,0 +1,33 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QHttpHeader__ +#define __org_kde_qt_QHttpHeader__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHttpHeader_value (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpHeader_setValue (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpHeader_removeValue (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QHttpHeader_keys (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHttpHeader_hasKey (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHttpHeader_hasContentLength (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttpHeader_contentLength (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpHeader_setContentLength (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHttpHeader_hasContentType (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHttpHeader_contentType (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpHeader_setContentType (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHttpHeader_toString (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHttpHeader_isValid (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttpHeader_majorVersion (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttpHeader_minorVersion (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QHttpHeader__ */ diff --git a/qtjava/javalib/qtjava/TQHttpRequestHeader.cpp b/qtjava/javalib/qtjava/TQHttpRequestHeader.cpp new file mode 100644 index 00000000..7e095b46 --- /dev/null +++ b/qtjava/javalib/qtjava/TQHttpRequestHeader.cpp @@ -0,0 +1,185 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQHttpRequestHeaderJBridge : public TQHttpRequestHeader +{ +public: + TQHttpRequestHeaderJBridge() : TQHttpRequestHeader() {}; + TQHttpRequestHeaderJBridge(const TQString& arg1,const TQString& arg2,int arg3,int arg4) : TQHttpRequestHeader(arg1,arg2,arg3,arg4) {}; + TQHttpRequestHeaderJBridge(const TQString& arg1,const TQString& arg2,int arg3) : TQHttpRequestHeader(arg1,arg2,arg3) {}; + TQHttpRequestHeaderJBridge(const TQString& arg1,const TQString& arg2) : TQHttpRequestHeader(arg1,arg2) {}; + TQHttpRequestHeaderJBridge(const TQHttpRequestHeader& arg1) : TQHttpRequestHeader(arg1) {}; + TQHttpRequestHeaderJBridge(const TQString& arg1) : TQHttpRequestHeader(arg1) {}; + bool protected_parseLine(const TQString& arg1,int arg2) { + return (bool) TQHttpRequestHeader::parseLine(arg1,arg2); + } + ~TQHttpRequestHeaderJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHttpRequestHeader_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QHttpRequestHeader_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHttpRequestHeader_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQHttpRequestHeader*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QHttpRequestHeader_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHttpRequestHeader_majorVersion(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQHttpRequestHeader*) QtSupport::getQt(env, obj))->majorVersion(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QHttpRequestHeader_method(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQHttpRequestHeader*) QtSupport::getQt(env, obj))->method(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHttpRequestHeader_minorVersion(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQHttpRequestHeader*) QtSupport::getQt(env, obj))->minorVersion(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHttpRequestHeader_newTQHttpRequestHeader__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHttpRequestHeaderJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHttpRequestHeader_newTQHttpRequestHeader__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring str) +{ +static TQString* _qstring_str = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHttpRequestHeaderJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHttpRequestHeader_newTQHttpRequestHeader__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring method, jstring path) +{ +static TQString* _qstring_method = 0; +static TQString* _qstring_path = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHttpRequestHeaderJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, method, &_qstring_method), (const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHttpRequestHeader_newTQHttpRequestHeader__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring method, jstring path, jint majorVer) +{ +static TQString* _qstring_method = 0; +static TQString* _qstring_path = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHttpRequestHeaderJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, method, &_qstring_method), (const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (int) majorVer)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHttpRequestHeader_newTQHttpRequestHeader__Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring method, jstring path, jint majorVer, jint minorVer) +{ +static TQString* _qstring_method = 0; +static TQString* _qstring_path = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHttpRequestHeaderJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, method, &_qstring_method), (const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (int) majorVer, (int) minorVer)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHttpRequestHeader_newTQHttpRequestHeader__Lorg_kde_qt_QHttpRequestHeader_2(JNIEnv* env, jobject obj, jobject header) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHttpRequestHeaderJBridge((const TQHttpRequestHeader&)*(const TQHttpRequestHeader*) QtSupport::getQt(env, header))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QHttpRequestHeader_parseLine(JNIEnv* env, jobject obj, jstring line, jint number) +{ +static TQString* _qstring_line = 0; + jboolean xret = (jboolean) ((TQHttpRequestHeaderJBridge*) QtSupport::getQt(env, obj))->protected_parseLine((const TQString&)*(TQString*) QtSupport::toTQString(env, line, &_qstring_line), (int) number); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QHttpRequestHeader_path(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQHttpRequestHeader*) QtSupport::getQt(env, obj))->path(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHttpRequestHeader_setRequest__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring method, jstring path) +{ +static TQString* _qstring_method = 0; +static TQString* _qstring_path = 0; + ((TQHttpRequestHeader*) QtSupport::getQt(env, obj))->setRequest((const TQString&)*(TQString*) QtSupport::toTQString(env, method, &_qstring_method), (const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHttpRequestHeader_setRequest__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring method, jstring path, jint majorVer) +{ +static TQString* _qstring_method = 0; +static TQString* _qstring_path = 0; + ((TQHttpRequestHeader*) QtSupport::getQt(env, obj))->setRequest((const TQString&)*(TQString*) QtSupport::toTQString(env, method, &_qstring_method), (const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (int) majorVer); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHttpRequestHeader_setRequest__Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring method, jstring path, jint majorVer, jint minorVer) +{ +static TQString* _qstring_method = 0; +static TQString* _qstring_path = 0; + ((TQHttpRequestHeader*) QtSupport::getQt(env, obj))->setRequest((const TQString&)*(TQString*) QtSupport::toTQString(env, method, &_qstring_method), (const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (int) majorVer, (int) minorVer); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QHttpRequestHeader_toString(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQHttpRequestHeader*) QtSupport::getQt(env, obj))->toString(); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQHttpRequestHeader.h b/qtjava/javalib/qtjava/TQHttpRequestHeader.h new file mode 100644 index 00000000..dafdbd76 --- /dev/null +++ b/qtjava/javalib/qtjava/TQHttpRequestHeader.h @@ -0,0 +1,36 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QHttpRequestHeader__ +#define __org_kde_qt_QHttpRequestHeader__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_newTQHttpRequestHeader__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_newTQHttpRequestHeader__Ljava_lang_String_2Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jstring, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_newTQHttpRequestHeader__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_newTQHttpRequestHeader__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_newTQHttpRequestHeader__Lorg_kde_qt_QHttpRequestHeader_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_newTQHttpRequestHeader__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_setRequest__Ljava_lang_String_2Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jstring, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_setRequest__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_setRequest__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHttpRequestHeader_method (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHttpRequestHeader_path (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttpRequestHeader_majorVersion (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttpRequestHeader_minorVersion (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHttpRequestHeader_toString (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHttpRequestHeader_parseLine (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHttpRequestHeader_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QHttpRequestHeader__ */ diff --git a/qtjava/javalib/qtjava/TQHttpResponseHeader.cpp b/qtjava/javalib/qtjava/TQHttpResponseHeader.cpp new file mode 100644 index 00000000..2cc85cd4 --- /dev/null +++ b/qtjava/javalib/qtjava/TQHttpResponseHeader.cpp @@ -0,0 +1,106 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQHttpResponseHeaderJBridge : public TQHttpResponseHeader +{ +public: + TQHttpResponseHeaderJBridge() : TQHttpResponseHeader() {}; + TQHttpResponseHeaderJBridge(const TQHttpResponseHeader& arg1) : TQHttpResponseHeader(arg1) {}; + bool protected_parseLine(const TQString& arg1,int arg2) { + return (bool) TQHttpResponseHeader::parseLine(arg1,arg2); + } + ~TQHttpResponseHeaderJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHttpResponseHeader_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QHttpResponseHeader_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHttpResponseHeader_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQHttpResponseHeader*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QHttpResponseHeader_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHttpResponseHeader_majorVersion(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQHttpResponseHeader*) QtSupport::getQt(env, obj))->majorVersion(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHttpResponseHeader_minorVersion(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQHttpResponseHeader*) QtSupport::getQt(env, obj))->minorVersion(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHttpResponseHeader_newTQHttpResponseHeader__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHttpResponseHeaderJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QHttpResponseHeader_newTQHttpResponseHeader__Lorg_kde_qt_QHttpResponseHeader_2(JNIEnv* env, jobject obj, jobject header) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQHttpResponseHeaderJBridge((const TQHttpResponseHeader&)*(const TQHttpResponseHeader*) QtSupport::getQt(env, header))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QHttpResponseHeader_parseLine(JNIEnv* env, jobject obj, jstring line, jint number) +{ +static TQString* _qstring_line = 0; + jboolean xret = (jboolean) ((TQHttpResponseHeaderJBridge*) QtSupport::getQt(env, obj))->protected_parseLine((const TQString&)*(TQString*) QtSupport::toTQString(env, line, &_qstring_line), (int) number); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QHttpResponseHeader_reasonPhrase(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQHttpResponseHeader*) QtSupport::getQt(env, obj))->reasonPhrase(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QHttpResponseHeader_statusCode(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQHttpResponseHeader*) QtSupport::getQt(env, obj))->statusCode(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QHttpResponseHeader_toString(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQHttpResponseHeader*) QtSupport::getQt(env, obj))->toString(); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQHttpResponseHeader.h b/qtjava/javalib/qtjava/TQHttpResponseHeader.h new file mode 100644 index 00000000..a0e3e874 --- /dev/null +++ b/qtjava/javalib/qtjava/TQHttpResponseHeader.h @@ -0,0 +1,29 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QHttpResponseHeader__ +#define __org_kde_qt_QHttpResponseHeader__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpResponseHeader_newTQHttpResponseHeader__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpResponseHeader_newTQHttpResponseHeader__Lorg_kde_qt_QHttpResponseHeader_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttpResponseHeader_statusCode (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHttpResponseHeader_reasonPhrase (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttpResponseHeader_majorVersion (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QHttpResponseHeader_minorVersion (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHttpResponseHeader_toString (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHttpResponseHeader_parseLine (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpResponseHeader_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpResponseHeader_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHttpResponseHeader_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QHttpResponseHeader__ */ diff --git a/qtjava/javalib/qtjava/TQIMEvent.cpp b/qtjava/javalib/qtjava/TQIMEvent.cpp new file mode 100644 index 00000000..fb14b5ee --- /dev/null +++ b/qtjava/javalib/qtjava/TQIMEvent.cpp @@ -0,0 +1,91 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQIMEventJBridge : public TQIMEvent +{ +public: + TQIMEventJBridge(TQEvent::Type arg1,const TQString& arg2,int arg3) : TQIMEvent(arg1,arg2,arg3) {}; + ~TQIMEventJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIMEvent_accept(JNIEnv* env, jobject obj) +{ + ((TQIMEvent*) QtSupport::getQt(env, obj))->accept(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIMEvent_cursorPos(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIMEvent*) QtSupport::getQt(env, obj))->cursorPos(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIMEvent_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QIMEvent_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIMEvent_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQIMEvent*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIMEvent_ignore(JNIEnv* env, jobject obj) +{ + ((TQIMEvent*) QtSupport::getQt(env, obj))->ignore(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIMEvent_isAccepted(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIMEvent*) QtSupport::getQt(env, obj))->isAccepted(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIMEvent_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIMEvent_newTQIMEvent(JNIEnv* env, jobject obj, jint type, jstring text, jint cursorPosition) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQIMEventJBridge((TQEvent::Type) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) cursorPosition)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIMEvent_selectionLength(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIMEvent*) QtSupport::getQt(env, obj))->selectionLength(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QIMEvent_text(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQIMEvent*) QtSupport::getQt(env, obj))->text(); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQIMEvent.h b/qtjava/javalib/qtjava/TQIMEvent.h new file mode 100644 index 00000000..17971a80 --- /dev/null +++ b/qtjava/javalib/qtjava/TQIMEvent.h @@ -0,0 +1,28 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QIMEvent__ +#define __org_kde_qt_QIMEvent__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIMEvent_newTQIMEvent (JNIEnv *env, jobject, jint, jstring, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QIMEvent_text (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIMEvent_cursorPos (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIMEvent_isAccepted (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIMEvent_accept (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIMEvent_ignore (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIMEvent_selectionLength (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIMEvent_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIMEvent_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIMEvent_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QIMEvent__ */ diff --git a/qtjava/javalib/qtjava/TQIODevice.cpp b/qtjava/javalib/qtjava/TQIODevice.cpp new file mode 100644 index 00000000..d3e766b5 --- /dev/null +++ b/qtjava/javalib/qtjava/TQIODevice.cpp @@ -0,0 +1,254 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIODevice_atEnd(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIODevice*) QtSupport::getQt(env, obj))->atEnd(); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QIODevice_at__(JNIEnv* env, jobject obj) +{ + jlong xret = (jlong) ((TQIODevice*) QtSupport::getQt(env, obj))->at(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIODevice_at__J(JNIEnv* env, jobject obj, jlong arg1) +{ + jboolean xret = (jboolean) ((TQIODevice*) QtSupport::getQt(env, obj))->at((TQIODevice::Offset) arg1); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIODevice_close(JNIEnv* env, jobject obj) +{ + ((TQIODevice*) QtSupport::getQt(env, obj))->close(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIODevice_flags(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIODevice*) QtSupport::getQt(env, obj))->flags(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIODevice_flush(JNIEnv* env, jobject obj) +{ + ((TQIODevice*) QtSupport::getQt(env, obj))->flush(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIODevice_getch(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIODevice*) QtSupport::getQt(env, obj))->getch(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIODevice_isAsynchronous(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIODevice*) QtSupport::getQt(env, obj))->isAsynchronous(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIODevice_isBuffered(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIODevice*) QtSupport::getQt(env, obj))->isBuffered(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIODevice_isCombinedAccess(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIODevice*) QtSupport::getQt(env, obj))->isCombinedAccess(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIODevice_isDirectAccess(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIODevice*) QtSupport::getQt(env, obj))->isDirectAccess(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIODevice_isInactive(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIODevice*) QtSupport::getQt(env, obj))->isInactive(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIODevice_isOpen(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIODevice*) QtSupport::getQt(env, obj))->isOpen(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIODevice_isRaw(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIODevice*) QtSupport::getQt(env, obj))->isRaw(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIODevice_isReadWrite(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIODevice*) QtSupport::getQt(env, obj))->isReadWrite(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIODevice_isReadable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIODevice*) QtSupport::getQt(env, obj))->isReadable(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIODevice_isSequentialAccess(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIODevice*) QtSupport::getQt(env, obj))->isSequentialAccess(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIODevice_isSynchronous(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIODevice*) QtSupport::getQt(env, obj))->isSynchronous(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIODevice_isTranslated(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIODevice*) QtSupport::getQt(env, obj))->isTranslated(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIODevice_isWritable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIODevice*) QtSupport::getQt(env, obj))->isWritable(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIODevice_mode(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIODevice*) QtSupport::getQt(env, obj))->mode(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIODevice_open(JNIEnv* env, jobject obj, jint mode) +{ + jboolean xret = (jboolean) ((TQIODevice*) QtSupport::getQt(env, obj))->open((int) mode); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIODevice_putch(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQIODevice*) QtSupport::getQt(env, obj))->putch((int) arg1); + return xret; +} + +JNIEXPORT jbyteArray JNICALL +Java_org_kde_qt_QIODevice_readAll(JNIEnv* env, jobject obj) +{ + TQByteArray _qbyteArray; + _qbyteArray = ((TQIODevice*) QtSupport::getQt(env, obj))->readAll(); + return QtSupport::fromTQByteArray(env, &_qbyteArray); +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QIODevice_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*) QtSupport::getQt(env, obj))->readBlock((char*) _qstring_data->data(), (Q_ULONG) maxlen); + QtSupport::fromTQCStringToStringBuffer(env, _qstring_data, data); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QIODevice_readLine(JNIEnv* env, jobject obj, jstring data, jlong maxlen) +{ +static TQCString* _qstring_data = 0; + jlong xret = (jlong) ((TQIODevice*) QtSupport::getQt(env, obj))->readLine((char*) QtSupport::toCharString(env, data, &_qstring_data), (Q_ULONG) maxlen); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIODevice_resetStatus(JNIEnv* env, jobject obj) +{ + ((TQIODevice*) QtSupport::getQt(env, obj))->resetStatus(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIODevice_reset(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIODevice*) QtSupport::getQt(env, obj))->reset(); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QIODevice_size(JNIEnv* env, jobject obj) +{ + jlong xret = (jlong) ((TQIODevice*) QtSupport::getQt(env, obj))->size(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIODevice_state(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIODevice*) QtSupport::getQt(env, obj))->state(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIODevice_status(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIODevice*) QtSupport::getQt(env, obj))->status(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIODevice_ungetch(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQIODevice*) QtSupport::getQt(env, obj))->ungetch((int) arg1); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QIODevice_writeBlock__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring data, jlong len) +{ +static TQCString* _qstring_data = 0; + jlong xret = (jlong) ((TQIODevice*) QtSupport::getQt(env, obj))->writeBlock((const char*) QtSupport::toCharString(env, data, &_qstring_data), (Q_ULONG) len); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QIODevice_writeBlock___3B(JNIEnv* env, jobject obj, jbyteArray data) +{ +static TQByteArray* _qbyteArray_data = 0; + jlong xret = (jlong) ((TQIODevice*) QtSupport::getQt(env, obj))->writeBlock((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQIODevice.h b/qtjava/javalib/qtjava/TQIODevice.h new file mode 100644 index 00000000..81e0ac58 --- /dev/null +++ b/qtjava/javalib/qtjava/TQIODevice.h @@ -0,0 +1,52 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QIODevice__ +#define __org_kde_qt_QIODevice__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIODevice_flags (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIODevice_mode (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIODevice_state (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODevice_isDirectAccess (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODevice_isSequentialAccess (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODevice_isCombinedAccess (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODevice_isBuffered (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODevice_isRaw (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODevice_isSynchronous (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODevice_isAsynchronous (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODevice_isTranslated (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODevice_isReadable (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODevice_isWritable (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODevice_isReadWrite (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODevice_isInactive (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODevice_isOpen (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIODevice_status (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIODevice_resetStatus (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODevice_open (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIODevice_close (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIODevice_flush (JNIEnv *env, jobject); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QIODevice_size (JNIEnv *env, jobject); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QIODevice_at__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODevice_at__J (JNIEnv *env, jobject, jlong); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODevice_atEnd (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODevice_reset (JNIEnv *env, jobject); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QIODevice_readBlock (JNIEnv *env, jobject, jobject, jlong); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QIODevice_writeBlock__Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jlong); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QIODevice_readLine (JNIEnv *env, jobject, jstring, jlong); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QIODevice_writeBlock___3B (JNIEnv *env, jobject, jbyteArray); +extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QIODevice_readAll (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIODevice_getch (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIODevice_putch (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIODevice_ungetch (JNIEnv *env, jobject, jint); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QIODevice__ */ diff --git a/qtjava/javalib/qtjava/TQIODeviceSource.cpp b/qtjava/javalib/qtjava/TQIODeviceSource.cpp new file mode 100644 index 00000000..9044fb59 --- /dev/null +++ b/qtjava/javalib/qtjava/TQIODeviceSource.cpp @@ -0,0 +1,92 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + +class TQIODeviceSourceJBridge : public TQIODeviceSource +{ +public: + TQIODeviceSourceJBridge(TQIODevice* arg1,int arg2) : TQIODeviceSource(arg1,arg2) {}; + TQIODeviceSourceJBridge(TQIODevice* arg1) : TQIODeviceSource(arg1) {}; + ~TQIODeviceSourceJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIODeviceSource_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QIODeviceSource_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIODeviceSource_enableRewind(JNIEnv* env, jobject obj, jboolean on) +{ + ((TQIODeviceSource*) QtSupport::getQt(env, obj))->enableRewind((bool) on); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIODeviceSource_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQIODeviceSource*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIODeviceSource_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIODeviceSource_newTQIODeviceSource__Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQIODeviceSourceJBridge((TQIODevice*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIODeviceSource_newTQIODeviceSource__Lorg_kde_qt_QIODeviceInterface_2I(JNIEnv* env, jobject obj, jobject arg1, jint bufsize) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQIODeviceSourceJBridge((TQIODevice*) QtSupport::getQt(env, arg1), (int) bufsize)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIODeviceSource_readyToSend(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIODeviceSource*) QtSupport::getQt(env, obj))->readyToSend(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIODeviceSource_rewind(JNIEnv* env, jobject obj) +{ + ((TQIODeviceSource*) QtSupport::getQt(env, obj))->rewind(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIODeviceSource_rewindable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIODeviceSource*) QtSupport::getQt(env, obj))->rewindable(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIODeviceSource_sendTo(JNIEnv* env, jobject obj, jobject sink, jint n) +{ + ((TQIODeviceSource*) QtSupport::getQt(env, obj))->sendTo((TQDataSink*) QtSupport::getQt(env, sink), (int) n); + return; +} + diff --git a/qtjava/javalib/qtjava/TQIODeviceSource.h b/qtjava/javalib/qtjava/TQIODeviceSource.h new file mode 100644 index 00000000..4b895d39 --- /dev/null +++ b/qtjava/javalib/qtjava/TQIODeviceSource.h @@ -0,0 +1,28 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QIODeviceSource__ +#define __org_kde_qt_QIODeviceSource__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIODeviceSource_newTQIODeviceSource__Lorg_kde_qt_QIODeviceInterface_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIODeviceSource_newTQIODeviceSource__Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIODeviceSource_readyToSend (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIODeviceSource_sendTo (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODeviceSource_rewindable (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIODeviceSource_enableRewind (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIODeviceSource_rewind (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIODeviceSource_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIODeviceSource_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIODeviceSource_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QIODeviceSource__ */ diff --git a/qtjava/javalib/qtjava/TQIconDrag.cpp b/qtjava/javalib/qtjava/TQIconDrag.cpp new file mode 100644 index 00000000..63bf8b7d --- /dev/null +++ b/qtjava/javalib/qtjava/TQIconDrag.cpp @@ -0,0 +1,166 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +class TQIconDragJBridge : public TQIconDrag +{ +public: + TQIconDragJBridge(TQWidget* arg1,const char* arg2) : TQIconDrag(arg1,arg2) {}; + TQIconDragJBridge(TQWidget* arg1) : TQIconDrag(arg1) {}; + ~TQIconDragJBridge() {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.qt.TQIconDrag",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconDrag_append(JNIEnv* env, jobject obj, jobject item, jobject pr, jobject tr) +{ + ((TQIconDrag*) QtSupport::getQt(env, obj))->append((const TQIconDragItem&)*(const TQIconDragItem*) QtSupport::getQt(env, item), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, pr), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, tr)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIconDrag_canDecode(JNIEnv* env, jclass cls, jobject e) +{ + (void) cls; + jboolean xret = (jboolean) TQIconDragJBridge::canDecode((TQMimeSource*) QtSupport::mimeSource(env, e)); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QIconDrag_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQIconDrag*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconDrag_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QIconDrag_finalize(env, obj); + return; +} + +JNIEXPORT jbyteArray JNICALL +Java_org_kde_qt_QIconDrag_encodedData(JNIEnv* env, jobject obj, jstring mime) +{ + TQByteArray _qbyteArray; +static TQCString* _qstring_mime = 0; + _qbyteArray = ((TQIconDrag*) QtSupport::getQt(env, obj))->encodedData((const char*) QtSupport::toCharString(env, mime, &_qstring_mime)); + return QtSupport::fromTQByteArray(env, &_qbyteArray); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconDrag_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQIconDrag*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQIconDrag*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QIconDrag_format(JNIEnv* env, jobject obj, jint i) +{ + const char* _qstring; + _qstring = ((TQIconDrag*) QtSupport::getQt(env, obj))->format((int) i); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIconDrag_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconDrag_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconDrag*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconDrag_newTQIconDrag__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject dragSource) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQIconDragJBridge((TQWidget*) QtSupport::getQt(env, dragSource))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconDrag_newTQIconDrag__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 TQIconDragJBridge((TQWidget*) QtSupport::getQt(env, dragSource), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QIconDrag_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQIconDragJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QIconDrag_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQIconDragJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQIconDrag.h b/qtjava/javalib/qtjava/TQIconDrag.h new file mode 100644 index 00000000..bb54c434 --- /dev/null +++ b/qtjava/javalib/qtjava/TQIconDrag.h @@ -0,0 +1,31 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QIconDrag__ +#define __org_kde_qt_QIconDrag__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconDrag_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QIconDrag_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconDrag_newTQIconDrag__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconDrag_newTQIconDrag__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconDrag_append (JNIEnv *env, jobject, jobject, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QIconDrag_format (JNIEnv *env, jobject, jint); +extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QIconDrag_encodedData (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QIconDrag_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QIconDrag_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconDrag_canDecode (JNIEnv *env, jclass, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconDrag_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconDrag_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconDrag_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QIconDrag__ */ diff --git a/qtjava/javalib/qtjava/TQIconDragItem.cpp b/qtjava/javalib/qtjava/TQIconDragItem.cpp new file mode 100644 index 00000000..0598c181 --- /dev/null +++ b/qtjava/javalib/qtjava/TQIconDragItem.cpp @@ -0,0 +1,70 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQIconDragItemJBridge : public TQIconDragItem +{ +public: + TQIconDragItemJBridge() : TQIconDragItem() {}; + ~TQIconDragItemJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jbyteArray JNICALL +Java_org_kde_qt_QIconDragItem_data(JNIEnv* env, jobject obj) +{ + TQByteArray _qbyteArray; + _qbyteArray = ((TQIconDragItem*) QtSupport::getQt(env, obj))->data(); + return QtSupport::fromTQByteArray(env, &_qbyteArray); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconDragItem_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QIconDragItem_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconDragItem_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQIconDragItem*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIconDragItem_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconDragItem_newTQIconDragItem(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQIconDragItemJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIconDragItem_op_1equals(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQIconDragItem*) QtSupport::getQt(env, obj))->operator==((const TQIconDragItem&)*(const TQIconDragItem*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconDragItem_setData(JNIEnv* env, jobject obj, jbyteArray d) +{ +static TQByteArray* _qbyteArray_d = 0; + ((TQIconDragItem*) QtSupport::getQt(env, obj))->setData((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, d, &_qbyteArray_d)); + return; +} + diff --git a/qtjava/javalib/qtjava/TQIconDragItem.h b/qtjava/javalib/qtjava/TQIconDragItem.h new file mode 100644 index 00000000..3b36034a --- /dev/null +++ b/qtjava/javalib/qtjava/TQIconDragItem.h @@ -0,0 +1,25 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QIconDragItem__ +#define __org_kde_qt_QIconDragItem__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconDragItem_newTQIconDragItem (JNIEnv *env, jobject); +extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QIconDragItem_data (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconDragItem_setData (JNIEnv *env, jobject, jbyteArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconDragItem_op_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconDragItem_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconDragItem_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconDragItem_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QIconDragItem__ */ diff --git a/qtjava/javalib/qtjava/TQIconSet.cpp b/qtjava/javalib/qtjava/TQIconSet.cpp new file mode 100644 index 00000000..5aadbfca --- /dev/null +++ b/qtjava/javalib/qtjava/TQIconSet.cpp @@ -0,0 +1,231 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +class TQIconSetJBridge : public TQIconSet +{ +public: + TQIconSetJBridge() : TQIconSet() {}; + TQIconSetJBridge(const TQPixmap& arg1,TQIconSet::Size arg2) : TQIconSet(arg1,arg2) {}; + TQIconSetJBridge(const TQPixmap& arg1) : TQIconSet(arg1) {}; + TQIconSetJBridge(const TQPixmap& arg1,const TQPixmap& arg2) : TQIconSet(arg1,arg2) {}; + TQIconSetJBridge(const TQIconSet& arg1) : TQIconSet(arg1) {}; + ~TQIconSetJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconSet_clearGenerated(JNIEnv* env, jobject obj) +{ + ((TQIconSet*) QtSupport::getQt(env, obj))->clearGenerated(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconSet_detach(JNIEnv* env, jobject obj) +{ + ((TQIconSet*) QtSupport::getQt(env, obj))->detach(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconSet_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QIconSet_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconSet_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQIconSet*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconSet_iconSize(JNIEnv* env, jclass cls, jint which) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQSize *) &TQIconSetJBridge::iconSize((TQIconSet::Size) which), "org.kde.qt.TQSize"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIconSet_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIconSet_isGenerated__II(JNIEnv* env, jobject obj, jint size, jint mode) +{ + jboolean xret = (jboolean) ((TQIconSet*) QtSupport::getQt(env, obj))->isGenerated((TQIconSet::Size) size, (TQIconSet::Mode) mode); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIconSet_isGenerated__III(JNIEnv* env, jobject obj, jint size, jint mode, jint state) +{ + jboolean xret = (jboolean) ((TQIconSet*) QtSupport::getQt(env, obj))->isGenerated((TQIconSet::Size) size, (TQIconSet::Mode) mode, (TQIconSet::State) state); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIconSet_isNull(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIconSet*) QtSupport::getQt(env, obj))->isNull(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconSet_newTQIconSet__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQIconSetJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconSet_newTQIconSet__Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jobject other) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQIconSetJBridge((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, other))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconSet_newTQIconSet__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pixmap) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQIconSetJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconSet_newTQIconSet__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint size) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQIconSetJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQIconSet::Size) size)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconSet_newTQIconSet__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject smallPix, jobject largePix) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQIconSetJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, smallPix), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, largePix))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconSet_pixmap__(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQIconSet*) QtSupport::getQt(env, obj))->pixmap()), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconSet_pixmap__II(JNIEnv* env, jobject obj, jint size, jint mode) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQIconSet*) QtSupport::getQt(env, obj))->pixmap((TQIconSet::Size) size, (TQIconSet::Mode) mode)), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconSet_pixmap__III(JNIEnv* env, jobject obj, jint size, jint mode, jint state) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQIconSet*) QtSupport::getQt(env, obj))->pixmap((TQIconSet::Size) size, (TQIconSet::Mode) mode, (TQIconSet::State) state)), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconSet_pixmap__IZ(JNIEnv* env, jobject obj, jint size, jboolean enabled) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQIconSet*) QtSupport::getQt(env, obj))->pixmap((TQIconSet::Size) size, (bool) enabled)), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconSet_pixmap__IZI(JNIEnv* env, jobject obj, jint size, jboolean enabled, jint state) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQIconSet*) QtSupport::getQt(env, obj))->pixmap((TQIconSet::Size) size, (bool) enabled, (TQIconSet::State) state)), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconSet_reset(JNIEnv* env, jobject obj, jobject pixmap, jint size) +{ + ((TQIconSet*) QtSupport::getQt(env, obj))->reset((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQIconSet::Size) size); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconSet_setIconSize(JNIEnv* env, jclass cls, jint which, jobject size) +{ + (void) cls; + TQIconSetJBridge::setIconSize((TQIconSet::Size) which, (const TQSize&)*(const TQSize*) QtSupport::getQt(env, size)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconSet_setPixmap__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring fileName, jint size) +{ +static TQString* _qstring_fileName = 0; + ((TQIconSet*) QtSupport::getQt(env, obj))->setPixmap((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (TQIconSet::Size) size); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconSet_setPixmap__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring fileName, jint size, jint mode) +{ +static TQString* _qstring_fileName = 0; + ((TQIconSet*) QtSupport::getQt(env, obj))->setPixmap((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (TQIconSet::Size) size, (TQIconSet::Mode) mode); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconSet_setPixmap__Ljava_lang_String_2III(JNIEnv* env, jobject obj, jstring fileName, jint size, jint mode, jint state) +{ +static TQString* _qstring_fileName = 0; + ((TQIconSet*) QtSupport::getQt(env, obj))->setPixmap((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (TQIconSet::Size) size, (TQIconSet::Mode) mode, (TQIconSet::State) state); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconSet_setPixmap__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint size) +{ + ((TQIconSet*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQIconSet::Size) size); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconSet_setPixmap__Lorg_kde_qt_QPixmap_2II(JNIEnv* env, jobject obj, jobject pixmap, jint size, jint mode) +{ + ((TQIconSet*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQIconSet::Size) size, (TQIconSet::Mode) mode); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconSet_setPixmap__Lorg_kde_qt_QPixmap_2III(JNIEnv* env, jobject obj, jobject pixmap, jint size, jint mode, jint state) +{ + ((TQIconSet*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQIconSet::Size) size, (TQIconSet::Mode) mode, (TQIconSet::State) state); + return; +} + diff --git a/qtjava/javalib/qtjava/TQIconSet.h b/qtjava/javalib/qtjava/TQIconSet.h new file mode 100644 index 00000000..9773ceab --- /dev/null +++ b/qtjava/javalib/qtjava/TQIconSet.h @@ -0,0 +1,45 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QIconSet__ +#define __org_kde_qt_QIconSet__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_newTQIconSet__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_newTQIconSet__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_newTQIconSet__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_newTQIconSet__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_newTQIconSet__Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_reset (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_setPixmap__Lorg_kde_qt_QPixmap_2III (JNIEnv *env, jobject, jobject, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_setPixmap__Lorg_kde_qt_QPixmap_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_setPixmap__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_setPixmap__Ljava_lang_String_2III (JNIEnv *env, jobject, jstring, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_setPixmap__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_setPixmap__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconSet_pixmap__III (JNIEnv *env, jobject, jint, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconSet_pixmap__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconSet_pixmap__IZI (JNIEnv *env, jobject, jint, jboolean, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconSet_pixmap__IZ (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconSet_pixmap__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconSet_isGenerated__III (JNIEnv *env, jobject, jint, jint, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconSet_isGenerated__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_clearGenerated (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconSet_isNull (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_detach (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_setIconSize (JNIEnv *env, jclass, jint, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconSet_iconSize (JNIEnv *env, jclass, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconSet_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QIconSet__ */ diff --git a/qtjava/javalib/qtjava/TQIconView.cpp b/qtjava/javalib/qtjava/TQIconView.cpp new file mode 100644 index 00000000..6917393b --- /dev/null +++ b/qtjava/javalib/qtjava/TQIconView.cpp @@ -0,0 +1,1522 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQIconViewJBridge : public TQIconView +{ +public: + TQIconViewJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQIconView(arg1,arg2,arg3) {}; + TQIconViewJBridge(TQWidget* arg1,const char* arg2) : TQIconView(arg1,arg2) {}; + TQIconViewJBridge(TQWidget* arg1) : TQIconView(arg1) {}; + TQIconViewJBridge() : TQIconView() {}; + void public_clearSelection() { + TQIconView::clearSelection(); + return; + } + void public_invertSelection() { + TQIconView::invertSelection(); + return; + } + void public_clear() { + TQIconView::clear(); + return; + } + void public_sort() { + TQIconView::sort(); + return; + } + void public_arrangeItemsInGrid() { + TQIconView::arrangeItemsInGrid(); + return; + } + void public_updateContents() { + TQIconView::updateContents(); + return; + } + void protected_drawContents(TQPainter* arg1,int arg2,int arg3,int arg4,int arg5) { + TQIconView::drawContents(arg1,arg2,arg3,arg4,arg5); + return; + } + void protected_contentsMousePressEvent(TQMouseEvent* arg1) { + TQIconView::contentsMousePressEvent(arg1); + return; + } + void protected_contentsMouseReleaseEvent(TQMouseEvent* arg1) { + TQIconView::contentsMouseReleaseEvent(arg1); + return; + } + void protected_contentsMouseMoveEvent(TQMouseEvent* arg1) { + TQIconView::contentsMouseMoveEvent(arg1); + return; + } + void protected_contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { + TQIconView::contentsMouseDoubleClickEvent(arg1); + return; + } + void protected_contentsContextMenuEvent(TQContextMenuEvent* arg1) { + TQIconView::contentsContextMenuEvent(arg1); + return; + } + void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) { + TQIconView::contentsDragEnterEvent(arg1); + return; + } + void protected_contentsDragMoveEvent(TQDragMoveEvent* arg1) { + TQIconView::contentsDragMoveEvent(arg1); + return; + } + void protected_contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { + TQIconView::contentsDragLeaveEvent(arg1); + return; + } + void protected_contentsDropEvent(TQDropEvent* arg1) { + TQIconView::contentsDropEvent(arg1); + return; + } + void protected_resizeEvent(TQResizeEvent* arg1) { + TQIconView::resizeEvent(arg1); + return; + } + void protected_keyPressEvent(TQKeyEvent* arg1) { + TQIconView::keyPressEvent(arg1); + return; + } + void protected_focusInEvent(TQFocusEvent* arg1) { + TQIconView::focusInEvent(arg1); + return; + } + void protected_focusOutEvent(TQFocusEvent* arg1) { + TQIconView::focusOutEvent(arg1); + return; + } + void protected_enterEvent(TQEvent* arg1) { + TQIconView::enterEvent(arg1); + return; + } + void protected_drawRubber(TQPainter* arg1) { + TQIconView::drawRubber(arg1); + return; + } + TQDragObject* protected_dragObject() { + return (TQDragObject*) TQIconView::dragObject(); + } + void protected_startDrag() { + TQIconView::startDrag(); + return; + } + void protected_insertInGrid(TQIconViewItem* arg1) { + TQIconView::insertInGrid(arg1); + return; + } + void protected_drawBackground(TQPainter* arg1,const TQRect& arg2) { + TQIconView::drawBackground(arg1,arg2); + return; + } + void protected_emitSelectionChanged(TQIconViewItem* arg1) { + TQIconView::emitSelectionChanged(arg1); + return; + } + void protected_emitSelectionChanged() { + TQIconView::emitSelectionChanged(); + return; + } + void protected_emitRenamed(TQIconViewItem* arg1) { + TQIconView::emitRenamed(arg1); + return; + } + TQIconViewItem* protected_makeRowLayout(TQIconViewItem* arg1,int& arg2,bool& arg3) { + return (TQIconViewItem*) TQIconView::makeRowLayout(arg1,arg2,arg3); + } + void protected_styleChange(TQStyle& arg1) { + TQIconView::styleChange(arg1); + return; + } + void protected_windowActivationChange(bool arg1) { + TQIconView::windowActivationChange(arg1); + return; + } + void protected_doAutoScroll() { + TQIconView::doAutoScroll(); + return; + } + void protected_adjustItems() { + TQIconView::adjustItems(); + return; + } + void protected_slotUpdate() { + TQIconView::slotUpdate(); + return; + } + ~TQIconViewJBridge() {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.qt.TQIconView","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")) { + TQIconView::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")) { + TQIconView::contentsDragLeaveEvent(arg1); + } + return; + } + void setActiveWindow() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","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")) { + TQIconView::focusOutEvent(arg1); + } + return; + } + void setFocus() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","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.qt.TQIconView","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.qt.TQIconView","updateContents")) { + TQIconView::updateContents(); + } + return; + } + void hide() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","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.qt.TQIconView","clear")) { + TQIconView::clear(); + } + return; + } + void unsetCursor() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","unsetCursor")) { + TQWidget::unsetCursor(); + } + return; + } + void contentsDropEvent(TQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { + TQIconView::contentsDropEvent(arg1); + } + return; + } + void hideEvent(TQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { + TQWidget::hideEvent(arg1); + } + return; + } + void moveEvent(TQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { + TQWidget::moveEvent(arg1); + } + return; + } + void polish() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","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")) { + TQIconView::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.qt.TQIconView","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")) { + TQIconView::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.qt.TQIconView","startDrag")) { + TQIconView::startDrag(); + } + return; + } + void setFont(const TQFont& arg1) { + if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { + TQIconView::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")) { + TQIconView::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.qt.TQIconView","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")) { + 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")) { + TQIconView::contentsMousePressEvent(arg1); + } + return; + } + void updateMask() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","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.qt.TQIconView","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(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.qt.TQIconView","adjustItems")) { + TQIconView::adjustItems(); + } + return; + } + void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQIconView::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.qt.TQIconView","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_adjustItems(JNIEnv* env, jobject obj) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_adjustItems(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_arrangeItemsInGrid__(JNIEnv* env, jobject obj) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->public_arrangeItemsInGrid(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_arrangeItemsInGrid__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject grid) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->arrangeItemsInGrid((const TQSize&)*(const TQSize*) QtSupport::getQt(env, grid)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_arrangeItemsInGrid__Lorg_kde_qt_QSize_2Z(JNIEnv* env, jobject obj, jobject grid, jboolean update) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->arrangeItemsInGrid((const TQSize&)*(const TQSize*) QtSupport::getQt(env, grid), (bool) update); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_arrangeItemsInGrid__Z(JNIEnv* env, jobject obj, jboolean update) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->arrangeItemsInGrid((bool) update); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIconView_arrangement(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIconView*) QtSupport::getQt(env, obj))->arrangement(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIconView_autoArrange(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIconView*) QtSupport::getQt(env, obj))->autoArrange(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QIconView_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQIconView*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_clearSelection(JNIEnv* env, jobject obj) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->public_clearSelection(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_clear(JNIEnv* env, jobject obj) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->public_clear(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_contentsContextMenuEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_contentsDragLeaveEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_contentsDragMoveEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_contentsDropEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_contentsMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_contentsMouseMoveEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_contentsMouseReleaseEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIconView_count(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIconView*) QtSupport::getQt(env, obj))->count(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconView_currentItem(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconView*) QtSupport::getQt(env, obj))->currentItem(), "org.kde.qt.TQIconViewItem"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QIconView_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_doAutoScroll(JNIEnv* env, jobject obj) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_doAutoScroll(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconView_dragObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_dragObject(), "org.kde.qt.TQDragObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_drawBackground(JNIEnv* env, jobject obj, jobject p, jobject r) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_drawBackground((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_drawContents(JNIEnv* env, jobject obj, jobject p, jint cx, jint cy, jint cw, jint ch) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, p), (int) cx, (int) cy, (int) cw, (int) ch); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_drawRubber(JNIEnv* env, jobject obj, jobject p) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_drawRubber((TQPainter*) QtSupport::getQt(env, p)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_emitRenamed(JNIEnv* env, jobject obj, jobject item) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_emitRenamed((TQIconViewItem*) QtSupport::getQt(env, item)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_emitSelectionChanged__(JNIEnv* env, jobject obj) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_emitSelectionChanged(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_emitSelectionChanged__Lorg_kde_qt_QIconViewItem_2(JNIEnv* env, jobject obj, jobject i) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_emitSelectionChanged((TQIconViewItem*) QtSupport::getQt(env, i)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_ensureItemVisible(JNIEnv* env, jobject obj, jobject item) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->ensureItemVisible((TQIconViewItem*) QtSupport::getQt(env, item)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_enterEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_enterEvent((TQEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIconView_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject arg2) +{ + jboolean xret = (jboolean) ((TQIconView*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, arg2)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQIconView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQIconView*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconView_findFirstVisibleItem(JNIEnv* env, jobject obj, jobject r) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconView*) QtSupport::getQt(env, obj))->findFirstVisibleItem((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)), "org.kde.qt.TQIconViewItem"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconView_findItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) +{ +static TQString* _qstring_text = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconView*) QtSupport::getQt(env, obj))->findItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)), "org.kde.qt.TQIconViewItem"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconView_findItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint compare) +{ +static TQString* _qstring_text = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconView*) QtSupport::getQt(env, obj))->findItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQt::ComparisonFlags) compare), "org.kde.qt.TQIconViewItem"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconView_findItem__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject pos) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconView*) QtSupport::getQt(env, obj))->findItem((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)), "org.kde.qt.TQIconViewItem"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconView_findLastVisibleItem(JNIEnv* env, jobject obj, jobject r) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconView*) QtSupport::getQt(env, obj))->findLastVisibleItem((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)), "org.kde.qt.TQIconViewItem"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconView_firstItem(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconView*) QtSupport::getQt(env, obj))->firstItem(), "org.kde.qt.TQIconViewItem"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_focusInEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_focusOutEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIconView_gridX(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIconView*) QtSupport::getQt(env, obj))->gridX(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIconView_gridY(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIconView*) QtSupport::getQt(env, obj))->gridY(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIconView_index(JNIEnv* env, jobject obj, jobject item) +{ + jint xret = (jint) ((TQIconView*) QtSupport::getQt(env, obj))->index((const TQIconViewItem*) QtSupport::getQt(env, item)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_insertInGrid(JNIEnv* env, jobject obj, jobject item) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_insertInGrid((TQIconViewItem*) QtSupport::getQt(env, item)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_insertItem__Lorg_kde_qt_QIconViewItem_2(JNIEnv* env, jobject obj, jobject item) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->insertItem((TQIconViewItem*) QtSupport::getQt(env, item)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_insertItem__Lorg_kde_qt_QIconViewItem_2Lorg_kde_qt_QIconViewItem_2(JNIEnv* env, jobject obj, jobject item, jobject after) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->insertItem((TQIconViewItem*) QtSupport::getQt(env, item), (TQIconViewItem*) QtSupport::getQt(env, after)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_invertSelection(JNIEnv* env, jobject obj) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->public_invertSelection(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIconView_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIconView_isRenaming(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIconView*) QtSupport::getQt(env, obj))->isRenaming(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconView_itemTextBackground(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQBrush(((TQIconView*) QtSupport::getQt(env, obj))->itemTextBackground()), "org.kde.qt.TQBrush", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIconView_itemTextPos(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIconView*) QtSupport::getQt(env, obj))->itemTextPos(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIconView_itemsMovable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIconView*) QtSupport::getQt(env, obj))->itemsMovable(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_keyPressEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconView_lastItem(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconView*) QtSupport::getQt(env, obj))->lastItem(), "org.kde.qt.TQIconViewItem"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconView_makeRowLayout(JNIEnv* env, jobject obj, jobject begin, jintArray y, jboolean changed) +{ + int* _int_y = QtSupport::toIntPtr(env, y); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_makeRowLayout((TQIconViewItem*) QtSupport::getQt(env, begin), (int&) *_int_y, (bool&) changed), "org.kde.qt.TQIconViewItem"); + env->SetIntArrayRegion(y, 0, 1, (jint *) _int_y); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIconView_maxItemTextLength(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIconView*) QtSupport::getQt(env, obj))->maxItemTextLength(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIconView_maxItemWidth(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIconView*) QtSupport::getQt(env, obj))->maxItemWidth(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconView_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconView_minimumSizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQIconView*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_newTQIconView__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQIconViewJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_newTQIconView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQIconViewJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_newTQIconView__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 TQIconViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_newTQIconView__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 TQIconViewJBridge((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_qt_QIconView_repaintItem(JNIEnv* env, jobject obj, jobject item) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->repaintItem((TQIconViewItem*) QtSupport::getQt(env, item)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_repaintSelectedItems(JNIEnv* env, jobject obj) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->repaintSelectedItems(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_resizeEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIconView_resizeMode(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIconView*) QtSupport::getQt(env, obj))->resizeMode(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_selectAll(JNIEnv* env, jobject obj, jboolean select) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->selectAll((bool) select); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIconView_selectionMode(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIconView*) QtSupport::getQt(env, obj))->selectionMode(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setArrangement(JNIEnv* env, jobject obj, jint am) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setArrangement((TQIconView::Arrangement) am); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setAutoArrange(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setAutoArrange((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setContentsPos(JNIEnv* env, jobject obj, jint x, jint y) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setContentsPos((int) x, (int) y); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setCurrentItem(JNIEnv* env, jobject obj, jobject item) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setCurrentItem((TQIconViewItem*) QtSupport::getQt(env, item)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setFont(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setGridX(JNIEnv* env, jobject obj, jint rx) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setGridX((int) rx); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setGridY(JNIEnv* env, jobject obj, jint ry) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setGridY((int) ry); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setItemTextBackground(JNIEnv* env, jobject obj, jobject b) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setItemTextBackground((const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, b)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setItemTextPos(JNIEnv* env, jobject obj, jint pos) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setItemTextPos((TQIconView::ItemTextPos) pos); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setItemsMovable(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setItemsMovable((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setMaxItemTextLength(JNIEnv* env, jobject obj, jint w) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setMaxItemTextLength((int) w); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setMaxItemWidth(JNIEnv* env, jobject obj, jint w) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setMaxItemWidth((int) w); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setPalette(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setResizeMode(JNIEnv* env, jobject obj, jint am) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setResizeMode((TQIconView::ResizeMode) am); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setSelected__Lorg_kde_qt_QIconViewItem_2Z(JNIEnv* env, jobject obj, jobject item, jboolean s) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setSelected((TQIconViewItem*) QtSupport::getQt(env, item), (bool) s); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setSelected__Lorg_kde_qt_QIconViewItem_2ZZ(JNIEnv* env, jobject obj, jobject item, jboolean s, jboolean cb) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setSelected((TQIconViewItem*) QtSupport::getQt(env, item), (bool) s, (bool) cb); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setSelectionMode(JNIEnv* env, jobject obj, jint m) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setSelectionMode((TQIconView::SelectionMode) m); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setShowToolTips(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setShowToolTips((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setSorting__Z(JNIEnv* env, jobject obj, jboolean sort) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setSorting((bool) sort); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setSorting__ZZ(JNIEnv* env, jobject obj, jboolean sort, jboolean ascending) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setSorting((bool) sort, (bool) ascending); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setSpacing(JNIEnv* env, jobject obj, jint sp) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setSpacing((int) sp); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_setWordWrapIconText(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->setWordWrapIconText((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_showEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->showEvent((TQShowEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIconView_showToolTips(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIconView*) QtSupport::getQt(env, obj))->showToolTips(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconView_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQIconView*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_slotUpdate(JNIEnv* env, jobject obj) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_slotUpdate(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIconView_sortDirection(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIconView*) QtSupport::getQt(env, obj))->sortDirection(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIconView_sortOnInsert(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIconView*) QtSupport::getQt(env, obj))->sorting(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_sort__(JNIEnv* env, jobject obj) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->public_sort(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_sort__Z(JNIEnv* env, jobject obj, jboolean ascending) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->sort((bool) ascending); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIconView_spacing(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIconView*) QtSupport::getQt(env, obj))->spacing(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_startDrag(JNIEnv* env, jobject obj) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_startDrag(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_styleChange(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_takeItem(JNIEnv* env, jobject obj, jobject item) +{ + ((TQIconView*) QtSupport::getQt(env, obj))->takeItem((TQIconViewItem*) QtSupport::getQt(env, item)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QIconView_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQIconViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QIconView_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQIconViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_updateContents(JNIEnv* env, jobject obj) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->public_updateContents(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconView_windowActivationChange(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_windowActivationChange((bool) arg1); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIconView_wordWrapIconText(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIconView*) QtSupport::getQt(env, obj))->wordWrapIconText(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQIconView.h b/qtjava/javalib/qtjava/TQIconView.h new file mode 100644 index 00000000..fd0457ef --- /dev/null +++ b/qtjava/javalib/qtjava/TQIconView.h @@ -0,0 +1,128 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QIconView__ +#define __org_kde_qt_QIconView__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconView_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QIconView_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_newTQIconView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_newTQIconView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_newTQIconView__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_newTQIconView__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_insertItem__Lorg_kde_qt_QIconViewItem_2Lorg_kde_qt_QIconViewItem_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_insertItem__Lorg_kde_qt_QIconViewItem_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_takeItem (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIconView_index (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconView_firstItem (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconView_lastItem (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconView_currentItem (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setCurrentItem (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setSelected__Lorg_kde_qt_QIconViewItem_2ZZ (JNIEnv *env, jobject, jobject, jboolean, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setSelected__Lorg_kde_qt_QIconViewItem_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIconView_count (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_showEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setSelectionMode (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIconView_selectionMode (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconView_findItem__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconView_findItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconView_findItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_selectAll (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_clearSelection (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_invertSelection (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_repaintItem (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_repaintSelectedItems (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_ensureItemVisible (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconView_findFirstVisibleItem (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconView_findLastVisibleItem (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_clear (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setGridX (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setGridY (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIconView_gridX (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIconView_gridY (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setSpacing (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIconView_spacing (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setItemTextPos (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIconView_itemTextPos (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setItemTextBackground (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconView_itemTextBackground (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setArrangement (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIconView_arrangement (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setResizeMode (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIconView_resizeMode (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setMaxItemWidth (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIconView_maxItemWidth (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setMaxItemTextLength (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIconView_maxItemTextLength (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setAutoArrange (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconView_autoArrange (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setShowToolTips (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconView_showToolTips (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setSorting__ZZ (JNIEnv *env, jobject, jboolean, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setSorting__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconView_sortOnInsert (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconView_sortDirection (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setItemsMovable (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconView_itemsMovable (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setWordWrapIconText (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconView_wordWrapIconText (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconView_eventFilter (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconView_minimumSizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconView_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_sort__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_sort__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setFont (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setPalette (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconView_isRenaming (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_arrangeItemsInGrid__Lorg_kde_qt_QSize_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_arrangeItemsInGrid__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_arrangeItemsInGrid__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_arrangeItemsInGrid__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_setContentsPos (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_updateContents (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QIconView_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QIconView_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_drawContents (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_contentsMousePressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_contentsMouseReleaseEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_contentsMouseMoveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_contentsMouseDoubleClickEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_contentsContextMenuEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_contentsDragEnterEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_contentsDragMoveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_contentsDragLeaveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_contentsDropEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_keyPressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_focusInEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_focusOutEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_enterEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_drawRubber (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconView_dragObject (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_startDrag (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_insertInGrid (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_drawBackground (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_emitSelectionChanged__Lorg_kde_qt_QIconViewItem_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_emitSelectionChanged__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_emitRenamed (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconView_makeRowLayout (JNIEnv *env, jobject, jobject, jintArray, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_styleChange (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_windowActivationChange (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_doAutoScroll (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_adjustItems (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_slotUpdate (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconView_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QIconView__ */ diff --git a/qtjava/javalib/qtjava/TQIconViewItem.cpp b/qtjava/javalib/qtjava/TQIconViewItem.cpp new file mode 100644 index 00000000..55b57d3e --- /dev/null +++ b/qtjava/javalib/qtjava/TQIconViewItem.cpp @@ -0,0 +1,622 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQIconViewItemJBridge : public TQIconViewItem +{ +public: + TQIconViewItemJBridge(TQIconView* arg1) : TQIconViewItem(arg1) {}; + TQIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2) : TQIconViewItem(arg1,arg2) {}; + TQIconViewItemJBridge(TQIconView* arg1,const TQString& arg2) : TQIconViewItem(arg1,arg2) {}; + TQIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2,const TQString& arg3) : TQIconViewItem(arg1,arg2,arg3) {}; + TQIconViewItemJBridge(TQIconView* arg1,const TQString& arg2,const TQPixmap& arg3) : TQIconViewItem(arg1,arg2,arg3) {}; + TQIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2,const TQString& arg3,const TQPixmap& arg4) : TQIconViewItem(arg1,arg2,arg3,arg4) {}; + TQIconViewItemJBridge(TQIconView* arg1,const TQString& arg2,const TQPicture& arg3) : TQIconViewItem(arg1,arg2,arg3) {}; + TQIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2,const TQString& arg3,const TQPicture& arg4) : TQIconViewItem(arg1,arg2,arg3,arg4) {}; + void public_repaint() { + TQIconViewItem::repaint(); + return; + } + void protected_removeRenameBox() { + TQIconViewItem::removeRenameBox(); + return; + } + void protected_calcRect(const TQString& arg1) { + TQIconViewItem::calcRect(arg1); + return; + } + void protected_calcRect() { + TQIconViewItem::calcRect(); + return; + } + void protected_paintItem(TQPainter* arg1,const TQColorGroup& arg2) { + TQIconViewItem::paintItem(arg1,arg2); + return; + } + void protected_paintFocus(TQPainter* arg1,const TQColorGroup& arg2) { + TQIconViewItem::paintFocus(arg1,arg2); + return; + } + void protected_dragEntered() { + TQIconViewItem::dragEntered(); + return; + } + void protected_dragLeft() { + TQIconViewItem::dragLeft(); + return; + } + void protected_setItemRect(const TQRect& arg1) { + TQIconViewItem::setItemRect(arg1); + return; + } + void protected_setTextRect(const TQRect& arg1) { + TQIconViewItem::setTextRect(arg1); + return; + } + void protected_setPixmapRect(const TQRect& arg1) { + TQIconViewItem::setPixmapRect(arg1); + return; + } + void protected_calcTmpText() { + TQIconViewItem::calcTmpText(); + return; + } + TQString protected_tempText() { + return (TQString) TQIconViewItem::tempText(); + } + ~TQIconViewItemJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIconViewItem_acceptDrop(JNIEnv* env, jobject obj, jobject mime) +{ + jboolean xret = (jboolean) ((TQIconViewItem*) QtSupport::getQt(env, obj))->acceptDrop((const TQMimeSource*) QtSupport::mimeSource(env, mime)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconViewItem_calcRect__(JNIEnv* env, jobject obj) +{ + ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_calcRect(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconViewItem_calcRect__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text_) +{ +static TQString* _qstring_text_ = 0; + ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_calcRect((const TQString&)*(TQString*) QtSupport::toTQString(env, text_, &_qstring_text_)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconViewItem_calcTmpText(JNIEnv* env, jobject obj) +{ + ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_calcTmpText(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIconViewItem_compare(JNIEnv* env, jobject obj, jobject i) +{ + jint xret = (jint) ((TQIconViewItem*) QtSupport::getQt(env, obj))->compare((TQIconViewItem*) QtSupport::getQt(env, i)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIconViewItem_contains(JNIEnv* env, jobject obj, jobject pnt) +{ + jboolean xret = (jboolean) ((TQIconViewItem*) QtSupport::getQt(env, obj))->contains((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pnt)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconViewItem_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QIconViewItem_finalize(env, obj); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIconViewItem_dragEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIconViewItem*) QtSupport::getQt(env, obj))->dragEnabled(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconViewItem_dragEntered(JNIEnv* env, jobject obj) +{ + ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_dragEntered(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconViewItem_dragLeft(JNIEnv* env, jobject obj) +{ + ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_dragLeft(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIconViewItem_dropEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIconViewItem*) QtSupport::getQt(env, obj))->dropEnabled(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconViewItem_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQIconViewItem*)(TQIconViewItem*)QtSupport::getQt(env, obj))->iconView() == 0) { + delete (TQIconViewItem*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIconViewItem_height(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIconViewItem*) QtSupport::getQt(env, obj))->height(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconViewItem_iconView(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconViewItem*) QtSupport::getQt(env, obj))->iconView(), "org.kde.qt.TQIconView"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIconViewItem_index(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIconViewItem*) QtSupport::getQt(env, obj))->index(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIconViewItem_intersects(JNIEnv* env, jobject obj, jobject r) +{ + jboolean xret = (jboolean) ((TQIconViewItem*) QtSupport::getQt(env, obj))->intersects((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIconViewItem_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIconViewItem_isSelectable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIconViewItem*) QtSupport::getQt(env, obj))->isSelectable(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIconViewItem_isSelected(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIconViewItem*) QtSupport::getQt(env, obj))->isSelected(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QIconViewItem_key(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQIconViewItem*) QtSupport::getQt(env, obj))->key(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconViewItem_moveBy__II(JNIEnv* env, jobject obj, jint dx, jint dy) +{ + ((TQIconViewItem*) QtSupport::getQt(env, obj))->moveBy((int) dx, (int) dy); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconViewItem_moveBy__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject pnt) +{ + ((TQIconViewItem*) QtSupport::getQt(env, obj))->moveBy((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pnt)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIconViewItem_move__II(JNIEnv* env, jobject obj, jint x, jint y) +{ + jboolean xret = (jboolean) ((TQIconViewItem*) QtSupport::getQt(env, obj))->move((int) x, (int) y); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIconViewItem_move__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject pnt) +{ + jboolean xret = (jboolean) ((TQIconViewItem*) QtSupport::getQt(env, obj))->move((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pnt)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconViewItem_newTQIconViewItem__Lorg_kde_qt_QIconView_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconViewItem_newTQIconViewItem__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 TQIconViewItemJBridge((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_qt_QIconViewItem_newTQIconViewItem__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 TQIconViewItemJBridge((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_qt_QIconViewItem_newTQIconViewItem__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 TQIconViewItemJBridge((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_qt_QIconViewItem_newTQIconViewItem__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 TQIconViewItemJBridge((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_qt_QIconViewItem_newTQIconViewItem__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 TQIconViewItemJBridge((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_qt_QIconViewItem_newTQIconViewItem__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 TQIconViewItemJBridge((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_qt_QIconViewItem_newTQIconViewItem__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 TQIconViewItemJBridge((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 jobject JNICALL +Java_org_kde_qt_QIconViewItem_nextItem(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconViewItem*) QtSupport::getQt(env, obj))->nextItem(), "org.kde.qt.TQIconViewItem"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconViewItem_paintFocus(JNIEnv* env, jobject obj, jobject p, jobject cg) +{ + ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_paintFocus((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconViewItem_paintItem(JNIEnv* env, jobject obj, jobject p, jobject cg) +{ + ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_paintItem((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconViewItem_picture(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconViewItem*) QtSupport::getQt(env, obj))->picture(), "org.kde.qt.TQPicture"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconViewItem_pixmapRect__(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQIconViewItem*) QtSupport::getQt(env, obj))->pixmapRect()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconViewItem_pixmapRect__Z(JNIEnv* env, jobject obj, jboolean relative) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQIconViewItem*) QtSupport::getQt(env, obj))->pixmapRect((bool) relative)), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconViewItem_pixmap(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconViewItem*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TQPixmap"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconViewItem_pos(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQIconViewItem*) QtSupport::getQt(env, obj))->pos()), "org.kde.qt.TQPoint", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconViewItem_prevItem(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconViewItem*) QtSupport::getQt(env, obj))->prevItem(), "org.kde.qt.TQIconViewItem"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconViewItem_rect(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQIconViewItem*) QtSupport::getQt(env, obj))->rect()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconViewItem_removeRenameBox(JNIEnv* env, jobject obj) +{ + ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_removeRenameBox(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIconViewItem_renameEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIconViewItem*) QtSupport::getQt(env, obj))->renameEnabled(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconViewItem_rename(JNIEnv* env, jobject obj) +{ + ((TQIconViewItem*) QtSupport::getQt(env, obj))->rename(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconViewItem_repaint(JNIEnv* env, jobject obj) +{ + ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->public_repaint(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIconViewItem_rtti(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIconViewItem*) QtSupport::getQt(env, obj))->rtti(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconViewItem_setDragEnabled(JNIEnv* env, jobject obj, jboolean allow) +{ + ((TQIconViewItem*) QtSupport::getQt(env, obj))->setDragEnabled((bool) allow); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconViewItem_setDropEnabled(JNIEnv* env, jobject obj, jboolean allow) +{ + ((TQIconViewItem*) QtSupport::getQt(env, obj))->setDropEnabled((bool) allow); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconViewItem_setItemRect(JNIEnv* env, jobject obj, jobject r) +{ + ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_setItemRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconViewItem_setKey(JNIEnv* env, jobject obj, jstring k) +{ +static TQString* _qstring_k = 0; + ((TQIconViewItem*) QtSupport::getQt(env, obj))->setKey((const TQString&)*(TQString*) QtSupport::toTQString(env, k, &_qstring_k)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconViewItem_setPicture(JNIEnv* env, jobject obj, jobject icon) +{ + ((TQIconViewItem*) QtSupport::getQt(env, obj))->setPicture((const TQPicture&)*(const TQPicture*) QtSupport::getQt(env, icon)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconViewItem_setPixmapRect(JNIEnv* env, jobject obj, jobject r) +{ + ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_setPixmapRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconViewItem_setPixmap__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject icon) +{ + ((TQIconViewItem*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconViewItem_setPixmap__Lorg_kde_qt_QPixmap_2Z(JNIEnv* env, jobject obj, jobject icon, jboolean recalc) +{ + ((TQIconViewItem*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (bool) recalc); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconViewItem_setPixmap__Lorg_kde_qt_QPixmap_2ZZ(JNIEnv* env, jobject obj, jobject icon, jboolean recalc, jboolean redraw) +{ + ((TQIconViewItem*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (bool) recalc, (bool) redraw); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconViewItem_setRenameEnabled(JNIEnv* env, jobject obj, jboolean allow) +{ + ((TQIconViewItem*) QtSupport::getQt(env, obj))->setRenameEnabled((bool) allow); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconViewItem_setSelectable(JNIEnv* env, jobject obj, jboolean s) +{ + ((TQIconViewItem*) QtSupport::getQt(env, obj))->setSelectable((bool) s); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconViewItem_setSelected__Z(JNIEnv* env, jobject obj, jboolean s) +{ + ((TQIconViewItem*) QtSupport::getQt(env, obj))->setSelected((bool) s); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconViewItem_setSelected__ZZ(JNIEnv* env, jobject obj, jboolean s, jboolean cb) +{ + ((TQIconViewItem*) QtSupport::getQt(env, obj))->setSelected((bool) s, (bool) cb); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconViewItem_setTextRect(JNIEnv* env, jobject obj, jobject r) +{ + ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_setTextRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconViewItem_setText__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) +{ +static TQString* _qstring_text = 0; + ((TQIconViewItem*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconViewItem_setText__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring text, jboolean recalc) +{ +static TQString* _qstring_text = 0; + ((TQIconViewItem*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool) recalc); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIconViewItem_setText__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring text, jboolean recalc, jboolean redraw) +{ +static TQString* _qstring_text = 0; + ((TQIconViewItem*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool) recalc, (bool) redraw); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconViewItem_size(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQIconViewItem*) QtSupport::getQt(env, obj))->size()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QIconViewItem_tempText(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_tempText(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconViewItem_textRect__(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQIconViewItem*) QtSupport::getQt(env, obj))->textRect()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIconViewItem_textRect__Z(JNIEnv* env, jobject obj, jboolean relative) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQIconViewItem*) QtSupport::getQt(env, obj))->textRect((bool) relative)), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QIconViewItem_text(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQIconViewItem*) QtSupport::getQt(env, obj))->text(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIconViewItem_width(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIconViewItem*) QtSupport::getQt(env, obj))->width(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIconViewItem_x(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIconViewItem*) QtSupport::getQt(env, obj))->x(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIconViewItem_y(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIconViewItem*) QtSupport::getQt(env, obj))->y(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQIconViewItem.h b/qtjava/javalib/qtjava/TQIconViewItem.h new file mode 100644 index 00000000..29f428d0 --- /dev/null +++ b/qtjava/javalib/qtjava/TQIconViewItem.h @@ -0,0 +1,90 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QIconViewItem__ +#define __org_kde_qt_QIconViewItem__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_newTQIconViewItem__Lorg_kde_qt_QIconView_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_newTQIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_newTQIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_newTQIconViewItem__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_qt_QIconViewItem_newTQIconViewItem__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_qt_QIconViewItem_newTQIconViewItem__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_qt_QIconViewItem_newTQIconViewItem__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_qt_QIconViewItem_newTQIconViewItem__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_qt_QIconViewItem_setRenameEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_setDragEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_setDropEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QIconViewItem_text (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconViewItem_pixmap (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconViewItem_picture (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QIconViewItem_key (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconViewItem_renameEnabled (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconViewItem_dragEnabled (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconViewItem_dropEnabled (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconViewItem_iconView (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconViewItem_prevItem (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconViewItem_nextItem (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIconViewItem_index (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_setSelected__ZZ (JNIEnv *env, jobject, jboolean, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_setSelected__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_setSelectable (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconViewItem_isSelected (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconViewItem_isSelectable (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_repaint (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconViewItem_move__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_moveBy__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconViewItem_move__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_moveBy__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconViewItem_rect (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIconViewItem_x (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIconViewItem_y (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIconViewItem_width (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIconViewItem_height (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconViewItem_size (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconViewItem_pos (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconViewItem_textRect__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconViewItem_textRect__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconViewItem_pixmapRect__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconViewItem_pixmapRect__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconViewItem_contains (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconViewItem_intersects (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconViewItem_acceptDrop (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_rename (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIconViewItem_compare (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_setText__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_setPixmap__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_setPicture (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_setText__Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_setText__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_setPixmap__Lorg_kde_qt_QPixmap_2ZZ (JNIEnv *env, jobject, jobject, jboolean, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_setPixmap__Lorg_kde_qt_QPixmap_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_setKey (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIconViewItem_rtti (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_removeRenameBox (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_calcRect__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_calcRect__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_paintItem (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_paintFocus (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_dragEntered (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_dragLeft (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_setItemRect (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_setTextRect (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_setPixmapRect (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_calcTmpText (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QIconViewItem_tempText (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconViewItem_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QIconViewItem__ */ diff --git a/qtjava/javalib/qtjava/TQImage.cpp b/qtjava/javalib/qtjava/TQImage.cpp new file mode 100644 index 00000000..32cf21e6 --- /dev/null +++ b/qtjava/javalib/qtjava/TQImage.cpp @@ -0,0 +1,908 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQImageJBridge : public TQImage +{ +public: + TQImageJBridge() : TQImage() {}; + TQImageJBridge(int arg1,int arg2,int arg3,int arg4,TQImage::Endian arg5) : TQImage(arg1,arg2,arg3,arg4,arg5) {}; + TQImageJBridge(int arg1,int arg2,int arg3,int arg4) : TQImage(arg1,arg2,arg3,arg4) {}; + TQImageJBridge(int arg1,int arg2,int arg3) : TQImage(arg1,arg2,arg3) {}; + TQImageJBridge(const TQSize& arg1,int arg2,int arg3,TQImage::Endian arg4) : TQImage(arg1,arg2,arg3,arg4) {}; + TQImageJBridge(const TQSize& arg1,int arg2,int arg3) : TQImage(arg1,arg2,arg3) {}; + TQImageJBridge(const TQSize& arg1,int arg2) : TQImage(arg1,arg2) {}; + TQImageJBridge(const TQString& arg1,const char* arg2) : TQImage(arg1,arg2) {}; + TQImageJBridge(const TQString& arg1) : TQImage(arg1) {}; + TQImageJBridge(const TQByteArray& arg1) : TQImage(arg1) {}; + TQImageJBridge(uchar* arg1,int arg2,int arg3,int arg4,TQRgb* arg5,int arg6,TQImage::Endian arg7) : TQImage(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TQImageJBridge(const TQImage& arg1) : TQImage(arg1) {}; + ~TQImageJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QImage_allGray(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->allGray(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QImage_bitOrder(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->bitOrder(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QImage_bytesPerLine(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->bytesPerLine(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QImage_color(JNIEnv* env, jobject obj, jint i) +{ + jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->color((int) i); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImage_convertBitOrder(JNIEnv* env, jobject obj, jint arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->convertBitOrder((TQImage::Endian) arg1)), "org.kde.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImage_convertDepthWithPalette__I_3II(JNIEnv* env, jobject obj, jint arg1, jintArray p, jint pc) +{ + int* _int_p = QtSupport::toIntPtr(env, p); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->convertDepthWithPalette((int) arg1, (TQRgb*) _int_p, (int) pc)), "org.kde.qt.TQImage", TRUE); + env->SetIntArrayRegion(p, 0, 1, (jint *) _int_p); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImage_convertDepthWithPalette__I_3III(JNIEnv* env, jobject obj, jint arg1, jintArray p, jint pc, jint cf) +{ + int* _int_p = QtSupport::toIntPtr(env, p); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->convertDepthWithPalette((int) arg1, (TQRgb*) _int_p, (int) pc, (int) cf)), "org.kde.qt.TQImage", TRUE); + env->SetIntArrayRegion(p, 0, 1, (jint *) _int_p); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImage_convertDepth__I(JNIEnv* env, jobject obj, jint arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->convertDepth((int) arg1)), "org.kde.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImage_convertDepth__II(JNIEnv* env, jobject obj, jint arg1, jint conversion_flags) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->convertDepth((int) arg1, (int) conversion_flags)), "org.kde.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImage_copy__(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->copy()), "org.kde.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImage_copy__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->copy((int) x, (int) y, (int) w, (int) h)), "org.kde.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImage_copy__IIIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint conversion_flags) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->copy((int) x, (int) y, (int) w, (int) h, (int) conversion_flags)), "org.kde.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImage_copy__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->copy((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImage_createAlphaMask__(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->createAlphaMask()), "org.kde.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImage_createAlphaMask__I(JNIEnv* env, jobject obj, jint conversion_flags) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->createAlphaMask((int) conversion_flags)), "org.kde.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImage_createHeuristicMask__(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->createHeuristicMask()), "org.kde.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImage_createHeuristicMask__Z(JNIEnv* env, jobject obj, jboolean clipTight) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->createHeuristicMask((bool) clipTight)), "org.kde.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QImage_create__III(JNIEnv* env, jobject obj, jint width, jint height, jint depth) +{ + jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->create((int) width, (int) height, (int) depth); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QImage_create__IIII(JNIEnv* env, jobject obj, jint width, jint height, jint depth, jint numColors) +{ + jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->create((int) width, (int) height, (int) depth, (int) numColors); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QImage_create__IIIII(JNIEnv* env, jobject obj, jint width, jint height, jint depth, jint numColors, jint bitOrder) +{ + jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->create((int) width, (int) height, (int) depth, (int) numColors, (TQImage::Endian) bitOrder); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QImage_create__Lorg_kde_qt_QSize_2I(JNIEnv* env, jobject obj, jobject arg1, jint depth) +{ + jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->create((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (int) depth); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QImage_create__Lorg_kde_qt_QSize_2II(JNIEnv* env, jobject obj, jobject arg1, jint depth, jint numColors) +{ + jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->create((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (int) depth, (int) numColors); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QImage_create__Lorg_kde_qt_QSize_2III(JNIEnv* env, jobject obj, jobject arg1, jint depth, jint numColors, jint bitOrder) +{ + jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->create((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (int) depth, (int) numColors, (TQImage::Endian) bitOrder); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QImage_depth(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->depth(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImage_detach(JNIEnv* env, jobject obj) +{ + ((TQImage*) QtSupport::getQt(env, obj))->detach(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImage_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QImage_finalize(env, obj); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QImage_dotsPerMeterX(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->dotsPerMeterX(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QImage_dotsPerMeterY(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->dotsPerMeterY(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImage_fill(JNIEnv* env, jobject obj, jint pixel) +{ + ((TQImage*) QtSupport::getQt(env, obj))->fill((uint) pixel); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImage_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQImage*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImage_fromMimeSource(JNIEnv* env, jclass cls, jstring abs_name) +{ + (void) cls; +static TQString* _qstring_abs_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(TQImageJBridge::fromMimeSource((const TQString&)*(TQString*) QtSupport::toTQString(env, abs_name, &_qstring_abs_name))), "org.kde.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QImage_hasAlphaBuffer(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->hasAlphaBuffer(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QImage_height(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->height(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QImage_imageFormat(JNIEnv* env, jclass cls, jstring fileName) +{ + const char* _qstring; + (void) cls; +static TQString* _qstring_fileName = 0; + _qstring = TQImageJBridge::imageFormat((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImage_inputFormatList(JNIEnv* env, jclass cls) +{ + TQStringList _qlist; + (void) cls; + _qlist = TQImageJBridge::inputFormatList(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImage_inputFormats(JNIEnv* env, jclass cls) +{ + TQStrList _qlist; + (void) cls; + _qlist = TQImageJBridge::inputFormats(); + return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImage_invertPixels__(JNIEnv* env, jobject obj) +{ + ((TQImage*) QtSupport::getQt(env, obj))->invertPixels(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImage_invertPixels__Z(JNIEnv* env, jobject obj, jboolean invertAlpha) +{ + ((TQImage*) QtSupport::getQt(env, obj))->invertPixels((bool) invertAlpha); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QImage_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QImage_isGrayscale(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->isGrayscale(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QImage_isNull(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->isNull(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImage_jumpTable(JNIEnv* env, jobject obj) +{ + uchar** _qlist; + _qlist = ((TQImage*) QtSupport::getQt(env, obj))->jumpTable(); + return (jobject) _qlist; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QImage_loadFromData___3B(JNIEnv* env, jobject obj, jbyteArray data) +{ +static TQByteArray* _qbyteArray_data = 0; + jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->loadFromData((TQByteArray)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QImage_loadFromData___3BLjava_lang_String_2(JNIEnv* env, jobject obj, jbyteArray data, jstring format) +{ +static TQByteArray* _qbyteArray_data = 0; +static TQCString* _qstring_format = 0; + jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->loadFromData((TQByteArray)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (const char*) QtSupport::toCharString(env, format, &_qstring_format)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QImage_loadFromData___3CI(JNIEnv* env, jobject obj, jcharArray buf, jint len) +{ +static TQByteArray* _qbytearray_buf = 0; + jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->loadFromData((const uchar*) QtSupport::toUcharArray(env, buf, &_qbytearray_buf), (uint) len); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QImage_loadFromData___3CILjava_lang_String_2(JNIEnv* env, jobject obj, jcharArray buf, jint len, jstring format) +{ +static TQByteArray* _qbytearray_buf = 0; +static TQCString* _qstring_format = 0; + jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->loadFromData((const uchar*) QtSupport::toUcharArray(env, buf, &_qbytearray_buf), (uint) len, (const char*) QtSupport::toCharString(env, format, &_qstring_format)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QImage_load__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName) +{ +static TQString* _qstring_fileName = 0; + jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->load((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QImage_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) ((TQImage*) 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 jobject JNICALL +Java_org_kde_qt_QImage_mirror__(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->mirror()), "org.kde.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImage_mirror__ZZ(JNIEnv* env, jobject obj, jboolean horizontally, jboolean vertically) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->mirror((bool) horizontally, (bool) vertically)), "org.kde.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImage_newTQImage__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQImageJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImage_newTQImage__III(JNIEnv* env, jobject obj, jint width, jint height, jint depth) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQImageJBridge((int) width, (int) height, (int) depth)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImage_newTQImage__IIII(JNIEnv* env, jobject obj, jint width, jint height, jint depth, jint numColors) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQImageJBridge((int) width, (int) height, (int) depth, (int) numColors)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImage_newTQImage__IIIII(JNIEnv* env, jobject obj, jint width, jint height, jint depth, jint numColors, jint bitOrder) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQImageJBridge((int) width, (int) height, (int) depth, (int) numColors, (TQImage::Endian) bitOrder)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImage_newTQImage__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 TQImageJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImage_newTQImage__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; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQImageJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImage_newTQImage__Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQImageJBridge((const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImage_newTQImage__Lorg_kde_qt_QSize_2I(JNIEnv* env, jobject obj, jobject arg1, jint depth) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQImageJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (int) depth)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImage_newTQImage__Lorg_kde_qt_QSize_2II(JNIEnv* env, jobject obj, jobject arg1, jint depth, jint numColors) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQImageJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (int) depth, (int) numColors)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImage_newTQImage__Lorg_kde_qt_QSize_2III(JNIEnv* env, jobject obj, jobject arg1, jint depth, jint numColors, jint bitOrder) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQImageJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (int) depth, (int) numColors, (TQImage::Endian) bitOrder)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImage_newTQImage___3B(JNIEnv* env, jobject obj, jbyteArray data) +{ +static TQByteArray* _qbyteArray_data = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQImageJBridge((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImage_newTQImage___3CIII_3III(JNIEnv* env, jobject obj, jcharArray data, jint w, jint h, jint depth, jintArray colortable, jint numColors, jint bitOrder) +{ +static TQByteArray* _qbytearray_data = 0; + int* _int_colortable = QtSupport::toIntPtr(env, colortable); + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQImageJBridge((uchar*) QtSupport::toUcharArray(env, data, &_qbytearray_data), (int) w, (int) h, (int) depth, (TQRgb*) _int_colortable, (int) numColors, (TQImage::Endian) bitOrder)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + env->SetIntArrayRegion(colortable, 0, 1, (jint *) _int_colortable); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QImage_numBytes(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->numBytes(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QImage_numColors(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->numColors(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImage_offset(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQImage*) QtSupport::getQt(env, obj))->offset()), "org.kde.qt.TQPoint", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QImage_op_1equals(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->operator==((const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QImage_op_1not_1equals(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->operator!=((const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImage_outputFormatList(JNIEnv* env, jclass cls) +{ + TQStringList _qlist; + (void) cls; + _qlist = TQImageJBridge::outputFormatList(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImage_outputFormats(JNIEnv* env, jclass cls) +{ + TQStrList _qlist; + (void) cls; + _qlist = TQImageJBridge::outputFormats(); + return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QImage_pixelIndex(JNIEnv* env, jobject obj, jint x, jint y) +{ + jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->pixelIndex((int) x, (int) y); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QImage_pixel(JNIEnv* env, jobject obj, jint x, jint y) +{ + jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->pixel((int) x, (int) y); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImage_rect(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQImage*) QtSupport::getQt(env, obj))->rect()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImage_reset(JNIEnv* env, jobject obj) +{ + ((TQImage*) QtSupport::getQt(env, obj))->reset(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QImage_save__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) ((TQImage*) QtSupport::getQt(env, obj))->save((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_qt_QImage_save__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring fileName, jstring format, jint quality) +{ +static TQString* _qstring_fileName = 0; +static TQCString* _qstring_format = 0; + jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->save((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format), (int) quality); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QImage_save__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject device, jstring format) +{ +static TQCString* _qstring_format = 0; + jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->save((TQIODevice*) QtSupport::getQt(env, device), (const char*) QtSupport::toCharString(env, format, &_qstring_format)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QImage_save__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject device, jstring format, jint quality) +{ +static TQCString* _qstring_format = 0; + jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->save((TQIODevice*) QtSupport::getQt(env, device), (const char*) QtSupport::toCharString(env, format, &_qstring_format), (int) quality); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImage_scaleHeight(JNIEnv* env, jobject obj, jint h) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->scaleHeight((int) h)), "org.kde.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImage_scaleWidth(JNIEnv* env, jobject obj, jint w) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->scaleWidth((int) w)), "org.kde.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImage_scale__II(JNIEnv* env, jobject obj, jint w, jint h) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->scale((int) w, (int) h)), "org.kde.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImage_scale__III(JNIEnv* env, jobject obj, jint w, jint h, jint mode) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->scale((int) w, (int) h, (TQImage::ScaleMode) mode)), "org.kde.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImage_scale__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject s) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->scale((const TQSize&)*(const TQSize*) QtSupport::getQt(env, s))), "org.kde.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImage_scale__Lorg_kde_qt_QSize_2I(JNIEnv* env, jobject obj, jobject s, jint mode) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->scale((const TQSize&)*(const TQSize*) QtSupport::getQt(env, s), (TQImage::ScaleMode) mode)), "org.kde.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImage_setAlphaBuffer(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQImage*) QtSupport::getQt(env, obj))->setAlphaBuffer((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImage_setColor(JNIEnv* env, jobject obj, jint i, jint c) +{ + ((TQImage*) QtSupport::getQt(env, obj))->setColor((int) i, (TQRgb) c); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImage_setDotsPerMeterX(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQImage*) QtSupport::getQt(env, obj))->setDotsPerMeterX((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImage_setDotsPerMeterY(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQImage*) QtSupport::getQt(env, obj))->setDotsPerMeterY((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImage_setNumColors(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQImage*) QtSupport::getQt(env, obj))->setNumColors((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImage_setOffset(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQImage*) QtSupport::getQt(env, obj))->setOffset((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImage_setPixel(JNIEnv* env, jobject obj, jint x, jint y, jint index_or_rgb) +{ + ((TQImage*) QtSupport::getQt(env, obj))->setPixel((int) x, (int) y, (uint) index_or_rgb); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImage_setText(JNIEnv* env, jobject obj, jstring key, jstring lang, jstring arg3) +{ +static TQCString* _qstring_key = 0; +static TQCString* _qstring_lang = 0; +static TQString* _qstring_arg3 = 0; + ((TQImage*) QtSupport::getQt(env, obj))->setText((const char*) QtSupport::toCharString(env, key, &_qstring_key), (const char*) QtSupport::toCharString(env, lang, &_qstring_lang), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImage_size(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQImage*) QtSupport::getQt(env, obj))->size()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImage_smoothScale__II(JNIEnv* env, jobject obj, jint w, jint h) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->smoothScale((int) w, (int) h)), "org.kde.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImage_smoothScale__III(JNIEnv* env, jobject obj, jint w, jint h, jint mode) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->smoothScale((int) w, (int) h, (TQImage::ScaleMode) mode)), "org.kde.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImage_smoothScale__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject s) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->smoothScale((const TQSize&)*(const TQSize*) QtSupport::getQt(env, s))), "org.kde.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImage_smoothScale__Lorg_kde_qt_QSize_2I(JNIEnv* env, jobject obj, jobject s, jint mode) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->smoothScale((const TQSize&)*(const TQSize*) QtSupport::getQt(env, s), (TQImage::ScaleMode) mode)), "org.kde.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImage_swapRGB(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->swapRGB()), "org.kde.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QImage_systemBitOrder(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jint xret = (jint) TQImageJBridge::systemBitOrder(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QImage_systemByteOrder(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jint xret = (jint) TQImageJBridge::systemByteOrder(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImage_textKeys(JNIEnv* env, jobject obj) +{ + TQStringList _qlist; + _qlist = ((TQImage*) QtSupport::getQt(env, obj))->textKeys(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImage_textLanguages(JNIEnv* env, jobject obj) +{ + TQStringList _qlist; + _qlist = ((TQImage*) QtSupport::getQt(env, obj))->textLanguages(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QImage_text__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring key) +{ + TQString _qstring; +static TQCString* _qstring_key = 0; + _qstring = ((TQImage*) QtSupport::getQt(env, obj))->text((const char*) QtSupport::toCharString(env, key, &_qstring_key)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QImage_text__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring key, jstring lang) +{ + TQString _qstring; +static TQCString* _qstring_key = 0; +static TQCString* _qstring_lang = 0; + _qstring = ((TQImage*) QtSupport::getQt(env, obj))->text((const char*) QtSupport::toCharString(env, key, &_qstring_key), (const char*) QtSupport::toCharString(env, lang, &_qstring_lang)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QImage_text__Lorg_kde_qt_QImageTextKeyLang_2(JNIEnv* env, jobject obj, jobject arg1) +{ + TQString _qstring; + _qstring = ((TQImage*) QtSupport::getQt(env, obj))->text((const TQImageTextKeyLang&)*(const TQImageTextKeyLang*) QtSupport::getQt(env, arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QImage_valid(JNIEnv* env, jobject obj, jint x, jint y) +{ + jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->valid((int) x, (int) y); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QImage_width(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->width(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImage_xForm(JNIEnv* env, jobject obj, jobject matrix) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->xForm((const TQWMatrix&)*(const TQWMatrix*) QtSupport::getQt(env, matrix))), "org.kde.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jbyteArray JNICALL +Java_org_kde_qt_QImage_bits(JNIEnv *env, jobject obj) +{ +static uchar * ptr = 0; + ptr = ((TQImageJBridge*) QtSupport::getQt(env, obj))->bits(); + int len = ((TQImageJBridge*) QtSupport::getQt(env, obj))->numBytes(); + jbyteArray result = env->NewByteArray(len); + env->SetByteArrayRegion(result, 0, len, (jbyte *) ptr); + return result; +} + +JNIEXPORT jbyteArray JNICALL +Java_org_kde_qt_QImage_scanLine(JNIEnv *env, jobject obj, jint arg1) +{ +static uchar * ptr = 0; + ptr = ((TQImageJBridge*) QtSupport::getQt(env, obj))->scanLine(arg1); + int len = ((TQImageJBridge*) QtSupport::getQt(env, obj))->numBytes() / ((TQImageJBridge*) QtSupport::getQt(env, obj))->height(); + jbyteArray result = env->NewByteArray(len); + env->SetByteArrayRegion(result, 0, len, (jbyte *) ptr); + return result; +} + +JNIEXPORT jintArray JNICALL +Java_org_kde_qt_QImage_colorTable(JNIEnv *env, jobject obj) +{ +static TQRgb * ptr = 0; + ptr = ((TQImageJBridge*) QtSupport::getQt(env, obj))->colorTable(); + int len = ((TQImageJBridge*) QtSupport::getQt(env, obj))->numColors(); + jintArray result = env->NewIntArray(len); + env->SetIntArrayRegion(result, 0, len, (jint *) ptr); + return result; +} + diff --git a/qtjava/javalib/qtjava/TQImage.h b/qtjava/javalib/qtjava/TQImage.h new file mode 100644 index 00000000..47b73253 --- /dev/null +++ b/qtjava/javalib/qtjava/TQImage.h @@ -0,0 +1,128 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QImage__ +#define __org_kde_qt_QImage__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_newTQImage__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_newTQImage__IIIII (JNIEnv *env, jobject, jint, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_newTQImage__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_newTQImage__III (JNIEnv *env, jobject, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_newTQImage__Lorg_kde_qt_QSize_2III (JNIEnv *env, jobject, jobject, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_newTQImage__Lorg_kde_qt_QSize_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_newTQImage__Lorg_kde_qt_QSize_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_newTQImage__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_newTQImage__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_newTQImage___3B (JNIEnv *env, jobject, jbyteArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_newTQImage___3CIII_3III (JNIEnv *env, jobject, jcharArray, jint, jint, jint, jintArray, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_newTQImage__Lorg_kde_qt_QImage_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_op_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_op_1not_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_detach (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_copy__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_copy__IIIII (JNIEnv *env, jobject, jint, jint, jint, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_copy__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_copy__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_isNull (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QImage_width (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QImage_height (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_size (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_rect (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QImage_depth (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QImage_numColors (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QImage_bitOrder (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QImage_color (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_setColor (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_setNumColors (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_hasAlphaBuffer (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_setAlphaBuffer (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_allGray (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_isGrayscale (JNIEnv *env, jobject); +extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QImage_bits (JNIEnv *env, jobject); +extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QImage_scanLine (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_jumpTable (JNIEnv *env, jobject); +extern JNIEXPORT jintArray JNICALL Java_org_kde_qt_QImage_colorTable (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QImage_numBytes (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QImage_bytesPerLine (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_create__IIIII (JNIEnv *env, jobject, jint, jint, jint, jint, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_create__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_create__III (JNIEnv *env, jobject, jint, jint, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_create__Lorg_kde_qt_QSize_2III (JNIEnv *env, jobject, jobject, jint, jint, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_create__Lorg_kde_qt_QSize_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_create__Lorg_kde_qt_QSize_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_reset (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_fill (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_invertPixels__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_invertPixels__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_convertDepth__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_convertDepthWithPalette__I_3III (JNIEnv *env, jobject, jint, jintArray, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_convertDepthWithPalette__I_3II (JNIEnv *env, jobject, jint, jintArray, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_convertDepth__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_convertBitOrder (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_smoothScale__III (JNIEnv *env, jobject, jint, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_smoothScale__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_smoothScale__Lorg_kde_qt_QSize_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_smoothScale__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_scale__III (JNIEnv *env, jobject, jint, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_scale__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_scale__Lorg_kde_qt_QSize_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_scale__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_scaleWidth (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_scaleHeight (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_xForm (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_createAlphaMask__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_createAlphaMask__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_createHeuristicMask__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_createHeuristicMask__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_mirror__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_mirror__ZZ (JNIEnv *env, jobject, jboolean, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_swapRGB (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_load__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_load__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_loadFromData___3CILjava_lang_String_2 (JNIEnv *env, jobject, jcharArray, jint, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_loadFromData___3CI (JNIEnv *env, jobject, jcharArray, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_loadFromData___3BLjava_lang_String_2 (JNIEnv *env, jobject, jbyteArray, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_loadFromData___3B (JNIEnv *env, jobject, jbyteArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_save__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_save__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_save__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_save__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_valid (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QImage_pixelIndex (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QImage_pixel (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_setPixel (JNIEnv *env, jobject, jint, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QImage_dotsPerMeterX (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QImage_dotsPerMeterY (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_setDotsPerMeterX (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_setDotsPerMeterY (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_offset (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_setOffset (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_textLanguages (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_textKeys (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QImage_text__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QImage_text__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QImage_text__Lorg_kde_qt_QImageTextKeyLang_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_setText (JNIEnv *env, jobject, jstring, jstring, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_fromMimeSource (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QImage_systemBitOrder (JNIEnv *env, jclass); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QImage_systemByteOrder (JNIEnv *env, jclass); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QImage_imageFormat (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_inputFormats (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_outputFormats (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_inputFormatList (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_outputFormatList (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QImage__ */ diff --git a/qtjava/javalib/qtjava/TQImageConsumer.cpp b/qtjava/javalib/qtjava/TQImageConsumer.cpp new file mode 100644 index 00000000..2db2fc3a --- /dev/null +++ b/qtjava/javalib/qtjava/TQImageConsumer.cpp @@ -0,0 +1,57 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImageConsumer_changed(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQImageConsumer*) QtSupport::getQt(env, obj))->changed((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImageConsumer_end(JNIEnv* env, jobject obj) +{ + ((TQImageConsumer*) QtSupport::getQt(env, obj))->end(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImageConsumer_frameDone__(JNIEnv* env, jobject obj) +{ + ((TQImageConsumer*) QtSupport::getQt(env, obj))->frameDone(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImageConsumer_frameDone__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) +{ + ((TQImageConsumer*) QtSupport::getQt(env, obj))->frameDone((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImageConsumer_setFramePeriod(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQImageConsumer*) QtSupport::getQt(env, obj))->setFramePeriod((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImageConsumer_setLooping(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQImageConsumer*) QtSupport::getQt(env, obj))->setLooping((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImageConsumer_setSize(JNIEnv* env, jobject obj, jint arg1, jint arg2) +{ + ((TQImageConsumer*) QtSupport::getQt(env, obj))->setSize((int) arg1, (int) arg2); + return; +} + diff --git a/qtjava/javalib/qtjava/TQImageConsumer.h b/qtjava/javalib/qtjava/TQImageConsumer.h new file mode 100644 index 00000000..cb071fdd --- /dev/null +++ b/qtjava/javalib/qtjava/TQImageConsumer.h @@ -0,0 +1,25 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QImageConsumer__ +#define __org_kde_qt_QImageConsumer__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageConsumer_end (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageConsumer_changed (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageConsumer_frameDone__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageConsumer_frameDone__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageConsumer_setLooping (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageConsumer_setFramePeriod (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageConsumer_setSize (JNIEnv *env, jobject, jint, jint); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QImageConsumer__ */ diff --git a/qtjava/javalib/qtjava/TQImageDecoder.cpp b/qtjava/javalib/qtjava/TQImageDecoder.cpp new file mode 100644 index 00000000..6495e7c5 --- /dev/null +++ b/qtjava/javalib/qtjava/TQImageDecoder.cpp @@ -0,0 +1,107 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQImageDecoderJBridge : public TQImageDecoder +{ +public: + TQImageDecoderJBridge(TQImageConsumer* arg1) : TQImageDecoder(arg1) {}; + ~TQImageDecoderJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QImageDecoder_decode(JNIEnv* env, jobject obj, jcharArray buffer, jint length) +{ +static TQByteArray* _qbytearray_buffer = 0; + jint xret = (jint) ((TQImageDecoder*) QtSupport::getQt(env, obj))->decode((const uchar*) QtSupport::toUcharArray(env, buffer, &_qbytearray_buffer), (int) length); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImageDecoder_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QImageDecoder_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImageDecoder_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQImageDecoder*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QImageDecoder_formatName(JNIEnv* env, jclass cls, jcharArray buffer, jint length) +{ + const char* _qstring; + (void) cls; +static TQByteArray* _qbytearray_buffer = 0; + _qstring = TQImageDecoderJBridge::formatName((const uchar*) QtSupport::toUcharArray(env, buffer, &_qbytearray_buffer), (int) length); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImageDecoder_format(JNIEnv* env, jclass cls, jstring name) +{ + (void) cls; +static TQCString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQImageDecoderJBridge::format((const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.qt.TQImageFormatType"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImageDecoder_image(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &((TQImageDecoder*) QtSupport::getQt(env, obj))->image(), "org.kde.qt.TQImage"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImageDecoder_inputFormats(JNIEnv* env, jclass cls) +{ + TQStrList _qlist; + (void) cls; + _qlist = TQImageDecoderJBridge::inputFormats(); + return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QImageDecoder_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImageDecoder_newTQImageDecoder(JNIEnv* env, jobject obj, jobject c) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQImageDecoderJBridge((TQImageConsumer*) QtSupport::getQt(env, c))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImageDecoder_registerDecoderFactory(JNIEnv* env, jclass cls, jobject arg1) +{ + (void) cls; + TQImageDecoderJBridge::registerDecoderFactory((TQImageFormatType*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImageDecoder_unregisterDecoderFactory(JNIEnv* env, jclass cls, jobject arg1) +{ + (void) cls; + TQImageDecoderJBridge::unregisterDecoderFactory((TQImageFormatType*) QtSupport::getQt(env, arg1)); + return; +} + diff --git a/qtjava/javalib/qtjava/TQImageDecoder.h b/qtjava/javalib/qtjava/TQImageDecoder.h new file mode 100644 index 00000000..f7921501 --- /dev/null +++ b/qtjava/javalib/qtjava/TQImageDecoder.h @@ -0,0 +1,29 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QImageDecoder__ +#define __org_kde_qt_QImageDecoder__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageDecoder_newTQImageDecoder (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImageDecoder_image (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QImageDecoder_decode (JNIEnv *env, jobject, jcharArray, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QImageDecoder_formatName (JNIEnv *env, jclass, jcharArray, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImageDecoder_format (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImageDecoder_inputFormats (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageDecoder_registerDecoderFactory (JNIEnv *env, jclass, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageDecoder_unregisterDecoderFactory (JNIEnv *env, jclass, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageDecoder_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageDecoder_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImageDecoder_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QImageDecoder__ */ diff --git a/qtjava/javalib/qtjava/TQImageDrag.cpp b/qtjava/javalib/qtjava/TQImageDrag.cpp new file mode 100644 index 00000000..5c7ef8e7 --- /dev/null +++ b/qtjava/javalib/qtjava/TQImageDrag.cpp @@ -0,0 +1,234 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include + +#include +#include + +class TQImageDragJBridge : public TQImageDrag +{ +public: + TQImageDragJBridge(TQImage arg1,TQWidget* arg2,const char* arg3) : TQImageDrag(arg1,arg2,arg3) {}; + TQImageDragJBridge(TQImage arg1,TQWidget* arg2) : TQImageDrag(arg1,arg2) {}; + TQImageDragJBridge(TQImage arg1) : TQImageDrag(arg1) {}; + TQImageDragJBridge(TQWidget* arg1,const char* arg2) : TQImageDrag(arg1,arg2) {}; + TQImageDragJBridge(TQWidget* arg1) : TQImageDrag(arg1) {}; + TQImageDragJBridge() : TQImageDrag() {}; + ~TQImageDragJBridge() {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 setImage(TQImage arg1) { + if (!QtSupport::eventDelegate(this,"setImage",(void*)&arg1,"org.kde.qt.TQImage")) { + TQImageDrag::setImage(arg1); + } + return; + } + bool eventFilter(TQObject* object,TQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQImageDrag",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QImageDrag_canDecode(JNIEnv* env, jclass cls, jobject e) +{ + (void) cls; + jboolean xret = (jboolean) TQImageDragJBridge::canDecode((const TQMimeSource*) QtSupport::mimeSource(env, e)); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QImageDrag_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQImageDrag*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QImageDrag_decode__Lorg_kde_qt_QMimeSourceInterface_2Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject e, jobject i) +{ + (void) cls; + jboolean xret = (jboolean) TQImageDragJBridge::decode((const TQMimeSource*) QtSupport::mimeSource(env, e), (TQImage&)*(TQImage*) QtSupport::getQt(env, i)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QImageDrag_decode__Lorg_kde_qt_QMimeSourceInterface_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jclass cls, jobject e, jobject i) +{ + (void) cls; + jboolean xret = (jboolean) TQImageDragJBridge::decode((const TQMimeSource*) QtSupport::mimeSource(env, e), (TQPixmap&)*(TQPixmap*) QtSupport::getQt(env, i)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImageDrag_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QImageDrag_finalize(env, obj); + return; +} + +JNIEXPORT jbyteArray JNICALL +Java_org_kde_qt_QImageDrag_encodedData(JNIEnv* env, jobject obj, jstring arg1) +{ + TQByteArray _qbyteArray; +static TQCString* _qstring_arg1 = 0; + _qbyteArray = ((TQImageDrag*) QtSupport::getQt(env, obj))->encodedData((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQByteArray(env, &_qbyteArray); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImageDrag_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQImageDrag*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQImageDrag*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QImageDrag_format(JNIEnv* env, jobject obj, jint i) +{ + const char* _qstring; + _qstring = ((TQImageDrag*) QtSupport::getQt(env, obj))->format((int) i); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QImageDrag_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImageDrag_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQImageDrag*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImageDrag_newTQImageDrag__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQImageDragJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImageDrag_newTQImageDrag__Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject image) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQImageDragJBridge((TQImage)*(TQImage*) QtSupport::getQt(env, image))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImageDrag_newTQImageDrag__Lorg_kde_qt_QImage_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject image, jobject dragSource) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQImageDragJBridge((TQImage)*(TQImage*) QtSupport::getQt(env, image), (TQWidget*) QtSupport::getQt(env, dragSource))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImageDrag_newTQImageDrag__Lorg_kde_qt_QImage_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject image, jobject dragSource, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQImageDragJBridge((TQImage)*(TQImage*) QtSupport::getQt(env, image), (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_qt_QImageDrag_newTQImageDrag__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject dragSource) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQImageDragJBridge((TQWidget*) QtSupport::getQt(env, dragSource))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImageDrag_newTQImageDrag__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 TQImageDragJBridge((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_qt_QImageDrag_setImage(JNIEnv* env, jobject obj, jobject image) +{ + ((TQImageDrag*) QtSupport::getQt(env, obj))->setImage((TQImage)*(TQImage*) QtSupport::getQt(env, image)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QImageDrag_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQImageDragJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QImageDrag_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQImageDragJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQImageDrag.h b/qtjava/javalib/qtjava/TQImageDrag.h new file mode 100644 index 00000000..5fd18d6f --- /dev/null +++ b/qtjava/javalib/qtjava/TQImageDrag.h @@ -0,0 +1,37 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QImageDrag__ +#define __org_kde_qt_QImageDrag__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImageDrag_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QImageDrag_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageDrag_newTQImageDrag__Lorg_kde_qt_QImage_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageDrag_newTQImageDrag__Lorg_kde_qt_QImage_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageDrag_newTQImageDrag__Lorg_kde_qt_QImage_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageDrag_newTQImageDrag__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageDrag_newTQImageDrag__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageDrag_newTQImageDrag__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageDrag_setImage (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QImageDrag_format (JNIEnv *env, jobject, jint); +extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QImageDrag_encodedData (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QImageDrag_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QImageDrag_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImageDrag_canDecode (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImageDrag_decode__Lorg_kde_qt_QMimeSourceInterface_2Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImageDrag_decode__Lorg_kde_qt_QMimeSourceInterface_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jclass, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageDrag_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageDrag_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImageDrag_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QImageDrag__ */ diff --git a/qtjava/javalib/qtjava/TQImageFormat.cpp b/qtjava/javalib/qtjava/TQImageFormat.cpp new file mode 100644 index 00000000..08e93dcc --- /dev/null +++ b/qtjava/javalib/qtjava/TQImageFormat.cpp @@ -0,0 +1,15 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QImageFormat_decode(JNIEnv* env, jobject obj, jobject img, jobject consumer, jcharArray buffer, jint length) +{ +static TQByteArray* _qbytearray_buffer = 0; + jint xret = (jint) ((TQImageFormat*) QtSupport::getQt(env, obj))->decode((TQImage&)*(TQImage*) QtSupport::getQt(env, img), (TQImageConsumer*) QtSupport::getQt(env, consumer), (const uchar*) QtSupport::toUcharArray(env, buffer, &_qbytearray_buffer), (int) length); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQImageFormat.h b/qtjava/javalib/qtjava/TQImageFormat.h new file mode 100644 index 00000000..70deaa98 --- /dev/null +++ b/qtjava/javalib/qtjava/TQImageFormat.h @@ -0,0 +1,19 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QImageFormat__ +#define __org_kde_qt_QImageFormat__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QImageFormat_decode (JNIEnv *env, jobject, jobject, jobject, jcharArray, jint); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QImageFormat__ */ diff --git a/qtjava/javalib/qtjava/TQImageFormatType.cpp b/qtjava/javalib/qtjava/TQImageFormatType.cpp new file mode 100644 index 00000000..8fe5385b --- /dev/null +++ b/qtjava/javalib/qtjava/TQImageFormatType.cpp @@ -0,0 +1,22 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImageFormatType_decoderFor(JNIEnv* env, jobject obj, jcharArray buffer, jint length) +{ +static TQByteArray* _qbytearray_buffer = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQImageFormatType*) QtSupport::getQt(env, obj))->decoderFor((const uchar*) QtSupport::toUcharArray(env, buffer, &_qbytearray_buffer), (int) length), "org.kde.qt.TQImageFormat"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QImageFormatType_formatName(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQImageFormatType*) QtSupport::getQt(env, obj))->formatName(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + diff --git a/qtjava/javalib/qtjava/TQImageFormatType.h b/qtjava/javalib/qtjava/TQImageFormatType.h new file mode 100644 index 00000000..11b91e26 --- /dev/null +++ b/qtjava/javalib/qtjava/TQImageFormatType.h @@ -0,0 +1,20 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QImageFormatType__ +#define __org_kde_qt_QImageFormatType__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImageFormatType_decoderFor (JNIEnv *env, jobject, jcharArray, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QImageFormatType_formatName (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QImageFormatType__ */ diff --git a/qtjava/javalib/qtjava/TQImageIO.cpp b/qtjava/javalib/qtjava/TQImageIO.cpp new file mode 100644 index 00000000..b7b63d85 --- /dev/null +++ b/qtjava/javalib/qtjava/TQImageIO.cpp @@ -0,0 +1,258 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQImageIOJBridge : public TQImageIO +{ +public: + TQImageIOJBridge() : TQImageIO() {}; + TQImageIOJBridge(TQIODevice* arg1,const char* arg2) : TQImageIO(arg1,arg2) {}; + TQImageIOJBridge(const TQString& arg1,const char* arg2) : TQImageIO(arg1,arg2) {}; + ~TQImageIOJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QImageIO_description(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQImageIO*) QtSupport::getQt(env, obj))->description(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImageIO_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QImageIO_finalize(env, obj); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QImageIO_fileName(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQImageIO*) QtSupport::getQt(env, obj))->fileName(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImageIO_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQImageIO*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QImageIO_format(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQImageIO*) QtSupport::getQt(env, obj))->format(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jfloat JNICALL +Java_org_kde_qt_QImageIO_gamma(JNIEnv* env, jobject obj) +{ + jfloat xret = (jfloat) ((TQImageIO*) QtSupport::getQt(env, obj))->gamma(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QImageIO_imageFormat__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring fileName) +{ + const char* _qstring; + (void) cls; +static TQString* _qstring_fileName = 0; + _qstring = TQImageIOJBridge::imageFormat((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QImageIO_imageFormat__Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jclass cls, jobject arg1) +{ + const char* _qstring; + (void) cls; + _qstring = TQImageIOJBridge::imageFormat((TQIODevice*) QtSupport::getQt(env, arg1)); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImageIO_image(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &((TQImageIO*) QtSupport::getQt(env, obj))->image(), "org.kde.qt.TQImage"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImageIO_inputFormats(JNIEnv* env, jclass cls) +{ + TQStrList _qlist; + (void) cls; + _qlist = TQImageIOJBridge::inputFormats(); + return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImageIO_ioDevice(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQImageIO*) QtSupport::getQt(env, obj))->ioDevice(), "org.kde.qt.TQIODeviceInterface"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QImageIO_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImageIO_newTQImageIO__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQImageIOJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImageIO_newTQImageIO__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; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQImageIOJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImageIO_newTQImageIO__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject ioDevice, jstring format) +{ +static TQCString* _qstring_format = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQImageIOJBridge((TQIODevice*) QtSupport::getQt(env, ioDevice), (const char*) QtSupport::toCharString(env, format, &_qstring_format))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QImageIO_outputFormats(JNIEnv* env, jclass cls) +{ + TQStrList _qlist; + (void) cls; + _qlist = TQImageIOJBridge::outputFormats(); + return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QImageIO_parameters(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQImageIO*) QtSupport::getQt(env, obj))->parameters(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QImageIO_quality(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQImageIO*) QtSupport::getQt(env, obj))->quality(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QImageIO_read(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQImageIO*) QtSupport::getQt(env, obj))->read(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImageIO_setDescription(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQImageIO*) QtSupport::getQt(env, obj))->setDescription((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImageIO_setFileName(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQImageIO*) QtSupport::getQt(env, obj))->setFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImageIO_setFormat(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQCString* _qstring_arg1 = 0; + ((TQImageIO*) QtSupport::getQt(env, obj))->setFormat((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImageIO_setGamma(JNIEnv* env, jobject obj, jfloat arg1) +{ + ((TQImageIO*) QtSupport::getQt(env, obj))->setGamma((float) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImageIO_setIODevice(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQImageIO*) QtSupport::getQt(env, obj))->setIODevice((TQIODevice*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImageIO_setImage(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQImageIO*) QtSupport::getQt(env, obj))->setImage((const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImageIO_setParameters(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQCString* _qstring_arg1 = 0; + ((TQImageIO*) QtSupport::getQt(env, obj))->setParameters((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImageIO_setQuality(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQImageIO*) QtSupport::getQt(env, obj))->setQuality((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImageIO_setStatus(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQImageIO*) QtSupport::getQt(env, obj))->setStatus((int) arg1); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QImageIO_status(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQImageIO*) QtSupport::getQt(env, obj))->status(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QImageIO_write(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQImageIO*) QtSupport::getQt(env, obj))->write(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQImageIO.h b/qtjava/javalib/qtjava/TQImageIO.h new file mode 100644 index 00000000..2fc79d2e --- /dev/null +++ b/qtjava/javalib/qtjava/TQImageIO.h @@ -0,0 +1,48 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QImageIO__ +#define __org_kde_qt_QImageIO__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageIO_newTQImageIO__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageIO_newTQImageIO__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageIO_newTQImageIO__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImageIO_image (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QImageIO_status (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QImageIO_format (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImageIO_ioDevice (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QImageIO_fileName (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QImageIO_quality (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QImageIO_description (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QImageIO_parameters (JNIEnv *env, jobject); +extern JNIEXPORT jfloat JNICALL Java_org_kde_qt_QImageIO_gamma (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageIO_setImage (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageIO_setStatus (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageIO_setFormat (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageIO_setIODevice (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageIO_setFileName (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageIO_setQuality (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageIO_setDescription (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageIO_setParameters (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageIO_setGamma (JNIEnv *env, jobject, jfloat); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImageIO_read (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImageIO_write (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QImageIO_imageFormat__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QImageIO_imageFormat__Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImageIO_inputFormats (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QImageIO_outputFormats (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageIO_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageIO_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImageIO_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QImageIO__ */ diff --git a/qtjava/javalib/qtjava/TQImageTextKeyLang.cpp b/qtjava/javalib/qtjava/TQImageTextKeyLang.cpp new file mode 100644 index 00000000..8ee2e40d --- /dev/null +++ b/qtjava/javalib/qtjava/TQImageTextKeyLang.cpp @@ -0,0 +1,73 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + +class TQImageTextKeyLangJBridge : public TQImageTextKeyLang +{ +public: + TQImageTextKeyLangJBridge(const char* arg1,const char* arg2) : TQImageTextKeyLang(arg1,arg2) {}; + TQImageTextKeyLangJBridge() : TQImageTextKeyLang() {}; + ~TQImageTextKeyLangJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImageTextKeyLang_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QImageTextKeyLang_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImageTextKeyLang_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQImageTextKeyLang*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QImageTextKeyLang_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImageTextKeyLang_newTQImageTextKeyLang__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQImageTextKeyLangJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QImageTextKeyLang_newTQImageTextKeyLang__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring k, jstring l) +{ +static TQCString* _qstring_k = 0; +static TQCString* _qstring_l = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQImageTextKeyLangJBridge((const char*) QtSupport::toCharString(env, k, &_qstring_k), (const char*) QtSupport::toCharString(env, l, &_qstring_l))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QImageTextKeyLang_op_1equals(JNIEnv* env, jobject obj, jobject other) +{ + jboolean xret = (jboolean) ((TQImageTextKeyLang*) QtSupport::getQt(env, obj))->operator==((const TQImageTextKeyLang&)*(const TQImageTextKeyLang*) QtSupport::getQt(env, other)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QImageTextKeyLang_op_1lt(JNIEnv* env, jobject obj, jobject other) +{ + jboolean xret = (jboolean) ((TQImageTextKeyLang*) QtSupport::getQt(env, obj))->operator<((const TQImageTextKeyLang&)*(const TQImageTextKeyLang*) QtSupport::getQt(env, other)); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQImageTextKeyLang.h b/qtjava/javalib/qtjava/TQImageTextKeyLang.h new file mode 100644 index 00000000..b0f0b9be --- /dev/null +++ b/qtjava/javalib/qtjava/TQImageTextKeyLang.h @@ -0,0 +1,25 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QImageTextKeyLang__ +#define __org_kde_qt_QImageTextKeyLang__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageTextKeyLang_newTQImageTextKeyLang__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageTextKeyLang_newTQImageTextKeyLang__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImageTextKeyLang_op_1lt (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImageTextKeyLang_op_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageTextKeyLang_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageTextKeyLang_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImageTextKeyLang_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QImageTextKeyLang__ */ diff --git a/qtjava/javalib/qtjava/TQInputDialog.cpp b/qtjava/javalib/qtjava/TQInputDialog.cpp new file mode 100644 index 00000000..3de34b42 --- /dev/null +++ b/qtjava/javalib/qtjava/TQInputDialog.cpp @@ -0,0 +1,375 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QInputDialog_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQInputDialog*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jdouble JNICALL +Java_org_kde_qt_QInputDialog_getDouble__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_label = 0; + jdouble xret = (jdouble) TQInputDialog::getDouble((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); + return xret; +} + +JNIEXPORT jdouble JNICALL +Java_org_kde_qt_QInputDialog_getDouble__Ljava_lang_String_2Ljava_lang_String_2D(JNIEnv* env, jclass cls, jstring caption, jstring label, jdouble value) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_label = 0; + jdouble xret = (jdouble) TQInputDialog::getDouble((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (double) value); + return xret; +} + +JNIEXPORT jdouble JNICALL +Java_org_kde_qt_QInputDialog_getDouble__Ljava_lang_String_2Ljava_lang_String_2DD(JNIEnv* env, jclass cls, jstring caption, jstring label, jdouble value, jdouble minValue) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_label = 0; + jdouble xret = (jdouble) TQInputDialog::getDouble((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (double) value, (double) minValue); + return xret; +} + +JNIEXPORT jdouble JNICALL +Java_org_kde_qt_QInputDialog_getDouble__Ljava_lang_String_2Ljava_lang_String_2DDD(JNIEnv* env, jclass cls, jstring caption, jstring label, jdouble value, jdouble minValue, jdouble maxValue) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_label = 0; + jdouble xret = (jdouble) TQInputDialog::getDouble((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (double) value, (double) minValue, (double) maxValue); + return xret; +} + +JNIEXPORT jdouble JNICALL +Java_org_kde_qt_QInputDialog_getDouble__Ljava_lang_String_2Ljava_lang_String_2DDDI(JNIEnv* env, jclass cls, jstring caption, jstring label, jdouble value, jdouble minValue, jdouble maxValue, jint decimals) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_label = 0; + jdouble xret = (jdouble) TQInputDialog::getDouble((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (double) value, (double) minValue, (double) maxValue, (int) decimals); + return xret; +} + +JNIEXPORT jdouble JNICALL +Java_org_kde_qt_QInputDialog_getDouble__Ljava_lang_String_2Ljava_lang_String_2DDDI_3Z(JNIEnv* env, jclass cls, jstring caption, jstring label, jdouble value, jdouble minValue, jdouble maxValue, jint decimals, jbooleanArray ok) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_label = 0; + bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); + jdouble xret = (jdouble) TQInputDialog::getDouble((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (double) value, (double) minValue, (double) maxValue, (int) decimals, (bool*) _bool_ok); + env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); + return xret; +} + +JNIEXPORT jdouble JNICALL +Java_org_kde_qt_QInputDialog_getDouble__Ljava_lang_String_2Ljava_lang_String_2DDDI_3ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jdouble value, jdouble minValue, jdouble maxValue, jint decimals, jbooleanArray ok, jobject parent) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_label = 0; + bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); + jdouble xret = (jdouble) TQInputDialog::getDouble((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (double) value, (double) minValue, (double) maxValue, (int) decimals, (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent)); + env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); + return xret; +} + +JNIEXPORT jdouble JNICALL +Java_org_kde_qt_QInputDialog_getDouble__Ljava_lang_String_2Ljava_lang_String_2DDDI_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jdouble value, jdouble minValue, jdouble maxValue, jint decimals, jbooleanArray ok, jobject parent, jstring name) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_label = 0; + bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); +static TQCString* _qstring_name = 0; + jdouble xret = (jdouble) TQInputDialog::getDouble((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (double) value, (double) minValue, (double) maxValue, (int) decimals, (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 xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QInputDialog_getInteger__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_label = 0; + jint xret = (jint) TQInputDialog::getInteger((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QInputDialog_getInteger__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring caption, jstring label, jint value) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_label = 0; + jint xret = (jint) TQInputDialog::getInteger((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) value); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QInputDialog_getInteger__Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv* env, jclass cls, jstring caption, jstring label, jint value, jint minValue) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_label = 0; + jint xret = (jint) TQInputDialog::getInteger((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) value, (int) minValue); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QInputDialog_getInteger__Ljava_lang_String_2Ljava_lang_String_2III(JNIEnv* env, jclass cls, jstring caption, jstring label, jint value, jint minValue, jint maxValue) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_label = 0; + jint xret = (jint) TQInputDialog::getInteger((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) value, (int) minValue, (int) maxValue); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QInputDialog_getInteger__Ljava_lang_String_2Ljava_lang_String_2IIII(JNIEnv* env, jclass cls, jstring caption, jstring label, jint value, jint minValue, jint maxValue, jint step) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_label = 0; + jint xret = (jint) TQInputDialog::getInteger((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) value, (int) minValue, (int) maxValue, (int) step); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QInputDialog_getInteger__Ljava_lang_String_2Ljava_lang_String_2IIII_3Z(JNIEnv* env, jclass cls, jstring caption, jstring label, jint value, jint minValue, jint maxValue, jint step, jbooleanArray ok) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_label = 0; + bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); + jint xret = (jint) TQInputDialog::getInteger((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) value, (int) minValue, (int) maxValue, (int) step, (bool*) _bool_ok); + env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QInputDialog_getInteger__Ljava_lang_String_2Ljava_lang_String_2IIII_3ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jint value, jint minValue, jint maxValue, jint step, jbooleanArray ok, jobject parent) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_label = 0; + bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); + jint xret = (jint) TQInputDialog::getInteger((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) value, (int) minValue, (int) maxValue, (int) step, (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent)); + env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QInputDialog_getInteger__Ljava_lang_String_2Ljava_lang_String_2IIII_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jint value, jint minValue, jint maxValue, jint step, jbooleanArray ok, jobject parent, jstring name) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_label = 0; + bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); +static TQCString* _qstring_name = 0; + jint xret = (jint) TQInputDialog::getInteger((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) value, (int) minValue, (int) maxValue, (int) step, (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 xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QInputDialog_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 = TQInputDialog::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_qt_QInputDialog_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 = TQInputDialog::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_qt_QInputDialog_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 = TQInputDialog::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_qt_QInputDialog_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 = TQInputDialog::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_qt_QInputDialog_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 = TQInputDialog::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_qt_QInputDialog_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 = TQInputDialog::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_qt_QInputDialog_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 = TQInputDialog::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_qt_QInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring caption, jstring label, jint echo) +{ + TQString _qstring; + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_label = 0; + _qstring = TQInputDialog::getText((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (TQLineEdit::EchoMode) echo); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jint echo, jstring text) +{ + TQString _qstring; + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_label = 0; +static TQString* _qstring_text = 0; + _qstring = TQInputDialog::getText((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (TQLineEdit::EchoMode) echo, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2_3Z(JNIEnv* env, jclass cls, jstring caption, jstring label, jint echo, jstring text, jbooleanArray ok) +{ + TQString _qstring; + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_label = 0; +static TQString* _qstring_text = 0; + bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); + _qstring = TQInputDialog::getText((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (TQLineEdit::EchoMode) echo, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool*) _bool_ok); + env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2_3ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jint echo, jstring text, jbooleanArray ok, jobject parent) +{ + TQString _qstring; + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_label = 0; +static TQString* _qstring_text = 0; + bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); + _qstring = TQInputDialog::getText((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (TQLineEdit::EchoMode) echo, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (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_qt_QInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jint echo, jstring text, jbooleanArray ok, jobject parent, jstring name) +{ + TQString _qstring; + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_label = 0; +static TQString* _qstring_text = 0; + bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); +static TQCString* _qstring_name = 0; + _qstring = TQInputDialog::getText((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (TQLineEdit::EchoMode) echo, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (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 jobject JNICALL +Java_org_kde_qt_QInputDialog_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQInputDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QInputDialog_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQInputDialog::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QInputDialog_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQInputDialog::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQInputDialog.h b/qtjava/javalib/qtjava/TQInputDialog.h new file mode 100644 index 00000000..2050c763 --- /dev/null +++ b/qtjava/javalib/qtjava/TQInputDialog.h @@ -0,0 +1,50 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QInputDialog__ +#define __org_kde_qt_QInputDialog__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QInputDialog_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QInputDialog_className (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QInputDialog_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QInputDialog_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jint, jstring, jbooleanArray, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2_3ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jstring, jint, jstring, jbooleanArray, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2_3Z (JNIEnv *env, jclass, jstring, jstring, jint, jstring, jbooleanArray); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jint, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jstring, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QInputDialog_getInteger__Ljava_lang_String_2Ljava_lang_String_2IIII_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jint, jint, jint, jint, jbooleanArray, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QInputDialog_getInteger__Ljava_lang_String_2Ljava_lang_String_2IIII_3ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jstring, jint, jint, jint, jint, jbooleanArray, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QInputDialog_getInteger__Ljava_lang_String_2Ljava_lang_String_2IIII_3Z (JNIEnv *env, jclass, jstring, jstring, jint, jint, jint, jint, jbooleanArray); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QInputDialog_getInteger__Ljava_lang_String_2Ljava_lang_String_2IIII (JNIEnv *env, jclass, jstring, jstring, jint, jint, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QInputDialog_getInteger__Ljava_lang_String_2Ljava_lang_String_2III (JNIEnv *env, jclass, jstring, jstring, jint, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QInputDialog_getInteger__Ljava_lang_String_2Ljava_lang_String_2II (JNIEnv *env, jclass, jstring, jstring, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QInputDialog_getInteger__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QInputDialog_getInteger__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QInputDialog_getDouble__Ljava_lang_String_2Ljava_lang_String_2DDDI_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jdouble, jdouble, jdouble, jint, jbooleanArray, jobject, jstring); +extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QInputDialog_getDouble__Ljava_lang_String_2Ljava_lang_String_2DDDI_3ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jstring, jdouble, jdouble, jdouble, jint, jbooleanArray, jobject); +extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QInputDialog_getDouble__Ljava_lang_String_2Ljava_lang_String_2DDDI_3Z (JNIEnv *env, jclass, jstring, jstring, jdouble, jdouble, jdouble, jint, jbooleanArray); +extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QInputDialog_getDouble__Ljava_lang_String_2Ljava_lang_String_2DDDI (JNIEnv *env, jclass, jstring, jstring, jdouble, jdouble, jdouble, jint); +extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QInputDialog_getDouble__Ljava_lang_String_2Ljava_lang_String_2DDD (JNIEnv *env, jclass, jstring, jstring, jdouble, jdouble, jdouble); +extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QInputDialog_getDouble__Ljava_lang_String_2Ljava_lang_String_2DD (JNIEnv *env, jclass, jstring, jstring, jdouble, jdouble); +extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QInputDialog_getDouble__Ljava_lang_String_2Ljava_lang_String_2D (JNIEnv *env, jclass, jstring, jstring, jdouble); +extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QInputDialog_getDouble__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QInputDialog_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_qt_QInputDialog_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_qt_QInputDialog_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_qt_QInputDialog_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_qt_QInputDialog_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_qt_QInputDialog_getItem__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobjectArray); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QInputDialog__ */ diff --git a/qtjava/javalib/qtjava/TQIntValidator.cpp b/qtjava/javalib/qtjava/TQIntValidator.cpp new file mode 100644 index 00000000..5a02a5a8 --- /dev/null +++ b/qtjava/javalib/qtjava/TQIntValidator.cpp @@ -0,0 +1,201 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQIntValidatorJBridge : public TQIntValidator +{ +public: + TQIntValidatorJBridge(TQObject* arg1,const char* arg2) : TQIntValidator(arg1,arg2) {}; + TQIntValidatorJBridge(TQObject* arg1) : TQIntValidator(arg1) {}; + TQIntValidatorJBridge(int arg1,int arg2,TQObject* arg3,const char* arg4) : TQIntValidator(arg1,arg2,arg3,arg4) {}; + TQIntValidatorJBridge(int arg1,int arg2,TQObject* arg3) : TQIntValidator(arg1,arg2,arg3) {}; + ~TQIntValidatorJBridge() {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.qt.TQIntValidator",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIntValidator_bottom(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIntValidator*) QtSupport::getQt(env, obj))->bottom(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QIntValidator_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQIntValidator*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIntValidator_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QIntValidator_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIntValidator_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQIntValidator*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQIntValidator*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QIntValidator_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QIntValidator_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIntValidator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIntValidator_newTQIntValidator__IILorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jint bottom, jint top, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQIntValidatorJBridge((int) bottom, (int) top, (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIntValidator_newTQIntValidator__IILorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint bottom, jint top, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQIntValidatorJBridge((int) bottom, (int) top, (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_qt_QIntValidator_newTQIntValidator__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQIntValidatorJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIntValidator_newTQIntValidator__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 TQIntValidatorJBridge((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_qt_QIntValidator_setBottom(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQIntValidator*) QtSupport::getQt(env, obj))->setBottom((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIntValidator_setRange(JNIEnv* env, jobject obj, jint bottom, jint top) +{ + ((TQIntValidator*) QtSupport::getQt(env, obj))->setRange((int) bottom, (int) top); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QIntValidator_setTop(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQIntValidator*) QtSupport::getQt(env, obj))->setTop((int) arg1); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIntValidator_top(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIntValidator*) QtSupport::getQt(env, obj))->top(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QIntValidator_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQIntValidatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QIntValidator_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQIntValidatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QIntValidator_validate(JNIEnv* env, jobject obj, jobject arg1, jintArray arg2) +{ +static TQString* _qstring_arg1 = 0; + int* _int_arg2 = QtSupport::toIntPtr(env, arg2); + jint xret = (jint) ((TQIntValidator*) 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/qtjava/javalib/qtjava/TQIntValidator.h b/qtjava/javalib/qtjava/TQIntValidator.h new file mode 100644 index 00000000..c0c7d630 --- /dev/null +++ b/qtjava/javalib/qtjava/TQIntValidator.h @@ -0,0 +1,35 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QIntValidator__ +#define __org_kde_qt_QIntValidator__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QIntValidator_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QIntValidator_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIntValidator_newTQIntValidator__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIntValidator_newTQIntValidator__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIntValidator_newTQIntValidator__IILorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIntValidator_newTQIntValidator__IILorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jint, jint, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIntValidator_validate (JNIEnv *env, jobject, jobject, jintArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIntValidator_setBottom (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIntValidator_setTop (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIntValidator_setRange (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIntValidator_bottom (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QIntValidator_top (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QIntValidator_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QIntValidator_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIntValidator_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QIntValidator_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIntValidator_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QIntValidator__ */ diff --git a/qtjava/javalib/qtjava/TQJisCodec.cpp b/qtjava/javalib/qtjava/TQJisCodec.cpp new file mode 100644 index 00000000..be351398 --- /dev/null +++ b/qtjava/javalib/qtjava/TQJisCodec.cpp @@ -0,0 +1,114 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQJisCodecJBridge : public TQJisCodec +{ +public: + TQJisCodecJBridge() : TQJisCodec() {}; + ~TQJisCodecJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QJisCodec_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QJisCodec_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QJisCodec_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQJisCodec*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QJisCodec_fromUnicode(JNIEnv* env, jobject obj, jstring uc, jintArray lenInOut) +{ + TQCString _qstring; +static TQString* _qstring_uc = 0; + int* _int_lenInOut = QtSupport::toIntPtr(env, lenInOut); + _qstring = ((TQJisCodec*) QtSupport::getQt(env, obj))->fromUnicode((const TQString&)*(TQString*) QtSupport::toTQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); + env->SetIntArrayRegion(lenInOut, 0, 1, (jint *) _int_lenInOut); + return QtSupport::fromTQCString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QJisCodec_heuristicContentMatch(JNIEnv* env, jobject obj, jstring chars, jint len) +{ +static TQCString* _qstring_chars = 0; + jint xret = (jint) ((TQJisCodec*) QtSupport::getQt(env, obj))->heuristicContentMatch((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QJisCodec_heuristicNameMatch(JNIEnv* env, jobject obj, jstring hint) +{ +static TQCString* _qstring_hint = 0; + jint xret = (jint) ((TQJisCodec*) QtSupport::getQt(env, obj))->heuristicNameMatch((const char*) QtSupport::toCharString(env, hint, &_qstring_hint)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QJisCodec_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QJisCodec_makeDecoder(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQJisCodec*) QtSupport::getQt(env, obj))->makeDecoder(), "org.kde.qt.TQTextDecoder"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QJisCodec_mibEnum(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQJisCodec*) QtSupport::getQt(env, obj))->mibEnum(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QJisCodec_mimeName(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQJisCodec*) QtSupport::getQt(env, obj))->mimeName(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QJisCodec_name(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQJisCodec*) QtSupport::getQt(env, obj))->name(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QJisCodec_newTQJisCodec(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQJisCodecJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QJisCodec_toUnicode(JNIEnv* env, jobject obj, jstring chars, jint len) +{ + TQString _qstring; +static TQCString* _qstring_chars = 0; + _qstring = ((TQJisCodec*) QtSupport::getQt(env, obj))->toUnicode((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQJisCodec.h b/qtjava/javalib/qtjava/TQJisCodec.h new file mode 100644 index 00000000..36d29fd2 --- /dev/null +++ b/qtjava/javalib/qtjava/TQJisCodec.h @@ -0,0 +1,30 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QJisCodec__ +#define __org_kde_qt_QJisCodec__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJisCodec_mibEnum (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QJisCodec_name (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QJisCodec_mimeName (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QJisCodec_makeDecoder (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QJisCodec_fromUnicode (JNIEnv *env, jobject, jstring, jintArray); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QJisCodec_toUnicode (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJisCodec_heuristicContentMatch (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJisCodec_heuristicNameMatch (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QJisCodec_newTQJisCodec (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QJisCodec_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QJisCodec_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QJisCodec_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QJisCodec__ */ diff --git a/qtjava/javalib/qtjava/TQJpUnicodeConv.cpp b/qtjava/javalib/qtjava/TQJpUnicodeConv.cpp new file mode 100644 index 00000000..5db2583c --- /dev/null +++ b/qtjava/javalib/qtjava/TQJpUnicodeConv.cpp @@ -0,0 +1,250 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + +class TQJpUnicodeConvJBridge : public TQJpUnicodeConv +{ +public: + TQJpUnicodeConvJBridge(int arg1) : TQJpUnicodeConv(arg1) {}; + ~TQJpUnicodeConvJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QJpUnicodeConv_asciiToUnicode__I(JNIEnv* env, jobject obj, jint ascii) +{ + jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->asciiToUnicode((uint) ascii); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QJpUnicodeConv_asciiToUnicode__II(JNIEnv* env, jobject obj, jint h, jint l) +{ + jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->asciiToUnicode((uint) h, (uint) l); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QJpUnicodeConv_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QJpUnicodeConv_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QJpUnicodeConv_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQJpUnicodeConv*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QJpUnicodeConv_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QJpUnicodeConv_jisx0201KanaToUnicode__I(JNIEnv* env, jobject obj, jint jis) +{ + jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->jisx0201KanaToUnicode((uint) jis); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QJpUnicodeConv_jisx0201KanaToUnicode__II(JNIEnv* env, jobject obj, jint h, jint l) +{ + jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->jisx0201KanaToUnicode((uint) h, (uint) l); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QJpUnicodeConv_jisx0201LatinToUnicode__I(JNIEnv* env, jobject obj, jint jis) +{ + jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->jisx0201LatinToUnicode((uint) jis); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QJpUnicodeConv_jisx0201LatinToUnicode__II(JNIEnv* env, jobject obj, jint h, jint l) +{ + jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->jisx0201LatinToUnicode((uint) h, (uint) l); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QJpUnicodeConv_jisx0201ToUnicode__I(JNIEnv* env, jobject obj, jint jis) +{ + jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->jisx0201ToUnicode((uint) jis); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QJpUnicodeConv_jisx0201ToUnicode__II(JNIEnv* env, jobject obj, jint h, jint l) +{ + jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->jisx0201ToUnicode((uint) h, (uint) l); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QJpUnicodeConv_jisx0208ToUnicode__I(JNIEnv* env, jobject obj, jint jis) +{ + jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->jisx0208ToUnicode((uint) jis); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QJpUnicodeConv_jisx0208ToUnicode__II(JNIEnv* env, jobject obj, jint h, jint l) +{ + jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->jisx0208ToUnicode((uint) h, (uint) l); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QJpUnicodeConv_jisx0212ToUnicode__I(JNIEnv* env, jobject obj, jint jis) +{ + jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->jisx0212ToUnicode((uint) jis); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QJpUnicodeConv_jisx0212ToUnicode__II(JNIEnv* env, jobject obj, jint h, jint l) +{ + jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->jisx0212ToUnicode((uint) h, (uint) l); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QJpUnicodeConv_newConverter(JNIEnv* env, jclass cls, jint rule) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQJpUnicodeConvJBridge::newConverter((int) rule), "org.kde.qt.TQJpUnicodeConv"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QJpUnicodeConv_newTQJpUnicodeConv(JNIEnv* env, jobject obj, jint r) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQJpUnicodeConvJBridge((int) r)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QJpUnicodeConv_sjisToUnicode__I(JNIEnv* env, jobject obj, jint sjis) +{ + jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->sjisToUnicode((uint) sjis); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QJpUnicodeConv_sjisToUnicode__II(JNIEnv* env, jobject obj, jint h, jint l) +{ + jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->sjisToUnicode((uint) h, (uint) l); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QJpUnicodeConv_unicodeToAscii__I(JNIEnv* env, jobject obj, jint unicode) +{ + jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->unicodeToAscii((uint) unicode); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QJpUnicodeConv_unicodeToAscii__II(JNIEnv* env, jobject obj, jint h, jint l) +{ + jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->unicodeToAscii((uint) h, (uint) l); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0201Kana__I(JNIEnv* env, jobject obj, jint unicode) +{ + jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->unicodeToJisx0201Kana((uint) unicode); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0201Kana__II(JNIEnv* env, jobject obj, jint h, jint l) +{ + jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->unicodeToJisx0201Kana((uint) h, (uint) l); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0201Latin__I(JNIEnv* env, jobject obj, jint unicode) +{ + jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->unicodeToJisx0201Latin((uint) unicode); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0201Latin__II(JNIEnv* env, jobject obj, jint h, jint l) +{ + jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->unicodeToJisx0201Latin((uint) h, (uint) l); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0201__I(JNIEnv* env, jobject obj, jint unicode) +{ + jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->unicodeToJisx0201((uint) unicode); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0201__II(JNIEnv* env, jobject obj, jint h, jint l) +{ + jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->unicodeToJisx0201((uint) h, (uint) l); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0208__I(JNIEnv* env, jobject obj, jint unicode) +{ + jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->unicodeToJisx0208((uint) unicode); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0208__II(JNIEnv* env, jobject obj, jint h, jint l) +{ + jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->unicodeToJisx0208((uint) h, (uint) l); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0212__I(JNIEnv* env, jobject obj, jint unicode) +{ + jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->unicodeToJisx0212((uint) unicode); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0212__II(JNIEnv* env, jobject obj, jint h, jint l) +{ + jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->unicodeToJisx0212((uint) h, (uint) l); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QJpUnicodeConv_unicodeToSjis__I(JNIEnv* env, jobject obj, jint unicode) +{ + jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->unicodeToSjis((uint) unicode); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QJpUnicodeConv_unicodeToSjis__II(JNIEnv* env, jobject obj, jint h, jint l) +{ + jint xret = (jint) ((TQJpUnicodeConv*) QtSupport::getQt(env, obj))->unicodeToSjis((uint) h, (uint) l); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQJpUnicodeConv.h b/qtjava/javalib/qtjava/TQJpUnicodeConv.h new file mode 100644 index 00000000..77c6cb94 --- /dev/null +++ b/qtjava/javalib/qtjava/TQJpUnicodeConv.h @@ -0,0 +1,51 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QJpUnicodeConv__ +#define __org_kde_qt_QJpUnicodeConv__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_asciiToUnicode__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_jisx0201ToUnicode__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_jisx0201LatinToUnicode__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_jisx0201KanaToUnicode__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_jisx0208ToUnicode__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_jisx0212ToUnicode__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_asciiToUnicode__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_jisx0201ToUnicode__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_jisx0201LatinToUnicode__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_jisx0201KanaToUnicode__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_jisx0208ToUnicode__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_jisx0212ToUnicode__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_unicodeToAscii__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0201__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0201Latin__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0201Kana__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0208__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0212__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_unicodeToAscii__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0201__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0201Latin__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0201Kana__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0208__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_unicodeToJisx0212__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_sjisToUnicode__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_unicodeToSjis__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_sjisToUnicode__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_unicodeToSjis__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QJpUnicodeConv_newConverter (JNIEnv *env, jclass, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QJpUnicodeConv_newTQJpUnicodeConv (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QJpUnicodeConv_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QJpUnicodeConv_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QJpUnicodeConv_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QJpUnicodeConv__ */ diff --git a/qtjava/javalib/qtjava/TQKeyEvent.cpp b/qtjava/javalib/qtjava/TQKeyEvent.cpp new file mode 100644 index 00000000..7ecdd3af --- /dev/null +++ b/qtjava/javalib/qtjava/TQKeyEvent.cpp @@ -0,0 +1,155 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQKeyEventJBridge : public TQKeyEvent +{ +public: + TQKeyEventJBridge(TQEvent::Type arg1,int arg2,int arg3,int arg4,const TQString& arg5,bool arg6,ushort arg7) : TQKeyEvent(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TQKeyEventJBridge(TQEvent::Type arg1,int arg2,int arg3,int arg4,const TQString& arg5,bool arg6) : TQKeyEvent(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TQKeyEventJBridge(TQEvent::Type arg1,int arg2,int arg3,int arg4,const TQString& arg5) : TQKeyEvent(arg1,arg2,arg3,arg4,arg5) {}; + TQKeyEventJBridge(TQEvent::Type arg1,int arg2,int arg3,int arg4) : TQKeyEvent(arg1,arg2,arg3,arg4) {}; + ~TQKeyEventJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QKeyEvent_accept(JNIEnv* env, jobject obj) +{ + ((TQKeyEvent*) QtSupport::getQt(env, obj))->accept(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QKeyEvent_ascii(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQKeyEvent*) QtSupport::getQt(env, obj))->ascii(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QKeyEvent_count(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQKeyEvent*) QtSupport::getQt(env, obj))->count(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QKeyEvent_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QKeyEvent_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QKeyEvent_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQKeyEvent*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QKeyEvent_ignore(JNIEnv* env, jobject obj) +{ + ((TQKeyEvent*) QtSupport::getQt(env, obj))->ignore(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QKeyEvent_isAccepted(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQKeyEvent*) QtSupport::getQt(env, obj))->isAccepted(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QKeyEvent_isAutoRepeat(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQKeyEvent*) QtSupport::getQt(env, obj))->isAutoRepeat(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QKeyEvent_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QKeyEvent_key(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQKeyEvent*) QtSupport::getQt(env, obj))->key(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QKeyEvent_newTQKeyEvent__IIII(JNIEnv* env, jobject obj, jint type, jint key, jint ascii, jint state) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQKeyEventJBridge((TQEvent::Type) type, (int) key, (int) ascii, (int) state)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QKeyEvent_newTQKeyEvent__IIIILjava_lang_String_2(JNIEnv* env, jobject obj, jint type, jint key, jint ascii, jint state, jstring text) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQKeyEventJBridge((TQEvent::Type) type, (int) key, (int) ascii, (int) state, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QKeyEvent_newTQKeyEvent__IIIILjava_lang_String_2Z(JNIEnv* env, jobject obj, jint type, jint key, jint ascii, jint state, jstring text, jboolean autorep) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQKeyEventJBridge((TQEvent::Type) type, (int) key, (int) ascii, (int) state, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool) autorep)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QKeyEvent_newTQKeyEvent__IIIILjava_lang_String_2ZS(JNIEnv* env, jobject obj, jint type, jint key, jint ascii, jint state, jstring text, jboolean autorep, jshort count) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQKeyEventJBridge((TQEvent::Type) type, (int) key, (int) ascii, (int) state, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool) autorep, (ushort) count)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QKeyEvent_stateAfter(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQKeyEvent*) QtSupport::getQt(env, obj))->stateAfter(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QKeyEvent_state(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQKeyEvent*) QtSupport::getQt(env, obj))->state(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QKeyEvent_text(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQKeyEvent*) QtSupport::getQt(env, obj))->text(); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQKeyEvent.h b/qtjava/javalib/qtjava/TQKeyEvent.h new file mode 100644 index 00000000..e0f25e7f --- /dev/null +++ b/qtjava/javalib/qtjava/TQKeyEvent.h @@ -0,0 +1,35 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QKeyEvent__ +#define __org_kde_qt_QKeyEvent__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeyEvent_newTQKeyEvent__IIIILjava_lang_String_2ZS (JNIEnv *env, jobject, jint, jint, jint, jint, jstring, jboolean, jshort); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeyEvent_newTQKeyEvent__IIIILjava_lang_String_2Z (JNIEnv *env, jobject, jint, jint, jint, jint, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeyEvent_newTQKeyEvent__IIIILjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeyEvent_newTQKeyEvent__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QKeyEvent_key (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QKeyEvent_ascii (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QKeyEvent_state (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QKeyEvent_stateAfter (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QKeyEvent_isAccepted (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QKeyEvent_text (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QKeyEvent_isAutoRepeat (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QKeyEvent_count (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeyEvent_accept (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeyEvent_ignore (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeyEvent_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeyEvent_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QKeyEvent_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QKeyEvent__ */ diff --git a/qtjava/javalib/qtjava/TQKeySequence.cpp b/qtjava/javalib/qtjava/TQKeySequence.cpp new file mode 100644 index 00000000..b71135eb --- /dev/null +++ b/qtjava/javalib/qtjava/TQKeySequence.cpp @@ -0,0 +1,157 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQKeySequenceJBridge : public TQKeySequence +{ +public: + TQKeySequenceJBridge() : TQKeySequence() {}; + TQKeySequenceJBridge(const TQString& arg1) : TQKeySequence(arg1) {}; + TQKeySequenceJBridge(int arg1) : TQKeySequence(arg1) {}; + TQKeySequenceJBridge(int arg1,int arg2,int arg3,int arg4) : TQKeySequence(arg1,arg2,arg3,arg4) {}; + TQKeySequenceJBridge(int arg1,int arg2,int arg3) : TQKeySequence(arg1,arg2,arg3) {}; + TQKeySequenceJBridge(int arg1,int arg2) : TQKeySequence(arg1,arg2) {}; + TQKeySequenceJBridge(const TQKeySequence& arg1) : TQKeySequence(arg1) {}; + ~TQKeySequenceJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QKeySequence_count(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQKeySequence*) QtSupport::getQt(env, obj))->count(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QKeySequence_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QKeySequence_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QKeySequence_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQKeySequence*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QKeySequence_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QKeySequence_isEmpty(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQKeySequence*) QtSupport::getQt(env, obj))->isEmpty(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QKeySequence_matches(JNIEnv* env, jobject obj, jobject arg1) +{ + jint xret = (jint) ((TQKeySequence*) QtSupport::getQt(env, obj))->matches((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QKeySequence_newTQKeySequence__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQKeySequenceJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QKeySequence_newTQKeySequence__I(JNIEnv* env, jobject obj, jint key) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQKeySequenceJBridge((int) key)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QKeySequence_newTQKeySequence__II(JNIEnv* env, jobject obj, jint k1, jint k2) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQKeySequenceJBridge((int) k1, (int) k2)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QKeySequence_newTQKeySequence__III(JNIEnv* env, jobject obj, jint k1, jint k2, jint k3) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQKeySequenceJBridge((int) k1, (int) k2, (int) k3)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QKeySequence_newTQKeySequence__IIII(JNIEnv* env, jobject obj, jint k1, jint k2, jint k3, jint k4) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQKeySequenceJBridge((int) k1, (int) k2, (int) k3, (int) k4)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QKeySequence_newTQKeySequence__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 TQKeySequenceJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QKeySequence_newTQKeySequence__Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQKeySequenceJBridge((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QKeySequence_op_1at(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQKeySequence*) QtSupport::getQt(env, obj))->operator[]((uint) arg1); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QKeySequence_op_1equals(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQKeySequence*) QtSupport::getQt(env, obj))->operator==((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QKeySequence_op_1not_1equals(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQKeySequence*) QtSupport::getQt(env, obj))->operator!=((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, arg1)); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQKeySequence.h b/qtjava/javalib/qtjava/TQKeySequence.h new file mode 100644 index 00000000..ec48c817 --- /dev/null +++ b/qtjava/javalib/qtjava/TQKeySequence.h @@ -0,0 +1,34 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QKeySequence__ +#define __org_kde_qt_QKeySequence__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeySequence_newTQKeySequence__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeySequence_newTQKeySequence__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeySequence_newTQKeySequence__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeySequence_newTQKeySequence__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeySequence_newTQKeySequence__III (JNIEnv *env, jobject, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeySequence_newTQKeySequence__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeySequence_newTQKeySequence__Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QKeySequence_count (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QKeySequence_isEmpty (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QKeySequence_matches (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QKeySequence_op_1at (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QKeySequence_op_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QKeySequence_op_1not_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeySequence_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeySequence_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QKeySequence_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QKeySequence__ */ diff --git a/qtjava/javalib/qtjava/TQLCDNumber.cpp b/qtjava/javalib/qtjava/TQLCDNumber.cpp new file mode 100644 index 00000000..5c99bb01 --- /dev/null +++ b/qtjava/javalib/qtjava/TQLCDNumber.cpp @@ -0,0 +1,691 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQLCDNumberJBridge : public TQLCDNumber +{ +public: + TQLCDNumberJBridge(TQWidget* arg1,const char* arg2) : TQLCDNumber(arg1,arg2) {}; + TQLCDNumberJBridge(TQWidget* arg1) : TQLCDNumber(arg1) {}; + TQLCDNumberJBridge() : TQLCDNumber() {}; + TQLCDNumberJBridge(uint arg1,TQWidget* arg2,const char* arg3) : TQLCDNumber(arg1,arg2,arg3) {}; + TQLCDNumberJBridge(uint arg1,TQWidget* arg2) : TQLCDNumber(arg1,arg2) {}; + TQLCDNumberJBridge(uint arg1) : TQLCDNumber(arg1) {}; + void public_setHexMode() { + TQLCDNumber::setHexMode(); + return; + } + void public_setDecMode() { + TQLCDNumber::setDecMode(); + return; + } + void public_setOctMode() { + TQLCDNumber::setOctMode(); + return; + } + void public_setBinMode() { + TQLCDNumber::setBinMode(); + return; + } + void protected_drawContents(TQPainter* arg1) { + TQLCDNumber::drawContents(arg1); + return; + } + ~TQLCDNumberJBridge() {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 setHexMode() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLCDNumber","setHexMode")) { + TQLCDNumber::setHexMode(); + } + return; + } + void setActiveWindow() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLCDNumber","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.qt.TQLCDNumber","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.qt.TQLCDNumber","setFocus")) { + TQWidget::setFocus(); + } + return; + } + void dragMoveEvent(TQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { + TQWidget::dragMoveEvent(arg1); + } + return; + } + void setDecMode() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLCDNumber","setDecMode")) { + TQLCDNumber::setDecMode(); + } + return; + } + void drawFrame(TQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { + TQFrame::drawFrame(arg1); + } + return; + } + void hide() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLCDNumber","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.qt.TQLCDNumber","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.qt.TQLCDNumber","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLCDNumber","showMaximized")) { + TQWidget::showMaximized(); + } + return; + } + void setOctMode() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLCDNumber","setOctMode")) { + TQLCDNumber::setOctMode(); + } + 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.qt.TQLCDNumber","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLCDNumber","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.qt.TQLCDNumber","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.qt.TQLCDNumber",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } + void setBinMode() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLCDNumber","setBinMode")) { + TQLCDNumber::setBinMode(); + } + 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.qt.TQLCDNumber","frameChanged")) { + TQFrame::frameChanged(); + } + return; + } + void showMinimized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLCDNumber","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QLCDNumber_checkOverflow__D(JNIEnv* env, jobject obj, jdouble num) +{ + jboolean xret = (jboolean) ((TQLCDNumber*) QtSupport::getQt(env, obj))->checkOverflow((double) num); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QLCDNumber_checkOverflow__I(JNIEnv* env, jobject obj, jint num) +{ + jboolean xret = (jboolean) ((TQLCDNumber*) QtSupport::getQt(env, obj))->checkOverflow((int) num); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QLCDNumber_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQLCDNumber*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLCDNumber_display__D(JNIEnv* env, jobject obj, jdouble num) +{ + ((TQLCDNumber*) QtSupport::getQt(env, obj))->display((double) num); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLCDNumber_display__I(JNIEnv* env, jobject obj, jint num) +{ + ((TQLCDNumber*) QtSupport::getQt(env, obj))->display((int) num); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLCDNumber_display__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring str) +{ +static TQString* _qstring_str = 0; + ((TQLCDNumber*) QtSupport::getQt(env, obj))->display((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLCDNumber_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QLCDNumber_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLCDNumber_drawContents(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQLCDNumberJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLCDNumber_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQLCDNumber*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQLCDNumber*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QLCDNumber_intValue(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQLCDNumber*) QtSupport::getQt(env, obj))->intValue(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QLCDNumber_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QLCDNumber_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLCDNumber*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QLCDNumber_mode(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQLCDNumber*) QtSupport::getQt(env, obj))->mode(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLCDNumber_newTQLCDNumber__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQLCDNumberJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLCDNumber_newTQLCDNumber__I(JNIEnv* env, jobject obj, jint numDigits) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQLCDNumberJBridge((uint) numDigits)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLCDNumber_newTQLCDNumber__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint numDigits, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQLCDNumberJBridge((uint) numDigits, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLCDNumber_newTQLCDNumber__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint numDigits, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQLCDNumberJBridge((uint) numDigits, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLCDNumber_newTQLCDNumber__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQLCDNumberJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLCDNumber_newTQLCDNumber__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 TQLCDNumberJBridge((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_qt_QLCDNumber_numDigits(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQLCDNumber*) QtSupport::getQt(env, obj))->numDigits(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QLCDNumber_segmentStyle(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQLCDNumber*) QtSupport::getQt(env, obj))->segmentStyle(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLCDNumber_setBinMode(JNIEnv* env, jobject obj) +{ + ((TQLCDNumberJBridge*) QtSupport::getQt(env, obj))->public_setBinMode(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLCDNumber_setDecMode(JNIEnv* env, jobject obj) +{ + ((TQLCDNumberJBridge*) QtSupport::getQt(env, obj))->public_setDecMode(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLCDNumber_setHexMode(JNIEnv* env, jobject obj) +{ + ((TQLCDNumberJBridge*) QtSupport::getQt(env, obj))->public_setHexMode(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLCDNumber_setMode(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQLCDNumber*) QtSupport::getQt(env, obj))->setMode((TQLCDNumber::Mode) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLCDNumber_setNumDigits(JNIEnv* env, jobject obj, jint nDigits) +{ + ((TQLCDNumber*) QtSupport::getQt(env, obj))->setNumDigits((int) nDigits); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLCDNumber_setOctMode(JNIEnv* env, jobject obj) +{ + ((TQLCDNumberJBridge*) QtSupport::getQt(env, obj))->public_setOctMode(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLCDNumber_setSegmentStyle(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQLCDNumber*) QtSupport::getQt(env, obj))->setSegmentStyle((TQLCDNumber::SegmentStyle) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLCDNumber_setSmallDecimalPoint(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQLCDNumber*) QtSupport::getQt(env, obj))->setSmallDecimalPoint((bool) arg1); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QLCDNumber_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQLCDNumber*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QLCDNumber_smallDecimalPoint(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQLCDNumber*) QtSupport::getQt(env, obj))->smallDecimalPoint(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QLCDNumber_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQLCDNumberJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QLCDNumber_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQLCDNumberJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jdouble JNICALL +Java_org_kde_qt_QLCDNumber_value(JNIEnv* env, jobject obj) +{ + jdouble xret = (jdouble) ((TQLCDNumber*) QtSupport::getQt(env, obj))->value(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQLCDNumber.h b/qtjava/javalib/qtjava/TQLCDNumber.h new file mode 100644 index 00000000..7b46b78f --- /dev/null +++ b/qtjava/javalib/qtjava/TQLCDNumber.h @@ -0,0 +1,52 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QLCDNumber__ +#define __org_kde_qt_QLCDNumber__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLCDNumber_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLCDNumber_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_newTQLCDNumber__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_newTQLCDNumber__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_newTQLCDNumber__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_newTQLCDNumber__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_newTQLCDNumber__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_newTQLCDNumber__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLCDNumber_smallDecimalPoint (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLCDNumber_numDigits (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_setNumDigits (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLCDNumber_checkOverflow__D (JNIEnv *env, jobject, jdouble); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLCDNumber_checkOverflow__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLCDNumber_mode (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_setMode (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLCDNumber_segmentStyle (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_setSegmentStyle (JNIEnv *env, jobject, jint); +extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QLCDNumber_value (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLCDNumber_intValue (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLCDNumber_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_display__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_display__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_display__D (JNIEnv *env, jobject, jdouble); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_setHexMode (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_setDecMode (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_setOctMode (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_setBinMode (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_setSmallDecimalPoint (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLCDNumber_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLCDNumber_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_drawContents (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLCDNumber_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QLCDNumber__ */ diff --git a/qtjava/javalib/qtjava/TQLabel.cpp b/qtjava/javalib/qtjava/TQLabel.cpp new file mode 100644 index 00000000..7ba67972 --- /dev/null +++ b/qtjava/javalib/qtjava/TQLabel.cpp @@ -0,0 +1,789 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQLabelJBridge : public TQLabel +{ +public: + TQLabelJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQLabel(arg1,arg2,arg3) {}; + TQLabelJBridge(TQWidget* arg1,const char* arg2) : TQLabel(arg1,arg2) {}; + TQLabelJBridge(TQWidget* arg1) : TQLabel(arg1) {}; + TQLabelJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3,TQt::WFlags arg4) : TQLabel(arg1,arg2,arg3,arg4) {}; + TQLabelJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQLabel(arg1,arg2,arg3) {}; + TQLabelJBridge(const TQString& arg1,TQWidget* arg2) : TQLabel(arg1,arg2) {}; + TQLabelJBridge(TQWidget* arg1,const TQString& arg2,TQWidget* arg3,const char* arg4,TQt::WFlags arg5) : TQLabel(arg1,arg2,arg3,arg4,arg5) {}; + TQLabelJBridge(TQWidget* arg1,const TQString& arg2,TQWidget* arg3,const char* arg4) : TQLabel(arg1,arg2,arg3,arg4) {}; + TQLabelJBridge(TQWidget* arg1,const TQString& arg2,TQWidget* arg3) : TQLabel(arg1,arg2,arg3) {}; + void protected_drawContents(TQPainter* arg1) { + TQLabel::drawContents(arg1); + return; + } + void protected_fontChange(const TQFont& arg1) { + TQLabel::fontChange(arg1); + return; + } + void protected_resizeEvent(TQResizeEvent* arg1) { + TQLabel::resizeEvent(arg1); + return; + } + ~TQLabelJBridge() {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.qt.TQLabel","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.qt.TQLabel","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.qt.TQLabel","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.qt.TQLabel","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.qt.TQLabel","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.qt.TQLabel","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLabel","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.qt.TQLabel","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLabel","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.qt.TQLabel","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.qt.TQLabel",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.qt.TQLabel","frameChanged")) { + TQFrame::frameChanged(); + } + return; + } + void showMinimized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLabel","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QLabel_alignment(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQLabel*) QtSupport::getQt(env, obj))->alignment(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QLabel_autoResize(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQLabel*) QtSupport::getQt(env, obj))->autoResize(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QLabel_buddy(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLabel*) QtSupport::getQt(env, obj))->buddy(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QLabel_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQLabel*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLabel_clear(JNIEnv* env, jobject obj) +{ + ((TQLabel*) QtSupport::getQt(env, obj))->clear(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLabel_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QLabel_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLabel_drawContents(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQLabelJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLabel_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQLabel*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQLabel*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLabel_fontChange(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQLabelJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QLabel_hasScaledContents(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQLabel*) QtSupport::getQt(env, obj))->hasScaledContents(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QLabel_heightForWidth(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQLabel*) QtSupport::getQt(env, obj))->heightForWidth((int) arg1); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QLabel_indent(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQLabel*) QtSupport::getQt(env, obj))->indent(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QLabel_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QLabel_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLabel*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QLabel_minimumSizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQLabel*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QLabel_movie(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLabel*) QtSupport::getQt(env, obj))->movie(), "org.kde.qt.TQMovie"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLabel_newTQLabel__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 TQLabelJBridge((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_qt_QLabel_newTQLabel__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 TQLabelJBridge((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_qt_QLabel_newTQLabel__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jobject parent, jstring name, jint f) +{ +static TQString* _qstring_text = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQLabelJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (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_qt_QLabel_newTQLabel__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQLabelJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLabel_newTQLabel__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 TQLabelJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLabel_newTQLabel__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 TQLabelJBridge((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_qt_QLabel_newTQLabel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject buddy, jstring arg2, jobject parent) +{ +static TQString* _qstring_arg2 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQLabelJBridge((TQWidget*) QtSupport::getQt(env, buddy), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLabel_newTQLabel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject buddy, jstring arg2, jobject parent, jstring name) +{ +static TQString* _qstring_arg2 = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQLabelJBridge((TQWidget*) QtSupport::getQt(env, buddy), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLabel_newTQLabel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject buddy, jstring arg2, jobject parent, jstring name, jint f) +{ +static TQString* _qstring_arg2 = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQLabelJBridge((TQWidget*) QtSupport::getQt(env, buddy), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (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_qt_QLabel_picture(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLabel*) QtSupport::getQt(env, obj))->picture(), "org.kde.qt.TQPicture"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QLabel_pixmap(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLabel*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TQPixmap"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLabel_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQLabelJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLabel_setAlignment(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQLabel*) QtSupport::getQt(env, obj))->setAlignment((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLabel_setAutoResize(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQLabel*) QtSupport::getQt(env, obj))->setAutoResize((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLabel_setBuddy(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQLabel*) QtSupport::getQt(env, obj))->setBuddy((TQWidget*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLabel_setFont(JNIEnv* env, jobject obj, jobject f) +{ + ((TQLabel*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, f)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLabel_setIndent(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQLabel*) QtSupport::getQt(env, obj))->setIndent((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLabel_setMovie(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQLabel*) QtSupport::getQt(env, obj))->setMovie((const TQMovie&)*(const TQMovie*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLabel_setNum__D(JNIEnv* env, jobject obj, jdouble arg1) +{ + ((TQLabel*) QtSupport::getQt(env, obj))->setNum((double) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLabel_setNum__I(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQLabel*) QtSupport::getQt(env, obj))->setNum((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLabel_setPicture(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQLabel*) QtSupport::getQt(env, obj))->setPicture((const TQPicture&)*(const TQPicture*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLabel_setPixmap(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQLabel*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLabel_setScaledContents(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQLabel*) QtSupport::getQt(env, obj))->setScaledContents((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLabel_setTextFormat(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQLabel*) QtSupport::getQt(env, obj))->setTextFormat((TQt::TextFormat) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLabel_setText(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQLabel*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QLabel_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQLabel*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QLabel_textFormat(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQLabel*) QtSupport::getQt(env, obj))->textFormat(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QLabel_text(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQLabel*) QtSupport::getQt(env, obj))->text(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QLabel_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQLabelJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QLabel_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQLabelJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQLabel.h b/qtjava/javalib/qtjava/TQLabel.h new file mode 100644 index 00000000..c14cb429 --- /dev/null +++ b/qtjava/javalib/qtjava/TQLabel.h @@ -0,0 +1,64 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QLabel__ +#define __org_kde_qt_QLabel__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLabel_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLabel_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_newTQLabel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_newTQLabel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_newTQLabel__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_newTQLabel__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_qt_QLabel_newTQLabel__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_newTQLabel__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_newTQLabel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_newTQLabel__Lorg_kde_qt_QWidget_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_qt_QLabel_newTQLabel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jstring, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLabel_text (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLabel_pixmap (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLabel_picture (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLabel_movie (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLabel_textFormat (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_setTextFormat (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLabel_alignment (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_setAlignment (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLabel_indent (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_setIndent (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLabel_autoResize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_setAutoResize (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLabel_hasScaledContents (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_setScaledContents (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLabel_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLabel_minimumSizeHint (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_setBuddy (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLabel_buddy (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLabel_heightForWidth (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_setFont (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_setText (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_setPixmap (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_setPicture (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_setMovie (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_setNum__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_setNum__D (JNIEnv *env, jobject, jdouble); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_clear (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLabel_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLabel_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_drawContents (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_fontChange (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLabel_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QLabel__ */ diff --git a/qtjava/javalib/qtjava/TQLayout.cpp b/qtjava/javalib/qtjava/TQLayout.cpp new file mode 100644 index 00000000..5d219272 --- /dev/null +++ b/qtjava/javalib/qtjava/TQLayout.cpp @@ -0,0 +1,340 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include + +#include +#include + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QLayout_activate(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQLayout*) QtSupport::getQt(env, obj))->activate(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLayout_addItem(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQLayout*) QtSupport::getQt(env, obj))->addItem((TQLayoutItem*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLayout_add(JNIEnv* env, jobject obj, jobject w) +{ + ((TQLayout*) QtSupport::getQt(env, obj))->add((TQWidget*) QtSupport::getQt(env, w)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QLayout_alignment(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQLayoutItem*)(TQLayout*) QtSupport::getQt(env, obj))->alignment(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QLayout_autoAdd(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQLayout*) QtSupport::getQt(env, obj))->autoAdd(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QLayout_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQLayout*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QLayout_defaultBorder(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQLayout*) QtSupport::getQt(env, obj))->defaultBorder(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QLayout_expanding(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQLayout*) QtSupport::getQt(env, obj))->expanding(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLayout_freeze__(JNIEnv* env, jobject obj) +{ + ((TQLayout*) QtSupport::getQt(env, obj))->freeze(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLayout_freeze__II(JNIEnv* env, jobject obj, jint w, jint h) +{ + ((TQLayout*) QtSupport::getQt(env, obj))->freeze((int) w, (int) h); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QLayout_geometry(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQLayout*) QtSupport::getQt(env, obj))->geometry()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QLayout_hasHeightForWidth(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQLayoutItem*)(TQLayout*) QtSupport::getQt(env, obj))->hasHeightForWidth(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QLayout_heightForWidth(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQLayoutItem*)(TQLayout*) QtSupport::getQt(env, obj))->heightForWidth((int) arg1); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLayout_invalidate(JNIEnv* env, jobject obj) +{ + ((TQLayout*) QtSupport::getQt(env, obj))->invalidate(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QLayout_isEmpty(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQLayout*) QtSupport::getQt(env, obj))->isEmpty(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QLayout_isEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQLayout*) QtSupport::getQt(env, obj))->isEnabled(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QLayout_isTopLevel(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQLayout*) QtSupport::getQt(env, obj))->isTopLevel(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QLayout_layout(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLayout*) QtSupport::getQt(env, obj))->layout(), "org.kde.qt.TQLayout"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QLayout_mainWidget(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLayout*) QtSupport::getQt(env, obj))->mainWidget(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QLayout_margin(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQLayout*) QtSupport::getQt(env, obj))->margin(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QLayout_maximumSize(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQLayout*) QtSupport::getQt(env, obj))->maximumSize()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QLayout_menuBar(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLayout*) QtSupport::getQt(env, obj))->menuBar(), "org.kde.qt.TQMenuBar"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QLayout_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLayout*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QLayout_minimumSize(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQLayout*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLayout_removeItem(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQLayout*) QtSupport::getQt(env, obj))->removeItem((TQLayoutItem*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLayout_remove(JNIEnv* env, jobject obj, jobject w) +{ + ((TQLayout*) QtSupport::getQt(env, obj))->remove((TQWidget*) QtSupport::getQt(env, w)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QLayout_resizeMode(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQLayout*) QtSupport::getQt(env, obj))->resizeMode(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLayout_setAlignment(JNIEnv* env, jobject obj, jint a) +{ + ((TQLayoutItem*)(TQLayout*) QtSupport::getQt(env, obj))->setAlignment((int) a); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLayout_setAutoAdd(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQLayout*) QtSupport::getQt(env, obj))->setAutoAdd((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLayout_setEnabled(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQLayout*) QtSupport::getQt(env, obj))->setEnabled((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLayout_setGeometry(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQLayout*) QtSupport::getQt(env, obj))->setGeometry((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLayout_setMargin(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQLayout*) QtSupport::getQt(env, obj))->setMargin((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLayout_setMenuBar(JNIEnv* env, jobject obj, jobject w) +{ + ((TQLayout*) QtSupport::getQt(env, obj))->setMenuBar((TQMenuBar*) QtSupport::getQt(env, w)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLayout_setResizeMode(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQLayout*) QtSupport::getQt(env, obj))->setResizeMode((TQLayout::ResizeMode) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLayout_setSpacing(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQLayout*) QtSupport::getQt(env, obj))->setSpacing((int) arg1); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QLayout_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQLayoutItem*)(TQLayout*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QLayout_spacerItem(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLayoutItem*)(TQLayout*) QtSupport::getQt(env, obj))->spacerItem(), "org.kde.qt.TQSpacerItem"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QLayout_spacing(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQLayout*) QtSupport::getQt(env, obj))->spacing(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QLayout_supportsMargin(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQLayout*) QtSupport::getQt(env, obj))->supportsMargin(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QLayout_totalHeightForWidth(JNIEnv* env, jobject obj, jint w) +{ + jint xret = (jint) ((TQLayout*) QtSupport::getQt(env, obj))->totalHeightForWidth((int) w); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QLayout_totalMaximumSize(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQLayout*) QtSupport::getQt(env, obj))->totalMaximumSize()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QLayout_totalMinimumSize(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQLayout*) QtSupport::getQt(env, obj))->totalMinimumSize()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QLayout_totalSizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQLayout*) QtSupport::getQt(env, obj))->totalSizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QLayout_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQLayout::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QLayout_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQLayout::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QLayout_widget(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLayoutItem*)(TQLayout*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget"); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQLayout.h b/qtjava/javalib/qtjava/TQLayout.h new file mode 100644 index 00000000..d6db25ce --- /dev/null +++ b/qtjava/javalib/qtjava/TQLayout.h @@ -0,0 +1,64 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QLayout__ +#define __org_kde_qt_QLayout__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayout_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLayout_className (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLayout_margin (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLayout_spacing (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLayout_setMargin (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLayout_setSpacing (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLayout_defaultBorder (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLayout_freeze__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLayout_freeze__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLayout_setResizeMode (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLayout_resizeMode (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLayout_setMenuBar (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayout_menuBar (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayout_mainWidget (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLayout_isTopLevel (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLayout_setAutoAdd (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLayout_autoAdd (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLayout_invalidate (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayout_geometry (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLayout_activate (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLayout_add (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLayout_addItem (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLayout_remove (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLayout_removeItem (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLayout_expanding (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayout_minimumSize (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayout_maximumSize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLayout_setGeometry (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLayout_isEmpty (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLayout_totalHeightForWidth (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayout_totalMinimumSize (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayout_totalMaximumSize (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayout_totalSizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayout_layout (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLayout_supportsMargin (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLayout_setEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLayout_isEnabled (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLayout_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLayout_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayout_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLayout_hasHeightForWidth (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLayout_heightForWidth (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayout_widget (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayout_spacerItem (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLayout_alignment (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLayout_setAlignment (JNIEnv *env, jobject, jint); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QLayout__ */ diff --git a/qtjava/javalib/qtjava/TQLayoutItem.cpp b/qtjava/javalib/qtjava/TQLayoutItem.cpp new file mode 100644 index 00000000..499a3ac9 --- /dev/null +++ b/qtjava/javalib/qtjava/TQLayoutItem.cpp @@ -0,0 +1,114 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QLayoutItem_alignment(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQLayoutItem*) QtSupport::getQt(env, obj))->alignment(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QLayoutItem_expanding(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQLayoutItem*) QtSupport::getQt(env, obj))->expanding(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QLayoutItem_geometry(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQLayoutItem*) QtSupport::getQt(env, obj))->geometry()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QLayoutItem_hasHeightForWidth(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQLayoutItem*) QtSupport::getQt(env, obj))->hasHeightForWidth(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QLayoutItem_heightForWidth(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQLayoutItem*) QtSupport::getQt(env, obj))->heightForWidth((int) arg1); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLayoutItem_invalidate(JNIEnv* env, jobject obj) +{ + ((TQLayoutItem*) QtSupport::getQt(env, obj))->invalidate(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QLayoutItem_isEmpty(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQLayoutItem*) QtSupport::getQt(env, obj))->isEmpty(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QLayoutItem_layout(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLayoutItem*) QtSupport::getQt(env, obj))->layout(), "org.kde.qt.TQLayout"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QLayoutItem_maximumSize(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQLayoutItem*) QtSupport::getQt(env, obj))->maximumSize()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QLayoutItem_minimumSize(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQLayoutItem*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLayoutItem_setAlignment(JNIEnv* env, jobject obj, jint a) +{ + ((TQLayoutItem*) QtSupport::getQt(env, obj))->setAlignment((int) a); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLayoutItem_setGeometry(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQLayoutItem*) QtSupport::getQt(env, obj))->setGeometry((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QLayoutItem_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQLayoutItem*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QLayoutItem_spacerItem(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLayoutItem*) QtSupport::getQt(env, obj))->spacerItem(), "org.kde.qt.TQSpacerItem"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QLayoutItem_widget(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLayoutItem*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget"); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQLayoutItem.h b/qtjava/javalib/qtjava/TQLayoutItem.h new file mode 100644 index 00000000..31f21f9b --- /dev/null +++ b/qtjava/javalib/qtjava/TQLayoutItem.h @@ -0,0 +1,33 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QLayoutItem__ +#define __org_kde_qt_QLayoutItem__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayoutItem_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayoutItem_minimumSize (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayoutItem_maximumSize (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLayoutItem_expanding (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLayoutItem_setGeometry (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayoutItem_geometry (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLayoutItem_isEmpty (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLayoutItem_hasHeightForWidth (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLayoutItem_heightForWidth (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLayoutItem_invalidate (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayoutItem_widget (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayoutItem_layout (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLayoutItem_spacerItem (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLayoutItem_alignment (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLayoutItem_setAlignment (JNIEnv *env, jobject, jint); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QLayoutItem__ */ diff --git a/qtjava/javalib/qtjava/TQLibrary.cpp b/qtjava/javalib/qtjava/TQLibrary.cpp new file mode 100644 index 00000000..2b087f8a --- /dev/null +++ b/qtjava/javalib/qtjava/TQLibrary.cpp @@ -0,0 +1,91 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQLibraryJBridge : public TQLibrary +{ +public: + TQLibraryJBridge(const TQString& arg1) : TQLibrary(arg1) {}; + ~TQLibraryJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QLibrary_autoUnload(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQLibrary*) QtSupport::getQt(env, obj))->autoUnload(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLibrary_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QLibrary_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLibrary_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQLibrary*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QLibrary_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QLibrary_isLoaded(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQLibrary*) QtSupport::getQt(env, obj))->isLoaded(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QLibrary_library(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQLibrary*) QtSupport::getQt(env, obj))->library(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QLibrary_load(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQLibrary*) QtSupport::getQt(env, obj))->load(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLibrary_newTQLibrary(JNIEnv* env, jobject obj, jstring filename) +{ +static TQString* _qstring_filename = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQLibraryJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLibrary_setAutoUnload(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TQLibrary*) QtSupport::getQt(env, obj))->setAutoUnload((bool) enable); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QLibrary_unload(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQLibrary*) QtSupport::getQt(env, obj))->unload(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQLibrary.h b/qtjava/javalib/qtjava/TQLibrary.h new file mode 100644 index 00000000..9c53f676 --- /dev/null +++ b/qtjava/javalib/qtjava/TQLibrary.h @@ -0,0 +1,28 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QLibrary__ +#define __org_kde_qt_QLibrary__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLibrary_newTQLibrary (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLibrary_load (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLibrary_unload (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLibrary_isLoaded (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLibrary_autoUnload (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLibrary_setAutoUnload (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLibrary_library (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLibrary_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLibrary_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLibrary_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QLibrary__ */ diff --git a/qtjava/javalib/qtjava/TQLineEdit.cpp b/qtjava/javalib/qtjava/TQLineEdit.cpp new file mode 100644 index 00000000..5995598c --- /dev/null +++ b/qtjava/javalib/qtjava/TQLineEdit.cpp @@ -0,0 +1,1314 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include + +#include +#include + +class TQLineEditJBridge : public TQLineEdit +{ +public: + TQLineEditJBridge(TQWidget* arg1,const char* arg2) : TQLineEdit(arg1,arg2) {}; + TQLineEditJBridge(TQWidget* arg1) : TQLineEdit(arg1) {}; + TQLineEditJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQLineEdit(arg1,arg2,arg3) {}; + TQLineEditJBridge(const TQString& arg1,TQWidget* arg2) : TQLineEdit(arg1,arg2) {}; + TQLineEditJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4) : TQLineEdit(arg1,arg2,arg3,arg4) {}; + TQLineEditJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3) : TQLineEdit(arg1,arg2,arg3) {}; + void public_selectAll() { + TQLineEdit::selectAll(); + return; + } + void public_deselect() { + TQLineEdit::deselect(); + return; + } + void public_clearValidator() { + TQLineEdit::clearValidator(); + return; + } + void public_clear() { + TQLineEdit::clear(); + return; + } + void public_undo() { + TQLineEdit::undo(); + return; + } + void public_redo() { + TQLineEdit::redo(); + return; + } + void public_cut() { + TQLineEdit::cut(); + return; + } + void public_copy() { + TQLineEdit::copy(); + return; + } + void public_paste() { + TQLineEdit::paste(); + return; + } + bool protected_event(TQEvent* arg1) { + return (bool) TQLineEdit::event(arg1); + } + void protected_mousePressEvent(TQMouseEvent* arg1) { + TQLineEdit::mousePressEvent(arg1); + return; + } + void protected_mouseMoveEvent(TQMouseEvent* arg1) { + TQLineEdit::mouseMoveEvent(arg1); + return; + } + void protected_mouseReleaseEvent(TQMouseEvent* arg1) { + TQLineEdit::mouseReleaseEvent(arg1); + return; + } + void protected_mouseDoubleClickEvent(TQMouseEvent* arg1) { + TQLineEdit::mouseDoubleClickEvent(arg1); + return; + } + void protected_keyPressEvent(TQKeyEvent* arg1) { + TQLineEdit::keyPressEvent(arg1); + return; + } + void protected_imStartEvent(TQIMEvent* arg1) { + TQLineEdit::imStartEvent(arg1); + return; + } + void protected_imComposeEvent(TQIMEvent* arg1) { + TQLineEdit::imComposeEvent(arg1); + return; + } + void protected_imEndEvent(TQIMEvent* arg1) { + TQLineEdit::imEndEvent(arg1); + return; + } + void protected_focusInEvent(TQFocusEvent* arg1) { + TQLineEdit::focusInEvent(arg1); + return; + } + void protected_focusOutEvent(TQFocusEvent* arg1) { + TQLineEdit::focusOutEvent(arg1); + return; + } + void protected_resizeEvent(TQResizeEvent* arg1) { + TQLineEdit::resizeEvent(arg1); + return; + } + void protected_drawContents(TQPainter* arg1) { + TQLineEdit::drawContents(arg1); + return; + } + void protected_dragEnterEvent(TQDragEnterEvent* arg1) { + TQLineEdit::dragEnterEvent(arg1); + return; + } + void protected_dragMoveEvent(TQDragMoveEvent* arg1) { + TQLineEdit::dragMoveEvent(arg1); + return; + } + void protected_dragLeaveEvent(TQDragLeaveEvent* arg1) { + TQLineEdit::dragLeaveEvent(arg1); + return; + } + void protected_dropEvent(TQDropEvent* arg1) { + TQLineEdit::dropEvent(arg1); + return; + } + void protected_contextMenuEvent(TQContextMenuEvent* arg1) { + TQLineEdit::contextMenuEvent(arg1); + return; + } + TQPopupMenu* protected_createPopupMenu() { + return (TQPopupMenu*) TQLineEdit::createPopupMenu(); + } + void protected_windowActivationChange(bool arg1) { + TQLineEdit::windowActivationChange(arg1); + return; + } + void protected_repaintArea(int arg1,int arg2) { + TQLineEdit::repaintArea(arg1,arg2); + return; + } + ~TQLineEditJBridge() {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.qt.TQLineEdit","selectAll")) { + TQLineEdit::selectAll(); + } + return; + } + void setActiveWindow() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","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.qt.TQLineEdit","undo")) { + TQLineEdit::undo(); + } + return; + } + void show() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","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.qt.TQLineEdit","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.qt.TQLineEdit","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.qt.TQLineEdit","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.qt.TQLineEdit","cut")) { + TQLineEdit::cut(); + } + return; + } + void clear() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","clear")) { + TQLineEdit::clear(); + } + return; + } + void unsetCursor() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","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.qt.TQLineEdit","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","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")) { + TQLineEdit::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.qt.TQLineEdit","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.qt.TQLineEdit","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.qt.TQLineEdit","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","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.qt.TQLineEdit","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")) { + TQLineEdit::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.qt.TQLineEdit",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } + void paste() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","paste")) { + TQLineEdit::paste(); + } + return; + } + void redo() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","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.qt.TQLineEdit","frameChanged")) { + TQFrame::frameChanged(); + } + return; + } + void showMinimized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QLineEdit_alignment(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQLineEdit*) QtSupport::getQt(env, obj))->alignment(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_backspace(JNIEnv* env, jobject obj) +{ + ((TQLineEdit*) QtSupport::getQt(env, obj))->backspace(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QLineEdit_characterAt(JNIEnv* env, jobject obj, jint arg1, jchar arg2) +{ +static TQChar* _qchar_arg2 = 0; + jint xret = (jint) ((TQLineEdit*) QtSupport::getQt(env, obj))->characterAt((int) arg1, (TQChar*) QtSupport::toTQChar(env, arg2, &_qchar_arg2)); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QLineEdit_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQLineEdit*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_clearModified(JNIEnv* env, jobject obj) +{ + ((TQLineEdit*) QtSupport::getQt(env, obj))->clearModified(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_clearValidator(JNIEnv* env, jobject obj) +{ + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->public_clearValidator(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_clear(JNIEnv* env, jobject obj) +{ + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->public_clear(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_contextMenuEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_copy(JNIEnv* env, jobject obj) +{ + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->public_copy(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QLineEdit_createPopupMenu(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_createPopupMenu(), "org.kde.qt.TQPopupMenu"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_cursorBackward__Z(JNIEnv* env, jobject obj, jboolean mark) +{ + ((TQLineEdit*) QtSupport::getQt(env, obj))->cursorBackward((bool) mark); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_cursorBackward__ZI(JNIEnv* env, jobject obj, jboolean mark, jint steps) +{ + ((TQLineEdit*) QtSupport::getQt(env, obj))->cursorBackward((bool) mark, (int) steps); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_cursorForward__Z(JNIEnv* env, jobject obj, jboolean mark) +{ + ((TQLineEdit*) QtSupport::getQt(env, obj))->cursorForward((bool) mark); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_cursorForward__ZI(JNIEnv* env, jobject obj, jboolean mark, jint steps) +{ + ((TQLineEdit*) QtSupport::getQt(env, obj))->cursorForward((bool) mark, (int) steps); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_cursorLeft__Z(JNIEnv* env, jobject obj, jboolean mark) +{ + ((TQLineEdit*) QtSupport::getQt(env, obj))->cursorLeft((bool) mark); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_cursorLeft__ZI(JNIEnv* env, jobject obj, jboolean mark, jint steps) +{ + ((TQLineEdit*) QtSupport::getQt(env, obj))->cursorLeft((bool) mark, (int) steps); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QLineEdit_cursorPosition(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQLineEdit*) QtSupport::getQt(env, obj))->cursorPosition(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_cursorRight__Z(JNIEnv* env, jobject obj, jboolean mark) +{ + ((TQLineEdit*) QtSupport::getQt(env, obj))->cursorRight((bool) mark); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_cursorRight__ZI(JNIEnv* env, jobject obj, jboolean mark, jint steps) +{ + ((TQLineEdit*) QtSupport::getQt(env, obj))->cursorRight((bool) mark, (int) steps); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_cursorWordBackward(JNIEnv* env, jobject obj, jboolean mark) +{ + ((TQLineEdit*) QtSupport::getQt(env, obj))->cursorWordBackward((bool) mark); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_cursorWordForward(JNIEnv* env, jobject obj, jboolean mark) +{ + ((TQLineEdit*) QtSupport::getQt(env, obj))->cursorWordForward((bool) mark); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_cut(JNIEnv* env, jobject obj) +{ + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->public_cut(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_del(JNIEnv* env, jobject obj) +{ + ((TQLineEdit*) QtSupport::getQt(env, obj))->del(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_deselect(JNIEnv* env, jobject obj) +{ + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->public_deselect(); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QLineEdit_displayText(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQLineEdit*) QtSupport::getQt(env, obj))->displayText(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QLineEdit_finalize(env, obj); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QLineEdit_dragEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->dragEnabled(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_dragEnterEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_dragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_dragLeaveEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_dragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_dragMoveEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_dragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_drawContents(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_dropEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_dropEvent((TQDropEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QLineEdit_echoMode(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQLineEdit*) QtSupport::getQt(env, obj))->echoMode(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QLineEdit_edited(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->edited(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_end(JNIEnv* env, jobject obj, jboolean mark) +{ + ((TQLineEdit*) QtSupport::getQt(env, obj))->end((bool) mark); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QLineEdit_event(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQLineEdit*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQLineEdit*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_focusInEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_focusOutEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QLineEdit_frame(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->frame(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QLineEdit_getSelection(JNIEnv* env, jobject obj, jintArray arg1, jintArray arg2) +{ + int* _int_arg1 = QtSupport::toIntPtr(env, arg1); + int* _int_arg2 = QtSupport::toIntPtr(env, arg2); + jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->getSelection( (int*) _int_arg1, (int*) _int_arg2); + env->SetIntArrayRegion(arg1, 0, 1, (jint *) _int_arg1); + env->SetIntArrayRegion(arg2, 0, 1, (jint *) _int_arg2); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QLineEdit_hasAcceptableInput(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->hasAcceptableInput(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QLineEdit_hasMarkedText(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->hasMarkedText(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QLineEdit_hasSelectedText(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->hasSelectedText(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_home(JNIEnv* env, jobject obj, jboolean mark) +{ + ((TQLineEdit*) QtSupport::getQt(env, obj))->home((bool) mark); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_imComposeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_imComposeEvent((TQIMEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_imEndEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_imEndEvent((TQIMEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_imStartEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_imStartEvent((TQIMEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QLineEdit_inputMask(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQLineEdit*) QtSupport::getQt(env, obj))->inputMask(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_insert(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQLineEdit*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QLineEdit_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QLineEdit_isModified(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->isModified(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QLineEdit_isReadOnly(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->isReadOnly(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QLineEdit_isRedoAvailable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->isRedoAvailable(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QLineEdit_isUndoAvailable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->isUndoAvailable(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QLineEdit_markedText(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQLineEdit*) QtSupport::getQt(env, obj))->markedText(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QLineEdit_maxLength(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQLineEdit*) QtSupport::getQt(env, obj))->maxLength(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QLineEdit_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLineEdit*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QLineEdit_minimumSizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQLineEdit*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_mouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_newTQLineEdit__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jobject parent) +{ +static TQString* _qstring_arg1 = 0; +static TQString* _qstring_arg2 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQLineEditJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_newTQLineEdit__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jobject parent, jstring name) +{ +static TQString* _qstring_arg1 = 0; +static TQString* _qstring_arg2 = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQLineEditJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_newTQLineEdit__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring arg1, jobject parent) +{ +static TQString* _qstring_arg1 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQLineEditJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_newTQLineEdit__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jobject parent, jstring name) +{ +static TQString* _qstring_arg1 = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQLineEditJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_newTQLineEdit__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQLineEditJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_newTQLineEdit__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 TQLineEditJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_paste(JNIEnv* env, jobject obj) +{ + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->public_paste(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_redo(JNIEnv* env, jobject obj) +{ + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->public_redo(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_repaintArea(JNIEnv* env, jobject obj, jint arg1, jint arg2) +{ + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_repaintArea((int) arg1, (int) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_selectAll(JNIEnv* env, jobject obj) +{ + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->public_selectAll(); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QLineEdit_selectedText(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQLineEdit*) QtSupport::getQt(env, obj))->selectedText(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QLineEdit_selectionStart(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQLineEdit*) QtSupport::getQt(env, obj))->selectionStart(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_setAlignment(JNIEnv* env, jobject obj, jint flag) +{ + ((TQLineEdit*) QtSupport::getQt(env, obj))->setAlignment((int) flag); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_setCursorPosition(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQLineEdit*) QtSupport::getQt(env, obj))->setCursorPosition((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_setDragEnabled(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQLineEdit*) QtSupport::getQt(env, obj))->setDragEnabled((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_setEchoMode(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQLineEdit*) QtSupport::getQt(env, obj))->setEchoMode((TQLineEdit::EchoMode) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_setEdited(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQLineEdit*) QtSupport::getQt(env, obj))->setEdited((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_setFont(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQLineEdit*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_setFrame(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQLineEdit*) QtSupport::getQt(env, obj))->setFrame((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_setInputMask(JNIEnv* env, jobject obj, jstring inputMask) +{ +static TQString* _qstring_inputMask = 0; + ((TQLineEdit*) QtSupport::getQt(env, obj))->setInputMask((const TQString&)*(TQString*) QtSupport::toTQString(env, inputMask, &_qstring_inputMask)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_setMaxLength(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQLineEdit*) QtSupport::getQt(env, obj))->setMaxLength((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_setPalette(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQLineEdit*) QtSupport::getQt(env, obj))->setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_setReadOnly(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQLineEdit*) QtSupport::getQt(env, obj))->setReadOnly((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_setSelection(JNIEnv* env, jobject obj, jint arg1, jint arg2) +{ + ((TQLineEdit*) QtSupport::getQt(env, obj))->setSelection((int) arg1, (int) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_setText(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQLineEdit*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_setValidator(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQLineEdit*) QtSupport::getQt(env, obj))->setValidator((const TQValidator*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QLineEdit_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQLineEdit*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QLineEdit_text(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQLineEdit*) QtSupport::getQt(env, obj))->text(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QLineEdit_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQLineEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QLineEdit_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQLineEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_undo(JNIEnv* env, jobject obj) +{ + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->public_undo(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QLineEdit_validateAndSet(JNIEnv* env, jobject obj, jstring arg1, jint arg2, jint arg3, jint arg4) +{ +static TQString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->validateAndSet((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (int) arg2, (int) arg3, (int) arg4); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QLineEdit_validator(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLineEdit*) QtSupport::getQt(env, obj))->validator(), "org.kde.qt.TQValidator"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLineEdit_windowActivationChange(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_windowActivationChange((bool) arg1); + return; +} + diff --git a/qtjava/javalib/qtjava/TQLineEdit.h b/qtjava/javalib/qtjava/TQLineEdit.h new file mode 100644 index 00000000..63aad0e7 --- /dev/null +++ b/qtjava/javalib/qtjava/TQLineEdit.h @@ -0,0 +1,117 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QLineEdit__ +#define __org_kde_qt_QLineEdit__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLineEdit_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLineEdit_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_newTQLineEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_newTQLineEdit__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_newTQLineEdit__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_newTQLineEdit__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_newTQLineEdit__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_qt_QLineEdit_newTQLineEdit__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jstring, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLineEdit_text (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLineEdit_displayText (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLineEdit_maxLength (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_frame (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLineEdit_echoMode (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_isReadOnly (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLineEdit_validator (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLineEdit_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLineEdit_minimumSizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLineEdit_cursorPosition (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_validateAndSet (JNIEnv *env, jobject, jstring, jint, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLineEdit_alignment (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_cursorLeft__ZI (JNIEnv *env, jobject, jboolean, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_cursorLeft__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_cursorRight__ZI (JNIEnv *env, jobject, jboolean, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_cursorRight__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_cursorForward__ZI (JNIEnv *env, jobject, jboolean, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_cursorForward__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_cursorBackward__ZI (JNIEnv *env, jobject, jboolean, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_cursorBackward__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_cursorWordForward (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_cursorWordBackward (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_backspace (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_del (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_home (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_end (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_isModified (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_clearModified (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_edited (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setEdited (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_hasSelectedText (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLineEdit_selectedText (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLineEdit_selectionStart (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_isUndoAvailable (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_isRedoAvailable (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_hasMarkedText (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLineEdit_markedText (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_dragEnabled (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLineEdit_inputMask (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setInputMask (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_hasAcceptableInput (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLineEdit_characterAt (JNIEnv *env, jobject, jint, jchar); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_getSelection (JNIEnv *env, jobject, jintArray, jintArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setText (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_selectAll (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_deselect (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_clearValidator (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_insert (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_clear (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_undo (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_redo (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setMaxLength (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setFrame (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setEchoMode (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setReadOnly (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setValidator (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setFont (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setPalette (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setSelection (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setCursorPosition (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setAlignment (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_cut (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_copy (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_paste (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_setDragEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLineEdit_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLineEdit_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_event (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_mousePressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_mouseMoveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_mouseReleaseEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_mouseDoubleClickEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_keyPressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_imStartEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_imComposeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_imEndEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_focusInEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_focusOutEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_drawContents (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_dragEnterEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_dragMoveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_dragLeaveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_dropEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_contextMenuEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLineEdit_createPopupMenu (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_windowActivationChange (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_repaintArea (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QLineEdit__ */ diff --git a/qtjava/javalib/qtjava/TQListBox.cpp b/qtjava/javalib/qtjava/TQListBox.cpp new file mode 100644 index 00000000..ee3f7e56 --- /dev/null +++ b/qtjava/javalib/qtjava/TQListBox.cpp @@ -0,0 +1,1601 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQListBoxJBridge : public TQListBox +{ +public: + TQListBoxJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQListBox(arg1,arg2,arg3) {}; + TQListBoxJBridge(TQWidget* arg1,const char* arg2) : TQListBox(arg1,arg2) {}; + TQListBoxJBridge(TQWidget* arg1) : TQListBox(arg1) {}; + TQListBoxJBridge() : TQListBox() {}; + void public_ensureCurrentVisible() { + TQListBox::ensureCurrentVisible(); + return; + } + void public_clearSelection() { + TQListBox::clearSelection(); + return; + } + void public_invertSelection() { + TQListBox::invertSelection(); + return; + } + void protected_mousePressEvent(TQMouseEvent* arg1) { + TQListBox::mousePressEvent(arg1); + return; + } + void protected_mouseReleaseEvent(TQMouseEvent* arg1) { + TQListBox::mouseReleaseEvent(arg1); + return; + } + void protected_mouseDoubleClickEvent(TQMouseEvent* arg1) { + TQListBox::mouseDoubleClickEvent(arg1); + return; + } + void protected_mouseMoveEvent(TQMouseEvent* arg1) { + TQListBox::mouseMoveEvent(arg1); + return; + } + void protected_contentsContextMenuEvent(TQContextMenuEvent* arg1) { + TQListBox::contentsContextMenuEvent(arg1); + return; + } + void protected_keyPressEvent(TQKeyEvent* arg1) { + TQListBox::keyPressEvent(arg1); + return; + } + void protected_focusInEvent(TQFocusEvent* arg1) { + TQListBox::focusInEvent(arg1); + return; + } + void protected_focusOutEvent(TQFocusEvent* arg1) { + TQListBox::focusOutEvent(arg1); + return; + } + void protected_resizeEvent(TQResizeEvent* arg1) { + TQListBox::resizeEvent(arg1); + return; + } + void protected_showEvent(TQShowEvent* arg1) { + TQListBox::showEvent(arg1); + return; + } + bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { + return (bool) TQListBox::eventFilter(arg1,arg2); + } + void protected_updateItem(int arg1) { + TQListBox::updateItem(arg1); + return; + } + void protected_updateItem(TQListBoxItem* arg1) { + TQListBox::updateItem(arg1); + return; + } + void protected_updateCellWidth() { + TQListBox::updateCellWidth(); + return; + } + int protected_totalWidth() { + return (int) TQListBox::totalWidth(); + } + int protected_totalHeight() { + return (int) TQListBox::totalHeight(); + } + void protected_paintCell(TQPainter* arg1,int arg2,int arg3) { + TQListBox::paintCell(arg1,arg2,arg3); + return; + } + void protected_toggleCurrentItem() { + TQListBox::toggleCurrentItem(); + return; + } + bool protected_isRubberSelecting() { + return (bool) TQListBox::isRubberSelecting(); + } + void protected_doLayout() { + TQListBox::doLayout(); + return; + } + void protected_windowActivationChange(bool arg1) { + TQListBox::windowActivationChange(arg1); + return; + } + bool protected_itemYPos(int arg1,int* arg2) { + return (bool) TQListBox::itemYPos(arg1,arg2); + } + int protected_findItem(int arg1) { + return (int) TQListBox::findItem(arg1); + } + void protected_clearInputString() { + TQListBox::clearInputString(); + return; + } + ~TQListBoxJBridge() {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.qt.TQListBox","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")) { + TQListBox::focusOutEvent(arg1); + } + return; + } + void setFocus() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListBox","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.qt.TQListBox","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.qt.TQListBox","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.qt.TQListBox","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.qt.TQListBox","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListBox","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")) { + TQListBox::keyPressEvent(arg1); + } + return; + } + bool customWhatsThis() { + return QtSupport::booleanDelegate(this,"customWhatsThis"); + } + void clearSelection() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListBox","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.qt.TQListBox","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")) { + 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.qt.TQListBox","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListBox","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.qt.TQListBox","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")) { + 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")) { + 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.qt.TQListBox","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListBox_autoBottomScrollBar(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQListBox*) QtSupport::getQt(env, obj))->autoBottomScrollBar(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListBox_autoScrollBar(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQListBox*) QtSupport::getQt(env, obj))->autoScrollBar(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListBox_autoScroll(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQListBox*) QtSupport::getQt(env, obj))->autoScroll(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListBox_autoUpdate(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQListBox*) QtSupport::getQt(env, obj))->autoUpdate(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListBox_bottomScrollBar(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQListBox*) QtSupport::getQt(env, obj))->bottomScrollBar(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListBox_cellHeight__(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->cellHeight(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListBox_cellHeight__I(JNIEnv* env, jobject obj, jint i) +{ + jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->cellHeight((int) i); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListBox_cellWidth__(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->cellWidth(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListBox_cellWidth__I(JNIEnv* env, jobject obj, jint i) +{ + jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->cellWidth((int) i); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_centerCurrentItem(JNIEnv* env, jobject obj) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->centerCurrentItem(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_changeItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint index) +{ +static TQString* _qstring_text = 0; + ((TQListBox*) QtSupport::getQt(env, obj))->changeItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_changeItem__Lorg_kde_qt_QListBoxItem_2I(JNIEnv* env, jobject obj, jobject arg1, jint index) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->changeItem((const TQListBoxItem*) QtSupport::getQt(env, arg1), (int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_changeItem__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint index) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->changeItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_changeItem__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject pixmap, jstring text, jint index) +{ +static TQString* _qstring_text = 0; + ((TQListBox*) QtSupport::getQt(env, obj))->changeItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QListBox_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQListBox*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_clearInputString(JNIEnv* env, jobject obj) +{ + ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_clearInputString(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_clearSelection(JNIEnv* env, jobject obj) +{ + ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->public_clearSelection(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_clear(JNIEnv* env, jobject obj) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->clear(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListBox_columnMode(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->columnMode(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_contentsContextMenuEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListBox_count(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->count(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListBox_currentItem(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->currentItem(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QListBox_currentText(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQListBox*) QtSupport::getQt(env, obj))->currentText(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QListBox_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_doLayout(JNIEnv* env, jobject obj) +{ + ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_doLayout(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListBox_dragSelect(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQListBox*) QtSupport::getQt(env, obj))->dragSelect(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_ensureCurrentVisible(JNIEnv* env, jobject obj) +{ + ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->public_ensureCurrentVisible(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListBox_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject e) +{ + jboolean xret = (jboolean) ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, e)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQListBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQListBox*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListBox_findItem__I(JNIEnv* env, jobject obj, jint yPos) +{ + jint xret = (jint) ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_findItem((int) yPos); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QListBox_findItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) +{ +static TQString* _qstring_text = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBox*) QtSupport::getQt(env, obj))->findItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)), "org.kde.qt.TQListBoxItem"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QListBox_findItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint compare) +{ +static TQString* _qstring_text = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBox*) QtSupport::getQt(env, obj))->findItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQt::ComparisonFlags) compare), "org.kde.qt.TQListBoxItem"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QListBox_firstItem(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBox*) QtSupport::getQt(env, obj))->firstItem(), "org.kde.qt.TQListBoxItem"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_focusInEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_focusOutEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListBox_inSort__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->inSort((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListBox_inSort__Lorg_kde_qt_QListBoxItem_2(JNIEnv* env, jobject obj, jobject arg1) +{ + jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->inSort((const TQListBoxItem*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListBox_index(JNIEnv* env, jobject obj, jobject arg1) +{ + jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->index((const TQListBoxItem*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_insertItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) +{ +static TQString* _qstring_text = 0; + ((TQListBox*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_insertItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint index) +{ +static TQString* _qstring_text = 0; + ((TQListBox*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_insertItem__Lorg_kde_qt_QListBoxItem_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->insertItem((const TQListBoxItem*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_insertItem__Lorg_kde_qt_QListBoxItem_2I(JNIEnv* env, jobject obj, jobject arg1, jint index) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->insertItem((const TQListBoxItem*) QtSupport::getQt(env, arg1), (int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_insertItem__Lorg_kde_qt_QListBoxItem_2Lorg_kde_qt_QListBoxItem_2(JNIEnv* env, jobject obj, jobject arg1, jobject after) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->insertItem((const TQListBoxItem*) QtSupport::getQt(env, arg1), (const TQListBoxItem*) QtSupport::getQt(env, after)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_insertItem__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pixmap) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_insertItem__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint index) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_insertItem__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject pixmap, jstring text) +{ +static TQString* _qstring_text = 0; + ((TQListBox*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_insertItem__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject pixmap, jstring text, jint index) +{ +static TQString* _qstring_text = 0; + ((TQListBox*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_insertStrList___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray arg1) +{ +static TQStrList* _qlist_arg1 = 0; + ((TQListBox*) QtSupport::getQt(env, obj))->insertStrList((const TQStrList*) QtSupport::toTQStrList(env, arg1, &_qlist_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_insertStrList___3Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobjectArray arg1, jint index) +{ +static TQStrList* _qlist_arg1 = 0; + ((TQListBox*) QtSupport::getQt(env, obj))->insertStrList((const TQStrList*) QtSupport::toTQStrList(env, arg1, &_qlist_arg1), (int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_insertStrList___3Ljava_lang_String_2II(JNIEnv* env, jobject obj, jobjectArray arg1, jint numStrings, jint index) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->insertStrList((const char**) QtSupport::toStringArray(env, arg1), (int) numStrings, (int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_insertStringList___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray arg1) +{ +static TQStringList* _qlist_arg1 = 0; + ((TQListBox*) QtSupport::getQt(env, obj))->insertStringList((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, arg1, &_qlist_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_insertStringList___3Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobjectArray arg1, jint index) +{ +static TQStringList* _qlist_arg1 = 0; + ((TQListBox*) QtSupport::getQt(env, obj))->insertStringList((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, arg1, &_qlist_arg1), (int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_invertSelection(JNIEnv* env, jobject obj) +{ + ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->public_invertSelection(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListBox_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListBox_isMultiSelection(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQListBox*) QtSupport::getQt(env, obj))->isMultiSelection(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListBox_isRubberSelecting(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_isRubberSelecting(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListBox_isSelected__I(JNIEnv* env, jobject obj, jint arg1) +{ + jboolean xret = (jboolean) ((TQListBox*) QtSupport::getQt(env, obj))->isSelected((int) arg1); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListBox_isSelected__Lorg_kde_qt_QListBoxItem_2(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQListBox*) QtSupport::getQt(env, obj))->isSelected((const TQListBoxItem*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QListBox_itemAt(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBox*) QtSupport::getQt(env, obj))->itemAt((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQListBoxItem"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListBox_itemHeight__(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->itemHeight(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListBox_itemHeight__I(JNIEnv* env, jobject obj, jint index) +{ + jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->itemHeight((int) index); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QListBox_itemRect(JNIEnv* env, jobject obj, jobject item) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQListBox*) QtSupport::getQt(env, obj))->itemRect((TQListBoxItem*) QtSupport::getQt(env, item))), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListBox_itemVisible__I(JNIEnv* env, jobject obj, jint index) +{ + jboolean xret = (jboolean) ((TQListBox*) QtSupport::getQt(env, obj))->itemVisible((int) index); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListBox_itemVisible__Lorg_kde_qt_QListBoxItem_2(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQListBox*) QtSupport::getQt(env, obj))->itemVisible((const TQListBoxItem*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListBox_itemYPos(JNIEnv* env, jobject obj, jint index, jintArray yPos) +{ + int* _int_yPos = QtSupport::toIntPtr(env, yPos); + jboolean xret = (jboolean) ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_itemYPos((int) index, (int*) _int_yPos); + env->SetIntArrayRegion(yPos, 0, 1, (jint *) _int_yPos); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QListBox_item(JNIEnv* env, jobject obj, jint index) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBox*) QtSupport::getQt(env, obj))->item((int) index), "org.kde.qt.TQListBoxItem"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_keyPressEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QListBox_maxItemWidth(JNIEnv* env, jobject obj) +{ + jlong xret = (jlong) ((TQListBox*) QtSupport::getQt(env, obj))->maxItemWidth(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QListBox_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QListBox_minimumSizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQListBox*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_mouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_newTQListBox__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQListBoxJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_newTQListBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQListBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_newTQListBox__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 TQListBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_newTQListBox__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 TQListBoxJBridge((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_qt_QListBox_numCols(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->numCols(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListBox_numColumns(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->numColumns(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListBox_numItemsVisible(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->numItemsVisible(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListBox_numRows(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->numRows(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_paintCell(JNIEnv* env, jobject obj, jobject arg1, jint row, jint col) +{ + ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_paintCell((TQPainter*) QtSupport::getQt(env, arg1), (int) row, (int) col); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QListBox_pixmap(JNIEnv* env, jobject obj, jint index) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBox*) QtSupport::getQt(env, obj))->pixmap((int) index), "org.kde.qt.TQPixmap"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_removeItem(JNIEnv* env, jobject obj, jint index) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->removeItem((int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListBox_rowMode(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->rowMode(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListBox_scrollBar(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQListBox*) QtSupport::getQt(env, obj))->scrollBar(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_selectAll(JNIEnv* env, jobject obj, jboolean select) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->selectAll((bool) select); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QListBox_selectedItem(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBox*) QtSupport::getQt(env, obj))->selectedItem(), "org.kde.qt.TQListBoxItem"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListBox_selectionMode(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->selectionMode(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_setAutoBottomScrollBar(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->setAutoBottomScrollBar((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_setAutoScrollBar(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->setAutoScrollBar((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_setAutoScroll(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->setAutoScroll((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_setAutoUpdate(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->setAutoUpdate((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_setBottomItem(JNIEnv* env, jobject obj, jint index) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->setBottomItem((int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_setBottomScrollBar(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->setBottomScrollBar((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_setColumnMode(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->setColumnMode((TQListBox::LayoutMode) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_setCurrentItem__I(JNIEnv* env, jobject obj, jint index) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->setCurrentItem((int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_setCurrentItem__Lorg_kde_qt_QListBoxItem_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->setCurrentItem((TQListBoxItem*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_setDragSelect(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->setDragSelect((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_setFixedVisibleLines(JNIEnv* env, jobject obj, jint lines) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->setFixedVisibleLines((int) lines); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_setFont(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_setMultiSelection(JNIEnv* env, jobject obj, jboolean multi) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->setMultiSelection((bool) multi); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_setRowMode(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->setRowMode((TQListBox::LayoutMode) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_setScrollBar(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->setScrollBar((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_setSelected__IZ(JNIEnv* env, jobject obj, jint arg1, jboolean arg2) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->setSelected((int) arg1, (bool) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_setSelected__Lorg_kde_qt_QListBoxItem_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->setSelected((TQListBoxItem*) QtSupport::getQt(env, arg1), (bool) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_setSelectionMode(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->setSelectionMode((TQListBox::SelectionMode) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_setSmoothScrolling(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->setSmoothScrolling((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_setTopItem(JNIEnv* env, jobject obj, jint index) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->setTopItem((int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_setVariableHeight(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->setVariableHeight((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_setVariableWidth(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->setVariableWidth((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_showEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QListBox_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQListBox*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListBox_smoothScrolling(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQListBox*) QtSupport::getQt(env, obj))->smoothScrolling(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_sort__(JNIEnv* env, jobject obj) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->sort(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_sort__Z(JNIEnv* env, jobject obj, jboolean ascending) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->sort((bool) ascending); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_takeItem(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->takeItem((const TQListBoxItem*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QListBox_text(JNIEnv* env, jobject obj, jint index) +{ + TQString _qstring; + _qstring = ((TQListBox*) QtSupport::getQt(env, obj))->text((int) index); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_toggleCurrentItem(JNIEnv* env, jobject obj) +{ + ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_toggleCurrentItem(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListBox_topItem(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->topItem(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListBox_totalHeight(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_totalHeight(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListBox_totalWidth(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_totalWidth(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QListBox_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQListBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QListBox_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQListBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_triggerUpdate(JNIEnv* env, jobject obj, jboolean doLayout) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->triggerUpdate((bool) doLayout); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_updateCellWidth(JNIEnv* env, jobject obj) +{ + ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_updateCellWidth(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_updateItem__I(JNIEnv* env, jobject obj, jint index) +{ + ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_updateItem((int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_updateItem__Lorg_kde_qt_QListBoxItem_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_updateItem((TQListBoxItem*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListBox_variableHeight(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQListBox*) QtSupport::getQt(env, obj))->variableHeight(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListBox_variableWidth(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQListBox*) QtSupport::getQt(env, obj))->variableWidth(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_viewportPaintEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQListBox*) QtSupport::getQt(env, obj))->viewportPaintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBox_windowActivationChange(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_windowActivationChange((bool) arg1); + return; +} + diff --git a/qtjava/javalib/qtjava/TQListBox.h b/qtjava/javalib/qtjava/TQListBox.h new file mode 100644 index 00000000..f04e9b9b --- /dev/null +++ b/qtjava/javalib/qtjava/TQListBox.h @@ -0,0 +1,152 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QListBox__ +#define __org_kde_qt_QListBox__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListBox_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QListBox_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_newTQListBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_newTQListBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_newTQListBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_newTQListBox__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setFont (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_count (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_insertStringList___3Ljava_lang_String_2I (JNIEnv *env, jobject, jobjectArray, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_insertStringList___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_insertStrList___3Ljava_lang_String_2I (JNIEnv *env, jobject, jobjectArray, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_insertStrList___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_insertStrList___3Ljava_lang_String_2II (JNIEnv *env, jobject, jobjectArray, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_insertItem__Lorg_kde_qt_QListBoxItem_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_insertItem__Lorg_kde_qt_QListBoxItem_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_insertItem__Lorg_kde_qt_QListBoxItem_2Lorg_kde_qt_QListBoxItem_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_insertItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_insertItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_insertItem__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_insertItem__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_insertItem__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_insertItem__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_removeItem (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QListBox_text (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListBox_pixmap (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_changeItem__Lorg_kde_qt_QListBoxItem_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_changeItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_changeItem__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_changeItem__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_takeItem (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_numItemsVisible (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_currentItem (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QListBox_currentText (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setCurrentItem__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setCurrentItem__Lorg_kde_qt_QListBoxItem_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_centerCurrentItem (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_topItem (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setTopItem (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setBottomItem (JNIEnv *env, jobject, jint); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QListBox_maxItemWidth (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setSelectionMode (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_selectionMode (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setMultiSelection (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_isMultiSelection (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setSelected__Lorg_kde_qt_QListBoxItem_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setSelected__IZ (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_isSelected__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_isSelected__Lorg_kde_qt_QListBoxItem_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListBox_selectedItem (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListBox_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListBox_minimumSizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListBox_item (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_index (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListBox_findItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListBox_findItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_triggerUpdate (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_itemVisible__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_itemVisible__Lorg_kde_qt_QListBoxItem_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setColumnMode (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setRowMode (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_columnMode (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_rowMode (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_numColumns (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_numRows (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_variableWidth (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setVariableWidth (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_variableHeight (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setVariableHeight (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_viewportPaintEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_dragSelect (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setDragSelect (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_autoScroll (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setAutoScroll (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_autoScrollBar (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setAutoScrollBar (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_scrollBar (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setScrollBar (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_autoBottomScrollBar (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setAutoBottomScrollBar (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_bottomScrollBar (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setBottomScrollBar (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_smoothScrolling (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setSmoothScrolling (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_autoUpdate (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setAutoUpdate (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_setFixedVisibleLines (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_inSort__Lorg_kde_qt_QListBoxItem_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_inSort__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_cellHeight__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_cellHeight__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_cellWidth__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_cellWidth__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_numCols (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_itemHeight__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_itemHeight__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListBox_itemAt (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListBox_itemRect (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListBox_firstItem (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_sort__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_sort__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_clear (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_ensureCurrentVisible (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_clearSelection (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_selectAll (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_invertSelection (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QListBox_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QListBox_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_mousePressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_mouseReleaseEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_mouseDoubleClickEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_mouseMoveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_contentsContextMenuEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_keyPressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_focusInEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_focusOutEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_showEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_eventFilter (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_updateItem__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_updateItem__Lorg_kde_qt_QListBoxItem_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_updateCellWidth (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_totalWidth (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_totalHeight (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_paintCell (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_toggleCurrentItem (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_isRubberSelecting (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_doLayout (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_windowActivationChange (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_itemYPos (JNIEnv *env, jobject, jint, jintArray); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_findItem__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_clearInputString (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QListBox__ */ diff --git a/qtjava/javalib/qtjava/TQListBoxItem.cpp b/qtjava/javalib/qtjava/TQListBoxItem.cpp new file mode 100644 index 00000000..7e61ab20 --- /dev/null +++ b/qtjava/javalib/qtjava/TQListBoxItem.cpp @@ -0,0 +1,106 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListBoxItem_current(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQListBoxItem*) QtSupport::getQt(env, obj))->current(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListBoxItem_height(JNIEnv* env, jobject obj, jobject arg1) +{ + jint xret = (jint) ((TQListBoxItem*) QtSupport::getQt(env, obj))->height((const TQListBox*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListBoxItem_isCurrent(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQListBoxItem*) QtSupport::getQt(env, obj))->isCurrent(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListBoxItem_isSelectable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQListBoxItem*) QtSupport::getQt(env, obj))->isSelectable(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListBoxItem_isSelected(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQListBoxItem*) QtSupport::getQt(env, obj))->isSelected(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QListBoxItem_listBox(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBoxItem*) QtSupport::getQt(env, obj))->listBox(), "org.kde.qt.TQListBox"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QListBoxItem_next(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBoxItem*) QtSupport::getQt(env, obj))->next(), "org.kde.qt.TQListBoxItem"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QListBoxItem_pixmap(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBoxItem*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TQPixmap"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QListBoxItem_prev(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBoxItem*) QtSupport::getQt(env, obj))->prev(), "org.kde.qt.TQListBoxItem"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListBoxItem_rtti(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQListBoxItem*) QtSupport::getQt(env, obj))->rtti(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListBoxItem_selected(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQListBoxItem*) QtSupport::getQt(env, obj))->selected(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBoxItem_setSelectable(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQListBoxItem*) QtSupport::getQt(env, obj))->setSelectable((bool) b); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QListBoxItem_text(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQListBoxItem*) QtSupport::getQt(env, obj))->text(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListBoxItem_width(JNIEnv* env, jobject obj, jobject arg1) +{ + jint xret = (jint) ((TQListBoxItem*) QtSupport::getQt(env, obj))->width((const TQListBox*) QtSupport::getQt(env, arg1)); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQListBoxItem.h b/qtjava/javalib/qtjava/TQListBoxItem.h new file mode 100644 index 00000000..dd489260 --- /dev/null +++ b/qtjava/javalib/qtjava/TQListBoxItem.h @@ -0,0 +1,32 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QListBoxItem__ +#define __org_kde_qt_QListBoxItem__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QListBoxItem_text (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListBoxItem_pixmap (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBoxItem_height (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBoxItem_width (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBoxItem_isSelected (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBoxItem_isCurrent (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBoxItem_selected (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBoxItem_current (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListBoxItem_listBox (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxItem_setSelectable (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBoxItem_isSelectable (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListBoxItem_next (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListBoxItem_prev (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBoxItem_rtti (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QListBoxItem__ */ diff --git a/qtjava/javalib/qtjava/TQListBoxPixmap.cpp b/qtjava/javalib/qtjava/TQListBoxPixmap.cpp new file mode 100644 index 00000000..e86d327f --- /dev/null +++ b/qtjava/javalib/qtjava/TQListBoxPixmap.cpp @@ -0,0 +1,145 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQListBoxPixmapJBridge : public TQListBoxPixmap +{ +public: + TQListBoxPixmapJBridge(TQListBox* arg1,const TQPixmap& arg2) : TQListBoxPixmap(arg1,arg2) {}; + TQListBoxPixmapJBridge(const TQPixmap& arg1) : TQListBoxPixmap(arg1) {}; + TQListBoxPixmapJBridge(TQListBox* arg1,const TQPixmap& arg2,TQListBoxItem* arg3) : TQListBoxPixmap(arg1,arg2,arg3) {}; + TQListBoxPixmapJBridge(TQListBox* arg1,const TQPixmap& arg2,const TQString& arg3) : TQListBoxPixmap(arg1,arg2,arg3) {}; + TQListBoxPixmapJBridge(const TQPixmap& arg1,const TQString& arg2) : TQListBoxPixmap(arg1,arg2) {}; + TQListBoxPixmapJBridge(TQListBox* arg1,const TQPixmap& arg2,const TQString& arg3,TQListBoxItem* arg4) : TQListBoxPixmap(arg1,arg2,arg3,arg4) {}; + void protected_paint(TQPainter* arg1) { + TQListBoxPixmap::paint(arg1); + return; + } + ~TQListBoxPixmapJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBoxPixmap_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QListBoxPixmap_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBoxPixmap_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQListBoxPixmap*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListBoxPixmap_height(JNIEnv* env, jobject obj, jobject arg1) +{ + jint xret = (jint) ((TQListBoxPixmap*) QtSupport::getQt(env, obj))->height((const TQListBox*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListBoxPixmap_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBoxPixmap_newTQListBoxPixmap__Lorg_kde_qt_QListBox_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject listbox, jobject arg2) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQListBoxPixmapJBridge((TQListBox*) QtSupport::getQt(env, listbox), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg2))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBoxPixmap_newTQListBoxPixmap__Lorg_kde_qt_QListBox_2Lorg_kde_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject listbox, jobject arg2, jstring arg3) +{ +static TQString* _qstring_arg3 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQListBoxPixmapJBridge((TQListBox*) QtSupport::getQt(env, listbox), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg2), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBoxPixmap_newTQListBoxPixmap__Lorg_kde_qt_QListBox_2Lorg_kde_qt_QPixmap_2Ljava_lang_String_2Lorg_kde_qt_QListBoxItem_2(JNIEnv* env, jobject obj, jobject listbox, jobject pix, jstring arg3, jobject after) +{ +static TQString* _qstring_arg3 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQListBoxPixmapJBridge((TQListBox*) QtSupport::getQt(env, listbox), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQListBoxItem*) QtSupport::getQt(env, after))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBoxPixmap_newTQListBoxPixmap__Lorg_kde_qt_QListBox_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QListBoxItem_2(JNIEnv* env, jobject obj, jobject listbox, jobject pix, jobject after) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQListBoxPixmapJBridge((TQListBox*) QtSupport::getQt(env, listbox), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix), (TQListBoxItem*) QtSupport::getQt(env, after))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBoxPixmap_newTQListBoxPixmap__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQListBoxPixmapJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBoxPixmap_newTQListBoxPixmap__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) +{ +static TQString* _qstring_arg2 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQListBoxPixmapJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBoxPixmap_paint(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQListBoxPixmapJBridge*) QtSupport::getQt(env, obj))->protected_paint((TQPainter*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QListBoxPixmap_pixmap(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBoxPixmap*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TQPixmap"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListBoxPixmap_rtti(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQListBoxPixmap*) QtSupport::getQt(env, obj))->rtti(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListBoxPixmap_width(JNIEnv* env, jobject obj, jobject arg1) +{ + jint xret = (jint) ((TQListBoxPixmap*) QtSupport::getQt(env, obj))->width((const TQListBox*) QtSupport::getQt(env, arg1)); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQListBoxPixmap.h b/qtjava/javalib/qtjava/TQListBoxPixmap.h new file mode 100644 index 00000000..90b2381c --- /dev/null +++ b/qtjava/javalib/qtjava/TQListBoxPixmap.h @@ -0,0 +1,32 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QListBoxPixmap__ +#define __org_kde_qt_QListBoxPixmap__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxPixmap_newTQListBoxPixmap__Lorg_kde_qt_QListBox_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxPixmap_newTQListBoxPixmap__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxPixmap_newTQListBoxPixmap__Lorg_kde_qt_QListBox_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QListBoxItem_2 (JNIEnv *env, jobject, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxPixmap_newTQListBoxPixmap__Lorg_kde_qt_QListBox_2Lorg_kde_qt_QPixmap_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxPixmap_newTQListBoxPixmap__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxPixmap_newTQListBoxPixmap__Lorg_kde_qt_QListBox_2Lorg_kde_qt_QPixmap_2Ljava_lang_String_2Lorg_kde_qt_QListBoxItem_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListBoxPixmap_pixmap (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBoxPixmap_height (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBoxPixmap_width (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBoxPixmap_rtti (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxPixmap_paint (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxPixmap_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxPixmap_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBoxPixmap_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QListBoxPixmap__ */ diff --git a/qtjava/javalib/qtjava/TQListBoxText.cpp b/qtjava/javalib/qtjava/TQListBoxText.cpp new file mode 100644 index 00000000..6f3e42e0 --- /dev/null +++ b/qtjava/javalib/qtjava/TQListBoxText.cpp @@ -0,0 +1,126 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQListBoxTextJBridge : public TQListBoxText +{ +public: + TQListBoxTextJBridge(TQListBox* arg1,const TQString& arg2) : TQListBoxText(arg1,arg2) {}; + TQListBoxTextJBridge(TQListBox* arg1) : TQListBoxText(arg1) {}; + TQListBoxTextJBridge(const TQString& arg1) : TQListBoxText(arg1) {}; + TQListBoxTextJBridge() : TQListBoxText() {}; + TQListBoxTextJBridge(TQListBox* arg1,const TQString& arg2,TQListBoxItem* arg3) : TQListBoxText(arg1,arg2,arg3) {}; + void protected_paint(TQPainter* arg1) { + TQListBoxText::paint(arg1); + return; + } + ~TQListBoxTextJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBoxText_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QListBoxText_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBoxText_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQListBoxText*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListBoxText_height(JNIEnv* env, jobject obj, jobject arg1) +{ + jint xret = (jint) ((TQListBoxText*) QtSupport::getQt(env, obj))->height((const TQListBox*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListBoxText_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBoxText_newTQListBoxText__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQListBoxTextJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBoxText_newTQListBoxText__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 TQListBoxTextJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBoxText_newTQListBoxText__Lorg_kde_qt_QListBox_2(JNIEnv* env, jobject obj, jobject listbox) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQListBoxTextJBridge((TQListBox*) QtSupport::getQt(env, listbox))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBoxText_newTQListBoxText__Lorg_kde_qt_QListBox_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject listbox, jstring text) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQListBoxTextJBridge((TQListBox*) QtSupport::getQt(env, listbox), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBoxText_newTQListBoxText__Lorg_kde_qt_QListBox_2Ljava_lang_String_2Lorg_kde_qt_QListBoxItem_2(JNIEnv* env, jobject obj, jobject listbox, jstring text, jobject after) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQListBoxTextJBridge((TQListBox*) QtSupport::getQt(env, listbox), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQListBoxItem*) QtSupport::getQt(env, after))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListBoxText_paint(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQListBoxTextJBridge*) QtSupport::getQt(env, obj))->protected_paint((TQPainter*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListBoxText_rtti(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQListBoxText*) QtSupport::getQt(env, obj))->rtti(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListBoxText_width(JNIEnv* env, jobject obj, jobject arg1) +{ + jint xret = (jint) ((TQListBoxText*) QtSupport::getQt(env, obj))->width((const TQListBox*) QtSupport::getQt(env, arg1)); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQListBoxText.h b/qtjava/javalib/qtjava/TQListBoxText.h new file mode 100644 index 00000000..f4ec0e86 --- /dev/null +++ b/qtjava/javalib/qtjava/TQListBoxText.h @@ -0,0 +1,30 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QListBoxText__ +#define __org_kde_qt_QListBoxText__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxText_newTQListBoxText__Lorg_kde_qt_QListBox_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxText_newTQListBoxText__Lorg_kde_qt_QListBox_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxText_newTQListBoxText__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxText_newTQListBoxText__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxText_newTQListBoxText__Lorg_kde_qt_QListBox_2Ljava_lang_String_2Lorg_kde_qt_QListBoxItem_2 (JNIEnv *env, jobject, jobject, jstring, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBoxText_height (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBoxText_width (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListBoxText_rtti (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxText_paint (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxText_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxText_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBoxText_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QListBoxText__ */ diff --git a/qtjava/javalib/qtjava/TQListView.cpp b/qtjava/javalib/qtjava/TQListView.cpp new file mode 100644 index 00000000..9e3e693a --- /dev/null +++ b/qtjava/javalib/qtjava/TQListView.cpp @@ -0,0 +1,1494 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQListViewJBridge : public TQListView +{ +public: + TQListViewJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQListView(arg1,arg2,arg3) {}; + TQListViewJBridge(TQWidget* arg1,const char* arg2) : TQListView(arg1,arg2) {}; + TQListViewJBridge(TQWidget* arg1) : TQListView(arg1) {}; + TQListViewJBridge() : TQListView() {}; + void public_clearSelection() { + TQListView::clearSelection(); + return; + } + void public_sort() { + TQListView::sort(); + return; + } + void public_clear() { + TQListView::clear(); + return; + } + void public_invertSelection() { + TQListView::invertSelection(); + return; + } + void protected_contentsMousePressEvent(TQMouseEvent* arg1) { + TQListView::contentsMousePressEvent(arg1); + return; + } + void protected_contentsMouseReleaseEvent(TQMouseEvent* arg1) { + TQListView::contentsMouseReleaseEvent(arg1); + return; + } + void protected_contentsMouseMoveEvent(TQMouseEvent* arg1) { + TQListView::contentsMouseMoveEvent(arg1); + return; + } + void protected_contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { + TQListView::contentsMouseDoubleClickEvent(arg1); + return; + } + void protected_contentsContextMenuEvent(TQContextMenuEvent* arg1) { + TQListView::contentsContextMenuEvent(arg1); + return; + } + void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) { + TQListView::contentsDragEnterEvent(arg1); + return; + } + void protected_contentsDragMoveEvent(TQDragMoveEvent* arg1) { + TQListView::contentsDragMoveEvent(arg1); + return; + } + void protected_contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { + TQListView::contentsDragLeaveEvent(arg1); + return; + } + void protected_contentsDropEvent(TQDropEvent* arg1) { + TQListView::contentsDropEvent(arg1); + return; + } + TQDragObject* protected_dragObject() { + return (TQDragObject*) TQListView::dragObject(); + } + void protected_startDrag() { + TQListView::startDrag(); + return; + } + void protected_focusInEvent(TQFocusEvent* arg1) { + TQListView::focusInEvent(arg1); + return; + } + void protected_focusOutEvent(TQFocusEvent* arg1) { + TQListView::focusOutEvent(arg1); + return; + } + void protected_keyPressEvent(TQKeyEvent* arg1) { + TQListView::keyPressEvent(arg1); + return; + } + void protected_resizeEvent(TQResizeEvent* arg1) { + TQListView::resizeEvent(arg1); + return; + } + void protected_viewportResizeEvent(TQResizeEvent* arg1) { + TQListView::viewportResizeEvent(arg1); + return; + } + void protected_showEvent(TQShowEvent* arg1) { + TQListView::showEvent(arg1); + return; + } + void protected_drawContentsOffset(TQPainter* arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7) { + TQListView::drawContentsOffset(arg1,arg2,arg3,arg4,arg5,arg6,arg7); + return; + } + void protected_paintEmptyArea(TQPainter* arg1,const TQRect& arg2) { + TQListView::paintEmptyArea(arg1,arg2); + return; + } + void protected_styleChange(TQStyle& arg1) { + TQListView::styleChange(arg1); + return; + } + void protected_windowActivationChange(bool arg1) { + TQListView::windowActivationChange(arg1); + return; + } + void protected_updateContents() { + TQListView::updateContents(); + return; + } + void protected_doAutoScroll() { + TQListView::doAutoScroll(); + return; + } + ~TQListViewJBridge() {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")) { + TQListView::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")) { + TQListView::contentsDragLeaveEvent(arg1); + } + return; + } + void setActiveWindow() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","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")) { + TQListView::focusOutEvent(arg1); + } + return; + } + void setFocus() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","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.qt.TQListView","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")) { + TQListView::viewportResizeEvent(arg1); + } + return; + } + void sort() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","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.qt.TQListView","clear")) { + TQListView::clear(); + } + return; + } + void unsetCursor() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","unsetCursor")) { + TQWidget::unsetCursor(); + } + return; + } + void contentsDropEvent(TQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { + TQListView::contentsDropEvent(arg1); + } + return; + } + void hideEvent(TQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { + TQWidget::hideEvent(arg1); + } + return; + } + void moveEvent(TQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { + TQWidget::moveEvent(arg1); + } + return; + } + void polish() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","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")) { + TQListView::takeItem(arg1); + } + return; + } + void keyPressEvent(TQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { + TQListView::keyPressEvent(arg1); + } + return; + } + bool customWhatsThis() { + return QtSupport::booleanDelegate(this,"customWhatsThis"); + } + void clearSelection() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","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")) { + TQListView::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.qt.TQListView","startDrag")) { + TQListView::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 contentsDragMoveEvent(TQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { + TQListView::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")) { + TQListView::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.qt.TQListView","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")) { + 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")) { + TQListView::contentsMousePressEvent(arg1); + } + return; + } + void updateMask() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","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.qt.TQListView","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")) { + TQListView::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")) { + TQListView::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.qt.TQListView","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListView_addColumn__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring label) +{ +static TQString* _qstring_label = 0; + jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->addColumn((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListView_addColumn__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring label, jint size) +{ +static TQString* _qstring_label = 0; + jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->addColumn((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) size); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListView_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) ((TQListView*) 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_qt_QListView_addColumn__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject iconset, jstring label, jint size) +{ +static TQString* _qstring_label = 0; + jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->addColumn((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) size); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_adjustColumn(JNIEnv* env, jobject obj, jint col) +{ + ((TQListView*) QtSupport::getQt(env, obj))->adjustColumn((int) col); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListView_allColumnsShowFocus(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQListView*) QtSupport::getQt(env, obj))->allColumnsShowFocus(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListView_childCount(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->childCount(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QListView_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQListView*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_clearSelection(JNIEnv* env, jobject obj) +{ + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->public_clearSelection(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_clear(JNIEnv* env, jobject obj) +{ + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->public_clear(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListView_columnAlignment(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->columnAlignment((int) arg1); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QListView_columnText(JNIEnv* env, jobject obj, jint column) +{ + TQString _qstring; + _qstring = ((TQListView*) QtSupport::getQt(env, obj))->columnText((int) column); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListView_columnWidthMode(JNIEnv* env, jobject obj, jint column) +{ + jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->columnWidthMode((int) column); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListView_columnWidth(JNIEnv* env, jobject obj, jint column) +{ + jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->columnWidth((int) column); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListView_columns(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->columns(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_contentsContextMenuEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_contentsDragLeaveEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_contentsDragMoveEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_contentsDropEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_contentsMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_contentsMouseMoveEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_contentsMouseReleaseEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QListView_currentItem(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListView*) QtSupport::getQt(env, obj))->currentItem(), "org.kde.qt.TQListViewItem"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListView_defaultRenameAction(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->defaultRenameAction(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QListView_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_doAutoScroll(JNIEnv* env, jobject obj) +{ + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_doAutoScroll(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QListView_dragObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_dragObject(), "org.kde.qt.TQDragObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_drawContentsOffset(JNIEnv* env, jobject obj, jobject arg1, jint ox, jint oy, jint cx, jint cy, jint cw, jint ch) +{ + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_drawContentsOffset((TQPainter*) QtSupport::getQt(env, arg1), (int) ox, (int) oy, (int) cx, (int) cy, (int) cw, (int) ch); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_ensureItemVisible(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQListView*) QtSupport::getQt(env, obj))->ensureItemVisible((const TQListViewItem*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListView_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject arg2) +{ + jboolean xret = (jboolean) ((TQListView*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, arg2)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQListView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQListView*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QListView_findItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint column) +{ +static TQString* _qstring_text = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListView*) QtSupport::getQt(env, obj))->findItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) column), "org.kde.qt.TQListViewItem"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QListView_findItem__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring text, jint column, jint compare) +{ +static TQString* _qstring_text = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListView*) QtSupport::getQt(env, obj))->findItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) column, (TQt::ComparisonFlags) compare), "org.kde.qt.TQListViewItem"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QListView_firstChild(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListView*) QtSupport::getQt(env, obj))->firstChild(), "org.kde.qt.TQListViewItem"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_focusInEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_focusOutEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QListView_header(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListView*) QtSupport::getQt(env, obj))->header(), "org.kde.qt.TQHeader"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_hideColumn(JNIEnv* env, jobject obj, jint column) +{ + ((TQListView*) QtSupport::getQt(env, obj))->hideColumn((int) column); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_insertItem(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQListView*) QtSupport::getQt(env, obj))->insertItem((TQListViewItem*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_invertSelection(JNIEnv* env, jobject obj) +{ + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->public_invertSelection(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListView_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListView_isMultiSelection(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQListView*) QtSupport::getQt(env, obj))->isMultiSelection(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListView_isOpen(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQListView*) QtSupport::getQt(env, obj))->isOpen((const TQListViewItem*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListView_isRenaming(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQListView*) QtSupport::getQt(env, obj))->isRenaming(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListView_isSelected(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQListView*) QtSupport::getQt(env, obj))->isSelected((const TQListViewItem*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QListView_itemAt(JNIEnv* env, jobject obj, jobject screenPos) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListView*) QtSupport::getQt(env, obj))->itemAt((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, screenPos)), "org.kde.qt.TQListViewItem"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListView_itemMargin(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->itemMargin(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListView_itemPos(JNIEnv* env, jobject obj, jobject arg1) +{ + jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->itemPos((const TQListViewItem*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QListView_itemRect(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQListView*) QtSupport::getQt(env, obj))->itemRect((const TQListViewItem*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_keyPressEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QListView_lastItem(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListView*) QtSupport::getQt(env, obj))->lastItem(), "org.kde.qt.TQListViewItem"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QListView_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QListView_minimumSizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQListView*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_newTQListView__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQListViewJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_newTQListView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQListViewJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_newTQListView__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 TQListViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_newTQListView__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 TQListViewJBridge((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_qt_QListView_paintEmptyArea(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) +{ + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_paintEmptyArea((TQPainter*) QtSupport::getQt(env, arg1), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_removeColumn(JNIEnv* env, jobject obj, jint index) +{ + ((TQListView*) QtSupport::getQt(env, obj))->removeColumn((int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_removeItem(JNIEnv* env, jobject obj, jobject item) +{ + ((TQListView*) QtSupport::getQt(env, obj))->removeItem((TQListViewItem*) QtSupport::getQt(env, item)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_repaintItem(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQListView*) QtSupport::getQt(env, obj))->repaintItem((const TQListViewItem*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_resizeEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListView_resizeMode(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->resizeMode(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListView_rootIsDecorated(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQListView*) QtSupport::getQt(env, obj))->rootIsDecorated(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_selectAll(JNIEnv* env, jobject obj, jboolean select) +{ + ((TQListView*) QtSupport::getQt(env, obj))->selectAll((bool) select); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QListView_selectedItem(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListView*) QtSupport::getQt(env, obj))->selectedItem(), "org.kde.qt.TQListViewItem"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListView_selectionMode(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->selectionMode(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_setAllColumnsShowFocus(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQListView*) QtSupport::getQt(env, obj))->setAllColumnsShowFocus((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_setColumnAlignment(JNIEnv* env, jobject obj, jint arg1, jint arg2) +{ + ((TQListView*) QtSupport::getQt(env, obj))->setColumnAlignment((int) arg1, (int) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_setColumnText__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint column, jstring label) +{ +static TQString* _qstring_label = 0; + ((TQListView*) QtSupport::getQt(env, obj))->setColumnText((int) column, (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_setColumnText__ILorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint column, jobject iconset, jstring label) +{ +static TQString* _qstring_label = 0; + ((TQListView*) QtSupport::getQt(env, obj))->setColumnText((int) column, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_setColumnWidthMode(JNIEnv* env, jobject obj, jint column, jint arg2) +{ + ((TQListView*) QtSupport::getQt(env, obj))->setColumnWidthMode((int) column, (TQListView::WidthMode) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_setColumnWidth(JNIEnv* env, jobject obj, jint column, jint width) +{ + ((TQListView*) QtSupport::getQt(env, obj))->setColumnWidth((int) column, (int) width); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_setContentsPos(JNIEnv* env, jobject obj, jint x, jint y) +{ + ((TQListView*) QtSupport::getQt(env, obj))->setContentsPos((int) x, (int) y); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_setCurrentItem(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQListView*) QtSupport::getQt(env, obj))->setCurrentItem((TQListViewItem*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_setDefaultRenameAction(JNIEnv* env, jobject obj, jint a) +{ + ((TQListView*) QtSupport::getQt(env, obj))->setDefaultRenameAction((TQListView::RenameAction) a); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_setFont(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQListView*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_setItemMargin(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQListView*) QtSupport::getQt(env, obj))->setItemMargin((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_setMultiSelection(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TQListView*) QtSupport::getQt(env, obj))->setMultiSelection((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_setOpen(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) +{ + ((TQListView*) QtSupport::getQt(env, obj))->setOpen((TQListViewItem*) QtSupport::getQt(env, arg1), (bool) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_setPalette(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQListView*) QtSupport::getQt(env, obj))->setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_setResizeMode(JNIEnv* env, jobject obj, jint m) +{ + ((TQListView*) QtSupport::getQt(env, obj))->setResizeMode((TQListView::ResizeMode) m); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_setRootIsDecorated(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQListView*) QtSupport::getQt(env, obj))->setRootIsDecorated((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_setSelected(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) +{ + ((TQListView*) QtSupport::getQt(env, obj))->setSelected((TQListViewItem*) QtSupport::getQt(env, arg1), (bool) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_setSelectionAnchor(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQListView*) QtSupport::getQt(env, obj))->setSelectionAnchor((TQListViewItem*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_setSelectionMode(JNIEnv* env, jobject obj, jint mode) +{ + ((TQListView*) QtSupport::getQt(env, obj))->setSelectionMode((TQListView::SelectionMode) mode); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_setShowSortIndicator(JNIEnv* env, jobject obj, jboolean show) +{ + ((TQListView*) QtSupport::getQt(env, obj))->setShowSortIndicator((bool) show); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_setShowToolTips(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQListView*) QtSupport::getQt(env, obj))->setShowToolTips((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_setSortColumn(JNIEnv* env, jobject obj, jint column) +{ + ((TQListView*) QtSupport::getQt(env, obj))->setSortColumn((int) column); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_setSortOrder(JNIEnv* env, jobject obj, jint order) +{ + ((TQListView*) QtSupport::getQt(env, obj))->setSortOrder((TQt::SortOrder) order); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_setSorting__I(JNIEnv* env, jobject obj, jint column) +{ + ((TQListView*) QtSupport::getQt(env, obj))->setSorting((int) column); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_setSorting__IZ(JNIEnv* env, jobject obj, jint column, jboolean ascending) +{ + ((TQListView*) QtSupport::getQt(env, obj))->setSorting((int) column, (bool) ascending); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_setTreeStepSize(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQListView*) QtSupport::getQt(env, obj))->setTreeStepSize((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_showEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListView_showSortIndicator(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQListView*) QtSupport::getQt(env, obj))->showSortIndicator(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListView_showToolTips(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQListView*) QtSupport::getQt(env, obj))->showToolTips(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_show(JNIEnv* env, jobject obj) +{ + ((TQListView*) QtSupport::getQt(env, obj))->show(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QListView_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQListView*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListView_sortColumn(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->sortColumn(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListView_sortOrder(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->sortOrder(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_sort(JNIEnv* env, jobject obj) +{ + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->public_sort(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_startDrag(JNIEnv* env, jobject obj) +{ + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_startDrag(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_styleChange(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_takeItem(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQListView*) QtSupport::getQt(env, obj))->takeItem((TQListViewItem*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QListView_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQListViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QListView_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQListViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListView_treeStepSize(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->treeStepSize(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_triggerUpdate(JNIEnv* env, jobject obj) +{ + ((TQListView*) QtSupport::getQt(env, obj))->triggerUpdate(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_updateContents(JNIEnv* env, jobject obj) +{ + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_updateContents(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_viewportResizeEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportResizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListView_windowActivationChange(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_windowActivationChange((bool) arg1); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QListView_itemList(JNIEnv *env, jobject obj) +{ + TQListViewItemIterator iterator((TQListView*) QtSupport::getQt(env, obj)); + return QtSupport::arrayWithTQListViewItemList(env, &iterator); +} + diff --git a/qtjava/javalib/qtjava/TQListView.h b/qtjava/javalib/qtjava/TQListView.h new file mode 100644 index 00000000..a496e645 --- /dev/null +++ b/qtjava/javalib/qtjava/TQListView.h @@ -0,0 +1,132 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QListView__ +#define __org_kde_qt_QListView__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QListView_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_newTQListView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_newTQListView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_newTQListView__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_newTQListView__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_treeStepSize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setTreeStepSize (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_insertItem (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_takeItem (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_removeItem (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_header (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_addColumn__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_addColumn__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_addColumn__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_addColumn__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_removeColumn (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setColumnText__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setColumnText__ILorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QListView_columnText (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setColumnWidth (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_columnWidth (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setColumnWidthMode (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_columnWidthMode (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_columns (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setColumnAlignment (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_columnAlignment (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_show (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_itemAt (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_itemRect (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_itemPos (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_ensureItemVisible (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_repaintItem (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setMultiSelection (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListView_isMultiSelection (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setSelectionMode (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_selectionMode (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_clearSelection (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setSelected (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setSelectionAnchor (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListView_isSelected (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_selectedItem (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setOpen (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListView_isOpen (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setCurrentItem (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_currentItem (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_firstChild (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_lastItem (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_childCount (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setAllColumnsShowFocus (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListView_allColumnsShowFocus (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setItemMargin (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_itemMargin (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setRootIsDecorated (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListView_rootIsDecorated (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setSorting__IZ (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setSorting__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_sortColumn (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setSortColumn (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_sortOrder (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setSortOrder (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_sort (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setFont (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setPalette (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListView_eventFilter (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_minimumSizeHint (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setShowSortIndicator (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListView_showSortIndicator (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setShowToolTips (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListView_showToolTips (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setResizeMode (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_resizeMode (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_findItem__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_findItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setDefaultRenameAction (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_defaultRenameAction (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListView_isRenaming (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_hideColumn (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_clear (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_invertSelection (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_selectAll (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_triggerUpdate (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_setContentsPos (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_adjustColumn (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QListView_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QListView_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_contentsMousePressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_contentsMouseReleaseEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_contentsMouseMoveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_contentsMouseDoubleClickEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_contentsContextMenuEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_contentsDragEnterEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_contentsDragMoveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_contentsDragLeaveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_contentsDropEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_dragObject (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_startDrag (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_focusInEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_focusOutEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_keyPressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_viewportResizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_showEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_drawContentsOffset (JNIEnv *env, jobject, jobject, jint, jint, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_paintEmptyArea (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_styleChange (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_windowActivationChange (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_updateContents (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_doAutoScroll (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListView_isDisposed (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListView_itemList (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QListView__ */ diff --git a/qtjava/javalib/qtjava/TQListViewItem.cpp b/qtjava/javalib/qtjava/TQListViewItem.cpp new file mode 100644 index 00000000..33857c08 --- /dev/null +++ b/qtjava/javalib/qtjava/TQListViewItem.cpp @@ -0,0 +1,1097 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQListViewItemJBridge : public TQListViewItem +{ +public: + TQListViewItemJBridge(TQListView* arg1) : TQListViewItem(arg1) {}; + TQListViewItemJBridge(TQListViewItem* arg1) : TQListViewItem(arg1) {}; + TQListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2) : TQListViewItem(arg1,arg2) {}; + TQListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2) : TQListViewItem(arg1,arg2) {}; + TQListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8,TQString arg9) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; + TQListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; + TQListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TQListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TQListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5) : TQListViewItem(arg1,arg2,arg3,arg4,arg5) {}; + TQListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4) : TQListViewItem(arg1,arg2,arg3,arg4) {}; + TQListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3) : TQListViewItem(arg1,arg2,arg3) {}; + TQListViewItemJBridge(TQListView* arg1,TQString arg2) : TQListViewItem(arg1,arg2) {}; + TQListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8,TQString arg9) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; + TQListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; + TQListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TQListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TQListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5) : TQListViewItem(arg1,arg2,arg3,arg4,arg5) {}; + TQListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4) : TQListViewItem(arg1,arg2,arg3,arg4) {}; + TQListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3) : TQListViewItem(arg1,arg2,arg3) {}; + TQListViewItemJBridge(TQListViewItem* arg1,TQString arg2) : TQListViewItem(arg1,arg2) {}; + TQListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8,TQString arg9,TQString arg10) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {}; + TQListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8,TQString arg9) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; + TQListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; + TQListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TQListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TQListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5) : TQListViewItem(arg1,arg2,arg3,arg4,arg5) {}; + TQListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4) : TQListViewItem(arg1,arg2,arg3,arg4) {}; + TQListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3) : TQListViewItem(arg1,arg2,arg3) {}; + TQListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8,TQString arg9,TQString arg10) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {}; + TQListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8,TQString arg9) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; + TQListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; + TQListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TQListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TQListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5) : TQListViewItem(arg1,arg2,arg3,arg4,arg5) {}; + TQListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4) : TQListViewItem(arg1,arg2,arg3,arg4) {}; + TQListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3) : TQListViewItem(arg1,arg2,arg3) {}; + void public_invalidateHeight() { + TQListViewItem::invalidateHeight(); + return; + } + void public_setup() { + TQListViewItem::setup(); + return; + } + void public_sort() { + TQListViewItem::sort(); + return; + } + void protected_enforceSortOrder() { + TQListViewItem::enforceSortOrder(); + return; + } + void protected_setHeight(int arg1) { + TQListViewItem::setHeight(arg1); + return; + } + void protected_activate() { + TQListViewItem::activate(); + return; + } + bool protected_activatedPos(TQPoint& arg1) { + return (bool) TQListViewItem::activatedPos(arg1); + } + void protected_dropped(TQDropEvent* arg1) { + TQListViewItem::dropped(arg1); + return; + } + void protected_dragEntered() { + TQListViewItem::dragEntered(); + return; + } + void protected_dragLeft() { + TQListViewItem::dragLeft(); + return; + } + void protected_okRename(int arg1) { + TQListViewItem::okRename(arg1); + return; + } + void protected_cancelRename(int arg1) { + TQListViewItem::cancelRename(arg1); + return; + } + void protected_ignoreDoubleClick() { + TQListViewItem::ignoreDoubleClick(); + return; + } + ~TQListViewItemJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListViewItem_acceptDrop(JNIEnv* env, jobject obj, jobject mime) +{ + jboolean xret = (jboolean) ((TQListViewItem*) QtSupport::getQt(env, obj))->acceptDrop((const TQMimeSource*) QtSupport::mimeSource(env, mime)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_activate(JNIEnv* env, jobject obj) +{ + ((TQListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_activate(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListViewItem_activatedPos(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_activatedPos((TQPoint&)*(TQPoint*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_cancelRename(JNIEnv* env, jobject obj, jint col) +{ + ((TQListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_cancelRename((int) col); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListViewItem_childCount(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQListViewItem*) QtSupport::getQt(env, obj))->childCount(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListViewItem_compare(JNIEnv* env, jobject obj, jobject i, jint col, jboolean arg3) +{ + jint xret = (jint) ((TQListViewItem*) QtSupport::getQt(env, obj))->compare((TQListViewItem*) QtSupport::getQt(env, i), (int) col, (bool) arg3); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListViewItem_depth(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQListViewItem*) QtSupport::getQt(env, obj))->depth(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QListViewItem_finalize(env, obj); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListViewItem_dragEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQListViewItem*) QtSupport::getQt(env, obj))->dragEnabled(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_dragEntered(JNIEnv* env, jobject obj) +{ + ((TQListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_dragEntered(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_dragLeft(JNIEnv* env, jobject obj) +{ + ((TQListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_dragLeft(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListViewItem_dropEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQListViewItem*) QtSupport::getQt(env, obj))->dropEnabled(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_dropped(JNIEnv* env, jobject obj, jobject e) +{ + ((TQListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_dropped((TQDropEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_enforceSortOrder(JNIEnv* env, jobject obj) +{ + ((TQListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_enforceSortOrder(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQListViewItem*)(TQListViewItem*)QtSupport::getQt(env, obj))->parent() == 0 && ((TQListViewItem*)(TQListViewItem*)QtSupport::getQt(env, obj))->listView() == 0) { + delete (TQListViewItem*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QListViewItem_firstChild(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListViewItem*) QtSupport::getQt(env, obj))->firstChild(), "org.kde.qt.TQListViewItem"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListViewItem_height(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQListViewItem*) QtSupport::getQt(env, obj))->height(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_ignoreDoubleClick(JNIEnv* env, jobject obj) +{ + ((TQListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_ignoreDoubleClick(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_insertItem(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQListViewItem*) QtSupport::getQt(env, obj))->insertItem((TQListViewItem*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_invalidateHeight(JNIEnv* env, jobject obj) +{ + ((TQListViewItemJBridge*) QtSupport::getQt(env, obj))->public_invalidateHeight(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListViewItem_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListViewItem_isEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQListViewItem*) QtSupport::getQt(env, obj))->isEnabled(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListViewItem_isExpandable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQListViewItem*) QtSupport::getQt(env, obj))->isExpandable(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListViewItem_isOpen(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQListViewItem*) QtSupport::getQt(env, obj))->isOpen(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListViewItem_isSelectable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQListViewItem*) QtSupport::getQt(env, obj))->isSelectable(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListViewItem_isSelected(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQListViewItem*) QtSupport::getQt(env, obj))->isSelected(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListViewItem_isVisible(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQListViewItem*) QtSupport::getQt(env, obj))->isVisible(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QListViewItem_itemAbove(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListViewItem*) QtSupport::getQt(env, obj))->itemAbove(), "org.kde.qt.TQListViewItem"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QListViewItem_itemBelow(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListViewItem*) QtSupport::getQt(env, obj))->itemBelow(), "org.kde.qt.TQListViewItem"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListViewItem_itemPos(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQListViewItem*) QtSupport::getQt(env, obj))->itemPos(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QListViewItem_key(JNIEnv* env, jobject obj, jint arg1, jboolean arg2) +{ + TQString _qstring; + _qstring = ((TQListViewItem*) QtSupport::getQt(env, obj))->key((int) arg1, (bool) arg2); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QListViewItem_listView(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListViewItem*) QtSupport::getQt(env, obj))->listView(), "org.kde.qt.TQListView"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_moveItem(JNIEnv* env, jobject obj, jobject after) +{ + ((TQListViewItem*) QtSupport::getQt(env, obj))->moveItem((TQListViewItem*) QtSupport::getQt(env, after)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListViewItem_multiLinesEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQListViewItem*) QtSupport::getQt(env, obj))->multiLinesEnabled(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_newTQListViewItem__Lorg_kde_qt_QListViewItem_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__Lorg_kde_qt_QListView_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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_qt_QListViewItem_newTQListViewItem__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 TQListViewItemJBridge((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 jobject JNICALL +Java_org_kde_qt_QListViewItem_nextSibling(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListViewItem*) QtSupport::getQt(env, obj))->nextSibling(), "org.kde.qt.TQListViewItem"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_okRename(JNIEnv* env, jobject obj, jint col) +{ + ((TQListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_okRename((int) col); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_paintBranches(JNIEnv* env, jobject obj, jobject p, jobject cg, jint w, jint y, jint h) +{ + ((TQListViewItem*) QtSupport::getQt(env, obj))->paintBranches((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (int) w, (int) y, (int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_paintCell(JNIEnv* env, jobject obj, jobject arg1, jobject cg, jint column, jint width, jint alignment) +{ + ((TQListViewItem*) QtSupport::getQt(env, obj))->paintCell((TQPainter*) QtSupport::getQt(env, arg1), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (int) column, (int) width, (int) alignment); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_paintFocus(JNIEnv* env, jobject obj, jobject arg1, jobject cg, jobject r) +{ + ((TQListViewItem*) QtSupport::getQt(env, obj))->paintFocus((TQPainter*) QtSupport::getQt(env, arg1), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QListViewItem_parent(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListViewItem*) QtSupport::getQt(env, obj))->parent(), "org.kde.qt.TQListViewItem"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QListViewItem_pixmap(JNIEnv* env, jobject obj, jint arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListViewItem*) QtSupport::getQt(env, obj))->pixmap((int) arg1), "org.kde.qt.TQPixmap"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_removeItem(JNIEnv* env, jobject obj, jobject item) +{ + ((TQListViewItem*) QtSupport::getQt(env, obj))->removeItem((TQListViewItem*) QtSupport::getQt(env, item)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QListViewItem_renameEnabled(JNIEnv* env, jobject obj, jint col) +{ + jboolean xret = (jboolean) ((TQListViewItem*) QtSupport::getQt(env, obj))->renameEnabled((int) col); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_repaint(JNIEnv* env, jobject obj) +{ + ((TQListViewItem*) QtSupport::getQt(env, obj))->repaint(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListViewItem_rtti(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQListViewItem*) QtSupport::getQt(env, obj))->rtti(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_setDragEnabled(JNIEnv* env, jobject obj, jboolean allow) +{ + ((TQListViewItem*) QtSupport::getQt(env, obj))->setDragEnabled((bool) allow); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_setDropEnabled(JNIEnv* env, jobject obj, jboolean allow) +{ + ((TQListViewItem*) QtSupport::getQt(env, obj))->setDropEnabled((bool) allow); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_setEnabled(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQListViewItem*) QtSupport::getQt(env, obj))->setEnabled((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_setExpandable(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQListViewItem*) QtSupport::getQt(env, obj))->setExpandable((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_setHeight(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_setHeight((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_setMultiLinesEnabled(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQListViewItem*) QtSupport::getQt(env, obj))->setMultiLinesEnabled((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_setOpen(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQListViewItem*) QtSupport::getQt(env, obj))->setOpen((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_setPixmap(JNIEnv* env, jobject obj, jint arg1, jobject arg2) +{ + ((TQListViewItem*) QtSupport::getQt(env, obj))->setPixmap((int) arg1, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_setRenameEnabled(JNIEnv* env, jobject obj, jint col, jboolean b) +{ + ((TQListViewItem*) QtSupport::getQt(env, obj))->setRenameEnabled((int) col, (bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_setSelectable(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TQListViewItem*) QtSupport::getQt(env, obj))->setSelectable((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_setSelected(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQListViewItem*) QtSupport::getQt(env, obj))->setSelected((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_setText(JNIEnv* env, jobject obj, jint arg1, jstring arg2) +{ +static TQString* _qstring_arg2 = 0; + ((TQListViewItem*) QtSupport::getQt(env, obj))->setText((int) arg1, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_setVisible(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQListViewItem*) QtSupport::getQt(env, obj))->setVisible((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_setup(JNIEnv* env, jobject obj) +{ + ((TQListViewItemJBridge*) QtSupport::getQt(env, obj))->public_setup(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_sortChildItems(JNIEnv* env, jobject obj, jint arg1, jboolean arg2) +{ + ((TQListViewItem*) QtSupport::getQt(env, obj))->sortChildItems((int) arg1, (bool) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_sort(JNIEnv* env, jobject obj) +{ + ((TQListViewItemJBridge*) QtSupport::getQt(env, obj))->public_sort(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_startRename(JNIEnv* env, jobject obj, jint col) +{ + ((TQListViewItem*) QtSupport::getQt(env, obj))->startRename((int) col); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_takeItem(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQListViewItem*) QtSupport::getQt(env, obj))->takeItem((TQListViewItem*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QListViewItem_text(JNIEnv* env, jobject obj, jint arg1) +{ + TQString _qstring; + _qstring = ((TQListViewItem*) QtSupport::getQt(env, obj))->text((int) arg1); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListViewItem_totalHeight(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQListViewItem*) QtSupport::getQt(env, obj))->totalHeight(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_widthChanged__(JNIEnv* env, jobject obj) +{ + ((TQListViewItem*) QtSupport::getQt(env, obj))->widthChanged(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QListViewItem_widthChanged__I(JNIEnv* env, jobject obj, jint column) +{ + ((TQListViewItem*) QtSupport::getQt(env, obj))->widthChanged((int) column); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QListViewItem_width(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jint column) +{ + jint xret = (jint) ((TQListViewItem*) QtSupport::getQt(env, obj))->width((const TQFontMetrics&)*(const TQFontMetrics*) QtSupport::getQt(env, arg1), (const TQListView*) QtSupport::getQt(env, arg2), (int) column); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QListViewItem_itemList(JNIEnv *env, jobject obj) +{ + TQListViewItemIterator iterator((TQListViewItem*) QtSupport::getQt(env, obj)); + return QtSupport::arrayWithTQListViewItemList(env, &iterator); +} + diff --git a/qtjava/javalib/qtjava/TQListViewItem.h b/qtjava/javalib/qtjava/TQListViewItem.h new file mode 100644 index 00000000..69fe48c4 --- /dev/null +++ b/qtjava/javalib/qtjava/TQListViewItem.h @@ -0,0 +1,123 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QListViewItem__ +#define __org_kde_qt_QListViewItem__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_newTQListViewItem__Lorg_kde_qt_QListView_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_newTQListViewItem__Lorg_kde_qt_QListViewItem_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_newTQListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_newTQListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_newTQListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_newTQListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_newTQListViewItem__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_qt_QListViewItem_insertItem (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_takeItem (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_removeItem (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListViewItem_height (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_invalidateHeight (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListViewItem_totalHeight (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListViewItem_width (JNIEnv *env, jobject, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_widthChanged__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_widthChanged__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListViewItem_depth (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_setText (JNIEnv *env, jobject, jint, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QListViewItem_text (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_setPixmap (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListViewItem_pixmap (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QListViewItem_key (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListViewItem_compare (JNIEnv *env, jobject, jobject, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_sortChildItems (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListViewItem_childCount (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListViewItem_isOpen (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_setOpen (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_setup (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_setSelected (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListViewItem_isSelected (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_paintCell (JNIEnv *env, jobject, jobject, jobject, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_paintBranches (JNIEnv *env, jobject, jobject, jobject, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_paintFocus (JNIEnv *env, jobject, jobject, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListViewItem_firstChild (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListViewItem_nextSibling (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListViewItem_parent (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListViewItem_itemAbove (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListViewItem_itemBelow (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListViewItem_itemPos (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListViewItem_listView (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_setSelectable (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListViewItem_isSelectable (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_setExpandable (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListViewItem_isExpandable (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_repaint (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_sort (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_moveItem (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_setDragEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_setDropEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListViewItem_dragEnabled (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListViewItem_dropEnabled (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListViewItem_acceptDrop (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_setVisible (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListViewItem_isVisible (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_setRenameEnabled (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListViewItem_renameEnabled (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_startRename (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_setEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListViewItem_isEnabled (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QListViewItem_rtti (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_setMultiLinesEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListViewItem_multiLinesEnabled (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_enforceSortOrder (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_setHeight (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_activate (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListViewItem_activatedPos (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_dropped (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_dragEntered (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_dragLeft (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_okRename (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_cancelRename (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_ignoreDoubleClick (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListViewItem_isDisposed (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QListViewItem_itemList (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QListViewItem__ */ diff --git a/qtjava/javalib/qtjava/TQLocalFs.cpp b/qtjava/javalib/qtjava/TQLocalFs.cpp new file mode 100644 index 00000000..01554281 --- /dev/null +++ b/qtjava/javalib/qtjava/TQLocalFs.cpp @@ -0,0 +1,265 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQLocalFsJBridge : public TQLocalFs +{ +public: + TQLocalFsJBridge() : TQLocalFs() {}; + void protected_operationListChildren(TQNetworkOperation* arg1) { + TQLocalFs::operationListChildren(arg1); + return; + } + void protected_operationMkDir(TQNetworkOperation* arg1) { + TQLocalFs::operationMkDir(arg1); + return; + } + void protected_operationRemove(TQNetworkOperation* arg1) { + TQLocalFs::operationRemove(arg1); + return; + } + void protected_operationRename(TQNetworkOperation* arg1) { + TQLocalFs::operationRename(arg1); + return; + } + void protected_operationGet(TQNetworkOperation* arg1) { + TQLocalFs::operationGet(arg1); + return; + } + void protected_operationPut(TQNetworkOperation* arg1) { + TQLocalFs::operationPut(arg1); + return; + } + ~TQLocalFsJBridge() {QtSupport::qtKeyDeleted(this);} + void operationRename(TQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationRename",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { + TQLocalFs::operationRename(arg1); + } + return; + } + void operationPutChunk(TQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationPutChunk",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { + TQNetworkProtocol::operationPutChunk(arg1); + } + return; + } + void processOperation(TQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"processOperation",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { + TQNetworkProtocol::processOperation(arg1); + } + return; + } + void operationGet(TQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationGet",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { + TQLocalFs::operationGet(arg1); + } + return; + } + void removeChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::removeChild(arg1); + } + return; + } + void operationPut(TQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationPut",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { + TQLocalFs::operationPut(arg1); + } + return; + } + void operationListChildren(TQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationListChildren",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { + TQLocalFs::operationListChildren(arg1); + } + return; + } + void customEvent(TQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { + TQObject::customEvent(arg1); + } + return; + } + void operationRemove(TQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationRemove",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { + TQLocalFs::operationRemove(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 addOperation(TQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"addOperation",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { + TQNetworkProtocol::addOperation(arg1); + } + return; + } + void insertChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::insertChild(arg1); + } + return; + } + void clearOperationQueue() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLocalFs","clearOperationQueue")) { + TQNetworkProtocol::clearOperationQueue(); + } + return; + } + void operationMkDir(TQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationMkDir",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { + TQLocalFs::operationMkDir(arg1); + } + return; + } + bool eventFilter(TQObject* object,TQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQLocalFs",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } + void stop() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLocalFs","stop")) { + TQNetworkProtocol::stop(); + } + return; + } + void setUrl(TQUrlOperator* arg1) { + if (!QtSupport::eventDelegate(this,"setUrl",(void*)arg1,"org.kde.qt.TQUrlOperator")) { + TQNetworkProtocol::setUrl(arg1); + } + return; + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QLocalFs_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQLocalFs*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLocalFs_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QLocalFs_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLocalFs_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQLocalFs*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQLocalFs*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QLocalFs_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QLocalFs_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLocalFs*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLocalFs_newTQLocalFs(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQLocalFsJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLocalFs_operationGet(JNIEnv* env, jobject obj, jobject op) +{ + ((TQLocalFsJBridge*) QtSupport::getQt(env, obj))->protected_operationGet((TQNetworkOperation*) QtSupport::getQt(env, op)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLocalFs_operationListChildren(JNIEnv* env, jobject obj, jobject op) +{ + ((TQLocalFsJBridge*) QtSupport::getQt(env, obj))->protected_operationListChildren((TQNetworkOperation*) QtSupport::getQt(env, op)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLocalFs_operationMkDir(JNIEnv* env, jobject obj, jobject op) +{ + ((TQLocalFsJBridge*) QtSupport::getQt(env, obj))->protected_operationMkDir((TQNetworkOperation*) QtSupport::getQt(env, op)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLocalFs_operationPut(JNIEnv* env, jobject obj, jobject op) +{ + ((TQLocalFsJBridge*) QtSupport::getQt(env, obj))->protected_operationPut((TQNetworkOperation*) QtSupport::getQt(env, op)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLocalFs_operationRemove(JNIEnv* env, jobject obj, jobject op) +{ + ((TQLocalFsJBridge*) QtSupport::getQt(env, obj))->protected_operationRemove((TQNetworkOperation*) QtSupport::getQt(env, op)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QLocalFs_operationRename(JNIEnv* env, jobject obj, jobject op) +{ + ((TQLocalFsJBridge*) QtSupport::getQt(env, obj))->protected_operationRename((TQNetworkOperation*) QtSupport::getQt(env, op)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QLocalFs_supportedOperations(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQLocalFs*) QtSupport::getQt(env, obj))->supportedOperations(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QLocalFs_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQLocalFsJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QLocalFs_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQLocalFsJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQLocalFs.h b/qtjava/javalib/qtjava/TQLocalFs.h new file mode 100644 index 00000000..0fcc5211 --- /dev/null +++ b/qtjava/javalib/qtjava/TQLocalFs.h @@ -0,0 +1,33 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QLocalFs__ +#define __org_kde_qt_QLocalFs__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QLocalFs_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLocalFs_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLocalFs_newTQLocalFs (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QLocalFs_supportedOperations (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLocalFs_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QLocalFs_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLocalFs_operationListChildren (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLocalFs_operationMkDir (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLocalFs_operationRemove (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLocalFs_operationRename (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLocalFs_operationGet (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLocalFs_operationPut (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLocalFs_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QLocalFs_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLocalFs_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QLocalFs__ */ diff --git a/qtjava/javalib/qtjava/TQMainWindow.cpp b/qtjava/javalib/qtjava/TQMainWindow.cpp new file mode 100644 index 00000000..a22988c0 --- /dev/null +++ b/qtjava/javalib/qtjava/TQMainWindow.cpp @@ -0,0 +1,1059 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQMainWindowJBridge : public TQMainWindow +{ +public: + TQMainWindowJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQMainWindow(arg1,arg2,arg3) {}; + TQMainWindowJBridge(TQWidget* arg1,const char* arg2) : TQMainWindow(arg1,arg2) {}; + TQMainWindowJBridge(TQWidget* arg1) : TQMainWindow(arg1) {}; + TQMainWindowJBridge() : TQMainWindow() {}; + void public_whatsThis() { + TQMainWindow::whatsThis(); + return; + } + void public_customize() { + TQMainWindow::customize(); + return; + } + void protected_paintEvent(TQPaintEvent* arg1) { + TQMainWindow::paintEvent(arg1); + return; + } + void protected_childEvent(TQChildEvent* arg1) { + TQMainWindow::childEvent(arg1); + return; + } + bool protected_event(TQEvent* arg1) { + return (bool) TQMainWindow::event(arg1); + } + void protected_styleChange(TQStyle& arg1) { + TQMainWindow::styleChange(arg1); + return; + } + void protected_setUpLayout() { + TQMainWindow::setUpLayout(); + return; + } + bool protected_showDockMenu(const TQPoint& arg1) { + return (bool) TQMainWindow::showDockMenu(arg1); + } + void protected_menuAboutToShow() { + TQMainWindow::menuAboutToShow(); + return; + } + ~TQMainWindowJBridge() {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 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.qt.TQMainWindow","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.qt.TQMainWindow","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")) { + TQMainWindow::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.qt.TQMainWindow","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.qt.TQMainWindow","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMainWindow","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 setUpLayout() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMainWindow","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")) { + TQMainWindow::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.qt.TQMainWindow","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMainWindow","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.qt.TQMainWindow","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.qt.TQMainWindow","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.qt.TQMainWindow","customize")) { + TQMainWindow::customize(); + } + 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.qt.TQMainWindow","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_addDockWindow__Lorg_kde_qt_QDockWindow_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQMainWindow*) QtSupport::getQt(env, obj))->addDockWindow((TQDockWindow*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_addDockWindow__Lorg_kde_qt_QDockWindow_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2) +{ + ((TQMainWindow*) QtSupport::getQt(env, obj))->addDockWindow((TQDockWindow*) QtSupport::getQt(env, arg1), (TQt::Dock) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_addDockWindow__Lorg_kde_qt_QDockWindow_2IZ(JNIEnv* env, jobject obj, jobject arg1, jint arg2, jboolean newLine) +{ + ((TQMainWindow*) QtSupport::getQt(env, obj))->addDockWindow((TQDockWindow*) QtSupport::getQt(env, arg1), (TQt::Dock) arg2, (bool) newLine); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_addDockWindow__Lorg_kde_qt_QDockWindow_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring label) +{ +static TQString* _qstring_label = 0; + ((TQMainWindow*) QtSupport::getQt(env, obj))->addDockWindow((TQDockWindow*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_addDockWindow__Lorg_kde_qt_QDockWindow_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject arg1, jstring label, jint arg3) +{ +static TQString* _qstring_label = 0; + ((TQMainWindow*) QtSupport::getQt(env, obj))->addDockWindow((TQDockWindow*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (TQt::Dock) arg3); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_addDockWindow__Lorg_kde_qt_QDockWindow_2Ljava_lang_String_2IZ(JNIEnv* env, jobject obj, jobject arg1, jstring label, jint arg3, jboolean newLine) +{ +static TQString* _qstring_label = 0; + ((TQMainWindow*) QtSupport::getQt(env, obj))->addDockWindow((TQDockWindow*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (TQt::Dock) arg3, (bool) newLine); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_addToolBar__Lorg_kde_qt_QDockWindow_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQMainWindow*) QtSupport::getQt(env, obj))->addToolBar((TQDockWindow*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_addToolBar__Lorg_kde_qt_QDockWindow_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2) +{ + ((TQMainWindow*) QtSupport::getQt(env, obj))->addToolBar((TQDockWindow*) QtSupport::getQt(env, arg1), (TQt::Dock) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_addToolBar__Lorg_kde_qt_QDockWindow_2IZ(JNIEnv* env, jobject obj, jobject arg1, jint arg2, jboolean newLine) +{ + ((TQMainWindow*) QtSupport::getQt(env, obj))->addToolBar((TQDockWindow*) QtSupport::getQt(env, arg1), (TQt::Dock) arg2, (bool) newLine); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_addToolBar__Lorg_kde_qt_QDockWindow_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring label) +{ +static TQString* _qstring_label = 0; + ((TQMainWindow*) QtSupport::getQt(env, obj))->addToolBar((TQDockWindow*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_addToolBar__Lorg_kde_qt_QDockWindow_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject arg1, jstring label, jint arg3) +{ +static TQString* _qstring_label = 0; + ((TQMainWindow*) QtSupport::getQt(env, obj))->addToolBar((TQDockWindow*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (TQt::Dock) arg3); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_addToolBar__Lorg_kde_qt_QDockWindow_2Ljava_lang_String_2IZ(JNIEnv* env, jobject obj, jobject arg1, jstring label, jint arg3, jboolean newLine) +{ +static TQString* _qstring_label = 0; + ((TQMainWindow*) QtSupport::getQt(env, obj))->addToolBar((TQDockWindow*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (TQt::Dock) arg3, (bool) newLine); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMainWindow_appropriate(JNIEnv* env, jobject obj, jobject dw) +{ + jboolean xret = (jboolean) ((TQMainWindow*) QtSupport::getQt(env, obj))->appropriate((TQDockWindow*) QtSupport::getQt(env, dw)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMainWindow_bottomDock(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMainWindow*) QtSupport::getQt(env, obj))->bottomDock(), "org.kde.qt.TQDockArea"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMainWindow_centralWidget(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMainWindow*) QtSupport::getQt(env, obj))->centralWidget(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_childEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TQChildEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QMainWindow_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQMainWindow*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMainWindow_createDockWindowMenu__(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMainWindow*) QtSupport::getQt(env, obj))->createDockWindowMenu(), "org.kde.qt.TQPopupMenu"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMainWindow_createDockWindowMenu__I(JNIEnv* env, jobject obj, jint dockWindows) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMainWindow*) QtSupport::getQt(env, obj))->createDockWindowMenu((TQMainWindow::DockWindows) dockWindows), "org.kde.qt.TQPopupMenu"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_customize(JNIEnv* env, jobject obj) +{ + ((TQMainWindowJBridge*) QtSupport::getQt(env, obj))->public_customize(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QMainWindow_finalize(env, obj); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMainWindow_dockWindowsMovable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQMainWindow*) QtSupport::getQt(env, obj))->dockWindowsMovable(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMainWindow_dockingArea(JNIEnv* env, jobject obj, jobject p) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMainWindow*) QtSupport::getQt(env, obj))->dockingArea((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)), "org.kde.qt.TQDockArea"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMainWindow_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) +{ + jboolean xret = (jboolean) ((TQMainWindow*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMainWindow_event(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQMainWindow*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQMainWindow*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMainWindow_getLocation(JNIEnv* env, jobject obj, jobject tb, jint dock, jintArray index, jboolean nl, jintArray extraOffset) +{ + int* _int_index = QtSupport::toIntPtr(env, index); + int* _int_extraOffset = QtSupport::toIntPtr(env, extraOffset); + jboolean xret = (jboolean) ((TQMainWindow*) QtSupport::getQt(env, obj))->getLocation((TQDockWindow*) QtSupport::getQt(env, tb), (TQt::Dock&) dock, (int&) *_int_index, (bool&) nl, (int&) *_int_extraOffset); + env->SetIntArrayRegion(index, 0, 1, (jint *) _int_index); + env->SetIntArrayRegion(extraOffset, 0, 1, (jint *) _int_extraOffset); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMainWindow_hasDockWindow(JNIEnv* env, jobject obj, jobject dw) +{ + jboolean xret = (jboolean) ((TQMainWindow*) QtSupport::getQt(env, obj))->hasDockWindow((TQDockWindow*) QtSupport::getQt(env, dw)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_hide(JNIEnv* env, jobject obj) +{ + ((TQMainWindow*) QtSupport::getQt(env, obj))->hide(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMainWindow_isCustomizable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQMainWindow*) QtSupport::getQt(env, obj))->isCustomizable(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMainWindow_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMainWindow_isDockEnabled__I(JNIEnv* env, jobject obj, jint dock) +{ + jboolean xret = (jboolean) ((TQMainWindow*) QtSupport::getQt(env, obj))->isDockEnabled((TQt::Dock) dock); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMainWindow_isDockEnabled__Lorg_kde_qt_QDockArea_2(JNIEnv* env, jobject obj, jobject area) +{ + jboolean xret = (jboolean) ((TQMainWindow*) QtSupport::getQt(env, obj))->isDockEnabled((TQDockArea*) QtSupport::getQt(env, area)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMainWindow_isDockEnabled__Lorg_kde_qt_QDockWindow_2I(JNIEnv* env, jobject obj, jobject tb, jint dock) +{ + jboolean xret = (jboolean) ((TQMainWindow*) QtSupport::getQt(env, obj))->isDockEnabled((TQDockWindow*) QtSupport::getQt(env, tb), (TQt::Dock) dock); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMainWindow_isDockEnabled__Lorg_kde_qt_QDockWindow_2Lorg_kde_qt_QDockArea_2(JNIEnv* env, jobject obj, jobject tb, jobject area) +{ + jboolean xret = (jboolean) ((TQMainWindow*) QtSupport::getQt(env, obj))->isDockEnabled((TQDockWindow*) QtSupport::getQt(env, tb), (TQDockArea*) QtSupport::getQt(env, area)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMainWindow_isDockMenuEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQMainWindow*) QtSupport::getQt(env, obj))->isDockMenuEnabled(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMainWindow_leftDock(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMainWindow*) QtSupport::getQt(env, obj))->leftDock(), "org.kde.qt.TQDockArea"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_lineUpDockWindows__(JNIEnv* env, jobject obj) +{ + ((TQMainWindow*) QtSupport::getQt(env, obj))->lineUpDockWindows(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_lineUpDockWindows__Z(JNIEnv* env, jobject obj, jboolean keepNewLines) +{ + ((TQMainWindow*) QtSupport::getQt(env, obj))->lineUpDockWindows((bool) keepNewLines); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_lineUpToolBars__(JNIEnv* env, jobject obj) +{ + ((TQMainWindow*) QtSupport::getQt(env, obj))->lineUpToolBars(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_lineUpToolBars__Z(JNIEnv* env, jobject obj, jboolean keepNewLines) +{ + ((TQMainWindow*) QtSupport::getQt(env, obj))->lineUpToolBars((bool) keepNewLines); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_menuAboutToShow(JNIEnv* env, jobject obj) +{ + ((TQMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_menuAboutToShow(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMainWindow_menuBar(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMainWindow*) QtSupport::getQt(env, obj))->menuBar(), "org.kde.qt.TQMenuBar"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMainWindow_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMainWindow*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMainWindow_minimumSizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQMainWindow*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_moveDockWindow__Lorg_kde_qt_QDockWindow_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQMainWindow*) QtSupport::getQt(env, obj))->moveDockWindow((TQDockWindow*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_moveDockWindow__Lorg_kde_qt_QDockWindow_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2) +{ + ((TQMainWindow*) QtSupport::getQt(env, obj))->moveDockWindow((TQDockWindow*) QtSupport::getQt(env, arg1), (TQt::Dock) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_moveDockWindow__Lorg_kde_qt_QDockWindow_2IZI(JNIEnv* env, jobject obj, jobject arg1, jint arg2, jboolean nl, jint index) +{ + ((TQMainWindow*) QtSupport::getQt(env, obj))->moveDockWindow((TQDockWindow*) QtSupport::getQt(env, arg1), (TQt::Dock) arg2, (bool) nl, (int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_moveDockWindow__Lorg_kde_qt_QDockWindow_2IZII(JNIEnv* env, jobject obj, jobject arg1, jint arg2, jboolean nl, jint index, jint extraOffset) +{ + ((TQMainWindow*) QtSupport::getQt(env, obj))->moveDockWindow((TQDockWindow*) QtSupport::getQt(env, arg1), (TQt::Dock) arg2, (bool) nl, (int) index, (int) extraOffset); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_moveToolBar__Lorg_kde_qt_QDockWindow_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQMainWindow*) QtSupport::getQt(env, obj))->moveToolBar((TQDockWindow*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_moveToolBar__Lorg_kde_qt_QDockWindow_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2) +{ + ((TQMainWindow*) QtSupport::getQt(env, obj))->moveToolBar((TQDockWindow*) QtSupport::getQt(env, arg1), (TQt::Dock) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_moveToolBar__Lorg_kde_qt_QDockWindow_2IZI(JNIEnv* env, jobject obj, jobject arg1, jint arg2, jboolean nl, jint index) +{ + ((TQMainWindow*) QtSupport::getQt(env, obj))->moveToolBar((TQDockWindow*) QtSupport::getQt(env, arg1), (TQt::Dock) arg2, (bool) nl, (int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_moveToolBar__Lorg_kde_qt_QDockWindow_2IZII(JNIEnv* env, jobject obj, jobject arg1, jint arg2, jboolean nl, jint index, jint extraOffset) +{ + ((TQMainWindow*) QtSupport::getQt(env, obj))->moveToolBar((TQDockWindow*) QtSupport::getQt(env, arg1), (TQt::Dock) arg2, (bool) nl, (int) index, (int) extraOffset); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_newTQMainWindow__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQMainWindowJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_newTQMainWindow__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQMainWindowJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_newTQMainWindow__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 TQMainWindowJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_newTQMainWindow__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 TQMainWindowJBridge((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 jboolean JNICALL +Java_org_kde_qt_QMainWindow_opaqueMoving(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQMainWindow*) QtSupport::getQt(env, obj))->opaqueMoving(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_paintEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_removeDockWindow(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQMainWindow*) QtSupport::getQt(env, obj))->removeDockWindow((TQDockWindow*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_removeToolBar(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQMainWindow*) QtSupport::getQt(env, obj))->removeToolBar((TQDockWindow*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMainWindow_rightDock(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMainWindow*) QtSupport::getQt(env, obj))->rightDock(), "org.kde.qt.TQDockArea"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMainWindow_rightJustification(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQMainWindow*) QtSupport::getQt(env, obj))->rightJustification(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_setAppropriate(JNIEnv* env, jobject obj, jobject dw, jboolean a) +{ + ((TQMainWindow*) QtSupport::getQt(env, obj))->setAppropriate((TQDockWindow*) QtSupport::getQt(env, dw), (bool) a); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_setCentralWidget(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQMainWindow*) QtSupport::getQt(env, obj))->setCentralWidget((TQWidget*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_setDockEnabled__IZ(JNIEnv* env, jobject obj, jint dock, jboolean enable) +{ + ((TQMainWindow*) QtSupport::getQt(env, obj))->setDockEnabled((TQt::Dock) dock, (bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_setDockEnabled__Lorg_kde_qt_QDockWindow_2IZ(JNIEnv* env, jobject obj, jobject tb, jint dock, jboolean enable) +{ + ((TQMainWindow*) QtSupport::getQt(env, obj))->setDockEnabled((TQDockWindow*) QtSupport::getQt(env, tb), (TQt::Dock) dock, (bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_setDockMenuEnabled(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQMainWindow*) QtSupport::getQt(env, obj))->setDockMenuEnabled((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_setDockWindowsMovable(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQMainWindow*) QtSupport::getQt(env, obj))->setDockWindowsMovable((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_setOpaqueMoving(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQMainWindow*) QtSupport::getQt(env, obj))->setOpaqueMoving((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_setRightJustification(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQMainWindow*) QtSupport::getQt(env, obj))->setRightJustification((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_setToolBarsMovable(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQMainWindow*) QtSupport::getQt(env, obj))->setToolBarsMovable((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_setUpLayout(JNIEnv* env, jobject obj) +{ + ((TQMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setUpLayout(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_setUsesBigPixmaps(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQMainWindow*) QtSupport::getQt(env, obj))->setUsesBigPixmaps((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_setUsesTextLabel(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQMainWindow*) QtSupport::getQt(env, obj))->setUsesTextLabel((bool) arg1); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMainWindow_showDockMenu(JNIEnv* env, jobject obj, jobject globalPos) +{ + jboolean xret = (jboolean) ((TQMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_showDockMenu((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, globalPos)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_show(JNIEnv* env, jobject obj) +{ + ((TQMainWindow*) QtSupport::getQt(env, obj))->show(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMainWindow_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQMainWindow*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMainWindow_statusBar(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMainWindow*) QtSupport::getQt(env, obj))->statusBar(), "org.kde.qt.TQStatusBar"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_styleChange(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMainWindow_toolBarsMovable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQMainWindow*) QtSupport::getQt(env, obj))->toolBarsMovable(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMainWindow_toolTipGroup(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMainWindow*) QtSupport::getQt(env, obj))->toolTipGroup(), "org.kde.qt.TQToolTipGroup"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMainWindow_topDock(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMainWindow*) QtSupport::getQt(env, obj))->topDock(), "org.kde.qt.TQDockArea"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QMainWindow_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQMainWindowJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QMainWindow_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQMainWindowJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMainWindow_usesBigPixmaps(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQMainWindow*) QtSupport::getQt(env, obj))->usesBigPixmaps(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMainWindow_usesTextLabel(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQMainWindow*) QtSupport::getQt(env, obj))->usesTextLabel(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMainWindow_whatsThis(JNIEnv* env, jobject obj) +{ + ((TQMainWindowJBridge*) QtSupport::getQt(env, obj))->public_whatsThis(); + return; +} + diff --git a/qtjava/javalib/qtjava/TQMainWindow.h b/qtjava/javalib/qtjava/TQMainWindow.h new file mode 100644 index 00000000..0cde5479 --- /dev/null +++ b/qtjava/javalib/qtjava/TQMainWindow.h @@ -0,0 +1,106 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QMainWindow__ +#define __org_kde_qt_QMainWindow__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMainWindow_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMainWindow_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_newTQMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_newTQMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_newTQMainWindow__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_newTQMainWindow__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMainWindow_menuBar (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMainWindow_statusBar (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMainWindow_toolTipGroup (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_setCentralWidget (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMainWindow_centralWidget (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_setDockEnabled__IZ (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_isDockEnabled__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_isDockEnabled__Lorg_kde_qt_QDockArea_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_setDockEnabled__Lorg_kde_qt_QDockWindow_2IZ (JNIEnv *env, jobject, jobject, jint, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_isDockEnabled__Lorg_kde_qt_QDockWindow_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_isDockEnabled__Lorg_kde_qt_QDockWindow_2Lorg_kde_qt_QDockArea_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_addDockWindow__Lorg_kde_qt_QDockWindow_2IZ (JNIEnv *env, jobject, jobject, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_addDockWindow__Lorg_kde_qt_QDockWindow_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_addDockWindow__Lorg_kde_qt_QDockWindow_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_addDockWindow__Lorg_kde_qt_QDockWindow_2Ljava_lang_String_2IZ (JNIEnv *env, jobject, jobject, jstring, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_addDockWindow__Lorg_kde_qt_QDockWindow_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_addDockWindow__Lorg_kde_qt_QDockWindow_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_moveDockWindow__Lorg_kde_qt_QDockWindow_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_moveDockWindow__Lorg_kde_qt_QDockWindow_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_moveDockWindow__Lorg_kde_qt_QDockWindow_2IZII (JNIEnv *env, jobject, jobject, jint, jboolean, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_moveDockWindow__Lorg_kde_qt_QDockWindow_2IZI (JNIEnv *env, jobject, jobject, jint, jboolean, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_removeDockWindow (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_show (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_hide (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMainWindow_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMainWindow_minimumSizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_rightJustification (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_usesBigPixmaps (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_usesTextLabel (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_dockWindowsMovable (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_opaqueMoving (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_eventFilter (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_getLocation (JNIEnv *env, jobject, jobject, jint, jintArray, jboolean, jintArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_lineUpDockWindows__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_lineUpDockWindows__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_isDockMenuEnabled (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_hasDockWindow (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_addToolBar__Lorg_kde_qt_QDockWindow_2IZ (JNIEnv *env, jobject, jobject, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_addToolBar__Lorg_kde_qt_QDockWindow_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_addToolBar__Lorg_kde_qt_QDockWindow_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_addToolBar__Lorg_kde_qt_QDockWindow_2Ljava_lang_String_2IZ (JNIEnv *env, jobject, jobject, jstring, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_addToolBar__Lorg_kde_qt_QDockWindow_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_addToolBar__Lorg_kde_qt_QDockWindow_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_moveToolBar__Lorg_kde_qt_QDockWindow_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_moveToolBar__Lorg_kde_qt_QDockWindow_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_moveToolBar__Lorg_kde_qt_QDockWindow_2IZII (JNIEnv *env, jobject, jobject, jint, jboolean, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_moveToolBar__Lorg_kde_qt_QDockWindow_2IZI (JNIEnv *env, jobject, jobject, jint, jboolean, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_removeToolBar (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_toolBarsMovable (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_lineUpToolBars__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_lineUpToolBars__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMainWindow_dockingArea (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMainWindow_leftDock (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMainWindow_rightDock (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMainWindow_topDock (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMainWindow_bottomDock (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_isCustomizable (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_appropriate (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMainWindow_createDockWindowMenu__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMainWindow_createDockWindowMenu__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_setRightJustification (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_setUsesBigPixmaps (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_setUsesTextLabel (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_setDockWindowsMovable (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_setOpaqueMoving (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_setDockMenuEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_whatsThis (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_setAppropriate (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_customize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_setToolBarsMovable (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMainWindow_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMainWindow_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_paintEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_childEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_event (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_styleChange (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_setUpLayout (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_showDockMenu (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_menuAboutToShow (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QMainWindow__ */ diff --git a/qtjava/javalib/qtjava/TQMenuBar.cpp b/qtjava/javalib/qtjava/TQMenuBar.cpp new file mode 100644 index 00000000..cc59a9ce --- /dev/null +++ b/qtjava/javalib/qtjava/TQMenuBar.cpp @@ -0,0 +1,1393 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include + +class TQMenuBarJBridge : public TQMenuBar +{ +public: + TQMenuBarJBridge(TQWidget* arg1,const char* arg2) : TQMenuBar(arg1,arg2) {}; + TQMenuBarJBridge(TQWidget* arg1) : TQMenuBar(arg1) {}; + TQMenuBarJBridge() : TQMenuBar() {}; + void protected_drawContents(TQPainter* arg1) { + TQMenuBar::drawContents(arg1); + return; + } + void protected_fontChange(const TQFont& arg1) { + TQMenuBar::fontChange(arg1); + return; + } + void protected_mousePressEvent(TQMouseEvent* arg1) { + TQMenuBar::mousePressEvent(arg1); + return; + } + void protected_mouseReleaseEvent(TQMouseEvent* arg1) { + TQMenuBar::mouseReleaseEvent(arg1); + return; + } + void protected_mouseMoveEvent(TQMouseEvent* arg1) { + TQMenuBar::mouseMoveEvent(arg1); + return; + } + void protected_keyPressEvent(TQKeyEvent* arg1) { + TQMenuBar::keyPressEvent(arg1); + return; + } + void protected_focusInEvent(TQFocusEvent* arg1) { + TQMenuBar::focusInEvent(arg1); + return; + } + void protected_focusOutEvent(TQFocusEvent* arg1) { + TQMenuBar::focusOutEvent(arg1); + return; + } + void protected_resizeEvent(TQResizeEvent* arg1) { + TQMenuBar::resizeEvent(arg1); + return; + } + void protected_leaveEvent(TQEvent* arg1) { + TQMenuBar::leaveEvent(arg1); + return; + } + void protected_menuContentsChanged() { + TQMenuBar::menuContentsChanged(); + return; + } + void protected_menuStateChanged() { + TQMenuBar::menuStateChanged(); + return; + } + void protected_styleChange(TQStyle& arg1) { + TQMenuBar::styleChange(arg1); + return; + } + int protected_itemAtPos(const TQPoint& arg1) { + return (int) TQMenuBar::itemAtPos(arg1); + } + void protected_hidePopups() { + TQMenuBar::hidePopups(); + return; + } + TQRect protected_itemRect(int arg1) { + return (TQRect) TQMenuBar::itemRect(arg1); + } + ~TQMenuBarJBridge() {QtSupport::qtKeyDeleted(this);} + void protected_menuInsPopup(TQPopupMenu* arg1) { + TQMenuData::menuInsPopup(arg1); + return; + } + void protected_menuDelPopup(TQPopupMenu* arg1) { + TQMenuData::menuDelPopup(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")) { + TQMenuBar::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.qt.TQMenuBar","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")) { + TQMenuBar::focusOutEvent(arg1); + } + return; + } + void setFocus() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMenuBar","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.qt.TQMenuBar","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.qt.TQMenuBar","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMenuBar","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")) { + 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")) { + 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")) { + 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.qt.TQMenuBar","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMenuBar","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.qt.TQMenuBar","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; + } + 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.qt.TQMenuBar","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMenuBar_accel(JNIEnv* env, jobject obj, jint id) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQKeySequence(((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->accel((int) id)), "org.kde.qt.TQKeySequence", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_activateItemAt(JNIEnv* env, jobject obj, jint index) +{ + ((TQMenuBar*) QtSupport::getQt(env, obj))->activateItemAt((int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_changeItem__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint id, jstring text) +{ +static TQString* _qstring_text = 0; + ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_changeItem__ILorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint id, jobject icon, jstring text) +{ +static TQString* _qstring_text = 0; + ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_changeItem__ILorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jint id, jobject icon, jobject pixmap) +{ + ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_changeItem__ILorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jint id, jobject pixmap) +{ + ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_changeItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id) +{ +static TQString* _qstring_text = 0; + ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->changeItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_changeItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id) +{ +static TQString* _qstring_text = 0; + ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->changeItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_changeItem__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint id) +{ + ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->changeItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QMenuBar_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQMenuBar*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_clear(JNIEnv* env, jobject obj) +{ + ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->clear(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_count(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->count(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMenuBar_customWhatsThis(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQMenuBar*) QtSupport::getQt(env, obj))->customWhatsThis(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QMenuBar_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_drawContents(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMenuBar_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) +{ + jboolean xret = (jboolean) ((TQMenuBar*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQMenuBar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQMenuBar*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMenuBar_findItem(JNIEnv* env, jobject obj, jint id) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->findItem((int) id), "org.kde.qt.TQMenuItem"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMenuBar_findPopup__Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->findPopup((TQPopupMenu*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQMenuItem"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMenuBar_findPopup__Lorg_kde_qt_QPopupMenu_2_3I(JNIEnv* env, jobject obj, jobject arg1, jintArray index) +{ + int* _int_index = QtSupport::toIntPtr(env, index); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->findPopup((TQPopupMenu*) QtSupport::getQt(env, arg1), (int*) _int_index), "org.kde.qt.TQMenuItem"); + env->SetIntArrayRegion(index, 0, 1, (jint *) _int_index); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_focusInEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_focusOutEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_fontChange(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_heightForWidth(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQMenuBar*) QtSupport::getQt(env, obj))->heightForWidth((int) arg1); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_hidePopups(JNIEnv* env, jobject obj) +{ + ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_hidePopups(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_hide(JNIEnv* env, jobject obj) +{ + ((TQMenuBar*) QtSupport::getQt(env, obj))->hide(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMenuBar_iconSet(JNIEnv* env, jobject obj, jint id) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->iconSet((int) id), "org.kde.qt.TQIconSet"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_idAt(JNIEnv* env, jobject obj, jint index) +{ + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->idAt((int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_indexOf(JNIEnv* env, jobject obj, jint id) +{ + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->indexOf((int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring text, jint id, jint index) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jstring text, jobject receiver, jstring member, jobject accel) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jstring text, jobject receiver, jstring member, jobject accel, jint id) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jstring text, jobject popup) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jstring text, jobject popup, jint id) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jstring text, jobject popup, jint id, jint index) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QCustomMenuItem_2(JNIEnv* env, jobject obj, jobject custom) +{ + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((TQCustomMenuItem*) QtSupport::getQt(env, custom)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QCustomMenuItem_2I(JNIEnv* env, jobject obj, jobject custom, jint id) +{ + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((TQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QCustomMenuItem_2II(JNIEnv* env, jobject obj, jobject custom, jint id, jint index) +{ + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((TQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject icon, jstring text) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id, jint index) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member, jobject accel) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member, jobject accel, jint id) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member, jobject accel, jint id, jint index) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject popup) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject popup, jint id) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject popup, jint id, jint index) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2(JNIEnv* env, jobject obj, jobject icon, jobject custom) +{ + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (TQCustomMenuItem*) QtSupport::getQt(env, custom)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2I(JNIEnv* env, jobject obj, jobject icon, jobject custom, jint id) +{ + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (TQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2II(JNIEnv* env, jobject obj, jobject icon, jobject custom, jint id, jint index) +{ + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (TQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject icon, jobject pixmap) +{ + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jint id) +{ + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2II(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jint id, jint index) +{ + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member, jobject accel) +{ + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id) +{ + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id, jint index) +{ + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject popup) +{ + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject popup, jint id) +{ + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject popup, jint id, jint index) +{ + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pixmap) +{ + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint id) +{ + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2II(JNIEnv* env, jobject obj, jobject pixmap, jint id, jint index) +{ + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject pixmap, jobject receiver, jstring member, jobject accel) +{ + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id) +{ + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv* env, jobject obj, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id, jint index) +{ + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject pixmap, jobject popup) +{ + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jobject pixmap, jobject popup, jint id) +{ + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jobject pixmap, jobject popup, jint id, jint index) +{ + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) +{ + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((TQWidget*) QtSupport::getQt(env, widget)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint id) +{ + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((TQWidget*) QtSupport::getQt(env, widget), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject widget, jint id, jint index) +{ + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertItem((TQWidget*) QtSupport::getQt(env, widget), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertSeparator__(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertSeparator(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertSeparator__I(JNIEnv* env, jobject obj, jint index) +{ + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->insertSeparator((int) index); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMenuBar_isDefaultUp(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQMenuBar*) QtSupport::getQt(env, obj))->isDefaultUp(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMenuBar_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMenuBar_isItemActive(JNIEnv* env, jobject obj, jint id) +{ + jboolean xret = (jboolean) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->isItemActive((int) id); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMenuBar_isItemChecked(JNIEnv* env, jobject obj, jint id) +{ + jboolean xret = (jboolean) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->isItemChecked((int) id); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMenuBar_isItemEnabled(JNIEnv* env, jobject obj, jint id) +{ + jboolean xret = (jboolean) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->isItemEnabled((int) id); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMenuBar_isItemVisible(JNIEnv* env, jobject obj, jint id) +{ + jboolean xret = (jboolean) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->isItemVisible((int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_itemAtPos(JNIEnv* env, jobject obj, jobject arg1) +{ + jint xret = (jint) ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_itemAtPos((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_itemParameter(JNIEnv* env, jobject obj, jint id) +{ + jint xret = (jint) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->itemParameter((int) id); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMenuBar_itemRect(JNIEnv* env, jobject obj, jint item) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_itemRect((int) item)), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_leaveEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_menuContentsChanged(JNIEnv* env, jobject obj) +{ + ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_menuContentsChanged(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_menuDelPopup(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_menuDelPopup((TQPopupMenu*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_menuInsPopup(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_menuInsPopup((TQPopupMenu*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_menuStateChanged(JNIEnv* env, jobject obj) +{ + ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_menuStateChanged(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMenuBar_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuBar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMenuBar_minimumSizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQMenuBar*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMenuBar_minimumSize(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQMenuBar*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_newTQMenuBar__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQMenuBarJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_newTQMenuBar__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQMenuBarJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_newTQMenuBar__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 TQMenuBarJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMenuBar_pixmap(JNIEnv* env, jobject obj, jint id) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->pixmap((int) id), "org.kde.qt.TQPixmap"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_removeItemAt(JNIEnv* env, jobject obj, jint index) +{ + ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->removeItemAt((int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_removeItem(JNIEnv* env, jobject obj, jint id) +{ + ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->removeItem((int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_separator(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMenuBar*) QtSupport::getQt(env, obj))->separator(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_setAccel(JNIEnv* env, jobject obj, jobject key, jint id) +{ + ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->setAccel((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, key), (int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_setDefaultUp(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQMenuBar*) QtSupport::getQt(env, obj))->setDefaultUp((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_setId(JNIEnv* env, jobject obj, jint index, jint id) +{ + ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->setId((int) index, (int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_setItemChecked(JNIEnv* env, jobject obj, jint id, jboolean check) +{ + ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->setItemChecked((int) id, (bool) check); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_setItemEnabled(JNIEnv* env, jobject obj, jint id, jboolean enable) +{ + ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->setItemEnabled((int) id, (bool) enable); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMenuBar_setItemParameter(JNIEnv* env, jobject obj, jint id, jint param) +{ + jboolean xret = (jboolean) ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->setItemParameter((int) id, (int) param); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_setItemVisible(JNIEnv* env, jobject obj, jint id, jboolean visible) +{ + ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->setItemVisible((int) id, (bool) visible); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_setSeparator(JNIEnv* env, jobject obj, jint when) +{ + ((TQMenuBar*) QtSupport::getQt(env, obj))->setSeparator((TQMenuBar::Separator) when); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_setWhatsThis(JNIEnv* env, jobject obj, jint id, jstring arg2) +{ +static TQString* _qstring_arg2 = 0; + ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->setWhatsThis((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_show(JNIEnv* env, jobject obj) +{ + ((TQMenuBar*) QtSupport::getQt(env, obj))->show(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMenuBar_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQMenuBar*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_styleChange(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QMenuBar_text(JNIEnv* env, jobject obj, jint id) +{ + TQString _qstring; + _qstring = ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->text((int) id); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QMenuBar_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQMenuBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QMenuBar_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQMenuBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuBar_updateItem(JNIEnv* env, jobject obj, jint id) +{ + ((TQMenuBar*) QtSupport::getQt(env, obj))->updateItem((int) id); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QMenuBar_whatsThis(JNIEnv* env, jobject obj, jint id) +{ + TQString _qstring; + _qstring = ((TQMenuData*)(TQMenuBar*) QtSupport::getQt(env, obj))->whatsThis((int) id); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv *env, jobject obj, jstring text, jobject receiver, jstring member, jobject accel, jint identifier, jint index) +{ + identifier = Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2II(env, obj, text, identifier, index); + + if ((bool) Java_org_kde_qt_QMenuBar_connectItem(env, obj, identifier, receiver, member)) { + Java_org_kde_qt_QMenuBar_setAccel(env, obj, accel, identifier); + } + + return identifier; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jstring text, jobject receiver, jstring member) +{ + jint identifier = Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2II(env, obj, text, -1, -1); + Java_org_kde_qt_QMenuBar_connectItem(env, obj, identifier, receiver, member); + + return identifier; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member) +{ +static TQString * _qstring_text = 0; + jint identifier = Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2II(env, obj, icon, text, -1, -1); + Java_org_kde_qt_QMenuBar_connectItem(env, obj, identifier, receiver, member); + + return identifier; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject pixmap, jobject receiver, jstring member) +{ + jint identifier = Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2II(env, obj, pixmap, -1, -1); + Java_org_kde_qt_QMenuBar_connectItem(env, obj, identifier, receiver, member); + + return identifier; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member) +{ + jint identifier = Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2II(env, obj, icon, pixmap, -1, -1); + Java_org_kde_qt_QMenuBar_connectItem(env, obj, identifier, receiver, member); + + return identifier; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMenuBar_connectItem(JNIEnv *env, jobject obj, jint identifier, jobject receiver, jstring member) +{ + JavaSlot * javaSlot = QtSupport::slotForReceiver(env, receiver, member); + + if ( ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->connectItem( identifier, + javaSlot, + javaSlot->javaToQtSlotName(env, member) ) ) + { + return(jboolean) JNI_TRUE; + } else { + return (jboolean) JNI_FALSE; + } +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMenuBar_disconnectItem(JNIEnv *env, jobject obj, jint identifier, jobject receiver, jstring member) +{ + JavaSlot * javaSlot = QtSupport::slotForReceiver(env, receiver, member); + + if ( ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->disconnectItem( identifier, + javaSlot, + javaSlot->javaToQtSlotName(env, member) ) ) + { + return(jboolean) JNI_TRUE; + } else { + return (jboolean) JNI_FALSE; + } +} + + diff --git a/qtjava/javalib/qtjava/TQMenuBar.h b/qtjava/javalib/qtjava/TQMenuBar.h new file mode 100644 index 00000000..41cb59c7 --- /dev/null +++ b/qtjava/javalib/qtjava/TQMenuBar.h @@ -0,0 +1,146 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QMenuBar__ +#define __org_kde_qt_QMenuBar__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuBar_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMenuBar_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_newTQMenuBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_newTQMenuBar__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_newTQMenuBar__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_updateItem (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_show (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_hide (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuBar_eventFilter (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_heightForWidth (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_separator (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_setSeparator (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_setDefaultUp (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuBar_isDefaultUp (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuBar_customWhatsThis (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuBar_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuBar_minimumSize (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuBar_minimumSizeHint (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_activateItemAt (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMenuBar_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMenuBar_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_drawContents (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_fontChange (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_mousePressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_mouseReleaseEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_mouseMoveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_keyPressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_focusInEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_focusOutEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_leaveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_menuContentsChanged (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_menuStateChanged (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_styleChange (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_itemAtPos (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_hidePopups (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuBar_itemRect (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuBar_isDisposed (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_count (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II (JNIEnv *env, jobject, jstring, jobject, jstring, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I (JNIEnv *env, jobject, jstring, jobject, jstring, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jstring, jobject, jstring, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II (JNIEnv *env, jobject, jobject, jobject, jstring, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I (JNIEnv *env, jobject, jobject, jobject, jstring, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II (JNIEnv *env, jobject, jobject, jobject, jobject, jstring, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I (JNIEnv *env, jobject, jobject, jobject, jobject, jstring, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject, jobject, jobject, jstring, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2II (JNIEnv *env, jobject, jobject, jstring, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2II (JNIEnv *env, jobject, jstring, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2I (JNIEnv *env, jobject, jstring, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2II (JNIEnv *env, jobject, jobject, jstring, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2I (JNIEnv *env, jobject, jobject, jstring, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jobject, jstring, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2II (JNIEnv *env, jobject, jobject, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2II (JNIEnv *env, jobject, jobject, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2I (JNIEnv *env, jobject, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2II (JNIEnv *env, jobject, jobject, jobject, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2I (JNIEnv *env, jobject, jobject, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jobject, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QWidget_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2II (JNIEnv *env, jobject, jobject, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2I (JNIEnv *env, jobject, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QCustomMenuItem_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QCustomMenuItem_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QCustomMenuItem_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertSeparator__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_insertSeparator__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_removeItem (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_removeItemAt (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_clear (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuBar_accel (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_setAccel (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuBar_iconSet (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMenuBar_text (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuBar_pixmap (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_setWhatsThis (JNIEnv *env, jobject, jint, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMenuBar_whatsThis (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_changeItem__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_changeItem__ILorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_changeItem__ILorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_changeItem__ILorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jint, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_changeItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_changeItem__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_changeItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuBar_isItemActive (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuBar_isItemEnabled (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_setItemEnabled (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuBar_isItemChecked (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_setItemChecked (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuBar_isItemVisible (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_setItemVisible (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_indexOf (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_idAt (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_setId (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuBar_connectItem (JNIEnv *env, jobject, jint, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuBar_disconnectItem (JNIEnv *env, jobject, jint, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuBar_setItemParameter (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuBar_itemParameter (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuBar_findItem (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuBar_findPopup__Lorg_kde_qt_QPopupMenu_2_3I (JNIEnv *env, jobject, jobject, jintArray); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuBar_findPopup__Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_menuInsPopup (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_menuDelPopup (JNIEnv *env, jobject, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QMenuBar__ */ diff --git a/qtjava/javalib/qtjava/TQMenuData.cpp b/qtjava/javalib/qtjava/TQMenuData.cpp new file mode 100644 index 00000000..fac770cf --- /dev/null +++ b/qtjava/javalib/qtjava/TQMenuData.cpp @@ -0,0 +1,767 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include + +#include +#include +#include + +class TQMenuDataJBridge : public TQMenuData +{ +public: + TQMenuDataJBridge() : TQMenuData() {}; + void protected_menuContentsChanged() { + TQMenuData::menuContentsChanged(); + return; + } + void protected_menuStateChanged() { + TQMenuData::menuStateChanged(); + return; + } + void protected_menuInsPopup(TQPopupMenu* arg1) { + TQMenuData::menuInsPopup(arg1); + return; + } + void protected_menuDelPopup(TQPopupMenu* arg1) { + TQMenuData::menuDelPopup(arg1); + return; + } + ~TQMenuDataJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMenuData_accel(JNIEnv* env, jobject obj, jint id) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQKeySequence(((TQMenuData*) QtSupport::getQt(env, obj))->accel((int) id)), "org.kde.qt.TQKeySequence", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuData_activateItemAt(JNIEnv* env, jobject obj, jint index) +{ + ((TQMenuData*) QtSupport::getQt(env, obj))->activateItemAt((int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuData_changeItem__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint id, jstring text) +{ +static TQString* _qstring_text = 0; + ((TQMenuData*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuData_changeItem__ILorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint id, jobject icon, jstring text) +{ +static TQString* _qstring_text = 0; + ((TQMenuData*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuData_changeItem__ILorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jint id, jobject icon, jobject pixmap) +{ + ((TQMenuData*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuData_changeItem__ILorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jint id, jobject pixmap) +{ + ((TQMenuData*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuData_changeItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id) +{ +static TQString* _qstring_text = 0; + ((TQMenuData*) QtSupport::getQt(env, obj))->changeItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuData_changeItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id) +{ +static TQString* _qstring_text = 0; + ((TQMenuData*) QtSupport::getQt(env, obj))->changeItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuData_changeItem__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint id) +{ + ((TQMenuData*) QtSupport::getQt(env, obj))->changeItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuData_clear(JNIEnv* env, jobject obj) +{ + ((TQMenuData*) QtSupport::getQt(env, obj))->clear(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_count(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->count(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuData_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QMenuData_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuData_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQMenuData*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMenuData_findItem(JNIEnv* env, jobject obj, jint id) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*) QtSupport::getQt(env, obj))->findItem((int) id), "org.kde.qt.TQMenuItem"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMenuData_findPopup__Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*) QtSupport::getQt(env, obj))->findPopup((TQPopupMenu*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQMenuItem"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMenuData_findPopup__Lorg_kde_qt_QPopupMenu_2_3I(JNIEnv* env, jobject obj, jobject arg1, jintArray index) +{ + int* _int_index = QtSupport::toIntPtr(env, index); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*) QtSupport::getQt(env, obj))->findPopup((TQPopupMenu*) QtSupport::getQt(env, arg1), (int*) _int_index), "org.kde.qt.TQMenuItem"); + env->SetIntArrayRegion(index, 0, 1, (jint *) _int_index); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMenuData_iconSet(JNIEnv* env, jobject obj, jint id) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*) QtSupport::getQt(env, obj))->iconSet((int) id), "org.kde.qt.TQIconSet"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_idAt(JNIEnv* env, jobject obj, jint index) +{ + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->idAt((int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_indexOf(JNIEnv* env, jobject obj, jint id) +{ + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->indexOf((int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring text, jint id, jint index) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jstring text, jobject receiver, jstring member, jobject accel) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jstring text, jobject receiver, jstring member, jobject accel, jint id) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jstring text, jobject popup) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jstring text, jobject popup, jint id) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jstring text, jobject popup, jint id, jint index) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QCustomMenuItem_2(JNIEnv* env, jobject obj, jobject custom) +{ + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((TQCustomMenuItem*) QtSupport::getQt(env, custom)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QCustomMenuItem_2I(JNIEnv* env, jobject obj, jobject custom, jint id) +{ + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((TQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QCustomMenuItem_2II(JNIEnv* env, jobject obj, jobject custom, jint id, jint index) +{ + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((TQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject icon, jstring text) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id, jint index) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member, jobject accel) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member, jobject accel, jint id) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member, jobject accel, jint id, jint index) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject popup) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject popup, jint id) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject popup, jint id, jint index) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2(JNIEnv* env, jobject obj, jobject icon, jobject custom) +{ + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (TQCustomMenuItem*) QtSupport::getQt(env, custom)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2I(JNIEnv* env, jobject obj, jobject icon, jobject custom, jint id) +{ + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (TQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2II(JNIEnv* env, jobject obj, jobject icon, jobject custom, jint id, jint index) +{ + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (TQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject icon, jobject pixmap) +{ + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jint id) +{ + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2II(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jint id, jint index) +{ + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member, jobject accel) +{ + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id) +{ + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id, jint index) +{ + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject popup) +{ + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject popup, jint id) +{ + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject popup, jint id, jint index) +{ + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pixmap) +{ + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint id) +{ + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2II(JNIEnv* env, jobject obj, jobject pixmap, jint id, jint index) +{ + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject pixmap, jobject receiver, jstring member, jobject accel) +{ + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id) +{ + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv* env, jobject obj, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id, jint index) +{ + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject pixmap, jobject popup) +{ + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jobject pixmap, jobject popup, jint id) +{ + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jobject pixmap, jobject popup, jint id, jint index) +{ + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) +{ + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((TQWidget*) QtSupport::getQt(env, widget)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint id) +{ + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((TQWidget*) QtSupport::getQt(env, widget), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject widget, jint id, jint index) +{ + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((TQWidget*) QtSupport::getQt(env, widget), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertSeparator__(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertSeparator(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertSeparator__I(JNIEnv* env, jobject obj, jint index) +{ + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertSeparator((int) index); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMenuData_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMenuData_isItemActive(JNIEnv* env, jobject obj, jint id) +{ + jboolean xret = (jboolean) ((TQMenuData*) QtSupport::getQt(env, obj))->isItemActive((int) id); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMenuData_isItemChecked(JNIEnv* env, jobject obj, jint id) +{ + jboolean xret = (jboolean) ((TQMenuData*) QtSupport::getQt(env, obj))->isItemChecked((int) id); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMenuData_isItemEnabled(JNIEnv* env, jobject obj, jint id) +{ + jboolean xret = (jboolean) ((TQMenuData*) QtSupport::getQt(env, obj))->isItemEnabled((int) id); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMenuData_isItemVisible(JNIEnv* env, jobject obj, jint id) +{ + jboolean xret = (jboolean) ((TQMenuData*) QtSupport::getQt(env, obj))->isItemVisible((int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_itemParameter(JNIEnv* env, jobject obj, jint id) +{ + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->itemParameter((int) id); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuData_menuContentsChanged(JNIEnv* env, jobject obj) +{ + ((TQMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuContentsChanged(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuData_menuDelPopup(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuDelPopup((TQPopupMenu*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuData_menuInsPopup(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuInsPopup((TQPopupMenu*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuData_menuStateChanged(JNIEnv* env, jobject obj) +{ + ((TQMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuStateChanged(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuData_newTQMenuData(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQMenuDataJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMenuData_pixmap(JNIEnv* env, jobject obj, jint id) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*) QtSupport::getQt(env, obj))->pixmap((int) id), "org.kde.qt.TQPixmap"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuData_removeItemAt(JNIEnv* env, jobject obj, jint index) +{ + ((TQMenuData*) QtSupport::getQt(env, obj))->removeItemAt((int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuData_removeItem(JNIEnv* env, jobject obj, jint id) +{ + ((TQMenuData*) QtSupport::getQt(env, obj))->removeItem((int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuData_setAccel(JNIEnv* env, jobject obj, jobject key, jint id) +{ + ((TQMenuData*) QtSupport::getQt(env, obj))->setAccel((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, key), (int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuData_setId(JNIEnv* env, jobject obj, jint index, jint id) +{ + ((TQMenuData*) QtSupport::getQt(env, obj))->setId((int) index, (int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuData_setItemChecked(JNIEnv* env, jobject obj, jint id, jboolean check) +{ + ((TQMenuData*) QtSupport::getQt(env, obj))->setItemChecked((int) id, (bool) check); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuData_setItemEnabled(JNIEnv* env, jobject obj, jint id, jboolean enable) +{ + ((TQMenuData*) QtSupport::getQt(env, obj))->setItemEnabled((int) id, (bool) enable); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMenuData_setItemParameter(JNIEnv* env, jobject obj, jint id, jint param) +{ + jboolean xret = (jboolean) ((TQMenuData*) QtSupport::getQt(env, obj))->setItemParameter((int) id, (int) param); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuData_setItemVisible(JNIEnv* env, jobject obj, jint id, jboolean visible) +{ + ((TQMenuData*) QtSupport::getQt(env, obj))->setItemVisible((int) id, (bool) visible); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuData_setWhatsThis(JNIEnv* env, jobject obj, jint id, jstring arg2) +{ +static TQString* _qstring_arg2 = 0; + ((TQMenuData*) QtSupport::getQt(env, obj))->setWhatsThis((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QMenuData_text(JNIEnv* env, jobject obj, jint id) +{ + TQString _qstring; + _qstring = ((TQMenuData*) QtSupport::getQt(env, obj))->text((int) id); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuData_updateItem(JNIEnv* env, jobject obj, jint id) +{ + ((TQMenuData*) QtSupport::getQt(env, obj))->updateItem((int) id); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QMenuData_whatsThis(JNIEnv* env, jobject obj, jint id) +{ + TQString _qstring; + _qstring = ((TQMenuData*) QtSupport::getQt(env, obj))->whatsThis((int) id); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv *env, jobject obj, jstring text, jobject receiver, jstring member, jobject accel, jint identifier, jint index) +{ + identifier = Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2II(env, obj, text, identifier, index); + + if ((bool) Java_org_kde_qt_QMenuData_connectItem(env, obj, identifier, receiver, member)) { + Java_org_kde_qt_QMenuData_setAccel(env, obj, accel, identifier); + } + + return identifier; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jstring text, jobject receiver, jstring member) +{ + jint identifier = Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2II(env, obj, text, -1, -1); + Java_org_kde_qt_QMenuData_connectItem(env, obj, identifier, receiver, member); + + return identifier; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member) +{ +static TQString * _qstring_text = 0; + jint identifier = Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2II(env, obj, icon, text, -1, -1); + Java_org_kde_qt_QMenuData_connectItem(env, obj, identifier, receiver, member); + + return identifier; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject pixmap, jobject receiver, jstring member) +{ + jint identifier = Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2II(env, obj, pixmap, -1, -1); + Java_org_kde_qt_QMenuData_connectItem(env, obj, identifier, receiver, member); + + return identifier; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member) +{ + jint identifier = Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2II(env, obj, icon, pixmap, -1, -1); + Java_org_kde_qt_QMenuData_connectItem(env, obj, identifier, receiver, member); + + return identifier; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMenuData_connectItem(JNIEnv *env, jobject obj, jint identifier, jobject receiver, jstring member) +{ + JavaSlot * javaSlot = QtSupport::slotForReceiver(env, receiver, member); + + if ( ((TQMenuDataJBridge*) QtSupport::getQt(env, obj))->connectItem( identifier, + javaSlot, + javaSlot->javaToQtSlotName(env, member) ) ) + { + return(jboolean) JNI_TRUE; + } else { + return (jboolean) JNI_FALSE; + } +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMenuData_disconnectItem(JNIEnv *env, jobject obj, jint identifier, jobject receiver, jstring member) +{ + JavaSlot * javaSlot = QtSupport::slotForReceiver(env, receiver, member); + + if ( ((TQMenuDataJBridge*) QtSupport::getQt(env, obj))->disconnectItem( identifier, + javaSlot, + javaSlot->javaToQtSlotName(env, member) ) ) + { + return(jboolean) JNI_TRUE; + } else { + return (jboolean) JNI_FALSE; + } +} + diff --git a/qtjava/javalib/qtjava/TQMenuData.h b/qtjava/javalib/qtjava/TQMenuData.h new file mode 100644 index 00000000..7217ca9c --- /dev/null +++ b/qtjava/javalib/qtjava/TQMenuData.h @@ -0,0 +1,114 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QMenuData__ +#define __org_kde_qt_QMenuData__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_newTQMenuData (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_count (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II (JNIEnv *env, jobject, jstring, jobject, jstring, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I (JNIEnv *env, jobject, jstring, jobject, jstring, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jstring, jobject, jstring, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II (JNIEnv *env, jobject, jobject, jobject, jstring, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I (JNIEnv *env, jobject, jobject, jobject, jstring, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II (JNIEnv *env, jobject, jobject, jobject, jobject, jstring, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I (JNIEnv *env, jobject, jobject, jobject, jobject, jstring, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject, jobject, jobject, jstring, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2II (JNIEnv *env, jobject, jobject, jstring, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2II (JNIEnv *env, jobject, jstring, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2I (JNIEnv *env, jobject, jstring, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2II (JNIEnv *env, jobject, jobject, jstring, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2I (JNIEnv *env, jobject, jobject, jstring, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jobject, jstring, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2II (JNIEnv *env, jobject, jobject, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2II (JNIEnv *env, jobject, jobject, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2I (JNIEnv *env, jobject, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2II (JNIEnv *env, jobject, jobject, jobject, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2I (JNIEnv *env, jobject, jobject, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jobject, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QWidget_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2II (JNIEnv *env, jobject, jobject, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2I (JNIEnv *env, jobject, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QCustomMenuItem_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QCustomMenuItem_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QCustomMenuItem_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertSeparator__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_insertSeparator__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_removeItem (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_removeItemAt (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_clear (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuData_accel (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_setAccel (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuData_iconSet (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMenuData_text (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuData_pixmap (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_setWhatsThis (JNIEnv *env, jobject, jint, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMenuData_whatsThis (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_changeItem__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_changeItem__ILorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_changeItem__ILorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_changeItem__ILorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jint, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_changeItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_changeItem__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_changeItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuData_isItemActive (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuData_isItemEnabled (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_setItemEnabled (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuData_isItemChecked (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_setItemChecked (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuData_isItemVisible (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_setItemVisible (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_updateItem (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_indexOf (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_idAt (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_setId (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuData_connectItem (JNIEnv *env, jobject, jint, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuData_disconnectItem (JNIEnv *env, jobject, jint, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuData_setItemParameter (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_itemParameter (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuData_findItem (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuData_findPopup__Lorg_kde_qt_QPopupMenu_2_3I (JNIEnv *env, jobject, jobject, jintArray); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuData_findPopup__Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_activateItemAt (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_menuContentsChanged (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_menuStateChanged (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_menuInsPopup (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_menuDelPopup (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuData_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QMenuData__ */ diff --git a/qtjava/javalib/qtjava/TQMenuItem.cpp b/qtjava/javalib/qtjava/TQMenuItem.cpp new file mode 100644 index 00000000..056dc823 --- /dev/null +++ b/qtjava/javalib/qtjava/TQMenuItem.cpp @@ -0,0 +1,192 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQMenuItemJBridge : public TQMenuItem +{ +public: + TQMenuItemJBridge() : TQMenuItem() {}; + ~TQMenuItemJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMenuItem_custom(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuItem*) QtSupport::getQt(env, obj))->custom(), "org.kde.qt.TQCustomMenuItem"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuItem_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QMenuItem_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuItem_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQMenuItem*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMenuItem_iconSet(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuItem*) QtSupport::getQt(env, obj))->iconSet(), "org.kde.qt.TQIconSet"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMenuItem_id(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMenuItem*) QtSupport::getQt(env, obj))->id(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMenuItem_isChecked(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQMenuItem*) QtSupport::getQt(env, obj))->isChecked(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMenuItem_isDirty(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQMenuItem*) QtSupport::getQt(env, obj))->isDirty(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMenuItem_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMenuItem_isEnabledAndVisible(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQMenuItem*) QtSupport::getQt(env, obj))->isEnabledAndVisible(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMenuItem_isEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQMenuItem*) QtSupport::getQt(env, obj))->isEnabled(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMenuItem_isSeparator(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQMenuItem*) QtSupport::getQt(env, obj))->isSeparator(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMenuItem_isVisible(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQMenuItem*) QtSupport::getQt(env, obj))->isVisible(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMenuItem_key(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQKeySequence(((TQMenuItem*) QtSupport::getQt(env, obj))->key()), "org.kde.qt.TQKeySequence", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuItem_newTQMenuItem(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQMenuItemJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMenuItem_pixmap(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuItem*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TQPixmap"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMenuItem_popup(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuItem*) QtSupport::getQt(env, obj))->popup(), "org.kde.qt.TQPopupMenu"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuItem_setDirty(JNIEnv* env, jobject obj, jboolean dirty) +{ + ((TQMenuItem*) QtSupport::getQt(env, obj))->setDirty((bool) dirty); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuItem_setText(JNIEnv* env, jobject obj, jstring text) +{ +static TQString* _qstring_text = 0; + ((TQMenuItem*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuItem_setVisible(JNIEnv* env, jobject obj, jboolean visible) +{ + ((TQMenuItem*) QtSupport::getQt(env, obj))->setVisible((bool) visible); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMenuItem_setWhatsThis(JNIEnv* env, jobject obj, jstring text) +{ +static TQString* _qstring_text = 0; + ((TQMenuItem*) QtSupport::getQt(env, obj))->setWhatsThis((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMenuItem_signal(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuItem*) QtSupport::getQt(env, obj))->signal(), "org.kde.qt.TQSignal"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QMenuItem_text(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQMenuItem*) QtSupport::getQt(env, obj))->text(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QMenuItem_whatsThis(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQMenuItem*) QtSupport::getQt(env, obj))->whatsThis(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMenuItem_widget(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuItem*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget"); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQMenuItem.h b/qtjava/javalib/qtjava/TQMenuItem.h new file mode 100644 index 00000000..29417086 --- /dev/null +++ b/qtjava/javalib/qtjava/TQMenuItem.h @@ -0,0 +1,42 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QMenuItem__ +#define __org_kde_qt_QMenuItem__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuItem_newTQMenuItem (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuItem_id (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuItem_iconSet (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMenuItem_text (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMenuItem_whatsThis (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuItem_pixmap (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuItem_popup (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuItem_widget (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuItem_custom (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuItem_key (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuItem_signal (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuItem_isSeparator (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuItem_isEnabled (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuItem_isChecked (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuItem_isDirty (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuItem_isVisible (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuItem_isEnabledAndVisible (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuItem_setText (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuItem_setDirty (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuItem_setVisible (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuItem_setWhatsThis (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuItem_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuItem_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuItem_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QMenuItem__ */ diff --git a/qtjava/javalib/qtjava/TQMessageBox.cpp b/qtjava/javalib/qtjava/TQMessageBox.cpp new file mode 100644 index 00000000..f1f4493a --- /dev/null +++ b/qtjava/javalib/qtjava/TQMessageBox.cpp @@ -0,0 +1,1174 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include + +#include +#include + +class TQMessageBoxJBridge : public TQMessageBox +{ +public: + TQMessageBoxJBridge(TQWidget* arg1,const char* arg2) : TQMessageBox(arg1,arg2) {}; + TQMessageBoxJBridge(TQWidget* arg1) : TQMessageBox(arg1) {}; + TQMessageBoxJBridge() : TQMessageBox() {}; + TQMessageBoxJBridge(const TQString& arg1,const TQString& arg2,TQMessageBox::Icon arg3,int arg4,int arg5,int arg6,TQWidget* arg7,const char* arg8,bool arg9,TQt::WFlags arg10) : TQMessageBox(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {}; + TQMessageBoxJBridge(const TQString& arg1,const TQString& arg2,TQMessageBox::Icon arg3,int arg4,int arg5,int arg6,TQWidget* arg7,const char* arg8,bool arg9) : TQMessageBox(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; + TQMessageBoxJBridge(const TQString& arg1,const TQString& arg2,TQMessageBox::Icon arg3,int arg4,int arg5,int arg6,TQWidget* arg7,const char* arg8) : TQMessageBox(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; + TQMessageBoxJBridge(const TQString& arg1,const TQString& arg2,TQMessageBox::Icon arg3,int arg4,int arg5,int arg6,TQWidget* arg7) : TQMessageBox(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TQMessageBoxJBridge(const TQString& arg1,const TQString& arg2,TQMessageBox::Icon arg3,int arg4,int arg5,int arg6) : TQMessageBox(arg1,arg2,arg3,arg4,arg5,arg6) {}; + void protected_resizeEvent(TQResizeEvent* arg1) { + TQMessageBox::resizeEvent(arg1); + return; + } + void protected_showEvent(TQShowEvent* arg1) { + TQMessageBox::showEvent(arg1); + return; + } + void protected_closeEvent(TQCloseEvent* arg1) { + TQMessageBox::closeEvent(arg1); + return; + } + void protected_keyPressEvent(TQKeyEvent* arg1) { + TQMessageBox::keyPressEvent(arg1); + return; + } + void protected_styleChanged(TQStyle& arg1) { + TQMessageBox::styleChanged(arg1); + return; + } + ~TQMessageBoxJBridge() {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")) { + TQMessageBox::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.qt.TQMessageBox","accept")) { + TQDialog::accept(); + } + return; + } + void setActiveWindow() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMessageBox","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.qt.TQMessageBox","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.qt.TQMessageBox","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.qt.TQMessageBox","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMessageBox","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")) { + TQMessageBox::showEvent(arg1); + } + return; + } + void keyPressEvent(TQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { + TQMessageBox::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")) { + TQMessageBox::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.qt.TQMessageBox","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMessageBox","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 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.qt.TQMessageBox","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.qt.TQMessageBox","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMessageBox_aboutTQt__Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject parent) +{ + (void) cls; + TQMessageBoxJBridge::aboutTQt((TQWidget*) QtSupport::getQt(env, parent)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMessageBox_aboutTQt__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring caption) +{ + (void) cls; +static TQString* _qstring_caption = 0; + TQMessageBoxJBridge::aboutTQt((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMessageBox_about(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; + TQMessageBoxJBridge::about((TQWidget*) QtSupport::getQt(env, parent), (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_qt_QMessageBox_adjustSize(JNIEnv* env, jobject obj) +{ + ((TQMessageBox*) QtSupport::getQt(env, obj))->adjustSize(); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QMessageBox_buttonText(JNIEnv* env, jobject obj, jint button) +{ + TQString _qstring; + _qstring = ((TQMessageBox*) QtSupport::getQt(env, obj))->buttonText((int) button); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QMessageBox_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQMessageBox*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMessageBox_closeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQMessageBoxJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TQCloseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_critical__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; + jint xret = (jint) TQMessageBoxJBridge::critical((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_critical__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jint button0, jint button1) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; + jint xret = (jint) TQMessageBoxJBridge::critical((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) button0, (int) button1); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_critical__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2III(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jint button0, jint button1, jint button2) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; + jint xret = (jint) TQMessageBoxJBridge::critical((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) button0, (int) button1, (int) button2); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_critical__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; +static TQString* _qstring_button0Text = 0; + jint xret = (jint) TQMessageBoxJBridge::critical((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_critical__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text, jstring button1Text) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; +static TQString* _qstring_button0Text = 0; +static TQString* _qstring_button1Text = 0; + jint xret = (jint) TQMessageBoxJBridge::critical((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_critical__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text, jstring button1Text, jstring button2Text) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; +static TQString* _qstring_button0Text = 0; +static TQString* _qstring_button1Text = 0; +static TQString* _qstring_button2Text = 0; + jint xret = (jint) TQMessageBoxJBridge::critical((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button2Text, &_qstring_button2Text)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_critical__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text, jstring button1Text, jstring button2Text, jint defaultButtonNumber) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; +static TQString* _qstring_button0Text = 0; +static TQString* _qstring_button1Text = 0; +static TQString* _qstring_button2Text = 0; + jint xret = (jint) TQMessageBoxJBridge::critical((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button2Text, &_qstring_button2Text), (int) defaultButtonNumber); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_critical__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text, jstring button1Text, jstring button2Text, jint defaultButtonNumber, jint escapeButtonNumber) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; +static TQString* _qstring_button0Text = 0; +static TQString* _qstring_button1Text = 0; +static TQString* _qstring_button2Text = 0; + jint xret = (jint) TQMessageBoxJBridge::critical((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button2Text, &_qstring_button2Text), (int) defaultButtonNumber, (int) escapeButtonNumber); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMessageBox_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QMessageBox_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMessageBox_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQMessageBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQMessageBox*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_iconId(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMessageBox*) QtSupport::getQt(env, obj))->icon(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMessageBox_iconPixmap(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMessageBox*) QtSupport::getQt(env, obj))->iconPixmap(), "org.kde.qt.TQPixmap"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; + jint xret = (jint) TQMessageBoxJBridge::information((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jint button0) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; + jint xret = (jint) TQMessageBoxJBridge::information((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) button0); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jint button0, jint button1) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; + jint xret = (jint) TQMessageBoxJBridge::information((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) button0, (int) button1); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2III(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jint button0, jint button1, jint button2) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; + jint xret = (jint) TQMessageBoxJBridge::information((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) button0, (int) button1, (int) button2); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; +static TQString* _qstring_button0Text = 0; + jint xret = (jint) TQMessageBoxJBridge::information((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text, jstring button1Text) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; +static TQString* _qstring_button0Text = 0; +static TQString* _qstring_button1Text = 0; + jint xret = (jint) TQMessageBoxJBridge::information((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text, jstring button1Text, jstring button2Text) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; +static TQString* _qstring_button0Text = 0; +static TQString* _qstring_button1Text = 0; +static TQString* _qstring_button2Text = 0; + jint xret = (jint) TQMessageBoxJBridge::information((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button2Text, &_qstring_button2Text)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text, jstring button1Text, jstring button2Text, jint defaultButtonNumber) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; +static TQString* _qstring_button0Text = 0; +static TQString* _qstring_button1Text = 0; +static TQString* _qstring_button2Text = 0; + jint xret = (jint) TQMessageBoxJBridge::information((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button2Text, &_qstring_button2Text), (int) defaultButtonNumber); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text, jstring button1Text, jstring button2Text, jint defaultButtonNumber, jint escapeButtonNumber) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; +static TQString* _qstring_button0Text = 0; +static TQString* _qstring_button1Text = 0; +static TQString* _qstring_button2Text = 0; + jint xret = (jint) TQMessageBoxJBridge::information((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button2Text, &_qstring_button2Text), (int) defaultButtonNumber, (int) escapeButtonNumber); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMessageBox_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMessageBox_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQMessageBoxJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_message__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring text) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; + jint xret = (jint) TQMessageBoxJBridge::message((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_message__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring text, jstring buttonText) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; +static TQString* _qstring_buttonText = 0; + jint xret = (jint) TQMessageBoxJBridge::message((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, buttonText, &_qstring_buttonText)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_message__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring caption, jstring text, jstring buttonText, jobject parent) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; +static TQString* _qstring_buttonText = 0; + jint xret = (jint) TQMessageBoxJBridge::message((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, buttonText, &_qstring_buttonText), (TQWidget*) QtSupport::getQt(env, parent)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_message__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring text, jstring buttonText, jobject parent, jstring arg5) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; +static TQString* _qstring_buttonText = 0; +static TQCString* _qstring_arg5 = 0; + jint xret = (jint) TQMessageBoxJBridge::message((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, buttonText, &_qstring_buttonText), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, arg5, &_qstring_arg5)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMessageBox_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMessageBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMessageBox_newTQMessageBox__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQMessageBoxJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMessageBox_newTQMessageBox__Ljava_lang_String_2Ljava_lang_String_2IIII(JNIEnv* env, jobject obj, jstring caption, jstring text, jint icon, jint button0, jint button1, jint button2) +{ +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQMessageBoxJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQMessageBox::Icon) icon, (int) button0, (int) button1, (int) button2)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMessageBox_newTQMessageBox__Ljava_lang_String_2Ljava_lang_String_2IIIILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring caption, jstring text, jint icon, jint button0, jint button1, jint button2, jobject parent) +{ +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQMessageBoxJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQMessageBox::Icon) icon, (int) button0, (int) button1, (int) button2, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMessageBox_newTQMessageBox__Ljava_lang_String_2Ljava_lang_String_2IIIILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring caption, jstring text, jint icon, jint button0, jint button1, jint button2, jobject parent, jstring name) +{ +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQMessageBoxJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQMessageBox::Icon) icon, (int) button0, (int) button1, (int) button2, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMessageBox_newTQMessageBox__Ljava_lang_String_2Ljava_lang_String_2IIIILorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring caption, jstring text, jint icon, jint button0, jint button1, jint button2, jobject parent, jstring name, jboolean modal) +{ +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQMessageBoxJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQMessageBox::Icon) icon, (int) button0, (int) button1, (int) button2, (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_qt_QMessageBox_newTQMessageBox__Ljava_lang_String_2Ljava_lang_String_2IIIILorg_kde_qt_QWidget_2Ljava_lang_String_2ZI(JNIEnv* env, jobject obj, jstring caption, jstring text, jint icon, jint button0, jint button1, jint button2, jobject parent, jstring name, jboolean modal, jint f) +{ +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQMessageBoxJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQMessageBox::Icon) icon, (int) button0, (int) button1, (int) button2, (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_qt_QMessageBox_newTQMessageBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQMessageBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMessageBox_newTQMessageBox__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 TQMessageBoxJBridge((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_qt_QMessageBox_query__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring text) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; + jboolean xret = (jboolean) TQMessageBoxJBridge::query((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMessageBox_query__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring text, jstring yesButtonText) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; +static TQString* _qstring_yesButtonText = 0; + jboolean xret = (jboolean) TQMessageBoxJBridge::query((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, yesButtonText, &_qstring_yesButtonText)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMessageBox_query__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring text, jstring yesButtonText, jstring noButtonText) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; +static TQString* _qstring_yesButtonText = 0; +static TQString* _qstring_noButtonText = 0; + jboolean xret = (jboolean) TQMessageBoxJBridge::query((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, yesButtonText, &_qstring_yesButtonText), (const TQString&)*(TQString*) QtSupport::toTQString(env, noButtonText, &_qstring_noButtonText)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMessageBox_query__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring caption, jstring text, jstring yesButtonText, jstring noButtonText, jobject parent) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; +static TQString* _qstring_yesButtonText = 0; +static TQString* _qstring_noButtonText = 0; + jboolean xret = (jboolean) TQMessageBoxJBridge::query((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, yesButtonText, &_qstring_yesButtonText), (const TQString&)*(TQString*) QtSupport::toTQString(env, noButtonText, &_qstring_noButtonText), (TQWidget*) QtSupport::getQt(env, parent)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMessageBox_query__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring text, jstring yesButtonText, jstring noButtonText, jobject parent, jstring arg6) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; +static TQString* _qstring_yesButtonText = 0; +static TQString* _qstring_noButtonText = 0; +static TQCString* _qstring_arg6 = 0; + jboolean xret = (jboolean) TQMessageBoxJBridge::query((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, yesButtonText, &_qstring_yesButtonText), (const TQString&)*(TQString*) QtSupport::toTQString(env, noButtonText, &_qstring_noButtonText), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, arg6, &_qstring_arg6)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_question__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; + jint xret = (jint) TQMessageBoxJBridge::question((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_question__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jint button0) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; + jint xret = (jint) TQMessageBoxJBridge::question((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) button0); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_question__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jint button0, jint button1) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; + jint xret = (jint) TQMessageBoxJBridge::question((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) button0, (int) button1); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_question__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2III(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jint button0, jint button1, jint button2) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; + jint xret = (jint) TQMessageBoxJBridge::question((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) button0, (int) button1, (int) button2); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_question__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; +static TQString* _qstring_button0Text = 0; + jint xret = (jint) TQMessageBoxJBridge::question((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_question__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text, jstring button1Text) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; +static TQString* _qstring_button0Text = 0; +static TQString* _qstring_button1Text = 0; + jint xret = (jint) TQMessageBoxJBridge::question((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_question__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text, jstring button1Text, jstring button2Text) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; +static TQString* _qstring_button0Text = 0; +static TQString* _qstring_button1Text = 0; +static TQString* _qstring_button2Text = 0; + jint xret = (jint) TQMessageBoxJBridge::question((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button2Text, &_qstring_button2Text)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_question__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text, jstring button1Text, jstring button2Text, jint defaultButtonNumber) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; +static TQString* _qstring_button0Text = 0; +static TQString* _qstring_button1Text = 0; +static TQString* _qstring_button2Text = 0; + jint xret = (jint) TQMessageBoxJBridge::question((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button2Text, &_qstring_button2Text), (int) defaultButtonNumber); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_question__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text, jstring button1Text, jstring button2Text, jint defaultButtonNumber, jint escapeButtonNumber) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; +static TQString* _qstring_button0Text = 0; +static TQString* _qstring_button1Text = 0; +static TQString* _qstring_button2Text = 0; + jint xret = (jint) TQMessageBoxJBridge::question((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button2Text, &_qstring_button2Text), (int) defaultButtonNumber, (int) escapeButtonNumber); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMessageBox_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQMessageBoxJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMessageBox_setButtonText(JNIEnv* env, jobject obj, jint button, jstring arg2) +{ +static TQString* _qstring_arg2 = 0; + ((TQMessageBox*) QtSupport::getQt(env, obj))->setButtonText((int) button, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMessageBox_setIconPixmap(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQMessageBox*) QtSupport::getQt(env, obj))->setIconPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMessageBox_setIcon__I(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQMessageBox*) QtSupport::getQt(env, obj))->setIcon((TQMessageBox::Icon) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMessageBox_setIcon__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQMessageBox*) QtSupport::getQt(env, obj))->setIcon((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMessageBox_setTextFormat(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQMessageBox*) QtSupport::getQt(env, obj))->setTextFormat((TQt::TextFormat) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMessageBox_setText(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQMessageBox*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMessageBox_showEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQMessageBoxJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMessageBox_standardIcon__I(JNIEnv* env, jclass cls, jint icon) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(TQMessageBoxJBridge::standardIcon((TQMessageBox::Icon) icon)), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMessageBox_standardIcon__II(JNIEnv* env, jclass cls, jint icon, jint arg2) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(TQMessageBoxJBridge::standardIcon((TQMessageBox::Icon) icon, (TQt::GUIStyle) arg2)), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMessageBox_styleChanged(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQMessageBoxJBridge*) QtSupport::getQt(env, obj))->protected_styleChanged((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_textFormat(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMessageBox*) QtSupport::getQt(env, obj))->textFormat(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QMessageBox_text(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQMessageBox*) QtSupport::getQt(env, obj))->text(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QMessageBox_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQMessageBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QMessageBox_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQMessageBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_warning__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; + jint xret = (jint) TQMessageBoxJBridge::warning((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_warning__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jint button0, jint button1) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; + jint xret = (jint) TQMessageBoxJBridge::warning((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) button0, (int) button1); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_warning__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2III(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jint button0, jint button1, jint button2) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; + jint xret = (jint) TQMessageBoxJBridge::warning((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) button0, (int) button1, (int) button2); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_warning__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; +static TQString* _qstring_button0Text = 0; + jint xret = (jint) TQMessageBoxJBridge::warning((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_warning__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text, jstring button1Text) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; +static TQString* _qstring_button0Text = 0; +static TQString* _qstring_button1Text = 0; + jint xret = (jint) TQMessageBoxJBridge::warning((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_warning__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text, jstring button1Text, jstring button2Text) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; +static TQString* _qstring_button0Text = 0; +static TQString* _qstring_button1Text = 0; +static TQString* _qstring_button2Text = 0; + jint xret = (jint) TQMessageBoxJBridge::warning((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button2Text, &_qstring_button2Text)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_warning__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text, jstring button1Text, jstring button2Text, jint defaultButtonNumber) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; +static TQString* _qstring_button0Text = 0; +static TQString* _qstring_button1Text = 0; +static TQString* _qstring_button2Text = 0; + jint xret = (jint) TQMessageBoxJBridge::warning((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button2Text, &_qstring_button2Text), (int) defaultButtonNumber); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMessageBox_warning__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring text, jstring button0Text, jstring button1Text, jstring button2Text, jint defaultButtonNumber, jint escapeButtonNumber) +{ + (void) cls; +static TQString* _qstring_caption = 0; +static TQString* _qstring_text = 0; +static TQString* _qstring_button0Text = 0; +static TQString* _qstring_button1Text = 0; +static TQString* _qstring_button2Text = 0; + jint xret = (jint) TQMessageBoxJBridge::warning((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text), (const TQString&)*(TQString*) QtSupport::toTQString(env, button2Text, &_qstring_button2Text), (int) defaultButtonNumber, (int) escapeButtonNumber); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQMessageBox.h b/qtjava/javalib/qtjava/TQMessageBox.h new file mode 100644 index 00000000..b97e2ddc --- /dev/null +++ b/qtjava/javalib/qtjava/TQMessageBox.h @@ -0,0 +1,98 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QMessageBox__ +#define __org_kde_qt_QMessageBox__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMessageBox_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMessageBox_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_newTQMessageBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_newTQMessageBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_newTQMessageBox__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_newTQMessageBox__Ljava_lang_String_2Ljava_lang_String_2IIIILorg_kde_qt_QWidget_2Ljava_lang_String_2ZI (JNIEnv *env, jobject, jstring, jstring, jint, jint, jint, jint, jobject, jstring, jboolean, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_newTQMessageBox__Ljava_lang_String_2Ljava_lang_String_2IIIILorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jint, jint, jint, jint, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_newTQMessageBox__Ljava_lang_String_2Ljava_lang_String_2IIIILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jint, jint, jint, jint, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_newTQMessageBox__Ljava_lang_String_2Ljava_lang_String_2IIIILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jstring, jint, jint, jint, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_newTQMessageBox__Ljava_lang_String_2Ljava_lang_String_2IIII (JNIEnv *env, jobject, jstring, jstring, jint, jint, jint, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMessageBox_text (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_setText (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_iconId (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_setIcon__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_setIcon__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMessageBox_iconPixmap (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_setIconPixmap (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMessageBox_buttonText (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_setButtonText (JNIEnv *env, jobject, jint, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_adjustSize (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_textFormat (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_setTextFormat (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMessageBox_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMessageBox_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2III (JNIEnv *env, jclass, jobject, jstring, jstring, jint, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2II (JNIEnv *env, jclass, jobject, jstring, jstring, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2II (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jstring, jstring, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jstring, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jstring, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_question__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2III (JNIEnv *env, jclass, jobject, jstring, jstring, jint, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_question__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2II (JNIEnv *env, jclass, jobject, jstring, jstring, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_question__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_question__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2II (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jstring, jstring, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_question__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jstring, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_question__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jstring, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_question__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_question__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_question__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_warning__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2III (JNIEnv *env, jclass, jobject, jstring, jstring, jint, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_warning__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2II (JNIEnv *env, jclass, jobject, jstring, jstring, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_warning__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2II (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jstring, jstring, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_warning__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jstring, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_warning__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jstring, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_warning__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_warning__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_warning__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_critical__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2III (JNIEnv *env, jclass, jobject, jstring, jstring, jint, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_critical__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2II (JNIEnv *env, jclass, jobject, jstring, jstring, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_critical__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2II (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jstring, jstring, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_critical__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jstring, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_critical__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jstring, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_critical__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_critical__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_critical__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_about (JNIEnv *env, jclass, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_aboutTQt__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_aboutTQt__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_message__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jstring, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_message__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jstring, jstring, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_message__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_message__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMessageBox_query__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jstring, jstring, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMessageBox_query__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jstring, jstring, jstring, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMessageBox_query__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMessageBox_query__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMessageBox_query__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMessageBox_standardIcon__II (JNIEnv *env, jclass, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMessageBox_standardIcon__I (JNIEnv *env, jclass, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_showEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_closeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_keyPressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_styleChanged (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMessageBox_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QMessageBox__ */ diff --git a/qtjava/javalib/qtjava/TQMetaData.cpp b/qtjava/javalib/qtjava/TQMetaData.cpp new file mode 100644 index 00000000..dc1cda96 --- /dev/null +++ b/qtjava/javalib/qtjava/TQMetaData.cpp @@ -0,0 +1,46 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + +class TQMetaDataJBridge : public TQMetaData +{ +public: + TQMetaDataJBridge() : TQMetaData() {}; + ~TQMetaDataJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMetaData_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QMetaData_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMetaData_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQMetaData*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMetaData_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMetaData_newTQMetaData(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQMetaDataJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + diff --git a/qtjava/javalib/qtjava/TQMetaData.h b/qtjava/javalib/qtjava/TQMetaData.h new file mode 100644 index 00000000..b913671a --- /dev/null +++ b/qtjava/javalib/qtjava/TQMetaData.h @@ -0,0 +1,22 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QMetaData__ +#define __org_kde_qt_QMetaData__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMetaData_newTQMetaData (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMetaData_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMetaData_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaData_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QMetaData__ */ diff --git a/qtjava/javalib/qtjava/TQMetaEnum.cpp b/qtjava/javalib/qtjava/TQMetaEnum.cpp new file mode 100644 index 00000000..63578d51 --- /dev/null +++ b/qtjava/javalib/qtjava/TQMetaEnum.cpp @@ -0,0 +1,46 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + +class TQMetaEnumJBridge : public TQMetaEnum +{ +public: + TQMetaEnumJBridge() : TQMetaEnum() {}; + ~TQMetaEnumJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMetaEnum_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QMetaEnum_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMetaEnum_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQMetaEnum*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMetaEnum_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMetaEnum_newTQMetaEnum(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQMetaEnumJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + diff --git a/qtjava/javalib/qtjava/TQMetaEnum.h b/qtjava/javalib/qtjava/TQMetaEnum.h new file mode 100644 index 00000000..97ace9ba --- /dev/null +++ b/qtjava/javalib/qtjava/TQMetaEnum.h @@ -0,0 +1,22 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QMetaEnum__ +#define __org_kde_qt_QMetaEnum__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMetaEnum_newTQMetaEnum (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMetaEnum_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMetaEnum_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaEnum_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QMetaEnum__ */ diff --git a/qtjava/javalib/qtjava/TQMetaObject.cpp b/qtjava/javalib/qtjava/TQMetaObject.cpp new file mode 100644 index 00000000..308f7c58 --- /dev/null +++ b/qtjava/javalib/qtjava/TQMetaObject.cpp @@ -0,0 +1,384 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMetaObject_classInfo__I(JNIEnv* env, jobject obj, jint index) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMetaObject*) QtSupport::getQt(env, obj))->classInfo((int) index), "org.kde.qt.TQClassInfo"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMetaObject_classInfo__IZ(JNIEnv* env, jobject obj, jint index, jboolean arg2) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMetaObject*) QtSupport::getQt(env, obj))->classInfo((int) index, (bool) arg2), "org.kde.qt.TQClassInfo"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QMetaObject_classInfo__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) +{ + const char* _qstring; +static TQCString* _qstring_name = 0; + _qstring = ((TQMetaObject*) QtSupport::getQt(env, obj))->classInfo((const char*) QtSupport::toCharString(env, name, &_qstring_name)); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QMetaObject_classInfo__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring name, jboolean arg2) +{ + const char* _qstring; +static TQCString* _qstring_name = 0; + _qstring = ((TQMetaObject*) QtSupport::getQt(env, obj))->classInfo((const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) arg2); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QMetaObject_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQMetaObject*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMetaObject_enumeratorNames__(JNIEnv* env, jobject obj) +{ + TQStrList _qlist; + _qlist = ((TQMetaObject*) QtSupport::getQt(env, obj))->enumeratorNames(); + return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMetaObject_enumeratorNames__Z(JNIEnv* env, jobject obj, jboolean arg1) +{ + TQStrList _qlist; + _qlist = ((TQMetaObject*) QtSupport::getQt(env, obj))->enumeratorNames((bool) arg1); + return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMetaObject_enumerator__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) +{ +static TQCString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMetaObject*) QtSupport::getQt(env, obj))->enumerator((const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.qt.TQMetaEnum"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMetaObject_enumerator__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring name, jboolean arg2) +{ +static TQCString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMetaObject*) QtSupport::getQt(env, obj))->enumerator((const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) arg2), "org.kde.qt.TQMetaEnum"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMetaObject_findProperty__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) +{ +static TQCString* _qstring_name = 0; + jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->findProperty((const char*) QtSupport::toCharString(env, name, &_qstring_name)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMetaObject_findProperty__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring name, jboolean arg2) +{ +static TQCString* _qstring_name = 0; + jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->findProperty((const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) arg2); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMetaObject_findSignal__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQCString* _qstring_arg1 = 0; + jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->findSignal((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMetaObject_findSignal__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring arg1, jboolean arg2) +{ +static TQCString* _qstring_arg1 = 0; + jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->findSignal((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (bool) arg2); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMetaObject_findSlot__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQCString* _qstring_arg1 = 0; + jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->findSlot((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMetaObject_findSlot__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring arg1, jboolean arg2) +{ +static TQCString* _qstring_arg1 = 0; + jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->findSlot((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (bool) arg2); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMetaObject_hasMetaObject(JNIEnv* env, jclass cls, jstring class_name) +{ + (void) cls; +static TQCString* _qstring_class_name = 0; + jboolean xret = (jboolean) TQMetaObject::hasMetaObject((const char*) QtSupport::toCharString(env, class_name, &_qstring_class_name)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMetaObject_indexOfProperty__Lorg_kde_qt_QMetaProperty_2(JNIEnv* env, jobject obj, jobject arg1) +{ + jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->indexOfProperty((const TQMetaProperty*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMetaObject_indexOfProperty__Lorg_kde_qt_QMetaProperty_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) +{ + jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->indexOfProperty((const TQMetaProperty*) QtSupport::getQt(env, arg1), (bool) arg2); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMetaObject_inherits(JNIEnv* env, jobject obj, jstring clname) +{ +static TQCString* _qstring_clname = 0; + jboolean xret = (jboolean) ((TQMetaObject*) QtSupport::getQt(env, obj))->inherits((const char*) QtSupport::toCharString(env, clname, &_qstring_clname)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMetaObject_metaObject(JNIEnv* env, jclass cls, jstring class_name) +{ + (void) cls; +static TQCString* _qstring_class_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQMetaObject::metaObject((const char*) QtSupport::toCharString(env, class_name, &_qstring_class_name)), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMetaObject_numClassInfo__(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->numClassInfo(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMetaObject_numClassInfo__Z(JNIEnv* env, jobject obj, jboolean arg1) +{ + jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->numClassInfo((bool) arg1); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMetaObject_numEnumerators__(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->numEnumerators(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMetaObject_numEnumerators__Z(JNIEnv* env, jobject obj, jboolean arg1) +{ + jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->numEnumerators((bool) arg1); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMetaObject_numProperties__(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->numProperties(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMetaObject_numProperties__Z(JNIEnv* env, jobject obj, jboolean arg1) +{ + jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->numProperties((bool) arg1); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMetaObject_numSignals__(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->numSignals(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMetaObject_numSignals__Z(JNIEnv* env, jobject obj, jboolean arg1) +{ + jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->numSignals((bool) arg1); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMetaObject_numSlots__(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->numSlots(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMetaObject_numSlots__Z(JNIEnv* env, jobject obj, jboolean arg1) +{ + jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->numSlots((bool) arg1); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMetaObject_propertyNames__(JNIEnv* env, jobject obj) +{ + TQStrList _qlist; + _qlist = ((TQMetaObject*) QtSupport::getQt(env, obj))->propertyNames(); + return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMetaObject_propertyNames__Z(JNIEnv* env, jobject obj, jboolean arg1) +{ + TQStrList _qlist; + _qlist = ((TQMetaObject*) QtSupport::getQt(env, obj))->propertyNames((bool) arg1); + return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMetaObject_propertyOffset(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->propertyOffset(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMetaObject_property__I(JNIEnv* env, jobject obj, jint index) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMetaObject*) QtSupport::getQt(env, obj))->property((int) index), "org.kde.qt.TQMetaProperty"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMetaObject_property__IZ(JNIEnv* env, jobject obj, jint index, jboolean arg2) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMetaObject*) QtSupport::getQt(env, obj))->property((int) index, (bool) arg2), "org.kde.qt.TQMetaProperty"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMetaObject_qt_1static_1property(JNIEnv* env, jobject obj, jobject o, jint id, jint f, jobject v) +{ + jboolean xret = (jboolean) ((TQMetaObject*) QtSupport::getQt(env, obj))->qt_static_property((TQObject*) QtSupport::getQt(env, o), (int) id, (int) f, (TQVariant*) QtSupport::getQt(env, v)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMetaObject_resolveProperty__I(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->resolveProperty((int) arg1); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMetaObject_resolveProperty__Lorg_kde_qt_QMetaProperty_2(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMetaObject*) QtSupport::getQt(env, obj))->resolveProperty((const TQMetaProperty*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQMetaProperty"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMetaObject_signalNames__(JNIEnv* env, jobject obj) +{ + TQStrList _qlist; + _qlist = ((TQMetaObject*) QtSupport::getQt(env, obj))->signalNames(); + return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMetaObject_signalNames__Z(JNIEnv* env, jobject obj, jboolean arg1) +{ + TQStrList _qlist; + _qlist = ((TQMetaObject*) QtSupport::getQt(env, obj))->signalNames((bool) arg1); + return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMetaObject_signalOffset(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->signalOffset(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMetaObject_signal__I(JNIEnv* env, jobject obj, jint index) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMetaObject*) QtSupport::getQt(env, obj))->signal((int) index), "org.kde.qt.TQMetaData"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMetaObject_signal__IZ(JNIEnv* env, jobject obj, jint index, jboolean arg2) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMetaObject*) QtSupport::getQt(env, obj))->signal((int) index, (bool) arg2), "org.kde.qt.TQMetaData"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMetaObject_slotNames__(JNIEnv* env, jobject obj) +{ + TQStrList _qlist; + _qlist = ((TQMetaObject*) QtSupport::getQt(env, obj))->slotNames(); + return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMetaObject_slotNames__Z(JNIEnv* env, jobject obj, jboolean arg1) +{ + TQStrList _qlist; + _qlist = ((TQMetaObject*) QtSupport::getQt(env, obj))->slotNames((bool) arg1); + return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMetaObject_slotOffset(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->slotOffset(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMetaObject_slot__I(JNIEnv* env, jobject obj, jint index) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMetaObject*) QtSupport::getQt(env, obj))->slot((int) index), "org.kde.qt.TQMetaData"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMetaObject_slot__IZ(JNIEnv* env, jobject obj, jint index, jboolean arg2) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMetaObject*) QtSupport::getQt(env, obj))->slot((int) index, (bool) arg2), "org.kde.qt.TQMetaData"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QMetaObject_superClassName(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQMetaObject*) QtSupport::getQt(env, obj))->superClassName(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMetaObject_superClass(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMetaObject*) QtSupport::getQt(env, obj))->superClass(), "org.kde.qt.TQMetaObject"); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQMetaObject.h b/qtjava/javalib/qtjava/TQMetaObject.h new file mode 100644 index 00000000..c0e2f91c --- /dev/null +++ b/qtjava/javalib/qtjava/TQMetaObject.h @@ -0,0 +1,68 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QMetaObject__ +#define __org_kde_qt_QMetaObject__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMetaObject_className (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMetaObject_superClassName (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_superClass (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaObject_inherits (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_numSlots__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_numSlots__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_numSignals__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_numSignals__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_findSlot__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_findSlot__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_findSignal__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_findSignal__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_slot__IZ (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_slot__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_signal__IZ (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_signal__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_slotNames__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_slotNames__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_signalNames__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_signalNames__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_slotOffset (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_signalOffset (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_propertyOffset (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_numClassInfo__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_numClassInfo__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_classInfo__IZ (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_classInfo__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMetaObject_classInfo__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMetaObject_classInfo__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_property__IZ (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_property__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_findProperty__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_findProperty__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_indexOfProperty__Lorg_kde_qt_QMetaProperty_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_indexOfProperty__Lorg_kde_qt_QMetaProperty_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_resolveProperty__Lorg_kde_qt_QMetaProperty_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_resolveProperty__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_propertyNames__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_propertyNames__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_numProperties__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_numProperties__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_enumeratorNames__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_enumeratorNames__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_numEnumerators__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_numEnumerators__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_enumerator__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_enumerator__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaObject_qt_1static_1property (JNIEnv *env, jobject, jobject, jint, jint, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaObject_metaObject (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaObject_hasMetaObject (JNIEnv *env, jclass, jstring); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QMetaObject__ */ diff --git a/qtjava/javalib/qtjava/TQMetaProperty.cpp b/qtjava/javalib/qtjava/TQMetaProperty.cpp new file mode 100644 index 00000000..e335efcd --- /dev/null +++ b/qtjava/javalib/qtjava/TQMetaProperty.cpp @@ -0,0 +1,208 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQMetaPropertyJBridge : public TQMetaProperty +{ +public: + TQMetaPropertyJBridge() : TQMetaProperty() {}; + ~TQMetaPropertyJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMetaProperty_clear(JNIEnv* env, jobject obj) +{ + ((TQMetaProperty*) QtSupport::getQt(env, obj))->clear(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMetaProperty_designable__(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->designable(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMetaProperty_designable__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->designable((TQObject*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMetaProperty_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QMetaProperty_finalize(env, obj); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMetaProperty_enumKeys(JNIEnv* env, jobject obj) +{ + TQStrList _qlist; + _qlist = ((TQMetaProperty*) QtSupport::getQt(env, obj))->enumKeys(); + return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMetaProperty_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQMetaProperty*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMetaProperty_id(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMetaProperty*) QtSupport::getQt(env, obj))->id(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMetaProperty_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMetaProperty_isEnumType(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->isEnumType(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMetaProperty_isSetType(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->isSetType(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMetaProperty_isValid(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->isValid(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMetaProperty_keyToValue(JNIEnv* env, jobject obj, jstring key) +{ +static TQCString* _qstring_key = 0; + jint xret = (jint) ((TQMetaProperty*) QtSupport::getQt(env, obj))->keyToValue((const char*) QtSupport::toCharString(env, key, &_qstring_key)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMetaProperty_keysToValue(JNIEnv* env, jobject obj, jobjectArray keys) +{ +static TQStrList* _qlist_keys = 0; + jint xret = (jint) ((TQMetaProperty*) QtSupport::getQt(env, obj))->keysToValue((const TQStrList&)*(TQStrList*) QtSupport::toTQStrList(env, keys, &_qlist_keys)); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QMetaProperty_name(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQMetaProperty*) QtSupport::getQt(env, obj))->name(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMetaProperty_newTQMetaProperty(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQMetaPropertyJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMetaProperty_reset(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->reset((TQObject*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMetaProperty_scriptable__(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->scriptable(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMetaProperty_scriptable__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->scriptable((TQObject*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMetaProperty_stdSet(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->stdSet(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMetaProperty_stored__(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->stored(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMetaProperty_stored__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->stored((TQObject*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMetaProperty_testFlags(JNIEnv* env, jobject obj, jint f) +{ + jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->testFlags((uint) f); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QMetaProperty_type(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQMetaProperty*) QtSupport::getQt(env, obj))->type(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QMetaProperty_valueToKey(JNIEnv* env, jobject obj, jint value) +{ + const char* _qstring; + _qstring = ((TQMetaProperty*) QtSupport::getQt(env, obj))->valueToKey((int) value); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMetaProperty_valueToKeys(JNIEnv* env, jobject obj, jint value) +{ + TQStrList _qlist; + _qlist = ((TQMetaProperty*) QtSupport::getQt(env, obj))->valueToKeys((int) value); + return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMetaProperty_writable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->writable(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQMetaProperty.h b/qtjava/javalib/qtjava/TQMetaProperty.h new file mode 100644 index 00000000..6132a20c --- /dev/null +++ b/qtjava/javalib/qtjava/TQMetaProperty.h @@ -0,0 +1,44 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QMetaProperty__ +#define __org_kde_qt_QMetaProperty__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMetaProperty_type (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMetaProperty_name (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_writable (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_isValid (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_isSetType (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_isEnumType (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaProperty_enumKeys (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaProperty_keyToValue (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMetaProperty_valueToKey (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaProperty_keysToValue (JNIEnv *env, jobject, jobjectArray); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaProperty_valueToKeys (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_designable__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_designable__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_scriptable__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_scriptable__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_stored__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_stored__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_reset (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_testFlags (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_stdSet (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaProperty_id (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMetaProperty_clear (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMetaProperty_newTQMetaProperty (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMetaProperty_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMetaProperty_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QMetaProperty__ */ diff --git a/qtjava/javalib/qtjava/TQMimeSource.cpp b/qtjava/javalib/qtjava/TQMimeSource.cpp new file mode 100644 index 00000000..e5a57b4e --- /dev/null +++ b/qtjava/javalib/qtjava/TQMimeSource.cpp @@ -0,0 +1,53 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +JNIEXPORT jbyteArray JNICALL +Java_org_kde_qt_QMimeSource_encodedData(JNIEnv* env, jobject obj, jstring arg1) +{ + TQByteArray _qbyteArray; +static TQCString* _qstring_arg1 = 0; + _qbyteArray = ((TQMimeSource*) QtSupport::getQt(env, obj))->encodedData((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQByteArray(env, &_qbyteArray); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QMimeSource_format__(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQMimeSource*) QtSupport::getQt(env, obj))->format(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QMimeSource_format__I(JNIEnv* env, jobject obj, jint n) +{ + const char* _qstring; + _qstring = ((TQMimeSource*) QtSupport::getQt(env, obj))->format((int) n); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMimeSource_provides(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQCString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TQMimeSource*) QtSupport::getQt(env, obj))->provides((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMimeSource_serialNumber(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMimeSource*) QtSupport::getQt(env, obj))->serialNumber(); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QMimeSource_mimeSource(JNIEnv* env, jobject obj) +{ + return (jlong) (TQMimeSource *) QtSupport::getQt(env, obj); +} + diff --git a/qtjava/javalib/qtjava/TQMimeSource.h b/qtjava/javalib/qtjava/TQMimeSource.h new file mode 100644 index 00000000..4fa18d40 --- /dev/null +++ b/qtjava/javalib/qtjava/TQMimeSource.h @@ -0,0 +1,24 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QMimeSource__ +#define __org_kde_qt_QMimeSource__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMimeSource_format__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMimeSource_format__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMimeSource_provides (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QMimeSource_encodedData (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMimeSource_serialNumber (JNIEnv *env, jobject); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QMimeSource_mimeSource (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QMimeSource__ */ diff --git a/qtjava/javalib/qtjava/TQMimeSourceFactory.cpp b/qtjava/javalib/qtjava/TQMimeSourceFactory.cpp new file mode 100644 index 00000000..c6526a6d --- /dev/null +++ b/qtjava/javalib/qtjava/TQMimeSourceFactory.cpp @@ -0,0 +1,183 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include + +#include +#include + +class TQMimeSourceFactoryJBridge : public TQMimeSourceFactory +{ +public: + TQMimeSourceFactoryJBridge() : TQMimeSourceFactory() {}; + ~TQMimeSourceFactoryJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMimeSourceFactory_addFactory(JNIEnv* env, jclass cls, jobject f) +{ + (void) cls; + TQMimeSourceFactoryJBridge::addFactory((TQMimeSourceFactory*) QtSupport::getQt(env, f)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMimeSourceFactory_addFilePath(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQMimeSourceFactory*) QtSupport::getQt(env, obj))->addFilePath((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMimeSourceFactory_data__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring abs_name) +{ +static TQString* _qstring_abs_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMimeSourceFactory*) QtSupport::getQt(env, obj))->data((const TQString&)*(TQString*) QtSupport::toTQString(env, abs_name, &_qstring_abs_name)), "org.kde.qt.TQMimeSourceInterface"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMimeSourceFactory_data__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring abs_or_rel_name, jstring context) +{ +static TQString* _qstring_abs_or_rel_name = 0; +static TQString* _qstring_context = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMimeSourceFactory*) QtSupport::getQt(env, obj))->data((const TQString&)*(TQString*) QtSupport::toTQString(env, abs_or_rel_name, &_qstring_abs_or_rel_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context)), "org.kde.qt.TQMimeSourceInterface"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMimeSourceFactory_defaultFactory(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQMimeSourceFactoryJBridge::defaultFactory(), "org.kde.qt.TQMimeSourceFactory"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMimeSourceFactory_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QMimeSourceFactory_finalize(env, obj); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMimeSourceFactory_filePath(JNIEnv* env, jobject obj) +{ + TQStringList _qlist; + _qlist = ((TQMimeSourceFactory*) QtSupport::getQt(env, obj))->filePath(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMimeSourceFactory_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQMimeSourceFactory*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMimeSourceFactory_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QMimeSourceFactory_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 = ((TQMimeSourceFactory*) 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_qt_QMimeSourceFactory_newTQMimeSourceFactory(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQMimeSourceFactoryJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMimeSourceFactory_removeFactory(JNIEnv* env, jclass cls, jobject f) +{ + (void) cls; + TQMimeSourceFactoryJBridge::removeFactory((TQMimeSourceFactory*) QtSupport::getQt(env, f)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMimeSourceFactory_setData(JNIEnv* env, jobject obj, jstring abs_name, jobject data) +{ +static TQString* _qstring_abs_name = 0; + ((TQMimeSourceFactory*) QtSupport::getQt(env, obj))->setData((const TQString&)*(TQString*) QtSupport::toTQString(env, abs_name, &_qstring_abs_name), (TQMimeSource*) QtSupport::mimeSource(env, data)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMimeSourceFactory_setDefaultFactory(JNIEnv* env, jclass cls, jobject arg1) +{ + (void) cls; + TQMimeSourceFactoryJBridge::setDefaultFactory((TQMimeSourceFactory*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMimeSourceFactory_setExtensionType(JNIEnv* env, jobject obj, jstring ext, jstring mimetype) +{ +static TQString* _qstring_ext = 0; +static TQCString* _qstring_mimetype = 0; + ((TQMimeSourceFactory*) QtSupport::getQt(env, obj))->setExtensionType((const TQString&)*(TQString*) QtSupport::toTQString(env, ext, &_qstring_ext), (const char*) QtSupport::toCharString(env, mimetype, &_qstring_mimetype)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMimeSourceFactory_setFilePath(JNIEnv* env, jobject obj, jobjectArray arg1) +{ +static TQStringList* _qlist_arg1 = 0; + ((TQMimeSourceFactory*) QtSupport::getQt(env, obj))->setFilePath((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, arg1, &_qlist_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMimeSourceFactory_setImage(JNIEnv* env, jobject obj, jstring abs_name, jobject im) +{ +static TQString* _qstring_abs_name = 0; + ((TQMimeSourceFactory*) QtSupport::getQt(env, obj))->setImage((const TQString&)*(TQString*) QtSupport::toTQString(env, abs_name, &_qstring_abs_name), (const TQImage&)*(const TQImage*) QtSupport::getQt(env, im)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMimeSourceFactory_setPixmap(JNIEnv* env, jobject obj, jstring abs_name, jobject pm) +{ +static TQString* _qstring_abs_name = 0; + ((TQMimeSourceFactory*) QtSupport::getQt(env, obj))->setPixmap((const TQString&)*(TQString*) QtSupport::toTQString(env, abs_name, &_qstring_abs_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pm)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMimeSourceFactory_setText(JNIEnv* env, jobject obj, jstring abs_name, jstring text) +{ +static TQString* _qstring_abs_name = 0; +static TQString* _qstring_text = 0; + ((TQMimeSourceFactory*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, abs_name, &_qstring_abs_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMimeSourceFactory_takeDefaultFactory(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQMimeSourceFactoryJBridge::takeDefaultFactory(), "org.kde.qt.TQMimeSourceFactory"); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQMimeSourceFactory.h b/qtjava/javalib/qtjava/TQMimeSourceFactory.h new file mode 100644 index 00000000..eee55198 --- /dev/null +++ b/qtjava/javalib/qtjava/TQMimeSourceFactory.h @@ -0,0 +1,38 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QMimeSourceFactory__ +#define __org_kde_qt_QMimeSourceFactory__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMimeSourceFactory_newTQMimeSourceFactory (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMimeSourceFactory_data__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMimeSourceFactory_makeAbsolute (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMimeSourceFactory_data__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMimeSourceFactory_setText (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMimeSourceFactory_setImage (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMimeSourceFactory_setPixmap (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMimeSourceFactory_setData (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMimeSourceFactory_setFilePath (JNIEnv *env, jobject, jobjectArray); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMimeSourceFactory_filePath (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMimeSourceFactory_addFilePath (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMimeSourceFactory_setExtensionType (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMimeSourceFactory_defaultFactory (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMimeSourceFactory_setDefaultFactory (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMimeSourceFactory_takeDefaultFactory (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMimeSourceFactory_addFactory (JNIEnv *env, jclass, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMimeSourceFactory_removeFactory (JNIEnv *env, jclass, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMimeSourceFactory_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMimeSourceFactory_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMimeSourceFactory_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QMimeSourceFactory__ */ diff --git a/qtjava/javalib/qtjava/TQMouseEvent.cpp b/qtjava/javalib/qtjava/TQMouseEvent.cpp new file mode 100644 index 00000000..47917cf6 --- /dev/null +++ b/qtjava/javalib/qtjava/TQMouseEvent.cpp @@ -0,0 +1,143 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQMouseEventJBridge : public TQMouseEvent +{ +public: + TQMouseEventJBridge(TQEvent::Type arg1,const TQPoint& arg2,int arg3,int arg4) : TQMouseEvent(arg1,arg2,arg3,arg4) {}; + TQMouseEventJBridge(TQEvent::Type arg1,const TQPoint& arg2,const TQPoint& arg3,int arg4,int arg5) : TQMouseEvent(arg1,arg2,arg3,arg4,arg5) {}; + ~TQMouseEventJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMouseEvent_accept(JNIEnv* env, jobject obj) +{ + ((TQMouseEvent*) QtSupport::getQt(env, obj))->accept(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMouseEvent_button(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMouseEvent*) QtSupport::getQt(env, obj))->button(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMouseEvent_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QMouseEvent_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMouseEvent_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQMouseEvent*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMouseEvent_globalPos(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQMouseEvent*) QtSupport::getQt(env, obj))->globalPos(), "org.kde.qt.TQPoint"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMouseEvent_globalX(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMouseEvent*) QtSupport::getQt(env, obj))->globalX(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMouseEvent_globalY(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMouseEvent*) QtSupport::getQt(env, obj))->globalY(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMouseEvent_ignore(JNIEnv* env, jobject obj) +{ + ((TQMouseEvent*) QtSupport::getQt(env, obj))->ignore(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMouseEvent_isAccepted(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQMouseEvent*) QtSupport::getQt(env, obj))->isAccepted(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMouseEvent_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMouseEvent_newTQMouseEvent__ILorg_kde_qt_QPoint_2II(JNIEnv* env, jobject obj, jint type, jobject pos, jint button, jint state) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQMouseEventJBridge((TQEvent::Type) type, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (int) button, (int) state)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMouseEvent_newTQMouseEvent__ILorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2II(JNIEnv* env, jobject obj, jint type, jobject pos, jobject globalPos, jint button, jint state) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQMouseEventJBridge((TQEvent::Type) type, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, globalPos), (int) button, (int) state)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMouseEvent_pos(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQMouseEvent*) QtSupport::getQt(env, obj))->pos(), "org.kde.qt.TQPoint"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMouseEvent_stateAfter(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMouseEvent*) QtSupport::getQt(env, obj))->stateAfter(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMouseEvent_state(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMouseEvent*) QtSupport::getQt(env, obj))->state(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMouseEvent_x(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMouseEvent*) QtSupport::getQt(env, obj))->x(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMouseEvent_y(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMouseEvent*) QtSupport::getQt(env, obj))->y(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQMouseEvent.h b/qtjava/javalib/qtjava/TQMouseEvent.h new file mode 100644 index 00000000..6b6d9233 --- /dev/null +++ b/qtjava/javalib/qtjava/TQMouseEvent.h @@ -0,0 +1,35 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QMouseEvent__ +#define __org_kde_qt_QMouseEvent__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMouseEvent_newTQMouseEvent__ILorg_kde_qt_QPoint_2II (JNIEnv *env, jobject, jint, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMouseEvent_newTQMouseEvent__ILorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2II (JNIEnv *env, jobject, jint, jobject, jobject, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMouseEvent_pos (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMouseEvent_globalPos (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMouseEvent_x (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMouseEvent_y (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMouseEvent_globalX (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMouseEvent_globalY (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMouseEvent_button (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMouseEvent_state (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMouseEvent_stateAfter (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMouseEvent_isAccepted (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMouseEvent_accept (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMouseEvent_ignore (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMouseEvent_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMouseEvent_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMouseEvent_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QMouseEvent__ */ diff --git a/qtjava/javalib/qtjava/TQMoveEvent.cpp b/qtjava/javalib/qtjava/TQMoveEvent.cpp new file mode 100644 index 00000000..250b3aef --- /dev/null +++ b/qtjava/javalib/qtjava/TQMoveEvent.cpp @@ -0,0 +1,61 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQMoveEventJBridge : public TQMoveEvent +{ +public: + TQMoveEventJBridge(const TQPoint& arg1,const TQPoint& arg2) : TQMoveEvent(arg1,arg2) {}; + ~TQMoveEventJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMoveEvent_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QMoveEvent_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMoveEvent_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQMoveEvent*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMoveEvent_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMoveEvent_newTQMoveEvent(JNIEnv* env, jobject obj, jobject pos, jobject oldPos) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQMoveEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, oldPos))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMoveEvent_oldPos(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQMoveEvent*) QtSupport::getQt(env, obj))->oldPos(), "org.kde.qt.TQPoint"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMoveEvent_pos(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQMoveEvent*) QtSupport::getQt(env, obj))->pos(), "org.kde.qt.TQPoint"); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQMoveEvent.h b/qtjava/javalib/qtjava/TQMoveEvent.h new file mode 100644 index 00000000..9dab5a9a --- /dev/null +++ b/qtjava/javalib/qtjava/TQMoveEvent.h @@ -0,0 +1,24 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QMoveEvent__ +#define __org_kde_qt_QMoveEvent__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMoveEvent_newTQMoveEvent (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMoveEvent_pos (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMoveEvent_oldPos (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMoveEvent_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMoveEvent_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMoveEvent_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QMoveEvent__ */ diff --git a/qtjava/javalib/qtjava/TQMovie.cpp b/qtjava/javalib/qtjava/TQMovie.cpp new file mode 100644 index 00000000..ff5bc1aa --- /dev/null +++ b/qtjava/javalib/qtjava/TQMovie.cpp @@ -0,0 +1,348 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQMovieJBridge : public TQMovie +{ +public: + TQMovieJBridge() : TQMovie() {}; + TQMovieJBridge(int arg1) : TQMovie(arg1) {}; + TQMovieJBridge(TQDataSource* arg1,int arg2) : TQMovie(arg1,arg2) {}; + TQMovieJBridge(TQDataSource* arg1) : TQMovie(arg1) {}; + TQMovieJBridge(const TQString& arg1,int arg2) : TQMovie(arg1,arg2) {}; + TQMovieJBridge(const TQString& arg1) : TQMovie(arg1) {}; + TQMovieJBridge(TQByteArray arg1,int arg2) : TQMovie(arg1,arg2) {}; + TQMovieJBridge(TQByteArray arg1) : TQMovie(arg1) {}; + TQMovieJBridge(const TQMovie& arg1) : TQMovie(arg1) {}; + ~TQMovieJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMovie_backgroundColor(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQMovie*) QtSupport::getQt(env, obj))->backgroundColor(), "org.kde.qt.TQColor"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMovie_connectResize(JNIEnv* env, jobject obj, jobject receiver, jstring member) +{ + ((TQMovie*) QtSupport::getQt(env, obj))->connectResize((TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke(const TQSize&)"); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMovie_connectStatus(JNIEnv* env, jobject obj, jobject receiver, jstring member) +{ + ((TQMovie*) QtSupport::getQt(env, obj))->connectStatus((TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke(int)"); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMovie_connectUpdate(JNIEnv* env, jobject obj, jobject receiver, jstring member) +{ + ((TQMovie*) QtSupport::getQt(env, obj))->connectUpdate((TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke(const TQRect&)"); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMovie_disconnectResize__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject receiver) +{ + ((TQMovie*) QtSupport::getQt(env, obj))->disconnectResize((TQObject*) QtSupport::getQt(env, receiver)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMovie_disconnectResize__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject receiver, jstring member) +{ + ((TQMovie*) QtSupport::getQt(env, obj))->disconnectResize((TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke(const TQSize&)"); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMovie_disconnectStatus__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject receiver) +{ + ((TQMovie*) QtSupport::getQt(env, obj))->disconnectStatus((TQObject*) QtSupport::getQt(env, receiver)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMovie_disconnectStatus__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject receiver, jstring member) +{ + ((TQMovie*) QtSupport::getQt(env, obj))->disconnectStatus((TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke(int)"); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMovie_disconnectUpdate__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject receiver) +{ + ((TQMovie*) QtSupport::getQt(env, obj))->disconnectUpdate((TQObject*) QtSupport::getQt(env, receiver)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMovie_disconnectUpdate__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject receiver, jstring member) +{ + ((TQMovie*) QtSupport::getQt(env, obj))->disconnectUpdate((TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke(const TQRect&)"); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMovie_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QMovie_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMovie_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQMovie*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMovie_finished(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQMovie*) QtSupport::getQt(env, obj))->finished(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMovie_frameImage(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &((TQMovie*) QtSupport::getQt(env, obj))->frameImage(), "org.kde.qt.TQImage"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMovie_frameNumber(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMovie*) QtSupport::getQt(env, obj))->frameNumber(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMovie_framePixmap(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPixmap *) &((TQMovie*) QtSupport::getQt(env, obj))->framePixmap(), "org.kde.qt.TQPixmap"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMovie_getValidRect(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRect *) &((TQMovie*) QtSupport::getQt(env, obj))->getValidRect(), "org.kde.qt.TQRect"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMovie_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMovie_isNull(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQMovie*) QtSupport::getQt(env, obj))->isNull(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMovie_newTQMovie__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQMovieJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMovie_newTQMovie__I(JNIEnv* env, jobject obj, jint bufsize) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQMovieJBridge((int) bufsize)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMovie_newTQMovie__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 TQMovieJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMovie_newTQMovie__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring fileName, jint bufsize) +{ +static TQString* _qstring_fileName = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQMovieJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (int) bufsize)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMovie_newTQMovie__Lorg_kde_qt_QDataSource_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQMovieJBridge((TQDataSource*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMovie_newTQMovie__Lorg_kde_qt_QDataSource_2I(JNIEnv* env, jobject obj, jobject arg1, jint bufsize) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQMovieJBridge((TQDataSource*) QtSupport::getQt(env, arg1), (int) bufsize)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMovie_newTQMovie__Lorg_kde_qt_QMovie_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQMovieJBridge((const TQMovie&)*(const TQMovie*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMovie_newTQMovie___3B(JNIEnv* env, jobject obj, jbyteArray data) +{ +static TQByteArray* _qbyteArray_data = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQMovieJBridge((TQByteArray)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMovie_newTQMovie___3BI(JNIEnv* env, jobject obj, jbyteArray data, jint bufsize) +{ +static TQByteArray* _qbyteArray_data = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQMovieJBridge((TQByteArray)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (int) bufsize)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMovie_pause(JNIEnv* env, jobject obj) +{ + ((TQMovie*) QtSupport::getQt(env, obj))->pause(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMovie_paused(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQMovie*) QtSupport::getQt(env, obj))->paused(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMovie_pushData(JNIEnv* env, jobject obj, jcharArray data, jint length) +{ +static TQByteArray* _qbytearray_data = 0; + ((TQMovie*) QtSupport::getQt(env, obj))->pushData((const uchar*) QtSupport::toUcharArray(env, data, &_qbytearray_data), (int) length); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMovie_pushSpace(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMovie*) QtSupport::getQt(env, obj))->pushSpace(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMovie_restart(JNIEnv* env, jobject obj) +{ + ((TQMovie*) QtSupport::getQt(env, obj))->restart(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMovie_running(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQMovie*) QtSupport::getQt(env, obj))->running(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMovie_setBackgroundColor(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQMovie*) QtSupport::getQt(env, obj))->setBackgroundColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMovie_setSpeed(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQMovie*) QtSupport::getQt(env, obj))->setSpeed((int) arg1); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMovie_speed(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMovie*) QtSupport::getQt(env, obj))->speed(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMovie_step__(JNIEnv* env, jobject obj) +{ + ((TQMovie*) QtSupport::getQt(env, obj))->step(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMovie_step__I(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQMovie*) QtSupport::getQt(env, obj))->step((int) arg1); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMovie_steps(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMovie*) QtSupport::getQt(env, obj))->steps(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMovie_unpause(JNIEnv* env, jobject obj) +{ + ((TQMovie*) QtSupport::getQt(env, obj))->unpause(); + return; +} + diff --git a/qtjava/javalib/qtjava/TQMovie.h b/qtjava/javalib/qtjava/TQMovie.h new file mode 100644 index 00000000..317f6caf --- /dev/null +++ b/qtjava/javalib/qtjava/TQMovie.h @@ -0,0 +1,59 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QMovie__ +#define __org_kde_qt_QMovie__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_newTQMovie__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_newTQMovie__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_newTQMovie__Lorg_kde_qt_QDataSource_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_newTQMovie__Lorg_kde_qt_QDataSource_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_newTQMovie__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_newTQMovie__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_newTQMovie___3BI (JNIEnv *env, jobject, jbyteArray, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_newTQMovie___3B (JNIEnv *env, jobject, jbyteArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_newTQMovie__Lorg_kde_qt_QMovie_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMovie_pushSpace (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_pushData (JNIEnv *env, jobject, jcharArray, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMovie_backgroundColor (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_setBackgroundColor (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMovie_getValidRect (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMovie_framePixmap (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMovie_frameImage (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMovie_isNull (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMovie_frameNumber (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMovie_steps (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMovie_paused (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMovie_finished (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMovie_running (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_unpause (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_pause (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_step__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_step__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_restart (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMovie_speed (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_setSpeed (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_connectResize (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_disconnectResize__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_disconnectResize__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_connectUpdate (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_disconnectUpdate__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_disconnectUpdate__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_connectStatus (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_disconnectStatus__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_disconnectStatus__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMovie_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QMovie__ */ diff --git a/qtjava/javalib/qtjava/TQMultiLineEdit.cpp b/qtjava/javalib/qtjava/TQMultiLineEdit.cpp new file mode 100644 index 00000000..d224d076 --- /dev/null +++ b/qtjava/javalib/qtjava/TQMultiLineEdit.cpp @@ -0,0 +1,1185 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQMultiLineEditJBridge : public TQMultiLineEdit +{ +public: + TQMultiLineEditJBridge(TQWidget* arg1,const char* arg2) : TQMultiLineEdit(arg1,arg2) {}; + TQMultiLineEditJBridge(TQWidget* arg1) : TQMultiLineEdit(arg1) {}; + TQMultiLineEditJBridge() : TQMultiLineEdit() {}; + TQPoint protected_cursorPoint() { + return (TQPoint) TQMultiLineEdit::cursorPoint(); + } + void protected_insertAndMark(const TQString& arg1,bool arg2) { + TQMultiLineEdit::insertAndMark(arg1,arg2); + return; + } + void protected_newLine() { + TQMultiLineEdit::newLine(); + return; + } + void protected_killLine() { + TQMultiLineEdit::killLine(); + return; + } + void protected_pageUp(bool arg1) { + TQMultiLineEdit::pageUp(arg1); + return; + } + void protected_pageUp() { + TQMultiLineEdit::pageUp(); + return; + } + void protected_pageDown(bool arg1) { + TQMultiLineEdit::pageDown(arg1); + return; + } + void protected_pageDown() { + TQMultiLineEdit::pageDown(); + return; + } + void protected_cursorLeft(bool arg1,bool arg2) { + TQMultiLineEdit::cursorLeft(arg1,arg2); + return; + } + void protected_cursorLeft(bool arg1) { + TQMultiLineEdit::cursorLeft(arg1); + return; + } + void protected_cursorLeft() { + TQMultiLineEdit::cursorLeft(); + return; + } + void protected_cursorRight(bool arg1,bool arg2) { + TQMultiLineEdit::cursorRight(arg1,arg2); + return; + } + void protected_cursorRight(bool arg1) { + TQMultiLineEdit::cursorRight(arg1); + return; + } + void protected_cursorRight() { + TQMultiLineEdit::cursorRight(); + return; + } + void protected_cursorUp(bool arg1) { + TQMultiLineEdit::cursorUp(arg1); + return; + } + void protected_cursorUp() { + TQMultiLineEdit::cursorUp(); + return; + } + void protected_cursorDown(bool arg1) { + TQMultiLineEdit::cursorDown(arg1); + return; + } + void protected_cursorDown() { + TQMultiLineEdit::cursorDown(); + return; + } + void protected_backspace() { + TQMultiLineEdit::backspace(); + return; + } + void protected_home(bool arg1) { + TQMultiLineEdit::home(arg1); + return; + } + void protected_home() { + TQMultiLineEdit::home(); + return; + } + void protected_end(bool arg1) { + TQMultiLineEdit::end(arg1); + return; + } + void protected_end() { + TQMultiLineEdit::end(); + return; + } + bool protected_getMarkedRegion(int* arg1,int* arg2,int* arg3,int* arg4) { + return (bool) TQMultiLineEdit::getMarkedRegion(arg1,arg2,arg3,arg4); + } + int protected_lineLength(int arg1) { + return (int) TQMultiLineEdit::lineLength(arg1); + } + ~TQMultiLineEditJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { + TQWidget::dragLeaveEvent(arg1); + } + return; + } + void setMask(const TQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { + TQWidget::setMask(arg1); + } + return; + } + void setColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQTextEdit::setColor(arg1); + } + return; + } + void resizeEvent(TQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { + TQTextEdit::resizeEvent(arg1); + } + return; + } + void setFrameRect(const TQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { + TQFrame::setFrameRect(arg1); + } + return; + } + void mouseDoubleClickEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::mouseDoubleClickEvent(arg1); + } + return; + } + void paletteChange(const TQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { + TQWidget::paletteChange(arg1); + } + return; + } + void contentsMouseReleaseEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQTextEdit::contentsMouseReleaseEvent(arg1); + } + return; + } + void setMimeSourceFactory(TQMimeSourceFactory* arg1) { + if (!QtSupport::eventDelegate(this,"setMimeSourceFactory",(void*)arg1,"org.kde.qt.TQMimeSourceFactory")) { + TQTextEdit::setMimeSourceFactory(arg1); + } + return; + } + void zoomOut() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","zoomOut")) { + TQTextEdit::zoomOut(); + } + return; + } + void viewportPaintEvent(TQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { + TQScrollView::viewportPaintEvent(arg1); + } + return; + } + void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMouseDoubleClickEvent(arg1); + } + return; + } + void viewportMouseReleaseEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMouseReleaseEvent(arg1); + } + return; + } + void del() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","del")) { + TQTextEdit::del(); + } + return; + } + void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { + TQTextEdit::contentsDragLeaveEvent(arg1); + } + return; + } + void setActiveWindow() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","setActiveWindow")) { + TQWidget::setActiveWindow(); + } + return; + } + void dragEnterEvent(TQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { + TQWidget::dragEnterEvent(arg1); + } + return; + } + void undo() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","undo")) { + TQTextEdit::undo(); + } + return; + } + void focusOutEvent(TQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { + TQWidget::focusOutEvent(arg1); + } + return; + } + void setPaper(const TQBrush& arg1) { + if (!QtSupport::eventDelegate(this,"setPaper",(void*)&arg1,"org.kde.qt.TQBrush")) { + TQTextEdit::setPaper(arg1); + } + return; + } + void setFocus() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","setFocus")) { + TQWidget::setFocus(); + } + return; + } + void dragMoveEvent(TQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { + TQWidget::dragMoveEvent(arg1); + } + return; + } + void resetFormat() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","resetFormat")) { + TQTextEdit::resetFormat(); + } + return; + } + void zoomIn() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","zoomIn")) { + TQTextEdit::zoomIn(); + } + return; + } + void drawFrame(TQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { + TQFrame::drawFrame(arg1); + } + return; + } + void hide() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","hide")) { + TQWidget::hide(); + } + return; + } + void setPaletteBackgroundColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setPaletteBackgroundColor(arg1); + } + return; + } + void viewportResizeEvent(TQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { + TQTextEdit::viewportResizeEvent(arg1); + } + return; + } + void setEraseColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setEraseColor(arg1); + } + return; + } + void paintEvent(TQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { + TQFrame::paintEvent(arg1); + } + return; + } + void imStartEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQTextEdit::imStartEvent(arg1); + } + return; + } + void cut() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","cut")) { + TQTextEdit::cut(); + } + return; + } + void scrollToBottom() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","scrollToBottom")) { + TQTextEdit::scrollToBottom(); + } + return; + } + void killLine() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","killLine")) { + TQMultiLineEdit::killLine(); + } + return; + } + void clear() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","clear")) { + TQTextEdit::clear(); + } + return; + } + void unsetCursor() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","unsetCursor")) { + TQWidget::unsetCursor(); + } + return; + } + void contentsDropEvent(TQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { + TQTextEdit::contentsDropEvent(arg1); + } + return; + } + void hideEvent(TQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { + TQWidget::hideEvent(arg1); + } + return; + } + void moveEvent(TQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { + TQWidget::moveEvent(arg1); + } + return; + } + void polish() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","showMaximized")) { + TQWidget::showMaximized(); + } + return; + } + void setBackgroundPixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setBackgroundPixmap(arg1); + } + return; + } + void showEvent(TQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { + TQWidget::showEvent(arg1); + } + return; + } + void viewportContextMenuEvent(TQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { + TQScrollView::viewportContextMenuEvent(arg1); + } + return; + } + void setStyleSheet(TQStyleSheet* arg1) { + if (!QtSupport::eventDelegate(this,"setStyleSheet",(void*)arg1,"org.kde.qt.TQStyleSheet")) { + TQTextEdit::setStyleSheet(arg1); + } + return; + } + void viewportDragEnterEvent(TQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { + TQScrollView::viewportDragEnterEvent(arg1); + } + return; + } + void keyPressEvent(TQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { + TQTextEdit::keyPressEvent(arg1); + } + return; + } + bool customWhatsThis() { + return QtSupport::booleanDelegate(this,"customWhatsThis"); + } + void indent() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","indent")) { + TQTextEdit::indent(); + } + return; + } + void setPaletteBackgroundPixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setPaletteBackgroundPixmap(arg1); + } + return; + } + void setCornerWidget(TQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { + TQScrollView::setCornerWidget(arg1); + } + return; + } + void contentsDragEnterEvent(TQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { + TQTextEdit::contentsDragEnterEvent(arg1); + } + return; + } + void contentsWheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQTextEdit::contentsWheelEvent(arg1); + } + return; + } + void setCursor(const TQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { + TQWidget::setCursor(arg1); + } + return; + } + void closeEvent(TQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { + TQWidget::closeEvent(arg1); + } + return; + } + void copy() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","copy")) { + TQTextEdit::copy(); + } + return; + } + void setFont(const TQFont& arg1) { + if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { + TQTextEdit::setFont(arg1); + } + return; + } + void customEvent(TQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { + TQObject::customEvent(arg1); + } + return; + } + void contentsDragMoveEvent(TQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { + TQTextEdit::contentsDragMoveEvent(arg1); + } + return; + } + void enterEvent(TQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { + TQWidget::enterEvent(arg1); + } + return; + } + void timerEvent(TQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { + TQObject::timerEvent(arg1); + } + return; + } + void contentsMouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQTextEdit::contentsMouseMoveEvent(arg1); + } + return; + } + void mouseReleaseEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::mouseReleaseEvent(arg1); + } + return; + } + void setErasePixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setErasePixmap(arg1); + } + return; + } + void childEvent(TQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { + TQObject::childEvent(arg1); + } + return; + } + void dropEvent(TQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { + TQWidget::dropEvent(arg1); + } + return; + } + void leaveEvent(TQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { + TQWidget::leaveEvent(arg1); + } + return; + } + void setIcon(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setIcon(arg1); + } + return; + } + void doChangeInterval() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","doChangeInterval")) { + TQTextEdit::doChangeInterval(); + } + return; + } + void contentsMousePressEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQTextEdit::contentsMousePressEvent(arg1); + } + return; + } + void updateMask() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","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.qt.TQMultiLineEdit","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.qt.TQMultiLineEdit","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 newLine() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","newLine")) { + TQMultiLineEdit::newLine(); + } + return; + } + void sync() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","sync")) { + TQTextEdit::sync(); + } + return; + } + void setBackgroundColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setBackgroundColor(arg1); + } + return; + } + void viewportDropEvent(TQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { + TQScrollView::viewportDropEvent(arg1); + } + return; + } + void viewportDragMoveEvent(TQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { + TQScrollView::viewportDragMoveEvent(arg1); + } + return; + } + void adjustSize() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","adjustSize")) { + TQWidget::adjustSize(); + } + return; + } + void wheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQScrollView::wheelEvent(arg1); + } + return; + } + void imEndEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQTextEdit::imEndEvent(arg1); + } + return; + } + void insertChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::insertChild(arg1); + } + return; + } + void focusInEvent(TQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { + TQWidget::focusInEvent(arg1); + } + return; + } + void tabletEvent(TQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { + TQWidget::tabletEvent(arg1); + } + return; + } + void keyReleaseEvent(TQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { + TQWidget::keyReleaseEvent(arg1); + } + return; + } + void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQTextEdit::contentsMouseDoubleClickEvent(arg1); + } + return; + } + void contextMenuEvent(TQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { + TQScrollView::contextMenuEvent(arg1); + } + return; + } + void paste() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","paste")) { + TQTextEdit::paste(); + } + return; + } + void redo() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","redo")) { + TQTextEdit::redo(); + } + return; + } + void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { + TQScrollView::viewportDragLeaveEvent(arg1); + } + return; + } + void contentsContextMenuEvent(TQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { + TQTextEdit::contentsContextMenuEvent(arg1); + } + return; + } + void setGeometry(const TQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { + TQWidget::setGeometry(arg1); + } + return; + } + void viewportMousePressEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMousePressEvent(arg1); + } + return; + } + void showMinimized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMultiLineEdit_alignment(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->alignment(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMultiLineEdit_atBeginning(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->atBeginning(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMultiLineEdit_atEnd(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->atEnd(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMultiLineEdit_autoUpdate(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->autoUpdate(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_backspace(JNIEnv* env, jobject obj) +{ + ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_backspace(); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QMultiLineEdit_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_cursorDown__(JNIEnv* env, jobject obj) +{ + ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorDown(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_cursorDown__Z(JNIEnv* env, jobject obj, jboolean mark) +{ + ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorDown((bool) mark); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_cursorLeft__(JNIEnv* env, jobject obj) +{ + ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorLeft(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_cursorLeft__Z(JNIEnv* env, jobject obj, jboolean mark) +{ + ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorLeft((bool) mark); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_cursorLeft__ZZ(JNIEnv* env, jobject obj, jboolean mark, jboolean wrap) +{ + ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorLeft((bool) mark, (bool) wrap); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMultiLineEdit_cursorPoint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorPoint()), "org.kde.qt.TQPoint", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_cursorRight__(JNIEnv* env, jobject obj) +{ + ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorRight(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_cursorRight__Z(JNIEnv* env, jobject obj, jboolean mark) +{ + ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorRight((bool) mark); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_cursorRight__ZZ(JNIEnv* env, jobject obj, jboolean mark, jboolean wrap) +{ + ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorRight((bool) mark, (bool) wrap); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_cursorUp__(JNIEnv* env, jobject obj) +{ + ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorUp(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_cursorUp__Z(JNIEnv* env, jobject obj, jboolean mark) +{ + ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorUp((bool) mark); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_cursorWordBackward(JNIEnv* env, jobject obj, jboolean mark) +{ + ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->cursorWordBackward((bool) mark); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_cursorWordForward(JNIEnv* env, jobject obj, jboolean mark) +{ + ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->cursorWordForward((bool) mark); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_deselect(JNIEnv* env, jobject obj) +{ + ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->deselect(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QMultiLineEdit_finalize(env, obj); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMultiLineEdit_edited(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->edited(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_end__(JNIEnv* env, jobject obj) +{ + ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_end(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_end__Z(JNIEnv* env, jobject obj, jboolean mark) +{ + ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_end((bool) mark); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQMultiLineEdit*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQMultiLineEdit*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMultiLineEdit_getMarkedRegion(JNIEnv* env, jobject obj, jintArray line1, jintArray col1, jintArray line2, jintArray col2) +{ + int* _int_line1 = QtSupport::toIntPtr(env, line1); + int* _int_col1 = QtSupport::toIntPtr(env, col1); + int* _int_line2 = QtSupport::toIntPtr(env, line2); + int* _int_col2 = QtSupport::toIntPtr(env, col2); + jboolean xret = (jboolean) ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_getMarkedRegion( (int*) _int_line1, (int*) _int_col1, (int*) _int_line2, (int*) _int_col2); + env->SetIntArrayRegion(line1, 0, 1, (jint *) _int_line1); + env->SetIntArrayRegion(col1, 0, 1, (jint *) _int_col1); + env->SetIntArrayRegion(line2, 0, 1, (jint *) _int_line2); + env->SetIntArrayRegion(col2, 0, 1, (jint *) _int_col2); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMultiLineEdit_hasMarkedText(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->hasMarkedText(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_home__(JNIEnv* env, jobject obj) +{ + ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_home(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_home__Z(JNIEnv* env, jobject obj, jboolean mark) +{ + ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_home((bool) mark); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_insertAndMark(JNIEnv* env, jobject obj, jstring arg1, jboolean mark) +{ +static TQString* _qstring_arg1 = 0; + ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_insertAndMark((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) mark); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_insertAt__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring s, jint line, jint col) +{ +static TQString* _qstring_s = 0; + ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->insertAt((const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s), (int) line, (int) col); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_insertAt__Ljava_lang_String_2IIZ(JNIEnv* env, jobject obj, jstring s, jint line, jint col, jboolean mark) +{ +static TQString* _qstring_s = 0; + ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->insertAt((const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s), (int) line, (int) col, (bool) mark); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_insertLine__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring s) +{ +static TQString* _qstring_s = 0; + ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->insertLine((const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_insertLine__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring s, jint line) +{ +static TQString* _qstring_s = 0; + ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->insertLine((const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s), (int) line); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QMultiLineEdit_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_killLine(JNIEnv* env, jobject obj) +{ + ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_killLine(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMultiLineEdit_lineLength(JNIEnv* env, jobject obj, jint row) +{ + jint xret = (jint) ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_lineLength((int) row); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QMultiLineEdit_markedText(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->markedText(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMultiLineEdit_maxLines(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->maxLines(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QMultiLineEdit_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMultiLineEdit*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_newLine(JNIEnv* env, jobject obj) +{ + ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_newLine(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_newTQMultiLineEdit__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQMultiLineEditJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_newTQMultiLineEdit__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQMultiLineEditJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_newTQMultiLineEdit__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 TQMultiLineEditJBridge((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_qt_QMultiLineEdit_numLines(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->numLines(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_pageDown__(JNIEnv* env, jobject obj) +{ + ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_pageDown(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_pageDown__Z(JNIEnv* env, jobject obj, jboolean mark) +{ + ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_pageDown((bool) mark); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_pageUp__(JNIEnv* env, jobject obj) +{ + ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_pageUp(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_pageUp__Z(JNIEnv* env, jobject obj, jboolean mark) +{ + ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_pageUp((bool) mark); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_removeLine(JNIEnv* env, jobject obj, jint line) +{ + ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->removeLine((int) line); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_setAlignment(JNIEnv* env, jobject obj, jint flags) +{ + ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->setAlignment((int) flags); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_setAutoUpdate(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->setAutoUpdate((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_setCursorPosition__II(JNIEnv* env, jobject obj, jint line, jint col) +{ + ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->setCursorPosition((int) line, (int) col); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_setCursorPosition__IIZ(JNIEnv* env, jobject obj, jint line, jint col, jboolean mark) +{ + ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->setCursorPosition((int) line, (int) col, (bool) mark); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_setEdited(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->setEdited((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QMultiLineEdit_setMaxLines(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->setMaxLines((int) arg1); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QMultiLineEdit_textLine(JNIEnv* env, jobject obj, jint line) +{ + TQString _qstring; + _qstring = ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->textLine((int) line); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMultiLineEdit_totalHeight(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->totalHeight(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QMultiLineEdit_totalWidth(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->totalWidth(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QMultiLineEdit_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQMultiLineEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QMultiLineEdit_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQMultiLineEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQMultiLineEdit.h b/qtjava/javalib/qtjava/TQMultiLineEdit.h new file mode 100644 index 00000000..536bf85c --- /dev/null +++ b/qtjava/javalib/qtjava/TQMultiLineEdit.h @@ -0,0 +1,79 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QMultiLineEdit__ +#define __org_kde_qt_QMultiLineEdit__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMultiLineEdit_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMultiLineEdit_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_newTQMultiLineEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_newTQMultiLineEdit__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_newTQMultiLineEdit__ (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMultiLineEdit_textLine (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMultiLineEdit_numLines (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_insertLine__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_insertLine__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_insertAt__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_insertAt__Ljava_lang_String_2IIZ (JNIEnv *env, jobject, jstring, jint, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_removeLine (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_setCursorPosition__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_setCursorPosition__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMultiLineEdit_atBeginning (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMultiLineEdit_atEnd (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_setAlignment (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMultiLineEdit_alignment (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_setEdited (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMultiLineEdit_edited (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMultiLineEdit_hasMarkedText (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMultiLineEdit_markedText (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_cursorWordForward (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_cursorWordBackward (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMultiLineEdit_autoUpdate (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_setAutoUpdate (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMultiLineEdit_totalWidth (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMultiLineEdit_totalHeight (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMultiLineEdit_maxLines (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_setMaxLines (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_deselect (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMultiLineEdit_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QMultiLineEdit_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QMultiLineEdit_cursorPoint (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_insertAndMark (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_newLine (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_killLine (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_pageUp__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_pageUp__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_pageDown__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_pageDown__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_cursorLeft__ZZ (JNIEnv *env, jobject, jboolean, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_cursorLeft__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_cursorLeft__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_cursorRight__ZZ (JNIEnv *env, jobject, jboolean, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_cursorRight__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_cursorRight__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_cursorUp__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_cursorUp__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_cursorDown__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_cursorDown__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_backspace (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_home__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_home__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_end__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_end__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMultiLineEdit_getMarkedRegion (JNIEnv *env, jobject, jintArray, jintArray, jintArray, jintArray); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QMultiLineEdit_lineLength (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMultiLineEdit_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QMultiLineEdit__ */ diff --git a/qtjava/javalib/qtjava/TQNetworkOperation.cpp b/qtjava/javalib/qtjava/TQNetworkOperation.cpp new file mode 100644 index 00000000..9d02b5de --- /dev/null +++ b/qtjava/javalib/qtjava/TQNetworkOperation.cpp @@ -0,0 +1,228 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQNetworkOperationJBridge : public TQNetworkOperation +{ +public: + TQNetworkOperationJBridge(TQNetworkProtocol::Operation arg1,const TQString& arg2,const TQString& arg3,const TQString& arg4) : TQNetworkOperation(arg1,arg2,arg3,arg4) {}; + TQNetworkOperationJBridge(TQNetworkProtocol::Operation arg1,const TQByteArray& arg2,const TQByteArray& arg3,const TQByteArray& arg4) : TQNetworkOperation(arg1,arg2,arg3,arg4) {}; + ~TQNetworkOperationJBridge() {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.qt.TQNetworkOperation",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QNetworkOperation_arg(JNIEnv* env, jobject obj, jint num) +{ + TQString _qstring; + _qstring = ((TQNetworkOperation*) QtSupport::getQt(env, obj))->arg((int) num); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QNetworkOperation_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQNetworkOperation*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QNetworkOperation_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QNetworkOperation_finalize(env, obj); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QNetworkOperation_errorCode(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQNetworkOperation*) QtSupport::getQt(env, obj))->errorCode(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QNetworkOperation_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQNetworkOperation*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQNetworkOperation*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QNetworkOperation_free(JNIEnv* env, jobject obj) +{ + ((TQNetworkOperation*) QtSupport::getQt(env, obj))->free(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QNetworkOperation_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QNetworkOperation_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQNetworkOperation*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QNetworkOperation_newTQNetworkOperation__ILjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint operation, jstring arg0, jstring arg1, jstring arg2) +{ +static TQString* _qstring_arg0 = 0; +static TQString* _qstring_arg1 = 0; +static TQString* _qstring_arg2 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQNetworkOperationJBridge((TQNetworkProtocol::Operation) operation, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg0, &_qstring_arg0), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QNetworkOperation_newTQNetworkOperation__I_3B_3B_3B(JNIEnv* env, jobject obj, jint operation, jbyteArray arg0, jbyteArray arg1, jbyteArray arg2) +{ +static TQByteArray* _qbyteArray_arg0 = 0; +static TQByteArray* _qbyteArray_arg1 = 0; +static TQByteArray* _qbyteArray_arg2 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQNetworkOperationJBridge((TQNetworkProtocol::Operation) operation, (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, arg0, &_qbyteArray_arg0), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, arg1, &_qbyteArray_arg1), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, arg2, &_qbyteArray_arg2))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QNetworkOperation_operation(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQNetworkOperation*) QtSupport::getQt(env, obj))->operation(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QNetworkOperation_protocolDetail(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQNetworkOperation*) QtSupport::getQt(env, obj))->protocolDetail(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jbyteArray JNICALL +Java_org_kde_qt_QNetworkOperation_rawArg(JNIEnv* env, jobject obj, jint num) +{ + TQByteArray _qbyteArray; + _qbyteArray = ((TQNetworkOperation*) QtSupport::getQt(env, obj))->rawArg((int) num); + return QtSupport::fromTQByteArray(env, &_qbyteArray); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QNetworkOperation_setArg(JNIEnv* env, jobject obj, jint num, jstring arg) +{ +static TQString* _qstring_arg = 0; + ((TQNetworkOperation*) QtSupport::getQt(env, obj))->setArg((int) num, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg, &_qstring_arg)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QNetworkOperation_setErrorCode(JNIEnv* env, jobject obj, jint ec) +{ + ((TQNetworkOperation*) QtSupport::getQt(env, obj))->setErrorCode((int) ec); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QNetworkOperation_setProtocolDetail(JNIEnv* env, jobject obj, jstring detail) +{ +static TQString* _qstring_detail = 0; + ((TQNetworkOperation*) QtSupport::getQt(env, obj))->setProtocolDetail((const TQString&)*(TQString*) QtSupport::toTQString(env, detail, &_qstring_detail)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QNetworkOperation_setRawArg(JNIEnv* env, jobject obj, jint num, jbyteArray arg) +{ +static TQByteArray* _qbyteArray_arg = 0; + ((TQNetworkOperation*) QtSupport::getQt(env, obj))->setRawArg((int) num, (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, arg, &_qbyteArray_arg)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QNetworkOperation_setState(JNIEnv* env, jobject obj, jint state) +{ + ((TQNetworkOperation*) QtSupport::getQt(env, obj))->setState((TQNetworkProtocol::State) state); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QNetworkOperation_state(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQNetworkOperation*) QtSupport::getQt(env, obj))->state(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QNetworkOperation_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQNetworkOperationJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QNetworkOperation_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQNetworkOperationJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQNetworkOperation.h b/qtjava/javalib/qtjava/TQNetworkOperation.h new file mode 100644 index 00000000..d0c5dc2b --- /dev/null +++ b/qtjava/javalib/qtjava/TQNetworkOperation.h @@ -0,0 +1,39 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QNetworkOperation__ +#define __org_kde_qt_QNetworkOperation__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QNetworkOperation_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QNetworkOperation_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkOperation_newTQNetworkOperation__ILjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jstring, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkOperation_newTQNetworkOperation__I_3B_3B_3B (JNIEnv *env, jobject, jint, jbyteArray, jbyteArray, jbyteArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkOperation_setState (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkOperation_setProtocolDetail (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkOperation_setErrorCode (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkOperation_setArg (JNIEnv *env, jobject, jint, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkOperation_setRawArg (JNIEnv *env, jobject, jint, jbyteArray); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QNetworkOperation_operation (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QNetworkOperation_state (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QNetworkOperation_arg (JNIEnv *env, jobject, jint); +extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QNetworkOperation_rawArg (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QNetworkOperation_protocolDetail (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QNetworkOperation_errorCode (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkOperation_free (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QNetworkOperation_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QNetworkOperation_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkOperation_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkOperation_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QNetworkOperation_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QNetworkOperation__ */ diff --git a/qtjava/javalib/qtjava/TQNetworkProtocol.cpp b/qtjava/javalib/qtjava/TQNetworkProtocol.cpp new file mode 100644 index 00000000..e08e7f53 --- /dev/null +++ b/qtjava/javalib/qtjava/TQNetworkProtocol.cpp @@ -0,0 +1,388 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +class TQNetworkProtocolJBridge : public TQNetworkProtocol +{ +public: + TQNetworkProtocolJBridge() : TQNetworkProtocol() {}; + void public_clearOperationQueue() { + TQNetworkProtocol::clearOperationQueue(); + return; + } + void public_stop() { + TQNetworkProtocol::stop(); + return; + } + void protected_processOperation(TQNetworkOperation* arg1) { + TQNetworkProtocol::processOperation(arg1); + return; + } + void protected_operationListChildren(TQNetworkOperation* arg1) { + TQNetworkProtocol::operationListChildren(arg1); + return; + } + void protected_operationMkDir(TQNetworkOperation* arg1) { + TQNetworkProtocol::operationMkDir(arg1); + return; + } + void protected_operationRemove(TQNetworkOperation* arg1) { + TQNetworkProtocol::operationRemove(arg1); + return; + } + void protected_operationRename(TQNetworkOperation* arg1) { + TQNetworkProtocol::operationRename(arg1); + return; + } + void protected_operationGet(TQNetworkOperation* arg1) { + TQNetworkProtocol::operationGet(arg1); + return; + } + void protected_operationPut(TQNetworkOperation* arg1) { + TQNetworkProtocol::operationPut(arg1); + return; + } + void protected_operationPutChunk(TQNetworkOperation* arg1) { + TQNetworkProtocol::operationPutChunk(arg1); + return; + } + bool protected_checkConnection(TQNetworkOperation* arg1) { + return (bool) TQNetworkProtocol::checkConnection(arg1); + } + ~TQNetworkProtocolJBridge() {QtSupport::qtKeyDeleted(this);} + void operationRename(TQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationRename",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { + TQNetworkProtocol::operationRename(arg1); + } + return; + } + void operationPutChunk(TQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationPutChunk",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { + TQNetworkProtocol::operationPutChunk(arg1); + } + return; + } + void processOperation(TQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"processOperation",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { + TQNetworkProtocol::processOperation(arg1); + } + return; + } + void operationGet(TQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationGet",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { + TQNetworkProtocol::operationGet(arg1); + } + return; + } + void removeChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::removeChild(arg1); + } + return; + } + void operationPut(TQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationPut",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { + TQNetworkProtocol::operationPut(arg1); + } + return; + } + void operationListChildren(TQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationListChildren",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { + TQNetworkProtocol::operationListChildren(arg1); + } + return; + } + void customEvent(TQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { + TQObject::customEvent(arg1); + } + return; + } + void operationRemove(TQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationRemove",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { + TQNetworkProtocol::operationRemove(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 addOperation(TQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"addOperation",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { + TQNetworkProtocol::addOperation(arg1); + } + return; + } + void insertChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::insertChild(arg1); + } + return; + } + void clearOperationQueue() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQNetworkProtocol","clearOperationQueue")) { + TQNetworkProtocol::clearOperationQueue(); + } + return; + } + void operationMkDir(TQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationMkDir",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { + TQNetworkProtocol::operationMkDir(arg1); + } + return; + } + bool eventFilter(TQObject* object,TQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQNetworkProtocol",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } + void stop() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQNetworkProtocol","stop")) { + TQNetworkProtocol::stop(); + } + return; + } + void setUrl(TQUrlOperator* arg1) { + if (!QtSupport::eventDelegate(this,"setUrl",(void*)arg1,"org.kde.qt.TQUrlOperator")) { + TQNetworkProtocol::setUrl(arg1); + } + return; + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QNetworkProtocol_addOperation(JNIEnv* env, jobject obj, jobject op) +{ + ((TQNetworkProtocol*) QtSupport::getQt(env, obj))->addOperation((TQNetworkOperation*) QtSupport::getQt(env, op)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QNetworkProtocol_autoDelete(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQNetworkProtocol*) QtSupport::getQt(env, obj))->autoDelete(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QNetworkProtocol_checkConnection(JNIEnv* env, jobject obj, jobject op) +{ + jboolean xret = (jboolean) ((TQNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->protected_checkConnection((TQNetworkOperation*) QtSupport::getQt(env, op)); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QNetworkProtocol_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQNetworkProtocol*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QNetworkProtocol_clearOperationQueue(JNIEnv* env, jobject obj) +{ + ((TQNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->public_clearOperationQueue(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QNetworkProtocol_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QNetworkProtocol_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QNetworkProtocol_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQNetworkProtocol*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQNetworkProtocol*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QNetworkProtocol_getNetworkProtocol(JNIEnv* env, jclass cls, jstring protocol) +{ + (void) cls; +static TQString* _qstring_protocol = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQNetworkProtocolJBridge::getNetworkProtocol((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)), "org.kde.qt.TQNetworkProtocol"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QNetworkProtocol_hasOnlyLocalFileSystem(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jboolean xret = (jboolean) TQNetworkProtocolJBridge::hasOnlyLocalFileSystem(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QNetworkProtocol_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QNetworkProtocol_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQNetworkProtocol*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QNetworkProtocol_newTQNetworkProtocol(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQNetworkProtocolJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QNetworkProtocol_operationGet(JNIEnv* env, jobject obj, jobject op) +{ + ((TQNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->protected_operationGet((TQNetworkOperation*) QtSupport::getQt(env, op)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QNetworkProtocol_operationInProgress(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQNetworkProtocol*) QtSupport::getQt(env, obj))->operationInProgress(), "org.kde.qt.TQNetworkOperation"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QNetworkProtocol_operationListChildren(JNIEnv* env, jobject obj, jobject op) +{ + ((TQNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->protected_operationListChildren((TQNetworkOperation*) QtSupport::getQt(env, op)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QNetworkProtocol_operationMkDir(JNIEnv* env, jobject obj, jobject op) +{ + ((TQNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->protected_operationMkDir((TQNetworkOperation*) QtSupport::getQt(env, op)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QNetworkProtocol_operationPutChunk(JNIEnv* env, jobject obj, jobject op) +{ + ((TQNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->protected_operationPutChunk((TQNetworkOperation*) QtSupport::getQt(env, op)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QNetworkProtocol_operationPut(JNIEnv* env, jobject obj, jobject op) +{ + ((TQNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->protected_operationPut((TQNetworkOperation*) QtSupport::getQt(env, op)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QNetworkProtocol_operationRemove(JNIEnv* env, jobject obj, jobject op) +{ + ((TQNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->protected_operationRemove((TQNetworkOperation*) QtSupport::getQt(env, op)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QNetworkProtocol_operationRename(JNIEnv* env, jobject obj, jobject op) +{ + ((TQNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->protected_operationRename((TQNetworkOperation*) QtSupport::getQt(env, op)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QNetworkProtocol_processOperation(JNIEnv* env, jobject obj, jobject op) +{ + ((TQNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->protected_processOperation((TQNetworkOperation*) QtSupport::getQt(env, op)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QNetworkProtocol_setAutoDelete__Z(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQNetworkProtocol*) QtSupport::getQt(env, obj))->setAutoDelete((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QNetworkProtocol_setAutoDelete__ZI(JNIEnv* env, jobject obj, jboolean b, jint i) +{ + ((TQNetworkProtocol*) QtSupport::getQt(env, obj))->setAutoDelete((bool) b, (int) i); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QNetworkProtocol_setUrl(JNIEnv* env, jobject obj, jobject u) +{ + ((TQNetworkProtocol*) QtSupport::getQt(env, obj))->setUrl((TQUrlOperator*) QtSupport::getQt(env, u)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QNetworkProtocol_stop(JNIEnv* env, jobject obj) +{ + ((TQNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->public_stop(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QNetworkProtocol_supportedOperations(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQNetworkProtocol*) QtSupport::getQt(env, obj))->supportedOperations(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QNetworkProtocol_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQNetworkProtocolJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QNetworkProtocol_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQNetworkProtocolJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QNetworkProtocol_url(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQNetworkProtocol*) QtSupport::getQt(env, obj))->url(), "org.kde.qt.TQUrlOperator"); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQNetworkProtocol.h b/qtjava/javalib/qtjava/TQNetworkProtocol.h new file mode 100644 index 00000000..56da473a --- /dev/null +++ b/qtjava/javalib/qtjava/TQNetworkProtocol.h @@ -0,0 +1,47 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QNetworkProtocol__ +#define __org_kde_qt_QNetworkProtocol__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QNetworkProtocol_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QNetworkProtocol_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_newTQNetworkProtocol (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_setUrl (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_setAutoDelete__ZI (JNIEnv *env, jobject, jboolean, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_setAutoDelete__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QNetworkProtocol_autoDelete (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QNetworkProtocol_supportedOperations (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_addOperation (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QNetworkProtocol_url (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QNetworkProtocol_operationInProgress (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_clearOperationQueue (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_stop (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QNetworkProtocol_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QNetworkProtocol_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QNetworkProtocol_getNetworkProtocol (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QNetworkProtocol_hasOnlyLocalFileSystem (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_processOperation (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_operationListChildren (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_operationMkDir (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_operationRemove (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_operationRename (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_operationGet (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_operationPut (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_operationPutChunk (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QNetworkProtocol_checkConnection (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QNetworkProtocol_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QNetworkProtocol__ */ diff --git a/qtjava/javalib/qtjava/TQObject.cpp b/qtjava/javalib/qtjava/TQObject.cpp new file mode 100644 index 00000000..c2d9a33c --- /dev/null +++ b/qtjava/javalib/qtjava/TQObject.cpp @@ -0,0 +1,663 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +class TQObjectJBridge : public TQObject +{ +public: + TQObjectJBridge(TQObject* arg1,const char* arg2) : TQObject(arg1,arg2) {}; + TQObjectJBridge(TQObject* arg1) : TQObject(arg1) {}; + TQObjectJBridge() : TQObject() {}; + bool protected_activate_filters(TQEvent* arg1) { + return (bool) TQObject::activate_filters(arg1); + } + void protected_activate_signal(int arg1) { + TQObject::activate_signal(arg1); + return; + } + void protected_activate_signal(int arg1,int arg2) { + TQObject::activate_signal(arg1,arg2); + return; + } + void protected_activate_signal(int arg1,double arg2) { + TQObject::activate_signal(arg1,arg2); + return; + } + void protected_activate_signal(int arg1,TQString arg2) { + TQObject::activate_signal(arg1,arg2); + return; + } + void protected_activate_signal_bool(int arg1,bool arg2) { + TQObject::activate_signal_bool(arg1,arg2); + return; + } + const TQObject* protected_sender() { + return (const TQObject*) TQObject::sender(); + } + void protected_timerEvent(TQTimerEvent* arg1) { + TQObject::timerEvent(arg1); + return; + } + void protected_childEvent(TQChildEvent* arg1) { + TQObject::childEvent(arg1); + return; + } + void protected_customEvent(TQCustomEvent* arg1) { + TQObject::customEvent(arg1); + return; + } + void protected_connectNotify(const char* arg1) { + TQObject::connectNotify(arg1); + return; + } + void protected_disconnectNotify(const char* arg1) { + TQObject::disconnectNotify(arg1); + return; + } + bool protected_checkConnectArgs(const char* arg1,const TQObject* arg2,const char* arg3) { + return (bool) TQObject::checkConnectArgs(arg1,arg2,arg3); + } + static TQCString protected_normalizeSignalSlot(const char* arg1) { + return (TQCString) TQObject::normalizeSignalSlot(arg1); + } + ~TQObjectJBridge() {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.qt.TQObject",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QObject_activate_1filters(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_activate_filters((TQEvent*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QObject_activate_1signal_1bool(JNIEnv* env, jobject obj, jint signal, jboolean arg2) +{ + ((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_activate_signal_bool((int) signal, (bool) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QObject_activate_1signal__I(JNIEnv* env, jobject obj, jint signal) +{ + ((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_activate_signal((int) signal); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QObject_activate_1signal__ID(JNIEnv* env, jobject obj, jint signal, jdouble arg2) +{ + ((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_activate_signal((int) signal, (double) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QObject_activate_1signal__II(JNIEnv* env, jobject obj, jint signal, jint arg2) +{ + ((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_activate_signal((int) signal, (int) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QObject_activate_1signal__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint signal, jstring arg2) +{ +static TQString* _qstring_arg2 = 0; + ((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_activate_signal((int) signal, (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QObject_blockSignals(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQObject*) QtSupport::getQt(env, obj))->blockSignals((bool) b); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QObject_checkConnectArgs(JNIEnv* env, jobject obj, jstring signal, jobject receiver, jstring member) +{ +static TQCString* _qstring_signal = 0; + jboolean xret = (jboolean) ((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_checkConnectArgs((const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QObject_childEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TQChildEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QObject_child__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring objName) +{ +static TQCString* _qstring_objName = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQObject*) QtSupport::getQt(env, obj))->child((const char*) QtSupport::toCharString(env, objName, &_qstring_objName)), "org.kde.qt.TQObject"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QObject_child__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring objName, jstring inheritsClass) +{ +static TQCString* _qstring_objName = 0; +static TQCString* _qstring_inheritsClass = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQObject*) QtSupport::getQt(env, obj))->child((const char*) QtSupport::toCharString(env, objName, &_qstring_objName), (const char*) QtSupport::toCharString(env, inheritsClass, &_qstring_inheritsClass)), "org.kde.qt.TQObject"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QObject_child__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring objName, jstring inheritsClass, jboolean recursiveSearch) +{ +static TQCString* _qstring_objName = 0; +static TQCString* _qstring_inheritsClass = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQObject*) QtSupport::getQt(env, obj))->child((const char*) QtSupport::toCharString(env, objName, &_qstring_objName), (const char*) QtSupport::toCharString(env, inheritsClass, &_qstring_inheritsClass), (bool) recursiveSearch), "org.kde.qt.TQObject"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QObject_children(JNIEnv* env, jobject obj) +{ + const TQObjectList* _qlist; + _qlist = ((TQObject*) QtSupport::getQt(env, obj))->children(); + return (jobject) QtSupport::arrayWithTQObjectList(env, (TQObjectList*) _qlist); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QObject_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQObject*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QObject_connectInternal(JNIEnv* env, jclass cls, jobject sender, jint signal_index, jobject receiver, jint membcode, jint member_index) +{ + (void) cls; + TQObjectJBridge::connectInternal((const TQObject*) QtSupport::getQt(env, sender), (int) signal_index, (const TQObject*) QtSupport::getQt(env, receiver), (int) membcode, (int) member_index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QObject_connectNotify(JNIEnv* env, jobject obj, jstring signal) +{ +static TQCString* _qstring_signal = 0; + ((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_connectNotify((const char*) QtSupport::toCharString(env, signal, &_qstring_signal)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QObject_customEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_customEvent((TQCustomEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QObject_deleteLater(JNIEnv* env, jobject obj) +{ + ((TQObject*) QtSupport::getQt(env, obj))->deleteLater(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QObject_disconnectInternal(JNIEnv* env, jclass cls, jobject sender, jint signal_index, jobject receiver, jint membcode, jint member_index) +{ + (void) cls; + jboolean xret = (jboolean) TQObjectJBridge::disconnectInternal((const TQObject*) QtSupport::getQt(env, sender), (int) signal_index, (const TQObject*) QtSupport::getQt(env, receiver), (int) membcode, (int) member_index); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QObject_disconnectNotify(JNIEnv* env, jobject obj, jstring signal) +{ +static TQCString* _qstring_signal = 0; + ((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_disconnectNotify((const char*) QtSupport::toCharString(env, signal, &_qstring_signal)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QObject_disconnect__(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->disconnect(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QObject_disconnect__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring signal) +{ +static TQCString* _qstring_signal = 0; + jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->disconnect((const char*) QtSupport::toCharString(env, signal, &_qstring_signal)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QObject_disconnect__Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring signal, jobject receiver) +{ +static TQCString* _qstring_signal = 0; + jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->disconnect((const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::getQt(env, receiver)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QObject_disconnect__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject receiver) +{ + jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->disconnect((const TQObject*) QtSupport::getQt(env, receiver)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QObject_disconnect__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject receiver, jstring member) +{ + jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->disconnect((const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QObject_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QObject_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QObject_dumpObjectInfo(JNIEnv* env, jobject obj) +{ + ((TQObject*) QtSupport::getQt(env, obj))->dumpObjectInfo(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QObject_dumpObjectTree(JNIEnv* env, jobject obj) +{ + ((TQObject*) QtSupport::getQt(env, obj))->dumpObjectTree(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QObject_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) +{ + jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QObject_event(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->event((TQEvent*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QObject_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQObject*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQObject*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QObject_highPriority(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->highPriority(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QObject_inherits(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQCString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->inherits((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QObject_insertChild(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQObject*) QtSupport::getQt(env, obj))->insertChild((TQObject*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QObject_installEventFilter(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQObject*) QtSupport::getQt(env, obj))->installEventFilter((const TQObject*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QObject_isA(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQCString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->isA((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QObject_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QObject_isWidgetType(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->isWidgetType(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QObject_killTimer(JNIEnv* env, jobject obj, jint id) +{ + ((TQObject*) QtSupport::getQt(env, obj))->killTimer((int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QObject_killTimers(JNIEnv* env, jobject obj) +{ + ((TQObject*) QtSupport::getQt(env, obj))->killTimers(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QObject_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQObject*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QObject_name__(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQObject*) QtSupport::getQt(env, obj))->name(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QObject_name__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring defaultName) +{ + const char* _qstring; +static TQCString* _qstring_defaultName = 0; + _qstring = ((TQObject*) QtSupport::getQt(env, obj))->name((const char*) QtSupport::toCharString(env, defaultName, &_qstring_defaultName)); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QObject_newTQObject__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQObjectJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QObject_newTQObject__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQObjectJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QObject_newTQObject__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 TQObjectJBridge((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_qt_QObject_normalizeSignalSlot(JNIEnv* env, jclass cls, jstring signalSlot) +{ + TQCString _qstring; + (void) cls; +static TQCString* _qstring_signalSlot = 0; + _qstring = TQObjectJBridge::protected_normalizeSignalSlot((const char*) QtSupport::toCharString(env, signalSlot, &_qstring_signalSlot)); + return QtSupport::fromTQCString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QObject_objectTrees(JNIEnv* env, jclass cls) +{ + const TQObjectList* _qlist; + (void) cls; + _qlist = TQObjectJBridge::objectTrees(); + return (jobject) QtSupport::arrayWithTQObjectList(env, (TQObjectList*) _qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QObject_parent(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQObject*) QtSupport::getQt(env, obj))->parent(), "org.kde.qt.TQObject"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QObject_property(JNIEnv* env, jobject obj, jstring name) +{ +static TQCString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQObject*) QtSupport::getQt(env, obj))->property((const char*) QtSupport::toCharString(env, name, &_qstring_name))), "org.kde.qt.TQVariant", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QObject_queryList__(JNIEnv* env, jobject obj) +{ + TQObjectList* _qlist; + _qlist = ((TQObject*) QtSupport::getQt(env, obj))->queryList(); + return (jobject) QtSupport::arrayWithTQObjectList(env, (TQObjectList*) _qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QObject_queryList__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring inheritsClass) +{ + TQObjectList* _qlist; +static TQCString* _qstring_inheritsClass = 0; + _qlist = ((TQObject*) QtSupport::getQt(env, obj))->queryList((const char*) QtSupport::toCharString(env, inheritsClass, &_qstring_inheritsClass)); + return (jobject) QtSupport::arrayWithTQObjectList(env, (TQObjectList*) _qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QObject_queryList__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring inheritsClass, jstring objName) +{ + TQObjectList* _qlist; +static TQCString* _qstring_inheritsClass = 0; +static TQCString* _qstring_objName = 0; + _qlist = ((TQObject*) QtSupport::getQt(env, obj))->queryList((const char*) QtSupport::toCharString(env, inheritsClass, &_qstring_inheritsClass), (const char*) QtSupport::toCharString(env, objName, &_qstring_objName)); + return (jobject) QtSupport::arrayWithTQObjectList(env, (TQObjectList*) _qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QObject_queryList__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring inheritsClass, jstring objName, jboolean regexpMatch) +{ + TQObjectList* _qlist; +static TQCString* _qstring_inheritsClass = 0; +static TQCString* _qstring_objName = 0; + _qlist = ((TQObject*) QtSupport::getQt(env, obj))->queryList((const char*) QtSupport::toCharString(env, inheritsClass, &_qstring_inheritsClass), (const char*) QtSupport::toCharString(env, objName, &_qstring_objName), (bool) regexpMatch); + return (jobject) QtSupport::arrayWithTQObjectList(env, (TQObjectList*) _qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QObject_queryList__Ljava_lang_String_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring inheritsClass, jstring objName, jboolean regexpMatch, jboolean recursiveSearch) +{ + TQObjectList* _qlist; +static TQCString* _qstring_inheritsClass = 0; +static TQCString* _qstring_objName = 0; + _qlist = ((TQObject*) QtSupport::getQt(env, obj))->queryList((const char*) QtSupport::toCharString(env, inheritsClass, &_qstring_inheritsClass), (const char*) QtSupport::toCharString(env, objName, &_qstring_objName), (bool) regexpMatch, (bool) recursiveSearch); + return (jobject) QtSupport::arrayWithTQObjectList(env, (TQObjectList*) _qlist); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QObject_registerUserData(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jint xret = (jint) TQObjectJBridge::registerUserData(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QObject_removeChild(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQObject*) QtSupport::getQt(env, obj))->removeChild((TQObject*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QObject_removeEventFilter(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQObject*) QtSupport::getQt(env, obj))->removeEventFilter((const TQObject*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QObject_sender(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_sender(), "org.kde.qt.TQObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QObject_setName(JNIEnv* env, jobject obj, jstring name) +{ +static TQCString* _qstring_name = 0; + ((TQObject*) QtSupport::getQt(env, obj))->setName((const char*) QtSupport::toCharString(env, name, &_qstring_name)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QObject_setProperty(JNIEnv* env, jobject obj, jstring name, jobject value) +{ +static TQCString* _qstring_name = 0; + jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->setProperty((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, value)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QObject_signalsBlocked(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->signalsBlocked(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QObject_startTimer(JNIEnv* env, jobject obj, jint interval) +{ + jint xret = (jint) ((TQObject*) QtSupport::getQt(env, obj))->startTimer((int) interval); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QObject_timerEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_timerEvent((TQTimerEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QObject_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQObjectJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QObject_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQObjectJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QObject_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; + return (jboolean) QtSupport::connect(env, sender, signal, receiver, member); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QObject_connect__Lorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject sender, jstring signal, jstring member) +{ + return (jboolean) QtSupport::connect(env, sender, signal, obj, member); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QObject_disconnect__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; + return (jboolean) QtSupport::disconnect(env, sender, signal, receiver, member); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QObject_disconnect__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring signal, jobject receiver, jstring member) +{ + return (jboolean) QtSupport::disconnect(env, obj, signal, receiver, member); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QObject_emit(JNIEnv* env, jobject obj, jstring signal, jobjectArray args) +{ + QtSupport::emitJavaSignal(env, obj, signal, args); + return; +} + diff --git a/qtjava/javalib/qtjava/TQObject.h b/qtjava/javalib/qtjava/TQObject.h new file mode 100644 index 00000000..f87c9299 --- /dev/null +++ b/qtjava/javalib/qtjava/TQObject.h @@ -0,0 +1,89 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QObject__ +#define __org_kde_qt_QObject__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QObject_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QObject_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_newTQObject__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_newTQObject__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_newTQObject__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_event (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_eventFilter (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_isA (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_inherits (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QObject_name__ (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QObject_name__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_setName (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_isWidgetType (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_highPriority (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_signalsBlocked (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_blockSignals (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QObject_startTimer (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_killTimer (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_killTimers (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QObject_child__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QObject_child__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QObject_child__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QObject_children (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QObject_queryList__Ljava_lang_String_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jstring, jboolean, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QObject_queryList__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QObject_queryList__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QObject_queryList__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QObject_queryList__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_insertChild (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_removeChild (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_installEventFilter (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_removeEventFilter (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_connect__Lorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_disconnect__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_disconnect__Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_disconnect__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_disconnect__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_disconnect__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_disconnect__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_dumpObjectTree (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_dumpObjectInfo (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_setProperty (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QObject_property (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QObject_parent (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_deleteLater (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QObject_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QObject_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QObject_objectTrees (JNIEnv *env, jclass); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_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_qt_QObject_disconnect__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_connectInternal (JNIEnv *env, jclass, jobject, jint, jobject, jint, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_disconnectInternal (JNIEnv *env, jclass, jobject, jint, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QObject_registerUserData (JNIEnv *env, jclass); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_activate_1filters (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_activate_1signal__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_activate_1signal__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_activate_1signal__ID (JNIEnv *env, jobject, jint, jdouble); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_activate_1signal__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_activate_1signal_1bool (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QObject_sender (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_timerEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_childEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_customEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_connectNotify (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_disconnectNotify (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_checkConnectArgs (JNIEnv *env, jobject, jstring, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QObject_normalizeSignalSlot (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_isDisposed (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_emit__Ljava_lang_String_2_3Ljava_lang_Object_2 (JNIEnv *env, jobject, jstring, jobjectArray); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QObject__ */ diff --git a/qtjava/javalib/qtjava/TQObjectCleanupHandler.cpp b/qtjava/javalib/qtjava/TQObjectCleanupHandler.cpp new file mode 100644 index 00000000..b00d2b1e --- /dev/null +++ b/qtjava/javalib/qtjava/TQObjectCleanupHandler.cpp @@ -0,0 +1,148 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQObjectCleanupHandlerJBridge : public TQObjectCleanupHandler +{ +public: + TQObjectCleanupHandlerJBridge() : TQObjectCleanupHandler() {}; + ~TQObjectCleanupHandlerJBridge() {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.qt.TQObjectCleanupHandler",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QObjectCleanupHandler_add(JNIEnv* env, jobject obj, jobject object) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQObjectCleanupHandler*) QtSupport::getQt(env, obj))->add((TQObject*) QtSupport::getQt(env, object)), "org.kde.qt.TQObject"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QObjectCleanupHandler_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQObjectCleanupHandler*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QObjectCleanupHandler_clear(JNIEnv* env, jobject obj) +{ + ((TQObjectCleanupHandler*) QtSupport::getQt(env, obj))->clear(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QObjectCleanupHandler_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QObjectCleanupHandler_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QObjectCleanupHandler_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQObjectCleanupHandler*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQObjectCleanupHandler*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QObjectCleanupHandler_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QObjectCleanupHandler_isEmpty(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQObjectCleanupHandler*) QtSupport::getQt(env, obj))->isEmpty(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QObjectCleanupHandler_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQObjectCleanupHandler*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QObjectCleanupHandler_newTQObjectCleanupHandler(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQObjectCleanupHandlerJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QObjectCleanupHandler_remove(JNIEnv* env, jobject obj, jobject object) +{ + ((TQObjectCleanupHandler*) QtSupport::getQt(env, obj))->remove((TQObject*) QtSupport::getQt(env, object)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QObjectCleanupHandler_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQObjectCleanupHandlerJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QObjectCleanupHandler_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQObjectCleanupHandlerJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQObjectCleanupHandler.h b/qtjava/javalib/qtjava/TQObjectCleanupHandler.h new file mode 100644 index 00000000..066b3c88 --- /dev/null +++ b/qtjava/javalib/qtjava/TQObjectCleanupHandler.h @@ -0,0 +1,30 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QObjectCleanupHandler__ +#define __org_kde_qt_QObjectCleanupHandler__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QObjectCleanupHandler_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QObjectCleanupHandler_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QObjectCleanupHandler_newTQObjectCleanupHandler (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QObjectCleanupHandler_add (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QObjectCleanupHandler_remove (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObjectCleanupHandler_isEmpty (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QObjectCleanupHandler_clear (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QObjectCleanupHandler_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QObjectCleanupHandler_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QObjectCleanupHandler_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QObjectCleanupHandler_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObjectCleanupHandler_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QObjectCleanupHandler__ */ diff --git a/qtjava/javalib/qtjava/TQPaintDevice.cpp b/qtjava/javalib/qtjava/TQPaintDevice.cpp new file mode 100644 index 00000000..ba7f3ace --- /dev/null +++ b/qtjava/javalib/qtjava/TQPaintDevice.cpp @@ -0,0 +1,139 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + +class TQPaintDeviceJBridge : public TQPaintDevice +{ +public: + TQPaintDeviceJBridge(uint arg1) : TQPaintDevice(arg1) {}; + int protected_metric(int arg1) { + return (int) TQPaintDevice::metric(arg1); + } + int protected_fontMet(TQFont* arg1,int arg2,const char* arg3,int arg4) { + return (int) TQPaintDevice::fontMet(arg1,arg2,arg3,arg4); + } + int protected_fontMet(TQFont* arg1,int arg2,const char* arg3) { + return (int) TQPaintDevice::fontMet(arg1,arg2,arg3); + } + int protected_fontMet(TQFont* arg1,int arg2) { + return (int) TQPaintDevice::fontMet(arg1,arg2); + } + int protected_fontInf(TQFont* arg1,int arg2) { + return (int) TQPaintDevice::fontInf(arg1,arg2); + } + ~TQPaintDeviceJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPaintDevice_devType(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPaintDevice*) QtSupport::getQt(env, obj))->devType(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPaintDevice_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QPaintDevice_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPaintDevice_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQPaintDevice*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPaintDevice_fontInf(JNIEnv* env, jobject obj, jobject arg1, jint arg2) +{ + jint xret = (jint) ((TQPaintDeviceJBridge*) QtSupport::getQt(env, obj))->protected_fontInf((TQFont*) QtSupport::getQt(env, arg1), (int) arg2); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPaintDevice_fontMet__Lorg_kde_qt_QFont_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2) +{ + jint xret = (jint) ((TQPaintDeviceJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TQFont*) QtSupport::getQt(env, arg1), (int) arg2); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPaintDevice_fontMet__Lorg_kde_qt_QFont_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jint arg2, jstring arg3) +{ +static TQCString* _qstring_arg3 = 0; + jint xret = (jint) ((TQPaintDeviceJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TQFont*) QtSupport::getQt(env, arg1), (int) arg2, (const char*) QtSupport::toCharString(env, arg3, &_qstring_arg3)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPaintDevice_fontMet__Lorg_kde_qt_QFont_2ILjava_lang_String_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2, jstring arg3, jint arg4) +{ +static TQCString* _qstring_arg3 = 0; + jint xret = (jint) ((TQPaintDeviceJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TQFont*) QtSupport::getQt(env, arg1), (int) arg2, (const char*) QtSupport::toCharString(env, arg3, &_qstring_arg3), (int) arg4); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPaintDevice_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPaintDevice_isExtDev(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQPaintDevice*) QtSupport::getQt(env, obj))->isExtDev(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPaintDevice_metric(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQPaintDeviceJBridge*) QtSupport::getQt(env, obj))->protected_metric((int) arg1); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPaintDevice_newTQPaintDevice(JNIEnv* env, jobject obj, jint devflags) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPaintDeviceJBridge((uint) devflags)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPaintDevice_paintingActive(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQPaintDevice*) QtSupport::getQt(env, obj))->paintingActive(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPaintDevice_resolution(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPaintDevice*) QtSupport::getQt(env, obj))->resolution(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPaintDevice_setResolution(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQPaintDevice*) QtSupport::getQt(env, obj))->setResolution((int) arg1); + return; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QPaintDevice_paintDevice(JNIEnv* env, jobject obj) +{ + return (jlong) (TQPaintDevice *) QtSupport::getQt(env, obj); +} + diff --git a/qtjava/javalib/qtjava/TQPaintDevice.h b/qtjava/javalib/qtjava/TQPaintDevice.h new file mode 100644 index 00000000..baf6abea --- /dev/null +++ b/qtjava/javalib/qtjava/TQPaintDevice.h @@ -0,0 +1,33 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QPaintDevice__ +#define __org_kde_qt_QPaintDevice__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDevice_devType (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPaintDevice_isExtDev (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPaintDevice_paintingActive (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPaintDevice_setResolution (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDevice_resolution (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPaintDevice_newTQPaintDevice (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDevice_metric (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDevice_fontMet__Lorg_kde_qt_QFont_2ILjava_lang_String_2I (JNIEnv *env, jobject, jobject, jint, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDevice_fontMet__Lorg_kde_qt_QFont_2ILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDevice_fontMet__Lorg_kde_qt_QFont_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDevice_fontInf (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPaintDevice_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPaintDevice_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPaintDevice_isDisposed (JNIEnv *env, jobject); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QPaintDevice_paintDevice (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QPaintDevice__ */ diff --git a/qtjava/javalib/qtjava/TQPaintDeviceMetrics.cpp b/qtjava/javalib/qtjava/TQPaintDeviceMetrics.cpp new file mode 100644 index 00000000..a0358e1b --- /dev/null +++ b/qtjava/javalib/qtjava/TQPaintDeviceMetrics.cpp @@ -0,0 +1,116 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + +class TQPaintDeviceMetricsJBridge : public TQPaintDeviceMetrics +{ +public: + TQPaintDeviceMetricsJBridge(const TQPaintDevice* arg1) : TQPaintDeviceMetrics(arg1) {}; + ~TQPaintDeviceMetricsJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPaintDeviceMetrics_depth(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPaintDeviceMetrics*) QtSupport::getQt(env, obj))->depth(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPaintDeviceMetrics_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QPaintDeviceMetrics_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPaintDeviceMetrics_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQPaintDeviceMetrics*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPaintDeviceMetrics_heightMM(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPaintDeviceMetrics*) QtSupport::getQt(env, obj))->heightMM(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPaintDeviceMetrics_height(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPaintDeviceMetrics*) QtSupport::getQt(env, obj))->height(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPaintDeviceMetrics_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPaintDeviceMetrics_logicalDpiX(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPaintDeviceMetrics*) QtSupport::getQt(env, obj))->logicalDpiX(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPaintDeviceMetrics_logicalDpiY(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPaintDeviceMetrics*) QtSupport::getQt(env, obj))->logicalDpiY(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPaintDeviceMetrics_newTQPaintDeviceMetrics(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPaintDeviceMetricsJBridge((const TQPaintDevice*) QtSupport::paintDevice(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPaintDeviceMetrics_numColors(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPaintDeviceMetrics*) QtSupport::getQt(env, obj))->numColors(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPaintDeviceMetrics_physicalDpiX(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPaintDeviceMetrics*) QtSupport::getQt(env, obj))->physicalDpiX(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPaintDeviceMetrics_physicalDpiY(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPaintDeviceMetrics*) QtSupport::getQt(env, obj))->physicalDpiY(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPaintDeviceMetrics_widthMM(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPaintDeviceMetrics*) QtSupport::getQt(env, obj))->widthMM(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPaintDeviceMetrics_width(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPaintDeviceMetrics*) QtSupport::getQt(env, obj))->width(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQPaintDeviceMetrics.h b/qtjava/javalib/qtjava/TQPaintDeviceMetrics.h new file mode 100644 index 00000000..fcbf8278 --- /dev/null +++ b/qtjava/javalib/qtjava/TQPaintDeviceMetrics.h @@ -0,0 +1,32 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QPaintDeviceMetrics__ +#define __org_kde_qt_QPaintDeviceMetrics__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPaintDeviceMetrics_newTQPaintDeviceMetrics (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDeviceMetrics_width (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDeviceMetrics_height (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDeviceMetrics_widthMM (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDeviceMetrics_heightMM (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDeviceMetrics_logicalDpiX (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDeviceMetrics_logicalDpiY (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDeviceMetrics_physicalDpiX (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDeviceMetrics_physicalDpiY (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDeviceMetrics_numColors (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDeviceMetrics_depth (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPaintDeviceMetrics_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPaintDeviceMetrics_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPaintDeviceMetrics_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QPaintDeviceMetrics__ */ diff --git a/qtjava/javalib/qtjava/TQPaintEvent.cpp b/qtjava/javalib/qtjava/TQPaintEvent.cpp new file mode 100644 index 00000000..5549988d --- /dev/null +++ b/qtjava/javalib/qtjava/TQPaintEvent.cpp @@ -0,0 +1,124 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQPaintEventJBridge : public TQPaintEvent +{ +public: + TQPaintEventJBridge(const TQRegion& arg1,bool arg2) : TQPaintEvent(arg1,arg2) {}; + TQPaintEventJBridge(const TQRegion& arg1) : TQPaintEvent(arg1) {}; + TQPaintEventJBridge(const TQRect& arg1,bool arg2) : TQPaintEvent(arg1,arg2) {}; + TQPaintEventJBridge(const TQRect& arg1) : TQPaintEvent(arg1) {}; + TQPaintEventJBridge(const TQRegion& arg1,const TQRect& arg2,bool arg3) : TQPaintEvent(arg1,arg2,arg3) {}; + TQPaintEventJBridge(const TQRegion& arg1,const TQRect& arg2) : TQPaintEvent(arg1,arg2) {}; + ~TQPaintEventJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPaintEvent_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QPaintEvent_finalize(env, obj); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPaintEvent_erased(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQPaintEvent*) QtSupport::getQt(env, obj))->erased(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPaintEvent_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQPaintEvent*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPaintEvent_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPaintEvent_newTQPaintEvent__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject paintRect) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPaintEventJBridge((const TQRect&)*(const TQRect*) QtSupport::getQt(env, paintRect))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPaintEvent_newTQPaintEvent__Lorg_kde_qt_QRect_2Z(JNIEnv* env, jobject obj, jobject paintRect, jboolean erased) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPaintEventJBridge((const TQRect&)*(const TQRect*) QtSupport::getQt(env, paintRect), (bool) erased)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPaintEvent_newTQPaintEvent__Lorg_kde_qt_QRegion_2(JNIEnv* env, jobject obj, jobject paintRegion) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPaintEventJBridge((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, paintRegion))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPaintEvent_newTQPaintEvent__Lorg_kde_qt_QRegion_2Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject paintRegion, jobject paintRect) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPaintEventJBridge((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, paintRegion), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, paintRect))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPaintEvent_newTQPaintEvent__Lorg_kde_qt_QRegion_2Lorg_kde_qt_QRect_2Z(JNIEnv* env, jobject obj, jobject paintRegion, jobject paintRect, jboolean erased) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPaintEventJBridge((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, paintRegion), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, paintRect), (bool) erased)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPaintEvent_newTQPaintEvent__Lorg_kde_qt_QRegion_2Z(JNIEnv* env, jobject obj, jobject paintRegion, jboolean erased) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPaintEventJBridge((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, paintRegion), (bool) erased)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPaintEvent_rect(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRect *) &((TQPaintEvent*) QtSupport::getQt(env, obj))->rect(), "org.kde.qt.TQRect"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPaintEvent_region(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRegion *) &((TQPaintEvent*) QtSupport::getQt(env, obj))->region(), "org.kde.qt.TQRegion"); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQPaintEvent.h b/qtjava/javalib/qtjava/TQPaintEvent.h new file mode 100644 index 00000000..e0002747 --- /dev/null +++ b/qtjava/javalib/qtjava/TQPaintEvent.h @@ -0,0 +1,30 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QPaintEvent__ +#define __org_kde_qt_QPaintEvent__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPaintEvent_newTQPaintEvent__Lorg_kde_qt_QRegion_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPaintEvent_newTQPaintEvent__Lorg_kde_qt_QRegion_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPaintEvent_newTQPaintEvent__Lorg_kde_qt_QRect_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPaintEvent_newTQPaintEvent__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPaintEvent_newTQPaintEvent__Lorg_kde_qt_QRegion_2Lorg_kde_qt_QRect_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPaintEvent_newTQPaintEvent__Lorg_kde_qt_QRegion_2Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPaintEvent_rect (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPaintEvent_region (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPaintEvent_erased (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPaintEvent_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPaintEvent_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPaintEvent_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QPaintEvent__ */ diff --git a/qtjava/javalib/qtjava/TQPainter.cpp b/qtjava/javalib/qtjava/TQPainter.cpp new file mode 100644 index 00000000..d85341ad --- /dev/null +++ b/qtjava/javalib/qtjava/TQPainter.cpp @@ -0,0 +1,1372 @@ +//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 + +class TQPainterJBridge : public TQPainter +{ +public: + TQPainterJBridge() : TQPainter() {}; + TQPainterJBridge(const TQPaintDevice* arg1,bool arg2) : TQPainter(arg1,arg2) {}; + TQPainterJBridge(const TQPaintDevice* arg1) : TQPainter(arg1) {}; + TQPainterJBridge(const TQPaintDevice* arg1,const TQWidget* arg2,bool arg3) : TQPainter(arg1,arg2,arg3) {}; + TQPainterJBridge(const TQPaintDevice* arg1,const TQWidget* arg2) : TQPainter(arg1,arg2) {}; + ~TQPainterJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPainter_backgroundColor(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQPainter*) QtSupport::getQt(env, obj))->backgroundColor(), "org.kde.qt.TQColor"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPainter_backgroundMode(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPainter*) QtSupport::getQt(env, obj))->backgroundMode(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPainter_begin__Lorg_kde_qt_QPaintDeviceInterface_2(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQPainter*) QtSupport::getQt(env, obj))->begin((const TQPaintDevice*) QtSupport::paintDevice(env, arg1)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPainter_begin__Lorg_kde_qt_QPaintDeviceInterface_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) +{ + jboolean xret = (jboolean) ((TQPainter*) QtSupport::getQt(env, obj))->begin((const TQPaintDevice*) QtSupport::paintDevice(env, arg1), (const TQWidget*) QtSupport::getQt(env, arg2)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPainter_begin__Lorg_kde_qt_QPaintDeviceInterface_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jboolean unclipped) +{ + jboolean xret = (jboolean) ((TQPainter*) QtSupport::getQt(env, obj))->begin((const TQPaintDevice*) QtSupport::paintDevice(env, arg1), (const TQWidget*) QtSupport::getQt(env, arg2), (bool) unclipped); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPainter_begin__Lorg_kde_qt_QPaintDeviceInterface_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean unclipped) +{ + jboolean xret = (jboolean) ((TQPainter*) QtSupport::getQt(env, obj))->begin((const TQPaintDevice*) QtSupport::paintDevice(env, arg1), (bool) unclipped); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPainter_boundingRect__IIIIILjava_lang_String_2(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint flags, jstring arg6) +{ +static TQString* _qstring_arg6 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQPainter*) QtSupport::getQt(env, obj))->boundingRect((int) x, (int) y, (int) w, (int) h, (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6))), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPainter_boundingRect__IIIIILjava_lang_String_2I(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint flags, jstring arg6, jint len) +{ +static TQString* _qstring_arg6 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQPainter*) QtSupport::getQt(env, obj))->boundingRect((int) x, (int) y, (int) w, (int) h, (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (int) len)), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPainter_boundingRect__Lorg_kde_qt_QRect_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jint flags, jstring arg3) +{ +static TQString* _qstring_arg3 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQPainter*) QtSupport::getQt(env, obj))->boundingRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3))), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPainter_boundingRect__Lorg_kde_qt_QRect_2ILjava_lang_String_2I(JNIEnv* env, jobject obj, jobject arg1, jint flags, jstring arg3, jint len) +{ +static TQString* _qstring_arg3 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQPainter*) QtSupport::getQt(env, obj))->boundingRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (int) len)), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPainter_brushOrigin(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQPainter*) QtSupport::getQt(env, obj))->brushOrigin(), "org.kde.qt.TQPoint"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPainter_brush(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQBrush *) &((TQPainter*) QtSupport::getQt(env, obj))->brush(), "org.kde.qt.TQBrush"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_cleanup(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + TQPainterJBridge::cleanup(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPainter_clipRegion__(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQPainter*) QtSupport::getQt(env, obj))->clipRegion()), "org.kde.qt.TQRegion", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPainter_clipRegion__I(JNIEnv* env, jobject obj, jint arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQPainter*) QtSupport::getQt(env, obj))->clipRegion((TQPainter::CoordinateMode) arg1)), "org.kde.qt.TQRegion", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPainter_device(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQPainter*) QtSupport::getQt(env, obj))->device(), "org.kde.qt.TQPaintDeviceInterface"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QPainter_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawArc__IIIIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint a, jint alen) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawArc((int) x, (int) y, (int) w, (int) h, (int) a, (int) alen); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawArc__Lorg_kde_qt_QRect_2II(JNIEnv* env, jobject obj, jobject arg1, jint a, jint alen) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawArc((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (int) a, (int) alen); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawChord__IIIIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint a, jint alen) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawChord((int) x, (int) y, (int) w, (int) h, (int) a, (int) alen); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawChord__Lorg_kde_qt_QRect_2II(JNIEnv* env, jobject obj, jobject arg1, jint a, jint alen) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawChord((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (int) a, (int) alen); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawConvexPolygon__Lorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawConvexPolygon((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawConvexPolygon__Lorg_kde_qt_QPointArray_2I(JNIEnv* env, jobject obj, jobject arg1, jint index) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawConvexPolygon((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawConvexPolygon__Lorg_kde_qt_QPointArray_2II(JNIEnv* env, jobject obj, jobject arg1, jint index, jint npoints) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawConvexPolygon((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (int) index, (int) npoints); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawCubicBezier__Lorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawCubicBezier((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawCubicBezier__Lorg_kde_qt_QPointArray_2I(JNIEnv* env, jobject obj, jobject arg1, jint index) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawCubicBezier((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawEllipse__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawEllipse((int) x, (int) y, (int) w, (int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawEllipse__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawEllipse((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawImage__IILorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jint x, jint y, jobject arg3) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawImage((int) x, (int) y, (const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg3)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawImage__IILorg_kde_qt_QImage_2I(JNIEnv* env, jobject obj, jint x, jint y, jobject arg3, jint sx) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawImage((int) x, (int) y, (const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg3), (int) sx); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawImage__IILorg_kde_qt_QImage_2II(JNIEnv* env, jobject obj, jint x, jint y, jobject arg3, jint sx, jint sy) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawImage((int) x, (int) y, (const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg3), (int) sx, (int) sy); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawImage__IILorg_kde_qt_QImage_2III(JNIEnv* env, jobject obj, jint x, jint y, jobject arg3, jint sx, jint sy, jint sw) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawImage((int) x, (int) y, (const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg3), (int) sx, (int) sy, (int) sw); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawImage__IILorg_kde_qt_QImage_2IIII(JNIEnv* env, jobject obj, jint x, jint y, jobject arg3, jint sx, jint sy, jint sw, jint sh) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawImage((int) x, (int) y, (const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg3), (int) sx, (int) sy, (int) sw, (int) sh); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawImage__IILorg_kde_qt_QImage_2IIIII(JNIEnv* env, jobject obj, jint x, jint y, jobject arg3, jint sx, jint sy, jint sw, jint sh, jint conversionFlags) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawImage((int) x, (int) y, (const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg3), (int) sx, (int) sy, (int) sw, (int) sh, (int) conversionFlags); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawImage__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawImage((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawImage__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QImage_2I(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jint conversion_flags) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawImage((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg2), (int) conversion_flags); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawImage__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QImage_2Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jobject sr) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawImage((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg2), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, sr)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawImage__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QImage_2Lorg_kde_qt_QRect_2I(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jobject sr, jint conversionFlags) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawImage((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg2), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, sr), (int) conversionFlags); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawImage__Lorg_kde_qt_QRect_2Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawImage((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawLineSegments__Lorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawLineSegments((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawLineSegments__Lorg_kde_qt_QPointArray_2I(JNIEnv* env, jobject obj, jobject arg1, jint index) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawLineSegments((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawLineSegments__Lorg_kde_qt_QPointArray_2II(JNIEnv* env, jobject obj, jobject arg1, jint index, jint nlines) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawLineSegments((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (int) index, (int) nlines); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawLine__IIII(JNIEnv* env, jobject obj, jint x1, jint y1, jint x2, jint y2) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawLine((int) x1, (int) y1, (int) x2, (int) y2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawLine__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawLine((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawPicture__IILorg_kde_qt_QPicture_2(JNIEnv* env, jobject obj, jint x, jint y, jobject arg3) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawPicture((int) x, (int) y, (const TQPicture&)*(const TQPicture*) QtSupport::getQt(env, arg3)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawPicture__Lorg_kde_qt_QPicture_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawPicture((const TQPicture&)*(const TQPicture*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawPicture__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPicture_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawPicture((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQPicture&)*(const TQPicture*) QtSupport::getQt(env, arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawPie__IIIIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint a, jint alen) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawPie((int) x, (int) y, (int) w, (int) h, (int) a, (int) alen); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawPie__Lorg_kde_qt_QRect_2II(JNIEnv* env, jobject obj, jobject arg1, jint a, jint alen) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawPie((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (int) a, (int) alen); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawPixmap__IILorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jint x, jint y, jobject arg3) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawPixmap((int) x, (int) y, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg3)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawPixmap__IILorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jint x, jint y, jobject arg3, jint sx) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawPixmap((int) x, (int) y, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg3), (int) sx); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawPixmap__IILorg_kde_qt_QPixmap_2II(JNIEnv* env, jobject obj, jint x, jint y, jobject arg3, jint sx, jint sy) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawPixmap((int) x, (int) y, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg3), (int) sx, (int) sy); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawPixmap__IILorg_kde_qt_QPixmap_2III(JNIEnv* env, jobject obj, jint x, jint y, jobject arg3, jint sx, jint sy, jint sw) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawPixmap((int) x, (int) y, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg3), (int) sx, (int) sy, (int) sw); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawPixmap__IILorg_kde_qt_QPixmap_2IIII(JNIEnv* env, jobject obj, jint x, jint y, jobject arg3, jint sx, jint sy, jint sw, jint sh) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawPixmap((int) x, (int) y, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg3), (int) sx, (int) sy, (int) sw, (int) sh); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawPixmap__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawPixmap((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawPixmap__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jobject sr) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawPixmap((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg2), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, sr)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawPixmap__Lorg_kde_qt_QRect_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawPixmap((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawPoint__II(JNIEnv* env, jobject obj, jint x, jint y) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawPoint((int) x, (int) y); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawPoint__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawPoint((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawPoints__Lorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject a) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawPoints((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, a)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawPoints__Lorg_kde_qt_QPointArray_2I(JNIEnv* env, jobject obj, jobject a, jint index) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawPoints((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, a), (int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawPoints__Lorg_kde_qt_QPointArray_2II(JNIEnv* env, jobject obj, jobject a, jint index, jint npoints) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawPoints((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, a), (int) index, (int) npoints); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawPolygon__Lorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawPolygon((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawPolygon__Lorg_kde_qt_QPointArray_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean winding) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawPolygon((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (bool) winding); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawPolygon__Lorg_kde_qt_QPointArray_2ZI(JNIEnv* env, jobject obj, jobject arg1, jboolean winding, jint index) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawPolygon((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (bool) winding, (int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawPolygon__Lorg_kde_qt_QPointArray_2ZII(JNIEnv* env, jobject obj, jobject arg1, jboolean winding, jint index, jint npoints) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawPolygon((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (bool) winding, (int) index, (int) npoints); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawPolyline__Lorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawPolyline((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawPolyline__Lorg_kde_qt_QPointArray_2I(JNIEnv* env, jobject obj, jobject arg1, jint index) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawPolyline((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawPolyline__Lorg_kde_qt_QPointArray_2II(JNIEnv* env, jobject obj, jobject arg1, jint index, jint npoints) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawPolyline((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (int) index, (int) npoints); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawRect__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawRect((int) x, (int) y, (int) w, (int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawRect__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawRoundRect__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawRoundRect((int) x, (int) y, (int) w, (int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawRoundRect__IIIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint arg5) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawRoundRect((int) x, (int) y, (int) w, (int) h, (int) arg5); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawRoundRect__IIIIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint arg5, jint arg6) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawRoundRect((int) x, (int) y, (int) w, (int) h, (int) arg5, (int) arg6); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawRoundRect__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawRoundRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawRoundRect__Lorg_kde_qt_QRect_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawRoundRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (int) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawRoundRect__Lorg_kde_qt_QRect_2II(JNIEnv* env, jobject obj, jobject arg1, jint arg2, jint arg3) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawRoundRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (int) arg2, (int) arg3); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawText__IIIIILjava_lang_String_2(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint flags, jstring arg6) +{ +static TQString* _qstring_arg6 = 0; + ((TQPainter*) QtSupport::getQt(env, obj))->drawText((int) x, (int) y, (int) w, (int) h, (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawText__IIIIILjava_lang_String_2I(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint flags, jstring arg6, jint len) +{ +static TQString* _qstring_arg6 = 0; + ((TQPainter*) QtSupport::getQt(env, obj))->drawText((int) x, (int) y, (int) w, (int) h, (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (int) len); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawText__IIIIILjava_lang_String_2ILorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint flags, jstring arg6, jint len, jobject br) +{ +static TQString* _qstring_arg6 = 0; + ((TQPainter*) QtSupport::getQt(env, obj))->drawText((int) x, (int) y, (int) w, (int) h, (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (int) len, (TQRect*) QtSupport::getQt(env, br)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawText__IILjava_lang_String_2(JNIEnv* env, jobject obj, jint x, jint y, jstring arg3) +{ +static TQString* _qstring_arg3 = 0; + ((TQPainter*) QtSupport::getQt(env, obj))->drawText((int) x, (int) y, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawText__IILjava_lang_String_2I(JNIEnv* env, jobject obj, jint x, jint y, jstring arg3, jint len) +{ +static TQString* _qstring_arg3 = 0; + ((TQPainter*) QtSupport::getQt(env, obj))->drawText((int) x, (int) y, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (int) len); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawText__IILjava_lang_String_2II(JNIEnv* env, jobject obj, jint x, jint y, jstring arg3, jint len, jint dir) +{ +static TQString* _qstring_arg3 = 0; + ((TQPainter*) QtSupport::getQt(env, obj))->drawText((int) x, (int) y, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (int) len, (TQPainter::TextDirection) dir); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawText__IILjava_lang_String_2III(JNIEnv* env, jobject obj, jint x, jint y, jstring arg3, jint pos, jint len, jint dir) +{ +static TQString* _qstring_arg3 = 0; + ((TQPainter*) QtSupport::getQt(env, obj))->drawText((int) x, (int) y, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (int) pos, (int) len, (TQPainter::TextDirection) dir); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawText__Lorg_kde_qt_QPoint_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) +{ +static TQString* _qstring_arg2 = 0; + ((TQPainter*) QtSupport::getQt(env, obj))->drawText((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawText__Lorg_kde_qt_QPoint_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject arg1, jstring arg2, jint len) +{ +static TQString* _qstring_arg2 = 0; + ((TQPainter*) QtSupport::getQt(env, obj))->drawText((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (int) len); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawText__Lorg_kde_qt_QPoint_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jobject arg1, jstring arg2, jint len, jint dir) +{ +static TQString* _qstring_arg2 = 0; + ((TQPainter*) QtSupport::getQt(env, obj))->drawText((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (int) len, (TQPainter::TextDirection) dir); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawText__Lorg_kde_qt_QPoint_2Ljava_lang_String_2III(JNIEnv* env, jobject obj, jobject p, jstring arg2, jint pos, jint len, jint dir) +{ +static TQString* _qstring_arg2 = 0; + ((TQPainter*) QtSupport::getQt(env, obj))->drawText((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (int) pos, (int) len, (TQPainter::TextDirection) dir); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawText__Lorg_kde_qt_QRect_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jint flags, jstring arg3) +{ +static TQString* _qstring_arg3 = 0; + ((TQPainter*) QtSupport::getQt(env, obj))->drawText((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawText__Lorg_kde_qt_QRect_2ILjava_lang_String_2I(JNIEnv* env, jobject obj, jobject arg1, jint flags, jstring arg3, jint len) +{ +static TQString* _qstring_arg3 = 0; + ((TQPainter*) QtSupport::getQt(env, obj))->drawText((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (int) len); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawText__Lorg_kde_qt_QRect_2ILjava_lang_String_2ILorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1, jint flags, jstring arg3, jint len, jobject br) +{ +static TQString* _qstring_arg3 = 0; + ((TQPainter*) QtSupport::getQt(env, obj))->drawText((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (int) len, (TQRect*) QtSupport::getQt(env, br)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawTiledPixmap__IIIILorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jobject arg5) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawTiledPixmap((int) x, (int) y, (int) w, (int) h, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg5)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawTiledPixmap__IIIILorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jobject arg5, jint sx) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawTiledPixmap((int) x, (int) y, (int) w, (int) h, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg5), (int) sx); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawTiledPixmap__IIIILorg_kde_qt_QPixmap_2II(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jobject arg5, jint sx, jint sy) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawTiledPixmap((int) x, (int) y, (int) w, (int) h, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg5), (int) sx, (int) sy); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawTiledPixmap__Lorg_kde_qt_QRect_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawTiledPixmap((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawTiledPixmap__Lorg_kde_qt_QRect_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jobject arg3) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawTiledPixmap((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg2), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg3)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawWinFocusRect__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawWinFocusRect((int) x, (int) y, (int) w, (int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawWinFocusRect__IIIILorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jobject bgColor) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawWinFocusRect((int) x, (int) y, (int) w, (int) h, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, bgColor)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawWinFocusRect__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawWinFocusRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_drawWinFocusRect__Lorg_kde_qt_QRect_2Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject arg1, jobject bgColor) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->drawWinFocusRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, bgColor)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPainter_end(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQPainter*) QtSupport::getQt(env, obj))->end(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_eraseRect__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->eraseRect((int) x, (int) y, (int) w, (int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_eraseRect__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->eraseRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_fillRect__IIIILorg_kde_qt_QBrush_2(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jobject arg5) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->fillRect((int) x, (int) y, (int) w, (int) h, (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, arg5)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_fillRect__Lorg_kde_qt_QRect_2Lorg_kde_qt_QBrush_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->fillRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQPainter*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_flush__(JNIEnv* env, jobject obj) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->flush(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_flush__Lorg_kde_qt_QRegion_2(JNIEnv* env, jobject obj, jobject region) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->flush((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, region)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_flush__Lorg_kde_qt_QRegion_2I(JNIEnv* env, jobject obj, jobject region, jint cm) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->flush((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, region), (TQPainter::CoordinateMode) cm); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPainter_fontInfo(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFontInfo(((TQPainter*) QtSupport::getQt(env, obj))->fontInfo()), "org.kde.qt.TQFontInfo", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPainter_fontMetrics(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFontMetrics(((TQPainter*) QtSupport::getQt(env, obj))->fontMetrics()), "org.kde.qt.TQFontMetrics", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPainter_font(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQFont *) &((TQPainter*) QtSupport::getQt(env, obj))->font(), "org.kde.qt.TQFont"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPainter_hasClipping(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQPainter*) QtSupport::getQt(env, obj))->hasClipping(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPainter_hasViewXForm(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQPainter*) QtSupport::getQt(env, obj))->hasViewXForm(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPainter_hasWorldXForm(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQPainter*) QtSupport::getQt(env, obj))->hasWorldXForm(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_initialize(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + TQPainterJBridge::initialize(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPainter_isActive(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQPainter*) QtSupport::getQt(env, obj))->isActive(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPainter_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_lineTo__II(JNIEnv* env, jobject obj, jint x, jint y) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->lineTo((int) x, (int) y); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_lineTo__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->lineTo((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_moveTo__II(JNIEnv* env, jobject obj, jint x, jint y) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->moveTo((int) x, (int) y); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_moveTo__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->moveTo((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_newTQPainter__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPainterJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_newTQPainter__Lorg_kde_qt_QPaintDeviceInterface_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPainterJBridge((const TQPaintDevice*) QtSupport::paintDevice(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_newTQPainter__Lorg_kde_qt_QPaintDeviceInterface_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPainterJBridge((const TQPaintDevice*) QtSupport::paintDevice(env, arg1), (const TQWidget*) QtSupport::getQt(env, arg2))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_newTQPainter__Lorg_kde_qt_QPaintDeviceInterface_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jboolean unclipped) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPainterJBridge((const TQPaintDevice*) QtSupport::paintDevice(env, arg1), (const TQWidget*) QtSupport::getQt(env, arg2), (bool) unclipped)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_newTQPainter__Lorg_kde_qt_QPaintDeviceInterface_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean unclipped) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPainterJBridge((const TQPaintDevice*) QtSupport::paintDevice(env, arg1), (bool) unclipped)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPainter_pen(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPen *) &((TQPainter*) QtSupport::getQt(env, obj))->pen(), "org.kde.qt.TQPen"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPainter_pos(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQPainter*) QtSupport::getQt(env, obj))->pos()), "org.kde.qt.TQPoint", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPainter_rasterOp(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPainter*) QtSupport::getQt(env, obj))->rasterOp(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPainter_redirect__Lorg_kde_qt_QPaintDeviceInterface_2(JNIEnv* env, jclass cls, jobject pdev) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQPainterJBridge::redirect((TQPaintDevice*) QtSupport::paintDevice(env, pdev)), "org.kde.qt.TQPaintDeviceInterface"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_redirect__Lorg_kde_qt_QPaintDeviceInterface_2Lorg_kde_qt_QPaintDeviceInterface_2(JNIEnv* env, jclass cls, jobject pdev, jobject replacement) +{ + (void) cls; + TQPainterJBridge::redirect((TQPaintDevice*) QtSupport::paintDevice(env, pdev), (TQPaintDevice*) QtSupport::paintDevice(env, replacement)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_resetXForm(JNIEnv* env, jobject obj) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->resetXForm(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_restoreWorldMatrix(JNIEnv* env, jobject obj) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->restoreWorldMatrix(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_restore(JNIEnv* env, jobject obj) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->restore(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_rotate(JNIEnv* env, jobject obj, jdouble a) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->rotate((double) a); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_saveWorldMatrix(JNIEnv* env, jobject obj) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->saveWorldMatrix(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_save(JNIEnv* env, jobject obj) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->save(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_scale(JNIEnv* env, jobject obj, jdouble sx, jdouble sy) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->scale((double) sx, (double) sy); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_setBackgroundColor(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->setBackgroundColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_setBackgroundMode(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->setBackgroundMode((TQt::BGMode) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_setBrushOrigin__II(JNIEnv* env, jobject obj, jint x, jint y) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->setBrushOrigin((int) x, (int) y); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_setBrushOrigin__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->setBrushOrigin((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_setBrush__I(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->setBrush((TQt::BrushStyle) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_setBrush__Lorg_kde_qt_QBrush_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->setBrush((const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_setBrush__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->setBrush((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_setClipRect__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->setClipRect((int) x, (int) y, (int) w, (int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_setClipRect__IIIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint arg5) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->setClipRect((int) x, (int) y, (int) w, (int) h, (TQPainter::CoordinateMode) arg5); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_setClipRect__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->setClipRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_setClipRect__Lorg_kde_qt_QRect_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->setClipRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (TQPainter::CoordinateMode) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_setClipRegion__Lorg_kde_qt_QRegion_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->setClipRegion((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_setClipRegion__Lorg_kde_qt_QRegion_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->setClipRegion((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1), (TQPainter::CoordinateMode) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_setClipping(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->setClipping((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_setFont(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_setPen__I(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->setPen((TQt::PenStyle) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_setPen__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->setPen((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_setPen__Lorg_kde_qt_QPen_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->setPen((const TQPen&)*(const TQPen*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_setRasterOp(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->setRasterOp((TQt::RasterOp) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_setTabArray(JNIEnv* env, jobject obj, jintArray arg1) +{ + int* _int_arg1 = QtSupport::toIntPtr(env, arg1); + ((TQPainter*) QtSupport::getQt(env, obj))->setTabArray( (int*) _int_arg1); + env->SetIntArrayRegion(arg1, 0, 1, (jint *) _int_arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_setTabStops(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->setTabStops((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_setViewXForm(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->setViewXForm((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_setViewport__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->setViewport((int) x, (int) y, (int) w, (int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_setViewport__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->setViewport((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_setWindow__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->setWindow((int) x, (int) y, (int) w, (int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_setWindow__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->setWindow((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_setWorldMatrix__Lorg_kde_qt_QWMatrix_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->setWorldMatrix((const TQWMatrix&)*(const TQWMatrix*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_setWorldMatrix__Lorg_kde_qt_QWMatrix_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean combine) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->setWorldMatrix((const TQWMatrix&)*(const TQWMatrix*) QtSupport::getQt(env, arg1), (bool) combine); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_setWorldXForm(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->setWorldXForm((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_shear(JNIEnv* env, jobject obj, jdouble sh, jdouble sv) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->shear((double) sh, (double) sv); + return; +} + +JNIEXPORT jintArray JNICALL +Java_org_kde_qt_QPainter_tabArray(JNIEnv* env, jobject obj) +{ + int* _qint; + _qint = ((TQPainter*) QtSupport::getQt(env, obj))->tabArray(); + return QtSupport::fromIntPtr(env, (int*)_qint); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPainter_tabStops(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPainter*) QtSupport::getQt(env, obj))->tabStops(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPainter_translate(JNIEnv* env, jobject obj, jdouble dx, jdouble dy) +{ + ((TQPainter*) QtSupport::getQt(env, obj))->translate((double) dx, (double) dy); + return; +} + +JNIEXPORT jdouble JNICALL +Java_org_kde_qt_QPainter_translationX(JNIEnv* env, jobject obj) +{ + jdouble xret = (jdouble) ((TQPainter*) QtSupport::getQt(env, obj))->translationX(); + return xret; +} + +JNIEXPORT jdouble JNICALL +Java_org_kde_qt_QPainter_translationY(JNIEnv* env, jobject obj) +{ + jdouble xret = (jdouble) ((TQPainter*) QtSupport::getQt(env, obj))->translationY(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPainter_viewport(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQPainter*) QtSupport::getQt(env, obj))->viewport()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPainter_window(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQPainter*) QtSupport::getQt(env, obj))->window()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPainter_worldMatrix(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQWMatrix *) &((TQPainter*) QtSupport::getQt(env, obj))->worldMatrix(), "org.kde.qt.TQWMatrix"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPainter_xFormDev__Lorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQPainter*) QtSupport::getQt(env, obj))->xFormDev((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQPointArray", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPainter_xFormDev__Lorg_kde_qt_QPointArray_2II(JNIEnv* env, jobject obj, jobject arg1, jint index, jint npoints) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQPainter*) QtSupport::getQt(env, obj))->xFormDev((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (int) index, (int) npoints)), "org.kde.qt.TQPointArray", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPainter_xFormDev__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQPainter*) QtSupport::getQt(env, obj))->xFormDev((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQPoint", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPainter_xFormDev__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQPainter*) QtSupport::getQt(env, obj))->xFormDev((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPainter_xForm__Lorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQPainter*) QtSupport::getQt(env, obj))->xForm((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQPointArray", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPainter_xForm__Lorg_kde_qt_QPointArray_2II(JNIEnv* env, jobject obj, jobject arg1, jint index, jint npoints) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQPainter*) QtSupport::getQt(env, obj))->xForm((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (int) index, (int) npoints)), "org.kde.qt.TQPointArray", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPainter_xForm__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQPainter*) QtSupport::getQt(env, obj))->xForm((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQPoint", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPainter_xForm__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQPainter*) QtSupport::getQt(env, obj))->xForm((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQRect", TRUE); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQPainter.h b/qtjava/javalib/qtjava/TQPainter.h new file mode 100644 index 00000000..54120f50 --- /dev/null +++ b/qtjava/javalib/qtjava/TQPainter.h @@ -0,0 +1,203 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QPainter__ +#define __org_kde_qt_QPainter__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_newTQPainter__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_newTQPainter__Lorg_kde_qt_QPaintDeviceInterface_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_newTQPainter__Lorg_kde_qt_QPaintDeviceInterface_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_newTQPainter__Lorg_kde_qt_QPaintDeviceInterface_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_newTQPainter__Lorg_kde_qt_QPaintDeviceInterface_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPainter_begin__Lorg_kde_qt_QPaintDeviceInterface_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPainter_begin__Lorg_kde_qt_QPaintDeviceInterface_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPainter_begin__Lorg_kde_qt_QPaintDeviceInterface_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPainter_begin__Lorg_kde_qt_QPaintDeviceInterface_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPainter_end (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_device (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPainter_isActive (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_flush__Lorg_kde_qt_QRegion_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_flush__Lorg_kde_qt_QRegion_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_flush__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_save (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_restore (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_fontMetrics (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_fontInfo (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_font (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setFont (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_pen (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setPen__Lorg_kde_qt_QPen_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setPen__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setPen__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_brush (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setBrush__Lorg_kde_qt_QBrush_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setBrush__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setBrush__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_pos (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_backgroundColor (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setBackgroundColor (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPainter_backgroundMode (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setBackgroundMode (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPainter_rasterOp (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setRasterOp (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_brushOrigin (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setBrushOrigin__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setBrushOrigin__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPainter_hasViewXForm (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPainter_hasWorldXForm (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setViewXForm (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_window (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setWindow__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setWindow__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_viewport (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setViewport__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setViewport__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setWorldXForm (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_worldMatrix (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setWorldMatrix__Lorg_kde_qt_QWMatrix_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setWorldMatrix__Lorg_kde_qt_QWMatrix_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_saveWorldMatrix (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_restoreWorldMatrix (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_scale (JNIEnv *env, jobject, jdouble, jdouble); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_shear (JNIEnv *env, jobject, jdouble, jdouble); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_rotate (JNIEnv *env, jobject, jdouble); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_translate (JNIEnv *env, jobject, jdouble, jdouble); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_resetXForm (JNIEnv *env, jobject); +extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QPainter_translationX (JNIEnv *env, jobject); +extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QPainter_translationY (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_xForm__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_xForm__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_xForm__Lorg_kde_qt_QPointArray_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_xForm__Lorg_kde_qt_QPointArray_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_xFormDev__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_xFormDev__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_xFormDev__Lorg_kde_qt_QPointArray_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_xFormDev__Lorg_kde_qt_QPointArray_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setClipping (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPainter_hasClipping (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_clipRegion__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_clipRegion__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setClipRect__Lorg_kde_qt_QRect_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setClipRect__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setClipRect__IIIII (JNIEnv *env, jobject, jint, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setClipRect__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setClipRegion__Lorg_kde_qt_QRegion_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setClipRegion__Lorg_kde_qt_QRegion_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPoint__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPoint__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPoints__Lorg_kde_qt_QPointArray_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPoints__Lorg_kde_qt_QPointArray_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPoints__Lorg_kde_qt_QPointArray_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_moveTo__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_moveTo__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_lineTo__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_lineTo__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawLine__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawLine__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawRect__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawRect__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawWinFocusRect__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawWinFocusRect__IIIILorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawWinFocusRect__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawWinFocusRect__Lorg_kde_qt_QRect_2Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawRoundRect__IIIIII (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawRoundRect__IIIII (JNIEnv *env, jobject, jint, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawRoundRect__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawRoundRect__Lorg_kde_qt_QRect_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawRoundRect__Lorg_kde_qt_QRect_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawRoundRect__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawEllipse__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawEllipse__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawArc__IIIIII (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawArc__Lorg_kde_qt_QRect_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPie__IIIIII (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPie__Lorg_kde_qt_QRect_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawChord__IIIIII (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawChord__Lorg_kde_qt_QRect_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawLineSegments__Lorg_kde_qt_QPointArray_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawLineSegments__Lorg_kde_qt_QPointArray_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawLineSegments__Lorg_kde_qt_QPointArray_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPolyline__Lorg_kde_qt_QPointArray_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPolyline__Lorg_kde_qt_QPointArray_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPolyline__Lorg_kde_qt_QPointArray_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPolygon__Lorg_kde_qt_QPointArray_2ZII (JNIEnv *env, jobject, jobject, jboolean, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPolygon__Lorg_kde_qt_QPointArray_2ZI (JNIEnv *env, jobject, jobject, jboolean, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPolygon__Lorg_kde_qt_QPointArray_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPolygon__Lorg_kde_qt_QPointArray_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawConvexPolygon__Lorg_kde_qt_QPointArray_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawConvexPolygon__Lorg_kde_qt_QPointArray_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawConvexPolygon__Lorg_kde_qt_QPointArray_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawCubicBezier__Lorg_kde_qt_QPointArray_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawCubicBezier__Lorg_kde_qt_QPointArray_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPixmap__IILorg_kde_qt_QPixmap_2IIII (JNIEnv *env, jobject, jint, jint, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPixmap__IILorg_kde_qt_QPixmap_2III (JNIEnv *env, jobject, jint, jint, jobject, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPixmap__IILorg_kde_qt_QPixmap_2II (JNIEnv *env, jobject, jint, jint, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPixmap__IILorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jint, jint, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPixmap__IILorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jint, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPixmap__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPixmap__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPixmap__Lorg_kde_qt_QRect_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawImage__IILorg_kde_qt_QImage_2IIIII (JNIEnv *env, jobject, jint, jint, jobject, jint, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawImage__IILorg_kde_qt_QImage_2IIII (JNIEnv *env, jobject, jint, jint, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawImage__IILorg_kde_qt_QImage_2III (JNIEnv *env, jobject, jint, jint, jobject, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawImage__IILorg_kde_qt_QImage_2II (JNIEnv *env, jobject, jint, jint, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawImage__IILorg_kde_qt_QImage_2I (JNIEnv *env, jobject, jint, jint, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawImage__IILorg_kde_qt_QImage_2 (JNIEnv *env, jobject, jint, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawImage__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QImage_2Lorg_kde_qt_QRect_2I (JNIEnv *env, jobject, jobject, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawImage__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QImage_2Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawImage__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QImage_2I (JNIEnv *env, jobject, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawImage__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QImage_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawImage__Lorg_kde_qt_QRect_2Lorg_kde_qt_QImage_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawTiledPixmap__IIIILorg_kde_qt_QPixmap_2II (JNIEnv *env, jobject, jint, jint, jint, jint, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawTiledPixmap__IIIILorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jint, jint, jint, jint, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawTiledPixmap__IIIILorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawTiledPixmap__Lorg_kde_qt_QRect_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawTiledPixmap__Lorg_kde_qt_QRect_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPicture__Lorg_kde_qt_QPicture_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPicture__IILorg_kde_qt_QPicture_2 (JNIEnv *env, jobject, jint, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawPicture__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPicture_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_fillRect__IIIILorg_kde_qt_QBrush_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_fillRect__Lorg_kde_qt_QRect_2Lorg_kde_qt_QBrush_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_eraseRect__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_eraseRect__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawText__IILjava_lang_String_2II (JNIEnv *env, jobject, jint, jint, jstring, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawText__IILjava_lang_String_2I (JNIEnv *env, jobject, jint, jint, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawText__IILjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawText__Lorg_kde_qt_QPoint_2Ljava_lang_String_2II (JNIEnv *env, jobject, jobject, jstring, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawText__Lorg_kde_qt_QPoint_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawText__Lorg_kde_qt_QPoint_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawText__IILjava_lang_String_2III (JNIEnv *env, jobject, jint, jint, jstring, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawText__Lorg_kde_qt_QPoint_2Ljava_lang_String_2III (JNIEnv *env, jobject, jobject, jstring, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawText__IIIIILjava_lang_String_2ILorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jstring, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawText__IIIIILjava_lang_String_2I (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawText__IIIIILjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawText__Lorg_kde_qt_QRect_2ILjava_lang_String_2ILorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject, jint, jstring, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawText__Lorg_kde_qt_QRect_2ILjava_lang_String_2I (JNIEnv *env, jobject, jobject, jint, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_drawText__Lorg_kde_qt_QRect_2ILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_boundingRect__IIIIILjava_lang_String_2I (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jstring, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_boundingRect__IIIIILjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_boundingRect__Lorg_kde_qt_QRect_2ILjava_lang_String_2I (JNIEnv *env, jobject, jobject, jint, jstring, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_boundingRect__Lorg_kde_qt_QRect_2ILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPainter_tabStops (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setTabStops (JNIEnv *env, jobject, jint); +extern JNIEXPORT jintArray JNICALL Java_org_kde_qt_QPainter_tabArray (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setTabArray (JNIEnv *env, jobject, jintArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_redirect__Lorg_kde_qt_QPaintDeviceInterface_2Lorg_kde_qt_QPaintDeviceInterface_2 (JNIEnv *env, jclass, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPainter_redirect__Lorg_kde_qt_QPaintDeviceInterface_2 (JNIEnv *env, jclass, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_initialize (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_cleanup (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPainter_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QPainter__ */ diff --git a/qtjava/javalib/qtjava/TQPalette.cpp b/qtjava/javalib/qtjava/TQPalette.cpp new file mode 100644 index 00000000..cdb7d59f --- /dev/null +++ b/qtjava/javalib/qtjava/TQPalette.cpp @@ -0,0 +1,244 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +class TQPaletteJBridge : public TQPalette +{ +public: + TQPaletteJBridge() : TQPalette() {}; + TQPaletteJBridge(const TQColor& arg1) : TQPalette(arg1) {}; + TQPaletteJBridge(const TQColor& arg1,const TQColor& arg2) : TQPalette(arg1,arg2) {}; + TQPaletteJBridge(const TQColorGroup& arg1,const TQColorGroup& arg2,const TQColorGroup& arg3) : TQPalette(arg1,arg2,arg3) {}; + TQPaletteJBridge(const TQPalette& arg1) : TQPalette(arg1) {}; + ~TQPaletteJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPalette_active(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColorGroup *) &((TQPalette*) QtSupport::getQt(env, obj))->active(), "org.kde.qt.TQColorGroup"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPalette_backgroundRoleFromMode(JNIEnv* env, jclass cls, jint mode) +{ + (void) cls; + (void) env; + jint xret = (jint) TQPaletteJBridge::backgroundRoleFromMode((TQt::BackgroundMode) mode); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPalette_brush(JNIEnv* env, jobject obj, jint arg1, jint arg2) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQBrush *) &((TQPalette*) QtSupport::getQt(env, obj))->brush((TQPalette::ColorGroup) arg1, (TQColorGroup::ColorRole) arg2), "org.kde.qt.TQBrush"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPalette_color(JNIEnv* env, jobject obj, jint arg1, jint arg2) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQPalette*) QtSupport::getQt(env, obj))->color((TQPalette::ColorGroup) arg1, (TQColorGroup::ColorRole) arg2), "org.kde.qt.TQColor"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPalette_copy(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPalette(((TQPalette*) QtSupport::getQt(env, obj))->copy()), "org.kde.qt.TQPalette", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPalette_disabled(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColorGroup *) &((TQPalette*) QtSupport::getQt(env, obj))->disabled(), "org.kde.qt.TQColorGroup"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPalette_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QPalette_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPalette_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQPalette*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPalette_foregroundRoleFromMode(JNIEnv* env, jclass cls, jint mode) +{ + (void) cls; + (void) env; + jint xret = (jint) TQPaletteJBridge::foregroundRoleFromMode((TQt::BackgroundMode) mode); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPalette_inactive(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColorGroup *) &((TQPalette*) QtSupport::getQt(env, obj))->inactive(), "org.kde.qt.TQColorGroup"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPalette_isCopyOf(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQPalette*) QtSupport::getQt(env, obj))->isCopyOf((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPalette_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPalette_newTQPalette__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPaletteJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPalette_newTQPalette__Lorg_kde_qt_QColorGroup_2Lorg_kde_qt_QColorGroup_2Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jobject obj, jobject active, jobject disabled, jobject inactive) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPaletteJBridge((const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, active), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, disabled), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, inactive))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPalette_newTQPalette__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject button) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPaletteJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, button))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPalette_newTQPalette__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject button, jobject background) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPaletteJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, button), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, background))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPalette_newTQPalette__Lorg_kde_qt_QPalette_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPaletteJBridge((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPalette_normal(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColorGroup *) &((TQPalette*) QtSupport::getQt(env, obj))->normal(), "org.kde.qt.TQColorGroup"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPalette_op_1equals(JNIEnv* env, jobject obj, jobject p) +{ + jboolean xret = (jboolean) ((TQPalette*) QtSupport::getQt(env, obj))->operator==((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, p)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPalette_op_1not_1equals(JNIEnv* env, jobject obj, jobject p) +{ + jboolean xret = (jboolean) ((TQPalette*) QtSupport::getQt(env, obj))->operator!=((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, p)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPalette_serialNumber(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPalette*) QtSupport::getQt(env, obj))->serialNumber(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPalette_setActive(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPalette*) QtSupport::getQt(env, obj))->setActive((const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPalette_setBrush__IILorg_kde_qt_QBrush_2(JNIEnv* env, jobject obj, jint arg1, jint arg2, jobject arg3) +{ + ((TQPalette*) QtSupport::getQt(env, obj))->setBrush((TQPalette::ColorGroup) arg1, (TQColorGroup::ColorRole) arg2, (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, arg3)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPalette_setBrush__ILorg_kde_qt_QBrush_2(JNIEnv* env, jobject obj, jint arg1, jobject arg2) +{ + ((TQPalette*) QtSupport::getQt(env, obj))->setBrush((TQColorGroup::ColorRole) arg1, (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPalette_setColor__IILorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jint arg1, jint arg2, jobject arg3) +{ + ((TQPalette*) QtSupport::getQt(env, obj))->setColor((TQPalette::ColorGroup) arg1, (TQColorGroup::ColorRole) arg2, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg3)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPalette_setColor__ILorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jint arg1, jobject arg2) +{ + ((TQPalette*) QtSupport::getQt(env, obj))->setColor((TQColorGroup::ColorRole) arg1, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPalette_setDisabled(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPalette*) QtSupport::getQt(env, obj))->setDisabled((const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPalette_setInactive(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPalette*) QtSupport::getQt(env, obj))->setInactive((const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPalette_setNormal(JNIEnv* env, jobject obj, jobject cg) +{ + ((TQPalette*) QtSupport::getQt(env, obj))->setNormal((const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg)); + return; +} + diff --git a/qtjava/javalib/qtjava/TQPalette.h b/qtjava/javalib/qtjava/TQPalette.h new file mode 100644 index 00000000..4417a42a --- /dev/null +++ b/qtjava/javalib/qtjava/TQPalette.h @@ -0,0 +1,47 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QPalette__ +#define __org_kde_qt_QPalette__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPalette_newTQPalette__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPalette_newTQPalette__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPalette_newTQPalette__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPalette_newTQPalette__Lorg_kde_qt_QColorGroup_2Lorg_kde_qt_QColorGroup_2Lorg_kde_qt_QColorGroup_2 (JNIEnv *env, jobject, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPalette_newTQPalette__Lorg_kde_qt_QPalette_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPalette_color (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPalette_brush (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPalette_setColor__IILorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jint, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPalette_setBrush__IILorg_kde_qt_QBrush_2 (JNIEnv *env, jobject, jint, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPalette_setColor__ILorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPalette_setBrush__ILorg_kde_qt_QBrush_2 (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPalette_copy (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPalette_active (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPalette_disabled (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPalette_inactive (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPalette_normal (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPalette_setActive (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPalette_setDisabled (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPalette_setInactive (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPalette_setNormal (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPalette_op_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPalette_op_1not_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPalette_isCopyOf (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPalette_serialNumber (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPalette_foregroundRoleFromMode (JNIEnv *env, jclass, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPalette_backgroundRoleFromMode (JNIEnv *env, jclass, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPalette_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPalette_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPalette_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QPalette__ */ diff --git a/qtjava/javalib/qtjava/TQPen.cpp b/qtjava/javalib/qtjava/TQPen.cpp new file mode 100644 index 00000000..4e0cd296 --- /dev/null +++ b/qtjava/javalib/qtjava/TQPen.cpp @@ -0,0 +1,198 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQPenJBridge : public TQPen +{ +public: + TQPenJBridge() : TQPen() {}; + TQPenJBridge(TQt::PenStyle arg1) : TQPen(arg1) {}; + TQPenJBridge(const TQColor& arg1,uint arg2,TQt::PenStyle arg3) : TQPen(arg1,arg2,arg3) {}; + TQPenJBridge(const TQColor& arg1,uint arg2) : TQPen(arg1,arg2) {}; + TQPenJBridge(const TQColor& arg1) : TQPen(arg1) {}; + TQPenJBridge(const TQColor& arg1,uint arg2,TQt::PenStyle arg3,TQt::PenCapStyle arg4,TQt::PenJoinStyle arg5) : TQPen(arg1,arg2,arg3,arg4,arg5) {}; + TQPenJBridge(const TQPen& arg1) : TQPen(arg1) {}; + ~TQPenJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPen_capStyle(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPen*) QtSupport::getQt(env, obj))->capStyle(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPen_color(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQPen*) QtSupport::getQt(env, obj))->color(), "org.kde.qt.TQColor"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPen_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QPen_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPen_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQPen*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPen_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPen_joinStyle(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPen*) QtSupport::getQt(env, obj))->joinStyle(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPen_newTQPen__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPenJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPen_newTQPen__I(JNIEnv* env, jobject obj, jint arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPenJBridge((TQt::PenStyle) arg1)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPen_newTQPen__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject color) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPenJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, color))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPen_newTQPen__Lorg_kde_qt_QColor_2I(JNIEnv* env, jobject obj, jobject color, jint width) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPenJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, color), (uint) width)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPen_newTQPen__Lorg_kde_qt_QColor_2II(JNIEnv* env, jobject obj, jobject color, jint width, jint style) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPenJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, color), (uint) width, (TQt::PenStyle) style)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPen_newTQPen__Lorg_kde_qt_QColor_2IIII(JNIEnv* env, jobject obj, jobject cl, jint w, jint s, jint c, jint j) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPenJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, cl), (uint) w, (TQt::PenStyle) s, (TQt::PenCapStyle) c, (TQt::PenJoinStyle) j)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPen_newTQPen__Lorg_kde_qt_QPen_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPenJBridge((const TQPen&)*(const TQPen*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPen_op_1equals(JNIEnv* env, jobject obj, jobject p) +{ + jboolean xret = (jboolean) ((TQPen*) QtSupport::getQt(env, obj))->operator==((const TQPen&)*(const TQPen*) QtSupport::getQt(env, p)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPen_op_1not_1equals(JNIEnv* env, jobject obj, jobject p) +{ + jboolean xret = (jboolean) ((TQPen*) QtSupport::getQt(env, obj))->operator!=((const TQPen&)*(const TQPen*) QtSupport::getQt(env, p)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPen_setCapStyle(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQPen*) QtSupport::getQt(env, obj))->setCapStyle((TQt::PenCapStyle) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPen_setColor(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPen*) QtSupport::getQt(env, obj))->setColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPen_setJoinStyle(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQPen*) QtSupport::getQt(env, obj))->setJoinStyle((TQt::PenJoinStyle) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPen_setStyle(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQPen*) QtSupport::getQt(env, obj))->setStyle((TQt::PenStyle) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPen_setWidth(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQPen*) QtSupport::getQt(env, obj))->setWidth((uint) arg1); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPen_style(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPen*) QtSupport::getQt(env, obj))->style(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPen_width(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPen*) QtSupport::getQt(env, obj))->width(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQPen.h b/qtjava/javalib/qtjava/TQPen.h new file mode 100644 index 00000000..37ad104b --- /dev/null +++ b/qtjava/javalib/qtjava/TQPen.h @@ -0,0 +1,40 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QPen__ +#define __org_kde_qt_QPen__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPen_newTQPen__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPen_newTQPen__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPen_newTQPen__Lorg_kde_qt_QColor_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPen_newTQPen__Lorg_kde_qt_QColor_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPen_newTQPen__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPen_newTQPen__Lorg_kde_qt_QColor_2IIII (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPen_newTQPen__Lorg_kde_qt_QPen_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPen_style (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPen_setStyle (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPen_width (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPen_setWidth (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPen_color (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPen_setColor (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPen_capStyle (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPen_setCapStyle (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPen_joinStyle (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPen_setJoinStyle (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPen_op_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPen_op_1not_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPen_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPen_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPen_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QPen__ */ diff --git a/qtjava/javalib/qtjava/TQPicture.cpp b/qtjava/javalib/qtjava/TQPicture.cpp new file mode 100644 index 00000000..8afb0f1c --- /dev/null +++ b/qtjava/javalib/qtjava/TQPicture.cpp @@ -0,0 +1,216 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQPictureJBridge : public TQPicture +{ +public: + TQPictureJBridge(int arg1) : TQPicture(arg1) {}; + TQPictureJBridge() : TQPicture() {}; + TQPictureJBridge(const TQPicture& arg1) : TQPicture(arg1) {}; + int protected_metric(int arg1) { + return (int) TQPicture::metric(arg1); + } + void protected_detach() { + TQPicture::detach(); + return; + } + TQPicture protected_copy() { + return (TQPicture) TQPicture::copy(); + } + ~TQPictureJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPicture_boundingRect(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQPicture*) QtSupport::getQt(env, obj))->boundingRect()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPicture_copy(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPicture(((TQPictureJBridge*) QtSupport::getQt(env, obj))->protected_copy()), "org.kde.qt.TQPicture", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QPicture_data(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQPicture*) QtSupport::getQt(env, obj))->data(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPicture_detach(JNIEnv* env, jobject obj) +{ + ((TQPictureJBridge*) QtSupport::getQt(env, obj))->protected_detach(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPicture_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QPicture_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPicture_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQPicture*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPicture_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPicture_isNull(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQPicture*) QtSupport::getQt(env, obj))->isNull(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPicture_load__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName) +{ +static TQString* _qstring_fileName = 0; + jboolean xret = (jboolean) ((TQPicture*) QtSupport::getQt(env, obj))->load((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPicture_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) ((TQPicture*) 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_qt_QPicture_load__Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject dev) +{ + jboolean xret = (jboolean) ((TQPicture*) QtSupport::getQt(env, obj))->load((TQIODevice*) QtSupport::getQt(env, dev)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPicture_load__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject dev, jstring format) +{ +static TQCString* _qstring_format = 0; + jboolean xret = (jboolean) ((TQPicture*) QtSupport::getQt(env, obj))->load((TQIODevice*) QtSupport::getQt(env, dev), (const char*) QtSupport::toCharString(env, format, &_qstring_format)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPicture_metric(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQPictureJBridge*) QtSupport::getQt(env, obj))->protected_metric((int) arg1); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPicture_newTQPicture__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPictureJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPicture_newTQPicture__I(JNIEnv* env, jobject obj, jint formatVersion) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPictureJBridge((int) formatVersion)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPicture_newTQPicture__Lorg_kde_qt_QPicture_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPictureJBridge((const TQPicture&)*(const TQPicture*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPicture_play(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQPicture*) QtSupport::getQt(env, obj))->play((TQPainter*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPicture_save__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName) +{ +static TQString* _qstring_fileName = 0; + jboolean xret = (jboolean) ((TQPicture*) QtSupport::getQt(env, obj))->save((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPicture_save__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) ((TQPicture*) QtSupport::getQt(env, obj))->save((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_qt_QPicture_save__Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject dev) +{ + jboolean xret = (jboolean) ((TQPicture*) QtSupport::getQt(env, obj))->save((TQIODevice*) QtSupport::getQt(env, dev)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPicture_save__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject dev, jstring format) +{ +static TQCString* _qstring_format = 0; + jboolean xret = (jboolean) ((TQPicture*) QtSupport::getQt(env, obj))->save((TQIODevice*) QtSupport::getQt(env, dev), (const char*) QtSupport::toCharString(env, format, &_qstring_format)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPicture_setBoundingRect(JNIEnv* env, jobject obj, jobject r) +{ + ((TQPicture*) QtSupport::getQt(env, obj))->setBoundingRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPicture_setData(JNIEnv* env, jobject obj, jstring data, jint size) +{ +static TQCString* _qstring_data = 0; + ((TQPicture*) QtSupport::getQt(env, obj))->setData((const char*) QtSupport::toCharString(env, data, &_qstring_data), (uint) size); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPicture_size(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPicture*) QtSupport::getQt(env, obj))->size(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQPicture.h b/qtjava/javalib/qtjava/TQPicture.h new file mode 100644 index 00000000..a78c76d2 --- /dev/null +++ b/qtjava/javalib/qtjava/TQPicture.h @@ -0,0 +1,42 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QPicture__ +#define __org_kde_qt_QPicture__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPicture_newTQPicture__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPicture_newTQPicture__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPicture_newTQPicture__Lorg_kde_qt_QPicture_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPicture_isNull (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPicture_size (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPicture_data (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPicture_setData (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPicture_play (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPicture_load__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPicture_load__Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPicture_load__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPicture_load__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPicture_save__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPicture_save__Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPicture_save__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPicture_save__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPicture_boundingRect (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPicture_setBoundingRect (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPicture_metric (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPicture_detach (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPicture_copy (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPicture_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPicture_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPicture_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QPicture__ */ diff --git a/qtjava/javalib/qtjava/TQPixmap.cpp b/qtjava/javalib/qtjava/TQPixmap.cpp new file mode 100644 index 00000000..effd28e0 --- /dev/null +++ b/qtjava/javalib/qtjava/TQPixmap.cpp @@ -0,0 +1,763 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQPixmapJBridge : public TQPixmap +{ +public: + TQPixmapJBridge() : TQPixmap() {}; + TQPixmapJBridge(const TQImage& arg1) : TQPixmap(arg1) {}; + TQPixmapJBridge(int arg1,int arg2,int arg3,TQPixmap::Optimization arg4) : TQPixmap(arg1,arg2,arg3,arg4) {}; + TQPixmapJBridge(int arg1,int arg2,int arg3) : TQPixmap(arg1,arg2,arg3) {}; + TQPixmapJBridge(int arg1,int arg2) : TQPixmap(arg1,arg2) {}; + TQPixmapJBridge(const TQSize& arg1,int arg2,TQPixmap::Optimization arg3) : TQPixmap(arg1,arg2,arg3) {}; + TQPixmapJBridge(const TQSize& arg1,int arg2) : TQPixmap(arg1,arg2) {}; + TQPixmapJBridge(const TQSize& arg1) : TQPixmap(arg1) {}; + TQPixmapJBridge(const TQString& arg1,const char* arg2,TQPixmap::ColorMode arg3) : TQPixmap(arg1,arg2,arg3) {}; + TQPixmapJBridge(const TQString& arg1,const char* arg2) : TQPixmap(arg1,arg2) {}; + TQPixmapJBridge(const TQString& arg1) : TQPixmap(arg1) {}; + TQPixmapJBridge(const char** arg1) : TQPixmap(arg1) {}; + TQPixmapJBridge(const TQByteArray& arg1) : TQPixmap(arg1) {}; + TQPixmapJBridge(const TQPixmap& arg1) : TQPixmap(arg1) {}; + void public_detach() { + TQPixmap::detach(); + return; + } + TQPixmapJBridge(int arg1,int arg2,const uchar* arg3,bool arg4) : TQPixmap(arg1,arg2,arg3,arg4) {}; + int protected_metric(int arg1) { + return (int) TQPixmap::metric(arg1); + } + ~TQPixmapJBridge() {QtSupport::qtKeyDeleted(this);} + int protected_fontMet(TQFont* arg1,int arg2,const char* arg3,int arg4) { + return (int) TQPaintDevice::fontMet(arg1,arg2,arg3,arg4); + } + int protected_fontMet(TQFont* arg1,int arg2,const char* arg3) { + return (int) TQPaintDevice::fontMet(arg1,arg2,arg3); + } + int protected_fontMet(TQFont* arg1,int arg2) { + return (int) TQPaintDevice::fontMet(arg1,arg2); + } + int protected_fontInf(TQFont* arg1,int arg2) { + return (int) TQPaintDevice::fontInf(arg1,arg2); + } +}; + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPixmap_convertFromImage__Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQPixmap*) QtSupport::getQt(env, obj))->convertFromImage((const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPixmap_convertFromImage__Lorg_kde_qt_QImage_2I(JNIEnv* env, jobject obj, jobject arg1, jint mode) +{ + jboolean xret = (jboolean) ((TQPixmap*) QtSupport::getQt(env, obj))->convertFromImage((const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg1), (TQPixmap::ColorMode) mode); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPixmap_convertToImage(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQPixmap*) QtSupport::getQt(env, obj))->convertToImage()), "org.kde.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPixmap_createHeuristicMask__(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQBitmap(((TQPixmap*) QtSupport::getQt(env, obj))->createHeuristicMask()), "org.kde.qt.TQBitmap", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPixmap_createHeuristicMask__Z(JNIEnv* env, jobject obj, jboolean clipTight) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQBitmap(((TQPixmap*) QtSupport::getQt(env, obj))->createHeuristicMask((bool) clipTight)), "org.kde.qt.TQBitmap", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPixmap_defaultDepth(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jint xret = (jint) TQPixmapJBridge::defaultDepth(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPixmap_defaultOptimization(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jint xret = (jint) TQPixmapJBridge::defaultOptimization(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPixmap_depth(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPixmap*) QtSupport::getQt(env, obj))->depth(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPixmap_detach(JNIEnv* env, jobject obj) +{ + ((TQPixmapJBridge*) QtSupport::getQt(env, obj))->public_detach(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPixmap_devType(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPaintDevice*)(TQPixmap*) QtSupport::getQt(env, obj))->devType(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPixmap_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QPixmap_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPixmap_fill__(JNIEnv* env, jobject obj) +{ + ((TQPixmap*) QtSupport::getQt(env, obj))->fill(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPixmap_fill__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject fillColor) +{ + ((TQPixmap*) QtSupport::getQt(env, obj))->fill((const TQColor&)*(const TQColor*) QtSupport::getQt(env, fillColor)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPixmap_fill__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject arg1, jint xofs, jint yofs) +{ + ((TQPixmap*) QtSupport::getQt(env, obj))->fill((const TQWidget*) QtSupport::getQt(env, arg1), (int) xofs, (int) yofs); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPixmap_fill__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1, jobject ofs) +{ + ((TQPixmap*) QtSupport::getQt(env, obj))->fill((const TQWidget*) QtSupport::getQt(env, arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, ofs)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPixmap_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQPixmap*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPixmap_fontInf(JNIEnv* env, jobject obj, jobject arg1, jint arg2) +{ + jint xret = (jint) ((TQPixmapJBridge*) QtSupport::getQt(env, obj))->protected_fontInf((TQFont*) QtSupport::getQt(env, arg1), (int) arg2); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPixmap_fontMet__Lorg_kde_qt_QFont_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2) +{ + jint xret = (jint) ((TQPixmapJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TQFont*) QtSupport::getQt(env, arg1), (int) arg2); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPixmap_fontMet__Lorg_kde_qt_QFont_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jint arg2, jstring arg3) +{ +static TQCString* _qstring_arg3 = 0; + jint xret = (jint) ((TQPixmapJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TQFont*) QtSupport::getQt(env, arg1), (int) arg2, (const char*) QtSupport::toCharString(env, arg3, &_qstring_arg3)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPixmap_fontMet__Lorg_kde_qt_QFont_2ILjava_lang_String_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2, jstring arg3, jint arg4) +{ +static TQCString* _qstring_arg3 = 0; + jint xret = (jint) ((TQPixmapJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TQFont*) QtSupport::getQt(env, arg1), (int) arg2, (const char*) QtSupport::toCharString(env, arg3, &_qstring_arg3), (int) arg4); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPixmap_fromMimeSource(JNIEnv* env, jclass cls, jstring abs_name) +{ + (void) cls; +static TQString* _qstring_abs_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(TQPixmapJBridge::fromMimeSource((const TQString&)*(TQString*) QtSupport::toTQString(env, abs_name, &_qstring_abs_name))), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPixmap_grabWidget__Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject widget) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(TQPixmapJBridge::grabWidget((TQWidget*) QtSupport::getQt(env, widget))), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPixmap_grabWidget__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jclass cls, jobject widget, jint x) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(TQPixmapJBridge::grabWidget((TQWidget*) QtSupport::getQt(env, widget), (int) x)), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPixmap_grabWidget__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jclass cls, jobject widget, jint x, jint y) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(TQPixmapJBridge::grabWidget((TQWidget*) QtSupport::getQt(env, widget), (int) x, (int) y)), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPixmap_grabWidget__Lorg_kde_qt_QWidget_2III(JNIEnv* env, jclass cls, jobject widget, jint x, jint y, jint w) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(TQPixmapJBridge::grabWidget((TQWidget*) QtSupport::getQt(env, widget), (int) x, (int) y, (int) w)), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPixmap_grabWidget__Lorg_kde_qt_QWidget_2IIII(JNIEnv* env, jclass cls, jobject widget, jint x, jint y, jint w, jint h) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(TQPixmapJBridge::grabWidget((TQWidget*) QtSupport::getQt(env, widget), (int) x, (int) y, (int) w, (int) h)), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPixmap_grabWindow__J(JNIEnv* env, jclass cls, jlong arg1) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(TQPixmapJBridge::grabWindow((WId) arg1)), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPixmap_grabWindow__JI(JNIEnv* env, jclass cls, jlong arg1, jint x) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(TQPixmapJBridge::grabWindow((WId) arg1, (int) x)), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPixmap_grabWindow__JII(JNIEnv* env, jclass cls, jlong arg1, jint x, jint y) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(TQPixmapJBridge::grabWindow((WId) arg1, (int) x, (int) y)), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPixmap_grabWindow__JIII(JNIEnv* env, jclass cls, jlong arg1, jint x, jint y, jint w) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(TQPixmapJBridge::grabWindow((WId) arg1, (int) x, (int) y, (int) w)), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPixmap_grabWindow__JIIII(JNIEnv* env, jclass cls, jlong arg1, jint x, jint y, jint w, jint h) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(TQPixmapJBridge::grabWindow((WId) arg1, (int) x, (int) y, (int) w, (int) h)), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPixmap_hasAlphaChannel(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQPixmap*) QtSupport::getQt(env, obj))->hasAlphaChannel(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPixmap_hasAlpha(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQPixmap*) QtSupport::getQt(env, obj))->hasAlpha(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPixmap_height(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPixmap*) QtSupport::getQt(env, obj))->height(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QPixmap_imageFormat(JNIEnv* env, jclass cls, jstring fileName) +{ + const char* _qstring; + (void) cls; +static TQString* _qstring_fileName = 0; + _qstring = TQPixmapJBridge::imageFormat((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPixmap_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPixmap_isExtDev(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQPaintDevice*)(TQPixmap*) QtSupport::getQt(env, obj))->isExtDev(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPixmap_isNull(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQPixmap*) QtSupport::getQt(env, obj))->isNull(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPixmap_isTQBitmap(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQPixmap*) QtSupport::getQt(env, obj))->isTQBitmap(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPixmap_loadFromData___3B(JNIEnv* env, jobject obj, jbyteArray data) +{ +static TQByteArray* _qbyteArray_data = 0; + jboolean xret = (jboolean) ((TQPixmap*) QtSupport::getQt(env, obj))->loadFromData((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPixmap_loadFromData___3BLjava_lang_String_2(JNIEnv* env, jobject obj, jbyteArray data, jstring format) +{ +static TQByteArray* _qbyteArray_data = 0; +static TQCString* _qstring_format = 0; + jboolean xret = (jboolean) ((TQPixmap*) QtSupport::getQt(env, obj))->loadFromData((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (const char*) QtSupport::toCharString(env, format, &_qstring_format)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPixmap_loadFromData___3BLjava_lang_String_2I(JNIEnv* env, jobject obj, jbyteArray data, jstring format, jint conversion_flags) +{ +static TQByteArray* _qbyteArray_data = 0; +static TQCString* _qstring_format = 0; + jboolean xret = (jboolean) ((TQPixmap*) QtSupport::getQt(env, obj))->loadFromData((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (const char*) QtSupport::toCharString(env, format, &_qstring_format), (int) conversion_flags); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPixmap_loadFromData___3CI(JNIEnv* env, jobject obj, jcharArray buf, jint len) +{ +static TQByteArray* _qbytearray_buf = 0; + jboolean xret = (jboolean) ((TQPixmap*) QtSupport::getQt(env, obj))->loadFromData((const uchar*) QtSupport::toUcharArray(env, buf, &_qbytearray_buf), (uint) len); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPixmap_loadFromData___3CILjava_lang_String_2(JNIEnv* env, jobject obj, jcharArray buf, jint len, jstring format) +{ +static TQByteArray* _qbytearray_buf = 0; +static TQCString* _qstring_format = 0; + jboolean xret = (jboolean) ((TQPixmap*) QtSupport::getQt(env, obj))->loadFromData((const uchar*) QtSupport::toUcharArray(env, buf, &_qbytearray_buf), (uint) len, (const char*) QtSupport::toCharString(env, format, &_qstring_format)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPixmap_loadFromData___3CILjava_lang_String_2I(JNIEnv* env, jobject obj, jcharArray buf, jint len, jstring format, jint mode) +{ +static TQByteArray* _qbytearray_buf = 0; +static TQCString* _qstring_format = 0; + jboolean xret = (jboolean) ((TQPixmap*) QtSupport::getQt(env, obj))->loadFromData((const uchar*) QtSupport::toUcharArray(env, buf, &_qbytearray_buf), (uint) len, (const char*) QtSupport::toCharString(env, format, &_qstring_format), (TQPixmap::ColorMode) mode); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPixmap_load__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName) +{ +static TQString* _qstring_fileName = 0; + jboolean xret = (jboolean) ((TQPixmap*) QtSupport::getQt(env, obj))->load((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPixmap_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) ((TQPixmap*) 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_qt_QPixmap_load__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring fileName, jstring format, jint mode) +{ +static TQString* _qstring_fileName = 0; +static TQCString* _qstring_format = 0; + jboolean xret = (jboolean) ((TQPixmap*) QtSupport::getQt(env, obj))->load((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format), (TQPixmap::ColorMode) mode); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPixmap_mask(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQPixmap*) QtSupport::getQt(env, obj))->mask(), "org.kde.qt.TQBitmap"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPixmap_metric(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQPixmapJBridge*) QtSupport::getQt(env, obj))->protected_metric((int) arg1); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPixmap_newTQPixmap__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPixmapJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPixmap_newTQPixmap__II(JNIEnv* env, jobject obj, jint w, jint h) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPixmapJBridge((int) w, (int) h)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPixmap_newTQPixmap__III(JNIEnv* env, jobject obj, jint w, jint h, jint depth) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPixmapJBridge((int) w, (int) h, (int) depth)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPixmap_newTQPixmap__IIII(JNIEnv* env, jobject obj, jint w, jint h, jint depth, jint arg4) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPixmapJBridge((int) w, (int) h, (int) depth, (TQPixmap::Optimization) arg4)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPixmap_newTQPixmap__II_3CZ(JNIEnv* env, jobject obj, jint w, jint h, jcharArray data, jboolean isXbitmap) +{ +static TQByteArray* _qbytearray_data = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPixmapJBridge((int) w, (int) h, (const uchar*) QtSupport::toUcharArray(env, data, &_qbytearray_data), (bool) isXbitmap)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPixmap_newTQPixmap__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 TQPixmapJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPixmap_newTQPixmap__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; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPixmapJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPixmap_newTQPixmap__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring fileName, jstring format, jint mode) +{ +static TQString* _qstring_fileName = 0; +static TQCString* _qstring_format = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPixmapJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format), (TQPixmap::ColorMode) mode)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPixmap_newTQPixmap__Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject image) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPixmapJBridge((const TQImage&)*(const TQImage*) QtSupport::getQt(env, image))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPixmap_newTQPixmap__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPixmapJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPixmap_newTQPixmap__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPixmapJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPixmap_newTQPixmap__Lorg_kde_qt_QSize_2I(JNIEnv* env, jobject obj, jobject arg1, jint depth) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPixmapJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (int) depth)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPixmap_newTQPixmap__Lorg_kde_qt_QSize_2II(JNIEnv* env, jobject obj, jobject arg1, jint depth, jint arg3) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPixmapJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (int) depth, (TQPixmap::Optimization) arg3)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPixmap_newTQPixmap___3B(JNIEnv* env, jobject obj, jbyteArray data) +{ +static TQByteArray* _qbyteArray_data = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPixmapJBridge((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPixmap_newTQPixmap___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray xpm) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPixmapJBridge((const char**) QtSupport::toStringArray(env, xpm))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPixmap_optimization(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPixmap*) QtSupport::getQt(env, obj))->optimization(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPixmap_paintingActive(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQPaintDevice*)(TQPixmap*) QtSupport::getQt(env, obj))->paintingActive(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPixmap_rect(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQPixmap*) QtSupport::getQt(env, obj))->rect()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPixmap_resize__II(JNIEnv* env, jobject obj, jint width, jint height) +{ + ((TQPixmap*) QtSupport::getQt(env, obj))->resize((int) width, (int) height); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPixmap_resize__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPixmap*) QtSupport::getQt(env, obj))->resize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPixmap_resolution(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPaintDevice*)(TQPixmap*) QtSupport::getQt(env, obj))->resolution(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPixmap_save__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) ((TQPixmap*) QtSupport::getQt(env, obj))->save((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_qt_QPixmap_save__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring fileName, jstring format, jint quality) +{ +static TQString* _qstring_fileName = 0; +static TQCString* _qstring_format = 0; + jboolean xret = (jboolean) ((TQPixmap*) QtSupport::getQt(env, obj))->save((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format), (int) quality); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPixmap_save__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject device, jstring format) +{ +static TQCString* _qstring_format = 0; + jboolean xret = (jboolean) ((TQPixmap*) QtSupport::getQt(env, obj))->save((TQIODevice*) QtSupport::getQt(env, device), (const char*) QtSupport::toCharString(env, format, &_qstring_format)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPixmap_save__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject device, jstring format, jint quality) +{ +static TQCString* _qstring_format = 0; + jboolean xret = (jboolean) ((TQPixmap*) QtSupport::getQt(env, obj))->save((TQIODevice*) QtSupport::getQt(env, device), (const char*) QtSupport::toCharString(env, format, &_qstring_format), (int) quality); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPixmap_selfMask(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQPixmap*) QtSupport::getQt(env, obj))->selfMask(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPixmap_serialNumber(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPixmap*) QtSupport::getQt(env, obj))->serialNumber(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPixmap_setDefaultOptimization(JNIEnv* env, jclass cls, jint arg1) +{ + (void) cls; + (void) env; + TQPixmapJBridge::setDefaultOptimization((TQPixmap::Optimization) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPixmap_setMask(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPixmap*) QtSupport::getQt(env, obj))->setMask((const TQBitmap&)*(const TQBitmap*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPixmap_setOptimization(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQPixmap*) QtSupport::getQt(env, obj))->setOptimization((TQPixmap::Optimization) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPixmap_setResolution(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQPaintDevice*)(TQPixmap*) QtSupport::getQt(env, obj))->setResolution((int) arg1); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPixmap_size(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQPixmap*) QtSupport::getQt(env, obj))->size()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPixmap_trueMatrix(JNIEnv* env, jclass cls, jobject arg1, jint w, jint h) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQWMatrix(TQPixmapJBridge::trueMatrix((const TQWMatrix&)*(const TQWMatrix*) QtSupport::getQt(env, arg1), (int) w, (int) h)), "org.kde.qt.TQWMatrix", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPixmap_width(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPixmap*) QtSupport::getQt(env, obj))->width(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPixmap_xForm(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQPixmap*) QtSupport::getQt(env, obj))->xForm((const TQWMatrix&)*(const TQWMatrix*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPixmap_loadFromData___3C(JNIEnv *env, jobject obj, jcharArray data) +{ +static TQByteArray * _qbyteArray_data = 0; + return (jboolean) ((TQPixmapJBridge*) QtSupport::getQt(env, obj))->loadFromData((uchar *) QtSupport::toUcharArray(env, data, &_qbyteArray_data), env->GetArrayLength(data), 0, 0); +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QPixmap_paintDevice(JNIEnv* env, jobject obj) +{ + return (jlong) (TQPaintDevice*)(TQPixmap*) QtSupport::getQt(env, obj); +} + diff --git a/qtjava/javalib/qtjava/TQPixmap.h b/qtjava/javalib/qtjava/TQPixmap.h new file mode 100644 index 00000000..a18774fd --- /dev/null +++ b/qtjava/javalib/qtjava/TQPixmap.h @@ -0,0 +1,105 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QPixmap__ +#define __org_kde_qt_QPixmap__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newTQPixmap__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newTQPixmap__Lorg_kde_qt_QImage_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newTQPixmap__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newTQPixmap__III (JNIEnv *env, jobject, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newTQPixmap__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newTQPixmap__Lorg_kde_qt_QSize_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newTQPixmap__Lorg_kde_qt_QSize_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newTQPixmap__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newTQPixmap__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newTQPixmap__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newTQPixmap__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newTQPixmap___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newTQPixmap___3B (JNIEnv *env, jobject, jbyteArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newTQPixmap__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_isNull (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPixmap_width (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPixmap_height (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_size (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_rect (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPixmap_depth (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_fill__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_fill__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_fill__Lorg_kde_qt_QWidget_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_fill__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_resize__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_resize__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_mask (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_setMask (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_selfMask (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_hasAlpha (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_hasAlphaChannel (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_createHeuristicMask__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_createHeuristicMask__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_xForm (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_convertToImage (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_convertFromImage__Lorg_kde_qt_QImage_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_convertFromImage__Lorg_kde_qt_QImage_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_load__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_load__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_load__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_loadFromData___3CILjava_lang_String_2I (JNIEnv *env, jobject, jcharArray, jint, jstring, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_loadFromData___3CILjava_lang_String_2 (JNIEnv *env, jobject, jcharArray, jint, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_loadFromData___3CI (JNIEnv *env, jobject, jcharArray, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_loadFromData___3BLjava_lang_String_2I (JNIEnv *env, jobject, jbyteArray, jstring, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_loadFromData___3BLjava_lang_String_2 (JNIEnv *env, jobject, jbyteArray, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_loadFromData___3B (JNIEnv *env, jobject, jbyteArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_save__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_save__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_save__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_save__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPixmap_serialNumber (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPixmap_optimization (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_setOptimization (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_detach (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_isTQBitmap (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPixmap_defaultDepth (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_fromMimeSource (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_grabWindow__JIIII (JNIEnv *env, jclass, jlong, jint, jint, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_grabWindow__JIII (JNIEnv *env, jclass, jlong, jint, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_grabWindow__JII (JNIEnv *env, jclass, jlong, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_grabWindow__JI (JNIEnv *env, jclass, jlong, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_grabWindow__J (JNIEnv *env, jclass, jlong); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_grabWidget__Lorg_kde_qt_QWidget_2IIII (JNIEnv *env, jclass, jobject, jint, jint, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_grabWidget__Lorg_kde_qt_QWidget_2III (JNIEnv *env, jclass, jobject, jint, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_grabWidget__Lorg_kde_qt_QWidget_2II (JNIEnv *env, jclass, jobject, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_grabWidget__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jclass, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_grabWidget__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_trueMatrix (JNIEnv *env, jclass, jobject, jint, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPixmap_imageFormat (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPixmap_defaultOptimization (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_setDefaultOptimization (JNIEnv *env, jclass, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newTQPixmap__II_3CZ (JNIEnv *env, jobject, jint, jint, jcharArray, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPixmap_metric (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_isDisposed (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPixmap_devType (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_isExtDev (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_paintingActive (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_setResolution (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPixmap_resolution (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPixmap_fontMet__Lorg_kde_qt_QFont_2ILjava_lang_String_2I (JNIEnv *env, jobject, jobject, jint, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPixmap_fontMet__Lorg_kde_qt_QFont_2ILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPixmap_fontMet__Lorg_kde_qt_QFont_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPixmap_fontInf (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_loadFromData___3C (JNIEnv *env, jobject, jcharArray); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QPixmap_paintDevice (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QPixmap__ */ diff --git a/qtjava/javalib/qtjava/TQPoint.cpp b/qtjava/javalib/qtjava/TQPoint.cpp new file mode 100644 index 00000000..37dfd7c2 --- /dev/null +++ b/qtjava/javalib/qtjava/TQPoint.cpp @@ -0,0 +1,156 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQPointJBridge : public TQPoint +{ +public: + TQPointJBridge() : TQPoint() {}; + TQPointJBridge(int arg1,int arg2) : TQPoint(arg1,arg2) {}; + ~TQPointJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPoint_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QPoint_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPoint_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQPoint*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPoint_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPoint_isNull(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQPoint*) QtSupport::getQt(env, obj))->isNull(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPoint_manhattanLength(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPoint*) QtSupport::getQt(env, obj))->manhattanLength(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPoint_newTQPoint__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPointJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPoint_newTQPoint__II(JNIEnv* env, jobject obj, jint xpos, jint ypos) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPointJBridge((int) xpos, (int) ypos)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPoint_op_1div_1assign__D(JNIEnv* env, jobject obj, jdouble c) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQPoint*) QtSupport::getQt(env, obj))->operator/=((double) c), "org.kde.qt.TQPoint"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPoint_op_1div_1assign__I(JNIEnv* env, jobject obj, jint c) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQPoint*) QtSupport::getQt(env, obj))->operator/=((int) c), "org.kde.qt.TQPoint"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPoint_op_1minus_1assign(JNIEnv* env, jobject obj, jobject p) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQPoint*) QtSupport::getQt(env, obj))->operator-=((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)), "org.kde.qt.TQPoint"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPoint_op_1mult_1assign__D(JNIEnv* env, jobject obj, jdouble c) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQPoint*) QtSupport::getQt(env, obj))->operator*=((double) c), "org.kde.qt.TQPoint"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPoint_op_1mult_1assign__I(JNIEnv* env, jobject obj, jint c) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQPoint*) QtSupport::getQt(env, obj))->operator*=((int) c), "org.kde.qt.TQPoint"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPoint_op_1plus_1assign(JNIEnv* env, jobject obj, jobject p) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQPoint*) QtSupport::getQt(env, obj))->operator+=((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)), "org.kde.qt.TQPoint"); + return xret; +} + +JNIEXPORT jshort JNICALL +Java_org_kde_qt_QPoint_rx(JNIEnv* env, jobject obj) +{ + jshort xret = (jshort) ((TQPoint*) QtSupport::getQt(env, obj))->rx(); + return xret; +} + +JNIEXPORT jshort JNICALL +Java_org_kde_qt_QPoint_ry(JNIEnv* env, jobject obj) +{ + jshort xret = (jshort) ((TQPoint*) QtSupport::getQt(env, obj))->ry(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPoint_setX(JNIEnv* env, jobject obj, jint x) +{ + ((TQPoint*) QtSupport::getQt(env, obj))->setX((int) x); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPoint_setY(JNIEnv* env, jobject obj, jint y) +{ + ((TQPoint*) QtSupport::getQt(env, obj))->setY((int) y); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPoint_x(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPoint*) QtSupport::getQt(env, obj))->x(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPoint_y(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPoint*) QtSupport::getQt(env, obj))->y(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQPoint.h b/qtjava/javalib/qtjava/TQPoint.h new file mode 100644 index 00000000..bc6b0c85 --- /dev/null +++ b/qtjava/javalib/qtjava/TQPoint.h @@ -0,0 +1,37 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QPoint__ +#define __org_kde_qt_QPoint__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPoint_newTQPoint__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPoint_newTQPoint__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPoint_isNull (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPoint_x (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPoint_y (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPoint_setX (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPoint_setY (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPoint_manhattanLength (JNIEnv *env, jobject); +extern JNIEXPORT jshort JNICALL Java_org_kde_qt_QPoint_rx (JNIEnv *env, jobject); +extern JNIEXPORT jshort JNICALL Java_org_kde_qt_QPoint_ry (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPoint_op_1plus_1assign (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPoint_op_1minus_1assign (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPoint_op_1mult_1assign__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPoint_op_1mult_1assign__D (JNIEnv *env, jobject, jdouble); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPoint_op_1div_1assign__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPoint_op_1div_1assign__D (JNIEnv *env, jobject, jdouble); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPoint_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPoint_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPoint_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QPoint__ */ diff --git a/qtjava/javalib/qtjava/TQPointArray.cpp b/qtjava/javalib/qtjava/TQPointArray.cpp new file mode 100644 index 00000000..02ef6875 --- /dev/null +++ b/qtjava/javalib/qtjava/TQPointArray.cpp @@ -0,0 +1,282 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +class TQPointArrayJBridge : public TQPointArray +{ +public: + TQPointArrayJBridge() : TQPointArray() {}; + TQPointArrayJBridge(int arg1) : TQPointArray(arg1) {}; + TQPointArrayJBridge(const TQPointArray& arg1) : TQPointArray(arg1) {}; + TQPointArrayJBridge(const TQRect& arg1,bool arg2) : TQPointArray(arg1,arg2) {}; + TQPointArrayJBridge(const TQRect& arg1) : TQPointArray(arg1) {}; + TQPointArrayJBridge(int arg1,const TQCOORD* arg2) : TQPointArray(arg1,arg2) {}; + ~TQPointArrayJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPointArray_boundingRect(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQPointArray*) QtSupport::getQt(env, obj))->boundingRect()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPointArray_cleanBuffers(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + TQPointArrayJBridge::cleanBuffers(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPointArray_copy(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQPointArray*) QtSupport::getQt(env, obj))->copy()), "org.kde.qt.TQPointArray", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPointArray_cubicBezier(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQPointArray*) QtSupport::getQt(env, obj))->cubicBezier()), "org.kde.qt.TQPointArray", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPointArray_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QPointArray_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPointArray_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQPointArray*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPointArray_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPointArray_makeArc__IIIIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint a1, jint a2) +{ + ((TQPointArray*) QtSupport::getQt(env, obj))->makeArc((int) x, (int) y, (int) w, (int) h, (int) a1, (int) a2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPointArray_makeArc__IIIIIILorg_kde_qt_QWMatrix_2(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint a1, jint a2, jobject arg7) +{ + ((TQPointArray*) QtSupport::getQt(env, obj))->makeArc((int) x, (int) y, (int) w, (int) h, (int) a1, (int) a2, (const TQWMatrix&)*(const TQWMatrix*) QtSupport::getQt(env, arg7)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPointArray_makeEllipse(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) +{ + ((TQPointArray*) QtSupport::getQt(env, obj))->makeEllipse((int) x, (int) y, (int) w, (int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPointArray_newTQPointArray__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPointArrayJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPointArray_newTQPointArray__I(JNIEnv* env, jobject obj, jint size) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPointArrayJBridge((int) size)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPointArray_newTQPointArray__I_3S(JNIEnv* env, jobject obj, jint nPoints, jshortArray points) +{ + short* _short_points = QtSupport::toShortPtr(env, points); + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPointArrayJBridge((int) nPoints, (const TQCOORD*) _short_points)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + env->SetShortArrayRegion(points, 0, 1, (jshort*) _short_points); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPointArray_newTQPointArray__Lorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject a) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPointArrayJBridge((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, a))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPointArray_newTQPointArray__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject r) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPointArrayJBridge((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPointArray_newTQPointArray__Lorg_kde_qt_QRect_2Z(JNIEnv* env, jobject obj, jobject r, jboolean closed) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPointArrayJBridge((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (bool) closed)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPointArray_point__I(JNIEnv* env, jobject obj, jint i) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQPointArray*) QtSupport::getQt(env, obj))->point((uint) i)), "org.kde.qt.TQPoint", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPointArray_putPoints__IILorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jint index, jint nPoints, jobject from) +{ + jboolean xret = (jboolean) ((TQPointArray*) QtSupport::getQt(env, obj))->putPoints((int) index, (int) nPoints, (const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, from)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPointArray_putPoints__IILorg_kde_qt_QPointArray_2I(JNIEnv* env, jobject obj, jint index, jint nPoints, jobject from, jint fromIndex) +{ + jboolean xret = (jboolean) ((TQPointArray*) QtSupport::getQt(env, obj))->putPoints((int) index, (int) nPoints, (const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, from), (int) fromIndex); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPointArray_setPoint__III(JNIEnv* env, jobject obj, jint i, jint x, jint y) +{ + ((TQPointArray*) QtSupport::getQt(env, obj))->setPoint((uint) i, (int) x, (int) y); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPointArray_setPoint__ILorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jint i, jobject p) +{ + ((TQPointArray*) QtSupport::getQt(env, obj))->setPoint((uint) i, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPointArray_translate(JNIEnv* env, jobject obj, jint dx, jint dy) +{ + ((TQPointArray*) QtSupport::getQt(env, obj))->translate((int) dx, (int) dy); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPointArray_point__I_3I_3I(JNIEnv *env, jobject obj, jint i, jintArray x, jintArray y) +{ + int argx; + int argy; + ((TQPointArrayJBridge*) QtSupport::getQt(env, obj))->point((uint) i, &argx, &argy); + env->SetIntArrayRegion(x, 0, 1, (jint *) &argx); + env->SetIntArrayRegion(y, 0, 1, (jint *) &argy); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPointArray_setPoints(JNIEnv *env, jobject obj, jint nPoints, jshortArray points) +{ + if (!((TQPointArrayJBridge*) QtSupport::getQt(env, obj))->resize((uint)nPoints)) { + return JNI_FALSE; + } + + short * shortArray = QtSupport::toShortPtr(env, points); + for (int index = 0; index < nPoints; index++) { + ((TQPointArrayJBridge*) QtSupport::getQt(env, obj))->setPoint(index, shortArray[index * 2], shortArray[(index * 2) + 1]); + } + return JNI_TRUE; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPointArray_putPoints__II_3S(JNIEnv *env, jobject obj, jint index, jint nPoints, jshortArray points) +{ + if ( ((TQPointArrayJBridge*) QtSupport::getQt(env, obj))->size() < (uint) nPoints + && !((TQPointArrayJBridge*) QtSupport::getQt(env, obj))->resize((uint) nPoints) ) + { + return JNI_FALSE; + } + + short * shortArray = QtSupport::toShortPtr(env, points); + for (int i = (int) index; nPoints > 0; i++, nPoints--) { + ((TQPointArrayJBridge*) QtSupport::getQt(env, obj))->setPoint(i, shortArray[i * 2], shortArray[(i * 2) + 1]); + } + return JNI_TRUE; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPointArray_size(JNIEnv* env, jobject obj) +{ + return (jint) ((TQPointArrayJBridge*) QtSupport::getQt(env, obj))->size(); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPointArray_count(JNIEnv* env, jobject obj) +{ + return (jint) ((TQPointArrayJBridge*) QtSupport::getQt(env, obj))->count(); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPointArray_isEmpty(JNIEnv* env, jobject obj) +{ + return (jboolean) ((TQPointArrayJBridge*) QtSupport::getQt(env, obj))->isEmpty(); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPointArray_isNull(JNIEnv* env, jobject obj) +{ + return (jboolean) ((TQPointArrayJBridge*) QtSupport::getQt(env, obj))->isNull(); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPointArray_resize(JNIEnv* env, jobject obj, jint size) +{ + return (jboolean) ((TQPointArrayJBridge*) QtSupport::getQt(env, obj))->resize((uint) size); +} +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPointArray_truncate(JNIEnv *env, jobject obj, jint pos) +{ + return (jboolean) ((TQPointArrayJBridge*) QtSupport::getQt(env, obj))->truncate((uint) pos); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPointArray_at(JNIEnv * env, jobject obj, jint index) +{ + TQPoint _p= ((TQPointArrayJBridge*) QtSupport::getQt(env, obj))->at((uint) index); + return (jobject) QtSupport::objectForQtKey(env, (void *)new TQPoint(_p.x(),_p.y()), "org.kde.qt.TQPoint", TRUE); +} + diff --git a/qtjava/javalib/qtjava/TQPointArray.h b/qtjava/javalib/qtjava/TQPointArray.h new file mode 100644 index 00000000..ab84eacb --- /dev/null +++ b/qtjava/javalib/qtjava/TQPointArray.h @@ -0,0 +1,50 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QPointArray__ +#define __org_kde_qt_QPointArray__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_newTQPointArray__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_newTQPointArray__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_newTQPointArray__Lorg_kde_qt_QPointArray_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_newTQPointArray__Lorg_kde_qt_QRect_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_newTQPointArray__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_newTQPointArray__I_3S (JNIEnv *env, jobject, jint, jshortArray); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPointArray_copy (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_translate (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPointArray_boundingRect (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_point__I_3I_3I (JNIEnv *env, jobject, jint, jintArray, jintArray); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPointArray_point__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_setPoint__III (JNIEnv *env, jobject, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_setPoint__ILorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPointArray_setPoints (JNIEnv *env, jobject, jint, jshortArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPointArray_putPoints__II_3S (JNIEnv *env, jobject, jint, jint, jshortArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPointArray_putPoints__IILorg_kde_qt_QPointArray_2I (JNIEnv *env, jobject, jint, jint, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPointArray_putPoints__IILorg_kde_qt_QPointArray_2 (JNIEnv *env, jobject, jint, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_makeArc__IIIIII (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_makeEllipse (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_makeArc__IIIIIILorg_kde_qt_QWMatrix_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jint, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPointArray_cubicBezier (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_cleanBuffers (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPointArray_isDisposed (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPointArray_size (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPointArray_count (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPointArray_isEmpty (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPointArray_isNull (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPointArray_resize (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPointArray_truncate (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPointArray_at (JNIEnv *env, jobject, jint); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QPointArray__ */ diff --git a/qtjava/javalib/qtjava/TQPolygonScanner.cpp b/qtjava/javalib/qtjava/TQPolygonScanner.cpp new file mode 100644 index 00000000..a90c7e52 --- /dev/null +++ b/qtjava/javalib/qtjava/TQPolygonScanner.cpp @@ -0,0 +1,51 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPolygonScanner_processSpans(JNIEnv* env, jobject obj, jint n, jobject point, jintArray width) +{ + int* _int_width = QtSupport::toIntPtr(env, width); + ((TQPolygonScanner*) QtSupport::getQt(env, obj))->processSpans((int) n, (TQPoint*) QtSupport::getQt(env, point), (int*) _int_width); + env->SetIntArrayRegion(width, 0, 1, (jint *) _int_width); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPolygonScanner_scan__Lorg_kde_qt_QPointArray_2Z(JNIEnv* env, jobject obj, jobject pa, jboolean winding) +{ + ((TQPolygonScanner*) QtSupport::getQt(env, obj))->scan((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, pa), (bool) winding); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPolygonScanner_scan__Lorg_kde_qt_QPointArray_2ZI(JNIEnv* env, jobject obj, jobject pa, jboolean winding, jint index) +{ + ((TQPolygonScanner*) QtSupport::getQt(env, obj))->scan((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, pa), (bool) winding, (int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPolygonScanner_scan__Lorg_kde_qt_QPointArray_2ZII(JNIEnv* env, jobject obj, jobject pa, jboolean winding, jint index, jint npoints) +{ + ((TQPolygonScanner*) QtSupport::getQt(env, obj))->scan((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, pa), (bool) winding, (int) index, (int) npoints); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPolygonScanner_scan__Lorg_kde_qt_QPointArray_2ZIII(JNIEnv* env, jobject obj, jobject pa, jboolean winding, jint index, jint npoints, jint edges) +{ + ((TQPolygonScanner*) QtSupport::getQt(env, obj))->scan((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, pa), (bool) winding, (int) index, (int) npoints, (TQPolygonScanner::Edge) edges); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPolygonScanner_scan__Lorg_kde_qt_QPointArray_2ZIIZ(JNIEnv* env, jobject obj, jobject pa, jboolean winding, jint index, jint npoints, jboolean stitchable) +{ + ((TQPolygonScanner*) QtSupport::getQt(env, obj))->scan((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, pa), (bool) winding, (int) index, (int) npoints, (bool) stitchable); + return; +} + diff --git a/qtjava/javalib/qtjava/TQPolygonScanner.h b/qtjava/javalib/qtjava/TQPolygonScanner.h new file mode 100644 index 00000000..ab20ddc2 --- /dev/null +++ b/qtjava/javalib/qtjava/TQPolygonScanner.h @@ -0,0 +1,24 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QPolygonScanner__ +#define __org_kde_qt_QPolygonScanner__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPolygonScanner_scan__Lorg_kde_qt_QPointArray_2ZII (JNIEnv *env, jobject, jobject, jboolean, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPolygonScanner_scan__Lorg_kde_qt_QPointArray_2ZI (JNIEnv *env, jobject, jobject, jboolean, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPolygonScanner_scan__Lorg_kde_qt_QPointArray_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPolygonScanner_scan__Lorg_kde_qt_QPointArray_2ZIIZ (JNIEnv *env, jobject, jobject, jboolean, jint, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPolygonScanner_scan__Lorg_kde_qt_QPointArray_2ZIII (JNIEnv *env, jobject, jobject, jboolean, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPolygonScanner_processSpans (JNIEnv *env, jobject, jint, jobject, jintArray); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QPolygonScanner__ */ diff --git a/qtjava/javalib/qtjava/TQPopupMenu.cpp b/qtjava/javalib/qtjava/TQPopupMenu.cpp new file mode 100644 index 00000000..0dcfa14f --- /dev/null +++ b/qtjava/javalib/qtjava/TQPopupMenu.cpp @@ -0,0 +1,1509 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include + +class TQPopupMenuJBridge : public TQPopupMenu +{ +public: + TQPopupMenuJBridge(TQWidget* arg1,const char* arg2) : TQPopupMenu(arg1,arg2) {}; + TQPopupMenuJBridge(TQWidget* arg1) : TQPopupMenu(arg1) {}; + TQPopupMenuJBridge() : TQPopupMenu() {}; + int protected_itemHeight(int arg1) { + return (int) TQPopupMenu::itemHeight(arg1); + } + int protected_itemHeight(TQMenuItem* arg1) { + return (int) TQPopupMenu::itemHeight(arg1); + } + void protected_drawItem(TQPainter* arg1,int arg2,TQMenuItem* arg3,bool arg4,int arg5,int arg6,int arg7,int arg8) { + TQPopupMenu::drawItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8); + return; + } + void protected_drawContents(TQPainter* arg1) { + TQPopupMenu::drawContents(arg1); + return; + } + void protected_closeEvent(TQCloseEvent* arg1) { + TQPopupMenu::closeEvent(arg1); + return; + } + void protected_paintEvent(TQPaintEvent* arg1) { + TQPopupMenu::paintEvent(arg1); + return; + } + void protected_mousePressEvent(TQMouseEvent* arg1) { + TQPopupMenu::mousePressEvent(arg1); + return; + } + void protected_mouseReleaseEvent(TQMouseEvent* arg1) { + TQPopupMenu::mouseReleaseEvent(arg1); + return; + } + void protected_mouseMoveEvent(TQMouseEvent* arg1) { + TQPopupMenu::mouseMoveEvent(arg1); + return; + } + void protected_keyPressEvent(TQKeyEvent* arg1) { + TQPopupMenu::keyPressEvent(arg1); + return; + } + void protected_focusInEvent(TQFocusEvent* arg1) { + TQPopupMenu::focusInEvent(arg1); + return; + } + void protected_focusOutEvent(TQFocusEvent* arg1) { + TQPopupMenu::focusOutEvent(arg1); + return; + } + void protected_timerEvent(TQTimerEvent* arg1) { + TQPopupMenu::timerEvent(arg1); + return; + } + void protected_leaveEvent(TQEvent* arg1) { + TQPopupMenu::leaveEvent(arg1); + return; + } + void protected_styleChange(TQStyle& arg1) { + TQPopupMenu::styleChange(arg1); + return; + } + void protected_enabledChange(bool arg1) { + TQPopupMenu::enabledChange(arg1); + return; + } + int protected_columns() { + return (int) TQPopupMenu::columns(); + } + bool protected_focusNextPrevChild(bool arg1) { + return (bool) TQPopupMenu::focusNextPrevChild(arg1); + } + int protected_itemAtPos(const TQPoint& arg1,bool arg2) { + return (int) TQPopupMenu::itemAtPos(arg1,arg2); + } + int protected_itemAtPos(const TQPoint& arg1) { + return (int) TQPopupMenu::itemAtPos(arg1); + } + ~TQPopupMenuJBridge() {QtSupport::qtKeyDeleted(this);} + void protected_menuContentsChanged() { + TQMenuData::menuContentsChanged(); + return; + } + void protected_menuStateChanged() { + TQMenuData::menuStateChanged(); + return; + } + void protected_menuInsPopup(TQPopupMenu* arg1) { + TQMenuData::menuInsPopup(arg1); + return; + } + void protected_menuDelPopup(TQPopupMenu* arg1) { + TQMenuData::menuDelPopup(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.qt.TQPopupMenu","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.qt.TQPopupMenu","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.qt.TQPopupMenu","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.qt.TQPopupMenu","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPopupMenu","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")) { + TQPopupMenu::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")) { + TQPopupMenu::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")) { + TQPopupMenu::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.qt.TQPopupMenu","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPopupMenu","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")) { + TQPopupMenu::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.qt.TQPopupMenu","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")) { + TQWidget::contextMenuEvent(arg1); + } + return; + } + bool eventFilter(TQObject* object,TQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQPopupMenu",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.qt.TQPopupMenu","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPopupMenu_accel(JNIEnv* env, jobject obj, jint id) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQKeySequence(((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->accel((int) id)), "org.kde.qt.TQKeySequence", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_activateItemAt(JNIEnv* env, jobject obj, jint index) +{ + ((TQPopupMenu*) QtSupport::getQt(env, obj))->activateItemAt((int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_changeItem__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint id, jstring text) +{ +static TQString* _qstring_text = 0; + ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_changeItem__ILorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint id, jobject icon, jstring text) +{ +static TQString* _qstring_text = 0; + ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_changeItem__ILorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jint id, jobject icon, jobject pixmap) +{ + ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_changeItem__ILorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jint id, jobject pixmap) +{ + ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_changeItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id) +{ +static TQString* _qstring_text = 0; + ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->changeItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_changeItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id) +{ +static TQString* _qstring_text = 0; + ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->changeItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_changeItem__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint id) +{ + ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->changeItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QPopupMenu_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQPopupMenu*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_clear(JNIEnv* env, jobject obj) +{ + ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->clear(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_closeEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TQCloseEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_columns(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_columns(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_count(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->count(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPopupMenu_customWhatsThis(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQPopupMenu*) QtSupport::getQt(env, obj))->customWhatsThis(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QPopupMenu_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_drawContents(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_drawItem(JNIEnv* env, jobject obj, jobject p, jint tab, jobject mi, jboolean act, jint x, jint y, jint w, jint h) +{ + ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_drawItem((TQPainter*) QtSupport::getQt(env, p), (int) tab, (TQMenuItem*) QtSupport::getQt(env, mi), (bool) act, (int) x, (int) y, (int) w, (int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_enabledChange(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_enabledChange((bool) arg1); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_exec__(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPopupMenu*) QtSupport::getQt(env, obj))->exec(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_exec__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject pos) +{ + jint xret = (jint) ((TQPopupMenu*) QtSupport::getQt(env, obj))->exec((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_exec__Lorg_kde_qt_QPoint_2I(JNIEnv* env, jobject obj, jobject pos, jint indexAtPoint) +{ + jint xret = (jint) ((TQPopupMenu*) QtSupport::getQt(env, obj))->exec((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (int) indexAtPoint); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQPopupMenu*)(TQPopupMenu*)QtSupport::getQt(env, obj))->parentWidget(FALSE) == 0) { + delete (TQPopupMenu*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPopupMenu_findItem(JNIEnv* env, jobject obj, jint id) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->findItem((int) id), "org.kde.qt.TQMenuItem"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPopupMenu_findPopup__Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->findPopup((TQPopupMenu*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQMenuItem"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPopupMenu_findPopup__Lorg_kde_qt_QPopupMenu_2_3I(JNIEnv* env, jobject obj, jobject arg1, jintArray index) +{ + int* _int_index = QtSupport::toIntPtr(env, index); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->findPopup((TQPopupMenu*) QtSupport::getQt(env, arg1), (int*) _int_index), "org.kde.qt.TQMenuItem"); + env->SetIntArrayRegion(index, 0, 1, (jint *) _int_index); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_focusInEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPopupMenu_focusNextPrevChild(JNIEnv* env, jobject obj, jboolean next) +{ + jboolean xret = (jboolean) ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_focusNextPrevChild((bool) next); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_focusOutEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_hide(JNIEnv* env, jobject obj) +{ + ((TQPopupMenu*) QtSupport::getQt(env, obj))->hide(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPopupMenu_iconSet(JNIEnv* env, jobject obj, jint id) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->iconSet((int) id), "org.kde.qt.TQIconSet"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_idAt__I(JNIEnv* env, jobject obj, jint index) +{ + jint xret = (jint) ((TQPopupMenu*) QtSupport::getQt(env, obj))->idAt((int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_idAt__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject pos) +{ + jint xret = (jint) ((TQPopupMenu*) QtSupport::getQt(env, obj))->idAt((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_indexOf(JNIEnv* env, jobject obj, jint id) +{ + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->indexOf((int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring text, jint id, jint index) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jstring text, jobject receiver, jstring member, jobject accel) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jstring text, jobject receiver, jstring member, jobject accel, jint id) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jstring text, jobject popup) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jstring text, jobject popup, jint id) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jstring text, jobject popup, jint id, jint index) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QCustomMenuItem_2(JNIEnv* env, jobject obj, jobject custom) +{ + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((TQCustomMenuItem*) QtSupport::getQt(env, custom)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QCustomMenuItem_2I(JNIEnv* env, jobject obj, jobject custom, jint id) +{ + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((TQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QCustomMenuItem_2II(JNIEnv* env, jobject obj, jobject custom, jint id, jint index) +{ + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((TQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject icon, jstring text) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id, jint index) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member, jobject accel) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member, jobject accel, jint id) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member, jobject accel, jint id, jint index) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject popup) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject popup, jint id) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject popup, jint id, jint index) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2(JNIEnv* env, jobject obj, jobject icon, jobject custom) +{ + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (TQCustomMenuItem*) QtSupport::getQt(env, custom)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2I(JNIEnv* env, jobject obj, jobject icon, jobject custom, jint id) +{ + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (TQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2II(JNIEnv* env, jobject obj, jobject icon, jobject custom, jint id, jint index) +{ + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (TQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject icon, jobject pixmap) +{ + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jint id) +{ + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2II(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jint id, jint index) +{ + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member, jobject accel) +{ + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id) +{ + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id, jint index) +{ + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject popup) +{ + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject popup, jint id) +{ + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject popup, jint id, jint index) +{ + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pixmap) +{ + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint id) +{ + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2II(JNIEnv* env, jobject obj, jobject pixmap, jint id, jint index) +{ + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject pixmap, jobject receiver, jstring member, jobject accel) +{ + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id) +{ + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv* env, jobject obj, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id, jint index) +{ + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject pixmap, jobject popup) +{ + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jobject pixmap, jobject popup, jint id) +{ + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jobject pixmap, jobject popup, jint id, jint index) +{ + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) +{ + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((TQWidget*) QtSupport::getQt(env, widget)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint id) +{ + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((TQWidget*) QtSupport::getQt(env, widget), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject widget, jint id, jint index) +{ + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((TQWidget*) QtSupport::getQt(env, widget), (int) id, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertSeparator__(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertSeparator(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertSeparator__I(JNIEnv* env, jobject obj, jint index) +{ + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->insertSeparator((int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertTearOffHandle__(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPopupMenu*) QtSupport::getQt(env, obj))->insertTearOffHandle(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertTearOffHandle__I(JNIEnv* env, jobject obj, jint id) +{ + jint xret = (jint) ((TQPopupMenu*) QtSupport::getQt(env, obj))->insertTearOffHandle((int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertTearOffHandle__II(JNIEnv* env, jobject obj, jint id, jint index) +{ + jint xret = (jint) ((TQPopupMenu*) QtSupport::getQt(env, obj))->insertTearOffHandle((int) id, (int) index); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPopupMenu_isCheckable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQPopupMenu*) QtSupport::getQt(env, obj))->isCheckable(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPopupMenu_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPopupMenu_isItemActive(JNIEnv* env, jobject obj, jint id) +{ + jboolean xret = (jboolean) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->isItemActive((int) id); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPopupMenu_isItemChecked(JNIEnv* env, jobject obj, jint id) +{ + jboolean xret = (jboolean) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->isItemChecked((int) id); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPopupMenu_isItemEnabled(JNIEnv* env, jobject obj, jint id) +{ + jboolean xret = (jboolean) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->isItemEnabled((int) id); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPopupMenu_isItemVisible(JNIEnv* env, jobject obj, jint id) +{ + jboolean xret = (jboolean) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->isItemVisible((int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_itemAtPos__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1) +{ + jint xret = (jint) ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_itemAtPos((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_itemAtPos__Lorg_kde_qt_QPoint_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean ignoreSeparator) +{ + jint xret = (jint) ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_itemAtPos((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (bool) ignoreSeparator); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPopupMenu_itemGeometry(JNIEnv* env, jobject obj, jint index) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQPopupMenu*) QtSupport::getQt(env, obj))->itemGeometry((int) index)), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_itemHeight__I(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_itemHeight((int) arg1); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_itemHeight__Lorg_kde_qt_QMenuItem_2(JNIEnv* env, jobject obj, jobject mi) +{ + jint xret = (jint) ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_itemHeight((TQMenuItem*) QtSupport::getQt(env, mi)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_itemParameter(JNIEnv* env, jobject obj, jint id) +{ + jint xret = (jint) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->itemParameter((int) id); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_leaveEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_menuContentsChanged(JNIEnv* env, jobject obj) +{ + ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_menuContentsChanged(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_menuDelPopup(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_menuDelPopup((TQPopupMenu*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_menuInsPopup(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_menuInsPopup((TQPopupMenu*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_menuStateChanged(JNIEnv* env, jobject obj) +{ + ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_menuStateChanged(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPopupMenu_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQPopupMenu*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_newTQPopupMenu__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPopupMenuJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_newTQPopupMenu__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPopupMenuJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_newTQPopupMenu__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 TQPopupMenuJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_paintEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPopupMenu_pixmap(JNIEnv* env, jobject obj, jint id) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->pixmap((int) id), "org.kde.qt.TQPixmap"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_popup__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject pos) +{ + ((TQPopupMenu*) QtSupport::getQt(env, obj))->popup((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_popup__Lorg_kde_qt_QPoint_2I(JNIEnv* env, jobject obj, jobject pos, jint indexAtPoint) +{ + ((TQPopupMenu*) QtSupport::getQt(env, obj))->popup((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (int) indexAtPoint); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_removeItemAt(JNIEnv* env, jobject obj, jint index) +{ + ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->removeItemAt((int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_removeItem(JNIEnv* env, jobject obj, jint id) +{ + ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->removeItem((int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_setAccel(JNIEnv* env, jobject obj, jobject key, jint id) +{ + ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->setAccel((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, key), (int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_setActiveItem(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQPopupMenu*) QtSupport::getQt(env, obj))->setActiveItem((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_setCheckable(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQPopupMenu*) QtSupport::getQt(env, obj))->setCheckable((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_setFont(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPopupMenu*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_setId(JNIEnv* env, jobject obj, jint index, jint id) +{ + ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->setId((int) index, (int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_setItemChecked(JNIEnv* env, jobject obj, jint id, jboolean check) +{ + ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->setItemChecked((int) id, (bool) check); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_setItemEnabled(JNIEnv* env, jobject obj, jint id, jboolean enable) +{ + ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->setItemEnabled((int) id, (bool) enable); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPopupMenu_setItemParameter(JNIEnv* env, jobject obj, jint id, jint param) +{ + jboolean xret = (jboolean) ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->setItemParameter((int) id, (int) param); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_setItemVisible(JNIEnv* env, jobject obj, jint id, jboolean visible) +{ + ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->setItemVisible((int) id, (bool) visible); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_setWhatsThis(JNIEnv* env, jobject obj, jint id, jstring arg2) +{ +static TQString* _qstring_arg2 = 0; + ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->setWhatsThis((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_show(JNIEnv* env, jobject obj) +{ + ((TQPopupMenu*) QtSupport::getQt(env, obj))->show(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPopupMenu_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQPopupMenu*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_styleChange(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QPopupMenu_text(JNIEnv* env, jobject obj, jint id) +{ + TQString _qstring; + _qstring = ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->text((int) id); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_timerEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_timerEvent((TQTimerEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QPopupMenu_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQPopupMenuJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QPopupMenu_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQPopupMenuJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPopupMenu_updateItem(JNIEnv* env, jobject obj, jint id) +{ + ((TQPopupMenu*) QtSupport::getQt(env, obj))->updateItem((int) id); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QPopupMenu_whatsThis(JNIEnv* env, jobject obj, jint id) +{ + TQString _qstring; + _qstring = ((TQMenuData*)(TQPopupMenu*) QtSupport::getQt(env, obj))->whatsThis((int) id); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv *env, jobject obj, jstring text, jobject receiver, jstring member, jobject accel, jint identifier, jint index) +{ + identifier = Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2II(env, obj, text, identifier, index); + + if ((bool) Java_org_kde_qt_QPopupMenu_connectItem(env, obj, identifier, receiver, member)) { + Java_org_kde_qt_QPopupMenu_setAccel(env, obj, accel, identifier); + } + + return identifier; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jstring text, jobject receiver, jstring member) +{ + jint identifier = Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2II(env, obj, text, -1, -1); + Java_org_kde_qt_QPopupMenu_connectItem(env, obj, identifier, receiver, member); + + return identifier; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member) +{ +static TQString * _qstring_text = 0; + jint identifier = Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2II(env, obj, icon, text, -1, -1); + Java_org_kde_qt_QPopupMenu_connectItem(env, obj, identifier, receiver, member); + + return identifier; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject pixmap, jobject receiver, jstring member) +{ + jint identifier = Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2II(env, obj, pixmap, -1, -1); + Java_org_kde_qt_QPopupMenu_connectItem(env, obj, identifier, receiver, member); + + return identifier; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member) +{ + jint identifier = Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2II(env, obj, icon, pixmap, -1, -1); + Java_org_kde_qt_QPopupMenu_connectItem(env, obj, identifier, receiver, member); + + return identifier; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPopupMenu_connectItem(JNIEnv *env, jobject obj, jint identifier, jobject receiver, jstring member) +{ + JavaSlot * javaSlot = QtSupport::slotForReceiver(env, receiver, member); + + if ( ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->connectItem( identifier, + javaSlot, + javaSlot->javaToQtSlotName(env, member) ) ) + { + return(jboolean) JNI_TRUE; + } else { + return (jboolean) JNI_FALSE; + } +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPopupMenu_disconnectItem(JNIEnv *env, jobject obj, jint identifier, jobject receiver, jstring member) +{ + JavaSlot * javaSlot = QtSupport::slotForReceiver(env, receiver, member); + + if ( ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->disconnectItem( identifier, + javaSlot, + javaSlot->javaToQtSlotName(env, member) ) ) + { + return(jboolean) JNI_TRUE; + } else { + return (jboolean) JNI_FALSE; + } +} + diff --git a/qtjava/javalib/qtjava/TQPopupMenu.h b/qtjava/javalib/qtjava/TQPopupMenu.h new file mode 100644 index 00000000..1412a8f6 --- /dev/null +++ b/qtjava/javalib/qtjava/TQPopupMenu.h @@ -0,0 +1,158 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QPopupMenu__ +#define __org_kde_qt_QPopupMenu__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPopupMenu_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPopupMenu_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_newTQPopupMenu__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_newTQPopupMenu__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_newTQPopupMenu__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_popup__Lorg_kde_qt_QPoint_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_popup__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_updateItem (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_setCheckable (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPopupMenu_isCheckable (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_setFont (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_show (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_hide (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_exec__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_exec__Lorg_kde_qt_QPoint_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_exec__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_setActiveItem (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPopupMenu_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_idAt__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_idAt__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPopupMenu_customWhatsThis (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertTearOffHandle__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertTearOffHandle__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertTearOffHandle__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_activateItemAt (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPopupMenu_itemGeometry (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPopupMenu_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPopupMenu_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_itemHeight__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_itemHeight__Lorg_kde_qt_QMenuItem_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_drawItem (JNIEnv *env, jobject, jobject, jint, jobject, jboolean, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_drawContents (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_closeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_paintEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_mousePressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_mouseReleaseEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_mouseMoveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_keyPressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_focusInEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_focusOutEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_timerEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_leaveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_styleChange (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_enabledChange (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_columns (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPopupMenu_focusNextPrevChild (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_itemAtPos__Lorg_kde_qt_QPoint_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_itemAtPos__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPopupMenu_isDisposed (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_count (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II (JNIEnv *env, jobject, jstring, jobject, jstring, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I (JNIEnv *env, jobject, jstring, jobject, jstring, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jstring, jobject, jstring, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II (JNIEnv *env, jobject, jobject, jobject, jstring, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I (JNIEnv *env, jobject, jobject, jobject, jstring, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II (JNIEnv *env, jobject, jobject, jobject, jobject, jstring, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I (JNIEnv *env, jobject, jobject, jobject, jobject, jstring, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject, jobject, jobject, jstring, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2II (JNIEnv *env, jobject, jobject, jstring, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2II (JNIEnv *env, jobject, jstring, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2I (JNIEnv *env, jobject, jstring, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2II (JNIEnv *env, jobject, jobject, jstring, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2I (JNIEnv *env, jobject, jobject, jstring, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jobject, jstring, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2II (JNIEnv *env, jobject, jobject, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2II (JNIEnv *env, jobject, jobject, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2I (JNIEnv *env, jobject, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2II (JNIEnv *env, jobject, jobject, jobject, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2I (JNIEnv *env, jobject, jobject, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jobject, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QWidget_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2II (JNIEnv *env, jobject, jobject, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2I (JNIEnv *env, jobject, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QCustomMenuItem_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QCustomMenuItem_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QCustomMenuItem_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertSeparator__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_insertSeparator__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_removeItem (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_removeItemAt (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_clear (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPopupMenu_accel (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_setAccel (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPopupMenu_iconSet (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPopupMenu_text (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPopupMenu_pixmap (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_setWhatsThis (JNIEnv *env, jobject, jint, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPopupMenu_whatsThis (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_changeItem__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_changeItem__ILorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_changeItem__ILorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_changeItem__ILorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jint, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_changeItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_changeItem__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_changeItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPopupMenu_isItemActive (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPopupMenu_isItemEnabled (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_setItemEnabled (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPopupMenu_isItemChecked (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_setItemChecked (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPopupMenu_isItemVisible (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_setItemVisible (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_indexOf (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_setId (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPopupMenu_connectItem (JNIEnv *env, jobject, jint, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPopupMenu_disconnectItem (JNIEnv *env, jobject, jint, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPopupMenu_setItemParameter (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_itemParameter (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPopupMenu_findItem (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPopupMenu_findPopup__Lorg_kde_qt_QPopupMenu_2_3I (JNIEnv *env, jobject, jobject, jintArray); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPopupMenu_findPopup__Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_menuContentsChanged (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_menuStateChanged (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_menuInsPopup (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_menuDelPopup (JNIEnv *env, jobject, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QPopupMenu__ */ diff --git a/qtjava/javalib/qtjava/TQPrintDialog.cpp b/qtjava/javalib/qtjava/TQPrintDialog.cpp new file mode 100644 index 00000000..0e0218ee --- /dev/null +++ b/qtjava/javalib/qtjava/TQPrintDialog.cpp @@ -0,0 +1,491 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQPrintDialogJBridge : public TQPrintDialog +{ +public: + TQPrintDialogJBridge(TQPrinter* arg1,TQWidget* arg2,const char* arg3) : TQPrintDialog(arg1,arg2,arg3) {}; + TQPrintDialogJBridge(TQPrinter* arg1,TQWidget* arg2) : TQPrintDialog(arg1,arg2) {}; + TQPrintDialogJBridge(TQPrinter* arg1) : TQPrintDialog(arg1) {}; + ~TQPrintDialogJBridge() {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.qt.TQPrintDialog","accept")) { + TQDialog::accept(); + } + return; + } + void setActiveWindow() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPrintDialog","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.qt.TQPrintDialog","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.qt.TQPrintDialog","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.qt.TQPrintDialog","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPrintDialog","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.qt.TQPrintDialog","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPrintDialog","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.qt.TQPrintDialog","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.qt.TQPrintDialog","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.qt.TQPrintDialog","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPrintDialog_addButton(JNIEnv* env, jobject obj, jobject but) +{ + ((TQPrintDialog*) QtSupport::getQt(env, obj))->addButton((TQPushButton*) QtSupport::getQt(env, but)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QPrintDialog_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQPrintDialog*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPrintDialog_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QPrintDialog_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPrintDialog_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQPrintDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQPrintDialog*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPrintDialog_getPrinterSetup__Lorg_kde_qt_QPrinter_2(JNIEnv* env, jclass cls, jobject arg1) +{ + (void) cls; + jboolean xret = (jboolean) TQPrintDialogJBridge::getPrinterSetup((TQPrinter*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPrintDialog_getPrinterSetup__Lorg_kde_qt_QPrinter_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) +{ + (void) cls; + jboolean xret = (jboolean) TQPrintDialogJBridge::getPrinterSetup((TQPrinter*) QtSupport::getQt(env, arg1), (TQWidget*) QtSupport::getQt(env, arg2)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPrintDialog_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPrintDialog_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQPrintDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPrintDialog_newTQPrintDialog__Lorg_kde_qt_QPrinter_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPrintDialogJBridge((TQPrinter*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPrintDialog_newTQPrintDialog__Lorg_kde_qt_QPrinter_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPrintDialogJBridge((TQPrinter*) QtSupport::getQt(env, arg1), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPrintDialog_newTQPrintDialog__Lorg_kde_qt_QPrinter_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPrintDialogJBridge((TQPrinter*) QtSupport::getQt(env, arg1), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPrintDialog_printer(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQPrintDialog*) QtSupport::getQt(env, obj))->printer(), "org.kde.qt.TQPrinter"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPrintDialog_setGlobalPrintDialog(JNIEnv* env, jclass cls, jobject arg1) +{ + (void) cls; + TQPrintDialogJBridge::setGlobalPrintDialog((TQPrintDialog*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPrintDialog_setPrinter__Lorg_kde_qt_QPrinter_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPrintDialog*) QtSupport::getQt(env, obj))->setPrinter((TQPrinter*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPrintDialog_setPrinter__Lorg_kde_qt_QPrinter_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) +{ + ((TQPrintDialog*) QtSupport::getQt(env, obj))->setPrinter((TQPrinter*) QtSupport::getQt(env, arg1), (bool) arg2); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QPrintDialog_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQPrintDialogJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QPrintDialog_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQPrintDialogJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQPrintDialog.h b/qtjava/javalib/qtjava/TQPrintDialog.h new file mode 100644 index 00000000..4a8866bc --- /dev/null +++ b/qtjava/javalib/qtjava/TQPrintDialog.h @@ -0,0 +1,35 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QPrintDialog__ +#define __org_kde_qt_QPrintDialog__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPrintDialog_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPrintDialog_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrintDialog_newTQPrintDialog__Lorg_kde_qt_QPrinter_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrintDialog_newTQPrintDialog__Lorg_kde_qt_QPrinter_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrintDialog_newTQPrintDialog__Lorg_kde_qt_QPrinter_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrintDialog_setPrinter__Lorg_kde_qt_QPrinter_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrintDialog_setPrinter__Lorg_kde_qt_QPrinter_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPrintDialog_printer (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrintDialog_addButton (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPrintDialog_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPrintDialog_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPrintDialog_getPrinterSetup__Lorg_kde_qt_QPrinter_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPrintDialog_getPrinterSetup__Lorg_kde_qt_QPrinter_2 (JNIEnv *env, jclass, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrintDialog_setGlobalPrintDialog (JNIEnv *env, jclass, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrintDialog_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrintDialog_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPrintDialog_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QPrintDialog__ */ diff --git a/qtjava/javalib/qtjava/TQPrinter.cpp b/qtjava/javalib/qtjava/TQPrinter.cpp new file mode 100644 index 00000000..6f19beb8 --- /dev/null +++ b/qtjava/javalib/qtjava/TQPrinter.cpp @@ -0,0 +1,453 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQPrinterJBridge : public TQPrinter +{ +public: + TQPrinterJBridge(TQPrinter::PrinterMode arg1) : TQPrinter(arg1) {}; + TQPrinterJBridge() : TQPrinter() {}; + int protected_metric(int arg1) { + return (int) TQPrinter::metric(arg1); + } + ~TQPrinterJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPrinter_abort(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQPrinter*) QtSupport::getQt(env, obj))->abort(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPrinter_aborted(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQPrinter*) QtSupport::getQt(env, obj))->aborted(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPrinter_collateCopiesEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQPrinter*) QtSupport::getQt(env, obj))->collateCopiesEnabled(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPrinter_collateCopies(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQPrinter*) QtSupport::getQt(env, obj))->collateCopies(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPrinter_colorMode(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPrinter*) QtSupport::getQt(env, obj))->colorMode(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QPrinter_creator(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQPrinter*) QtSupport::getQt(env, obj))->creator(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPrinter_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QPrinter_finalize(env, obj); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QPrinter_docName(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQPrinter*) QtSupport::getQt(env, obj))->docName(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPrinter_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQPrinter*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPrinter_fromPage(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPrinter*) QtSupport::getQt(env, obj))->fromPage(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPrinter_fullPage(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQPrinter*) QtSupport::getQt(env, obj))->fullPage(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPrinter_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPrinter_isOptionEnabled(JNIEnv* env, jobject obj, jint arg1) +{ + jboolean xret = (jboolean) ((TQPrinter*) QtSupport::getQt(env, obj))->isOptionEnabled((TQPrinter::PrinterOption) arg1); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPrinter_margins__(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQPrinter*) QtSupport::getQt(env, obj))->margins()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPrinter_margins___3I_3I_3I_3I(JNIEnv* env, jobject obj, jintArray top, jintArray left, jintArray bottom, jintArray right) +{ + int* _int_top = QtSupport::toIntPtr(env, top); + int* _int_left = QtSupport::toIntPtr(env, left); + int* _int_bottom = QtSupport::toIntPtr(env, bottom); + int* _int_right = QtSupport::toIntPtr(env, right); + ((TQPrinter*) QtSupport::getQt(env, obj))->margins( (uint*) _int_top, (uint*) _int_left, (uint*) _int_bottom, (uint*) _int_right); + env->SetIntArrayRegion(top, 0, 1, (jint *) _int_top); + env->SetIntArrayRegion(left, 0, 1, (jint *) _int_left); + env->SetIntArrayRegion(bottom, 0, 1, (jint *) _int_bottom); + env->SetIntArrayRegion(right, 0, 1, (jint *) _int_right); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPrinter_maxPage(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPrinter*) QtSupport::getQt(env, obj))->maxPage(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPrinter_metric(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQPrinterJBridge*) QtSupport::getQt(env, obj))->protected_metric((int) arg1); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPrinter_minPage(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPrinter*) QtSupport::getQt(env, obj))->minPage(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPrinter_newPage(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQPrinter*) QtSupport::getQt(env, obj))->newPage(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPrinter_newTQPrinter__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPrinterJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPrinter_newTQPrinter__I(JNIEnv* env, jobject obj, jint mode) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPrinterJBridge((TQPrinter::PrinterMode) mode)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPrinter_numCopies(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPrinter*) QtSupport::getQt(env, obj))->numCopies(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPrinter_orientation(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPrinter*) QtSupport::getQt(env, obj))->orientation(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QPrinter_outputFileName(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQPrinter*) QtSupport::getQt(env, obj))->outputFileName(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPrinter_outputToFile(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQPrinter*) QtSupport::getQt(env, obj))->outputToFile(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPrinter_pageOrder(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPrinter*) QtSupport::getQt(env, obj))->pageOrder(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPrinter_pageSize(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPrinter*) QtSupport::getQt(env, obj))->pageSize(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPrinter_paperSource(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPrinter*) QtSupport::getQt(env, obj))->paperSource(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QPrinter_printProgram(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQPrinter*) QtSupport::getQt(env, obj))->printProgram(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPrinter_printRange(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPrinter*) QtSupport::getQt(env, obj))->printRange(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QPrinter_printerName(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQPrinter*) QtSupport::getQt(env, obj))->printerName(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QPrinter_printerSelectionOption(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQPrinter*) QtSupport::getQt(env, obj))->printerSelectionOption(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPrinter_resolution(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPrinter*) QtSupport::getQt(env, obj))->resolution(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPrinter_setCollateCopiesEnabled(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQPrinter*) QtSupport::getQt(env, obj))->setCollateCopiesEnabled((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPrinter_setCollateCopies(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQPrinter*) QtSupport::getQt(env, obj))->setCollateCopies((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPrinter_setColorMode(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQPrinter*) QtSupport::getQt(env, obj))->setColorMode((TQPrinter::ColorMode) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPrinter_setCreator(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQPrinter*) QtSupport::getQt(env, obj))->setCreator((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPrinter_setDocName(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQPrinter*) QtSupport::getQt(env, obj))->setDocName((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPrinter_setFromTo(JNIEnv* env, jobject obj, jint fromPage, jint toPage) +{ + ((TQPrinter*) QtSupport::getQt(env, obj))->setFromTo((int) fromPage, (int) toPage); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPrinter_setFullPage(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQPrinter*) QtSupport::getQt(env, obj))->setFullPage((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPrinter_setMargins(JNIEnv* env, jobject obj, jint top, jint left, jint bottom, jint right) +{ + ((TQPrinter*) QtSupport::getQt(env, obj))->setMargins((uint) top, (uint) left, (uint) bottom, (uint) right); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPrinter_setMinMax(JNIEnv* env, jobject obj, jint minPage, jint maxPage) +{ + ((TQPrinter*) QtSupport::getQt(env, obj))->setMinMax((int) minPage, (int) maxPage); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPrinter_setNumCopies(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQPrinter*) QtSupport::getQt(env, obj))->setNumCopies((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPrinter_setOptionEnabled(JNIEnv* env, jobject obj, jint arg1, jboolean enable) +{ + ((TQPrinter*) QtSupport::getQt(env, obj))->setOptionEnabled((TQPrinter::PrinterOption) arg1, (bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPrinter_setOrientation(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQPrinter*) QtSupport::getQt(env, obj))->setOrientation((TQPrinter::Orientation) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPrinter_setOutputFileName(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQPrinter*) QtSupport::getQt(env, obj))->setOutputFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPrinter_setOutputToFile(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQPrinter*) QtSupport::getQt(env, obj))->setOutputToFile((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPrinter_setPageOrder(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQPrinter*) QtSupport::getQt(env, obj))->setPageOrder((TQPrinter::PageOrder) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPrinter_setPageSize(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQPrinter*) QtSupport::getQt(env, obj))->setPageSize((TQPrinter::PageSize) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPrinter_setPaperSource(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQPrinter*) QtSupport::getQt(env, obj))->setPaperSource((TQPrinter::PaperSource) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPrinter_setPrintProgram(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQPrinter*) QtSupport::getQt(env, obj))->setPrintProgram((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPrinter_setPrintRange(JNIEnv* env, jobject obj, jint range) +{ + ((TQPrinter*) QtSupport::getQt(env, obj))->setPrintRange((TQPrinter::PrintRange) range); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPrinter_setPrinterName(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQPrinter*) QtSupport::getQt(env, obj))->setPrinterName((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPrinter_setPrinterSelectionOption(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQPrinter*) QtSupport::getQt(env, obj))->setPrinterSelectionOption((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPrinter_setResolution(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQPrinter*) QtSupport::getQt(env, obj))->setResolution((int) arg1); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPrinter_setup__(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQPrinter*) QtSupport::getQt(env, obj))->setup(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPrinter_setup__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + jboolean xret = (jboolean) ((TQPrinter*) QtSupport::getQt(env, obj))->setup((TQWidget*) QtSupport::getQt(env, parent)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QPrinter_toPage(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPrinter*) QtSupport::getQt(env, obj))->toPage(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQPrinter.h b/qtjava/javalib/qtjava/TQPrinter.h new file mode 100644 index 00000000..1a711b02 --- /dev/null +++ b/qtjava/javalib/qtjava/TQPrinter.h @@ -0,0 +1,76 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QPrinter__ +#define __org_kde_qt_QPrinter__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_newTQPrinter__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_newTQPrinter__ (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPrinter_printerName (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setPrinterName (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPrinter_outputToFile (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setOutputToFile (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPrinter_outputFileName (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setOutputFileName (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPrinter_printProgram (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setPrintProgram (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPrinter_printerSelectionOption (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setPrinterSelectionOption (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPrinter_docName (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setDocName (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPrinter_creator (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setCreator (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPrinter_orientation (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setOrientation (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPrinter_pageSize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setPageSize (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setPageOrder (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPrinter_pageOrder (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setResolution (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPrinter_resolution (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setColorMode (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPrinter_colorMode (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setFullPage (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPrinter_fullPage (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPrinter_margins__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setMargins (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_margins___3I_3I_3I_3I (JNIEnv *env, jobject, jintArray, jintArray, jintArray, jintArray); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPrinter_fromPage (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPrinter_toPage (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setFromTo (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPrinter_minPage (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPrinter_maxPage (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setMinMax (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPrinter_numCopies (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setNumCopies (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPrinter_collateCopiesEnabled (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setCollateCopiesEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPrinter_collateCopies (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setCollateCopies (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPrinter_printRange (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setPrintRange (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPrinter_newPage (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPrinter_abort (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPrinter_aborted (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPrinter_setup__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPrinter_setup__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPrinter_paperSource (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setPaperSource (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_setOptionEnabled (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPrinter_isOptionEnabled (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPrinter_metric (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPrinter_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QPrinter__ */ diff --git a/qtjava/javalib/qtjava/TQProcess.cpp b/qtjava/javalib/qtjava/TQProcess.cpp new file mode 100644 index 00000000..7ee3049f --- /dev/null +++ b/qtjava/javalib/qtjava/TQProcess.cpp @@ -0,0 +1,486 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include + +#include +#include + +class TQProcessJBridge : public TQProcess +{ +public: + TQProcessJBridge(TQObject* arg1,const char* arg2) : TQProcess(arg1,arg2) {}; + TQProcessJBridge(TQObject* arg1) : TQProcess(arg1) {}; + TQProcessJBridge() : TQProcess() {}; + TQProcessJBridge(const TQString& arg1,TQObject* arg2,const char* arg3) : TQProcess(arg1,arg2,arg3) {}; + TQProcessJBridge(const TQString& arg1,TQObject* arg2) : TQProcess(arg1,arg2) {}; + TQProcessJBridge(const TQString& arg1) : TQProcess(arg1) {}; + TQProcessJBridge(const TQStringList& arg1,TQObject* arg2,const char* arg3) : TQProcess(arg1,arg2,arg3) {}; + TQProcessJBridge(const TQStringList& arg1,TQObject* arg2) : TQProcess(arg1,arg2) {}; + TQProcessJBridge(const TQStringList& arg1) : TQProcess(arg1) {}; + void public_closeStdin() { + TQProcess::closeStdin(); + return; + } + void protected_connectNotify(const char* arg1) { + TQProcess::connectNotify(arg1); + return; + } + void protected_disconnectNotify(const char* arg1) { + TQProcess::disconnectNotify(arg1); + return; + } + ~TQProcessJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::removeChild(arg1); + } + return; + } + void setWorkingDirectory(const TQDir& arg1) { + if (!QtSupport::eventDelegate(this,"setWorkingDirectory",(void*)&arg1,"org.kde.qt.TQDir")) { + TQProcess::setWorkingDirectory(arg1); + } + return; + } + void customEvent(TQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { + TQObject::customEvent(arg1); + } + return; + } + void closeStdin() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQProcess","closeStdin")) { + TQProcess::closeStdin(); + } + 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.qt.TQProcess",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProcess_addArgument(JNIEnv* env, jobject obj, jstring arg) +{ +static TQString* _qstring_arg = 0; + ((TQProcess*) QtSupport::getQt(env, obj))->addArgument((const TQString&)*(TQString*) QtSupport::toTQString(env, arg, &_qstring_arg)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QProcess_arguments(JNIEnv* env, jobject obj) +{ + TQStringList _qlist; + _qlist = ((TQProcess*) QtSupport::getQt(env, obj))->arguments(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QProcess_canReadLineStderr(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQProcess*) QtSupport::getQt(env, obj))->canReadLineStderr(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QProcess_canReadLineStdout(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQProcess*) QtSupport::getQt(env, obj))->canReadLineStdout(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QProcess_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQProcess*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProcess_clearArguments(JNIEnv* env, jobject obj) +{ + ((TQProcess*) QtSupport::getQt(env, obj))->clearArguments(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProcess_closeStdin(JNIEnv* env, jobject obj) +{ + ((TQProcessJBridge*) QtSupport::getQt(env, obj))->public_closeStdin(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QProcess_communication(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQProcess*) QtSupport::getQt(env, obj))->communication(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProcess_connectNotify(JNIEnv* env, jobject obj, jstring signal) +{ +static TQCString* _qstring_signal = 0; + ((TQProcessJBridge*) QtSupport::getQt(env, obj))->protected_connectNotify((const char*) QtSupport::toCharString(env, signal, &_qstring_signal)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProcess_disconnectNotify(JNIEnv* env, jobject obj, jstring signal) +{ +static TQCString* _qstring_signal = 0; + ((TQProcessJBridge*) QtSupport::getQt(env, obj))->protected_disconnectNotify((const char*) QtSupport::toCharString(env, signal, &_qstring_signal)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProcess_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QProcess_finalize(env, obj); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QProcess_exitStatus(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQProcess*) QtSupport::getQt(env, obj))->exitStatus(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProcess_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQProcess*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQProcess*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProcess_flushStdin(JNIEnv* env, jobject obj) +{ + ((TQProcess*) QtSupport::getQt(env, obj))->flushStdin(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QProcess_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QProcess_isRunning(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQProcess*) QtSupport::getQt(env, obj))->isRunning(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProcess_kill(JNIEnv* env, jobject obj) +{ + ((TQProcess*) QtSupport::getQt(env, obj))->kill(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QProcess_launch__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring buf) +{ +static TQString* _qstring_buf = 0; + jboolean xret = (jboolean) ((TQProcess*) QtSupport::getQt(env, obj))->launch((const TQString&)*(TQString*) QtSupport::toTQString(env, buf, &_qstring_buf)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QProcess_launch__Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring buf, jobjectArray arg2) +{ +static TQString* _qstring_buf = 0; +static TQStringList* _qlist_arg2 = 0; + jboolean xret = (jboolean) ((TQProcess*) QtSupport::getQt(env, obj))->launch((const TQString&)*(TQString*) QtSupport::toTQString(env, buf, &_qstring_buf), (TQStringList*) QtSupport::toTQStringList(env, arg2, &_qlist_arg2)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QProcess_launch___3B(JNIEnv* env, jobject obj, jbyteArray buf) +{ +static TQByteArray* _qbyteArray_buf = 0; + jboolean xret = (jboolean) ((TQProcess*) QtSupport::getQt(env, obj))->launch((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, buf, &_qbyteArray_buf)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QProcess_launch___3B_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jbyteArray buf, jobjectArray arg2) +{ +static TQByteArray* _qbyteArray_buf = 0; +static TQStringList* _qlist_arg2 = 0; + jboolean xret = (jboolean) ((TQProcess*) QtSupport::getQt(env, obj))->launch((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, buf, &_qbyteArray_buf), (TQStringList*) QtSupport::toTQStringList(env, arg2, &_qlist_arg2)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QProcess_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQProcess*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProcess_newTQProcess__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQProcessJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProcess_newTQProcess__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg0) +{ +static TQString* _qstring_arg0 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQProcessJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, arg0, &_qstring_arg0))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProcess_newTQProcess__Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring arg0, jobject parent) +{ +static TQString* _qstring_arg0 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQProcessJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, arg0, &_qstring_arg0), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProcess_newTQProcess__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg0, jobject parent, jstring name) +{ +static TQString* _qstring_arg0 = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQProcessJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, arg0, &_qstring_arg0), (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_qt_QProcess_newTQProcess__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQProcessJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProcess_newTQProcess__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 TQProcessJBridge((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_qt_QProcess_newTQProcess___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray args) +{ +static TQStringList* _qlist_args = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQProcessJBridge((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProcess_newTQProcess___3Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobjectArray args, jobject parent) +{ +static TQStringList* _qlist_args = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQProcessJBridge((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProcess_newTQProcess___3Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray args, jobject parent, jstring name) +{ +static TQStringList* _qlist_args = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQProcessJBridge((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args), (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_qt_QProcess_normalExit(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQProcess*) QtSupport::getQt(env, obj))->normalExit(); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QProcess_processIdentifier(JNIEnv* env, jobject obj) +{ + jlong xret = (jlong) ((TQProcess*) QtSupport::getQt(env, obj))->processIdentifier(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QProcess_readLineStderr(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQProcess*) QtSupport::getQt(env, obj))->readLineStderr(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QProcess_readLineStdout(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQProcess*) QtSupport::getQt(env, obj))->readLineStdout(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jbyteArray JNICALL +Java_org_kde_qt_QProcess_readStderr(JNIEnv* env, jobject obj) +{ + TQByteArray _qbyteArray; + _qbyteArray = ((TQProcess*) QtSupport::getQt(env, obj))->readStderr(); + return QtSupport::fromTQByteArray(env, &_qbyteArray); +} + +JNIEXPORT jbyteArray JNICALL +Java_org_kde_qt_QProcess_readStdout(JNIEnv* env, jobject obj) +{ + TQByteArray _qbyteArray; + _qbyteArray = ((TQProcess*) QtSupport::getQt(env, obj))->readStdout(); + return QtSupport::fromTQByteArray(env, &_qbyteArray); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProcess_setArguments(JNIEnv* env, jobject obj, jobjectArray args) +{ +static TQStringList* _qlist_args = 0; + ((TQProcess*) QtSupport::getQt(env, obj))->setArguments((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProcess_setCommunication(JNIEnv* env, jobject obj, jint c) +{ + ((TQProcess*) QtSupport::getQt(env, obj))->setCommunication((int) c); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProcess_setWorkingDirectory(JNIEnv* env, jobject obj, jobject dir) +{ + ((TQProcess*) QtSupport::getQt(env, obj))->setWorkingDirectory((const TQDir&)*(const TQDir*) QtSupport::getQt(env, dir)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QProcess_start__(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQProcess*) QtSupport::getQt(env, obj))->start(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QProcess_start___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray arg1) +{ +static TQStringList* _qlist_arg1 = 0; + jboolean xret = (jboolean) ((TQProcess*) QtSupport::getQt(env, obj))->start((TQStringList*) QtSupport::toTQStringList(env, arg1, &_qlist_arg1)); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QProcess_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQProcessJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QProcess_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQProcessJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProcess_tryTerminate(JNIEnv* env, jobject obj) +{ + ((TQProcess*) QtSupport::getQt(env, obj))->tryTerminate(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QProcess_workingDirectory(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDir(((TQProcess*) QtSupport::getQt(env, obj))->workingDirectory()), "org.kde.qt.TQDir", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProcess_writeToStdin__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring buf) +{ +static TQString* _qstring_buf = 0; + ((TQProcess*) QtSupport::getQt(env, obj))->writeToStdin((const TQString&)*(TQString*) QtSupport::toTQString(env, buf, &_qstring_buf)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProcess_writeToStdin___3B(JNIEnv* env, jobject obj, jbyteArray buf) +{ +static TQByteArray* _qbyteArray_buf = 0; + ((TQProcess*) QtSupport::getQt(env, obj))->writeToStdin((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, buf, &_qbyteArray_buf)); + return; +} + diff --git a/qtjava/javalib/qtjava/TQProcess.h b/qtjava/javalib/qtjava/TQProcess.h new file mode 100644 index 00000000..990c66d6 --- /dev/null +++ b/qtjava/javalib/qtjava/TQProcess.h @@ -0,0 +1,66 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QProcess__ +#define __org_kde_qt_QProcess__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QProcess_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QProcess_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_newTQProcess__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_newTQProcess__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_newTQProcess__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_newTQProcess__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_newTQProcess__Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_newTQProcess__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_newTQProcess___3Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_newTQProcess___3Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobjectArray, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_newTQProcess___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QProcess_arguments (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_clearArguments (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_setArguments (JNIEnv *env, jobject, jobjectArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_addArgument (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QProcess_workingDirectory (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_setWorkingDirectory (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_setCommunication (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QProcess_communication (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProcess_start___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProcess_start__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProcess_launch__Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobjectArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProcess_launch__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProcess_launch___3B_3Ljava_lang_String_2 (JNIEnv *env, jobject, jbyteArray, jobjectArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProcess_launch___3B (JNIEnv *env, jobject, jbyteArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProcess_isRunning (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProcess_normalExit (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QProcess_exitStatus (JNIEnv *env, jobject); +extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QProcess_readStdout (JNIEnv *env, jobject); +extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QProcess_readStderr (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProcess_canReadLineStdout (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProcess_canReadLineStderr (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QProcess_readLineStdout (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QProcess_readLineStderr (JNIEnv *env, jobject); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QProcess_processIdentifier (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_flushStdin (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_tryTerminate (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_kill (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_writeToStdin___3B (JNIEnv *env, jobject, jbyteArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_writeToStdin__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_closeStdin (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QProcess_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QProcess_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_connectNotify (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_disconnectNotify (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProcess_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QProcess__ */ diff --git a/qtjava/javalib/qtjava/TQProgressBar.cpp b/qtjava/javalib/qtjava/TQProgressBar.cpp new file mode 100644 index 00000000..633f13d1 --- /dev/null +++ b/qtjava/javalib/qtjava/TQProgressBar.cpp @@ -0,0 +1,666 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include + +#include +#include + +class TQProgressBarJBridge : public TQProgressBar +{ +public: + TQProgressBarJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQProgressBar(arg1,arg2,arg3) {}; + TQProgressBarJBridge(TQWidget* arg1,const char* arg2) : TQProgressBar(arg1,arg2) {}; + TQProgressBarJBridge(TQWidget* arg1) : TQProgressBar(arg1) {}; + TQProgressBarJBridge() : TQProgressBar() {}; + TQProgressBarJBridge(int arg1,TQWidget* arg2,const char* arg3,TQt::WFlags arg4) : TQProgressBar(arg1,arg2,arg3,arg4) {}; + TQProgressBarJBridge(int arg1,TQWidget* arg2,const char* arg3) : TQProgressBar(arg1,arg2,arg3) {}; + TQProgressBarJBridge(int arg1,TQWidget* arg2) : TQProgressBar(arg1,arg2) {}; + TQProgressBarJBridge(int arg1) : TQProgressBar(arg1) {}; + void protected_drawContents(TQPainter* arg1) { + TQProgressBar::drawContents(arg1); + return; + } + bool protected_setIndicator(TQString& arg1,int arg2,int arg3) { + return (bool) TQProgressBar::setIndicator(arg1,arg2,arg3); + } + void protected_styleChange(TQStyle& arg1) { + TQProgressBar::styleChange(arg1); + return; + } + ~TQProgressBarJBridge() {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.qt.TQProgressBar","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.qt.TQProgressBar","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.qt.TQProgressBar","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.qt.TQProgressBar","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.qt.TQProgressBar","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQProgressBar","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.qt.TQProgressBar","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQProgressBar","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.qt.TQProgressBar","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.qt.TQProgressBar",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.qt.TQProgressBar","frameChanged")) { + TQFrame::frameChanged(); + } + return; + } + void showMinimized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQProgressBar","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QProgressBar_centerIndicator(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQProgressBar*) QtSupport::getQt(env, obj))->centerIndicator(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QProgressBar_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQProgressBar*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressBar_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QProgressBar_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressBar_drawContents(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQProgressBarJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressBar_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQProgressBar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQProgressBar*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QProgressBar_indicatorFollowsStyle(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQProgressBar*) QtSupport::getQt(env, obj))->indicatorFollowsStyle(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QProgressBar_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QProgressBar_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQProgressBar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QProgressBar_minimumSizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQProgressBar*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressBar_newTQProgressBar__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQProgressBarJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressBar_newTQProgressBar__I(JNIEnv* env, jobject obj, jint totalSteps) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQProgressBarJBridge((int) totalSteps)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressBar_newTQProgressBar__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint totalSteps, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQProgressBarJBridge((int) totalSteps, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressBar_newTQProgressBar__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 TQProgressBarJBridge((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_qt_QProgressBar_newTQProgressBar__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 TQProgressBarJBridge((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_qt_QProgressBar_newTQProgressBar__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQProgressBarJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressBar_newTQProgressBar__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 TQProgressBarJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressBar_newTQProgressBar__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 TQProgressBarJBridge((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 jboolean JNICALL +Java_org_kde_qt_QProgressBar_percentageVisible(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQProgressBar*) QtSupport::getQt(env, obj))->percentageVisible(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QProgressBar_progressString(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQProgressBar*) QtSupport::getQt(env, obj))->progressString(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QProgressBar_progress(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQProgressBar*) QtSupport::getQt(env, obj))->progress(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressBar_reset(JNIEnv* env, jobject obj) +{ + ((TQProgressBar*) QtSupport::getQt(env, obj))->reset(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressBar_setCenterIndicator(JNIEnv* env, jobject obj, jboolean on) +{ + ((TQProgressBar*) QtSupport::getQt(env, obj))->setCenterIndicator((bool) on); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressBar_setIndicatorFollowsStyle(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQProgressBar*) QtSupport::getQt(env, obj))->setIndicatorFollowsStyle((bool) arg1); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QProgressBar_setIndicator(JNIEnv* env, jobject obj, jobject progress_str, jint progress, jint totalSteps) +{ +static TQString* _qstring_progress_str = 0; + jboolean xret = (jboolean) ((TQProgressBarJBridge*) QtSupport::getQt(env, obj))->protected_setIndicator((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, progress_str, &_qstring_progress_str), (int) progress, (int) totalSteps); + QtSupport::fromTQStringToStringBuffer(env, _qstring_progress_str, progress_str); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressBar_setPercentageVisible(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQProgressBar*) QtSupport::getQt(env, obj))->setPercentageVisible((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressBar_setProgress__I(JNIEnv* env, jobject obj, jint progress) +{ + ((TQProgressBar*) QtSupport::getQt(env, obj))->setProgress((int) progress); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressBar_setProgress__II(JNIEnv* env, jobject obj, jint progress, jint totalSteps) +{ + ((TQProgressBar*) QtSupport::getQt(env, obj))->setProgress((int) progress, (int) totalSteps); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressBar_setTotalSteps(JNIEnv* env, jobject obj, jint totalSteps) +{ + ((TQProgressBar*) QtSupport::getQt(env, obj))->setTotalSteps((int) totalSteps); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressBar_show(JNIEnv* env, jobject obj) +{ + ((TQProgressBar*) QtSupport::getQt(env, obj))->show(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QProgressBar_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQProgressBar*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressBar_styleChange(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQProgressBarJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QProgressBar_totalSteps(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQProgressBar*) QtSupport::getQt(env, obj))->totalSteps(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QProgressBar_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQProgressBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QProgressBar_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQProgressBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQProgressBar.h b/qtjava/javalib/qtjava/TQProgressBar.h new file mode 100644 index 00000000..2c4b6090 --- /dev/null +++ b/qtjava/javalib/qtjava/TQProgressBar.h @@ -0,0 +1,52 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QProgressBar__ +#define __org_kde_qt_QProgressBar__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QProgressBar_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QProgressBar_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_newTQProgressBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_newTQProgressBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_newTQProgressBar__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_newTQProgressBar__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_newTQProgressBar__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jint, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_newTQProgressBar__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_newTQProgressBar__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_newTQProgressBar__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QProgressBar_totalSteps (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QProgressBar_progress (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QProgressBar_progressString (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QProgressBar_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QProgressBar_minimumSizeHint (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_setCenterIndicator (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProgressBar_centerIndicator (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_setIndicatorFollowsStyle (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProgressBar_indicatorFollowsStyle (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProgressBar_percentageVisible (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_setPercentageVisible (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_show (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_reset (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_setTotalSteps (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_setProgress__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_setProgress__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QProgressBar_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QProgressBar_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_drawContents (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProgressBar_setIndicator (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_styleChange (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProgressBar_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QProgressBar__ */ diff --git a/qtjava/javalib/qtjava/TQProgressDialog.cpp b/qtjava/javalib/qtjava/TQProgressDialog.cpp new file mode 100644 index 00000000..23084022 --- /dev/null +++ b/qtjava/javalib/qtjava/TQProgressDialog.cpp @@ -0,0 +1,740 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include + +#include +#include + +class TQProgressDialogJBridge : public TQProgressDialog +{ +public: + TQProgressDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3,TQt::WFlags arg4) : TQProgressDialog(arg1,arg2,arg3,arg4) {}; + TQProgressDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3) : TQProgressDialog(arg1,arg2,arg3) {}; + TQProgressDialogJBridge(TQWidget* arg1,const char* arg2) : TQProgressDialog(arg1,arg2) {}; + TQProgressDialogJBridge(TQWidget* arg1) : TQProgressDialog(arg1) {}; + TQProgressDialogJBridge() : TQProgressDialog() {}; + TQProgressDialogJBridge(const TQString& arg1,const TQString& arg2,int arg3,TQWidget* arg4,const char* arg5,bool arg6,TQt::WFlags arg7) : TQProgressDialog(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TQProgressDialogJBridge(const TQString& arg1,const TQString& arg2,int arg3,TQWidget* arg4,const char* arg5,bool arg6) : TQProgressDialog(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TQProgressDialogJBridge(const TQString& arg1,const TQString& arg2,int arg3,TQWidget* arg4,const char* arg5) : TQProgressDialog(arg1,arg2,arg3,arg4,arg5) {}; + TQProgressDialogJBridge(const TQString& arg1,const TQString& arg2,int arg3,TQWidget* arg4) : TQProgressDialog(arg1,arg2,arg3,arg4) {}; + TQProgressDialogJBridge(const TQString& arg1,const TQString& arg2,int arg3) : TQProgressDialog(arg1,arg2,arg3) {}; + void protected_resizeEvent(TQResizeEvent* arg1) { + TQProgressDialog::resizeEvent(arg1); + return; + } + void protected_closeEvent(TQCloseEvent* arg1) { + TQProgressDialog::closeEvent(arg1); + return; + } + void protected_styleChange(TQStyle& arg1) { + TQProgressDialog::styleChange(arg1); + return; + } + void protected_showEvent(TQShowEvent* arg1) { + TQProgressDialog::showEvent(arg1); + return; + } + void protected_forceShow() { + TQProgressDialog::forceShow(); + return; + } + ~TQProgressDialogJBridge() {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")) { + TQProgressDialog::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.qt.TQProgressDialog","accept")) { + TQDialog::accept(); + } + return; + } + void setActiveWindow() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQProgressDialog","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.qt.TQProgressDialog","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")) { + 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.qt.TQProgressDialog","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.qt.TQProgressDialog","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQProgressDialog","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")) { + TQProgressDialog::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")) { + TQProgressDialog::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.qt.TQProgressDialog","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQProgressDialog","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.qt.TQProgressDialog","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.qt.TQProgressDialog","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.qt.TQProgressDialog","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QProgressDialog_autoClose(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQProgressDialog*) QtSupport::getQt(env, obj))->autoClose(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QProgressDialog_autoReset(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQProgressDialog*) QtSupport::getQt(env, obj))->autoReset(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressDialog_cancel(JNIEnv* env, jobject obj) +{ + ((TQProgressDialog*) QtSupport::getQt(env, obj))->cancel(); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QProgressDialog_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQProgressDialog*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressDialog_closeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQProgressDialogJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TQCloseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressDialog_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QProgressDialog_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressDialog_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQProgressDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQProgressDialog*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressDialog_forceShow(JNIEnv* env, jobject obj) +{ + ((TQProgressDialogJBridge*) QtSupport::getQt(env, obj))->protected_forceShow(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QProgressDialog_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QProgressDialog_labelText(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQProgressDialog*) QtSupport::getQt(env, obj))->labelText(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QProgressDialog_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQProgressDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QProgressDialog_minimumDuration(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQProgressDialog*) QtSupport::getQt(env, obj))->minimumDuration(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressDialog_newTQProgressDialog__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQProgressDialogJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressDialog_newTQProgressDialog__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring labelText, jstring cancelButtonText, jint totalSteps) +{ +static TQString* _qstring_labelText = 0; +static TQString* _qstring_cancelButtonText = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQProgressDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, labelText, &_qstring_labelText), (const TQString&)*(TQString*) QtSupport::toTQString(env, cancelButtonText, &_qstring_cancelButtonText), (int) totalSteps)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressDialog_newTQProgressDialog__Ljava_lang_String_2Ljava_lang_String_2ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring labelText, jstring cancelButtonText, jint totalSteps, jobject parent) +{ +static TQString* _qstring_labelText = 0; +static TQString* _qstring_cancelButtonText = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQProgressDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, labelText, &_qstring_labelText), (const TQString&)*(TQString*) QtSupport::toTQString(env, cancelButtonText, &_qstring_cancelButtonText), (int) totalSteps, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressDialog_newTQProgressDialog__Ljava_lang_String_2Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring labelText, jstring cancelButtonText, jint totalSteps, jobject parent, jstring name) +{ +static TQString* _qstring_labelText = 0; +static TQString* _qstring_cancelButtonText = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQProgressDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, labelText, &_qstring_labelText), (const TQString&)*(TQString*) QtSupport::toTQString(env, cancelButtonText, &_qstring_cancelButtonText), (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_qt_QProgressDialog_newTQProgressDialog__Ljava_lang_String_2Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring labelText, jstring cancelButtonText, jint totalSteps, jobject parent, jstring name, jboolean modal) +{ +static TQString* _qstring_labelText = 0; +static TQString* _qstring_cancelButtonText = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQProgressDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, labelText, &_qstring_labelText), (const TQString&)*(TQString*) QtSupport::toTQString(env, cancelButtonText, &_qstring_cancelButtonText), (int) totalSteps, (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_qt_QProgressDialog_newTQProgressDialog__Ljava_lang_String_2Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2ZI(JNIEnv* env, jobject obj, jstring labelText, jstring cancelButtonText, jint totalSteps, jobject parent, jstring name, jboolean modal, jint f) +{ +static TQString* _qstring_labelText = 0; +static TQString* _qstring_cancelButtonText = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQProgressDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, labelText, &_qstring_labelText), (const TQString&)*(TQString*) QtSupport::toTQString(env, cancelButtonText, &_qstring_cancelButtonText), (int) totalSteps, (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_qt_QProgressDialog_newTQProgressDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQProgressDialogJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressDialog_newTQProgressDialog__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 TQProgressDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressDialog_newTQProgressDialog__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 TQProgressDialogJBridge((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_qt_QProgressDialog_newTQProgressDialog__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 TQProgressDialogJBridge((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 jint JNICALL +Java_org_kde_qt_QProgressDialog_progress(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQProgressDialog*) QtSupport::getQt(env, obj))->progress(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressDialog_reset(JNIEnv* env, jobject obj) +{ + ((TQProgressDialog*) QtSupport::getQt(env, obj))->reset(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressDialog_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQProgressDialogJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressDialog_setAutoClose(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQProgressDialog*) QtSupport::getQt(env, obj))->setAutoClose((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressDialog_setAutoReset(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQProgressDialog*) QtSupport::getQt(env, obj))->setAutoReset((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressDialog_setBar(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQProgressDialog*) QtSupport::getQt(env, obj))->setBar((TQProgressBar*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressDialog_setCancelButtonText(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQProgressDialog*) QtSupport::getQt(env, obj))->setCancelButtonText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressDialog_setCancelButton(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQProgressDialog*) QtSupport::getQt(env, obj))->setCancelButton((TQPushButton*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressDialog_setLabelText(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQProgressDialog*) QtSupport::getQt(env, obj))->setLabelText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressDialog_setLabel(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQProgressDialog*) QtSupport::getQt(env, obj))->setLabel((TQLabel*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressDialog_setMinimumDuration(JNIEnv* env, jobject obj, jint ms) +{ + ((TQProgressDialog*) QtSupport::getQt(env, obj))->setMinimumDuration((int) ms); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressDialog_setProgress__I(JNIEnv* env, jobject obj, jint progress) +{ + ((TQProgressDialog*) QtSupport::getQt(env, obj))->setProgress((int) progress); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressDialog_setProgress__II(JNIEnv* env, jobject obj, jint progress, jint totalSteps) +{ + ((TQProgressDialog*) QtSupport::getQt(env, obj))->setProgress((int) progress, (int) totalSteps); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressDialog_setTotalSteps(JNIEnv* env, jobject obj, jint totalSteps) +{ + ((TQProgressDialog*) QtSupport::getQt(env, obj))->setTotalSteps((int) totalSteps); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressDialog_showEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQProgressDialogJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QProgressDialog_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQProgressDialog*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QProgressDialog_styleChange(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQProgressDialogJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QProgressDialog_totalSteps(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQProgressDialog*) QtSupport::getQt(env, obj))->totalSteps(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QProgressDialog_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQProgressDialogJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QProgressDialog_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQProgressDialogJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QProgressDialog_wasCanceled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQProgressDialog*) QtSupport::getQt(env, obj))->wasCanceled(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QProgressDialog_wasCancelled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQProgressDialog*) QtSupport::getQt(env, obj))->wasCancelled(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQProgressDialog.h b/qtjava/javalib/qtjava/TQProgressDialog.h new file mode 100644 index 00000000..79daba7d --- /dev/null +++ b/qtjava/javalib/qtjava/TQProgressDialog.h @@ -0,0 +1,62 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QProgressDialog__ +#define __org_kde_qt_QProgressDialog__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QProgressDialog_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QProgressDialog_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_newTQProgressDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZI (JNIEnv *env, jobject, jobject, jstring, jboolean, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_newTQProgressDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_newTQProgressDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_newTQProgressDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_newTQProgressDialog__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_newTQProgressDialog__Ljava_lang_String_2Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2ZI (JNIEnv *env, jobject, jstring, jstring, jint, jobject, jstring, jboolean, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_newTQProgressDialog__Ljava_lang_String_2Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jint, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_newTQProgressDialog__Ljava_lang_String_2Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jint, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_newTQProgressDialog__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_qt_QProgressDialog_newTQProgressDialog__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_setLabel (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_setCancelButton (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_setBar (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProgressDialog_wasCancelled (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProgressDialog_wasCanceled (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QProgressDialog_totalSteps (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QProgressDialog_progress (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QProgressDialog_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QProgressDialog_labelText (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_setAutoReset (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProgressDialog_autoReset (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_setAutoClose (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProgressDialog_autoClose (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QProgressDialog_minimumDuration (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_cancel (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_reset (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_setTotalSteps (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_setProgress__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_setProgress__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_setLabelText (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_setCancelButtonText (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_setMinimumDuration (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QProgressDialog_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QProgressDialog_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_closeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_styleChange (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_showEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_forceShow (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProgressDialog_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QProgressDialog__ */ diff --git a/qtjava/javalib/qtjava/TQPushButton.cpp b/qtjava/javalib/qtjava/TQPushButton.cpp new file mode 100644 index 00000000..9e6e07cc --- /dev/null +++ b/qtjava/javalib/qtjava/TQPushButton.cpp @@ -0,0 +1,708 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQPushButtonJBridge : public TQPushButton +{ +public: + TQPushButtonJBridge(TQWidget* arg1,const char* arg2) : TQPushButton(arg1,arg2) {}; + TQPushButtonJBridge(TQWidget* arg1) : TQPushButton(arg1) {}; + TQPushButtonJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQPushButton(arg1,arg2,arg3) {}; + TQPushButtonJBridge(const TQString& arg1,TQWidget* arg2) : TQPushButton(arg1,arg2) {}; + TQPushButtonJBridge(const TQIconSet& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4) : TQPushButton(arg1,arg2,arg3,arg4) {}; + TQPushButtonJBridge(const TQIconSet& arg1,const TQString& arg2,TQWidget* arg3) : TQPushButton(arg1,arg2,arg3) {}; + void protected_drawButton(TQPainter* arg1) { + TQPushButton::drawButton(arg1); + return; + } + void protected_drawButtonLabel(TQPainter* arg1) { + TQPushButton::drawButtonLabel(arg1); + return; + } + void protected_focusInEvent(TQFocusEvent* arg1) { + TQPushButton::focusInEvent(arg1); + return; + } + void protected_focusOutEvent(TQFocusEvent* arg1) { + TQPushButton::focusOutEvent(arg1); + return; + } + void protected_resizeEvent(TQResizeEvent* arg1) { + TQPushButton::resizeEvent(arg1); + return; + } + void protected_updateMask() { + TQPushButton::updateMask(); + return; + } + ~TQPushButtonJBridge() {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.qt.TQPushButton","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.qt.TQPushButton","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.qt.TQPushButton","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.qt.TQPushButton","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.qt.TQPushButton","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.qt.TQPushButton","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPushButton","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.qt.TQPushButton","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.qt.TQPushButton","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.qt.TQPushButton",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } + void showMinimized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPushButton","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPushButton_autoDefault(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQPushButton*) QtSupport::getQt(env, obj))->autoDefault(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QPushButton_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQPushButton*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPushButton_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QPushButton_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPushButton_drawButtonLabel(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPushButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButtonLabel((TQPainter*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPushButton_drawButton(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPushButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButton((TQPainter*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPushButton_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQPushButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQPushButton*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPushButton_focusInEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPushButtonJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPushButton_focusOutEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPushButtonJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPushButton_iconSet(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQPushButton*) QtSupport::getQt(env, obj))->iconSet(), "org.kde.qt.TQIconSet"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPushButton_isDefault(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQPushButton*) QtSupport::getQt(env, obj))->isDefault(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPushButton_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPushButton_isFlat(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQPushButton*) QtSupport::getQt(env, obj))->isFlat(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QPushButton_isMenuButton(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQPushButton*) QtSupport::getQt(env, obj))->isMenuButton(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPushButton_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQPushButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPushButton_move__II(JNIEnv* env, jobject obj, jint x, jint y) +{ + ((TQPushButton*) QtSupport::getQt(env, obj))->move((int) x, (int) y); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPushButton_move__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject p) +{ + ((TQPushButton*) QtSupport::getQt(env, obj))->move((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPushButton_newTQPushButton__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 TQPushButtonJBridge((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_qt_QPushButton_newTQPushButton__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 TQPushButtonJBridge((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_qt_QPushButton_newTQPushButton__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 TQPushButtonJBridge((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_qt_QPushButton_newTQPushButton__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 TQPushButtonJBridge((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_qt_QPushButton_newTQPushButton__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQPushButtonJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPushButton_newTQPushButton__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 TQPushButtonJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPushButton_popup(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQPushButton*) QtSupport::getQt(env, obj))->popup(), "org.kde.qt.TQPopupMenu"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPushButton_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPushButtonJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPushButton_resize__II(JNIEnv* env, jobject obj, jint w, jint h) +{ + ((TQPushButton*) QtSupport::getQt(env, obj))->resize((int) w, (int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPushButton_resize__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPushButton*) QtSupport::getQt(env, obj))->resize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPushButton_setAutoDefault(JNIEnv* env, jobject obj, jboolean autoDef) +{ + ((TQPushButton*) QtSupport::getQt(env, obj))->setAutoDefault((bool) autoDef); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPushButton_setDefault(JNIEnv* env, jobject obj, jboolean def) +{ + ((TQPushButton*) QtSupport::getQt(env, obj))->setDefault((bool) def); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPushButton_setFlat(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQPushButton*) QtSupport::getQt(env, obj))->setFlat((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPushButton_setGeometry__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) +{ + ((TQPushButton*) QtSupport::getQt(env, obj))->setGeometry((int) x, (int) y, (int) w, (int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPushButton_setGeometry__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPushButton*) QtSupport::getQt(env, obj))->setGeometry((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPushButton_setIconSet(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQPushButton*) QtSupport::getQt(env, obj))->setIconSet((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPushButton_setIsMenuButton(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TQPushButton*) QtSupport::getQt(env, obj))->setIsMenuButton((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPushButton_setOn(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQPushButton*) QtSupport::getQt(env, obj))->setOn((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPushButton_setPopup(JNIEnv* env, jobject obj, jobject popup) +{ + ((TQPushButton*) QtSupport::getQt(env, obj))->setPopup((TQPopupMenu*) QtSupport::getQt(env, popup)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPushButton_setToggleButton(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQPushButton*) QtSupport::getQt(env, obj))->setToggleButton((bool) arg1); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QPushButton_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQPushButton*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QPushButton_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQPushButtonJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QPushButton_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQPushButtonJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QPushButton_updateMask(JNIEnv* env, jobject obj) +{ + ((TQPushButtonJBridge*) QtSupport::getQt(env, obj))->protected_updateMask(); + return; +} + diff --git a/qtjava/javalib/qtjava/TQPushButton.h b/qtjava/javalib/qtjava/TQPushButton.h new file mode 100644 index 00000000..52cbc5fc --- /dev/null +++ b/qtjava/javalib/qtjava/TQPushButton.h @@ -0,0 +1,58 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QPushButton__ +#define __org_kde_qt_QPushButton__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPushButton_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPushButton_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_newTQPushButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_newTQPushButton__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_newTQPushButton__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_newTQPushButton__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_newTQPushButton__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_qt_QPushButton_newTQPushButton__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPushButton_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_move__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_move__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_resize__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_resize__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_setGeometry__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_setGeometry__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_setToggleButton (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPushButton_autoDefault (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_setAutoDefault (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPushButton_isDefault (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_setDefault (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_setIsMenuButton (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPushButton_isMenuButton (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_setPopup (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPushButton_popup (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_setIconSet (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPushButton_iconSet (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_setFlat (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPushButton_isFlat (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_setOn (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPushButton_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QPushButton_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_drawButton (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_drawButtonLabel (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_focusInEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_focusOutEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_updateMask (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPushButton_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QPushButton__ */ diff --git a/qtjava/javalib/qtjava/TQRadioButton.cpp b/qtjava/javalib/qtjava/TQRadioButton.cpp new file mode 100644 index 00000000..dd126d81 --- /dev/null +++ b/qtjava/javalib/qtjava/TQRadioButton.cpp @@ -0,0 +1,549 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +class TQRadioButtonJBridge : public TQRadioButton +{ +public: + TQRadioButtonJBridge(TQWidget* arg1,const char* arg2) : TQRadioButton(arg1,arg2) {}; + TQRadioButtonJBridge(TQWidget* arg1) : TQRadioButton(arg1) {}; + TQRadioButtonJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQRadioButton(arg1,arg2,arg3) {}; + TQRadioButtonJBridge(const TQString& arg1,TQWidget* arg2) : TQRadioButton(arg1,arg2) {}; + bool protected_hitButton(const TQPoint& arg1) { + return (bool) TQRadioButton::hitButton(arg1); + } + void protected_drawButton(TQPainter* arg1) { + TQRadioButton::drawButton(arg1); + return; + } + void protected_drawButtonLabel(TQPainter* arg1) { + TQRadioButton::drawButtonLabel(arg1); + return; + } + void protected_updateMask() { + TQRadioButton::updateMask(); + return; + } + void protected_resizeEvent(TQResizeEvent* arg1) { + TQRadioButton::resizeEvent(arg1); + return; + } + ~TQRadioButtonJBridge() {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")) { + TQRadioButton::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.qt.TQRadioButton","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.qt.TQRadioButton","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.qt.TQRadioButton","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.qt.TQRadioButton","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.qt.TQRadioButton","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.qt.TQRadioButton","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQRadioButton","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.qt.TQRadioButton","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.qt.TQRadioButton","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; + } + bool eventFilter(TQObject* object,TQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQRadioButton",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.qt.TQRadioButton","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QRadioButton_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQRadioButton*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRadioButton_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QRadioButton_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRadioButton_drawButtonLabel(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQRadioButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButtonLabel((TQPainter*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRadioButton_drawButton(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQRadioButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButton((TQPainter*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRadioButton_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQRadioButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQRadioButton*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QRadioButton_hitButton(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQRadioButtonJBridge*) QtSupport::getQt(env, obj))->protected_hitButton((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QRadioButton_isChecked(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQRadioButton*) QtSupport::getQt(env, obj))->isChecked(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QRadioButton_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QRadioButton_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQRadioButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRadioButton_newTQRadioButton__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 TQRadioButtonJBridge((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_qt_QRadioButton_newTQRadioButton__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 TQRadioButtonJBridge((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_qt_QRadioButton_newTQRadioButton__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQRadioButtonJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRadioButton_newTQRadioButton__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 TQRadioButtonJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRadioButton_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQRadioButtonJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRadioButton_setChecked(JNIEnv* env, jobject obj, jboolean check) +{ + ((TQRadioButton*) QtSupport::getQt(env, obj))->setChecked((bool) check); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QRadioButton_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQRadioButton*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QRadioButton_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQRadioButtonJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QRadioButton_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQRadioButtonJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRadioButton_updateMask(JNIEnv* env, jobject obj) +{ + ((TQRadioButtonJBridge*) QtSupport::getQt(env, obj))->protected_updateMask(); + return; +} + diff --git a/qtjava/javalib/qtjava/TQRadioButton.h b/qtjava/javalib/qtjava/TQRadioButton.h new file mode 100644 index 00000000..9118d2da --- /dev/null +++ b/qtjava/javalib/qtjava/TQRadioButton.h @@ -0,0 +1,37 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QRadioButton__ +#define __org_kde_qt_QRadioButton__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRadioButton_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QRadioButton_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRadioButton_newTQRadioButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRadioButton_newTQRadioButton__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRadioButton_newTQRadioButton__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRadioButton_newTQRadioButton__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRadioButton_isChecked (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRadioButton_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRadioButton_setChecked (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QRadioButton_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QRadioButton_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRadioButton_hitButton (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRadioButton_drawButton (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRadioButton_drawButtonLabel (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRadioButton_updateMask (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRadioButton_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRadioButton_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRadioButton_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRadioButton_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QRadioButton__ */ diff --git a/qtjava/javalib/qtjava/TQRangeControl.cpp b/qtjava/javalib/qtjava/TQRangeControl.cpp new file mode 100644 index 00000000..f2f2b99e --- /dev/null +++ b/qtjava/javalib/qtjava/TQRangeControl.cpp @@ -0,0 +1,236 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + +class TQRangeControlJBridge : public TQRangeControl +{ +public: + TQRangeControlJBridge() : TQRangeControl() {}; + TQRangeControlJBridge(int arg1,int arg2,int arg3,int arg4,int arg5) : TQRangeControl(arg1,arg2,arg3,arg4,arg5) {}; + 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_valueChange() { + TQRangeControl::valueChange(); + return; + } + void protected_rangeChange() { + TQRangeControl::rangeChange(); + return; + } + void protected_stepChange() { + TQRangeControl::stepChange(); + return; + } + ~TQRangeControlJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRangeControl_addLine(JNIEnv* env, jobject obj) +{ + ((TQRangeControl*) QtSupport::getQt(env, obj))->addLine(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRangeControl_addPage(JNIEnv* env, jobject obj) +{ + ((TQRangeControl*) QtSupport::getQt(env, obj))->addPage(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QRangeControl_bound(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQRangeControl*) QtSupport::getQt(env, obj))->bound((int) arg1); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRangeControl_directSetValue(JNIEnv* env, jobject obj, jint val) +{ + ((TQRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_directSetValue((int) val); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRangeControl_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QRangeControl_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRangeControl_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQRangeControl*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QRangeControl_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QRangeControl_lineStep(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQRangeControl*) QtSupport::getQt(env, obj))->lineStep(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QRangeControl_maxValue(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQRangeControl*) QtSupport::getQt(env, obj))->maxValue(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QRangeControl_minValue(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQRangeControl*) QtSupport::getQt(env, obj))->minValue(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRangeControl_newTQRangeControl__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQRangeControlJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRangeControl_newTQRangeControl__IIIII(JNIEnv* env, jobject obj, jint minValue, jint maxValue, jint lineStep, jint pageStep, jint value) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQRangeControlJBridge((int) minValue, (int) maxValue, (int) lineStep, (int) pageStep, (int) value)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QRangeControl_pageStep(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQRangeControl*) QtSupport::getQt(env, obj))->pageStep(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QRangeControl_positionFromValue(JNIEnv* env, jobject obj, jint val, jint space) +{ + jint xret = (jint) ((TQRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_positionFromValue((int) val, (int) space); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QRangeControl_prevValue(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_prevValue(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRangeControl_rangeChange(JNIEnv* env, jobject obj) +{ + ((TQRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_rangeChange(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRangeControl_setMaxValue(JNIEnv* env, jobject obj, jint minVal) +{ + ((TQRangeControl*) QtSupport::getQt(env, obj))->setMaxValue((int) minVal); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRangeControl_setMinValue(JNIEnv* env, jobject obj, jint minVal) +{ + ((TQRangeControl*) QtSupport::getQt(env, obj))->setMinValue((int) minVal); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRangeControl_setRange(JNIEnv* env, jobject obj, jint minValue, jint maxValue) +{ + ((TQRangeControl*) QtSupport::getQt(env, obj))->setRange((int) minValue, (int) maxValue); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRangeControl_setSteps(JNIEnv* env, jobject obj, jint line, jint page) +{ + ((TQRangeControl*) QtSupport::getQt(env, obj))->setSteps((int) line, (int) page); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRangeControl_setValue(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQRangeControl*) QtSupport::getQt(env, obj))->setValue((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRangeControl_stepChange(JNIEnv* env, jobject obj) +{ + ((TQRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_stepChange(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRangeControl_subtractLine(JNIEnv* env, jobject obj) +{ + ((TQRangeControl*) QtSupport::getQt(env, obj))->subtractLine(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRangeControl_subtractPage(JNIEnv* env, jobject obj) +{ + ((TQRangeControl*) QtSupport::getQt(env, obj))->subtractPage(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRangeControl_valueChange(JNIEnv* env, jobject obj) +{ + ((TQRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_valueChange(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QRangeControl_valueFromPosition(JNIEnv* env, jobject obj, jint pos, jint space) +{ + jint xret = (jint) ((TQRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_valueFromPosition((int) pos, (int) space); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QRangeControl_value(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQRangeControl*) QtSupport::getQt(env, obj))->value(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQRangeControl.h b/qtjava/javalib/qtjava/TQRangeControl.h new file mode 100644 index 00000000..fb15b2d9 --- /dev/null +++ b/qtjava/javalib/qtjava/TQRangeControl.h @@ -0,0 +1,45 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QRangeControl__ +#define __org_kde_qt_QRangeControl__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_newTQRangeControl__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_newTQRangeControl__IIIII (JNIEnv *env, jobject, jint, jint, jint, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRangeControl_value (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_setValue (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_addPage (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_subtractPage (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_addLine (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_subtractLine (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRangeControl_minValue (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRangeControl_maxValue (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_setRange (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_setMinValue (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_setMaxValue (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRangeControl_lineStep (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRangeControl_pageStep (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_setSteps (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRangeControl_bound (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRangeControl_positionFromValue (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRangeControl_valueFromPosition (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_directSetValue (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRangeControl_prevValue (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_valueChange (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_rangeChange (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_stepChange (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRangeControl_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QRangeControl__ */ diff --git a/qtjava/javalib/qtjava/TQRect.cpp b/qtjava/javalib/qtjava/TQRect.cpp new file mode 100644 index 00000000..af5a0165 --- /dev/null +++ b/qtjava/javalib/qtjava/TQRect.cpp @@ -0,0 +1,539 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +class TQRectJBridge : public TQRect +{ +public: + TQRectJBridge() : TQRect() {}; + TQRectJBridge(const TQPoint& arg1,const TQPoint& arg2) : TQRect(arg1,arg2) {}; + TQRectJBridge(const TQPoint& arg1,const TQSize& arg2) : TQRect(arg1,arg2) {}; + TQRectJBridge(int arg1,int arg2,int arg3,int arg4) : TQRect(arg1,arg2,arg3,arg4) {}; + ~TQRectJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRect_addCoords(JNIEnv* env, jobject obj, jint x1, jint y1, jint x2, jint y2) +{ + ((TQRect*) QtSupport::getQt(env, obj))->addCoords((int) x1, (int) y1, (int) x2, (int) y2); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QRect_bottomLeft(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQRect*) QtSupport::getQt(env, obj))->bottomLeft()), "org.kde.qt.TQPoint", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QRect_bottomRight(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQRect*) QtSupport::getQt(env, obj))->bottomRight()), "org.kde.qt.TQPoint", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QRect_bottom(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQRect*) QtSupport::getQt(env, obj))->bottom(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QRect_center(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQRect*) QtSupport::getQt(env, obj))->center()), "org.kde.qt.TQPoint", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QRect_contains__II(JNIEnv* env, jobject obj, jint x, jint y) +{ + jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->contains((int) x, (int) y); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QRect_contains__IIZ(JNIEnv* env, jobject obj, jint x, jint y, jboolean proper) +{ + jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->contains((int) x, (int) y, (bool) proper); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QRect_contains__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject p) +{ + jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->contains((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QRect_contains__Lorg_kde_qt_QPoint_2Z(JNIEnv* env, jobject obj, jobject p, jboolean proper) +{ + jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->contains((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p), (bool) proper); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QRect_contains__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject r) +{ + jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->contains((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QRect_contains__Lorg_kde_qt_QRect_2Z(JNIEnv* env, jobject obj, jobject r, jboolean proper) +{ + jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->contains((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (bool) proper); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRect_coords(JNIEnv* env, jobject obj, jintArray x1, jintArray y1, jintArray x2, jintArray y2) +{ + int* _int_x1 = QtSupport::toIntPtr(env, x1); + int* _int_y1 = QtSupport::toIntPtr(env, y1); + int* _int_x2 = QtSupport::toIntPtr(env, x2); + int* _int_y2 = QtSupport::toIntPtr(env, y2); + ((TQRect*) QtSupport::getQt(env, obj))->coords( (int*) _int_x1, (int*) _int_y1, (int*) _int_x2, (int*) _int_y2); + env->SetIntArrayRegion(x1, 0, 1, (jint *) _int_x1); + env->SetIntArrayRegion(y1, 0, 1, (jint *) _int_y1); + env->SetIntArrayRegion(x2, 0, 1, (jint *) _int_x2); + env->SetIntArrayRegion(y2, 0, 1, (jint *) _int_y2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRect_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QRect_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRect_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQRect*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QRect_height(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQRect*) QtSupport::getQt(env, obj))->height(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QRect_intersect(JNIEnv* env, jobject obj, jobject r) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQRect*) QtSupport::getQt(env, obj))->intersect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r))), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QRect_intersects(JNIEnv* env, jobject obj, jobject r) +{ + jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->intersects((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QRect_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QRect_isEmpty(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->isEmpty(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QRect_isNull(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->isNull(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QRect_isValid(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->isValid(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QRect_left(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQRect*) QtSupport::getQt(env, obj))->left(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRect_moveBottomLeft(JNIEnv* env, jobject obj, jobject p) +{ + ((TQRect*) QtSupport::getQt(env, obj))->moveBottomLeft((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRect_moveBottomRight(JNIEnv* env, jobject obj, jobject p) +{ + ((TQRect*) QtSupport::getQt(env, obj))->moveBottomRight((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRect_moveBottom(JNIEnv* env, jobject obj, jint pos) +{ + ((TQRect*) QtSupport::getQt(env, obj))->moveBottom((int) pos); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRect_moveBy(JNIEnv* env, jobject obj, jint dx, jint dy) +{ + ((TQRect*) QtSupport::getQt(env, obj))->moveBy((int) dx, (int) dy); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRect_moveCenter(JNIEnv* env, jobject obj, jobject p) +{ + ((TQRect*) QtSupport::getQt(env, obj))->moveCenter((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRect_moveLeft(JNIEnv* env, jobject obj, jint pos) +{ + ((TQRect*) QtSupport::getQt(env, obj))->moveLeft((int) pos); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRect_moveRight(JNIEnv* env, jobject obj, jint pos) +{ + ((TQRect*) QtSupport::getQt(env, obj))->moveRight((int) pos); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRect_moveTopLeft(JNIEnv* env, jobject obj, jobject p) +{ + ((TQRect*) QtSupport::getQt(env, obj))->moveTopLeft((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRect_moveTopRight(JNIEnv* env, jobject obj, jobject p) +{ + ((TQRect*) QtSupport::getQt(env, obj))->moveTopRight((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRect_moveTop(JNIEnv* env, jobject obj, jint pos) +{ + ((TQRect*) QtSupport::getQt(env, obj))->moveTop((int) pos); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRect_newTQRect__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQRectJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRect_newTQRect__IIII(JNIEnv* env, jobject obj, jint left, jint top, jint width, jint height) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQRectJBridge((int) left, (int) top, (int) width, (int) height)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRect_newTQRect__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject topleft, jobject bottomright) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQRectJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, topleft), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, bottomright))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRect_newTQRect__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject topleft, jobject size) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQRectJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, topleft), (const TQSize&)*(const TQSize*) QtSupport::getQt(env, size))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QRect_normalize(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQRect*) QtSupport::getQt(env, obj))->normalize()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QRect_op_1and_1assign(JNIEnv* env, jobject obj, jobject r) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRect *) &((TQRect*) QtSupport::getQt(env, obj))->operator&=((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)), "org.kde.qt.TQRect"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QRect_op_1and(JNIEnv* env, jobject obj, jobject r) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQRect*) QtSupport::getQt(env, obj))->operator&((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r))), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QRect_op_1or_1assign(JNIEnv* env, jobject obj, jobject r) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRect *) &((TQRect*) QtSupport::getQt(env, obj))->operator|=((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)), "org.kde.qt.TQRect"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QRect_op_1or(JNIEnv* env, jobject obj, jobject r) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQRect*) QtSupport::getQt(env, obj))->operator|((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r))), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jshort JNICALL +Java_org_kde_qt_QRect_rBottom(JNIEnv* env, jobject obj) +{ + jshort xret = (jshort) ((TQRect*) QtSupport::getQt(env, obj))->rBottom(); + return xret; +} + +JNIEXPORT jshort JNICALL +Java_org_kde_qt_QRect_rLeft(JNIEnv* env, jobject obj) +{ + jshort xret = (jshort) ((TQRect*) QtSupport::getQt(env, obj))->rLeft(); + return xret; +} + +JNIEXPORT jshort JNICALL +Java_org_kde_qt_QRect_rRight(JNIEnv* env, jobject obj) +{ + jshort xret = (jshort) ((TQRect*) QtSupport::getQt(env, obj))->rRight(); + return xret; +} + +JNIEXPORT jshort JNICALL +Java_org_kde_qt_QRect_rTop(JNIEnv* env, jobject obj) +{ + jshort xret = (jshort) ((TQRect*) QtSupport::getQt(env, obj))->rTop(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRect_rect(JNIEnv* env, jobject obj, jintArray x, jintArray y, jintArray w, jintArray h) +{ + int* _int_x = QtSupport::toIntPtr(env, x); + int* _int_y = QtSupport::toIntPtr(env, y); + int* _int_w = QtSupport::toIntPtr(env, w); + int* _int_h = QtSupport::toIntPtr(env, h); + ((TQRect*) QtSupport::getQt(env, obj))->rect( (int*) _int_x, (int*) _int_y, (int*) _int_w, (int*) _int_h); + env->SetIntArrayRegion(x, 0, 1, (jint *) _int_x); + env->SetIntArrayRegion(y, 0, 1, (jint *) _int_y); + env->SetIntArrayRegion(w, 0, 1, (jint *) _int_w); + env->SetIntArrayRegion(h, 0, 1, (jint *) _int_h); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QRect_right(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQRect*) QtSupport::getQt(env, obj))->right(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRect_setBottomLeft(JNIEnv* env, jobject obj, jobject p) +{ + ((TQRect*) QtSupport::getQt(env, obj))->setBottomLeft((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRect_setBottomRight(JNIEnv* env, jobject obj, jobject p) +{ + ((TQRect*) QtSupport::getQt(env, obj))->setBottomRight((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRect_setBottom(JNIEnv* env, jobject obj, jint pos) +{ + ((TQRect*) QtSupport::getQt(env, obj))->setBottom((int) pos); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRect_setCoords(JNIEnv* env, jobject obj, jint x1, jint y1, jint x2, jint y2) +{ + ((TQRect*) QtSupport::getQt(env, obj))->setCoords((int) x1, (int) y1, (int) x2, (int) y2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRect_setHeight(JNIEnv* env, jobject obj, jint h) +{ + ((TQRect*) QtSupport::getQt(env, obj))->setHeight((int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRect_setLeft(JNIEnv* env, jobject obj, jint pos) +{ + ((TQRect*) QtSupport::getQt(env, obj))->setLeft((int) pos); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRect_setRect(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) +{ + ((TQRect*) QtSupport::getQt(env, obj))->setRect((int) x, (int) y, (int) w, (int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRect_setRight(JNIEnv* env, jobject obj, jint pos) +{ + ((TQRect*) QtSupport::getQt(env, obj))->setRight((int) pos); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRect_setSize(JNIEnv* env, jobject obj, jobject s) +{ + ((TQRect*) QtSupport::getQt(env, obj))->setSize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, s)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRect_setTopLeft(JNIEnv* env, jobject obj, jobject p) +{ + ((TQRect*) QtSupport::getQt(env, obj))->setTopLeft((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRect_setTopRight(JNIEnv* env, jobject obj, jobject p) +{ + ((TQRect*) QtSupport::getQt(env, obj))->setTopRight((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRect_setTop(JNIEnv* env, jobject obj, jint pos) +{ + ((TQRect*) QtSupport::getQt(env, obj))->setTop((int) pos); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRect_setWidth(JNIEnv* env, jobject obj, jint w) +{ + ((TQRect*) QtSupport::getQt(env, obj))->setWidth((int) w); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRect_setX(JNIEnv* env, jobject obj, jint x) +{ + ((TQRect*) QtSupport::getQt(env, obj))->setX((int) x); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRect_setY(JNIEnv* env, jobject obj, jint y) +{ + ((TQRect*) QtSupport::getQt(env, obj))->setY((int) y); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QRect_size(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQRect*) QtSupport::getQt(env, obj))->size()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QRect_topLeft(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQRect*) QtSupport::getQt(env, obj))->topLeft()), "org.kde.qt.TQPoint", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QRect_topRight(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQRect*) QtSupport::getQt(env, obj))->topRight()), "org.kde.qt.TQPoint", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QRect_top(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQRect*) QtSupport::getQt(env, obj))->top(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QRect_unite(JNIEnv* env, jobject obj, jobject r) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQRect*) QtSupport::getQt(env, obj))->unite((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r))), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QRect_width(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQRect*) QtSupport::getQt(env, obj))->width(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QRect_x(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQRect*) QtSupport::getQt(env, obj))->x(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QRect_y(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQRect*) QtSupport::getQt(env, obj))->y(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQRect.h b/qtjava/javalib/qtjava/TQRect.h new file mode 100644 index 00000000..63d57c3e --- /dev/null +++ b/qtjava/javalib/qtjava/TQRect.h @@ -0,0 +1,88 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QRect__ +#define __org_kde_qt_QRect__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_newTQRect__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_newTQRect__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_newTQRect__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_newTQRect__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRect_isNull (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRect_isEmpty (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRect_isValid (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRect_normalize (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRect_left (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRect_top (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRect_right (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRect_bottom (JNIEnv *env, jobject); +extern JNIEXPORT jshort JNICALL Java_org_kde_qt_QRect_rLeft (JNIEnv *env, jobject); +extern JNIEXPORT jshort JNICALL Java_org_kde_qt_QRect_rTop (JNIEnv *env, jobject); +extern JNIEXPORT jshort JNICALL Java_org_kde_qt_QRect_rRight (JNIEnv *env, jobject); +extern JNIEXPORT jshort JNICALL Java_org_kde_qt_QRect_rBottom (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRect_x (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRect_y (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_setLeft (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_setTop (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_setRight (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_setBottom (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_setX (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_setY (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_setTopLeft (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_setBottomRight (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_setTopRight (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_setBottomLeft (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRect_topLeft (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRect_bottomRight (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRect_topRight (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRect_bottomLeft (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRect_center (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_rect (JNIEnv *env, jobject, jintArray, jintArray, jintArray, jintArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_coords (JNIEnv *env, jobject, jintArray, jintArray, jintArray, jintArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_moveLeft (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_moveTop (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_moveRight (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_moveBottom (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_moveTopLeft (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_moveBottomRight (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_moveTopRight (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_moveBottomLeft (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_moveCenter (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_moveBy (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_setRect (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_setCoords (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_addCoords (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRect_size (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRect_width (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRect_height (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_setWidth (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_setHeight (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_setSize (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRect_op_1or (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRect_op_1and (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRect_op_1or_1assign (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRect_op_1and_1assign (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRect_contains__Lorg_kde_qt_QPoint_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRect_contains__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRect_contains__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRect_contains__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRect_contains__Lorg_kde_qt_QRect_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRect_contains__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRect_unite (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRect_intersect (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRect_intersects (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRect_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QRect__ */ diff --git a/qtjava/javalib/qtjava/TQRegExp.cpp b/qtjava/javalib/qtjava/TQRegExp.cpp new file mode 100644 index 00000000..1555b0dc --- /dev/null +++ b/qtjava/javalib/qtjava/TQRegExp.cpp @@ -0,0 +1,343 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQRegExpJBridge : public TQRegExp +{ +public: + TQRegExpJBridge() : TQRegExp() {}; + TQRegExpJBridge(const TQString& arg1,bool arg2,bool arg3) : TQRegExp(arg1,arg2,arg3) {}; + TQRegExpJBridge(const TQString& arg1,bool arg2) : TQRegExp(arg1,arg2) {}; + TQRegExpJBridge(const TQString& arg1) : TQRegExp(arg1) {}; + TQRegExpJBridge(const TQRegExp& arg1) : TQRegExp(arg1) {}; + ~TQRegExpJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QRegExp_cap__(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQRegExp*) QtSupport::getQt(env, obj))->cap(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QRegExp_cap__I(JNIEnv* env, jobject obj, jint nth) +{ + TQString _qstring; + _qstring = ((TQRegExp*) QtSupport::getQt(env, obj))->cap((int) nth); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QRegExp_capturedTexts(JNIEnv* env, jobject obj) +{ + TQStringList _qlist; + _qlist = ((TQRegExp*) QtSupport::getQt(env, obj))->capturedTexts(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QRegExp_caseSensitive(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQRegExp*) QtSupport::getQt(env, obj))->caseSensitive(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRegExp_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QRegExp_finalize(env, obj); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QRegExp_errorString(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQRegExp*) QtSupport::getQt(env, obj))->errorString(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QRegExp_escape(JNIEnv* env, jclass cls, jstring str) +{ + TQString _qstring; + (void) cls; +static TQString* _qstring_str = 0; + _qstring = TQRegExpJBridge::escape((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QRegExp_exactMatch(JNIEnv* env, jobject obj, jstring str) +{ +static TQString* _qstring_str = 0; + jboolean xret = (jboolean) ((TQRegExp*) QtSupport::getQt(env, obj))->exactMatch((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRegExp_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQRegExp*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QRegExp_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QRegExp_isEmpty(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQRegExp*) QtSupport::getQt(env, obj))->isEmpty(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QRegExp_isValid(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQRegExp*) QtSupport::getQt(env, obj))->isValid(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QRegExp_match__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring str) +{ +static TQString* _qstring_str = 0; + jint xret = (jint) ((TQRegExp*) QtSupport::getQt(env, obj))->match((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QRegExp_match__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring str, jint index) +{ +static TQString* _qstring_str = 0; + jint xret = (jint) ((TQRegExp*) QtSupport::getQt(env, obj))->match((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QRegExp_match__Ljava_lang_String_2I_3I(JNIEnv* env, jobject obj, jstring str, jint index, jintArray len) +{ +static TQString* _qstring_str = 0; + int* _int_len = QtSupport::toIntPtr(env, len); + jint xret = (jint) ((TQRegExp*) QtSupport::getQt(env, obj))->match((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) index, (int*) _int_len); + env->SetIntArrayRegion(len, 0, 1, (jint *) _int_len); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QRegExp_match__Ljava_lang_String_2I_3IZ(JNIEnv* env, jobject obj, jstring str, jint index, jintArray len, jboolean indexIsStart) +{ +static TQString* _qstring_str = 0; + int* _int_len = QtSupport::toIntPtr(env, len); + jint xret = (jint) ((TQRegExp*) QtSupport::getQt(env, obj))->match((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) index, (int*) _int_len, (bool) indexIsStart); + env->SetIntArrayRegion(len, 0, 1, (jint *) _int_len); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QRegExp_matchedLength(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQRegExp*) QtSupport::getQt(env, obj))->matchedLength(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QRegExp_minimal(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQRegExp*) QtSupport::getQt(env, obj))->minimal(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRegExp_newTQRegExp__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQRegExpJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRegExp_newTQRegExp__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pattern) +{ +static TQString* _qstring_pattern = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQRegExpJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, pattern, &_qstring_pattern))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRegExp_newTQRegExp__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring pattern, jboolean caseSensitive) +{ +static TQString* _qstring_pattern = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQRegExpJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, pattern, &_qstring_pattern), (bool) caseSensitive)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRegExp_newTQRegExp__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring pattern, jboolean caseSensitive, jboolean wildcard) +{ +static TQString* _qstring_pattern = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQRegExpJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, pattern, &_qstring_pattern), (bool) caseSensitive, (bool) wildcard)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRegExp_newTQRegExp__Lorg_kde_qt_QRegExp_2(JNIEnv* env, jobject obj, jobject rx) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQRegExpJBridge((const TQRegExp&)*(const TQRegExp*) QtSupport::getQt(env, rx))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QRegExp_numCaptures(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQRegExp*) QtSupport::getQt(env, obj))->numCaptures(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QRegExp_op_1equals(JNIEnv* env, jobject obj, jobject rx) +{ + jboolean xret = (jboolean) ((TQRegExp*) QtSupport::getQt(env, obj))->operator==((const TQRegExp&)*(const TQRegExp*) QtSupport::getQt(env, rx)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QRegExp_op_1not_1equals(JNIEnv* env, jobject obj, jobject rx) +{ + jboolean xret = (jboolean) ((TQRegExp*) QtSupport::getQt(env, obj))->operator!=((const TQRegExp&)*(const TQRegExp*) QtSupport::getQt(env, rx)); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QRegExp_pattern(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQRegExp*) QtSupport::getQt(env, obj))->pattern(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QRegExp_pos__(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQRegExp*) QtSupport::getQt(env, obj))->pos(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QRegExp_pos__I(JNIEnv* env, jobject obj, jint nth) +{ + jint xret = (jint) ((TQRegExp*) QtSupport::getQt(env, obj))->pos((int) nth); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QRegExp_searchRev__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring str) +{ +static TQString* _qstring_str = 0; + jint xret = (jint) ((TQRegExp*) QtSupport::getQt(env, obj))->searchRev((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QRegExp_searchRev__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring str, jint offset) +{ +static TQString* _qstring_str = 0; + jint xret = (jint) ((TQRegExp*) QtSupport::getQt(env, obj))->searchRev((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) offset); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QRegExp_searchRev__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring str, jint offset, jint caretMode) +{ +static TQString* _qstring_str = 0; + jint xret = (jint) ((TQRegExp*) QtSupport::getQt(env, obj))->searchRev((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) offset, (TQRegExp::CaretMode) caretMode); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QRegExp_search__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring str) +{ +static TQString* _qstring_str = 0; + jint xret = (jint) ((TQRegExp*) QtSupport::getQt(env, obj))->search((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QRegExp_search__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring str, jint offset) +{ +static TQString* _qstring_str = 0; + jint xret = (jint) ((TQRegExp*) QtSupport::getQt(env, obj))->search((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) offset); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QRegExp_search__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring str, jint offset, jint caretMode) +{ +static TQString* _qstring_str = 0; + jint xret = (jint) ((TQRegExp*) QtSupport::getQt(env, obj))->search((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) offset, (TQRegExp::CaretMode) caretMode); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRegExp_setCaseSensitive(JNIEnv* env, jobject obj, jboolean sensitive) +{ + ((TQRegExp*) QtSupport::getQt(env, obj))->setCaseSensitive((bool) sensitive); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRegExp_setMinimal(JNIEnv* env, jobject obj, jboolean minimal) +{ + ((TQRegExp*) QtSupport::getQt(env, obj))->setMinimal((bool) minimal); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRegExp_setPattern(JNIEnv* env, jobject obj, jstring pattern) +{ +static TQString* _qstring_pattern = 0; + ((TQRegExp*) QtSupport::getQt(env, obj))->setPattern((const TQString&)*(TQString*) QtSupport::toTQString(env, pattern, &_qstring_pattern)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRegExp_setWildcard(JNIEnv* env, jobject obj, jboolean wildcard) +{ + ((TQRegExp*) QtSupport::getQt(env, obj))->setWildcard((bool) wildcard); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QRegExp_wildcard(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQRegExp*) QtSupport::getQt(env, obj))->wildcard(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQRegExp.h b/qtjava/javalib/qtjava/TQRegExp.h new file mode 100644 index 00000000..813093ea --- /dev/null +++ b/qtjava/javalib/qtjava/TQRegExp.h @@ -0,0 +1,58 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QRegExp__ +#define __org_kde_qt_QRegExp__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExp_newTQRegExp__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExp_newTQRegExp__Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExp_newTQRegExp__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExp_newTQRegExp__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExp_newTQRegExp__Lorg_kde_qt_QRegExp_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRegExp_op_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRegExp_op_1not_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRegExp_isEmpty (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRegExp_isValid (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QRegExp_pattern (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExp_setPattern (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRegExp_caseSensitive (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExp_setCaseSensitive (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRegExp_wildcard (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExp_setWildcard (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRegExp_minimal (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExp_setMinimal (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRegExp_exactMatch (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRegExp_match__Ljava_lang_String_2I_3IZ (JNIEnv *env, jobject, jstring, jint, jintArray, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRegExp_match__Ljava_lang_String_2I_3I (JNIEnv *env, jobject, jstring, jint, jintArray); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRegExp_match__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRegExp_match__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRegExp_search__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRegExp_search__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRegExp_search__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRegExp_searchRev__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRegExp_searchRev__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRegExp_searchRev__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRegExp_matchedLength (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRegExp_numCaptures (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegExp_capturedTexts (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QRegExp_cap__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QRegExp_cap__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRegExp_pos__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRegExp_pos__ (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QRegExp_errorString (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QRegExp_escape (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExp_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExp_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRegExp_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QRegExp__ */ diff --git a/qtjava/javalib/qtjava/TQRegExpValidator.cpp b/qtjava/javalib/qtjava/TQRegExpValidator.cpp new file mode 100644 index 00000000..4fd011e9 --- /dev/null +++ b/qtjava/javalib/qtjava/TQRegExpValidator.cpp @@ -0,0 +1,181 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQRegExpValidatorJBridge : public TQRegExpValidator +{ +public: + TQRegExpValidatorJBridge(TQObject* arg1,const char* arg2) : TQRegExpValidator(arg1,arg2) {}; + TQRegExpValidatorJBridge(TQObject* arg1) : TQRegExpValidator(arg1) {}; + TQRegExpValidatorJBridge(const TQRegExp& arg1,TQObject* arg2,const char* arg3) : TQRegExpValidator(arg1,arg2,arg3) {}; + TQRegExpValidatorJBridge(const TQRegExp& arg1,TQObject* arg2) : TQRegExpValidator(arg1,arg2) {}; + ~TQRegExpValidatorJBridge() {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.qt.TQRegExpValidator",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QRegExpValidator_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQRegExpValidator*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRegExpValidator_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QRegExpValidator_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRegExpValidator_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQRegExpValidator*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQRegExpValidator*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QRegExpValidator_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QRegExpValidator_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQRegExpValidator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRegExpValidator_newTQRegExpValidator__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQRegExpValidatorJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRegExpValidator_newTQRegExpValidator__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 TQRegExpValidatorJBridge((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_qt_QRegExpValidator_newTQRegExpValidator__Lorg_kde_qt_QRegExp_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject rx, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQRegExpValidatorJBridge((const TQRegExp&)*(const TQRegExp*) QtSupport::getQt(env, rx), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRegExpValidator_newTQRegExpValidator__Lorg_kde_qt_QRegExp_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject rx, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQRegExpValidatorJBridge((const TQRegExp&)*(const TQRegExp*) QtSupport::getQt(env, rx), (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_qt_QRegExpValidator_regExp(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRegExp *) &((TQRegExpValidator*) QtSupport::getQt(env, obj))->regExp(), "org.kde.qt.TQRegExp"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRegExpValidator_setRegExp(JNIEnv* env, jobject obj, jobject rx) +{ + ((TQRegExpValidator*) QtSupport::getQt(env, obj))->setRegExp((const TQRegExp&)*(const TQRegExp*) QtSupport::getQt(env, rx)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QRegExpValidator_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQRegExpValidatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QRegExpValidator_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQRegExpValidatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QRegExpValidator_validate(JNIEnv* env, jobject obj, jobject input, jintArray pos) +{ +static TQString* _qstring_input = 0; + int* _int_pos = QtSupport::toIntPtr(env, pos); + jint xret = (jint) ((TQRegExpValidator*) 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/qtjava/javalib/qtjava/TQRegExpValidator.h b/qtjava/javalib/qtjava/TQRegExpValidator.h new file mode 100644 index 00000000..5d2ba2e6 --- /dev/null +++ b/qtjava/javalib/qtjava/TQRegExpValidator.h @@ -0,0 +1,32 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QRegExpValidator__ +#define __org_kde_qt_QRegExpValidator__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegExpValidator_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QRegExpValidator_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExpValidator_newTQRegExpValidator__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExpValidator_newTQRegExpValidator__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExpValidator_newTQRegExpValidator__Lorg_kde_qt_QRegExp_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExpValidator_newTQRegExpValidator__Lorg_kde_qt_QRegExp_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QRegExpValidator_validate (JNIEnv *env, jobject, jobject, jintArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExpValidator_setRegExp (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegExpValidator_regExp (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QRegExpValidator_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QRegExpValidator_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExpValidator_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExpValidator_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRegExpValidator_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QRegExpValidator__ */ diff --git a/qtjava/javalib/qtjava/TQRegion.cpp b/qtjava/javalib/qtjava/TQRegion.cpp new file mode 100644 index 00000000..a17e0ed1 --- /dev/null +++ b/qtjava/javalib/qtjava/TQRegion.cpp @@ -0,0 +1,307 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include + +#include +#include + +class TQRegionJBridge : public TQRegion +{ +public: + TQRegionJBridge() : TQRegion() {}; + TQRegionJBridge(int arg1,int arg2,int arg3,int arg4,TQRegion::RegionType arg5) : TQRegion(arg1,arg2,arg3,arg4,arg5) {}; + TQRegionJBridge(int arg1,int arg2,int arg3,int arg4) : TQRegion(arg1,arg2,arg3,arg4) {}; + TQRegionJBridge(const TQRect& arg1,TQRegion::RegionType arg2) : TQRegion(arg1,arg2) {}; + TQRegionJBridge(const TQRect& arg1) : TQRegion(arg1) {}; + TQRegionJBridge(const TQPointArray& arg1,bool arg2) : TQRegion(arg1,arg2) {}; + TQRegionJBridge(const TQPointArray& arg1) : TQRegion(arg1) {}; + TQRegionJBridge(const TQRegion& arg1) : TQRegion(arg1) {}; + TQRegionJBridge(const TQBitmap& arg1) : TQRegion(arg1) {}; + ~TQRegionJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QRegion_boundingRect(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQRegion*) QtSupport::getQt(env, obj))->boundingRect()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QRegion_contains__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject p) +{ + jboolean xret = (jboolean) ((TQRegion*) QtSupport::getQt(env, obj))->contains((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QRegion_contains__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject r) +{ + jboolean xret = (jboolean) ((TQRegion*) QtSupport::getQt(env, obj))->contains((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRegion_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QRegion_finalize(env, obj); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QRegion_eor(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQRegion*) QtSupport::getQt(env, obj))->eor((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQRegion", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRegion_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQRegion*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QRegion_intersect(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQRegion*) QtSupport::getQt(env, obj))->intersect((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQRegion", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QRegion_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QRegion_isEmpty(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQRegion*) QtSupport::getQt(env, obj))->isEmpty(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QRegion_isNull(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQRegion*) QtSupport::getQt(env, obj))->isNull(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRegion_newTQRegion__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQRegionJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRegion_newTQRegion__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQRegionJBridge((int) x, (int) y, (int) w, (int) h)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRegion_newTQRegion__IIIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint arg5) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQRegionJBridge((int) x, (int) y, (int) w, (int) h, (TQRegion::RegionType) arg5)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRegion_newTQRegion__Lorg_kde_qt_QBitmap_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQRegionJBridge((const TQBitmap&)*(const TQBitmap*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRegion_newTQRegion__Lorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQRegionJBridge((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRegion_newTQRegion__Lorg_kde_qt_QPointArray_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean winding) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQRegionJBridge((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (bool) winding)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRegion_newTQRegion__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQRegionJBridge((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRegion_newTQRegion__Lorg_kde_qt_QRect_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQRegionJBridge((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (TQRegion::RegionType) arg2)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRegion_newTQRegion__Lorg_kde_qt_QRegion_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQRegionJBridge((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QRegion_op_1and_1assign(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRegion *) &((TQRegion*) QtSupport::getQt(env, obj))->operator&=((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQRegion"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QRegion_op_1and(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQRegion*) QtSupport::getQt(env, obj))->operator&((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQRegion", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QRegion_op_1equals(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQRegion*) QtSupport::getQt(env, obj))->operator==((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QRegion_op_1minus_1assign(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRegion *) &((TQRegion*) QtSupport::getQt(env, obj))->operator-=((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQRegion"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QRegion_op_1minus(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQRegion*) QtSupport::getQt(env, obj))->operator-((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQRegion", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QRegion_op_1not_1equals(JNIEnv* env, jobject obj, jobject r) +{ + jboolean xret = (jboolean) ((TQRegion*) QtSupport::getQt(env, obj))->operator!=((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, r)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QRegion_op_1or_1assign(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRegion *) &((TQRegion*) QtSupport::getQt(env, obj))->operator|=((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQRegion"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QRegion_op_1or(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQRegion*) QtSupport::getQt(env, obj))->operator|((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQRegion", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QRegion_op_1plus_1assign(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRegion *) &((TQRegion*) QtSupport::getQt(env, obj))->operator+=((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQRegion"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QRegion_op_1plus(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQRegion*) QtSupport::getQt(env, obj))->operator+((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQRegion", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QRegion_op_1xor_1assign(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRegion *) &((TQRegion*) QtSupport::getQt(env, obj))->operator^=((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQRegion"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QRegion_op_1xor(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQRegion*) QtSupport::getQt(env, obj))->operator^((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQRegion", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QRegion_rects(JNIEnv* env, jobject obj) +{ + TQMemArray _qlist; + _qlist = ((TQRegion*) QtSupport::getQt(env, obj))->rects(); + return (jobject) QtSupport::arrayWithTQRectList(env, (TQMemArray*) &_qlist); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRegion_setRects(JNIEnv* env, jobject obj, jobject arg1, jint arg2) +{ + ((TQRegion*) QtSupport::getQt(env, obj))->setRects((const TQRect*) QtSupport::getQt(env, arg1), (int) arg2); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QRegion_subtract(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQRegion*) QtSupport::getQt(env, obj))->subtract((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQRegion", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QRegion_translate(JNIEnv* env, jobject obj, jint dx, jint dy) +{ + ((TQRegion*) QtSupport::getQt(env, obj))->translate((int) dx, (int) dy); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QRegion_unite(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQRegion*) QtSupport::getQt(env, obj))->unite((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQRegion", TRUE); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQRegion.h b/qtjava/javalib/qtjava/TQRegion.h new file mode 100644 index 00000000..dcb9281e --- /dev/null +++ b/qtjava/javalib/qtjava/TQRegion.h @@ -0,0 +1,54 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QRegion__ +#define __org_kde_qt_QRegion__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegion_newTQRegion__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegion_newTQRegion__IIIII (JNIEnv *env, jobject, jint, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegion_newTQRegion__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegion_newTQRegion__Lorg_kde_qt_QRect_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegion_newTQRegion__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegion_newTQRegion__Lorg_kde_qt_QPointArray_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegion_newTQRegion__Lorg_kde_qt_QPointArray_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegion_newTQRegion__Lorg_kde_qt_QRegion_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegion_newTQRegion__Lorg_kde_qt_QBitmap_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRegion_isNull (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRegion_isEmpty (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRegion_contains__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRegion_contains__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegion_translate (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegion_unite (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegion_intersect (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegion_subtract (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegion_eor (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegion_boundingRect (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegion_rects (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegion_setRects (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegion_op_1or (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegion_op_1plus (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegion_op_1and (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegion_op_1minus (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegion_op_1xor (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegion_op_1or_1assign (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegion_op_1plus_1assign (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegion_op_1and_1assign (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegion_op_1minus_1assign (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QRegion_op_1xor_1assign (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRegion_op_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRegion_op_1not_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegion_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegion_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRegion_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QRegion__ */ diff --git a/qtjava/javalib/qtjava/TQResizeEvent.cpp b/qtjava/javalib/qtjava/TQResizeEvent.cpp new file mode 100644 index 00000000..6ce39e87 --- /dev/null +++ b/qtjava/javalib/qtjava/TQResizeEvent.cpp @@ -0,0 +1,61 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQResizeEventJBridge : public TQResizeEvent +{ +public: + TQResizeEventJBridge(const TQSize& arg1,const TQSize& arg2) : TQResizeEvent(arg1,arg2) {}; + ~TQResizeEventJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QResizeEvent_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QResizeEvent_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QResizeEvent_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQResizeEvent*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QResizeEvent_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QResizeEvent_newTQResizeEvent(JNIEnv* env, jobject obj, jobject size, jobject oldSize) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQResizeEventJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, size), (const TQSize&)*(const TQSize*) QtSupport::getQt(env, oldSize))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QResizeEvent_oldSize(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQSize *) &((TQResizeEvent*) QtSupport::getQt(env, obj))->oldSize(), "org.kde.qt.TQSize"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QResizeEvent_size(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQSize *) &((TQResizeEvent*) QtSupport::getQt(env, obj))->size(), "org.kde.qt.TQSize"); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQResizeEvent.h b/qtjava/javalib/qtjava/TQResizeEvent.h new file mode 100644 index 00000000..18cae2c9 --- /dev/null +++ b/qtjava/javalib/qtjava/TQResizeEvent.h @@ -0,0 +1,24 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QResizeEvent__ +#define __org_kde_qt_QResizeEvent__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QResizeEvent_newTQResizeEvent (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QResizeEvent_size (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QResizeEvent_oldSize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QResizeEvent_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QResizeEvent_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QResizeEvent_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QResizeEvent__ */ diff --git a/qtjava/javalib/qtjava/TQScrollBar.cpp b/qtjava/javalib/qtjava/TQScrollBar.cpp new file mode 100644 index 00000000..c56a3453 --- /dev/null +++ b/qtjava/javalib/qtjava/TQScrollBar.cpp @@ -0,0 +1,881 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQScrollBarJBridge : public TQScrollBar +{ +public: + TQScrollBarJBridge(TQWidget* arg1,const char* arg2) : TQScrollBar(arg1,arg2) {}; + TQScrollBarJBridge(TQWidget* arg1) : TQScrollBar(arg1) {}; + TQScrollBarJBridge(TQt::Orientation arg1,TQWidget* arg2,const char* arg3) : TQScrollBar(arg1,arg2,arg3) {}; + TQScrollBarJBridge(TQt::Orientation arg1,TQWidget* arg2) : TQScrollBar(arg1,arg2) {}; + TQScrollBarJBridge(int arg1,int arg2,int arg3,int arg4,int arg5,TQt::Orientation arg6,TQWidget* arg7,const char* arg8) : TQScrollBar(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; + TQScrollBarJBridge(int arg1,int arg2,int arg3,int arg4,int arg5,TQt::Orientation arg6,TQWidget* arg7) : TQScrollBar(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + void protected_wheelEvent(TQWheelEvent* arg1) { + TQScrollBar::wheelEvent(arg1); + return; + } + void protected_keyPressEvent(TQKeyEvent* arg1) { + TQScrollBar::keyPressEvent(arg1); + return; + } + void protected_resizeEvent(TQResizeEvent* arg1) { + TQScrollBar::resizeEvent(arg1); + return; + } + void protected_paintEvent(TQPaintEvent* arg1) { + TQScrollBar::paintEvent(arg1); + return; + } + void protected_mousePressEvent(TQMouseEvent* arg1) { + TQScrollBar::mousePressEvent(arg1); + return; + } + void protected_mouseReleaseEvent(TQMouseEvent* arg1) { + TQScrollBar::mouseReleaseEvent(arg1); + return; + } + void protected_mouseMoveEvent(TQMouseEvent* arg1) { + TQScrollBar::mouseMoveEvent(arg1); + return; + } + void protected_contextMenuEvent(TQContextMenuEvent* arg1) { + TQScrollBar::contextMenuEvent(arg1); + return; + } + void protected_hideEvent(TQHideEvent* arg1) { + TQScrollBar::hideEvent(arg1); + return; + } + void protected_valueChange() { + TQScrollBar::valueChange(); + return; + } + void protected_stepChange() { + TQScrollBar::stepChange(); + return; + } + void protected_rangeChange() { + TQScrollBar::rangeChange(); + return; + } + void protected_styleChange(TQStyle& arg1) { + TQScrollBar::styleChange(arg1); + return; + } + ~TQScrollBarJBridge() {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 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")) { + TQScrollBar::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.qt.TQScrollBar","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.qt.TQScrollBar","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.qt.TQScrollBar","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.qt.TQScrollBar","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")) { + TQScrollBar::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 paintEvent(TQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { + TQScrollBar::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.qt.TQScrollBar","unsetCursor")) { + TQWidget::unsetCursor(); + } + return; + } + void hideEvent(TQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { + TQScrollBar::hideEvent(arg1); + } + return; + } + void moveEvent(TQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { + TQWidget::moveEvent(arg1); + } + return; + } + void polish() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollBar","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollBar","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")) { + TQScrollBar::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")) { + TQScrollBar::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.qt.TQScrollBar","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollBar","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")) { + TQScrollBar::mousePressEvent(arg1); + } + return; + } + void mouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollBar::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.qt.TQScrollBar","adjustSize")) { + TQWidget::adjustSize(); + } + return; + } + void wheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQScrollBar::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")) { + TQScrollBar::contextMenuEvent(arg1); + } + return; + } + bool eventFilter(TQObject* object,TQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQScrollBar",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.qt.TQScrollBar","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_addLine(JNIEnv* env, jobject obj) +{ + ((TQRangeControl*)(TQScrollBar*) QtSupport::getQt(env, obj))->addLine(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_addPage(JNIEnv* env, jobject obj) +{ + ((TQRangeControl*)(TQScrollBar*) QtSupport::getQt(env, obj))->addPage(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QScrollBar_bound(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQRangeControl*)(TQScrollBar*) QtSupport::getQt(env, obj))->bound((int) arg1); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QScrollBar_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQScrollBar*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_contextMenuEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_directSetValue(JNIEnv* env, jobject obj, jint val) +{ + ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_directSetValue((int) val); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QScrollBar_finalize(env, obj); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QScrollBar_draggingSlider(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQScrollBar*) QtSupport::getQt(env, obj))->draggingSlider(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQScrollBar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQScrollBar*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_hideEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_hideEvent((TQHideEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QScrollBar_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QScrollBar_lineStep(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQScrollBar*) QtSupport::getQt(env, obj))->lineStep(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QScrollBar_maxValue(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQScrollBar*) QtSupport::getQt(env, obj))->maxValue(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QScrollBar_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQScrollBar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QScrollBar_minValue(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQScrollBar*) QtSupport::getQt(env, obj))->minValue(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_newTQScrollBar__IIIIIILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint minValue, jint maxValue, jint lineStep, jint pageStep, jint value, jint arg6, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQScrollBarJBridge((int) minValue, (int) maxValue, (int) lineStep, (int) pageStep, (int) value, (TQt::Orientation) arg6, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_newTQScrollBar__IIIIIILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint minValue, jint maxValue, jint lineStep, jint pageStep, jint value, jint arg6, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQScrollBarJBridge((int) minValue, (int) maxValue, (int) lineStep, (int) pageStep, (int) value, (TQt::Orientation) arg6, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_newTQScrollBar__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint arg1, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQScrollBarJBridge((TQt::Orientation) arg1, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_newTQScrollBar__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint arg1, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQScrollBarJBridge((TQt::Orientation) arg1, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_newTQScrollBar__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQScrollBarJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_newTQScrollBar__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 TQScrollBarJBridge((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_qt_QScrollBar_orientation(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQScrollBar*) QtSupport::getQt(env, obj))->orientation(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QScrollBar_pageStep(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQScrollBar*) QtSupport::getQt(env, obj))->pageStep(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_paintEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QScrollBar_positionFromValue(JNIEnv* env, jobject obj, jint val, jint space) +{ + jint xret = (jint) ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_positionFromValue((int) val, (int) space); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QScrollBar_prevValue(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_prevValue(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_rangeChange(JNIEnv* env, jobject obj) +{ + ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_rangeChange(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_setLineStep(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQScrollBar*) QtSupport::getQt(env, obj))->setLineStep((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_setMaxValue(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQScrollBar*) QtSupport::getQt(env, obj))->setMaxValue((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_setMinValue(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQScrollBar*) QtSupport::getQt(env, obj))->setMinValue((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_setOrientation(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQScrollBar*) QtSupport::getQt(env, obj))->setOrientation((TQt::Orientation) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_setPageStep(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQScrollBar*) QtSupport::getQt(env, obj))->setPageStep((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_setPalette(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollBar*) QtSupport::getQt(env, obj))->setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_setRange(JNIEnv* env, jobject obj, jint minValue, jint maxValue) +{ + ((TQRangeControl*)(TQScrollBar*) QtSupport::getQt(env, obj))->setRange((int) minValue, (int) maxValue); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_setSizePolicy__II(JNIEnv* env, jobject obj, jint hor, jint ver) +{ + ((TQScrollBar*) QtSupport::getQt(env, obj))->setSizePolicy((TQSizePolicy::SizeType) hor, (TQSizePolicy::SizeType) ver); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_setSizePolicy__IIZ(JNIEnv* env, jobject obj, jint hor, jint ver, jboolean hfw) +{ + ((TQScrollBar*) QtSupport::getQt(env, obj))->setSizePolicy((TQSizePolicy::SizeType) hor, (TQSizePolicy::SizeType) ver, (bool) hfw); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_setSizePolicy__Lorg_kde_qt_QSizePolicy_2(JNIEnv* env, jobject obj, jobject sp) +{ + ((TQScrollBar*) QtSupport::getQt(env, obj))->setSizePolicy((TQSizePolicy)*(TQSizePolicy*) QtSupport::getQt(env, sp)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_setSteps(JNIEnv* env, jobject obj, jint line, jint page) +{ + ((TQRangeControl*)(TQScrollBar*) QtSupport::getQt(env, obj))->setSteps((int) line, (int) page); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_setTracking(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TQScrollBar*) QtSupport::getQt(env, obj))->setTracking((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_setValue(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQScrollBar*) QtSupport::getQt(env, obj))->setValue((int) arg1); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QScrollBar_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQScrollBar*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QScrollBar_sliderRect(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQScrollBar*) QtSupport::getQt(env, obj))->sliderRect()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QScrollBar_sliderStart(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQScrollBar*) QtSupport::getQt(env, obj))->sliderStart(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_stepChange(JNIEnv* env, jobject obj) +{ + ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_stepChange(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_styleChange(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_subtractLine(JNIEnv* env, jobject obj) +{ + ((TQRangeControl*)(TQScrollBar*) QtSupport::getQt(env, obj))->subtractLine(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_subtractPage(JNIEnv* env, jobject obj) +{ + ((TQRangeControl*)(TQScrollBar*) QtSupport::getQt(env, obj))->subtractPage(); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QScrollBar_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQScrollBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QScrollBar_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQScrollBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QScrollBar_tracking(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQScrollBar*) QtSupport::getQt(env, obj))->tracking(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_valueChange(JNIEnv* env, jobject obj) +{ + ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_valueChange(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QScrollBar_valueFromPosition(JNIEnv* env, jobject obj, jint pos, jint space) +{ + jint xret = (jint) ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_valueFromPosition((int) pos, (int) space); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QScrollBar_value(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQScrollBar*) QtSupport::getQt(env, obj))->value(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollBar_wheelEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); + return; +} + diff --git a/qtjava/javalib/qtjava/TQScrollBar.h b/qtjava/javalib/qtjava/TQScrollBar.h new file mode 100644 index 00000000..f73a9022 --- /dev/null +++ b/qtjava/javalib/qtjava/TQScrollBar.h @@ -0,0 +1,77 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QScrollBar__ +#define __org_kde_qt_QScrollBar__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QScrollBar_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QScrollBar_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_newTQScrollBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_newTQScrollBar__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_newTQScrollBar__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_newTQScrollBar__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_newTQScrollBar__IIIIIILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jint, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_newTQScrollBar__IIIIIILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_setOrientation (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollBar_orientation (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_setTracking (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QScrollBar_tracking (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QScrollBar_draggingSlider (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_setPalette (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QScrollBar_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_setSizePolicy__Lorg_kde_qt_QSizePolicy_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_setSizePolicy__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_setSizePolicy__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollBar_minValue (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollBar_maxValue (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_setMinValue (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_setMaxValue (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollBar_lineStep (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollBar_pageStep (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_setLineStep (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_setPageStep (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollBar_value (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollBar_sliderStart (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QScrollBar_sliderRect (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_setValue (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QScrollBar_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QScrollBar_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_wheelEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_keyPressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_paintEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_mousePressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_mouseReleaseEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_mouseMoveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_contextMenuEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_hideEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_valueChange (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_stepChange (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_rangeChange (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_styleChange (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QScrollBar_isDisposed (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_addPage (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_subtractPage (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_addLine (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_subtractLine (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_setRange (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_setSteps (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollBar_bound (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollBar_positionFromValue (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollBar_valueFromPosition (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_directSetValue (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollBar_prevValue (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QScrollBar__ */ diff --git a/qtjava/javalib/qtjava/TQScrollView.cpp b/qtjava/javalib/qtjava/TQScrollView.cpp new file mode 100644 index 00000000..cd0e42eb --- /dev/null +++ b/qtjava/javalib/qtjava/TQScrollView.cpp @@ -0,0 +1,1537 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQScrollViewJBridge : public TQScrollView +{ +public: + TQScrollViewJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQScrollView(arg1,arg2,arg3) {}; + TQScrollViewJBridge(TQWidget* arg1,const char* arg2) : TQScrollView(arg1,arg2) {}; + TQScrollViewJBridge(TQWidget* arg1) : TQScrollView(arg1) {}; + TQScrollViewJBridge() : TQScrollView() {}; + void protected_drawContents(TQPainter* arg1,int arg2,int arg3,int arg4,int arg5) { + TQScrollView::drawContents(arg1,arg2,arg3,arg4,arg5); + return; + } + void protected_drawContentsOffset(TQPainter* arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7) { + TQScrollView::drawContentsOffset(arg1,arg2,arg3,arg4,arg5,arg6,arg7); + return; + } + void protected_contentsMousePressEvent(TQMouseEvent* arg1) { + TQScrollView::contentsMousePressEvent(arg1); + return; + } + void protected_contentsMouseReleaseEvent(TQMouseEvent* arg1) { + TQScrollView::contentsMouseReleaseEvent(arg1); + return; + } + void protected_contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { + TQScrollView::contentsMouseDoubleClickEvent(arg1); + return; + } + void protected_contentsMouseMoveEvent(TQMouseEvent* arg1) { + TQScrollView::contentsMouseMoveEvent(arg1); + return; + } + void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) { + TQScrollView::contentsDragEnterEvent(arg1); + return; + } + void protected_contentsDragMoveEvent(TQDragMoveEvent* arg1) { + TQScrollView::contentsDragMoveEvent(arg1); + return; + } + void protected_contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { + TQScrollView::contentsDragLeaveEvent(arg1); + return; + } + void protected_contentsDropEvent(TQDropEvent* arg1) { + TQScrollView::contentsDropEvent(arg1); + return; + } + void protected_contentsWheelEvent(TQWheelEvent* arg1) { + TQScrollView::contentsWheelEvent(arg1); + return; + } + void protected_contentsContextMenuEvent(TQContextMenuEvent* arg1) { + TQScrollView::contentsContextMenuEvent(arg1); + return; + } + void protected_viewportPaintEvent(TQPaintEvent* arg1) { + TQScrollView::viewportPaintEvent(arg1); + return; + } + void protected_viewportResizeEvent(TQResizeEvent* arg1) { + TQScrollView::viewportResizeEvent(arg1); + return; + } + void protected_viewportMousePressEvent(TQMouseEvent* arg1) { + TQScrollView::viewportMousePressEvent(arg1); + return; + } + void protected_viewportMouseReleaseEvent(TQMouseEvent* arg1) { + TQScrollView::viewportMouseReleaseEvent(arg1); + return; + } + void protected_viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { + TQScrollView::viewportMouseDoubleClickEvent(arg1); + return; + } + void protected_viewportMouseMoveEvent(TQMouseEvent* arg1) { + TQScrollView::viewportMouseMoveEvent(arg1); + return; + } + void protected_viewportDragEnterEvent(TQDragEnterEvent* arg1) { + TQScrollView::viewportDragEnterEvent(arg1); + return; + } + void protected_viewportDragMoveEvent(TQDragMoveEvent* arg1) { + TQScrollView::viewportDragMoveEvent(arg1); + return; + } + void protected_viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { + TQScrollView::viewportDragLeaveEvent(arg1); + return; + } + void protected_viewportDropEvent(TQDropEvent* arg1) { + TQScrollView::viewportDropEvent(arg1); + return; + } + void protected_viewportWheelEvent(TQWheelEvent* arg1) { + TQScrollView::viewportWheelEvent(arg1); + return; + } + void protected_viewportContextMenuEvent(TQContextMenuEvent* arg1) { + TQScrollView::viewportContextMenuEvent(arg1); + return; + } + void protected_frameChanged() { + TQScrollView::frameChanged(); + return; + } + void protected_setMargins(int arg1,int arg2,int arg3,int arg4) { + TQScrollView::setMargins(arg1,arg2,arg3,arg4); + return; + } + int protected_leftMargin() { + return (int) TQScrollView::leftMargin(); + } + int protected_topMargin() { + return (int) TQScrollView::topMargin(); + } + int protected_rightMargin() { + return (int) TQScrollView::rightMargin(); + } + int protected_bottomMargin() { + return (int) TQScrollView::bottomMargin(); + } + bool protected_focusNextPrevChild(bool arg1) { + return (bool) TQScrollView::focusNextPrevChild(arg1); + } + void protected_setHBarGeometry(TQScrollBar& arg1,int arg2,int arg3,int arg4,int arg5) { + TQScrollView::setHBarGeometry(arg1,arg2,arg3,arg4,arg5); + return; + } + void protected_setVBarGeometry(TQScrollBar& arg1,int arg2,int arg3,int arg4,int arg5) { + TQScrollView::setVBarGeometry(arg1,arg2,arg3,arg4,arg5); + return; + } + void protected_resizeEvent(TQResizeEvent* arg1) { + TQScrollView::resizeEvent(arg1); + return; + } + void protected_mousePressEvent(TQMouseEvent* arg1) { + TQScrollView::mousePressEvent(arg1); + return; + } + void protected_mouseReleaseEvent(TQMouseEvent* arg1) { + TQScrollView::mouseReleaseEvent(arg1); + return; + } + void protected_mouseDoubleClickEvent(TQMouseEvent* arg1) { + TQScrollView::mouseDoubleClickEvent(arg1); + return; + } + void protected_mouseMoveEvent(TQMouseEvent* arg1) { + TQScrollView::mouseMoveEvent(arg1); + return; + } + void protected_wheelEvent(TQWheelEvent* arg1) { + TQScrollView::wheelEvent(arg1); + return; + } + void protected_contextMenuEvent(TQContextMenuEvent* arg1) { + TQScrollView::contextMenuEvent(arg1); + return; + } + bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { + return (bool) TQScrollView::eventFilter(arg1,arg2); + } + void protected_setCachedSizeHint(const TQSize& arg1) { + TQScrollView::setCachedSizeHint(arg1); + return; + } + TQSize protected_cachedSizeHint() { + return (TQSize) TQScrollView::cachedSizeHint(); + } + void protected_fontChange(const TQFont& arg1) { + TQScrollView::fontChange(arg1); + return; + } + ~TQScrollViewJBridge() {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.qt.TQScrollView","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.qt.TQScrollView","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.qt.TQScrollView","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.qt.TQScrollView","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.qt.TQScrollView","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollView","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.qt.TQScrollView","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollView","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.qt.TQScrollView","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.qt.TQScrollView","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_addChild__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject child) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->addChild((TQWidget*) QtSupport::getQt(env, child)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_addChild__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject child, jint x) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->addChild((TQWidget*) QtSupport::getQt(env, child), (int) x); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_addChild__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject child, jint x, jint y) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->addChild((TQWidget*) QtSupport::getQt(env, child), (int) x, (int) y); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QScrollView_bottomMargin(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_bottomMargin(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QScrollView_cachedSizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_cachedSizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_center__II(JNIEnv* env, jobject obj, jint x, jint y) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->center((int) x, (int) y); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_center__IIFF(JNIEnv* env, jobject obj, jint x, jint y, jfloat xmargin, jfloat ymargin) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->center((int) x, (int) y, (float) xmargin, (float) ymargin); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QScrollView_childIsVisible(JNIEnv* env, jobject obj, jobject child) +{ + jboolean xret = (jboolean) ((TQScrollView*) QtSupport::getQt(env, obj))->childIsVisible((TQWidget*) QtSupport::getQt(env, child)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QScrollView_childX(JNIEnv* env, jobject obj, jobject child) +{ + jint xret = (jint) ((TQScrollView*) QtSupport::getQt(env, obj))->childX((TQWidget*) QtSupport::getQt(env, child)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QScrollView_childY(JNIEnv* env, jobject obj, jobject child) +{ + jint xret = (jint) ((TQScrollView*) QtSupport::getQt(env, obj))->childY((TQWidget*) QtSupport::getQt(env, child)); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QScrollView_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQScrollView*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QScrollView_clipper(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQScrollView*) QtSupport::getQt(env, obj))->clipper(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_contentsContextMenuEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_contentsDragLeaveEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_contentsDragMoveEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_contentsDropEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QScrollView_contentsHeight(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQScrollView*) QtSupport::getQt(env, obj))->contentsHeight(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_contentsMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_contentsMouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_contentsMouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_contentsToViewport__II_3I_3I(JNIEnv* env, jobject obj, jint x, jint y, jintArray vx, jintArray vy) +{ + int* _int_vx = QtSupport::toIntPtr(env, vx); + int* _int_vy = QtSupport::toIntPtr(env, vy); + ((TQScrollView*) QtSupport::getQt(env, obj))->contentsToViewport((int) x, (int) y, (int&) *_int_vx, (int&) *_int_vy); + env->SetIntArrayRegion(vx, 0, 1, (jint *) _int_vx); + env->SetIntArrayRegion(vy, 0, 1, (jint *) _int_vy); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QScrollView_contentsToViewport__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQScrollView*) QtSupport::getQt(env, obj))->contentsToViewport((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQPoint", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_contentsWheelEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsWheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QScrollView_contentsWidth(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQScrollView*) QtSupport::getQt(env, obj))->contentsWidth(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QScrollView_contentsX(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQScrollView*) QtSupport::getQt(env, obj))->contentsX(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QScrollView_contentsY(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQScrollView*) QtSupport::getQt(env, obj))->contentsY(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_contextMenuEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QScrollView_cornerWidget(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQScrollView*) QtSupport::getQt(env, obj))->cornerWidget(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_disableSizeHintCaching(JNIEnv* env, jobject obj) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->disableSizeHintCaching(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QScrollView_finalize(env, obj); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QScrollView_dragAutoScroll(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQScrollView*) QtSupport::getQt(env, obj))->dragAutoScroll(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_drawContentsOffset(JNIEnv* env, jobject obj, jobject arg1, jint ox, jint oy, jint cx, jint cy, jint cw, jint ch) +{ + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_drawContentsOffset((TQPainter*) QtSupport::getQt(env, arg1), (int) ox, (int) oy, (int) cx, (int) cy, (int) cw, (int) ch); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_drawContents(JNIEnv* env, jobject obj, jobject arg1, jint cx, jint cy, jint cw, jint ch) +{ + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1), (int) cx, (int) cy, (int) cw, (int) ch); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_enableClipper(JNIEnv* env, jobject obj, jboolean y) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->enableClipper((bool) y); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_ensureVisible__II(JNIEnv* env, jobject obj, jint x, jint y) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->ensureVisible((int) x, (int) y); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_ensureVisible__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint xmargin, jint ymargin) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->ensureVisible((int) x, (int) y, (int) xmargin, (int) ymargin); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QScrollView_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject e) +{ + jboolean xret = (jboolean) ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, e)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQScrollView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQScrollView*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QScrollView_focusNextPrevChild(JNIEnv* env, jobject obj, jboolean next) +{ + jboolean xret = (jboolean) ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_focusNextPrevChild((bool) next); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_fontChange(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_frameChanged(JNIEnv* env, jobject obj) +{ + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_frameChanged(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QScrollView_hScrollBarMode(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQScrollView*) QtSupport::getQt(env, obj))->hScrollBarMode(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QScrollView_hasStaticBackground(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQScrollView*) QtSupport::getQt(env, obj))->hasStaticBackground(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QScrollView_horizontalScrollBar(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQScrollView*) QtSupport::getQt(env, obj))->horizontalScrollBar(), "org.kde.qt.TQScrollBar"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QScrollView_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QScrollView_isHorizontalSliderPressed(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQScrollView*) QtSupport::getQt(env, obj))->isHorizontalSliderPressed(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QScrollView_isVerticalSliderPressed(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQScrollView*) QtSupport::getQt(env, obj))->isVerticalSliderPressed(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QScrollView_leftMargin(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_leftMargin(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QScrollView_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQScrollView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QScrollView_minimumSizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQScrollView*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_mouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_moveChild(JNIEnv* env, jobject obj, jobject child, jint x, jint y) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->moveChild((TQWidget*) QtSupport::getQt(env, child), (int) x, (int) y); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_newTQScrollView__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQScrollViewJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_newTQScrollView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQScrollViewJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_newTQScrollView__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 TQScrollViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_newTQScrollView__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 TQScrollViewJBridge((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_qt_QScrollView_removeChild__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject child) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->removeChild((TQObject*) QtSupport::getQt(env, child)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_removeChild__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject child) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->removeChild((TQWidget*) QtSupport::getQt(env, child)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_repaintContents__(JNIEnv* env, jobject obj) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->repaintContents(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_repaintContents__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->repaintContents((int) x, (int) y, (int) w, (int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_repaintContents__IIIIZ(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jboolean erase) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->repaintContents((int) x, (int) y, (int) w, (int) h, (bool) erase); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_repaintContents__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject r) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->repaintContents((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_repaintContents__Lorg_kde_qt_QRect_2Z(JNIEnv* env, jobject obj, jobject r, jboolean erase) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->repaintContents((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (bool) erase); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_repaintContents__Z(JNIEnv* env, jobject obj, jboolean erase) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->repaintContents((bool) erase); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_resizeContents(JNIEnv* env, jobject obj, jint w, jint h) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->resizeContents((int) w, (int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QScrollView_resizePolicy(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQScrollView*) QtSupport::getQt(env, obj))->resizePolicy(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_resize__II(JNIEnv* env, jobject obj, jint w, jint h) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->resize((int) w, (int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_resize__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->resize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QScrollView_rightMargin(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_rightMargin(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_scrollBy(JNIEnv* env, jobject obj, jint dx, jint dy) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->scrollBy((int) dx, (int) dy); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_setCachedSizeHint(JNIEnv* env, jobject obj, jobject sh) +{ + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_setCachedSizeHint((const TQSize&)*(const TQSize*) QtSupport::getQt(env, sh)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_setContentsPos(JNIEnv* env, jobject obj, jint x, jint y) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->setContentsPos((int) x, (int) y); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_setCornerWidget(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->setCornerWidget((TQWidget*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_setDragAutoScroll(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->setDragAutoScroll((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_setEnabled(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->setEnabled((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_setHBarGeometry(JNIEnv* env, jobject obj, jobject hbar, jint x, jint y, jint w, jint h) +{ + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_setHBarGeometry((TQScrollBar&)*(TQScrollBar*) QtSupport::getQt(env, hbar), (int) x, (int) y, (int) w, (int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_setHScrollBarMode(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->setHScrollBarMode((TQScrollView::ScrollBarMode) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_setMargins(JNIEnv* env, jobject obj, jint left, jint top, jint right, jint bottom) +{ + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_setMargins((int) left, (int) top, (int) right, (int) bottom); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_setResizePolicy(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->setResizePolicy((TQScrollView::ResizePolicy) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_setStaticBackground(JNIEnv* env, jobject obj, jboolean y) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->setStaticBackground((bool) y); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_setVBarGeometry(JNIEnv* env, jobject obj, jobject vbar, jint x, jint y, jint w, jint h) +{ + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_setVBarGeometry((TQScrollBar&)*(TQScrollBar*) QtSupport::getQt(env, vbar), (int) x, (int) y, (int) w, (int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_setVScrollBarMode(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->setVScrollBarMode((TQScrollView::ScrollBarMode) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_showChild__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject child) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->showChild((TQWidget*) QtSupport::getQt(env, child)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_showChild__Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jobject obj, jobject child, jboolean yes) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->showChild((TQWidget*) QtSupport::getQt(env, child), (bool) yes); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_show(JNIEnv* env, jobject obj) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->show(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QScrollView_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQScrollView*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_styleChange(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QScrollView_topMargin(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_topMargin(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QScrollView_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQScrollViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QScrollView_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQScrollViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_updateContents__(JNIEnv* env, jobject obj) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->updateContents(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_updateContents__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->updateContents((int) x, (int) y, (int) w, (int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_updateContents__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject r) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->updateContents((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_updateScrollBars(JNIEnv* env, jobject obj) +{ + ((TQScrollView*) QtSupport::getQt(env, obj))->updateScrollBars(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QScrollView_vScrollBarMode(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQScrollView*) QtSupport::getQt(env, obj))->vScrollBarMode(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QScrollView_verticalScrollBar(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQScrollView*) QtSupport::getQt(env, obj))->verticalScrollBar(), "org.kde.qt.TQScrollBar"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_viewportContextMenuEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportContextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_viewportDragEnterEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_viewportDragLeaveEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_viewportDragMoveEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_viewportDropEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportDropEvent((TQDropEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_viewportMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_viewportMouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportMouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_viewportMousePressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_viewportMouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportMouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_viewportPaintEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportPaintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_viewportResizeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportResizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QScrollView_viewportSize(JNIEnv* env, jobject obj, jint arg1, jint arg2) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQScrollView*) QtSupport::getQt(env, obj))->viewportSize((int) arg1, (int) arg2)), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_viewportToContents__II_3I_3I(JNIEnv* env, jobject obj, jint vx, jint vy, jintArray x, jintArray y) +{ + int* _int_x = QtSupport::toIntPtr(env, x); + int* _int_y = QtSupport::toIntPtr(env, y); + ((TQScrollView*) QtSupport::getQt(env, obj))->viewportToContents((int) vx, (int) vy, (int&) *_int_x, (int&) *_int_y); + env->SetIntArrayRegion(x, 0, 1, (jint *) _int_x); + env->SetIntArrayRegion(y, 0, 1, (jint *) _int_y); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QScrollView_viewportToContents__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQScrollView*) QtSupport::getQt(env, obj))->viewportToContents((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQPoint", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_viewportWheelEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportWheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QScrollView_viewport(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQScrollView*) QtSupport::getQt(env, obj))->viewport(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QScrollView_visibleHeight(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQScrollView*) QtSupport::getQt(env, obj))->visibleHeight(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QScrollView_visibleWidth(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQScrollView*) QtSupport::getQt(env, obj))->visibleWidth(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QScrollView_wheelEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); + return; +} + diff --git a/qtjava/javalib/qtjava/TQScrollView.h b/qtjava/javalib/qtjava/TQScrollView.h new file mode 100644 index 00000000..50d78b9c --- /dev/null +++ b/qtjava/javalib/qtjava/TQScrollView.h @@ -0,0 +1,139 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QScrollView__ +#define __org_kde_qt_QScrollView__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QScrollView_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QScrollView_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_newTQScrollView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_newTQScrollView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_newTQScrollView__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_newTQScrollView__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_setResizePolicy (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollView_resizePolicy (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_styleChange (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_removeChild__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_addChild__Lorg_kde_qt_QWidget_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_addChild__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_addChild__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_moveChild (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollView_childX (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollView_childY (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QScrollView_childIsVisible (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_showChild__Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_showChild__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollView_vScrollBarMode (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_setVScrollBarMode (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollView_hScrollBarMode (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_setHScrollBarMode (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QScrollView_cornerWidget (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_setCornerWidget (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QScrollView_horizontalScrollBar (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QScrollView_verticalScrollBar (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QScrollView_viewport (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QScrollView_clipper (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollView_visibleWidth (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollView_visibleHeight (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollView_contentsWidth (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollView_contentsHeight (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollView_contentsX (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollView_contentsY (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_resize__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_resize__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_show (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_updateContents__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_updateContents__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_updateContents__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_repaintContents__IIIIZ (JNIEnv *env, jobject, jint, jint, jint, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_repaintContents__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_repaintContents__Lorg_kde_qt_QRect_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_repaintContents__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_repaintContents__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_repaintContents__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_contentsToViewport__II_3I_3I (JNIEnv *env, jobject, jint, jint, jintArray, jintArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportToContents__II_3I_3I (JNIEnv *env, jobject, jint, jint, jintArray, jintArray); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QScrollView_contentsToViewport__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QScrollView_viewportToContents__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_enableClipper (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_setStaticBackground (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QScrollView_hasStaticBackground (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QScrollView_viewportSize (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QScrollView_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QScrollView_minimumSizeHint (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_removeChild__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QScrollView_isHorizontalSliderPressed (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QScrollView_isVerticalSliderPressed (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_setDragAutoScroll (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QScrollView_dragAutoScroll (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_disableSizeHintCaching (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_resizeContents (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_scrollBy (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_setContentsPos (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_ensureVisible__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_ensureVisible__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_center__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_center__IIFF (JNIEnv *env, jobject, jint, jint, jfloat, jfloat); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_updateScrollBars (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_setEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QScrollView_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QScrollView_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_drawContents (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_drawContentsOffset (JNIEnv *env, jobject, jobject, jint, jint, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_contentsMousePressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_contentsMouseReleaseEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_contentsMouseDoubleClickEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_contentsMouseMoveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_contentsDragEnterEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_contentsDragMoveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_contentsDragLeaveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_contentsDropEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_contentsWheelEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_contentsContextMenuEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportPaintEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportResizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportMousePressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportMouseReleaseEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportMouseDoubleClickEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportMouseMoveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportDragEnterEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportDragMoveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportDragLeaveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportDropEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportWheelEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportContextMenuEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_frameChanged (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_setMargins (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollView_leftMargin (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollView_topMargin (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollView_rightMargin (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollView_bottomMargin (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QScrollView_focusNextPrevChild (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_setHBarGeometry (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_setVBarGeometry (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_mousePressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_mouseReleaseEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_mouseDoubleClickEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_mouseMoveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_wheelEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_contextMenuEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QScrollView_eventFilter (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_setCachedSizeHint (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QScrollView_cachedSizeHint (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_fontChange (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QScrollView_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QScrollView__ */ diff --git a/qtjava/javalib/qtjava/TQSemiModal.cpp b/qtjava/javalib/qtjava/TQSemiModal.cpp new file mode 100644 index 00000000..7aa057b4 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSemiModal.cpp @@ -0,0 +1,464 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQSemiModalJBridge : public TQSemiModal +{ +public: + TQSemiModalJBridge(TQWidget* arg1,const char* arg2,bool arg3,TQt::WFlags arg4) : TQSemiModal(arg1,arg2,arg3,arg4) {}; + TQSemiModalJBridge(TQWidget* arg1,const char* arg2,bool arg3) : TQSemiModal(arg1,arg2,arg3) {}; + TQSemiModalJBridge(TQWidget* arg1,const char* arg2) : TQSemiModal(arg1,arg2) {}; + TQSemiModalJBridge(TQWidget* arg1) : TQSemiModal(arg1) {}; + TQSemiModalJBridge() : TQSemiModal() {}; + ~TQSemiModalJBridge() {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.qt.TQSemiModal","accept")) { + TQDialog::accept(); + } + return; + } + void setActiveWindow() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSemiModal","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.qt.TQSemiModal","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.qt.TQSemiModal","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.qt.TQSemiModal","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSemiModal","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.qt.TQSemiModal","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSemiModal","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.qt.TQSemiModal","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.qt.TQSemiModal","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.qt.TQSemiModal","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSemiModal_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQSemiModal*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSemiModal_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QSemiModal_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSemiModal_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQSemiModal*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQSemiModal*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSemiModal_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSemiModal_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSemiModal*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSemiModal_newTQSemiModal__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSemiModalJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSemiModal_newTQSemiModal__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSemiModalJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSemiModal_newTQSemiModal__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 TQSemiModalJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSemiModal_newTQSemiModal__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 TQSemiModalJBridge((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_qt_QSemiModal_newTQSemiModal__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 TQSemiModalJBridge((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 jstring JNICALL +Java_org_kde_qt_QSemiModal_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQSemiModalJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSemiModal_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQSemiModalJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQSemiModal.h b/qtjava/javalib/qtjava/TQSemiModal.h new file mode 100644 index 00000000..7ee8f0ff --- /dev/null +++ b/qtjava/javalib/qtjava/TQSemiModal.h @@ -0,0 +1,30 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QSemiModal__ +#define __org_kde_qt_QSemiModal__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSemiModal_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSemiModal_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSemiModal_newTQSemiModal__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZI (JNIEnv *env, jobject, jobject, jstring, jboolean, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSemiModal_newTQSemiModal__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSemiModal_newTQSemiModal__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSemiModal_newTQSemiModal__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSemiModal_newTQSemiModal__ (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSemiModal_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSemiModal_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSemiModal_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSemiModal_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSemiModal_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QSemiModal__ */ diff --git a/qtjava/javalib/qtjava/TQServerSocket.cpp b/qtjava/javalib/qtjava/TQServerSocket.cpp new file mode 100644 index 00000000..b404513f --- /dev/null +++ b/qtjava/javalib/qtjava/TQServerSocket.cpp @@ -0,0 +1,87 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QServerSocket_address(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQHostAddress(((TQServerSocket*) QtSupport::getQt(env, obj))->address()), "org.kde.qt.TQHostAddress", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QServerSocket_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQServerSocket*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QServerSocket_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQServerSocket*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QServerSocket_newConnection(JNIEnv* env, jobject obj, jint socket) +{ + ((TQServerSocket*) QtSupport::getQt(env, obj))->newConnection((int) socket); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QServerSocket_ok(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQServerSocket*) QtSupport::getQt(env, obj))->ok(); + return xret; +} + +JNIEXPORT jshort JNICALL +Java_org_kde_qt_QServerSocket_port(JNIEnv* env, jobject obj) +{ + jshort xret = (jshort) ((TQServerSocket*) QtSupport::getQt(env, obj))->port(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QServerSocket_setSocket(JNIEnv* env, jobject obj, jint socket) +{ + ((TQServerSocket*) QtSupport::getQt(env, obj))->setSocket((int) socket); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QServerSocket_socket(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQServerSocket*) QtSupport::getQt(env, obj))->socket(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QServerSocket_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQServerSocket::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QServerSocket_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQServerSocket::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQServerSocket.h b/qtjava/javalib/qtjava/TQServerSocket.h new file mode 100644 index 00000000..8aa59456 --- /dev/null +++ b/qtjava/javalib/qtjava/TQServerSocket.h @@ -0,0 +1,28 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QServerSocket__ +#define __org_kde_qt_QServerSocket__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QServerSocket_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QServerSocket_className (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QServerSocket_ok (JNIEnv *env, jobject); +extern JNIEXPORT jshort JNICALL Java_org_kde_qt_QServerSocket_port (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QServerSocket_socket (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QServerSocket_setSocket (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QServerSocket_address (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QServerSocket_newConnection (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QServerSocket_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QServerSocket_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QServerSocket__ */ diff --git a/qtjava/javalib/qtjava/TQSessionManager.cpp b/qtjava/javalib/qtjava/TQSessionManager.cpp new file mode 100644 index 00000000..848f2e64 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSessionManager.cpp @@ -0,0 +1,166 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSessionManager_allowsErrorInteraction(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSessionManager*) QtSupport::getQt(env, obj))->allowsErrorInteraction(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSessionManager_allowsInteraction(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSessionManager*) QtSupport::getQt(env, obj))->allowsInteraction(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSessionManager_cancel(JNIEnv* env, jobject obj) +{ + ((TQSessionManager*) QtSupport::getQt(env, obj))->cancel(); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSessionManager_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQSessionManager*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSessionManager_discardCommand(JNIEnv* env, jobject obj) +{ + TQStringList _qlist; + _qlist = ((TQSessionManager*) QtSupport::getQt(env, obj))->discardCommand(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSessionManager_isPhase2(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSessionManager*) QtSupport::getQt(env, obj))->isPhase2(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSessionManager_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSessionManager*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSessionManager_release(JNIEnv* env, jobject obj) +{ + ((TQSessionManager*) QtSupport::getQt(env, obj))->release(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSessionManager_requestPhase2(JNIEnv* env, jobject obj) +{ + ((TQSessionManager*) QtSupport::getQt(env, obj))->requestPhase2(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSessionManager_restartCommand(JNIEnv* env, jobject obj) +{ + TQStringList _qlist; + _qlist = ((TQSessionManager*) QtSupport::getQt(env, obj))->restartCommand(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSessionManager_restartHint(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSessionManager*) QtSupport::getQt(env, obj))->restartHint(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSessionManager_sessionId(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQSessionManager*) QtSupport::getQt(env, obj))->sessionId(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSessionManager_sessionKey(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQSessionManager*) QtSupport::getQt(env, obj))->sessionKey(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSessionManager_setDiscardCommand(JNIEnv* env, jobject obj, jobjectArray arg1) +{ +static TQStringList* _qlist_arg1 = 0; + ((TQSessionManager*) QtSupport::getQt(env, obj))->setDiscardCommand((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, arg1, &_qlist_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSessionManager_setManagerProperty__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring value) +{ +static TQString* _qstring_name = 0; +static TQString* _qstring_value = 0; + ((TQSessionManager*) QtSupport::getQt(env, obj))->setManagerProperty((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSessionManager_setManagerProperty__Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jobjectArray value) +{ +static TQString* _qstring_name = 0; +static TQStringList* _qlist_value = 0; + ((TQSessionManager*) QtSupport::getQt(env, obj))->setManagerProperty((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, value, &_qlist_value)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSessionManager_setRestartCommand(JNIEnv* env, jobject obj, jobjectArray arg1) +{ +static TQStringList* _qlist_arg1 = 0; + ((TQSessionManager*) QtSupport::getQt(env, obj))->setRestartCommand((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, arg1, &_qlist_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSessionManager_setRestartHint(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQSessionManager*) QtSupport::getQt(env, obj))->setRestartHint((TQSessionManager::RestartHint) arg1); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSessionManager_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQSessionManager::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSessionManager_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQSessionManager::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQSessionManager.h b/qtjava/javalib/qtjava/TQSessionManager.h new file mode 100644 index 00000000..5ef8ebdd --- /dev/null +++ b/qtjava/javalib/qtjava/TQSessionManager.h @@ -0,0 +1,38 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QSessionManager__ +#define __org_kde_qt_QSessionManager__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSessionManager_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSessionManager_className (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSessionManager_sessionId (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSessionManager_sessionKey (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSessionManager_allowsInteraction (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSessionManager_allowsErrorInteraction (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSessionManager_release (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSessionManager_cancel (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSessionManager_setRestartHint (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSessionManager_restartHint (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSessionManager_setRestartCommand (JNIEnv *env, jobject, jobjectArray); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSessionManager_restartCommand (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSessionManager_setDiscardCommand (JNIEnv *env, jobject, jobjectArray); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSessionManager_discardCommand (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSessionManager_setManagerProperty__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSessionManager_setManagerProperty__Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobjectArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSessionManager_isPhase2 (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSessionManager_requestPhase2 (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSessionManager_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSessionManager_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QSessionManager__ */ diff --git a/qtjava/javalib/qtjava/TQSettings.cpp b/qtjava/javalib/qtjava/TQSettings.cpp new file mode 100644 index 00000000..1a77c4e2 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSettings.cpp @@ -0,0 +1,359 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQSettingsJBridge : public TQSettings +{ +public: + TQSettingsJBridge() : TQSettings() {}; + TQSettingsJBridge(TQSettings::Format arg1) : TQSettings(arg1) {}; + ~TQSettingsJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSettings_beginGroup(JNIEnv* env, jobject obj, jstring group) +{ +static TQString* _qstring_group = 0; + ((TQSettings*) QtSupport::getQt(env, obj))->beginGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSettings_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QSettings_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSettings_endGroup(JNIEnv* env, jobject obj) +{ + ((TQSettings*) QtSupport::getQt(env, obj))->endGroup(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSettings_entryList(JNIEnv* env, jobject obj, jstring arg1) +{ + TQStringList _qlist; +static TQString* _qstring_arg1 = 0; + _qlist = ((TQSettings*) QtSupport::getQt(env, obj))->entryList((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSettings_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQSettings*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSettings_group(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQSettings*) QtSupport::getQt(env, obj))->group(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSettings_insertSearchPath(JNIEnv* env, jobject obj, jint arg1, jstring arg2) +{ +static TQString* _qstring_arg2 = 0; + ((TQSettings*) QtSupport::getQt(env, obj))->insertSearchPath((TQSettings::System) arg1, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSettings_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSettings_newTQSettings__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSettingsJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSettings_newTQSettings__I(JNIEnv* env, jobject obj, jint format) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSettingsJBridge((TQSettings::Format) format)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSettings_readBoolEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TQSettings*) QtSupport::getQt(env, obj))->readBoolEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSettings_readBoolEntry__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring arg1, jboolean def) +{ +static TQString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TQSettings*) QtSupport::getQt(env, obj))->readBoolEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) def); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSettings_readBoolEntry__Ljava_lang_String_2Z_3Z(JNIEnv* env, jobject obj, jstring arg1, jboolean def, jbooleanArray arg3) +{ +static TQString* _qstring_arg1 = 0; + bool* _bool_arg3 = QtSupport::toBooleanPtr(env, arg3); + jboolean xret = (jboolean) ((TQSettings*) QtSupport::getQt(env, obj))->readBoolEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) def, (bool*) _bool_arg3); + env->SetBooleanArrayRegion(arg3, 0, 1, (jboolean*) _bool_arg3); + return xret; +} + +JNIEXPORT jdouble JNICALL +Java_org_kde_qt_QSettings_readDoubleEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + jdouble xret = (jdouble) ((TQSettings*) QtSupport::getQt(env, obj))->readDoubleEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return xret; +} + +JNIEXPORT jdouble JNICALL +Java_org_kde_qt_QSettings_readDoubleEntry__Ljava_lang_String_2D(JNIEnv* env, jobject obj, jstring arg1, jdouble def) +{ +static TQString* _qstring_arg1 = 0; + jdouble xret = (jdouble) ((TQSettings*) QtSupport::getQt(env, obj))->readDoubleEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (double) def); + return xret; +} + +JNIEXPORT jdouble JNICALL +Java_org_kde_qt_QSettings_readDoubleEntry__Ljava_lang_String_2D_3Z(JNIEnv* env, jobject obj, jstring arg1, jdouble def, jbooleanArray arg3) +{ +static TQString* _qstring_arg1 = 0; + bool* _bool_arg3 = QtSupport::toBooleanPtr(env, arg3); + jdouble xret = (jdouble) ((TQSettings*) QtSupport::getQt(env, obj))->readDoubleEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (double) def, (bool*) _bool_arg3); + env->SetBooleanArrayRegion(arg3, 0, 1, (jboolean*) _bool_arg3); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSettings_readEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +{ + TQString _qstring; +static TQString* _qstring_arg1 = 0; + _qstring = ((TQSettings*) QtSupport::getQt(env, obj))->readEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSettings_readEntry__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring def) +{ + TQString _qstring; +static TQString* _qstring_arg1 = 0; +static TQString* _qstring_def = 0; + _qstring = ((TQSettings*) QtSupport::getQt(env, obj))->readEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, def, &_qstring_def)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSettings_readEntry__Ljava_lang_String_2Ljava_lang_String_2_3Z(JNIEnv* env, jobject obj, jstring arg1, jstring def, jbooleanArray arg3) +{ + TQString _qstring; +static TQString* _qstring_arg1 = 0; +static TQString* _qstring_def = 0; + bool* _bool_arg3 = QtSupport::toBooleanPtr(env, arg3); + _qstring = ((TQSettings*) QtSupport::getQt(env, obj))->readEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, def, &_qstring_def), (bool*) _bool_arg3); + env->SetBooleanArrayRegion(arg3, 0, 1, (jboolean*) _bool_arg3); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSettings_readListEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +{ + TQStringList _qlist; +static TQString* _qstring_arg1 = 0; + _qlist = ((TQSettings*) QtSupport::getQt(env, obj))->readListEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSettings_readListEntry__Ljava_lang_String_2C(JNIEnv* env, jobject obj, jstring arg1, jchar sep) +{ + TQStringList _qlist; +static TQString* _qstring_arg1 = 0; +static TQChar* _qchar_sep = 0; + _qlist = ((TQSettings*) QtSupport::getQt(env, obj))->readListEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQChar&)*(TQChar*) QtSupport::toTQChar(env, sep, &_qchar_sep)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSettings_readListEntry__Ljava_lang_String_2C_3Z(JNIEnv* env, jobject obj, jstring arg1, jchar sep, jbooleanArray arg3) +{ + TQStringList _qlist; +static TQString* _qstring_arg1 = 0; +static TQChar* _qchar_sep = 0; + bool* _bool_arg3 = QtSupport::toBooleanPtr(env, arg3); + _qlist = ((TQSettings*) QtSupport::getQt(env, obj))->readListEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQChar&)*(TQChar*) QtSupport::toTQChar(env, sep, &_qchar_sep), (bool*) _bool_arg3); + env->SetBooleanArrayRegion(arg3, 0, 1, (jboolean*) _bool_arg3); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSettings_readListEntry__Ljava_lang_String_2_3Z(JNIEnv* env, jobject obj, jstring arg1, jbooleanArray arg2) +{ + TQStringList _qlist; +static TQString* _qstring_arg1 = 0; + bool* _bool_arg2 = QtSupport::toBooleanPtr(env, arg2); + _qlist = ((TQSettings*) QtSupport::getQt(env, obj))->readListEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool*) _bool_arg2); + env->SetBooleanArrayRegion(arg2, 0, 1, (jboolean*) _bool_arg2); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSettings_readNumEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + jint xret = (jint) ((TQSettings*) QtSupport::getQt(env, obj))->readNumEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSettings_readNumEntry__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring arg1, jint def) +{ +static TQString* _qstring_arg1 = 0; + jint xret = (jint) ((TQSettings*) QtSupport::getQt(env, obj))->readNumEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (int) def); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSettings_readNumEntry__Ljava_lang_String_2I_3Z(JNIEnv* env, jobject obj, jstring arg1, jint def, jbooleanArray arg3) +{ +static TQString* _qstring_arg1 = 0; + bool* _bool_arg3 = QtSupport::toBooleanPtr(env, arg3); + jint xret = (jint) ((TQSettings*) QtSupport::getQt(env, obj))->readNumEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (int) def, (bool*) _bool_arg3); + env->SetBooleanArrayRegion(arg3, 0, 1, (jboolean*) _bool_arg3); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSettings_removeEntry(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TQSettings*) QtSupport::getQt(env, obj))->removeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSettings_removeSearchPath(JNIEnv* env, jobject obj, jint arg1, jstring arg2) +{ +static TQString* _qstring_arg2 = 0; + ((TQSettings*) QtSupport::getQt(env, obj))->removeSearchPath((TQSettings::System) arg1, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSettings_resetGroup(JNIEnv* env, jobject obj) +{ + ((TQSettings*) QtSupport::getQt(env, obj))->resetGroup(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSettings_setPath__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring domain, jstring product) +{ +static TQString* _qstring_domain = 0; +static TQString* _qstring_product = 0; + ((TQSettings*) QtSupport::getQt(env, obj))->setPath((const TQString&)*(TQString*) QtSupport::toTQString(env, domain, &_qstring_domain), (const TQString&)*(TQString*) QtSupport::toTQString(env, product, &_qstring_product)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSettings_setPath__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring domain, jstring product, jint arg3) +{ +static TQString* _qstring_domain = 0; +static TQString* _qstring_product = 0; + ((TQSettings*) QtSupport::getQt(env, obj))->setPath((const TQString&)*(TQString*) QtSupport::toTQString(env, domain, &_qstring_domain), (const TQString&)*(TQString*) QtSupport::toTQString(env, product, &_qstring_product), (TQSettings::Scope) arg3); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSettings_subkeyList(JNIEnv* env, jobject obj, jstring arg1) +{ + TQStringList _qlist; +static TQString* _qstring_arg1 = 0; + _qlist = ((TQSettings*) QtSupport::getQt(env, obj))->subkeyList((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSettings_sync(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSettings*) QtSupport::getQt(env, obj))->sync(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSettings_writeEntry__Ljava_lang_String_2D(JNIEnv* env, jobject obj, jstring arg1, jdouble arg2) +{ +static TQString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TQSettings*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (double) arg2); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSettings_writeEntry__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring arg1, jint arg2) +{ +static TQString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TQSettings*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (int) arg2); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSettings_writeEntry__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2) +{ +static TQString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + jboolean xret = (jboolean) ((TQSettings*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSettings_writeEntry__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring arg1, jboolean arg2) +{ +static TQString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TQSettings*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) arg2); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSettings_writeEntry__Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jobjectArray arg2) +{ +static TQString* _qstring_arg1 = 0; +static TQStringList* _qlist_arg2 = 0; + jboolean xret = (jboolean) ((TQSettings*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, arg2, &_qlist_arg2)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSettings_writeEntry__Ljava_lang_String_2_3Ljava_lang_String_2C(JNIEnv* env, jobject obj, jstring arg1, jobjectArray arg2, jchar sep) +{ +static TQString* _qstring_arg1 = 0; +static TQStringList* _qlist_arg2 = 0; +static TQChar* _qchar_sep = 0; + jboolean xret = (jboolean) ((TQSettings*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, arg2, &_qlist_arg2), (const TQChar&)*(TQChar*) QtSupport::toTQChar(env, sep, &_qchar_sep)); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQSettings.h b/qtjava/javalib/qtjava/TQSettings.h new file mode 100644 index 00000000..3d8d60f8 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSettings.h @@ -0,0 +1,57 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QSettings__ +#define __org_kde_qt_QSettings__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSettings_newTQSettings__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSettings_newTQSettings__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSettings_writeEntry__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSettings_writeEntry__Ljava_lang_String_2D (JNIEnv *env, jobject, jstring, jdouble); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSettings_writeEntry__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSettings_writeEntry__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSettings_writeEntry__Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobjectArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSettings_writeEntry__Ljava_lang_String_2_3Ljava_lang_String_2C (JNIEnv *env, jobject, jstring, jobjectArray, jchar); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSettings_entryList (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSettings_subkeyList (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSettings_readListEntry__Ljava_lang_String_2_3Z (JNIEnv *env, jobject, jstring, jbooleanArray); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSettings_readListEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSettings_readListEntry__Ljava_lang_String_2C_3Z (JNIEnv *env, jobject, jstring, jchar, jbooleanArray); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSettings_readListEntry__Ljava_lang_String_2C (JNIEnv *env, jobject, jstring, jchar); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSettings_readEntry__Ljava_lang_String_2Ljava_lang_String_2_3Z (JNIEnv *env, jobject, jstring, jstring, jbooleanArray); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSettings_readEntry__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSettings_readEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSettings_readNumEntry__Ljava_lang_String_2I_3Z (JNIEnv *env, jobject, jstring, jint, jbooleanArray); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSettings_readNumEntry__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSettings_readNumEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QSettings_readDoubleEntry__Ljava_lang_String_2D_3Z (JNIEnv *env, jobject, jstring, jdouble, jbooleanArray); +extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QSettings_readDoubleEntry__Ljava_lang_String_2D (JNIEnv *env, jobject, jstring, jdouble); +extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QSettings_readDoubleEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSettings_readBoolEntry__Ljava_lang_String_2Z_3Z (JNIEnv *env, jobject, jstring, jboolean, jbooleanArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSettings_readBoolEntry__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSettings_readBoolEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSettings_removeEntry (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSettings_insertSearchPath (JNIEnv *env, jobject, jint, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSettings_removeSearchPath (JNIEnv *env, jobject, jint, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSettings_setPath__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSettings_setPath__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSettings_beginGroup (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSettings_endGroup (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSettings_resetGroup (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSettings_group (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSettings_sync (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSettings_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSettings_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSettings_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QSettings__ */ diff --git a/qtjava/javalib/qtjava/TQShowEvent.cpp b/qtjava/javalib/qtjava/TQShowEvent.cpp new file mode 100644 index 00000000..4b8da75d --- /dev/null +++ b/qtjava/javalib/qtjava/TQShowEvent.cpp @@ -0,0 +1,46 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + +class TQShowEventJBridge : public TQShowEvent +{ +public: + TQShowEventJBridge() : TQShowEvent() {}; + ~TQShowEventJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QShowEvent_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QShowEvent_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QShowEvent_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQShowEvent*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QShowEvent_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QShowEvent_newTQShowEvent(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQShowEventJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + diff --git a/qtjava/javalib/qtjava/TQShowEvent.h b/qtjava/javalib/qtjava/TQShowEvent.h new file mode 100644 index 00000000..a4297714 --- /dev/null +++ b/qtjava/javalib/qtjava/TQShowEvent.h @@ -0,0 +1,22 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QShowEvent__ +#define __org_kde_qt_QShowEvent__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QShowEvent_newTQShowEvent (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QShowEvent_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QShowEvent_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QShowEvent_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QShowEvent__ */ diff --git a/qtjava/javalib/qtjava/TQSignal.cpp b/qtjava/javalib/qtjava/TQSignal.cpp new file mode 100644 index 00000000..05479ab8 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSignal.cpp @@ -0,0 +1,214 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQSignalJBridge : public TQSignal +{ +public: + TQSignalJBridge(TQObject* arg1,const char* arg2) : TQSignal(arg1,arg2) {}; + TQSignalJBridge(TQObject* arg1) : TQSignal(arg1) {}; + TQSignalJBridge() : TQSignal() {}; + ~TQSignalJBridge() {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.qt.TQSignal",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSignal_activate(JNIEnv* env, jobject obj) +{ + ((TQSignal*) QtSupport::getQt(env, obj))->activate(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSignal_block(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQSignal*) QtSupport::getQt(env, obj))->block((bool) b); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSignal_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQSignal*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSignal_connect(JNIEnv* env, jobject obj, jobject receiver, jstring member) +{ + jboolean xret = (jboolean) ((TQSignal*) QtSupport::getQt(env, obj))->connect((const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSignal_disconnect__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject receiver) +{ + jboolean xret = (jboolean) ((TQSignal*) QtSupport::getQt(env, obj))->disconnect((const TQObject*) QtSupport::getQt(env, receiver)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSignal_disconnect__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject receiver, jstring member) +{ + jboolean xret = (jboolean) ((TQSignal*) QtSupport::getQt(env, obj))->disconnect((const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSignal_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QSignal_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSignal_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQSignal*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQSignal*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSignal_isBlocked(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSignal*) QtSupport::getQt(env, obj))->isBlocked(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSignal_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSignal_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSignal*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSignal_newTQSignal__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSignalJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSignal_newTQSignal__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSignalJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSignal_newTQSignal__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 TQSignalJBridge((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_qt_QSignal_parameter(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSignal*) QtSupport::getQt(env, obj))->parameter(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSignal_setParameter(JNIEnv* env, jobject obj, jint value) +{ + ((TQSignal*) QtSupport::getQt(env, obj))->setParameter((int) value); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSignal_setValue(JNIEnv* env, jobject obj, jobject value) +{ + ((TQSignal*) QtSupport::getQt(env, obj))->setValue((const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, value)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSignal_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQSignalJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSignal_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQSignalJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSignal_value(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSignal*) QtSupport::getQt(env, obj))->value()), "org.kde.qt.TQVariant", TRUE); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQSignal.h b/qtjava/javalib/qtjava/TQSignal.h new file mode 100644 index 00000000..d74ca10c --- /dev/null +++ b/qtjava/javalib/qtjava/TQSignal.h @@ -0,0 +1,38 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QSignal__ +#define __org_kde_qt_QSignal__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSignal_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSignal_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSignal_newTQSignal__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSignal_newTQSignal__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSignal_newTQSignal__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSignal_connect (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSignal_disconnect__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSignal_disconnect__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSignal_activate (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSignal_isBlocked (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSignal_block (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSignal_setParameter (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSignal_parameter (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSignal_setValue (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSignal_value (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSignal_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSignal_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSignal_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSignal_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSignal_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QSignal__ */ diff --git a/qtjava/javalib/qtjava/TQSignalMapper.cpp b/qtjava/javalib/qtjava/TQSignalMapper.cpp new file mode 100644 index 00000000..5e57cb1d --- /dev/null +++ b/qtjava/javalib/qtjava/TQSignalMapper.cpp @@ -0,0 +1,161 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQSignalMapperJBridge : public TQSignalMapper +{ +public: + TQSignalMapperJBridge(TQObject* arg1,const char* arg2) : TQSignalMapper(arg1,arg2) {}; + TQSignalMapperJBridge(TQObject* arg1) : TQSignalMapper(arg1) {}; + ~TQSignalMapperJBridge() {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.qt.TQSignalMapper",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSignalMapper_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQSignalMapper*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSignalMapper_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QSignalMapper_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSignalMapper_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQSignalMapper*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQSignalMapper*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSignalMapper_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSignalMapper_map(JNIEnv* env, jobject obj) +{ + ((TQSignalMapper*) QtSupport::getQt(env, obj))->map(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSignalMapper_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSignalMapper*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSignalMapper_newTQSignalMapper__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSignalMapperJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSignalMapper_newTQSignalMapper__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 TQSignalMapperJBridge((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_qt_QSignalMapper_removeMappings(JNIEnv* env, jobject obj, jobject sender) +{ + ((TQSignalMapper*) QtSupport::getQt(env, obj))->removeMappings((const TQObject*) QtSupport::getQt(env, sender)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSignalMapper_setMapping__Lorg_kde_qt_QObject_2I(JNIEnv* env, jobject obj, jobject sender, jint identifier) +{ + ((TQSignalMapper*) QtSupport::getQt(env, obj))->setMapping((const TQObject*) QtSupport::getQt(env, sender), (int) identifier); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSignalMapper_setMapping__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject sender, jstring identifier) +{ +static TQString* _qstring_identifier = 0; + ((TQSignalMapper*) QtSupport::getQt(env, obj))->setMapping((const TQObject*) QtSupport::getQt(env, sender), (const TQString&)*(TQString*) QtSupport::toTQString(env, identifier, &_qstring_identifier)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSignalMapper_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQSignalMapperJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSignalMapper_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQSignalMapperJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQSignalMapper.h b/qtjava/javalib/qtjava/TQSignalMapper.h new file mode 100644 index 00000000..833e86ee --- /dev/null +++ b/qtjava/javalib/qtjava/TQSignalMapper.h @@ -0,0 +1,31 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QSignalMapper__ +#define __org_kde_qt_QSignalMapper__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSignalMapper_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSignalMapper_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSignalMapper_newTQSignalMapper__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSignalMapper_newTQSignalMapper__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSignalMapper_setMapping__Lorg_kde_qt_QObject_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSignalMapper_setMapping__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSignalMapper_removeMappings (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSignalMapper_map (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSignalMapper_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSignalMapper_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSignalMapper_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSignalMapper_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSignalMapper_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QSignalMapper__ */ diff --git a/qtjava/javalib/qtjava/TQSimpleRichText.cpp b/qtjava/javalib/qtjava/TQSimpleRichText.cpp new file mode 100644 index 00000000..13026fba --- /dev/null +++ b/qtjava/javalib/qtjava/TQSimpleRichText.cpp @@ -0,0 +1,232 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQSimpleRichTextJBridge : public TQSimpleRichText +{ +public: + TQSimpleRichTextJBridge(const TQString& arg1,const TQFont& arg2,const TQString& arg3,const TQStyleSheet* arg4) : TQSimpleRichText(arg1,arg2,arg3,arg4) {}; + TQSimpleRichTextJBridge(const TQString& arg1,const TQFont& arg2,const TQString& arg3) : TQSimpleRichText(arg1,arg2,arg3) {}; + TQSimpleRichTextJBridge(const TQString& arg1,const TQFont& arg2) : TQSimpleRichText(arg1,arg2) {}; + TQSimpleRichTextJBridge(const TQString& arg1,const TQFont& arg2,const TQString& arg3,const TQStyleSheet* arg4,const TQMimeSourceFactory* arg5,int arg6,const TQColor& arg7,bool arg8) : TQSimpleRichText(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; + TQSimpleRichTextJBridge(const TQString& arg1,const TQFont& arg2,const TQString& arg3,const TQStyleSheet* arg4,const TQMimeSourceFactory* arg5,int arg6,const TQColor& arg7) : TQSimpleRichText(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TQSimpleRichTextJBridge(const TQString& arg1,const TQFont& arg2,const TQString& arg3,const TQStyleSheet* arg4,const TQMimeSourceFactory* arg5,int arg6) : TQSimpleRichText(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TQSimpleRichTextJBridge(const TQString& arg1,const TQFont& arg2,const TQString& arg3,const TQStyleSheet* arg4,const TQMimeSourceFactory* arg5) : TQSimpleRichText(arg1,arg2,arg3,arg4,arg5) {}; + ~TQSimpleRichTextJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSimpleRichText_adjustSize(JNIEnv* env, jobject obj) +{ + ((TQSimpleRichText*) QtSupport::getQt(env, obj))->adjustSize(); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSimpleRichText_anchorAt(JNIEnv* env, jobject obj, jobject pos) +{ + TQString _qstring; + _qstring = ((TQSimpleRichText*) QtSupport::getQt(env, obj))->anchorAt((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSimpleRichText_context(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQSimpleRichText*) QtSupport::getQt(env, obj))->context(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSimpleRichText_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QSimpleRichText_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSimpleRichText_draw__Lorg_kde_qt_QPainter_2IILorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jobject obj, jobject p, jint x, jint y, jobject clipRect, jobject cg) +{ + ((TQSimpleRichText*) QtSupport::getQt(env, obj))->draw((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (const TQRect&)*(const TQRect*) QtSupport::getQt(env, clipRect), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSimpleRichText_draw__Lorg_kde_qt_QPainter_2IILorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2Lorg_kde_qt_QBrush_2(JNIEnv* env, jobject obj, jobject p, jint x, jint y, jobject clipRect, jobject cg, jobject paper) +{ + ((TQSimpleRichText*) QtSupport::getQt(env, obj))->draw((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (const TQRect&)*(const TQRect*) QtSupport::getQt(env, clipRect), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (const TQBrush*) QtSupport::getQt(env, paper)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSimpleRichText_draw__Lorg_kde_qt_QPainter_2IILorg_kde_qt_QRegion_2Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jobject obj, jobject p, jint x, jint y, jobject clipRegion, jobject cg) +{ + ((TQSimpleRichText*) QtSupport::getQt(env, obj))->draw((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, clipRegion), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSimpleRichText_draw__Lorg_kde_qt_QPainter_2IILorg_kde_qt_QRegion_2Lorg_kde_qt_QColorGroup_2Lorg_kde_qt_QBrush_2(JNIEnv* env, jobject obj, jobject p, jint x, jint y, jobject clipRegion, jobject cg, jobject paper) +{ + ((TQSimpleRichText*) QtSupport::getQt(env, obj))->draw((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, clipRegion), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (const TQBrush*) QtSupport::getQt(env, paper)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSimpleRichText_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQSimpleRichText*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSimpleRichText_height(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSimpleRichText*) QtSupport::getQt(env, obj))->height(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSimpleRichText_inText(JNIEnv* env, jobject obj, jobject pos) +{ + jboolean xret = (jboolean) ((TQSimpleRichText*) QtSupport::getQt(env, obj))->inText((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSimpleRichText_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSimpleRichText_newTQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jstring text, jobject fnt) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSimpleRichTextJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSimpleRichText_newTQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject fnt, jstring context) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_context = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSimpleRichTextJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSimpleRichText_newTQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Ljava_lang_String_2Lorg_kde_qt_QStyleSheet_2(JNIEnv* env, jobject obj, jstring text, jobject fnt, jstring context, jobject sheet) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_context = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSimpleRichTextJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context), (const TQStyleSheet*) QtSupport::getQt(env, sheet))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSimpleRichText_newTQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Ljava_lang_String_2Lorg_kde_qt_QStyleSheet_2Lorg_kde_qt_QMimeSourceFactory_2(JNIEnv* env, jobject obj, jstring text, jobject fnt, jstring context, jobject sheet, jobject factory) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_context = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSimpleRichTextJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context), (const TQStyleSheet*) QtSupport::getQt(env, sheet), (const TQMimeSourceFactory*) QtSupport::getQt(env, factory))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSimpleRichText_newTQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Ljava_lang_String_2Lorg_kde_qt_QStyleSheet_2Lorg_kde_qt_QMimeSourceFactory_2I(JNIEnv* env, jobject obj, jstring text, jobject fnt, jstring context, jobject sheet, jobject factory, jint pageBreak) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_context = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSimpleRichTextJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context), (const TQStyleSheet*) QtSupport::getQt(env, sheet), (const TQMimeSourceFactory*) QtSupport::getQt(env, factory), (int) pageBreak)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSimpleRichText_newTQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Ljava_lang_String_2Lorg_kde_qt_QStyleSheet_2Lorg_kde_qt_QMimeSourceFactory_2ILorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jstring text, jobject fnt, jstring context, jobject sheet, jobject factory, jint pageBreak, jobject linkColor) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_context = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSimpleRichTextJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context), (const TQStyleSheet*) QtSupport::getQt(env, sheet), (const TQMimeSourceFactory*) QtSupport::getQt(env, factory), (int) pageBreak, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, linkColor))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSimpleRichText_newTQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Ljava_lang_String_2Lorg_kde_qt_QStyleSheet_2Lorg_kde_qt_QMimeSourceFactory_2ILorg_kde_qt_QColor_2Z(JNIEnv* env, jobject obj, jstring text, jobject fnt, jstring context, jobject sheet, jobject factory, jint pageBreak, jobject linkColor, jboolean linkUnderline) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_context = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSimpleRichTextJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context), (const TQStyleSheet*) QtSupport::getQt(env, sheet), (const TQMimeSourceFactory*) QtSupport::getQt(env, factory), (int) pageBreak, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, linkColor), (bool) linkUnderline)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSimpleRichText_setDefaultFont(JNIEnv* env, jobject obj, jobject f) +{ + ((TQSimpleRichText*) QtSupport::getQt(env, obj))->setDefaultFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, f)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSimpleRichText_setWidth__I(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQSimpleRichText*) QtSupport::getQt(env, obj))->setWidth((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSimpleRichText_setWidth__Lorg_kde_qt_QPainter_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2) +{ + ((TQSimpleRichText*) QtSupport::getQt(env, obj))->setWidth((TQPainter*) QtSupport::getQt(env, arg1), (int) arg2); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSimpleRichText_widthUsed(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSimpleRichText*) QtSupport::getQt(env, obj))->widthUsed(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSimpleRichText_width(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSimpleRichText*) QtSupport::getQt(env, obj))->width(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQSimpleRichText.h b/qtjava/javalib/qtjava/TQSimpleRichText.h new file mode 100644 index 00000000..c54b1fd7 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSimpleRichText.h @@ -0,0 +1,42 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QSimpleRichText__ +#define __org_kde_qt_QSimpleRichText__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSimpleRichText_newTQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Ljava_lang_String_2Lorg_kde_qt_QStyleSheet_2 (JNIEnv *env, jobject, jstring, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSimpleRichText_newTQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSimpleRichText_newTQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSimpleRichText_newTQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Ljava_lang_String_2Lorg_kde_qt_QStyleSheet_2Lorg_kde_qt_QMimeSourceFactory_2ILorg_kde_qt_QColor_2Z (JNIEnv *env, jobject, jstring, jobject, jstring, jobject, jobject, jint, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSimpleRichText_newTQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Ljava_lang_String_2Lorg_kde_qt_QStyleSheet_2Lorg_kde_qt_QMimeSourceFactory_2ILorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jstring, jobject, jstring, jobject, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSimpleRichText_newTQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Ljava_lang_String_2Lorg_kde_qt_QStyleSheet_2Lorg_kde_qt_QMimeSourceFactory_2I (JNIEnv *env, jobject, jstring, jobject, jstring, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSimpleRichText_newTQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Ljava_lang_String_2Lorg_kde_qt_QStyleSheet_2Lorg_kde_qt_QMimeSourceFactory_2 (JNIEnv *env, jobject, jstring, jobject, jstring, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSimpleRichText_setWidth__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSimpleRichText_setWidth__Lorg_kde_qt_QPainter_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSimpleRichText_setDefaultFont (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSimpleRichText_width (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSimpleRichText_widthUsed (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSimpleRichText_height (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSimpleRichText_adjustSize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSimpleRichText_draw__Lorg_kde_qt_QPainter_2IILorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2Lorg_kde_qt_QBrush_2 (JNIEnv *env, jobject, jobject, jint, jint, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSimpleRichText_draw__Lorg_kde_qt_QPainter_2IILorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2 (JNIEnv *env, jobject, jobject, jint, jint, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSimpleRichText_draw__Lorg_kde_qt_QPainter_2IILorg_kde_qt_QRegion_2Lorg_kde_qt_QColorGroup_2Lorg_kde_qt_QBrush_2 (JNIEnv *env, jobject, jobject, jint, jint, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSimpleRichText_draw__Lorg_kde_qt_QPainter_2IILorg_kde_qt_QRegion_2Lorg_kde_qt_QColorGroup_2 (JNIEnv *env, jobject, jobject, jint, jint, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSimpleRichText_context (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSimpleRichText_anchorAt (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSimpleRichText_inText (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSimpleRichText_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSimpleRichText_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSimpleRichText_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QSimpleRichText__ */ diff --git a/qtjava/javalib/qtjava/TQSize.cpp b/qtjava/javalib/qtjava/TQSize.cpp new file mode 100644 index 00000000..ee8400e5 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSize.cpp @@ -0,0 +1,198 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQSizeJBridge : public TQSize +{ +public: + TQSizeJBridge() : TQSize() {}; + TQSizeJBridge(int arg1,int arg2) : TQSize(arg1,arg2) {}; + ~TQSizeJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSize_boundedTo(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQSize*) QtSupport::getQt(env, obj))->boundedTo((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSize_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QSize_finalize(env, obj); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSize_expandedTo(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQSize*) QtSupport::getQt(env, obj))->expandedTo((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSize_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQSize*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSize_height(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSize*) QtSupport::getQt(env, obj))->height(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSize_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSize_isEmpty(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSize*) QtSupport::getQt(env, obj))->isEmpty(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSize_isNull(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSize*) QtSupport::getQt(env, obj))->isNull(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSize_isValid(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSize*) QtSupport::getQt(env, obj))->isValid(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSize_newTQSize__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSizeJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSize_newTQSize__II(JNIEnv* env, jobject obj, jint w, jint h) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSizeJBridge((int) w, (int) h)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSize_op_1div_1assign__D(JNIEnv* env, jobject obj, jdouble c) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQSize *) &((TQSize*) QtSupport::getQt(env, obj))->operator/=((double) c), "org.kde.qt.TQSize"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSize_op_1div_1assign__I(JNIEnv* env, jobject obj, jint c) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQSize *) &((TQSize*) QtSupport::getQt(env, obj))->operator/=((int) c), "org.kde.qt.TQSize"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSize_op_1minus_1assign(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQSize *) &((TQSize*) QtSupport::getQt(env, obj))->operator-=((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQSize"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSize_op_1mult_1assign__D(JNIEnv* env, jobject obj, jdouble c) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQSize *) &((TQSize*) QtSupport::getQt(env, obj))->operator*=((double) c), "org.kde.qt.TQSize"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSize_op_1mult_1assign__I(JNIEnv* env, jobject obj, jint c) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQSize *) &((TQSize*) QtSupport::getQt(env, obj))->operator*=((int) c), "org.kde.qt.TQSize"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSize_op_1plus_1assign(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQSize *) &((TQSize*) QtSupport::getQt(env, obj))->operator+=((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQSize"); + return xret; +} + +JNIEXPORT jshort JNICALL +Java_org_kde_qt_QSize_rheight(JNIEnv* env, jobject obj) +{ + jshort xret = (jshort) ((TQSize*) QtSupport::getQt(env, obj))->rheight(); + return xret; +} + +JNIEXPORT jshort JNICALL +Java_org_kde_qt_QSize_rwidth(JNIEnv* env, jobject obj) +{ + jshort xret = (jshort) ((TQSize*) QtSupport::getQt(env, obj))->rwidth(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSize_scale__III(JNIEnv* env, jobject obj, jint w, jint h, jint mode) +{ + ((TQSize*) QtSupport::getQt(env, obj))->scale((int) w, (int) h, (TQSize::ScaleMode) mode); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSize_scale__Lorg_kde_qt_QSize_2I(JNIEnv* env, jobject obj, jobject s, jint mode) +{ + ((TQSize*) QtSupport::getQt(env, obj))->scale((const TQSize&)*(const TQSize*) QtSupport::getQt(env, s), (TQSize::ScaleMode) mode); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSize_setHeight(JNIEnv* env, jobject obj, jint h) +{ + ((TQSize*) QtSupport::getQt(env, obj))->setHeight((int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSize_setWidth(JNIEnv* env, jobject obj, jint w) +{ + ((TQSize*) QtSupport::getQt(env, obj))->setWidth((int) w); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSize_transpose(JNIEnv* env, jobject obj) +{ + ((TQSize*) QtSupport::getQt(env, obj))->transpose(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSize_width(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSize*) QtSupport::getQt(env, obj))->width(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQSize.h b/qtjava/javalib/qtjava/TQSize.h new file mode 100644 index 00000000..2ccc4a9d --- /dev/null +++ b/qtjava/javalib/qtjava/TQSize.h @@ -0,0 +1,43 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QSize__ +#define __org_kde_qt_QSize__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSize_newTQSize__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSize_newTQSize__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSize_isNull (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSize_isEmpty (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSize_isValid (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSize_width (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSize_height (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSize_setWidth (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSize_setHeight (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSize_transpose (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSize_scale__III (JNIEnv *env, jobject, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSize_scale__Lorg_kde_qt_QSize_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSize_expandedTo (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSize_boundedTo (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jshort JNICALL Java_org_kde_qt_QSize_rwidth (JNIEnv *env, jobject); +extern JNIEXPORT jshort JNICALL Java_org_kde_qt_QSize_rheight (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSize_op_1plus_1assign (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSize_op_1minus_1assign (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSize_op_1mult_1assign__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSize_op_1mult_1assign__D (JNIEnv *env, jobject, jdouble); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSize_op_1div_1assign__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSize_op_1div_1assign__D (JNIEnv *env, jobject, jdouble); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSize_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSize_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSize_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QSize__ */ diff --git a/qtjava/javalib/qtjava/TQSizeGrip.cpp b/qtjava/javalib/qtjava/TQSizeGrip.cpp new file mode 100644 index 00000000..b764c7db --- /dev/null +++ b/qtjava/javalib/qtjava/TQSizeGrip.cpp @@ -0,0 +1,485 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQSizeGripJBridge : public TQSizeGrip +{ +public: + TQSizeGripJBridge(TQWidget* arg1,const char* arg2) : TQSizeGrip(arg1,arg2) {}; + TQSizeGripJBridge(TQWidget* arg1) : TQSizeGrip(arg1) {}; + void protected_paintEvent(TQPaintEvent* arg1) { + TQSizeGrip::paintEvent(arg1); + return; + } + void protected_mousePressEvent(TQMouseEvent* arg1) { + TQSizeGrip::mousePressEvent(arg1); + return; + } + void protected_mouseMoveEvent(TQMouseEvent* arg1) { + TQSizeGrip::mouseMoveEvent(arg1); + return; + } + bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { + return (bool) TQSizeGrip::eventFilter(arg1,arg2); + } + ~TQSizeGripJBridge() {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.qt.TQSizeGrip","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.qt.TQSizeGrip","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.qt.TQSizeGrip","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.qt.TQSizeGrip","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")) { + TQSizeGrip::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.qt.TQSizeGrip","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.qt.TQSizeGrip","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSizeGrip","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.qt.TQSizeGrip","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSizeGrip","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")) { + TQSizeGrip::mousePressEvent(arg1); + } + return; + } + void mouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQSizeGrip::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.qt.TQSizeGrip","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.qt.TQSizeGrip","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSizeGrip_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQSizeGrip*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSizeGrip_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QSizeGrip_finalize(env, obj); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSizeGrip_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) +{ + jboolean xret = (jboolean) ((TQSizeGripJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSizeGrip_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQSizeGrip*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQSizeGrip*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSizeGrip_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSizeGrip_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSizeGrip*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSizeGrip_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQSizeGripJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSizeGrip_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQSizeGripJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSizeGrip_newTQSizeGrip__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSizeGripJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSizeGrip_newTQSizeGrip__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 TQSizeGripJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSizeGrip_paintEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQSizeGripJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSizeGrip_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQSizeGrip*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSizeGrip_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQSizeGripJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSizeGrip_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQSizeGripJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQSizeGrip.h b/qtjava/javalib/qtjava/TQSizeGrip.h new file mode 100644 index 00000000..c7325b6b --- /dev/null +++ b/qtjava/javalib/qtjava/TQSizeGrip.h @@ -0,0 +1,32 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QSizeGrip__ +#define __org_kde_qt_QSizeGrip__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSizeGrip_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSizeGrip_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizeGrip_newTQSizeGrip__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizeGrip_newTQSizeGrip__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSizeGrip_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSizeGrip_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSizeGrip_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizeGrip_paintEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizeGrip_mousePressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizeGrip_mouseMoveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSizeGrip_eventFilter (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizeGrip_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizeGrip_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSizeGrip_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QSizeGrip__ */ diff --git a/qtjava/javalib/qtjava/TQSizePolicy.cpp b/qtjava/javalib/qtjava/TQSizePolicy.cpp new file mode 100644 index 00000000..d2b491a9 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSizePolicy.cpp @@ -0,0 +1,216 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + +class TQSizePolicyJBridge : public TQSizePolicy +{ +public: + TQSizePolicyJBridge() : TQSizePolicy() {}; + TQSizePolicyJBridge(TQSizePolicy::SizeType arg1,TQSizePolicy::SizeType arg2,bool arg3) : TQSizePolicy(arg1,arg2,arg3) {}; + TQSizePolicyJBridge(TQSizePolicy::SizeType arg1,TQSizePolicy::SizeType arg2) : TQSizePolicy(arg1,arg2) {}; + TQSizePolicyJBridge(TQSizePolicy::SizeType arg1,TQSizePolicy::SizeType arg2,uchar arg3,uchar arg4,bool arg5) : TQSizePolicy(arg1,arg2,arg3,arg4,arg5) {}; + TQSizePolicyJBridge(TQSizePolicy::SizeType arg1,TQSizePolicy::SizeType arg2,uchar arg3,uchar arg4) : TQSizePolicy(arg1,arg2,arg3,arg4) {}; + ~TQSizePolicyJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSizePolicy_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QSizePolicy_finalize(env, obj); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSizePolicy_expanding(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSizePolicy*) QtSupport::getQt(env, obj))->expanding(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSizePolicy_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQSizePolicy*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSizePolicy_hasHeightForWidth(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSizePolicy*) QtSupport::getQt(env, obj))->hasHeightForWidth(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSizePolicy_horData(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSizePolicy*) QtSupport::getQt(env, obj))->horData(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSizePolicy_horStretch(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSizePolicy*) QtSupport::getQt(env, obj))->horStretch(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSizePolicy_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSizePolicy_mayGrowHorizontally(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSizePolicy*) QtSupport::getQt(env, obj))->mayGrowHorizontally(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSizePolicy_mayGrowVertically(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSizePolicy*) QtSupport::getQt(env, obj))->mayGrowVertically(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSizePolicy_mayShrinkHorizontally(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSizePolicy*) QtSupport::getQt(env, obj))->mayShrinkHorizontally(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSizePolicy_mayShrinkVertically(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSizePolicy*) QtSupport::getQt(env, obj))->mayShrinkVertically(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSizePolicy_newTQSizePolicy__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSizePolicyJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSizePolicy_newTQSizePolicy__II(JNIEnv* env, jobject obj, jint hor, jint ver) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSizePolicyJBridge((TQSizePolicy::SizeType) hor, (TQSizePolicy::SizeType) ver)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSizePolicy_newTQSizePolicy__IISS(JNIEnv* env, jobject obj, jint hor, jint ver, jshort hors, jshort vers) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSizePolicyJBridge((TQSizePolicy::SizeType) hor, (TQSizePolicy::SizeType) ver, (uchar) hors, (uchar) vers)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSizePolicy_newTQSizePolicy__IISSZ(JNIEnv* env, jobject obj, jint hor, jint ver, jshort hors, jshort vers, jboolean hfw) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSizePolicyJBridge((TQSizePolicy::SizeType) hor, (TQSizePolicy::SizeType) ver, (uchar) hors, (uchar) vers, (bool) hfw)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSizePolicy_newTQSizePolicy__IIZ(JNIEnv* env, jobject obj, jint hor, jint ver, jboolean hfw) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSizePolicyJBridge((TQSizePolicy::SizeType) hor, (TQSizePolicy::SizeType) ver, (bool) hfw)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSizePolicy_op_1equals(JNIEnv* env, jobject obj, jobject s) +{ + jboolean xret = (jboolean) ((TQSizePolicy*) QtSupport::getQt(env, obj))->operator==((const TQSizePolicy&)*(const TQSizePolicy*) QtSupport::getQt(env, s)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSizePolicy_op_1not_1equals(JNIEnv* env, jobject obj, jobject s) +{ + jboolean xret = (jboolean) ((TQSizePolicy*) QtSupport::getQt(env, obj))->operator!=((const TQSizePolicy&)*(const TQSizePolicy*) QtSupport::getQt(env, s)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSizePolicy_setHeightForWidth(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQSizePolicy*) QtSupport::getQt(env, obj))->setHeightForWidth((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSizePolicy_setHorData(JNIEnv* env, jobject obj, jint d) +{ + ((TQSizePolicy*) QtSupport::getQt(env, obj))->setHorData((TQSizePolicy::SizeType) d); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSizePolicy_setHorStretch(JNIEnv* env, jobject obj, jshort sf) +{ + ((TQSizePolicy*) QtSupport::getQt(env, obj))->setHorStretch((uchar) sf); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSizePolicy_setVerData(JNIEnv* env, jobject obj, jint d) +{ + ((TQSizePolicy*) QtSupport::getQt(env, obj))->setVerData((TQSizePolicy::SizeType) d); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSizePolicy_setVerStretch(JNIEnv* env, jobject obj, jshort sf) +{ + ((TQSizePolicy*) QtSupport::getQt(env, obj))->setVerStretch((uchar) sf); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSizePolicy_transpose(JNIEnv* env, jobject obj) +{ + ((TQSizePolicy*) QtSupport::getQt(env, obj))->transpose(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSizePolicy_verData(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSizePolicy*) QtSupport::getQt(env, obj))->verData(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSizePolicy_verStretch(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSizePolicy*) QtSupport::getQt(env, obj))->verStretch(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQSizePolicy.h b/qtjava/javalib/qtjava/TQSizePolicy.h new file mode 100644 index 00000000..07e346e5 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSizePolicy.h @@ -0,0 +1,44 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QSizePolicy__ +#define __org_kde_qt_QSizePolicy__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizePolicy_newTQSizePolicy__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizePolicy_newTQSizePolicy__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizePolicy_newTQSizePolicy__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizePolicy_newTQSizePolicy__IISSZ (JNIEnv *env, jobject, jint, jint, jshort, jshort, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizePolicy_newTQSizePolicy__IISS (JNIEnv *env, jobject, jint, jint, jshort, jshort); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSizePolicy_horData (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSizePolicy_verData (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSizePolicy_mayShrinkHorizontally (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSizePolicy_mayShrinkVertically (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSizePolicy_mayGrowHorizontally (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSizePolicy_mayGrowVertically (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSizePolicy_expanding (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizePolicy_setHorData (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizePolicy_setVerData (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizePolicy_setHeightForWidth (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSizePolicy_hasHeightForWidth (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSizePolicy_op_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSizePolicy_op_1not_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSizePolicy_horStretch (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSizePolicy_verStretch (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizePolicy_setHorStretch (JNIEnv *env, jobject, jshort); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizePolicy_setVerStretch (JNIEnv *env, jobject, jshort); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizePolicy_transpose (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizePolicy_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizePolicy_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSizePolicy_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QSizePolicy__ */ diff --git a/qtjava/javalib/qtjava/TQSjisCodec.cpp b/qtjava/javalib/qtjava/TQSjisCodec.cpp new file mode 100644 index 00000000..5443d2f0 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSjisCodec.cpp @@ -0,0 +1,114 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQSjisCodecJBridge : public TQSjisCodec +{ +public: + TQSjisCodecJBridge() : TQSjisCodec() {}; + ~TQSjisCodecJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSjisCodec_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QSjisCodec_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSjisCodec_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQSjisCodec*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSjisCodec_fromUnicode(JNIEnv* env, jobject obj, jstring uc, jintArray lenInOut) +{ + TQCString _qstring; +static TQString* _qstring_uc = 0; + int* _int_lenInOut = QtSupport::toIntPtr(env, lenInOut); + _qstring = ((TQSjisCodec*) QtSupport::getQt(env, obj))->fromUnicode((const TQString&)*(TQString*) QtSupport::toTQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); + env->SetIntArrayRegion(lenInOut, 0, 1, (jint *) _int_lenInOut); + return QtSupport::fromTQCString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSjisCodec_heuristicContentMatch(JNIEnv* env, jobject obj, jstring chars, jint len) +{ +static TQCString* _qstring_chars = 0; + jint xret = (jint) ((TQSjisCodec*) QtSupport::getQt(env, obj))->heuristicContentMatch((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSjisCodec_heuristicNameMatch(JNIEnv* env, jobject obj, jstring hint) +{ +static TQCString* _qstring_hint = 0; + jint xret = (jint) ((TQSjisCodec*) QtSupport::getQt(env, obj))->heuristicNameMatch((const char*) QtSupport::toCharString(env, hint, &_qstring_hint)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSjisCodec_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSjisCodec_makeDecoder(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSjisCodec*) QtSupport::getQt(env, obj))->makeDecoder(), "org.kde.qt.TQTextDecoder"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSjisCodec_mibEnum(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSjisCodec*) QtSupport::getQt(env, obj))->mibEnum(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSjisCodec_mimeName(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQSjisCodec*) QtSupport::getQt(env, obj))->mimeName(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSjisCodec_name(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQSjisCodec*) QtSupport::getQt(env, obj))->name(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSjisCodec_newTQSjisCodec(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSjisCodecJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSjisCodec_toUnicode(JNIEnv* env, jobject obj, jstring chars, jint len) +{ + TQString _qstring; +static TQCString* _qstring_chars = 0; + _qstring = ((TQSjisCodec*) QtSupport::getQt(env, obj))->toUnicode((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQSjisCodec.h b/qtjava/javalib/qtjava/TQSjisCodec.h new file mode 100644 index 00000000..660086c9 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSjisCodec.h @@ -0,0 +1,30 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QSjisCodec__ +#define __org_kde_qt_QSjisCodec__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSjisCodec_mibEnum (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSjisCodec_name (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSjisCodec_mimeName (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSjisCodec_makeDecoder (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSjisCodec_fromUnicode (JNIEnv *env, jobject, jstring, jintArray); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSjisCodec_toUnicode (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSjisCodec_heuristicContentMatch (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSjisCodec_heuristicNameMatch (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSjisCodec_newTQSjisCodec (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSjisCodec_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSjisCodec_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSjisCodec_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QSjisCodec__ */ diff --git a/qtjava/javalib/qtjava/TQSlider.cpp b/qtjava/javalib/qtjava/TQSlider.cpp new file mode 100644 index 00000000..f96f435e --- /dev/null +++ b/qtjava/javalib/qtjava/TQSlider.cpp @@ -0,0 +1,936 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQSliderJBridge : public TQSlider +{ +public: + TQSliderJBridge(TQWidget* arg1,const char* arg2) : TQSlider(arg1,arg2) {}; + TQSliderJBridge(TQWidget* arg1) : TQSlider(arg1) {}; + TQSliderJBridge(TQt::Orientation arg1,TQWidget* arg2,const char* arg3) : TQSlider(arg1,arg2,arg3) {}; + TQSliderJBridge(TQt::Orientation arg1,TQWidget* arg2) : TQSlider(arg1,arg2) {}; + TQSliderJBridge(int arg1,int arg2,int arg3,int arg4,TQt::Orientation arg5,TQWidget* arg6,const char* arg7) : TQSlider(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TQSliderJBridge(int arg1,int arg2,int arg3,int arg4,TQt::Orientation arg5,TQWidget* arg6) : TQSlider(arg1,arg2,arg3,arg4,arg5,arg6) {}; + void protected_resizeEvent(TQResizeEvent* arg1) { + TQSlider::resizeEvent(arg1); + return; + } + void protected_paintEvent(TQPaintEvent* arg1) { + TQSlider::paintEvent(arg1); + return; + } + void protected_keyPressEvent(TQKeyEvent* arg1) { + TQSlider::keyPressEvent(arg1); + return; + } + void protected_mousePressEvent(TQMouseEvent* arg1) { + TQSlider::mousePressEvent(arg1); + return; + } + void protected_mouseReleaseEvent(TQMouseEvent* arg1) { + TQSlider::mouseReleaseEvent(arg1); + return; + } + void protected_mouseMoveEvent(TQMouseEvent* arg1) { + TQSlider::mouseMoveEvent(arg1); + return; + } + void protected_wheelEvent(TQWheelEvent* arg1) { + TQSlider::wheelEvent(arg1); + return; + } + void protected_focusInEvent(TQFocusEvent* arg1) { + TQSlider::focusInEvent(arg1); + return; + } + void protected_focusOutEvent(TQFocusEvent* arg1) { + TQSlider::focusOutEvent(arg1); + return; + } + void protected_styleChange(TQStyle& arg1) { + TQSlider::styleChange(arg1); + return; + } + void protected_valueChange() { + TQSlider::valueChange(); + return; + } + void protected_rangeChange() { + TQSlider::rangeChange(); + return; + } + ~TQSliderJBridge() {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_stepChange() { + TQRangeControl::stepChange(); + 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")) { + TQSlider::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.qt.TQSlider","stepChange")) { + TQRangeControl::stepChange(); + } + return; + } + void setActiveWindow() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSlider","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.qt.TQSlider","show")) { + TQWidget::show(); + } + return; + } + void focusOutEvent(TQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { + TQSlider::focusOutEvent(arg1); + } + return; + } + void setFocus() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSlider","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.qt.TQSlider","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")) { + TQSlider::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 paintEvent(TQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { + TQSlider::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.qt.TQSlider","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.qt.TQSlider","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSlider","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")) { + TQSlider::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")) { + TQSlider::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.qt.TQSlider","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSlider","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")) { + TQSlider::mousePressEvent(arg1); + } + return; + } + void mouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQSlider::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.qt.TQSlider","adjustSize")) { + TQWidget::adjustSize(); + } + return; + } + void wheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQSlider::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")) { + TQSlider::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.qt.TQSlider",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.qt.TQSlider","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_addLine(JNIEnv* env, jobject obj) +{ + ((TQSlider*) QtSupport::getQt(env, obj))->addLine(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_addPage(JNIEnv* env, jobject obj) +{ + ((TQRangeControl*)(TQSlider*) QtSupport::getQt(env, obj))->addPage(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_addStep(JNIEnv* env, jobject obj) +{ + ((TQSlider*) QtSupport::getQt(env, obj))->addStep(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSlider_bound(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQRangeControl*)(TQSlider*) QtSupport::getQt(env, obj))->bound((int) arg1); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSlider_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQSlider*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_directSetValue(JNIEnv* env, jobject obj, jint val) +{ + ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_directSetValue((int) val); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QSlider_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQSlider*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQSlider*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_focusInEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_focusOutEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSlider_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSlider_lineStep(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSlider*) QtSupport::getQt(env, obj))->lineStep(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSlider_maxValue(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSlider*) QtSupport::getQt(env, obj))->maxValue(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSlider_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSlider*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSlider_minValue(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSlider*) QtSupport::getQt(env, obj))->minValue(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSlider_minimumSizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQSlider*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_newTQSlider__IIIIILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint minValue, jint maxValue, jint pageStep, jint value, jint arg5, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSliderJBridge((int) minValue, (int) maxValue, (int) pageStep, (int) value, (TQt::Orientation) arg5, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_newTQSlider__IIIIILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint minValue, jint maxValue, jint pageStep, jint value, jint arg5, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSliderJBridge((int) minValue, (int) maxValue, (int) pageStep, (int) value, (TQt::Orientation) arg5, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_newTQSlider__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint arg1, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSliderJBridge((TQt::Orientation) arg1, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_newTQSlider__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint arg1, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSliderJBridge((TQt::Orientation) arg1, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_newTQSlider__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSliderJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_newTQSlider__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 TQSliderJBridge((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_qt_QSlider_orientation(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSlider*) QtSupport::getQt(env, obj))->orientation(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSlider_pageStep(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSlider*) QtSupport::getQt(env, obj))->pageStep(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_paintEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSlider_positionFromValue(JNIEnv* env, jobject obj, jint val, jint space) +{ + jint xret = (jint) ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_positionFromValue((int) val, (int) space); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSlider_prevValue(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_prevValue(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_rangeChange(JNIEnv* env, jobject obj) +{ + ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_rangeChange(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_setLineStep(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQSlider*) QtSupport::getQt(env, obj))->setLineStep((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_setMaxValue(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQSlider*) QtSupport::getQt(env, obj))->setMaxValue((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_setMinValue(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQSlider*) QtSupport::getQt(env, obj))->setMinValue((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_setOrientation(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQSlider*) QtSupport::getQt(env, obj))->setOrientation((TQt::Orientation) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_setPageStep(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQSlider*) QtSupport::getQt(env, obj))->setPageStep((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_setPalette(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQSlider*) QtSupport::getQt(env, obj))->setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_setRange(JNIEnv* env, jobject obj, jint minValue, jint maxValue) +{ + ((TQRangeControl*)(TQSlider*) QtSupport::getQt(env, obj))->setRange((int) minValue, (int) maxValue); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_setSizePolicy__II(JNIEnv* env, jobject obj, jint hor, jint ver) +{ + ((TQSlider*) QtSupport::getQt(env, obj))->setSizePolicy((TQSizePolicy::SizeType) hor, (TQSizePolicy::SizeType) ver); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_setSizePolicy__IIZ(JNIEnv* env, jobject obj, jint hor, jint ver, jboolean hfw) +{ + ((TQSlider*) QtSupport::getQt(env, obj))->setSizePolicy((TQSizePolicy::SizeType) hor, (TQSizePolicy::SizeType) ver, (bool) hfw); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_setSizePolicy__Lorg_kde_qt_QSizePolicy_2(JNIEnv* env, jobject obj, jobject sp) +{ + ((TQSlider*) QtSupport::getQt(env, obj))->setSizePolicy((TQSizePolicy)*(TQSizePolicy*) QtSupport::getQt(env, sp)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_setSteps(JNIEnv* env, jobject obj, jint line, jint page) +{ + ((TQRangeControl*)(TQSlider*) QtSupport::getQt(env, obj))->setSteps((int) line, (int) page); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_setTickInterval(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQSlider*) QtSupport::getQt(env, obj))->setTickInterval((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_setTickmarks(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQSlider*) QtSupport::getQt(env, obj))->setTickmarks((TQSlider::TickSetting) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_setTracking(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TQSlider*) QtSupport::getQt(env, obj))->setTracking((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_setValue(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQSlider*) QtSupport::getQt(env, obj))->setValue((int) arg1); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSlider_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQSlider*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSlider_sizePolicy(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSizePolicy(((TQSlider*) QtSupport::getQt(env, obj))->sizePolicy()), "org.kde.qt.TQSizePolicy", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSlider_sliderRect(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQSlider*) QtSupport::getQt(env, obj))->sliderRect()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSlider_sliderStart(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSlider*) QtSupport::getQt(env, obj))->sliderStart(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_stepChange(JNIEnv* env, jobject obj) +{ + ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_stepChange(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_styleChange(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_subtractLine(JNIEnv* env, jobject obj) +{ + ((TQSlider*) QtSupport::getQt(env, obj))->subtractLine(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_subtractPage(JNIEnv* env, jobject obj) +{ + ((TQRangeControl*)(TQSlider*) QtSupport::getQt(env, obj))->subtractPage(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_subtractStep(JNIEnv* env, jobject obj) +{ + ((TQSlider*) QtSupport::getQt(env, obj))->subtractStep(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSlider_tickInterval(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSlider*) QtSupport::getQt(env, obj))->tickInterval(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSlider_tickmarks(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSlider*) QtSupport::getQt(env, obj))->tickmarks(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSlider_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQSliderJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSlider_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQSliderJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSlider_tracking(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSlider*) QtSupport::getQt(env, obj))->tracking(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_valueChange(JNIEnv* env, jobject obj) +{ + ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_valueChange(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSlider_valueFromPosition(JNIEnv* env, jobject obj, jint pos, jint space) +{ + jint xret = (jint) ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_valueFromPosition((int) pos, (int) space); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSlider_value(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSlider*) QtSupport::getQt(env, obj))->value(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSlider_wheelEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); + return; +} + diff --git a/qtjava/javalib/qtjava/TQSlider.h b/qtjava/javalib/qtjava/TQSlider.h new file mode 100644 index 00000000..193a0060 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSlider.h @@ -0,0 +1,84 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QSlider__ +#define __org_kde_qt_QSlider__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSlider_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSlider_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_newTQSlider__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_newTQSlider__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_newTQSlider__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_newTQSlider__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_newTQSlider__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_qt_QSlider_newTQSlider__IIIIILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_setOrientation (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSlider_orientation (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_setTracking (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSlider_tracking (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_setPalette (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSlider_sliderStart (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSlider_sliderRect (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSlider_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_setSizePolicy__Lorg_kde_qt_QSizePolicy_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_setSizePolicy__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_setSizePolicy__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSlider_sizePolicy (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSlider_minimumSizeHint (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_setTickmarks (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSlider_tickmarks (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_setTickInterval (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSlider_tickInterval (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSlider_minValue (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSlider_maxValue (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_setMinValue (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_setMaxValue (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSlider_lineStep (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSlider_pageStep (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_setLineStep (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_setPageStep (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSlider_value (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_setValue (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_addStep (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_subtractStep (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_addLine (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_subtractLine (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSlider_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSlider_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_paintEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_keyPressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_mousePressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_mouseReleaseEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_mouseMoveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_wheelEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_focusInEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_focusOutEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_styleChange (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_valueChange (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_rangeChange (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSlider_isDisposed (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_addPage (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_subtractPage (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_setRange (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_setSteps (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSlider_bound (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSlider_positionFromValue (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSlider_valueFromPosition (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_directSetValue (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSlider_prevValue (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_stepChange (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QSlider__ */ diff --git a/qtjava/javalib/qtjava/TQSocket.cpp b/qtjava/javalib/qtjava/TQSocket.cpp new file mode 100644 index 00000000..49b505bb --- /dev/null +++ b/qtjava/javalib/qtjava/TQSocket.cpp @@ -0,0 +1,631 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQSocketJBridge : public TQSocket +{ +public: + TQSocketJBridge(TQObject* arg1,const char* arg2) : TQSocket(arg1,arg2) {}; + TQSocketJBridge(TQObject* arg1) : TQSocket(arg1) {}; + TQSocketJBridge() : TQSocket() {}; + void protected_sn_read(bool arg1) { + TQSocket::sn_read(arg1); + return; + } + void protected_sn_read() { + TQSocket::sn_read(); + return; + } + void protected_sn_write() { + TQSocket::sn_write(); + return; + } + ~TQSocketJBridge() {QtSupport::qtKeyDeleted(this);} + void protected_setFlags(int arg1) { + TQIODevice::setFlags(arg1); + return; + } + void protected_setType(int arg1) { + TQIODevice::setType(arg1); + return; + } + void protected_setMode(int arg1) { + TQIODevice::setMode(arg1); + return; + } + void protected_setState(int arg1) { + TQIODevice::setState(arg1); + return; + } + void protected_setStatus(int arg1) { + TQIODevice::setStatus(arg1); + return; + } + void setSocketDevice(TQSocketDevice* arg1) { + if (!QtSupport::eventDelegate(this,"setSocketDevice",(void*)arg1,"org.kde.qt.TQSocketDevice")) { + TQSocket::setSocketDevice(arg1); + } + return; + } + void removeChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::removeChild(arg1); + } + return; + } + void sn_write() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSocket","sn_write")) { + TQSocket::sn_write(); + } + 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.qt.TQSocket",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSocket_address(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQHostAddress(((TQSocket*) QtSupport::getQt(env, obj))->address()), "org.kde.qt.TQHostAddress", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSocket_atEnd(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSocket*) QtSupport::getQt(env, obj))->atEnd(); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QSocket_at__(JNIEnv* env, jobject obj) +{ + jlong xret = (jlong) ((TQSocket*) QtSupport::getQt(env, obj))->at(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSocket_at__J(JNIEnv* env, jobject obj, jlong arg1) +{ + jboolean xret = (jboolean) ((TQSocket*) QtSupport::getQt(env, obj))->at((TQIODevice::Offset) arg1); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QSocket_bytesAvailable(JNIEnv* env, jobject obj) +{ + jlong xret = (jlong) ((TQSocket*) QtSupport::getQt(env, obj))->bytesAvailable(); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QSocket_bytesToWrite(JNIEnv* env, jobject obj) +{ + jlong xret = (jlong) ((TQSocket*) QtSupport::getQt(env, obj))->bytesToWrite(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSocket_canReadLine(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSocket*) QtSupport::getQt(env, obj))->canReadLine(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSocket_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQSocket*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocket_clearPendingData(JNIEnv* env, jobject obj) +{ + ((TQSocket*) QtSupport::getQt(env, obj))->clearPendingData(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocket_close(JNIEnv* env, jobject obj) +{ + ((TQSocket*) QtSupport::getQt(env, obj))->close(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocket_connectToHost(JNIEnv* env, jobject obj, jstring host, jshort port) +{ +static TQString* _qstring_host = 0; + ((TQSocket*) QtSupport::getQt(env, obj))->connectToHost((const TQString&)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host), (Q_UINT16) port); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocket_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QSocket_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocket_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQSocket*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQSocket*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSocket_flags(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->flags(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocket_flush(JNIEnv* env, jobject obj) +{ + ((TQSocket*) QtSupport::getQt(env, obj))->flush(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSocket_getch(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSocket*) QtSupport::getQt(env, obj))->getch(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSocket_isAsynchronous(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isAsynchronous(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSocket_isBuffered(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isBuffered(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSocket_isCombinedAccess(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isCombinedAccess(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSocket_isDirectAccess(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isDirectAccess(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSocket_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSocket_isInactive(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isInactive(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSocket_isOpen(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isOpen(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSocket_isRaw(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isRaw(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSocket_isReadWrite(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isReadWrite(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSocket_isReadable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isReadable(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSocket_isSequentialAccess(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isSequentialAccess(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSocket_isSynchronous(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isSynchronous(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSocket_isTranslated(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isTranslated(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSocket_isWritable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isWritable(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSocket_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSocket*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSocket_mode(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->mode(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocket_newTQSocket__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSocketJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocket_newTQSocket__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSocketJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocket_newTQSocket__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 TQSocketJBridge((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_qt_QSocket_open(JNIEnv* env, jobject obj, jint mode) +{ + jboolean xret = (jboolean) ((TQSocket*) QtSupport::getQt(env, obj))->open((int) mode); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSocket_peerAddress(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQHostAddress(((TQSocket*) QtSupport::getQt(env, obj))->peerAddress()), "org.kde.qt.TQHostAddress", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSocket_peerName(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQSocket*) QtSupport::getQt(env, obj))->peerName(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jshort JNICALL +Java_org_kde_qt_QSocket_peerPort(JNIEnv* env, jobject obj) +{ + jshort xret = (jshort) ((TQSocket*) QtSupport::getQt(env, obj))->peerPort(); + return xret; +} + +JNIEXPORT jshort JNICALL +Java_org_kde_qt_QSocket_port(JNIEnv* env, jobject obj) +{ + jshort xret = (jshort) ((TQSocket*) QtSupport::getQt(env, obj))->port(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSocket_putch(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQSocket*) QtSupport::getQt(env, obj))->putch((int) arg1); + return xret; +} + +JNIEXPORT jbyteArray JNICALL +Java_org_kde_qt_QSocket_readAll(JNIEnv* env, jobject obj) +{ + TQByteArray _qbyteArray; + _qbyteArray = ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->readAll(); + return QtSupport::fromTQByteArray(env, &_qbyteArray); +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QSocket_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) ((TQSocket*) QtSupport::getQt(env, obj))->readBlock((char*) _qstring_data->data(), (Q_ULONG) maxlen); + QtSupport::fromTQCStringToStringBuffer(env, _qstring_data, data); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QSocket_readBufferSize(JNIEnv* env, jobject obj) +{ + jlong xret = (jlong) ((TQSocket*) QtSupport::getQt(env, obj))->readBufferSize(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSocket_readLine__(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQSocket*) QtSupport::getQt(env, obj))->readLine(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QSocket_readLine__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring data, jlong maxlen) +{ +static TQCString* _qstring_data = 0; + jlong xret = (jlong) ((TQSocket*) QtSupport::getQt(env, obj))->readLine((char*) QtSupport::toCharString(env, data, &_qstring_data), (Q_ULONG) maxlen); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocket_resetStatus(JNIEnv* env, jobject obj) +{ + ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->resetStatus(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSocket_reset(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->reset(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocket_setFlags(JNIEnv* env, jobject obj, jint f) +{ + ((TQSocketJBridge*) QtSupport::getQt(env, obj))->protected_setFlags((int) f); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocket_setMode(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQSocketJBridge*) QtSupport::getQt(env, obj))->protected_setMode((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocket_setReadBufferSize(JNIEnv* env, jobject obj, jlong arg1) +{ + ((TQSocket*) QtSupport::getQt(env, obj))->setReadBufferSize((Q_ULONG) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocket_setSocketDevice(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQSocket*) QtSupport::getQt(env, obj))->setSocketDevice((TQSocketDevice*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocket_setSocket(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQSocket*) QtSupport::getQt(env, obj))->setSocket((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocket_setState(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQSocketJBridge*) QtSupport::getQt(env, obj))->protected_setState((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocket_setStatus(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQSocketJBridge*) QtSupport::getQt(env, obj))->protected_setStatus((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocket_setType(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQSocketJBridge*) QtSupport::getQt(env, obj))->protected_setType((int) arg1); + return; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QSocket_size(JNIEnv* env, jobject obj) +{ + jlong xret = (jlong) ((TQSocket*) QtSupport::getQt(env, obj))->size(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocket_sn_1read__(JNIEnv* env, jobject obj) +{ + ((TQSocketJBridge*) QtSupport::getQt(env, obj))->protected_sn_read(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocket_sn_1read__Z(JNIEnv* env, jobject obj, jboolean force) +{ + ((TQSocketJBridge*) QtSupport::getQt(env, obj))->protected_sn_read((bool) force); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocket_sn_1write(JNIEnv* env, jobject obj) +{ + ((TQSocketJBridge*) QtSupport::getQt(env, obj))->protected_sn_write(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSocket_socketDevice(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSocket*) QtSupport::getQt(env, obj))->socketDevice(), "org.kde.qt.TQSocketDevice"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSocket_socket(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSocket*) QtSupport::getQt(env, obj))->socket(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSocket_state(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSocket*) QtSupport::getQt(env, obj))->state(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSocket_status(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->status(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSocket_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQSocketJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSocket_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQSocketJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSocket_ungetch(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQSocket*) QtSupport::getQt(env, obj))->ungetch((int) arg1); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QSocket_waitForMore__I(JNIEnv* env, jobject obj, jint msecs) +{ + jlong xret = (jlong) ((TQSocket*) QtSupport::getQt(env, obj))->waitForMore((int) msecs); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QSocket_waitForMore__I_3Z(JNIEnv* env, jobject obj, jint msecs, jbooleanArray timeout) +{ + bool* _bool_timeout = QtSupport::toBooleanPtr(env, timeout); + jlong xret = (jlong) ((TQSocket*) QtSupport::getQt(env, obj))->waitForMore((int) msecs, (bool*) _bool_timeout); + env->SetBooleanArrayRegion(timeout, 0, 1, (jboolean*) _bool_timeout); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QSocket_writeBlock__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring data, jlong len) +{ +static TQCString* _qstring_data = 0; + jlong xret = (jlong) ((TQSocket*) QtSupport::getQt(env, obj))->writeBlock((const char*) QtSupport::toCharString(env, data, &_qstring_data), (Q_ULONG) len); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QSocket_writeBlock___3B(JNIEnv* env, jobject obj, jbyteArray data) +{ +static TQByteArray* _qbyteArray_data = 0; + jlong xret = (jlong) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->writeBlock((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQSocket.h b/qtjava/javalib/qtjava/TQSocket.h new file mode 100644 index 00000000..d7cbad9f --- /dev/null +++ b/qtjava/javalib/qtjava/TQSocket.h @@ -0,0 +1,89 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QSocket__ +#define __org_kde_qt_QSocket__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSocket_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSocket_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_newTQSocket__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_newTQSocket__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_newTQSocket__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocket_state (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocket_socket (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_setSocket (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSocket_socketDevice (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_setSocketDevice (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_connectToHost (JNIEnv *env, jobject, jstring, jshort); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSocket_peerName (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_open (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_close (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_flush (JNIEnv *env, jobject); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocket_size (JNIEnv *env, jobject); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocket_at__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_at__J (JNIEnv *env, jobject, jlong); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_atEnd (JNIEnv *env, jobject); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocket_bytesAvailable (JNIEnv *env, jobject); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocket_waitForMore__I_3Z (JNIEnv *env, jobject, jint, jbooleanArray); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocket_waitForMore__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocket_bytesToWrite (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_clearPendingData (JNIEnv *env, jobject); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocket_readBlock (JNIEnv *env, jobject, jobject, jlong); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocket_writeBlock__Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jlong); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocket_readLine__Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jlong); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocket_getch (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocket_putch (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocket_ungetch (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_canReadLine (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSocket_readLine__ (JNIEnv *env, jobject); +extern JNIEXPORT jshort JNICALL Java_org_kde_qt_QSocket_port (JNIEnv *env, jobject); +extern JNIEXPORT jshort JNICALL Java_org_kde_qt_QSocket_peerPort (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSocket_address (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSocket_peerAddress (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_setReadBufferSize (JNIEnv *env, jobject, jlong); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocket_readBufferSize (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSocket_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSocket_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_sn_1read__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_sn_1read__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_sn_1write (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_isDisposed (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocket_flags (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocket_mode (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_isDirectAccess (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_isSequentialAccess (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_isCombinedAccess (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_isBuffered (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_isRaw (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_isSynchronous (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_isAsynchronous (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_isTranslated (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_isReadable (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_isWritable (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_isReadWrite (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_isInactive (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_isOpen (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocket_status (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_resetStatus (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_reset (JNIEnv *env, jobject); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocket_writeBlock___3B (JNIEnv *env, jobject, jbyteArray); +extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QSocket_readAll (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_setFlags (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_setType (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_setMode (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_setState (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_setStatus (JNIEnv *env, jobject, jint); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QSocket__ */ diff --git a/qtjava/javalib/qtjava/TQSocketDevice.cpp b/qtjava/javalib/qtjava/TQSocketDevice.cpp new file mode 100644 index 00000000..72fc9c25 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSocketDevice.cpp @@ -0,0 +1,367 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +class TQSocketDeviceJBridge : public TQSocketDevice +{ +public: + TQSocketDeviceJBridge(TQSocketDevice::Type arg1) : TQSocketDevice(arg1) {}; + TQSocketDeviceJBridge() : TQSocketDevice() {}; + TQSocketDeviceJBridge(TQSocketDevice::Type arg1,TQSocketDevice::Protocol arg2,int arg3) : TQSocketDevice(arg1,arg2,arg3) {}; + TQSocketDeviceJBridge(int arg1,TQSocketDevice::Type arg2) : TQSocketDevice(arg1,arg2) {}; + void protected_setError(TQSocketDevice::Error arg1) { + TQSocketDevice::setError(arg1); + return; + } + ~TQSocketDeviceJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSocketDevice_accept(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSocketDevice*) QtSupport::getQt(env, obj))->accept(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSocketDevice_addressReusable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSocketDevice*) QtSupport::getQt(env, obj))->addressReusable(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSocketDevice_address(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQHostAddress(((TQSocketDevice*) QtSupport::getQt(env, obj))->address()), "org.kde.qt.TQHostAddress", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSocketDevice_atEnd(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSocketDevice*) QtSupport::getQt(env, obj))->atEnd(); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QSocketDevice_at__(JNIEnv* env, jobject obj) +{ + jlong xret = (jlong) ((TQSocketDevice*) QtSupport::getQt(env, obj))->at(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSocketDevice_at__J(JNIEnv* env, jobject obj, jlong arg1) +{ + jboolean xret = (jboolean) ((TQSocketDevice*) QtSupport::getQt(env, obj))->at((TQIODevice::Offset) arg1); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSocketDevice_bind(JNIEnv* env, jobject obj, jobject arg1, jshort arg2) +{ + jboolean xret = (jboolean) ((TQSocketDevice*) QtSupport::getQt(env, obj))->bind((const TQHostAddress&)*(const TQHostAddress*) QtSupport::getQt(env, arg1), (Q_UINT16) arg2); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSocketDevice_blocking(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSocketDevice*) QtSupport::getQt(env, obj))->blocking(); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QSocketDevice_bytesAvailable(JNIEnv* env, jobject obj) +{ + jlong xret = (jlong) ((TQSocketDevice*) QtSupport::getQt(env, obj))->bytesAvailable(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocketDevice_close(JNIEnv* env, jobject obj) +{ + ((TQSocketDevice*) QtSupport::getQt(env, obj))->close(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSocketDevice_connect(JNIEnv* env, jobject obj, jobject arg1, jshort arg2) +{ + jboolean xret = (jboolean) ((TQSocketDevice*) QtSupport::getQt(env, obj))->connect((const TQHostAddress&)*(const TQHostAddress*) QtSupport::getQt(env, arg1), (Q_UINT16) arg2); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocketDevice_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QSocketDevice_finalize(env, obj); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSocketDevice_error(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSocketDevice*) QtSupport::getQt(env, obj))->error(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocketDevice_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQSocketDevice*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocketDevice_flush(JNIEnv* env, jobject obj) +{ + ((TQSocketDevice*) QtSupport::getQt(env, obj))->flush(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSocketDevice_getch(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSocketDevice*) QtSupport::getQt(env, obj))->getch(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSocketDevice_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSocketDevice_isValid(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSocketDevice*) QtSupport::getQt(env, obj))->isValid(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSocketDevice_listen(JNIEnv* env, jobject obj, jint backlog) +{ + jboolean xret = (jboolean) ((TQSocketDevice*) QtSupport::getQt(env, obj))->listen((int) backlog); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocketDevice_newTQSocketDevice__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSocketDeviceJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocketDevice_newTQSocketDevice__I(JNIEnv* env, jobject obj, jint type) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSocketDeviceJBridge((TQSocketDevice::Type) type)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocketDevice_newTQSocketDevice__II(JNIEnv* env, jobject obj, jint socket, jint type) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSocketDeviceJBridge((int) socket, (TQSocketDevice::Type) type)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocketDevice_newTQSocketDevice__III(JNIEnv* env, jobject obj, jint type, jint protocol, jint dummy) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSocketDeviceJBridge((TQSocketDevice::Type) type, (TQSocketDevice::Protocol) protocol, (int) dummy)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSocketDevice_open(JNIEnv* env, jobject obj, jint mode) +{ + jboolean xret = (jboolean) ((TQSocketDevice*) QtSupport::getQt(env, obj))->open((int) mode); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSocketDevice_peerAddress(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQHostAddress(((TQSocketDevice*) QtSupport::getQt(env, obj))->peerAddress()), "org.kde.qt.TQHostAddress", TRUE); + return xret; +} + +JNIEXPORT jshort JNICALL +Java_org_kde_qt_QSocketDevice_peerPort(JNIEnv* env, jobject obj) +{ + jshort xret = (jshort) ((TQSocketDevice*) QtSupport::getQt(env, obj))->peerPort(); + return xret; +} + +JNIEXPORT jshort JNICALL +Java_org_kde_qt_QSocketDevice_port(JNIEnv* env, jobject obj) +{ + jshort xret = (jshort) ((TQSocketDevice*) QtSupport::getQt(env, obj))->port(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSocketDevice_protocol(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSocketDevice*) QtSupport::getQt(env, obj))->protocol(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSocketDevice_putch(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQSocketDevice*) QtSupport::getQt(env, obj))->putch((int) arg1); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QSocketDevice_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) ((TQSocketDevice*) QtSupport::getQt(env, obj))->readBlock((char*) _qstring_data->data(), (Q_ULONG) maxlen); + QtSupport::fromTQCStringToStringBuffer(env, _qstring_data, data); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSocketDevice_receiveBufferSize(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSocketDevice*) QtSupport::getQt(env, obj))->receiveBufferSize(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSocketDevice_sendBufferSize(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSocketDevice*) QtSupport::getQt(env, obj))->sendBufferSize(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocketDevice_setAddressReusable(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQSocketDevice*) QtSupport::getQt(env, obj))->setAddressReusable((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocketDevice_setBlocking(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQSocketDevice*) QtSupport::getQt(env, obj))->setBlocking((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocketDevice_setError(JNIEnv* env, jobject obj, jint err) +{ + ((TQSocketDeviceJBridge*) QtSupport::getQt(env, obj))->protected_setError((TQSocketDevice::Error) err); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocketDevice_setReceiveBufferSize(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQSocketDevice*) QtSupport::getQt(env, obj))->setReceiveBufferSize((uint) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocketDevice_setSendBufferSize(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQSocketDevice*) QtSupport::getQt(env, obj))->setSendBufferSize((uint) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocketDevice_setSocket(JNIEnv* env, jobject obj, jint socket, jint type) +{ + ((TQSocketDevice*) QtSupport::getQt(env, obj))->setSocket((int) socket, (TQSocketDevice::Type) type); + return; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QSocketDevice_size(JNIEnv* env, jobject obj) +{ + jlong xret = (jlong) ((TQSocketDevice*) QtSupport::getQt(env, obj))->size(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSocketDevice_socket(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSocketDevice*) QtSupport::getQt(env, obj))->socket(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSocketDevice_type(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSocketDevice*) QtSupport::getQt(env, obj))->type(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSocketDevice_ungetch(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQSocketDevice*) QtSupport::getQt(env, obj))->ungetch((int) arg1); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QSocketDevice_waitForMore__I(JNIEnv* env, jobject obj, jint msecs) +{ + jlong xret = (jlong) ((TQSocketDevice*) QtSupport::getQt(env, obj))->waitForMore((int) msecs); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QSocketDevice_waitForMore__I_3Z(JNIEnv* env, jobject obj, jint msecs, jbooleanArray timeout) +{ + bool* _bool_timeout = QtSupport::toBooleanPtr(env, timeout); + jlong xret = (jlong) ((TQSocketDevice*) QtSupport::getQt(env, obj))->waitForMore((int) msecs, (bool*) _bool_timeout); + env->SetBooleanArrayRegion(timeout, 0, 1, (jboolean*) _bool_timeout); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QSocketDevice_writeBlock__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring data, jlong len) +{ +static TQCString* _qstring_data = 0; + jlong xret = (jlong) ((TQSocketDevice*) QtSupport::getQt(env, obj))->writeBlock((const char*) QtSupport::toCharString(env, data, &_qstring_data), (Q_ULONG) len); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QSocketDevice_writeBlock__Ljava_lang_String_2JLorg_kde_qt_QHostAddress_2S(JNIEnv* env, jobject obj, jstring data, jlong len, jobject host, jshort port) +{ +static TQCString* _qstring_data = 0; + jlong xret = (jlong) ((TQSocketDevice*) QtSupport::getQt(env, obj))->writeBlock((const char*) QtSupport::toCharString(env, data, &_qstring_data), (Q_ULONG) len, (const TQHostAddress&)*(const TQHostAddress*) QtSupport::getQt(env, host), (Q_UINT16) port); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQSocketDevice.h b/qtjava/javalib/qtjava/TQSocketDevice.h new file mode 100644 index 00000000..2c95ddb4 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSocketDevice.h @@ -0,0 +1,64 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QSocketDevice__ +#define __org_kde_qt_QSocketDevice__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketDevice_newTQSocketDevice__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketDevice_newTQSocketDevice__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketDevice_newTQSocketDevice__III (JNIEnv *env, jobject, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketDevice_newTQSocketDevice__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocketDevice_isValid (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocketDevice_type (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocketDevice_protocol (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocketDevice_socket (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketDevice_setSocket (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocketDevice_open (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketDevice_close (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketDevice_flush (JNIEnv *env, jobject); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocketDevice_size (JNIEnv *env, jobject); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocketDevice_at__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocketDevice_at__J (JNIEnv *env, jobject, jlong); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocketDevice_atEnd (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocketDevice_blocking (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketDevice_setBlocking (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocketDevice_addressReusable (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketDevice_setAddressReusable (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocketDevice_receiveBufferSize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketDevice_setReceiveBufferSize (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocketDevice_sendBufferSize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketDevice_setSendBufferSize (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocketDevice_connect (JNIEnv *env, jobject, jobject, jshort); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocketDevice_bind (JNIEnv *env, jobject, jobject, jshort); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocketDevice_listen (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocketDevice_accept (JNIEnv *env, jobject); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocketDevice_bytesAvailable (JNIEnv *env, jobject); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocketDevice_waitForMore__I_3Z (JNIEnv *env, jobject, jint, jbooleanArray); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocketDevice_waitForMore__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocketDevice_readBlock (JNIEnv *env, jobject, jobject, jlong); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocketDevice_writeBlock__Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jlong); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QSocketDevice_writeBlock__Ljava_lang_String_2JLorg_kde_qt_QHostAddress_2S (JNIEnv *env, jobject, jstring, jlong, jobject, jshort); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocketDevice_getch (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocketDevice_putch (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocketDevice_ungetch (JNIEnv *env, jobject, jint); +extern JNIEXPORT jshort JNICALL Java_org_kde_qt_QSocketDevice_port (JNIEnv *env, jobject); +extern JNIEXPORT jshort JNICALL Java_org_kde_qt_QSocketDevice_peerPort (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSocketDevice_address (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSocketDevice_peerAddress (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocketDevice_error (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketDevice_setError (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketDevice_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketDevice_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocketDevice_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QSocketDevice__ */ diff --git a/qtjava/javalib/qtjava/TQSocketNotifier.cpp b/qtjava/javalib/qtjava/TQSocketNotifier.cpp new file mode 100644 index 00000000..d0d67a9c --- /dev/null +++ b/qtjava/javalib/qtjava/TQSocketNotifier.cpp @@ -0,0 +1,181 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQSocketNotifierJBridge : public TQSocketNotifier +{ +public: + TQSocketNotifierJBridge(int arg1,TQSocketNotifier::Type arg2,TQObject* arg3,const char* arg4) : TQSocketNotifier(arg1,arg2,arg3,arg4) {}; + TQSocketNotifierJBridge(int arg1,TQSocketNotifier::Type arg2,TQObject* arg3) : TQSocketNotifier(arg1,arg2,arg3) {}; + TQSocketNotifierJBridge(int arg1,TQSocketNotifier::Type arg2) : TQSocketNotifier(arg1,arg2) {}; + bool protected_event(TQEvent* arg1) { + return (bool) TQSocketNotifier::event(arg1); + } + ~TQSocketNotifierJBridge() {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.qt.TQSocketNotifier",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSocketNotifier_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQSocketNotifier*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocketNotifier_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QSocketNotifier_finalize(env, obj); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSocketNotifier_event(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQSocketNotifierJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocketNotifier_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQSocketNotifier*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQSocketNotifier*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSocketNotifier_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSocketNotifier_isEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSocketNotifier*) QtSupport::getQt(env, obj))->isEnabled(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSocketNotifier_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSocketNotifier*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocketNotifier_newTQSocketNotifier__II(JNIEnv* env, jobject obj, jint socket, jint arg2) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSocketNotifierJBridge((int) socket, (TQSocketNotifier::Type) arg2)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocketNotifier_newTQSocketNotifier__IILorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jint socket, jint arg2, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSocketNotifierJBridge((int) socket, (TQSocketNotifier::Type) arg2, (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSocketNotifier_newTQSocketNotifier__IILorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint socket, jint arg2, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSocketNotifierJBridge((int) socket, (TQSocketNotifier::Type) arg2, (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_qt_QSocketNotifier_setEnabled(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQSocketNotifier*) QtSupport::getQt(env, obj))->setEnabled((bool) arg1); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSocketNotifier_socket(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSocketNotifier*) QtSupport::getQt(env, obj))->socket(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSocketNotifier_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQSocketNotifierJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSocketNotifier_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQSocketNotifierJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSocketNotifier_type(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSocketNotifier*) QtSupport::getQt(env, obj))->type(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQSocketNotifier.h b/qtjava/javalib/qtjava/TQSocketNotifier.h new file mode 100644 index 00000000..88e592d2 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSocketNotifier.h @@ -0,0 +1,33 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QSocketNotifier__ +#define __org_kde_qt_QSocketNotifier__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSocketNotifier_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSocketNotifier_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketNotifier_newTQSocketNotifier__IILorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketNotifier_newTQSocketNotifier__IILorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jint, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketNotifier_newTQSocketNotifier__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocketNotifier_socket (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSocketNotifier_type (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocketNotifier_isEnabled (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketNotifier_setEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSocketNotifier_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSocketNotifier_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocketNotifier_event (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketNotifier_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketNotifier_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocketNotifier_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QSocketNotifier__ */ diff --git a/qtjava/javalib/qtjava/TQSound.cpp b/qtjava/javalib/qtjava/TQSound.cpp new file mode 100644 index 00000000..814464b3 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSound.cpp @@ -0,0 +1,223 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQSoundJBridge : public TQSound +{ +public: + TQSoundJBridge(const TQString& arg1,TQObject* arg2,const char* arg3) : TQSound(arg1,arg2,arg3) {}; + TQSoundJBridge(const TQString& arg1,TQObject* arg2) : TQSound(arg1,arg2) {}; + TQSoundJBridge(const TQString& arg1) : TQSound(arg1) {}; + ~TQSoundJBridge() {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.qt.TQSound",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSound_available(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jboolean xret = (jboolean) TQSoundJBridge::available(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSound_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQSound*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSound_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QSound_finalize(env, obj); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSound_fileName(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQSound*) QtSupport::getQt(env, obj))->fileName(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSound_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQSound*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQSound*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSound_isAvailable(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jboolean xret = (jboolean) TQSoundJBridge::isAvailable(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSound_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSound_isFinished(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSound*) QtSupport::getQt(env, obj))->isFinished(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSound_loopsRemaining(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSound*) QtSupport::getQt(env, obj))->loopsRemaining(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSound_loops(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSound*) QtSupport::getQt(env, obj))->loops(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSound_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSound*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSound_newTQSound__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 TQSoundJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSound_newTQSound__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 TQSoundJBridge((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_qt_QSound_newTQSound__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 TQSoundJBridge((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_qt_QSound_play__(JNIEnv* env, jobject obj) +{ + ((TQSound*) QtSupport::getQt(env, obj))->play(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSound_play__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filename) +{ + (void) cls; +static TQString* _qstring_filename = 0; + TQSoundJBridge::play((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSound_setLoops(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQSound*) QtSupport::getQt(env, obj))->setLoops((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSound_stop(JNIEnv* env, jobject obj) +{ + ((TQSound*) QtSupport::getQt(env, obj))->stop(); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSound_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQSoundJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSound_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQSoundJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQSound.h b/qtjava/javalib/qtjava/TQSound.h new file mode 100644 index 00000000..e9d608b1 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSound.h @@ -0,0 +1,38 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QSound__ +#define __org_kde_qt_QSound__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSound_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSound_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSound_newTQSound__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSound_newTQSound__Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSound_newTQSound__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSound_loops (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSound_loopsRemaining (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSound_setLoops (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSound_fileName (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSound_isFinished (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSound_play__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSound_stop (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSound_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSound_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSound_isAvailable (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSound_play__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSound_available (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSound_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSound_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSound_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QSound__ */ diff --git a/qtjava/javalib/qtjava/TQSpacerItem.cpp b/qtjava/javalib/qtjava/TQSpacerItem.cpp new file mode 100644 index 00000000..ec8ab0df --- /dev/null +++ b/qtjava/javalib/qtjava/TQSpacerItem.cpp @@ -0,0 +1,148 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +class TQSpacerItemJBridge : public TQSpacerItem +{ +public: + TQSpacerItemJBridge(int arg1,int arg2,TQSizePolicy::SizeType arg3,TQSizePolicy::SizeType arg4) : TQSpacerItem(arg1,arg2,arg3,arg4) {}; + TQSpacerItemJBridge(int arg1,int arg2,TQSizePolicy::SizeType arg3) : TQSpacerItem(arg1,arg2,arg3) {}; + TQSpacerItemJBridge(int arg1,int arg2) : TQSpacerItem(arg1,arg2) {}; + ~TQSpacerItemJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpacerItem_changeSize__II(JNIEnv* env, jobject obj, jint w, jint h) +{ + ((TQSpacerItem*) QtSupport::getQt(env, obj))->changeSize((int) w, (int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpacerItem_changeSize__III(JNIEnv* env, jobject obj, jint w, jint h, jint hData) +{ + ((TQSpacerItem*) QtSupport::getQt(env, obj))->changeSize((int) w, (int) h, (TQSizePolicy::SizeType) hData); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpacerItem_changeSize__IIII(JNIEnv* env, jobject obj, jint w, jint h, jint hData, jint vData) +{ + ((TQSpacerItem*) QtSupport::getQt(env, obj))->changeSize((int) w, (int) h, (TQSizePolicy::SizeType) hData, (TQSizePolicy::SizeType) vData); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpacerItem_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QSpacerItem_finalize(env, obj); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSpacerItem_expanding(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSpacerItem*) QtSupport::getQt(env, obj))->expanding(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpacerItem_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQLayoutItem*)(TQSpacerItem*)QtSupport::getQt(env, obj))->layout() == 0 && ((TQLayoutItem*)(TQSpacerItem*)QtSupport::getQt(env, obj))->widget() == 0 && ((TQLayoutItem*)(TQSpacerItem*)QtSupport::getQt(env, obj))->spacerItem() == 0) { + delete (TQSpacerItem*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSpacerItem_geometry(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQSpacerItem*) QtSupport::getQt(env, obj))->geometry()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSpacerItem_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSpacerItem_isEmpty(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSpacerItem*) QtSupport::getQt(env, obj))->isEmpty(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSpacerItem_maximumSize(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQSpacerItem*) QtSupport::getQt(env, obj))->maximumSize()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSpacerItem_minimumSize(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQSpacerItem*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpacerItem_newTQSpacerItem__II(JNIEnv* env, jobject obj, jint w, jint h) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSpacerItemJBridge((int) w, (int) h)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpacerItem_newTQSpacerItem__III(JNIEnv* env, jobject obj, jint w, jint h, jint hData) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSpacerItemJBridge((int) w, (int) h, (TQSizePolicy::SizeType) hData)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpacerItem_newTQSpacerItem__IIII(JNIEnv* env, jobject obj, jint w, jint h, jint hData, jint vData) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSpacerItemJBridge((int) w, (int) h, (TQSizePolicy::SizeType) hData, (TQSizePolicy::SizeType) vData)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpacerItem_setGeometry(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQSpacerItem*) QtSupport::getQt(env, obj))->setGeometry((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSpacerItem_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQSpacerItem*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSpacerItem_spacerItem(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSpacerItem*) QtSupport::getQt(env, obj))->spacerItem(), "org.kde.qt.TQSpacerItem"); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQSpacerItem.h b/qtjava/javalib/qtjava/TQSpacerItem.h new file mode 100644 index 00000000..cce9726e --- /dev/null +++ b/qtjava/javalib/qtjava/TQSpacerItem.h @@ -0,0 +1,35 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QSpacerItem__ +#define __org_kde_qt_QSpacerItem__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpacerItem_newTQSpacerItem__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpacerItem_newTQSpacerItem__III (JNIEnv *env, jobject, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpacerItem_newTQSpacerItem__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpacerItem_changeSize__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpacerItem_changeSize__III (JNIEnv *env, jobject, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpacerItem_changeSize__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSpacerItem_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSpacerItem_minimumSize (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSpacerItem_maximumSize (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSpacerItem_expanding (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSpacerItem_isEmpty (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpacerItem_setGeometry (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSpacerItem_geometry (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSpacerItem_spacerItem (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpacerItem_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpacerItem_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSpacerItem_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QSpacerItem__ */ diff --git a/qtjava/javalib/qtjava/TQSpinBox.cpp b/qtjava/javalib/qtjava/TQSpinBox.cpp new file mode 100644 index 00000000..537024eb --- /dev/null +++ b/qtjava/javalib/qtjava/TQSpinBox.cpp @@ -0,0 +1,1033 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQSpinBoxJBridge : public TQSpinBox +{ +public: + TQSpinBoxJBridge(TQWidget* arg1,const char* arg2) : TQSpinBox(arg1,arg2) {}; + TQSpinBoxJBridge(TQWidget* arg1) : TQSpinBox(arg1) {}; + TQSpinBoxJBridge() : TQSpinBox() {}; + TQSpinBoxJBridge(int arg1,int arg2,int arg3,TQWidget* arg4,const char* arg5) : TQSpinBox(arg1,arg2,arg3,arg4,arg5) {}; + TQSpinBoxJBridge(int arg1,int arg2,int arg3,TQWidget* arg4) : TQSpinBox(arg1,arg2,arg3,arg4) {}; + TQSpinBoxJBridge(int arg1,int arg2,int arg3) : TQSpinBox(arg1,arg2,arg3) {}; + TQSpinBoxJBridge(int arg1,int arg2) : TQSpinBox(arg1,arg2) {}; + void public_stepUp() { + TQSpinBox::stepUp(); + return; + } + void public_stepDown() { + TQSpinBox::stepDown(); + return; + } + void public_selectAll() { + TQSpinBox::selectAll(); + return; + } + TQString protected_mapValueToText(int arg1) { + return (TQString) TQSpinBox::mapValueToText(arg1); + } + int protected_mapTextToValue(bool* arg1) { + return (int) TQSpinBox::mapTextToValue(arg1); + } + TQString protected_currentValueText() { + return (TQString) TQSpinBox::currentValueText(); + } + void protected_updateDisplay() { + TQSpinBox::updateDisplay(); + return; + } + void protected_interpretText() { + TQSpinBox::interpretText(); + return; + } + TQLineEdit* protected_editor() { + return (TQLineEdit*) TQSpinBox::editor(); + } + void protected_valueChange() { + TQSpinBox::valueChange(); + return; + } + void protected_rangeChange() { + TQSpinBox::rangeChange(); + return; + } + bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { + return (bool) TQSpinBox::eventFilter(arg1,arg2); + } + void protected_resizeEvent(TQResizeEvent* arg1) { + TQSpinBox::resizeEvent(arg1); + return; + } + void protected_wheelEvent(TQWheelEvent* arg1) { + TQSpinBox::wheelEvent(arg1); + return; + } + void protected_leaveEvent(TQEvent* arg1) { + TQSpinBox::leaveEvent(arg1); + return; + } + void protected_styleChange(TQStyle& arg1) { + TQSpinBox::styleChange(arg1); + return; + } + void protected_textChanged() { + TQSpinBox::textChanged(); + return; + } + ~TQSpinBoxJBridge() {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_stepChange() { + TQRangeControl::stepChange(); + 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 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.qt.TQSpinBox","selectAll")) { + TQSpinBox::selectAll(); + } + return; + } + void interpretText() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinBox","interpretText")) { + TQSpinBox::interpretText(); + } + return; + } + void stepChange() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinBox","stepChange")) { + TQRangeControl::stepChange(); + } + return; + } + void setActiveWindow() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinBox","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.qt.TQSpinBox","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.qt.TQSpinBox","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.qt.TQSpinBox","valueChange")) { + TQSpinBox::valueChange(); + } + return; + } + void hide() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinBox","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.qt.TQSpinBox","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.qt.TQSpinBox","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.qt.TQSpinBox","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.qt.TQSpinBox","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinBox","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.qt.TQSpinBox","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinBox","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.qt.TQSpinBox","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.qt.TQSpinBox","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.qt.TQSpinBox","stepUp")) { + TQSpinBox::stepUp(); + } + return; + } + void showMinimized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinBox","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_addLine(JNIEnv* env, jobject obj) +{ + ((TQRangeControl*)(TQSpinBox*) QtSupport::getQt(env, obj))->addLine(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_addPage(JNIEnv* env, jobject obj) +{ + ((TQRangeControl*)(TQSpinBox*) QtSupport::getQt(env, obj))->addPage(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSpinBox_bound(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQRangeControl*)(TQSpinBox*) QtSupport::getQt(env, obj))->bound((int) arg1); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSpinBox_buttonSymbols(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSpinBox*) QtSupport::getQt(env, obj))->buttonSymbols(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSpinBox_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQSpinBox*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSpinBox_cleanText(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQSpinBox*) QtSupport::getQt(env, obj))->cleanText(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSpinBox_currentValueText(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_currentValueText(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_directSetValue(JNIEnv* env, jobject obj, jint val) +{ + ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_directSetValue((int) val); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QSpinBox_finalize(env, obj); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSpinBox_downRect(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQSpinBox*) QtSupport::getQt(env, obj))->downRect()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSpinBox_editor(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_editor(), "org.kde.qt.TQLineEdit"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSpinBox_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject ev) +{ + jboolean xret = (jboolean) ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, ev)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQSpinBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQSpinBox*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_interpretText(JNIEnv* env, jobject obj) +{ + ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_interpretText(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSpinBox_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_leaveEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSpinBox_lineStep(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSpinBox*) QtSupport::getQt(env, obj))->lineStep(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSpinBox_mapTextToValue(JNIEnv* env, jobject obj, jbooleanArray ok) +{ + bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); + jint xret = (jint) ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_mapTextToValue( (bool*) _bool_ok); + env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSpinBox_mapValueToText(JNIEnv* env, jobject obj, jint value) +{ + TQString _qstring; + _qstring = ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_mapValueToText((int) value); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSpinBox_maxValue(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSpinBox*) QtSupport::getQt(env, obj))->maxValue(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSpinBox_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSpinBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSpinBox_minValue(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSpinBox*) QtSupport::getQt(env, obj))->minValue(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSpinBox_minimumSizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQSpinBox*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_newTQSpinBox__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSpinBoxJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_newTQSpinBox__II(JNIEnv* env, jobject obj, jint minValue, jint maxValue) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSpinBoxJBridge((int) minValue, (int) maxValue)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_newTQSpinBox__III(JNIEnv* env, jobject obj, jint minValue, jint maxValue, jint step) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSpinBoxJBridge((int) minValue, (int) maxValue, (int) step)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_newTQSpinBox__IIILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint minValue, jint maxValue, jint step, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSpinBoxJBridge((int) minValue, (int) maxValue, (int) step, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_newTQSpinBox__IIILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint minValue, jint maxValue, jint step, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSpinBoxJBridge((int) minValue, (int) maxValue, (int) step, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_newTQSpinBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSpinBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_newTQSpinBox__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 TQSpinBoxJBridge((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_qt_QSpinBox_pageStep(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQRangeControl*)(TQSpinBox*) QtSupport::getQt(env, obj))->pageStep(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSpinBox_positionFromValue(JNIEnv* env, jobject obj, jint val, jint space) +{ + jint xret = (jint) ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_positionFromValue((int) val, (int) space); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSpinBox_prefix(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQSpinBox*) QtSupport::getQt(env, obj))->prefix(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSpinBox_prevValue(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_prevValue(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_rangeChange(JNIEnv* env, jobject obj) +{ + ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_rangeChange(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_resizeEvent(JNIEnv* env, jobject obj, jobject ev) +{ + ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, ev)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_selectAll(JNIEnv* env, jobject obj) +{ + ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->public_selectAll(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_setButtonSymbols(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQSpinBox*) QtSupport::getQt(env, obj))->setButtonSymbols((TQSpinBox::ButtonSymbols) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_setEnabled(JNIEnv* env, jobject obj, jboolean enabled) +{ + ((TQSpinBox*) QtSupport::getQt(env, obj))->setEnabled((bool) enabled); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_setLineStep(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQSpinBox*) QtSupport::getQt(env, obj))->setLineStep((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_setMaxValue(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQSpinBox*) QtSupport::getQt(env, obj))->setMaxValue((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_setMinValue(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQSpinBox*) QtSupport::getQt(env, obj))->setMinValue((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_setPrefix(JNIEnv* env, jobject obj, jstring text) +{ +static TQString* _qstring_text = 0; + ((TQSpinBox*) QtSupport::getQt(env, obj))->setPrefix((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_setRange(JNIEnv* env, jobject obj, jint minValue, jint maxValue) +{ + ((TQRangeControl*)(TQSpinBox*) QtSupport::getQt(env, obj))->setRange((int) minValue, (int) maxValue); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_setSpecialValueText(JNIEnv* env, jobject obj, jstring text) +{ +static TQString* _qstring_text = 0; + ((TQSpinBox*) QtSupport::getQt(env, obj))->setSpecialValueText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_setSteps(JNIEnv* env, jobject obj, jint line, jint page) +{ + ((TQRangeControl*)(TQSpinBox*) QtSupport::getQt(env, obj))->setSteps((int) line, (int) page); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_setSuffix(JNIEnv* env, jobject obj, jstring text) +{ +static TQString* _qstring_text = 0; + ((TQSpinBox*) QtSupport::getQt(env, obj))->setSuffix((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_setValidator(JNIEnv* env, jobject obj, jobject v) +{ + ((TQSpinBox*) QtSupport::getQt(env, obj))->setValidator((const TQValidator*) QtSupport::getQt(env, v)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_setValue(JNIEnv* env, jobject obj, jint value) +{ + ((TQSpinBox*) QtSupport::getQt(env, obj))->setValue((int) value); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_setWrapping(JNIEnv* env, jobject obj, jboolean on) +{ + ((TQSpinBox*) QtSupport::getQt(env, obj))->setWrapping((bool) on); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSpinBox_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQSpinBox*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSpinBox_specialValueText(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQSpinBox*) QtSupport::getQt(env, obj))->specialValueText(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_stepChange(JNIEnv* env, jobject obj) +{ + ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_stepChange(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_stepDown(JNIEnv* env, jobject obj) +{ + ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->public_stepDown(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_stepUp(JNIEnv* env, jobject obj) +{ + ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->public_stepUp(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_styleChange(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_subtractLine(JNIEnv* env, jobject obj) +{ + ((TQRangeControl*)(TQSpinBox*) QtSupport::getQt(env, obj))->subtractLine(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_subtractPage(JNIEnv* env, jobject obj) +{ + ((TQRangeControl*)(TQSpinBox*) QtSupport::getQt(env, obj))->subtractPage(); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSpinBox_suffix(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQSpinBox*) QtSupport::getQt(env, obj))->suffix(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_textChanged(JNIEnv* env, jobject obj) +{ + ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_textChanged(); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSpinBox_text(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQSpinBox*) QtSupport::getQt(env, obj))->text(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSpinBox_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQSpinBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSpinBox_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQSpinBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSpinBox_upRect(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQSpinBox*) QtSupport::getQt(env, obj))->upRect()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_updateDisplay(JNIEnv* env, jobject obj) +{ + ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_updateDisplay(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSpinBox_validator(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSpinBox*) QtSupport::getQt(env, obj))->validator(), "org.kde.qt.TQValidator"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_valueChange(JNIEnv* env, jobject obj) +{ + ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_valueChange(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSpinBox_valueFromPosition(JNIEnv* env, jobject obj, jint pos, jint space) +{ + jint xret = (jint) ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_valueFromPosition((int) pos, (int) space); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSpinBox_value(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSpinBox*) QtSupport::getQt(env, obj))->value(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinBox_wheelEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSpinBox_wrapping(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSpinBox*) QtSupport::getQt(env, obj))->wrapping(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQSpinBox.h b/qtjava/javalib/qtjava/TQSpinBox.h new file mode 100644 index 00000000..d5e25ccd --- /dev/null +++ b/qtjava/javalib/qtjava/TQSpinBox.h @@ -0,0 +1,89 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QSpinBox__ +#define __org_kde_qt_QSpinBox__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSpinBox_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSpinBox_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_newTQSpinBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_newTQSpinBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_newTQSpinBox__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_newTQSpinBox__IIILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jint, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_newTQSpinBox__IIILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_newTQSpinBox__III (JNIEnv *env, jobject, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_newTQSpinBox__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSpinBox_text (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSpinBox_prefix (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSpinBox_suffix (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSpinBox_cleanText (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_setSpecialValueText (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSpinBox_specialValueText (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_setWrapping (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSpinBox_wrapping (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_setButtonSymbols (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSpinBox_buttonSymbols (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_setValidator (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSpinBox_validator (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSpinBox_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSpinBox_minimumSizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSpinBox_minValue (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSpinBox_maxValue (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_setMinValue (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_setMaxValue (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSpinBox_lineStep (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_setLineStep (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSpinBox_value (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSpinBox_upRect (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSpinBox_downRect (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_setValue (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_setPrefix (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_setSuffix (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_stepUp (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_stepDown (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_setEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_selectAll (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSpinBox_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSpinBox_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSpinBox_mapValueToText (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSpinBox_mapTextToValue (JNIEnv *env, jobject, jbooleanArray); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSpinBox_currentValueText (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_updateDisplay (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_interpretText (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSpinBox_editor (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_valueChange (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_rangeChange (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSpinBox_eventFilter (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_wheelEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_leaveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_styleChange (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_textChanged (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSpinBox_isDisposed (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_addPage (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_subtractPage (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_addLine (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_subtractLine (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_setRange (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSpinBox_pageStep (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_setSteps (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSpinBox_bound (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSpinBox_positionFromValue (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSpinBox_valueFromPosition (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_directSetValue (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSpinBox_prevValue (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_stepChange (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QSpinBox__ */ diff --git a/qtjava/javalib/qtjava/TQSpinWidget.cpp b/qtjava/javalib/qtjava/TQSpinWidget.cpp new file mode 100644 index 00000000..4f662b77 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSpinWidget.cpp @@ -0,0 +1,638 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +class TQSpinWidgetJBridge : public TQSpinWidget +{ +public: + TQSpinWidgetJBridge(TQWidget* arg1,const char* arg2) : TQSpinWidget(arg1,arg2) {}; + TQSpinWidgetJBridge(TQWidget* arg1) : TQSpinWidget(arg1) {}; + TQSpinWidgetJBridge() : TQSpinWidget() {}; + void protected_mousePressEvent(TQMouseEvent* arg1) { + TQSpinWidget::mousePressEvent(arg1); + return; + } + void protected_resizeEvent(TQResizeEvent* arg1) { + TQSpinWidget::resizeEvent(arg1); + return; + } + void protected_mouseReleaseEvent(TQMouseEvent* arg1) { + TQSpinWidget::mouseReleaseEvent(arg1); + return; + } + void protected_mouseMoveEvent(TQMouseEvent* arg1) { + TQSpinWidget::mouseMoveEvent(arg1); + return; + } + void protected_wheelEvent(TQWheelEvent* arg1) { + TQSpinWidget::wheelEvent(arg1); + return; + } + void protected_styleChange(TQStyle& arg1) { + TQSpinWidget::styleChange(arg1); + return; + } + void protected_paintEvent(TQPaintEvent* arg1) { + TQSpinWidget::paintEvent(arg1); + return; + } + void protected_enableChanged(bool arg1) { + TQSpinWidget::enableChanged(arg1); + return; + } + void protected_windowActivationChange(bool arg1) { + TQSpinWidget::windowActivationChange(arg1); + return; + } + ~TQSpinWidgetJBridge() {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")) { + TQSpinWidget::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.qt.TQSpinWidget","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.qt.TQSpinWidget","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.qt.TQSpinWidget","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.qt.TQSpinWidget","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")) { + TQSpinWidget::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.qt.TQSpinWidget","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.qt.TQSpinWidget","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinWidget","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")) { + TQSpinWidget::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.qt.TQSpinWidget","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinWidget","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")) { + TQSpinWidget::mousePressEvent(arg1); + } + return; + } + void mouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQSpinWidget::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.qt.TQSpinWidget","adjustSize")) { + TQWidget::adjustSize(); + } + return; + } + void wheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQSpinWidget::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.qt.TQSpinWidget",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.qt.TQSpinWidget","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinWidget_arrange(JNIEnv* env, jobject obj) +{ + ((TQSpinWidget*) QtSupport::getQt(env, obj))->arrange(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSpinWidget_buttonSymbols(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSpinWidget*) QtSupport::getQt(env, obj))->buttonSymbols(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSpinWidget_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQSpinWidget*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinWidget_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QSpinWidget_finalize(env, obj); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSpinWidget_downRect(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQSpinWidget*) QtSupport::getQt(env, obj))->downRect()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSpinWidget_editWidget(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSpinWidget*) QtSupport::getQt(env, obj))->editWidget(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinWidget_enableChanged(JNIEnv* env, jobject obj, jboolean old) +{ + ((TQSpinWidgetJBridge*) QtSupport::getQt(env, obj))->protected_enableChanged((bool) old); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinWidget_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQSpinWidget*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQSpinWidget*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSpinWidget_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSpinWidget_isDownEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSpinWidget*) QtSupport::getQt(env, obj))->isDownEnabled(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSpinWidget_isUpEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSpinWidget*) QtSupport::getQt(env, obj))->isUpEnabled(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSpinWidget_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSpinWidget*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinWidget_mouseMoveEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQSpinWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinWidget_mousePressEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQSpinWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinWidget_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQSpinWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinWidget_newTQSpinWidget__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSpinWidgetJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinWidget_newTQSpinWidget__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSpinWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinWidget_newTQSpinWidget__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 TQSpinWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinWidget_paintEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQSpinWidgetJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinWidget_resizeEvent(JNIEnv* env, jobject obj, jobject ev) +{ + ((TQSpinWidgetJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, ev)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinWidget_setButtonSymbols(JNIEnv* env, jobject obj, jint bs) +{ + ((TQSpinWidget*) QtSupport::getQt(env, obj))->setButtonSymbols((TQSpinWidget::ButtonSymbols) bs); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinWidget_setDownEnabled(JNIEnv* env, jobject obj, jboolean on) +{ + ((TQSpinWidget*) QtSupport::getQt(env, obj))->setDownEnabled((bool) on); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinWidget_setEditWidget(JNIEnv* env, jobject obj, jobject widget) +{ + ((TQSpinWidget*) QtSupport::getQt(env, obj))->setEditWidget((TQWidget*) QtSupport::getQt(env, widget)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinWidget_setUpEnabled(JNIEnv* env, jobject obj, jboolean on) +{ + ((TQSpinWidget*) QtSupport::getQt(env, obj))->setUpEnabled((bool) on); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinWidget_stepDown(JNIEnv* env, jobject obj) +{ + ((TQSpinWidget*) QtSupport::getQt(env, obj))->stepDown(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinWidget_stepUp(JNIEnv* env, jobject obj) +{ + ((TQSpinWidget*) QtSupport::getQt(env, obj))->stepUp(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinWidget_styleChange(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQSpinWidgetJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSpinWidget_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQSpinWidgetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSpinWidget_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQSpinWidgetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSpinWidget_upRect(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQSpinWidget*) QtSupport::getQt(env, obj))->upRect()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinWidget_wheelEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQSpinWidgetJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSpinWidget_windowActivationChange(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQSpinWidgetJBridge*) QtSupport::getQt(env, obj))->protected_windowActivationChange((bool) arg1); + return; +} + diff --git a/qtjava/javalib/qtjava/TQSpinWidget.h b/qtjava/javalib/qtjava/TQSpinWidget.h new file mode 100644 index 00000000..2f84c994 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSpinWidget.h @@ -0,0 +1,50 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QSpinWidget__ +#define __org_kde_qt_QSpinWidget__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSpinWidget_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSpinWidget_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_newTQSpinWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_newTQSpinWidget__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_newTQSpinWidget__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_setEditWidget (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSpinWidget_editWidget (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSpinWidget_upRect (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSpinWidget_downRect (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_setUpEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_setDownEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSpinWidget_isUpEnabled (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSpinWidget_isDownEnabled (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_setButtonSymbols (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSpinWidget_buttonSymbols (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_arrange (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_stepUp (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_stepDown (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSpinWidget_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSpinWidget_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_mousePressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_mouseReleaseEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_mouseMoveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_wheelEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_styleChange (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_paintEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_enableChanged (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_windowActivationChange (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSpinWidget_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QSpinWidget__ */ diff --git a/qtjava/javalib/qtjava/TQSplashScreen.cpp b/qtjava/javalib/qtjava/TQSplashScreen.cpp new file mode 100644 index 00000000..6368186a --- /dev/null +++ b/qtjava/javalib/qtjava/TQSplashScreen.cpp @@ -0,0 +1,535 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include + +#include +#include + +class TQSplashScreenJBridge : public TQSplashScreen +{ +public: + TQSplashScreenJBridge(const TQPixmap& arg1,TQt::WFlags arg2) : TQSplashScreen(arg1,arg2) {}; + TQSplashScreenJBridge(const TQPixmap& arg1) : TQSplashScreen(arg1) {}; + TQSplashScreenJBridge() : TQSplashScreen() {}; + void protected_drawContents(TQPainter* arg1) { + TQSplashScreen::drawContents(arg1); + return; + } + void protected_mousePressEvent(TQMouseEvent* arg1) { + TQSplashScreen::mousePressEvent(arg1); + return; + } + ~TQSplashScreenJBridge() {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.qt.TQSplashScreen","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.qt.TQSplashScreen","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.qt.TQSplashScreen","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.qt.TQSplashScreen","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.qt.TQSplashScreen","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.qt.TQSplashScreen","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSplashScreen","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.qt.TQSplashScreen","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSplashScreen","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")) { + TQSplashScreen::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.qt.TQSplashScreen","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.qt.TQSplashScreen",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.qt.TQSplashScreen","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSplashScreen_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQSplashScreen*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplashScreen_clear(JNIEnv* env, jobject obj) +{ + ((TQSplashScreen*) QtSupport::getQt(env, obj))->clear(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplashScreen_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QSplashScreen_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplashScreen_drawContents(JNIEnv* env, jobject obj, jobject painter) +{ + ((TQSplashScreenJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, painter)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplashScreen_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQSplashScreen*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQSplashScreen*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplashScreen_finish(JNIEnv* env, jobject obj, jobject w) +{ + ((TQSplashScreen*) QtSupport::getQt(env, obj))->finish((TQWidget*) QtSupport::getQt(env, w)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSplashScreen_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplashScreen_message__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring str) +{ +static TQString* _qstring_str = 0; + ((TQSplashScreen*) QtSupport::getQt(env, obj))->message((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplashScreen_message__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring str, jint flags) +{ +static TQString* _qstring_str = 0; + ((TQSplashScreen*) QtSupport::getQt(env, obj))->message((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) flags); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplashScreen_message__Ljava_lang_String_2ILorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jstring str, jint flags, jobject color) +{ +static TQString* _qstring_str = 0; + ((TQSplashScreen*) QtSupport::getQt(env, obj))->message((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) flags, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, color)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSplashScreen_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSplashScreen*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplashScreen_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQSplashScreenJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplashScreen_newTQSplashScreen__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSplashScreenJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplashScreen_newTQSplashScreen__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pixmap) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSplashScreenJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplashScreen_newTQSplashScreen__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint f) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSplashScreenJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQt::WFlags) f)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSplashScreen_pixmap(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSplashScreen*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TQPixmap"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplashScreen_repaint(JNIEnv* env, jobject obj) +{ + ((TQSplashScreen*) QtSupport::getQt(env, obj))->repaint(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplashScreen_setPixmap(JNIEnv* env, jobject obj, jobject pixmap) +{ + ((TQSplashScreen*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSplashScreen_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQSplashScreenJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSplashScreen_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQSplashScreenJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQSplashScreen.h b/qtjava/javalib/qtjava/TQSplashScreen.h new file mode 100644 index 00000000..9ac015e7 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSplashScreen.h @@ -0,0 +1,38 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QSplashScreen__ +#define __org_kde_qt_QSplashScreen__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSplashScreen_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSplashScreen_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplashScreen_newTQSplashScreen__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplashScreen_newTQSplashScreen__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplashScreen_newTQSplashScreen__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplashScreen_setPixmap (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSplashScreen_pixmap (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplashScreen_finish (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplashScreen_repaint (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplashScreen_message__Ljava_lang_String_2ILorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jstring, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplashScreen_message__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplashScreen_message__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplashScreen_clear (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSplashScreen_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSplashScreen_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplashScreen_drawContents (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplashScreen_mousePressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplashScreen_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplashScreen_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSplashScreen_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QSplashScreen__ */ diff --git a/qtjava/javalib/qtjava/TQSplitter.cpp b/qtjava/javalib/qtjava/TQSplitter.cpp new file mode 100644 index 00000000..aa6443e3 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSplitter.cpp @@ -0,0 +1,751 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQSplitterJBridge : public TQSplitter +{ +public: + TQSplitterJBridge(TQWidget* arg1,const char* arg2) : TQSplitter(arg1,arg2) {}; + TQSplitterJBridge(TQWidget* arg1) : TQSplitter(arg1) {}; + TQSplitterJBridge() : TQSplitter() {}; + TQSplitterJBridge(TQt::Orientation arg1,TQWidget* arg2,const char* arg3) : TQSplitter(arg1,arg2,arg3) {}; + TQSplitterJBridge(TQt::Orientation arg1,TQWidget* arg2) : TQSplitter(arg1,arg2) {}; + TQSplitterJBridge(TQt::Orientation arg1) : TQSplitter(arg1) {}; + void public_setOpaqueResize() { + TQSplitter::setOpaqueResize(); + return; + } + void protected_childEvent(TQChildEvent* arg1) { + TQSplitter::childEvent(arg1); + return; + } + bool protected_event(TQEvent* arg1) { + return (bool) TQSplitter::event(arg1); + } + void protected_resizeEvent(TQResizeEvent* arg1) { + TQSplitter::resizeEvent(arg1); + return; + } + int protected_idAfter(TQWidget* arg1) { + return (int) TQSplitter::idAfter(arg1); + } + void protected_moveSplitter(TQCOORD arg1,int arg2) { + TQSplitter::moveSplitter(arg1,arg2); + return; + } + void protected_drawSplitter(TQPainter* arg1,TQCOORD arg2,TQCOORD arg3,TQCOORD arg4,TQCOORD arg5) { + TQSplitter::drawSplitter(arg1,arg2,arg3,arg4,arg5); + return; + } + void protected_styleChange(TQStyle& arg1) { + TQSplitter::styleChange(arg1); + return; + } + int protected_adjustPos(int arg1,int arg2) { + return (int) TQSplitter::adjustPos(arg1,arg2); + } + void protected_setRubberband(int arg1) { + TQSplitter::setRubberband(arg1); + return; + } + void protected_getRange(int arg1,int* arg2,int* arg3) { + TQSplitter::getRange(arg1,arg2,arg3); + return; + } + ~TQSplitterJBridge() {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")) { + 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 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.qt.TQSplitter","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.qt.TQSplitter","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.qt.TQSplitter","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.qt.TQSplitter","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.qt.TQSplitter","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.qt.TQSplitter","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSplitter","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")) { + TQSplitter::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.qt.TQSplitter","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSplitter","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.qt.TQSplitter","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.qt.TQSplitter",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.qt.TQSplitter","frameChanged")) { + TQFrame::frameChanged(); + } + return; + } + void showMinimized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSplitter","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSplitter_adjustPos(JNIEnv* env, jobject obj, jint arg1, jint arg2) +{ + jint xret = (jint) ((TQSplitterJBridge*) QtSupport::getQt(env, obj))->protected_adjustPos((int) arg1, (int) arg2); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplitter_childEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQSplitterJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TQChildEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSplitter_childrenCollapsible(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSplitter*) QtSupport::getQt(env, obj))->childrenCollapsible(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSplitter_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQSplitter*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplitter_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QSplitter_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplitter_drawSplitter(JNIEnv* env, jobject obj, jobject arg1, jint x, jint y, jint w, jint h) +{ + ((TQSplitterJBridge*) QtSupport::getQt(env, obj))->protected_drawSplitter((TQPainter*) QtSupport::getQt(env, arg1), (TQCOORD) x, (TQCOORD) y, (TQCOORD) w, (TQCOORD) h); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSplitter_event(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQSplitterJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplitter_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQSplitter*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQSplitter*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplitter_getRange(JNIEnv* env, jobject obj, jint id, jintArray arg2, jintArray arg3) +{ + int* _int_arg2 = QtSupport::toIntPtr(env, arg2); + int* _int_arg3 = QtSupport::toIntPtr(env, arg3); + ((TQSplitterJBridge*) QtSupport::getQt(env, obj))->protected_getRange((int) id, (int*) _int_arg2, (int*) _int_arg3); + env->SetIntArrayRegion(arg2, 0, 1, (jint *) _int_arg2); + env->SetIntArrayRegion(arg3, 0, 1, (jint *) _int_arg3); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSplitter_handleWidth(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSplitter*) QtSupport::getQt(env, obj))->handleWidth(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSplitter_idAfter(JNIEnv* env, jobject obj, jobject arg1) +{ + jint xret = (jint) ((TQSplitterJBridge*) QtSupport::getQt(env, obj))->protected_idAfter((TQWidget*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSplitter_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSplitter_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSplitter*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSplitter_minimumSizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQSplitter*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplitter_moveSplitter(JNIEnv* env, jobject obj, jint pos, jint id) +{ + ((TQSplitterJBridge*) QtSupport::getQt(env, obj))->protected_moveSplitter((TQCOORD) pos, (int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplitter_moveToFirst(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQSplitter*) QtSupport::getQt(env, obj))->moveToFirst((TQWidget*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplitter_moveToLast(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQSplitter*) QtSupport::getQt(env, obj))->moveToLast((TQWidget*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplitter_newTQSplitter__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSplitterJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplitter_newTQSplitter__I(JNIEnv* env, jobject obj, jint arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSplitterJBridge((TQt::Orientation) arg1)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplitter_newTQSplitter__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint arg1, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSplitterJBridge((TQt::Orientation) arg1, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplitter_newTQSplitter__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint arg1, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSplitterJBridge((TQt::Orientation) arg1, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplitter_newTQSplitter__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSplitterJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplitter_newTQSplitter__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 TQSplitterJBridge((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_qt_QSplitter_opaqueResize(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSplitter*) QtSupport::getQt(env, obj))->opaqueResize(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSplitter_orientation(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSplitter*) QtSupport::getQt(env, obj))->orientation(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplitter_refresh(JNIEnv* env, jobject obj) +{ + ((TQSplitter*) QtSupport::getQt(env, obj))->refresh(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplitter_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQSplitterJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplitter_setChildrenCollapsible(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQSplitter*) QtSupport::getQt(env, obj))->setChildrenCollapsible((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplitter_setCollapsible(JNIEnv* env, jobject obj, jobject w, jboolean arg2) +{ + ((TQSplitter*) QtSupport::getQt(env, obj))->setCollapsible((TQWidget*) QtSupport::getQt(env, w), (bool) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplitter_setHandleWidth(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQSplitter*) QtSupport::getQt(env, obj))->setHandleWidth((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplitter_setOpaqueResize__(JNIEnv* env, jobject obj) +{ + ((TQSplitterJBridge*) QtSupport::getQt(env, obj))->public_setOpaqueResize(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplitter_setOpaqueResize__Z(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQSplitter*) QtSupport::getQt(env, obj))->setOpaqueResize((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplitter_setOrientation(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQSplitter*) QtSupport::getQt(env, obj))->setOrientation((TQt::Orientation) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplitter_setResizeMode(JNIEnv* env, jobject obj, jobject w, jint arg2) +{ + ((TQSplitter*) QtSupport::getQt(env, obj))->setResizeMode((TQWidget*) QtSupport::getQt(env, w), (TQSplitter::ResizeMode) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplitter_setRubberband(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQSplitterJBridge*) QtSupport::getQt(env, obj))->protected_setRubberband((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplitter_setSizes(JNIEnv* env, jobject obj, jintArray arg1) +{ +static TQValueList* _qlist_arg1 = 0; + ((TQSplitter*) QtSupport::getQt(env, obj))->setSizes((TQValueList) QtSupport::toTQIntValueList(env, arg1, &_qlist_arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSplitter_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQSplitter*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jintArray JNICALL +Java_org_kde_qt_QSplitter_sizes(JNIEnv* env, jobject obj) +{ + TQValueList _qintArray; + _qintArray = ((TQSplitter*) QtSupport::getQt(env, obj))->sizes(); + return QtSupport::fromTQIntValueList(env, &_qintArray); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSplitter_styleChange(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQSplitterJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSplitter_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQSplitterJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSplitter_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQSplitterJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQSplitter.h b/qtjava/javalib/qtjava/TQSplitter.h new file mode 100644 index 00000000..cf31a7c7 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSplitter.h @@ -0,0 +1,59 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QSplitter__ +#define __org_kde_qt_QSplitter__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSplitter_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSplitter_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_newTQSplitter__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_newTQSplitter__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_newTQSplitter__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_newTQSplitter__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_newTQSplitter__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_newTQSplitter__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_setOrientation (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSplitter_orientation (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_setChildrenCollapsible (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSplitter_childrenCollapsible (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_setCollapsible (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_setResizeMode (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_setOpaqueResize__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_setOpaqueResize__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSplitter_opaqueResize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_moveToFirst (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_moveToLast (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_refresh (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSplitter_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSplitter_minimumSizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jintArray JNICALL Java_org_kde_qt_QSplitter_sizes (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_setSizes (JNIEnv *env, jobject, jintArray); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSplitter_handleWidth (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_setHandleWidth (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSplitter_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSplitter_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_childEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSplitter_event (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSplitter_idAfter (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_moveSplitter (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_drawSplitter (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_styleChange (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSplitter_adjustPos (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_setRubberband (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_getRange (JNIEnv *env, jobject, jint, jintArray, jintArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSplitter_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QSplitter__ */ diff --git a/qtjava/javalib/qtjava/TQSql.cpp b/qtjava/javalib/qtjava/TQSql.cpp new file mode 100644 index 00000000..38c5eba9 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSql.cpp @@ -0,0 +1,46 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + +class TQSqlJBridge : public TQSql +{ +public: + TQSqlJBridge() : TQSql() {}; + ~TQSqlJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSql_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QSql_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSql_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQSql*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSql_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSql_newTQSql(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + diff --git a/qtjava/javalib/qtjava/TQSql.h b/qtjava/javalib/qtjava/TQSql.h new file mode 100644 index 00000000..c03c0fd6 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSql.h @@ -0,0 +1,22 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QSql__ +#define __org_kde_qt_QSql__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSql_newTQSql (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSql_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSql_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSql_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QSql__ */ diff --git a/qtjava/javalib/qtjava/TQSqlCursor.cpp b/qtjava/javalib/qtjava/TQSqlCursor.cpp new file mode 100644 index 00000000..2772895c --- /dev/null +++ b/qtjava/javalib/qtjava/TQSqlCursor.cpp @@ -0,0 +1,833 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQSqlCursorJBridge : public TQSqlCursor +{ +public: + TQSqlCursorJBridge(const TQString& arg1,bool arg2,TQSqlDatabase* arg3) : TQSqlCursor(arg1,arg2,arg3) {}; + TQSqlCursorJBridge(const TQString& arg1,bool arg2) : TQSqlCursor(arg1,arg2) {}; + TQSqlCursorJBridge(const TQString& arg1) : TQSqlCursor(arg1) {}; + TQSqlCursorJBridge() : TQSqlCursor() {}; + TQSqlCursorJBridge(const TQSqlCursor& arg1) : TQSqlCursor(arg1) {}; + void protected_afterSeek() { + TQSqlCursor::afterSeek(); + return; + } + bool protected_exec(const TQString& arg1) { + return (bool) TQSqlCursor::exec(arg1); + } + TQVariant protected_calculateField(const TQString& arg1) { + return (TQVariant) TQSqlCursor::calculateField(arg1); + } + int protected_update(const TQString& arg1,bool arg2) { + return (int) TQSqlCursor::update(arg1,arg2); + } + int protected_update(const TQString& arg1) { + return (int) TQSqlCursor::update(arg1); + } + int protected_del(const TQString& arg1,bool arg2) { + return (int) TQSqlCursor::del(arg1,arg2); + } + int protected_del(const TQString& arg1) { + return (int) TQSqlCursor::del(arg1); + } + TQString protected_toString(const TQString& arg1,TQSqlField* arg2,const TQString& arg3) { + return (TQString) TQSqlCursor::toString(arg1,arg2,arg3); + } + TQString protected_toString(TQSqlRecord* arg1,const TQString& arg2,const TQString& arg3,const TQString& arg4) { + return (TQString) TQSqlCursor::toString(arg1,arg2,arg3,arg4); + } + TQString protected_toString(const TQSqlIndex& arg1,TQSqlRecord* arg2,const TQString& arg3,const TQString& arg4,const TQString& arg5) { + return (TQString) TQSqlCursor::toString(arg1,arg2,arg3,arg4,arg5); + } + ~TQSqlCursorJBridge() {QtSupport::qtKeyDeleted(this);} + void protected_beforeSeek() { + TQSqlQuery::beforeSeek(); + return; + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlCursor_addBindValue__Lorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jobject val) +{ + ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->addBindValue((const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlCursor_addBindValue__Lorg_kde_qt_QVariant_2I(JNIEnv* env, jobject obj, jobject val, jint type) +{ + ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->addBindValue((const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val), (TQSql::ParameterType) type); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlCursor_afterSeek(JNIEnv* env, jobject obj) +{ + ((TQSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_afterSeek(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlCursor_append(JNIEnv* env, jobject obj, jobject fieldInfo) +{ + ((TQSqlCursor*) QtSupport::getQt(env, obj))->append((const TQSqlFieldInfo&)*(const TQSqlFieldInfo*) QtSupport::getQt(env, fieldInfo)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSqlCursor_at(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->at(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlCursor_beforeSeek(JNIEnv* env, jobject obj) +{ + ((TQSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_beforeSeek(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlCursor_bindValue__ILorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jint pos, jobject val) +{ + ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->bindValue((int) pos, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlCursor_bindValue__ILorg_kde_qt_QVariant_2I(JNIEnv* env, jobject obj, jint pos, jobject val, jint type) +{ + ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->bindValue((int) pos, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val), (TQSql::ParameterType) type); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlCursor_bindValue__Ljava_lang_String_2Lorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jstring placeholder, jobject val) +{ +static TQString* _qstring_placeholder = 0; + ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->bindValue((const TQString&)*(TQString*) QtSupport::toTQString(env, placeholder, &_qstring_placeholder), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlCursor_bindValue__Ljava_lang_String_2Lorg_kde_qt_QVariant_2I(JNIEnv* env, jobject obj, jstring placeholder, jobject val, jint type) +{ +static TQString* _qstring_placeholder = 0; + ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->bindValue((const TQString&)*(TQString*) QtSupport::toTQString(env, placeholder, &_qstring_placeholder), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val), (TQSql::ParameterType) type); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlCursor_boundValue__I(JNIEnv* env, jobject obj, jint pos) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->boundValue((int) pos)), "org.kde.qt.TQVariant", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlCursor_boundValue__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring placeholder) +{ +static TQString* _qstring_placeholder = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->boundValue((const TQString&)*(TQString*) QtSupport::toTQString(env, placeholder, &_qstring_placeholder))), "org.kde.qt.TQVariant", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlCursor_calculateField(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_calculateField((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQVariant", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlCursor_canDelete(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlCursor*) QtSupport::getQt(env, obj))->canDelete(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlCursor_canInsert(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlCursor*) QtSupport::getQt(env, obj))->canInsert(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlCursor_canUpdate(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlCursor*) QtSupport::getQt(env, obj))->canUpdate(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlCursor_clear(JNIEnv* env, jobject obj) +{ + ((TQSqlCursor*) QtSupport::getQt(env, obj))->clear(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSqlCursor_del__(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSqlCursor*) QtSupport::getQt(env, obj))->del(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSqlCursor_del__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filter) +{ +static TQString* _qstring_filter = 0; + jint xret = (jint) ((TQSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_del((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSqlCursor_del__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring filter, jboolean invalidate) +{ +static TQString* _qstring_filter = 0; + jint xret = (jint) ((TQSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_del((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (bool) invalidate); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSqlCursor_del__Z(JNIEnv* env, jobject obj, jboolean invalidate) +{ + jint xret = (jint) ((TQSqlCursor*) QtSupport::getQt(env, obj))->del((bool) invalidate); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlCursor_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QSqlCursor_finalize(env, obj); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlCursor_driver(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->driver(), "org.kde.qt.TQSqlDriver"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlCursor_editBuffer__(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlCursor*) QtSupport::getQt(env, obj))->editBuffer(), "org.kde.qt.TQSqlRecord"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlCursor_editBuffer__Z(JNIEnv* env, jobject obj, jboolean copy) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlCursor*) QtSupport::getQt(env, obj))->editBuffer((bool) copy), "org.kde.qt.TQSqlRecord"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlCursor_exec__(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->exec(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlCursor_exec__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sql) +{ +static TQString* _qstring_sql = 0; + jboolean xret = (jboolean) ((TQSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_exec((const TQString&)*(TQString*) QtSupport::toTQString(env, sql, &_qstring_sql)); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlCursor_executedQuery(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->executedQuery(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlCursor_filter(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQSqlCursor*) QtSupport::getQt(env, obj))->filter(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlCursor_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQSqlCursor*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlCursor_first(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->first(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlCursor_index__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fieldName) +{ +static TQString* _qstring_fieldName = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlIndex(((TQSqlCursor*) QtSupport::getQt(env, obj))->index((const TQString&)*(TQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName))), "org.kde.qt.TQSqlIndex", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlCursor_index___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray fieldNames) +{ +static TQStringList* _qlist_fieldNames = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlIndex(((TQSqlCursor*) QtSupport::getQt(env, obj))->index((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fieldNames, &_qlist_fieldNames))), "org.kde.qt.TQSqlIndex", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSqlCursor_insert__(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSqlCursor*) QtSupport::getQt(env, obj))->insert(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlCursor_insert__ILorg_kde_qt_QSqlFieldInfo_2(JNIEnv* env, jobject obj, jint pos, jobject fieldInfo) +{ + ((TQSqlCursor*) QtSupport::getQt(env, obj))->insert((int) pos, (const TQSqlFieldInfo&)*(const TQSqlFieldInfo*) QtSupport::getQt(env, fieldInfo)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSqlCursor_insert__Z(JNIEnv* env, jobject obj, jboolean invalidate) +{ + jint xret = (jint) ((TQSqlCursor*) QtSupport::getQt(env, obj))->insert((bool) invalidate); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlCursor_isActive(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->isActive(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlCursor_isCalculated(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TQSqlCursor*) QtSupport::getQt(env, obj))->isCalculated((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlCursor_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlCursor_isForwardOnly(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->isForwardOnly(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlCursor_isNull__I(JNIEnv* env, jobject obj, jint i) +{ + jboolean xret = (jboolean) ((TQSqlCursor*) QtSupport::getQt(env, obj))->isNull((int) i); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlCursor_isNull__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TQSqlCursor*) QtSupport::getQt(env, obj))->isNull((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlCursor_isReadOnly(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlCursor*) QtSupport::getQt(env, obj))->isReadOnly(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlCursor_isSelect(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->isSelect(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlCursor_isTrimmed(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TQSqlCursor*) QtSupport::getQt(env, obj))->isTrimmed((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlCursor_isValid(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->isValid(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlCursor_lastError(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlError(((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->lastError()), "org.kde.qt.TQSqlError", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlCursor_lastQuery(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->lastQuery(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlCursor_last(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->last(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSqlCursor_mode(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSqlCursor*) QtSupport::getQt(env, obj))->mode(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlCursor_name(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQSqlCursor*) QtSupport::getQt(env, obj))->name(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlCursor_newTQSqlCursor__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlCursorJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlCursor_newTQSqlCursor__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 TQSqlCursorJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlCursor_newTQSqlCursor__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring name, jboolean autopopulate) +{ +static TQString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlCursorJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (bool) autopopulate)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlCursor_newTQSqlCursor__Ljava_lang_String_2ZLorg_kde_qt_QSqlDatabase_2(JNIEnv* env, jobject obj, jstring name, jboolean autopopulate, jobject db) +{ +static TQString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlCursorJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (bool) autopopulate, (TQSqlDatabase*) QtSupport::getQt(env, db))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlCursor_newTQSqlCursor__Lorg_kde_qt_QSqlCursor_2(JNIEnv* env, jobject obj, jobject other) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlCursorJBridge((const TQSqlCursor&)*(const TQSqlCursor*) QtSupport::getQt(env, other))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlCursor_next(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->next(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSqlCursor_numRowsAffected(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->numRowsAffected(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlCursor_prepare(JNIEnv* env, jobject obj, jstring query) +{ +static TQString* _qstring_query = 0; + jboolean xret = (jboolean) ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->prepare((const TQString&)*(TQString*) QtSupport::toTQString(env, query, &_qstring_query)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlCursor_prev(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->prev(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlCursor_primaryIndex__(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlIndex(((TQSqlCursor*) QtSupport::getQt(env, obj))->primaryIndex()), "org.kde.qt.TQSqlIndex", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlCursor_primaryIndex__Z(JNIEnv* env, jobject obj, jboolean prime) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlIndex(((TQSqlCursor*) QtSupport::getQt(env, obj))->primaryIndex((bool) prime)), "org.kde.qt.TQSqlIndex", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlCursor_primeDelete(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlCursor*) QtSupport::getQt(env, obj))->primeDelete(), "org.kde.qt.TQSqlRecord"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlCursor_primeInsert(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlCursor*) QtSupport::getQt(env, obj))->primeInsert(), "org.kde.qt.TQSqlRecord"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlCursor_primeUpdate(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlCursor*) QtSupport::getQt(env, obj))->primeUpdate(), "org.kde.qt.TQSqlRecord"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlCursor_remove(JNIEnv* env, jobject obj, jint pos) +{ + ((TQSqlCursor*) QtSupport::getQt(env, obj))->remove((int) pos); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlCursor_result(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->result(), "org.kde.qt.TQSqlResult"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlCursor_seek__I(JNIEnv* env, jobject obj, jint i) +{ + jboolean xret = (jboolean) ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->seek((int) i); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlCursor_seek__IZ(JNIEnv* env, jobject obj, jint i, jboolean relative) +{ + jboolean xret = (jboolean) ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->seek((int) i, (bool) relative); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlCursor_select__(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlCursor*) QtSupport::getQt(env, obj))->select(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlCursor_select__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filter) +{ +static TQString* _qstring_filter = 0; + jboolean xret = (jboolean) ((TQSqlCursor*) QtSupport::getQt(env, obj))->select((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlCursor_select__Ljava_lang_String_2Lorg_kde_qt_QSqlIndex_2(JNIEnv* env, jobject obj, jstring filter, jobject sort) +{ +static TQString* _qstring_filter = 0; + jboolean xret = (jboolean) ((TQSqlCursor*) QtSupport::getQt(env, obj))->select((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (const TQSqlIndex&)*(const TQSqlIndex*) QtSupport::getQt(env, sort)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlCursor_select__Lorg_kde_qt_QSqlIndex_2(JNIEnv* env, jobject obj, jobject sort) +{ + jboolean xret = (jboolean) ((TQSqlCursor*) QtSupport::getQt(env, obj))->select((const TQSqlIndex&)*(const TQSqlIndex*) QtSupport::getQt(env, sort)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlCursor_select__Lorg_kde_qt_QSqlIndex_2Lorg_kde_qt_QSqlIndex_2(JNIEnv* env, jobject obj, jobject filter, jobject sort) +{ + jboolean xret = (jboolean) ((TQSqlCursor*) QtSupport::getQt(env, obj))->select((const TQSqlIndex&)*(const TQSqlIndex*) QtSupport::getQt(env, filter), (const TQSqlIndex&)*(const TQSqlIndex*) QtSupport::getQt(env, sort)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlCursor_setCalculated(JNIEnv* env, jobject obj, jstring name, jboolean calculated) +{ +static TQString* _qstring_name = 0; + ((TQSqlCursor*) QtSupport::getQt(env, obj))->setCalculated((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (bool) calculated); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlCursor_setFilter(JNIEnv* env, jobject obj, jstring filter) +{ +static TQString* _qstring_filter = 0; + ((TQSqlCursor*) QtSupport::getQt(env, obj))->setFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlCursor_setForwardOnly(JNIEnv* env, jobject obj, jboolean forward) +{ + ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->setForwardOnly((bool) forward); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlCursor_setGenerated__IZ(JNIEnv* env, jobject obj, jint i, jboolean generated) +{ + ((TQSqlCursor*) QtSupport::getQt(env, obj))->setGenerated((int) i, (bool) generated); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlCursor_setGenerated__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring name, jboolean generated) +{ +static TQString* _qstring_name = 0; + ((TQSqlCursor*) QtSupport::getQt(env, obj))->setGenerated((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (bool) generated); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlCursor_setMode(JNIEnv* env, jobject obj, jint flags) +{ + ((TQSqlCursor*) QtSupport::getQt(env, obj))->setMode((int) flags); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlCursor_setName__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + ((TQSqlCursor*) QtSupport::getQt(env, obj))->setName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlCursor_setName__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring name, jboolean autopopulate) +{ +static TQString* _qstring_name = 0; + ((TQSqlCursor*) QtSupport::getQt(env, obj))->setName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (bool) autopopulate); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlCursor_setPrimaryIndex(JNIEnv* env, jobject obj, jobject idx) +{ + ((TQSqlCursor*) QtSupport::getQt(env, obj))->setPrimaryIndex((const TQSqlIndex&)*(const TQSqlIndex*) QtSupport::getQt(env, idx)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlCursor_setSort(JNIEnv* env, jobject obj, jobject sort) +{ + ((TQSqlCursor*) QtSupport::getQt(env, obj))->setSort((const TQSqlIndex&)*(const TQSqlIndex*) QtSupport::getQt(env, sort)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlCursor_setTrimmed(JNIEnv* env, jobject obj, jstring name, jboolean trim) +{ +static TQString* _qstring_name = 0; + ((TQSqlCursor*) QtSupport::getQt(env, obj))->setTrimmed((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (bool) trim); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlCursor_setValue__ILorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jint i, jobject val) +{ + ((TQSqlCursor*) QtSupport::getQt(env, obj))->setValue((int) i, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlCursor_setValue__Ljava_lang_String_2Lorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jstring name, jobject val) +{ +static TQString* _qstring_name = 0; + ((TQSqlCursor*) QtSupport::getQt(env, obj))->setValue((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSqlCursor_size(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->size(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlCursor_sort(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlIndex(((TQSqlCursor*) QtSupport::getQt(env, obj))->sort()), "org.kde.qt.TQSqlIndex", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlCursor_toString__(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQSqlCursor*) QtSupport::getQt(env, obj))->toString(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlCursor_toString__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring prefix) +{ + TQString _qstring; +static TQString* _qstring_prefix = 0; + _qstring = ((TQSqlCursor*) QtSupport::getQt(env, obj))->toString((const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlCursor_toString__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring prefix, jstring sep) +{ + TQString _qstring; +static TQString* _qstring_prefix = 0; +static TQString* _qstring_sep = 0; + _qstring = ((TQSqlCursor*) QtSupport::getQt(env, obj))->toString((const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix), (const TQString&)*(TQString*) QtSupport::toTQString(env, sep, &_qstring_sep)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlCursor_toString__Ljava_lang_String_2Lorg_kde_qt_QSqlField_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring prefix, jobject field, jstring fieldSep) +{ + TQString _qstring; +static TQString* _qstring_prefix = 0; +static TQString* _qstring_fieldSep = 0; + _qstring = ((TQSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_toString((const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix), (TQSqlField*) QtSupport::getQt(env, field), (const TQString&)*(TQString*) QtSupport::toTQString(env, fieldSep, &_qstring_fieldSep)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlCursor_toString__Lorg_kde_qt_QSqlIndex_2Lorg_kde_qt_QSqlRecord_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject i, jobject rec, jstring prefix, jstring fieldSep, jstring sep) +{ + TQString _qstring; +static TQString* _qstring_prefix = 0; +static TQString* _qstring_fieldSep = 0; +static TQString* _qstring_sep = 0; + _qstring = ((TQSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_toString((const TQSqlIndex&)*(const TQSqlIndex*) QtSupport::getQt(env, i), (TQSqlRecord*) QtSupport::getQt(env, rec), (const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix), (const TQString&)*(TQString*) QtSupport::toTQString(env, fieldSep, &_qstring_fieldSep), (const TQString&)*(TQString*) QtSupport::toTQString(env, sep, &_qstring_sep)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlCursor_toString__Lorg_kde_qt_QSqlRecord_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject rec, jstring prefix, jstring fieldSep, jstring sep) +{ + TQString _qstring; +static TQString* _qstring_prefix = 0; +static TQString* _qstring_fieldSep = 0; +static TQString* _qstring_sep = 0; + _qstring = ((TQSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_toString((TQSqlRecord*) QtSupport::getQt(env, rec), (const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix), (const TQString&)*(TQString*) QtSupport::toTQString(env, fieldSep, &_qstring_fieldSep), (const TQString&)*(TQString*) QtSupport::toTQString(env, sep, &_qstring_sep)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSqlCursor_update__(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSqlCursor*) QtSupport::getQt(env, obj))->update(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSqlCursor_update__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filter) +{ +static TQString* _qstring_filter = 0; + jint xret = (jint) ((TQSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_update((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSqlCursor_update__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring filter, jboolean invalidate) +{ +static TQString* _qstring_filter = 0; + jint xret = (jint) ((TQSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_update((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (bool) invalidate); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSqlCursor_update__Z(JNIEnv* env, jobject obj, jboolean invalidate) +{ + jint xret = (jint) ((TQSqlCursor*) QtSupport::getQt(env, obj))->update((bool) invalidate); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlCursor_value__I(JNIEnv* env, jobject obj, jint i) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSqlCursor*) QtSupport::getQt(env, obj))->value((int) i)), "org.kde.qt.TQVariant", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlCursor_value__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSqlCursor*) QtSupport::getQt(env, obj))->value((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQVariant", TRUE); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQSqlCursor.h b/qtjava/javalib/qtjava/TQSqlCursor.h new file mode 100644 index 00000000..89cf9c19 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSqlCursor.h @@ -0,0 +1,119 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QSqlCursor__ +#define __org_kde_qt_QSqlCursor__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_newTQSqlCursor__Ljava_lang_String_2ZLorg_kde_qt_QSqlDatabase_2 (JNIEnv *env, jobject, jstring, jboolean, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_newTQSqlCursor__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_newTQSqlCursor__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_newTQSqlCursor__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_newTQSqlCursor__Lorg_kde_qt_QSqlCursor_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlCursor_value__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlCursor_value__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_setValue__ILorg_kde_qt_QVariant_2 (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_setValue__Ljava_lang_String_2Lorg_kde_qt_QVariant_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlCursor_primaryIndex__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlCursor_primaryIndex__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlCursor_index___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlCursor_index__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_setPrimaryIndex (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_append (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_insert__ILorg_kde_qt_QSqlFieldInfo_2 (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_remove (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_clear (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_setGenerated__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_setGenerated__IZ (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlCursor_editBuffer__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlCursor_editBuffer__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlCursor_primeInsert (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlCursor_primeUpdate (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlCursor_primeDelete (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlCursor_insert__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlCursor_insert__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlCursor_update__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlCursor_update__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlCursor_del__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlCursor_del__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_setMode (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlCursor_mode (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_setCalculated (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_isCalculated (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_setTrimmed (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_isTrimmed (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_isReadOnly (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_canInsert (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_canUpdate (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_canDelete (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_select__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_select__Lorg_kde_qt_QSqlIndex_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_select__Lorg_kde_qt_QSqlIndex_2Lorg_kde_qt_QSqlIndex_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_select__Ljava_lang_String_2Lorg_kde_qt_QSqlIndex_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_select__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_setSort (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlCursor_sort (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_setFilter (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlCursor_filter (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_setName__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_setName__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlCursor_name (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlCursor_toString__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlCursor_toString__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlCursor_toString__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_isNull__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_isNull__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_afterSeek (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_exec__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlCursor_calculateField (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlCursor_update__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlCursor_update__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlCursor_del__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlCursor_del__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlCursor_toString__Ljava_lang_String_2Lorg_kde_qt_QSqlField_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlCursor_toString__Lorg_kde_qt_QSqlRecord_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlCursor_toString__Lorg_kde_qt_QSqlIndex_2Lorg_kde_qt_QSqlRecord_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_qt_QSqlCursor_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_isDisposed (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_isValid (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_isActive (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlCursor_at (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlCursor_lastQuery (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlCursor_numRowsAffected (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlCursor_lastError (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_isSelect (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlCursor_size (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlCursor_driver (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlCursor_result (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_isForwardOnly (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_setForwardOnly (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_seek__IZ (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_seek__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_next (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_prev (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_first (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_last (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_exec__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_prepare (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_bindValue__Ljava_lang_String_2Lorg_kde_qt_QVariant_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_bindValue__ILorg_kde_qt_QVariant_2 (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_addBindValue__Lorg_kde_qt_QVariant_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_bindValue__Ljava_lang_String_2Lorg_kde_qt_QVariant_2I (JNIEnv *env, jobject, jstring, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_bindValue__ILorg_kde_qt_QVariant_2I (JNIEnv *env, jobject, jint, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_addBindValue__Lorg_kde_qt_QVariant_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlCursor_boundValue__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlCursor_boundValue__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlCursor_executedQuery (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_beforeSeek (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QSqlCursor__ */ diff --git a/qtjava/javalib/qtjava/TQSqlDatabase.cpp b/qtjava/javalib/qtjava/TQSqlDatabase.cpp new file mode 100644 index 00000000..22e87343 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSqlDatabase.cpp @@ -0,0 +1,554 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQSqlDatabaseJBridge : public TQSqlDatabase +{ +public: + TQSqlDatabaseJBridge(const TQString& arg1,const TQString& arg2,TQObject* arg3,const char* arg4) : TQSqlDatabase(arg1,arg2,arg3,arg4) {}; + TQSqlDatabaseJBridge(const TQString& arg1,const TQString& arg2,TQObject* arg3) : TQSqlDatabase(arg1,arg2,arg3) {}; + TQSqlDatabaseJBridge(const TQString& arg1,const TQString& arg2) : TQSqlDatabase(arg1,arg2) {}; + TQSqlDatabaseJBridge(TQSqlDriver* arg1,TQObject* arg2,const char* arg3) : TQSqlDatabase(arg1,arg2,arg3) {}; + TQSqlDatabaseJBridge(TQSqlDriver* arg1,TQObject* arg2) : TQSqlDatabase(arg1,arg2) {}; + TQSqlDatabaseJBridge(TQSqlDriver* arg1) : TQSqlDatabase(arg1) {}; + ~TQSqlDatabaseJBridge() {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.qt.TQSqlDatabase",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlDatabase_addDatabase__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring type) +{ + (void) cls; +static TQString* _qstring_type = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlDatabaseJBridge::addDatabase((const TQString&)*(TQString*) QtSupport::toTQString(env, type, &_qstring_type)), "org.kde.qt.TQSqlDatabase"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlDatabase_addDatabase__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring type, jstring connectionName) +{ + (void) cls; +static TQString* _qstring_type = 0; +static TQString* _qstring_connectionName = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlDatabaseJBridge::addDatabase((const TQString&)*(TQString*) QtSupport::toTQString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, connectionName, &_qstring_connectionName)), "org.kde.qt.TQSqlDatabase"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlDatabase_addDatabase__Lorg_kde_qt_QSqlDriver_2(JNIEnv* env, jclass cls, jobject driver) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlDatabaseJBridge::addDatabase((TQSqlDriver*) QtSupport::getQt(env, driver)), "org.kde.qt.TQSqlDatabase"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlDatabase_addDatabase__Lorg_kde_qt_QSqlDriver_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject driver, jstring connectionName) +{ + (void) cls; +static TQString* _qstring_connectionName = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlDatabaseJBridge::addDatabase((TQSqlDriver*) QtSupport::getQt(env, driver), (const TQString&)*(TQString*) QtSupport::toTQString(env, connectionName, &_qstring_connectionName)), "org.kde.qt.TQSqlDatabase"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlDatabase_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQSqlDatabase*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlDatabase_close(JNIEnv* env, jobject obj) +{ + ((TQSqlDatabase*) QtSupport::getQt(env, obj))->close(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlDatabase_commit(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlDatabase*) QtSupport::getQt(env, obj))->commit(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlDatabase_connectOptions(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQSqlDatabase*) QtSupport::getQt(env, obj))->connectOptions(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlDatabase_contains__(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jboolean xret = (jboolean) TQSqlDatabaseJBridge::contains(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlDatabase_contains__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring connectionName) +{ + (void) cls; +static TQString* _qstring_connectionName = 0; + jboolean xret = (jboolean) TQSqlDatabaseJBridge::contains((const TQString&)*(TQString*) QtSupport::toTQString(env, connectionName, &_qstring_connectionName)); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlDatabase_databaseName(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQSqlDatabase*) QtSupport::getQt(env, obj))->databaseName(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlDatabase_database__(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlDatabaseJBridge::database(), "org.kde.qt.TQSqlDatabase"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlDatabase_database__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring connectionName) +{ + (void) cls; +static TQString* _qstring_connectionName = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlDatabaseJBridge::database((const TQString&)*(TQString*) QtSupport::toTQString(env, connectionName, &_qstring_connectionName)), "org.kde.qt.TQSqlDatabase"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlDatabase_database__Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring connectionName, jboolean open) +{ + (void) cls; +static TQString* _qstring_connectionName = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlDatabaseJBridge::database((const TQString&)*(TQString*) QtSupport::toTQString(env, connectionName, &_qstring_connectionName), (bool) open), "org.kde.qt.TQSqlDatabase"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlDatabase_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QSqlDatabase_finalize(env, obj); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlDatabase_driverName(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQSqlDatabase*) QtSupport::getQt(env, obj))->driverName(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlDatabase_driver(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlDatabase*) QtSupport::getQt(env, obj))->driver(), "org.kde.qt.TQSqlDriver"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlDatabase_drivers(JNIEnv* env, jclass cls) +{ + TQStringList _qlist; + (void) cls; + _qlist = TQSqlDatabaseJBridge::drivers(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlDatabase_exec__(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlQuery(((TQSqlDatabase*) QtSupport::getQt(env, obj))->exec()), "org.kde.qt.TQSqlQueryInterface", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlDatabase_exec__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring query) +{ +static TQString* _qstring_query = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlQuery(((TQSqlDatabase*) QtSupport::getQt(env, obj))->exec((const TQString&)*(TQString*) QtSupport::toTQString(env, query, &_qstring_query))), "org.kde.qt.TQSqlQueryInterface", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlDatabase_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQSqlDatabase*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQSqlDatabase*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlDatabase_hostName(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQSqlDatabase*) QtSupport::getQt(env, obj))->hostName(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlDatabase_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlDatabase_isDriverAvailable(JNIEnv* env, jclass cls, jstring name) +{ + (void) cls; +static TQString* _qstring_name = 0; + jboolean xret = (jboolean) TQSqlDatabaseJBridge::isDriverAvailable((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlDatabase_isOpenError(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlDatabase*) QtSupport::getQt(env, obj))->isOpenError(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlDatabase_isOpen(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlDatabase*) QtSupport::getQt(env, obj))->isOpen(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlDatabase_lastError(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlError(((TQSqlDatabase*) QtSupport::getQt(env, obj))->lastError()), "org.kde.qt.TQSqlError", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlDatabase_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlDatabase*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlDatabase_newTQSqlDatabase__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring type, jstring name) +{ +static TQString* _qstring_type = 0; +static TQString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlDatabaseJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlDatabase_newTQSqlDatabase__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring type, jstring name, jobject parent) +{ +static TQString* _qstring_type = 0; +static TQString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlDatabaseJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlDatabase_newTQSqlDatabase__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring type, jstring name, jobject parent, jstring objname) +{ +static TQString* _qstring_type = 0; +static TQString* _qstring_name = 0; +static TQCString* _qstring_objname = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlDatabaseJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, objname, &_qstring_objname))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlDatabase_newTQSqlDatabase__Lorg_kde_qt_QSqlDriver_2(JNIEnv* env, jobject obj, jobject driver) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlDatabaseJBridge((TQSqlDriver*) QtSupport::getQt(env, driver))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlDatabase_newTQSqlDatabase__Lorg_kde_qt_QSqlDriver_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject driver, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlDatabaseJBridge((TQSqlDriver*) QtSupport::getQt(env, driver), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlDatabase_newTQSqlDatabase__Lorg_kde_qt_QSqlDriver_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject driver, jobject parent, jstring objname) +{ +static TQCString* _qstring_objname = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlDatabaseJBridge((TQSqlDriver*) QtSupport::getQt(env, driver), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, objname, &_qstring_objname))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlDatabase_open__(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlDatabase*) QtSupport::getQt(env, obj))->open(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlDatabase_open__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring user, jstring password) +{ +static TQString* _qstring_user = 0; +static TQString* _qstring_password = 0; + jboolean xret = (jboolean) ((TQSqlDatabase*) QtSupport::getQt(env, obj))->open((const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, password, &_qstring_password)); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlDatabase_password(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQSqlDatabase*) QtSupport::getQt(env, obj))->password(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSqlDatabase_port(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSqlDatabase*) QtSupport::getQt(env, obj))->port(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlDatabase_primaryIndex(JNIEnv* env, jobject obj, jstring tablename) +{ +static TQString* _qstring_tablename = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlIndex(((TQSqlDatabase*) QtSupport::getQt(env, obj))->primaryIndex((const TQString&)*(TQString*) QtSupport::toTQString(env, tablename, &_qstring_tablename))), "org.kde.qt.TQSqlIndex", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlDatabase_recordInfo__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring tablename) +{ +static TQString* _qstring_tablename = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlRecordInfo(((TQSqlDatabase*) QtSupport::getQt(env, obj))->recordInfo((const TQString&)*(TQString*) QtSupport::toTQString(env, tablename, &_qstring_tablename))), "org.kde.qt.TQSqlRecordInfo", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlDatabase_recordInfo__Lorg_kde_qt_QSqlQueryInterface_2(JNIEnv* env, jobject obj, jobject query) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlRecordInfo(((TQSqlDatabase*) QtSupport::getQt(env, obj))->recordInfo((const TQSqlQuery&)*(const TQSqlQuery*) QtSupport::getQt(env, query))), "org.kde.qt.TQSqlRecordInfo", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlDatabase_record__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring tablename) +{ +static TQString* _qstring_tablename = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlRecord(((TQSqlDatabase*) QtSupport::getQt(env, obj))->record((const TQString&)*(TQString*) QtSupport::toTQString(env, tablename, &_qstring_tablename))), "org.kde.qt.TQSqlRecord", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlDatabase_record__Lorg_kde_qt_QSqlQueryInterface_2(JNIEnv* env, jobject obj, jobject query) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlRecord(((TQSqlDatabase*) QtSupport::getQt(env, obj))->record((const TQSqlQuery&)*(const TQSqlQuery*) QtSupport::getQt(env, query))), "org.kde.qt.TQSqlRecord", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlDatabase_removeDatabase__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring connectionName) +{ + (void) cls; +static TQString* _qstring_connectionName = 0; + TQSqlDatabaseJBridge::removeDatabase((const TQString&)*(TQString*) QtSupport::toTQString(env, connectionName, &_qstring_connectionName)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlDatabase_removeDatabase__Lorg_kde_qt_QSqlDatabase_2(JNIEnv* env, jclass cls, jobject db) +{ + (void) cls; + TQSqlDatabaseJBridge::removeDatabase((TQSqlDatabase*) QtSupport::getQt(env, db)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlDatabase_rollback(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlDatabase*) QtSupport::getQt(env, obj))->rollback(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlDatabase_setConnectOptions__(JNIEnv* env, jobject obj) +{ + ((TQSqlDatabase*) QtSupport::getQt(env, obj))->setConnectOptions(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlDatabase_setConnectOptions__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring options) +{ +static TQString* _qstring_options = 0; + ((TQSqlDatabase*) QtSupport::getQt(env, obj))->setConnectOptions((const TQString&)*(TQString*) QtSupport::toTQString(env, options, &_qstring_options)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlDatabase_setDatabaseName(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + ((TQSqlDatabase*) QtSupport::getQt(env, obj))->setDatabaseName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlDatabase_setHostName(JNIEnv* env, jobject obj, jstring host) +{ +static TQString* _qstring_host = 0; + ((TQSqlDatabase*) QtSupport::getQt(env, obj))->setHostName((const TQString&)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlDatabase_setPassword(JNIEnv* env, jobject obj, jstring password) +{ +static TQString* _qstring_password = 0; + ((TQSqlDatabase*) QtSupport::getQt(env, obj))->setPassword((const TQString&)*(TQString*) QtSupport::toTQString(env, password, &_qstring_password)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlDatabase_setPort(JNIEnv* env, jobject obj, jint p) +{ + ((TQSqlDatabase*) QtSupport::getQt(env, obj))->setPort((int) p); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlDatabase_setUserName(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + ((TQSqlDatabase*) QtSupport::getQt(env, obj))->setUserName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlDatabase_tables__(JNIEnv* env, jobject obj) +{ + TQStringList _qlist; + _qlist = ((TQSqlDatabase*) QtSupport::getQt(env, obj))->tables(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlDatabase_tables__I(JNIEnv* env, jobject obj, jint type) +{ + TQStringList _qlist; + _qlist = ((TQSqlDatabase*) QtSupport::getQt(env, obj))->tables((TQSql::TableType) type); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlDatabase_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQSqlDatabaseJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlDatabase_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQSqlDatabaseJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlDatabase_transaction(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlDatabase*) QtSupport::getQt(env, obj))->transaction(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlDatabase_userName(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQSqlDatabase*) QtSupport::getQt(env, obj))->userName(); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQSqlDatabase.h b/qtjava/javalib/qtjava/TQSqlDatabase.h new file mode 100644 index 00000000..e36b4cdb --- /dev/null +++ b/qtjava/javalib/qtjava/TQSqlDatabase.h @@ -0,0 +1,77 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QSqlDatabase__ +#define __org_kde_qt_QSqlDatabase__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlDatabase_className (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDatabase_open__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDatabase_open__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDatabase_close (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDatabase_isOpen (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDatabase_isOpenError (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_tables__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_tables__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_primaryIndex (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_record__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_record__Lorg_kde_qt_QSqlQueryInterface_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_recordInfo__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_recordInfo__Lorg_kde_qt_QSqlQueryInterface_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_exec__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_exec__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_lastError (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDatabase_transaction (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDatabase_commit (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDatabase_rollback (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDatabase_setDatabaseName (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDatabase_setUserName (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDatabase_setPassword (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDatabase_setHostName (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDatabase_setPort (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDatabase_setConnectOptions__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDatabase_setConnectOptions__ (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlDatabase_databaseName (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlDatabase_userName (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlDatabase_password (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlDatabase_hostName (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlDatabase_driverName (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlDatabase_port (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlDatabase_connectOptions (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_driver (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlDatabase_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlDatabase_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_addDatabase__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_addDatabase__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_addDatabase__Lorg_kde_qt_QSqlDriver_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_addDatabase__Lorg_kde_qt_QSqlDriver_2 (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_database__Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_database__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_database__ (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDatabase_removeDatabase__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDatabase_removeDatabase__Lorg_kde_qt_QSqlDatabase_2 (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDatabase_contains__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDatabase_contains__ (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_drivers (JNIEnv *env, jclass); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDatabase_isDriverAvailable (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDatabase_newTQSqlDatabase__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_qt_QSqlDatabase_newTQSqlDatabase__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDatabase_newTQSqlDatabase__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDatabase_newTQSqlDatabase__Lorg_kde_qt_QSqlDriver_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDatabase_newTQSqlDatabase__Lorg_kde_qt_QSqlDriver_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDatabase_newTQSqlDatabase__Lorg_kde_qt_QSqlDriver_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDatabase_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDatabase_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDatabase_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QSqlDatabase__ */ diff --git a/qtjava/javalib/qtjava/TQSqlDriver.cpp b/qtjava/javalib/qtjava/TQSqlDriver.cpp new file mode 100644 index 00000000..0348ad10 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSqlDriver.cpp @@ -0,0 +1,243 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlDriver_beginTransaction(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlDriver*) QtSupport::getQt(env, obj))->beginTransaction(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlDriver_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQSqlDriver*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlDriver_close(JNIEnv* env, jobject obj) +{ + ((TQSqlDriver*) QtSupport::getQt(env, obj))->close(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlDriver_commitTransaction(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlDriver*) QtSupport::getQt(env, obj))->commitTransaction(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlDriver_createQuery(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlQuery(((TQSqlDriver*) QtSupport::getQt(env, obj))->createQuery()), "org.kde.qt.TQSqlQueryInterface", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlDriver_formatValue__Lorg_kde_qt_QSqlField_2(JNIEnv* env, jobject obj, jobject field) +{ + TQString _qstring; + _qstring = ((TQSqlDriver*) QtSupport::getQt(env, obj))->formatValue((const TQSqlField*) QtSupport::getQt(env, field)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlDriver_formatValue__Lorg_kde_qt_QSqlField_2Z(JNIEnv* env, jobject obj, jobject field, jboolean trimStrings) +{ + TQString _qstring; + _qstring = ((TQSqlDriver*) QtSupport::getQt(env, obj))->formatValue((const TQSqlField*) QtSupport::getQt(env, field), (bool) trimStrings); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlDriver_hasFeature(JNIEnv* env, jobject obj, jint f) +{ + jboolean xret = (jboolean) ((TQSqlDriver*) QtSupport::getQt(env, obj))->hasFeature((TQSqlDriver::DriverFeature) f); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlDriver_isOpenError(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlDriver*) QtSupport::getQt(env, obj))->isOpenError(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlDriver_isOpen(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlDriver*) QtSupport::getQt(env, obj))->isOpen(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlDriver_lastError(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlError(((TQSqlDriver*) QtSupport::getQt(env, obj))->lastError()), "org.kde.qt.TQSqlError", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlDriver_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlDriver*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlDriver_nullText(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQSqlDriver*) QtSupport::getQt(env, obj))->nullText(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlDriver_open__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring db) +{ +static TQString* _qstring_db = 0; + jboolean xret = (jboolean) ((TQSqlDriver*) QtSupport::getQt(env, obj))->open((const TQString&)*(TQString*) QtSupport::toTQString(env, db, &_qstring_db)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlDriver_open__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring db, jstring user) +{ +static TQString* _qstring_db = 0; +static TQString* _qstring_user = 0; + jboolean xret = (jboolean) ((TQSqlDriver*) QtSupport::getQt(env, obj))->open((const TQString&)*(TQString*) QtSupport::toTQString(env, db, &_qstring_db), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlDriver_open__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring db, jstring user, jstring password) +{ +static TQString* _qstring_db = 0; +static TQString* _qstring_user = 0; +static TQString* _qstring_password = 0; + jboolean xret = (jboolean) ((TQSqlDriver*) QtSupport::getQt(env, obj))->open((const TQString&)*(TQString*) QtSupport::toTQString(env, db, &_qstring_db), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, password, &_qstring_password)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlDriver_open__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring db, jstring user, jstring password, jstring host) +{ +static TQString* _qstring_db = 0; +static TQString* _qstring_user = 0; +static TQString* _qstring_password = 0; +static TQString* _qstring_host = 0; + jboolean xret = (jboolean) ((TQSqlDriver*) QtSupport::getQt(env, obj))->open((const TQString&)*(TQString*) QtSupport::toTQString(env, db, &_qstring_db), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, password, &_qstring_password), (const TQString&)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlDriver_open__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring db, jstring user, jstring password, jstring host, jint port) +{ +static TQString* _qstring_db = 0; +static TQString* _qstring_user = 0; +static TQString* _qstring_password = 0; +static TQString* _qstring_host = 0; + jboolean xret = (jboolean) ((TQSqlDriver*) QtSupport::getQt(env, obj))->open((const TQString&)*(TQString*) QtSupport::toTQString(env, db, &_qstring_db), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, password, &_qstring_password), (const TQString&)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host), (int) port); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlDriver_open__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jstring db, jstring user, jstring password, jstring host, jint port, jstring connOpts) +{ +static TQString* _qstring_db = 0; +static TQString* _qstring_user = 0; +static TQString* _qstring_password = 0; +static TQString* _qstring_host = 0; +static TQString* _qstring_connOpts = 0; + jboolean xret = (jboolean) ((TQSqlDriver*) QtSupport::getQt(env, obj))->open((const TQString&)*(TQString*) QtSupport::toTQString(env, db, &_qstring_db), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, password, &_qstring_password), (const TQString&)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host), (int) port, (const TQString&)*(TQString*) QtSupport::toTQString(env, connOpts, &_qstring_connOpts)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlDriver_primaryIndex(JNIEnv* env, jobject obj, jstring tableName) +{ +static TQString* _qstring_tableName = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlIndex(((TQSqlDriver*) QtSupport::getQt(env, obj))->primaryIndex((const TQString&)*(TQString*) QtSupport::toTQString(env, tableName, &_qstring_tableName))), "org.kde.qt.TQSqlIndex", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlDriver_recordInfo__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring tablename) +{ +static TQString* _qstring_tablename = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlRecordInfo(((TQSqlDriver*) QtSupport::getQt(env, obj))->recordInfo((const TQString&)*(TQString*) QtSupport::toTQString(env, tablename, &_qstring_tablename))), "org.kde.qt.TQSqlRecordInfo", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlDriver_recordInfo__Lorg_kde_qt_QSqlQueryInterface_2(JNIEnv* env, jobject obj, jobject query) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlRecordInfo(((TQSqlDriver*) QtSupport::getQt(env, obj))->recordInfo((const TQSqlQuery&)*(const TQSqlQuery*) QtSupport::getQt(env, query))), "org.kde.qt.TQSqlRecordInfo", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlDriver_record__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring tableName) +{ +static TQString* _qstring_tableName = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlRecord(((TQSqlDriver*) QtSupport::getQt(env, obj))->record((const TQString&)*(TQString*) QtSupport::toTQString(env, tableName, &_qstring_tableName))), "org.kde.qt.TQSqlRecord", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlDriver_record__Lorg_kde_qt_QSqlQueryInterface_2(JNIEnv* env, jobject obj, jobject query) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlRecord(((TQSqlDriver*) QtSupport::getQt(env, obj))->record((const TQSqlQuery&)*(const TQSqlQuery*) QtSupport::getQt(env, query))), "org.kde.qt.TQSqlRecord", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlDriver_rollbackTransaction(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlDriver*) QtSupport::getQt(env, obj))->rollbackTransaction(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlDriver_tables(JNIEnv* env, jobject obj, jstring tableType) +{ + TQStringList _qlist; +static TQString* _qstring_tableType = 0; + _qlist = ((TQSqlDriver*) QtSupport::getQt(env, obj))->tables((const TQString&)*(TQString*) QtSupport::toTQString(env, tableType, &_qstring_tableType)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlDriver_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQSqlDriver::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlDriver_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQSqlDriver::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQSqlDriver.h b/qtjava/javalib/qtjava/TQSqlDriver.h new file mode 100644 index 00000000..a5b65426 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSqlDriver.h @@ -0,0 +1,46 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QSqlDriver__ +#define __org_kde_qt_QSqlDriver__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDriver_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlDriver_className (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDriver_isOpen (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDriver_isOpenError (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDriver_beginTransaction (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDriver_commitTransaction (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDriver_rollbackTransaction (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDriver_tables (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDriver_primaryIndex (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDriver_record__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDriver_record__Lorg_kde_qt_QSqlQueryInterface_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDriver_recordInfo__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDriver_recordInfo__Lorg_kde_qt_QSqlQueryInterface_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlDriver_nullText (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlDriver_formatValue__Lorg_kde_qt_QSqlField_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlDriver_formatValue__Lorg_kde_qt_QSqlField_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDriver_lastError (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDriver_hasFeature (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDriver_open__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDriver_open__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_qt_QSqlDriver_open__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDriver_open__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDriver_open__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDriver_close (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDriver_createQuery (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDriver_open__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 jstring JNICALL Java_org_kde_qt_QSqlDriver_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlDriver_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QSqlDriver__ */ diff --git a/qtjava/javalib/qtjava/TQSqlEditorFactory.cpp b/qtjava/javalib/qtjava/TQSqlEditorFactory.cpp new file mode 100644 index 00000000..c6f6ae1a --- /dev/null +++ b/qtjava/javalib/qtjava/TQSqlEditorFactory.cpp @@ -0,0 +1,137 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQSqlEditorFactoryJBridge : public TQSqlEditorFactory +{ +public: + TQSqlEditorFactoryJBridge(TQObject* arg1,const char* arg2) : TQSqlEditorFactory(arg1,arg2) {}; + TQSqlEditorFactoryJBridge(TQObject* arg1) : TQSqlEditorFactory(arg1) {}; + TQSqlEditorFactoryJBridge() : TQSqlEditorFactory() {}; + ~TQSqlEditorFactoryJBridge() {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.qt.TQSqlEditorFactory",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlEditorFactory_createEditor__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QSqlField_2(JNIEnv* env, jobject obj, jobject parent, jobject field) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlEditorFactory*) QtSupport::getQt(env, obj))->createEditor((TQWidget*) QtSupport::getQt(env, parent), (const TQSqlField*) QtSupport::getQt(env, field)), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlEditorFactory_createEditor__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jobject parent, jobject variant) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlEditorFactory*) QtSupport::getQt(env, obj))->createEditor((TQWidget*) QtSupport::getQt(env, parent), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, variant)), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlEditorFactory_defaultFactory(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlEditorFactoryJBridge::defaultFactory(), "org.kde.qt.TQSqlEditorFactory"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlEditorFactory_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QSqlEditorFactory_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlEditorFactory_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQSqlEditorFactory*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQSqlEditorFactory*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlEditorFactory_installDefaultFactory(JNIEnv* env, jclass cls, jobject factory) +{ + (void) cls; + TQSqlEditorFactoryJBridge::installDefaultFactory((TQSqlEditorFactory*) QtSupport::getQt(env, factory)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlEditorFactory_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlEditorFactory_newTQSqlEditorFactory__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlEditorFactoryJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlEditorFactory_newTQSqlEditorFactory__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlEditorFactoryJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlEditorFactory_newTQSqlEditorFactory__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 TQSqlEditorFactoryJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + diff --git a/qtjava/javalib/qtjava/TQSqlEditorFactory.h b/qtjava/javalib/qtjava/TQSqlEditorFactory.h new file mode 100644 index 00000000..2d21e22c --- /dev/null +++ b/qtjava/javalib/qtjava/TQSqlEditorFactory.h @@ -0,0 +1,28 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QSqlEditorFactory__ +#define __org_kde_qt_QSqlEditorFactory__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlEditorFactory_newTQSqlEditorFactory__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlEditorFactory_newTQSqlEditorFactory__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlEditorFactory_newTQSqlEditorFactory__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlEditorFactory_createEditor__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QVariant_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlEditorFactory_createEditor__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QSqlField_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlEditorFactory_defaultFactory (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlEditorFactory_installDefaultFactory (JNIEnv *env, jclass, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlEditorFactory_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlEditorFactory_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlEditorFactory_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QSqlEditorFactory__ */ diff --git a/qtjava/javalib/qtjava/TQSqlError.cpp b/qtjava/javalib/qtjava/TQSqlError.cpp new file mode 100644 index 00000000..9cad370a --- /dev/null +++ b/qtjava/javalib/qtjava/TQSqlError.cpp @@ -0,0 +1,192 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQSqlErrorJBridge : public TQSqlError +{ +public: + TQSqlErrorJBridge(const TQString& arg1,const TQString& arg2,int arg3,int arg4) : TQSqlError(arg1,arg2,arg3,arg4) {}; + TQSqlErrorJBridge(const TQString& arg1,const TQString& arg2,int arg3) : TQSqlError(arg1,arg2,arg3) {}; + TQSqlErrorJBridge(const TQString& arg1,const TQString& arg2) : TQSqlError(arg1,arg2) {}; + TQSqlErrorJBridge(const TQString& arg1) : TQSqlError(arg1) {}; + TQSqlErrorJBridge() : TQSqlError() {}; + TQSqlErrorJBridge(const TQSqlError& arg1) : TQSqlError(arg1) {}; + ~TQSqlErrorJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlError_databaseText(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQSqlError*) QtSupport::getQt(env, obj))->databaseText(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlError_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QSqlError_finalize(env, obj); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlError_driverText(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQSqlError*) QtSupport::getQt(env, obj))->driverText(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlError_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQSqlError*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlError_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlError_newTQSqlError__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlErrorJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlError_newTQSqlError__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring driverText) +{ +static TQString* _qstring_driverText = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlErrorJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, driverText, &_qstring_driverText))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlError_newTQSqlError__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring driverText, jstring databaseText) +{ +static TQString* _qstring_driverText = 0; +static TQString* _qstring_databaseText = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlErrorJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, driverText, &_qstring_driverText), (const TQString&)*(TQString*) QtSupport::toTQString(env, databaseText, &_qstring_databaseText))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlError_newTQSqlError__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring driverText, jstring databaseText, jint type) +{ +static TQString* _qstring_driverText = 0; +static TQString* _qstring_databaseText = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlErrorJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, driverText, &_qstring_driverText), (const TQString&)*(TQString*) QtSupport::toTQString(env, databaseText, &_qstring_databaseText), (int) type)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlError_newTQSqlError__Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring driverText, jstring databaseText, jint type, jint number) +{ +static TQString* _qstring_driverText = 0; +static TQString* _qstring_databaseText = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlErrorJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, driverText, &_qstring_driverText), (const TQString&)*(TQString*) QtSupport::toTQString(env, databaseText, &_qstring_databaseText), (int) type, (int) number)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlError_newTQSqlError__Lorg_kde_qt_QSqlError_2(JNIEnv* env, jobject obj, jobject other) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlErrorJBridge((const TQSqlError&)*(const TQSqlError*) QtSupport::getQt(env, other))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSqlError_number(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSqlError*) QtSupport::getQt(env, obj))->number(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlError_setDatabaseText(JNIEnv* env, jobject obj, jstring databaseText) +{ +static TQString* _qstring_databaseText = 0; + ((TQSqlError*) QtSupport::getQt(env, obj))->setDatabaseText((const TQString&)*(TQString*) QtSupport::toTQString(env, databaseText, &_qstring_databaseText)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlError_setDriverText(JNIEnv* env, jobject obj, jstring driverText) +{ +static TQString* _qstring_driverText = 0; + ((TQSqlError*) QtSupport::getQt(env, obj))->setDriverText((const TQString&)*(TQString*) QtSupport::toTQString(env, driverText, &_qstring_driverText)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlError_setNumber(JNIEnv* env, jobject obj, jint number) +{ + ((TQSqlError*) QtSupport::getQt(env, obj))->setNumber((int) number); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlError_setType(JNIEnv* env, jobject obj, jint type) +{ + ((TQSqlError*) QtSupport::getQt(env, obj))->setType((int) type); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlError_showMessage__(JNIEnv* env, jobject obj) +{ + ((TQSqlError*) QtSupport::getQt(env, obj))->showMessage(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlError_showMessage__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring msg) +{ +static TQString* _qstring_msg = 0; + ((TQSqlError*) QtSupport::getQt(env, obj))->showMessage((const TQString&)*(TQString*) QtSupport::toTQString(env, msg, &_qstring_msg)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlError_text(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQSqlError*) QtSupport::getQt(env, obj))->text(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSqlError_type(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSqlError*) QtSupport::getQt(env, obj))->type(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQSqlError.h b/qtjava/javalib/qtjava/TQSqlError.h new file mode 100644 index 00000000..3b236201 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSqlError.h @@ -0,0 +1,38 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QSqlError__ +#define __org_kde_qt_QSqlError__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlError_newTQSqlError__Ljava_lang_String_2Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jstring, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlError_newTQSqlError__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlError_newTQSqlError__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlError_newTQSqlError__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlError_newTQSqlError__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlError_newTQSqlError__Lorg_kde_qt_QSqlError_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlError_driverText (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlError_setDriverText (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlError_databaseText (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlError_setDatabaseText (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlError_type (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlError_setType (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlError_number (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlError_setNumber (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlError_text (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlError_showMessage__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlError_showMessage__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlError_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlError_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlError_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QSqlError__ */ diff --git a/qtjava/javalib/qtjava/TQSqlField.cpp b/qtjava/javalib/qtjava/TQSqlField.cpp new file mode 100644 index 00000000..c339a75f --- /dev/null +++ b/qtjava/javalib/qtjava/TQSqlField.cpp @@ -0,0 +1,173 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQSqlFieldJBridge : public TQSqlField +{ +public: + TQSqlFieldJBridge(const TQString& arg1,TQVariant::Type arg2) : TQSqlField(arg1,arg2) {}; + TQSqlFieldJBridge(const TQString& arg1) : TQSqlField(arg1) {}; + TQSqlFieldJBridge() : TQSqlField() {}; + TQSqlFieldJBridge(const TQSqlField& arg1) : TQSqlField(arg1) {}; + void public_setNull() { + TQSqlField::setNull(); + return; + } + ~TQSqlFieldJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlField_clear__(JNIEnv* env, jobject obj) +{ + ((TQSqlField*) QtSupport::getQt(env, obj))->clear(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlField_clear__Z(JNIEnv* env, jobject obj, jboolean nullify) +{ + ((TQSqlField*) QtSupport::getQt(env, obj))->clear((bool) nullify); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlField_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QSqlField_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlField_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQSqlField*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlField_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlField_isNull(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlField*) QtSupport::getQt(env, obj))->isNull(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlField_isReadOnly(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlField*) QtSupport::getQt(env, obj))->isReadOnly(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlField_name(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQSqlField*) QtSupport::getQt(env, obj))->name(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlField_newTQSqlField__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlFieldJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlField_newTQSqlField__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fieldName) +{ +static TQString* _qstring_fieldName = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlFieldJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlField_newTQSqlField__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring fieldName, jint type) +{ +static TQString* _qstring_fieldName = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlFieldJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName), (TQVariant::Type) type)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlField_newTQSqlField__Lorg_kde_qt_QSqlField_2(JNIEnv* env, jobject obj, jobject other) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlFieldJBridge((const TQSqlField&)*(const TQSqlField*) QtSupport::getQt(env, other))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlField_op_1equals(JNIEnv* env, jobject obj, jobject other) +{ + jboolean xret = (jboolean) ((TQSqlField*) QtSupport::getQt(env, obj))->operator==((const TQSqlField&)*(const TQSqlField*) QtSupport::getQt(env, other)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlField_setName(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + ((TQSqlField*) QtSupport::getQt(env, obj))->setName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlField_setNull(JNIEnv* env, jobject obj) +{ + ((TQSqlFieldJBridge*) QtSupport::getQt(env, obj))->public_setNull(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlField_setReadOnly(JNIEnv* env, jobject obj, jboolean readOnly) +{ + ((TQSqlField*) QtSupport::getQt(env, obj))->setReadOnly((bool) readOnly); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlField_setValue(JNIEnv* env, jobject obj, jobject value) +{ + ((TQSqlField*) QtSupport::getQt(env, obj))->setValue((const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, value)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSqlField_type(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSqlField*) QtSupport::getQt(env, obj))->type(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlField_value(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSqlField*) QtSupport::getQt(env, obj))->value()), "org.kde.qt.TQVariant", TRUE); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQSqlField.h b/qtjava/javalib/qtjava/TQSqlField.h new file mode 100644 index 00000000..2e6da3da --- /dev/null +++ b/qtjava/javalib/qtjava/TQSqlField.h @@ -0,0 +1,37 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QSqlField__ +#define __org_kde_qt_QSqlField__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlField_newTQSqlField__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlField_newTQSqlField__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlField_newTQSqlField__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlField_newTQSqlField__Lorg_kde_qt_QSqlField_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlField_op_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlField_setValue (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlField_value (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlField_setName (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlField_name (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlField_setNull (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlField_isNull (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlField_setReadOnly (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlField_isReadOnly (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlField_clear__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlField_clear__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlField_type (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlField_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlField_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlField_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QSqlField__ */ diff --git a/qtjava/javalib/qtjava/TQSqlFieldInfo.cpp b/qtjava/javalib/qtjava/TQSqlFieldInfo.cpp new file mode 100644 index 00000000..670fa519 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSqlFieldInfo.cpp @@ -0,0 +1,307 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQSqlFieldInfoJBridge : public TQSqlFieldInfo +{ +public: + TQSqlFieldInfoJBridge(const TQString& arg1,TQVariant::Type arg2,int arg3,int arg4,int arg5,const TQVariant& arg6,int arg7,bool arg8,bool arg9,bool arg10) : TQSqlFieldInfo(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {}; + TQSqlFieldInfoJBridge(const TQString& arg1,TQVariant::Type arg2,int arg3,int arg4,int arg5,const TQVariant& arg6,int arg7,bool arg8,bool arg9) : TQSqlFieldInfo(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; + TQSqlFieldInfoJBridge(const TQString& arg1,TQVariant::Type arg2,int arg3,int arg4,int arg5,const TQVariant& arg6,int arg7,bool arg8) : TQSqlFieldInfo(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; + TQSqlFieldInfoJBridge(const TQString& arg1,TQVariant::Type arg2,int arg3,int arg4,int arg5,const TQVariant& arg6,int arg7) : TQSqlFieldInfo(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TQSqlFieldInfoJBridge(const TQString& arg1,TQVariant::Type arg2,int arg3,int arg4,int arg5,const TQVariant& arg6) : TQSqlFieldInfo(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TQSqlFieldInfoJBridge(const TQString& arg1,TQVariant::Type arg2,int arg3,int arg4,int arg5) : TQSqlFieldInfo(arg1,arg2,arg3,arg4,arg5) {}; + TQSqlFieldInfoJBridge(const TQString& arg1,TQVariant::Type arg2,int arg3,int arg4) : TQSqlFieldInfo(arg1,arg2,arg3,arg4) {}; + TQSqlFieldInfoJBridge(const TQString& arg1,TQVariant::Type arg2,int arg3) : TQSqlFieldInfo(arg1,arg2,arg3) {}; + TQSqlFieldInfoJBridge(const TQString& arg1,TQVariant::Type arg2) : TQSqlFieldInfo(arg1,arg2) {}; + TQSqlFieldInfoJBridge(const TQString& arg1) : TQSqlFieldInfo(arg1) {}; + TQSqlFieldInfoJBridge() : TQSqlFieldInfo() {}; + TQSqlFieldInfoJBridge(const TQSqlFieldInfo& arg1) : TQSqlFieldInfo(arg1) {}; + TQSqlFieldInfoJBridge(const TQSqlField& arg1,bool arg2) : TQSqlFieldInfo(arg1,arg2) {}; + TQSqlFieldInfoJBridge(const TQSqlField& arg1) : TQSqlFieldInfo(arg1) {}; + ~TQSqlFieldInfoJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlFieldInfo_defaultValue(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSqlFieldInfo*) QtSupport::getQt(env, obj))->defaultValue()), "org.kde.qt.TQVariant", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlFieldInfo_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QSqlFieldInfo_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlFieldInfo_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQSqlFieldInfo*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlFieldInfo_isCalculated(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlFieldInfo*) QtSupport::getQt(env, obj))->isCalculated(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlFieldInfo_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlFieldInfo_isGenerated(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlFieldInfo*) QtSupport::getQt(env, obj))->isGenerated(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSqlFieldInfo_isRequired(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSqlFieldInfo*) QtSupport::getQt(env, obj))->isRequired(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlFieldInfo_isTrim(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlFieldInfo*) QtSupport::getQt(env, obj))->isTrim(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSqlFieldInfo_length(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSqlFieldInfo*) QtSupport::getQt(env, obj))->length(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlFieldInfo_name(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQSqlFieldInfo*) QtSupport::getQt(env, obj))->name(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__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 TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint typ) +{ +static TQString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint typ, jint retquired) +{ +static TQString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) retquired)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2III(JNIEnv* env, jobject obj, jstring name, jint typ, jint retquired, jint len) +{ +static TQString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) retquired, (int) len)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIII(JNIEnv* env, jobject obj, jstring name, jint typ, jint retquired, jint len, jint prec) +{ +static TQString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) retquired, (int) len, (int) prec)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jstring name, jint typ, jint retquired, jint len, jint prec, jobject defValue) +{ +static TQString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) retquired, (int) len, (int) prec, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, defValue))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2I(JNIEnv* env, jobject obj, jstring name, jint typ, jint retquired, jint len, jint prec, jobject defValue, jint sqlType) +{ +static TQString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) retquired, (int) len, (int) prec, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, defValue), (int) sqlType)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2IZ(JNIEnv* env, jobject obj, jstring name, jint typ, jint retquired, jint len, jint prec, jobject defValue, jint sqlType, jboolean generated) +{ +static TQString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) retquired, (int) len, (int) prec, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, defValue), (int) sqlType, (bool) generated)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2IZZ(JNIEnv* env, jobject obj, jstring name, jint typ, jint retquired, jint len, jint prec, jobject defValue, jint sqlType, jboolean generated, jboolean trim) +{ +static TQString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) retquired, (int) len, (int) prec, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, defValue), (int) sqlType, (bool) generated, (bool) trim)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2IZZZ(JNIEnv* env, jobject obj, jstring name, jint typ, jint retquired, jint len, jint prec, jobject defValue, jint sqlType, jboolean generated, jboolean trim, jboolean calculated) +{ +static TQString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) retquired, (int) len, (int) prec, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, defValue), (int) sqlType, (bool) generated, (bool) trim, (bool) calculated)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Lorg_kde_qt_QSqlFieldInfo_2(JNIEnv* env, jobject obj, jobject other) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQSqlFieldInfo&)*(const TQSqlFieldInfo*) QtSupport::getQt(env, other))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Lorg_kde_qt_QSqlField_2(JNIEnv* env, jobject obj, jobject other) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQSqlField&)*(const TQSqlField*) QtSupport::getQt(env, other))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Lorg_kde_qt_QSqlField_2Z(JNIEnv* env, jobject obj, jobject other, jboolean generated) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQSqlField&)*(const TQSqlField*) QtSupport::getQt(env, other), (bool) generated)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlFieldInfo_op_1equals(JNIEnv* env, jobject obj, jobject f) +{ + jboolean xret = (jboolean) ((TQSqlFieldInfo*) QtSupport::getQt(env, obj))->operator==((const TQSqlFieldInfo&)*(const TQSqlFieldInfo*) QtSupport::getQt(env, f)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSqlFieldInfo_precision(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSqlFieldInfo*) QtSupport::getQt(env, obj))->precision(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlFieldInfo_setCalculated(JNIEnv* env, jobject obj, jboolean calc) +{ + ((TQSqlFieldInfo*) QtSupport::getQt(env, obj))->setCalculated((bool) calc); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlFieldInfo_setGenerated(JNIEnv* env, jobject obj, jboolean gen) +{ + ((TQSqlFieldInfo*) QtSupport::getQt(env, obj))->setGenerated((bool) gen); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlFieldInfo_setTrim(JNIEnv* env, jobject obj, jboolean trim) +{ + ((TQSqlFieldInfo*) QtSupport::getQt(env, obj))->setTrim((bool) trim); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlFieldInfo_toField(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlField(((TQSqlFieldInfo*) QtSupport::getQt(env, obj))->toField()), "org.kde.qt.TQSqlField", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSqlFieldInfo_typeID(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSqlFieldInfo*) QtSupport::getQt(env, obj))->typeID(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSqlFieldInfo_type(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSqlFieldInfo*) QtSupport::getQt(env, obj))->type(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQSqlFieldInfo.h b/qtjava/javalib/qtjava/TQSqlFieldInfo.h new file mode 100644 index 00000000..f2f88df3 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSqlFieldInfo.h @@ -0,0 +1,50 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QSqlFieldInfo__ +#define __org_kde_qt_QSqlFieldInfo__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2IZZZ (JNIEnv *env, jobject, jstring, jint, jint, jint, jint, jobject, jint, jboolean, jboolean, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2IZZ (JNIEnv *env, jobject, jstring, jint, jint, jint, jint, jobject, jint, jboolean, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2IZ (JNIEnv *env, jobject, jstring, jint, jint, jint, jint, jobject, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2I (JNIEnv *env, jobject, jstring, jint, jint, jint, jint, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2 (JNIEnv *env, jobject, jstring, jint, jint, jint, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIII (JNIEnv *env, jobject, jstring, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2III (JNIEnv *env, jobject, jstring, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Lorg_kde_qt_QSqlFieldInfo_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Lorg_kde_qt_QSqlField_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Lorg_kde_qt_QSqlField_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlFieldInfo_op_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlFieldInfo_toField (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlFieldInfo_isRequired (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlFieldInfo_type (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlFieldInfo_length (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlFieldInfo_precision (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlFieldInfo_defaultValue (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlFieldInfo_name (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlFieldInfo_typeID (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlFieldInfo_isGenerated (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlFieldInfo_isTrim (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlFieldInfo_isCalculated (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_setTrim (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_setGenerated (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_setCalculated (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlFieldInfo_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QSqlFieldInfo__ */ diff --git a/qtjava/javalib/qtjava/TQSqlForm.cpp b/qtjava/javalib/qtjava/TQSqlForm.cpp new file mode 100644 index 00000000..896bc06a --- /dev/null +++ b/qtjava/javalib/qtjava/TQSqlForm.cpp @@ -0,0 +1,341 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQSqlFormJBridge : public TQSqlForm +{ +public: + TQSqlFormJBridge(TQObject* arg1,const char* arg2) : TQSqlForm(arg1,arg2) {}; + TQSqlFormJBridge(TQObject* arg1) : TQSqlForm(arg1) {}; + TQSqlFormJBridge() : TQSqlForm() {}; + void public_readFields() { + TQSqlForm::readFields(); + return; + } + void public_writeFields() { + TQSqlForm::writeFields(); + return; + } + void public_clear() { + TQSqlForm::clear(); + return; + } + void public_clearValues() { + TQSqlForm::clearValues(); + return; + } + void protected_insert(TQWidget* arg1,TQSqlField* arg2) { + TQSqlForm::insert(arg1,arg2); + return; + } + void protected_remove(TQWidget* arg1) { + TQSqlForm::remove(arg1); + return; + } + void protected_clearMap() { + TQSqlForm::clearMap(); + return; + } + ~TQSqlFormJBridge() {QtSupport::qtKeyDeleted(this);} + void writeFields() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSqlForm","writeFields")) { + TQSqlForm::writeFields(); + } + return; + } + void writeField(TQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"writeField",(void*)arg1,"org.kde.qt.TQWidget")) { + TQSqlForm::writeField(arg1); + } + 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.qt.TQSqlForm","clear")) { + TQSqlForm::clear(); + } + return; + } + void readFields() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSqlForm","readFields")) { + TQSqlForm::readFields(); + } + return; + } + void remove(TQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"remove",(void*)arg1,"org.kde.qt.TQWidget")) { + TQSqlForm::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 setRecord(TQSqlRecord* arg1) { + if (!QtSupport::eventDelegate(this,"setRecord",(void*)arg1,"org.kde.qt.TQSqlRecord")) { + TQSqlForm::setRecord(arg1); + } + return; + } + void readField(TQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"readField",(void*)arg1,"org.kde.qt.TQWidget")) { + TQSqlForm::readField(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.qt.TQSqlForm",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlForm_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQSqlForm*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlForm_clearMap(JNIEnv* env, jobject obj) +{ + ((TQSqlFormJBridge*) QtSupport::getQt(env, obj))->protected_clearMap(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlForm_clearValues__(JNIEnv* env, jobject obj) +{ + ((TQSqlFormJBridge*) QtSupport::getQt(env, obj))->public_clearValues(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlForm_clearValues__Z(JNIEnv* env, jobject obj, jboolean nullify) +{ + ((TQSqlForm*) QtSupport::getQt(env, obj))->clearValues((bool) nullify); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlForm_clear(JNIEnv* env, jobject obj) +{ + ((TQSqlFormJBridge*) QtSupport::getQt(env, obj))->public_clear(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSqlForm_count(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSqlForm*) QtSupport::getQt(env, obj))->count(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlForm_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QSqlForm_finalize(env, obj); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlForm_fieldToWidget(JNIEnv* env, jobject obj, jobject field) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlForm*) QtSupport::getQt(env, obj))->fieldToWidget((TQSqlField*) QtSupport::getQt(env, field)), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlForm_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQSqlForm*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQSqlForm*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlForm_insert__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject widget, jstring field) +{ +static TQString* _qstring_field = 0; + ((TQSqlForm*) QtSupport::getQt(env, obj))->insert((TQWidget*) QtSupport::getQt(env, widget), (const TQString&)*(TQString*) QtSupport::toTQString(env, field, &_qstring_field)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlForm_insert__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QSqlField_2(JNIEnv* env, jobject obj, jobject widget, jobject field) +{ + ((TQSqlFormJBridge*) QtSupport::getQt(env, obj))->protected_insert((TQWidget*) QtSupport::getQt(env, widget), (TQSqlField*) QtSupport::getQt(env, field)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlForm_installPropertyMap(JNIEnv* env, jobject obj, jobject map) +{ + ((TQSqlForm*) QtSupport::getQt(env, obj))->installPropertyMap((TQSqlPropertyMap*) QtSupport::getQt(env, map)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlForm_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlForm_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlForm*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlForm_newTQSqlForm__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlFormJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlForm_newTQSqlForm__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlFormJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlForm_newTQSqlForm__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 TQSqlFormJBridge((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_qt_QSqlForm_readField(JNIEnv* env, jobject obj, jobject widget) +{ + ((TQSqlForm*) QtSupport::getQt(env, obj))->readField((TQWidget*) QtSupport::getQt(env, widget)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlForm_readFields(JNIEnv* env, jobject obj) +{ + ((TQSqlFormJBridge*) QtSupport::getQt(env, obj))->public_readFields(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlForm_remove__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring field) +{ +static TQString* _qstring_field = 0; + ((TQSqlForm*) QtSupport::getQt(env, obj))->remove((const TQString&)*(TQString*) QtSupport::toTQString(env, field, &_qstring_field)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlForm_remove__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) +{ + ((TQSqlFormJBridge*) QtSupport::getQt(env, obj))->protected_remove((TQWidget*) QtSupport::getQt(env, widget)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlForm_setRecord(JNIEnv* env, jobject obj, jobject buf) +{ + ((TQSqlForm*) QtSupport::getQt(env, obj))->setRecord((TQSqlRecord*) QtSupport::getQt(env, buf)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlForm_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQSqlFormJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlForm_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQSqlFormJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlForm_widgetToField(JNIEnv* env, jobject obj, jobject widget) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlForm*) QtSupport::getQt(env, obj))->widgetToField((TQWidget*) QtSupport::getQt(env, widget)), "org.kde.qt.TQSqlField"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlForm_widget(JNIEnv* env, jobject obj, jint i) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlForm*) QtSupport::getQt(env, obj))->widget((uint) i), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlForm_writeField(JNIEnv* env, jobject obj, jobject widget) +{ + ((TQSqlForm*) QtSupport::getQt(env, obj))->writeField((TQWidget*) QtSupport::getQt(env, widget)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlForm_writeFields(JNIEnv* env, jobject obj) +{ + ((TQSqlFormJBridge*) QtSupport::getQt(env, obj))->public_writeFields(); + return; +} + diff --git a/qtjava/javalib/qtjava/TQSqlForm.h b/qtjava/javalib/qtjava/TQSqlForm.h new file mode 100644 index 00000000..beb90a0c --- /dev/null +++ b/qtjava/javalib/qtjava/TQSqlForm.h @@ -0,0 +1,46 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QSqlForm__ +#define __org_kde_qt_QSqlForm__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlForm_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlForm_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_newTQSqlForm__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_newTQSqlForm__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_newTQSqlForm__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_insert__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_remove__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlForm_count (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlForm_widget (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlForm_widgetToField (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlForm_fieldToWidget (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_installPropertyMap (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_setRecord (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_readField (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_writeField (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_readFields (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_writeFields (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_clear (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_clearValues__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_clearValues__ (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlForm_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlForm_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_insert__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QSqlField_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_remove__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_clearMap (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlForm_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QSqlForm__ */ diff --git a/qtjava/javalib/qtjava/TQSqlIndex.cpp b/qtjava/javalib/qtjava/TQSqlIndex.cpp new file mode 100644 index 00000000..e0660023 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSqlIndex.cpp @@ -0,0 +1,217 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +class TQSqlIndexJBridge : public TQSqlIndex +{ +public: + TQSqlIndexJBridge(const TQString& arg1,const TQString& arg2) : TQSqlIndex(arg1,arg2) {}; + TQSqlIndexJBridge(const TQString& arg1) : TQSqlIndex(arg1) {}; + TQSqlIndexJBridge() : TQSqlIndex() {}; + TQSqlIndexJBridge(const TQSqlIndex& arg1) : TQSqlIndex(arg1) {}; + ~TQSqlIndexJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlIndex_append__Lorg_kde_qt_QSqlField_2(JNIEnv* env, jobject obj, jobject field) +{ + ((TQSqlIndex*) QtSupport::getQt(env, obj))->append((const TQSqlField&)*(const TQSqlField*) QtSupport::getQt(env, field)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlIndex_append__Lorg_kde_qt_QSqlField_2Z(JNIEnv* env, jobject obj, jobject field, jboolean desc) +{ + ((TQSqlIndex*) QtSupport::getQt(env, obj))->append((const TQSqlField&)*(const TQSqlField*) QtSupport::getQt(env, field), (bool) desc); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlIndex_cursorName(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQSqlIndex*) QtSupport::getQt(env, obj))->cursorName(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlIndex_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QSqlIndex_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlIndex_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQSqlIndex*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlIndex_fromStringList(JNIEnv* env, jclass cls, jobjectArray l, jobject cursor) +{ + (void) cls; +static TQStringList* _qlist_l = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlIndex(TQSqlIndexJBridge::fromStringList((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, l, &_qlist_l), (const TQSqlCursor*) QtSupport::getQt(env, cursor))), "org.kde.qt.TQSqlIndex", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlIndex_isDescending(JNIEnv* env, jobject obj, jint i) +{ + jboolean xret = (jboolean) ((TQSqlIndex*) QtSupport::getQt(env, obj))->isDescending((int) i); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlIndex_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlIndex_name(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQSqlIndex*) QtSupport::getQt(env, obj))->name(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlIndex_newTQSqlIndex__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlIndexJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlIndex_newTQSqlIndex__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring cursorName) +{ +static TQString* _qstring_cursorName = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlIndexJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, cursorName, &_qstring_cursorName))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlIndex_newTQSqlIndex__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring cursorName, jstring name) +{ +static TQString* _qstring_cursorName = 0; +static TQString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlIndexJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, cursorName, &_qstring_cursorName), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlIndex_newTQSqlIndex__Lorg_kde_qt_QSqlIndex_2(JNIEnv* env, jobject obj, jobject other) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlIndexJBridge((const TQSqlIndex&)*(const TQSqlIndex*) QtSupport::getQt(env, other))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlIndex_setCursorName(JNIEnv* env, jobject obj, jstring cursorName) +{ +static TQString* _qstring_cursorName = 0; + ((TQSqlIndex*) QtSupport::getQt(env, obj))->setCursorName((const TQString&)*(TQString*) QtSupport::toTQString(env, cursorName, &_qstring_cursorName)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlIndex_setDescending(JNIEnv* env, jobject obj, jint i, jboolean desc) +{ + ((TQSqlIndex*) QtSupport::getQt(env, obj))->setDescending((int) i, (bool) desc); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlIndex_setName(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + ((TQSqlIndex*) QtSupport::getQt(env, obj))->setName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlIndex_toStringList__(JNIEnv* env, jobject obj) +{ + TQStringList _qlist; + _qlist = ((TQSqlIndex*) QtSupport::getQt(env, obj))->toStringList(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlIndex_toStringList__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring prefix) +{ + TQStringList _qlist; +static TQString* _qstring_prefix = 0; + _qlist = ((TQSqlIndex*) QtSupport::getQt(env, obj))->toStringList((const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlIndex_toStringList__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring prefix, jboolean verbose) +{ + TQStringList _qlist; +static TQString* _qstring_prefix = 0; + _qlist = ((TQSqlIndex*) QtSupport::getQt(env, obj))->toStringList((const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix), (bool) verbose); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlIndex_toString__(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQSqlIndex*) QtSupport::getQt(env, obj))->toString(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlIndex_toString__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring prefix) +{ + TQString _qstring; +static TQString* _qstring_prefix = 0; + _qstring = ((TQSqlIndex*) QtSupport::getQt(env, obj))->toString((const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlIndex_toString__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring prefix, jstring sep) +{ + TQString _qstring; +static TQString* _qstring_prefix = 0; +static TQString* _qstring_sep = 0; + _qstring = ((TQSqlIndex*) QtSupport::getQt(env, obj))->toString((const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix), (const TQString&)*(TQString*) QtSupport::toTQString(env, sep, &_qstring_sep)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlIndex_toString__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring prefix, jstring sep, jboolean verbose) +{ + TQString _qstring; +static TQString* _qstring_prefix = 0; +static TQString* _qstring_sep = 0; + _qstring = ((TQSqlIndex*) QtSupport::getQt(env, obj))->toString((const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix), (const TQString&)*(TQString*) QtSupport::toTQString(env, sep, &_qstring_sep), (bool) verbose); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQSqlIndex.h b/qtjava/javalib/qtjava/TQSqlIndex.h new file mode 100644 index 00000000..0abe585a --- /dev/null +++ b/qtjava/javalib/qtjava/TQSqlIndex.h @@ -0,0 +1,41 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QSqlIndex__ +#define __org_kde_qt_QSqlIndex__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlIndex_newTQSqlIndex__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlIndex_newTQSqlIndex__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlIndex_newTQSqlIndex__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlIndex_newTQSqlIndex__Lorg_kde_qt_QSqlIndex_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlIndex_setCursorName (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlIndex_cursorName (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlIndex_setName (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlIndex_name (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlIndex_append__Lorg_kde_qt_QSqlField_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlIndex_append__Lorg_kde_qt_QSqlField_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlIndex_isDescending (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlIndex_setDescending (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlIndex_toString__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlIndex_toString__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlIndex_toString__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlIndex_toString__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlIndex_toStringList__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlIndex_toStringList__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlIndex_toStringList__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlIndex_fromStringList (JNIEnv *env, jclass, jobjectArray, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlIndex_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlIndex_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlIndex_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QSqlIndex__ */ diff --git a/qtjava/javalib/qtjava/TQSqlPropertyMap.cpp b/qtjava/javalib/qtjava/TQSqlPropertyMap.cpp new file mode 100644 index 00000000..c3bad6e8 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSqlPropertyMap.cpp @@ -0,0 +1,95 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQSqlPropertyMapJBridge : public TQSqlPropertyMap +{ +public: + TQSqlPropertyMapJBridge() : TQSqlPropertyMap() {}; + ~TQSqlPropertyMapJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlPropertyMap_defaultMap(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlPropertyMapJBridge::defaultMap(), "org.kde.qt.TQSqlPropertyMap"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlPropertyMap_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QSqlPropertyMap_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlPropertyMap_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQSqlPropertyMap*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlPropertyMap_insert(JNIEnv* env, jobject obj, jstring classname, jstring property) +{ +static TQString* _qstring_classname = 0; +static TQString* _qstring_property = 0; + ((TQSqlPropertyMap*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, classname, &_qstring_classname), (const TQString&)*(TQString*) QtSupport::toTQString(env, property, &_qstring_property)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlPropertyMap_installDefaultMap(JNIEnv* env, jclass cls, jobject map) +{ + (void) cls; + TQSqlPropertyMapJBridge::installDefaultMap((TQSqlPropertyMap*) QtSupport::getQt(env, map)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlPropertyMap_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlPropertyMap_newTQSqlPropertyMap(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlPropertyMapJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlPropertyMap_property(JNIEnv* env, jobject obj, jobject widget) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSqlPropertyMap*) QtSupport::getQt(env, obj))->property((TQWidget*) QtSupport::getQt(env, widget))), "org.kde.qt.TQVariant", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlPropertyMap_remove(JNIEnv* env, jobject obj, jstring classname) +{ +static TQString* _qstring_classname = 0; + ((TQSqlPropertyMap*) QtSupport::getQt(env, obj))->remove((const TQString&)*(TQString*) QtSupport::toTQString(env, classname, &_qstring_classname)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlPropertyMap_setProperty(JNIEnv* env, jobject obj, jobject widget, jobject value) +{ + ((TQSqlPropertyMap*) QtSupport::getQt(env, obj))->setProperty((TQWidget*) QtSupport::getQt(env, widget), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, value)); + return; +} + diff --git a/qtjava/javalib/qtjava/TQSqlPropertyMap.h b/qtjava/javalib/qtjava/TQSqlPropertyMap.h new file mode 100644 index 00000000..944b566b --- /dev/null +++ b/qtjava/javalib/qtjava/TQSqlPropertyMap.h @@ -0,0 +1,28 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QSqlPropertyMap__ +#define __org_kde_qt_QSqlPropertyMap__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlPropertyMap_newTQSqlPropertyMap (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlPropertyMap_property (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlPropertyMap_setProperty (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlPropertyMap_insert (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlPropertyMap_remove (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlPropertyMap_defaultMap (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlPropertyMap_installDefaultMap (JNIEnv *env, jclass, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlPropertyMap_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlPropertyMap_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlPropertyMap_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QSqlPropertyMap__ */ diff --git a/qtjava/javalib/qtjava/TQSqlQuery.cpp b/qtjava/javalib/qtjava/TQSqlQuery.cpp new file mode 100644 index 00000000..0ab1f738 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSqlQuery.cpp @@ -0,0 +1,360 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include + +#include +#include + +class TQSqlQueryJBridge : public TQSqlQuery +{ +public: + TQSqlQueryJBridge(TQSqlResult* arg1) : TQSqlQuery(arg1) {}; + TQSqlQueryJBridge(const TQString& arg1,TQSqlDatabase* arg2) : TQSqlQuery(arg1,arg2) {}; + TQSqlQueryJBridge(const TQString& arg1) : TQSqlQuery(arg1) {}; + TQSqlQueryJBridge() : TQSqlQuery() {}; + TQSqlQueryJBridge(TQSqlDatabase* arg1) : TQSqlQuery(arg1) {}; + TQSqlQueryJBridge(const TQSqlQuery& arg1) : TQSqlQuery(arg1) {}; + void protected_beforeSeek() { + TQSqlQuery::beforeSeek(); + return; + } + void protected_afterSeek() { + TQSqlQuery::afterSeek(); + return; + } + ~TQSqlQueryJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlQuery_addBindValue__Lorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jobject val) +{ + ((TQSqlQuery*) QtSupport::getQt(env, obj))->addBindValue((const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlQuery_addBindValue__Lorg_kde_qt_QVariant_2I(JNIEnv* env, jobject obj, jobject val, jint type) +{ + ((TQSqlQuery*) QtSupport::getQt(env, obj))->addBindValue((const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val), (TQSql::ParameterType) type); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlQuery_afterSeek(JNIEnv* env, jobject obj) +{ + ((TQSqlQueryJBridge*) QtSupport::getQt(env, obj))->protected_afterSeek(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSqlQuery_at(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSqlQuery*) QtSupport::getQt(env, obj))->at(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlQuery_beforeSeek(JNIEnv* env, jobject obj) +{ + ((TQSqlQueryJBridge*) QtSupport::getQt(env, obj))->protected_beforeSeek(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlQuery_bindValue__ILorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jint pos, jobject val) +{ + ((TQSqlQuery*) QtSupport::getQt(env, obj))->bindValue((int) pos, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlQuery_bindValue__ILorg_kde_qt_QVariant_2I(JNIEnv* env, jobject obj, jint pos, jobject val, jint type) +{ + ((TQSqlQuery*) QtSupport::getQt(env, obj))->bindValue((int) pos, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val), (TQSql::ParameterType) type); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlQuery_bindValue__Ljava_lang_String_2Lorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jstring placeholder, jobject val) +{ +static TQString* _qstring_placeholder = 0; + ((TQSqlQuery*) QtSupport::getQt(env, obj))->bindValue((const TQString&)*(TQString*) QtSupport::toTQString(env, placeholder, &_qstring_placeholder), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlQuery_bindValue__Ljava_lang_String_2Lorg_kde_qt_QVariant_2I(JNIEnv* env, jobject obj, jstring placeholder, jobject val, jint type) +{ +static TQString* _qstring_placeholder = 0; + ((TQSqlQuery*) QtSupport::getQt(env, obj))->bindValue((const TQString&)*(TQString*) QtSupport::toTQString(env, placeholder, &_qstring_placeholder), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val), (TQSql::ParameterType) type); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlQuery_boundValue__I(JNIEnv* env, jobject obj, jint pos) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSqlQuery*) QtSupport::getQt(env, obj))->boundValue((int) pos)), "org.kde.qt.TQVariant", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlQuery_boundValue__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring placeholder) +{ +static TQString* _qstring_placeholder = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSqlQuery*) QtSupport::getQt(env, obj))->boundValue((const TQString&)*(TQString*) QtSupport::toTQString(env, placeholder, &_qstring_placeholder))), "org.kde.qt.TQVariant", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlQuery_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QSqlQuery_finalize(env, obj); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlQuery_driver(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlQuery*) QtSupport::getQt(env, obj))->driver(), "org.kde.qt.TQSqlDriver"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlQuery_exec__(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->exec(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlQuery_exec__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring query) +{ +static TQString* _qstring_query = 0; + jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->exec((const TQString&)*(TQString*) QtSupport::toTQString(env, query, &_qstring_query)); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlQuery_executedQuery(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQSqlQuery*) QtSupport::getQt(env, obj))->executedQuery(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlQuery_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQSqlQuery*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlQuery_first(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->first(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlQuery_isActive(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->isActive(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlQuery_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlQuery_isForwardOnly(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->isForwardOnly(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlQuery_isNull(JNIEnv* env, jobject obj, jint field) +{ + jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->isNull((int) field); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlQuery_isSelect(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->isSelect(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlQuery_isValid(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->isValid(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlQuery_lastError(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlError(((TQSqlQuery*) QtSupport::getQt(env, obj))->lastError()), "org.kde.qt.TQSqlError", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlQuery_lastQuery(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQSqlQuery*) QtSupport::getQt(env, obj))->lastQuery(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlQuery_last(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->last(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlQuery_newTQSqlQuery__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlQueryJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlQuery_newTQSqlQuery__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring query) +{ +static TQString* _qstring_query = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlQueryJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, query, &_qstring_query))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlQuery_newTQSqlQuery__Ljava_lang_String_2Lorg_kde_qt_QSqlDatabase_2(JNIEnv* env, jobject obj, jstring query, jobject db) +{ +static TQString* _qstring_query = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlQueryJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, query, &_qstring_query), (TQSqlDatabase*) QtSupport::getQt(env, db))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlQuery_newTQSqlQuery__Lorg_kde_qt_QSqlDatabase_2(JNIEnv* env, jobject obj, jobject db) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlQueryJBridge((TQSqlDatabase*) QtSupport::getQt(env, db))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlQuery_newTQSqlQuery__Lorg_kde_qt_QSqlQueryInterface_2(JNIEnv* env, jobject obj, jobject other) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlQueryJBridge((const TQSqlQuery&)*(const TQSqlQuery*) QtSupport::getQt(env, other))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlQuery_newTQSqlQuery__Lorg_kde_qt_QSqlResult_2(JNIEnv* env, jobject obj, jobject r) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlQueryJBridge((TQSqlResult*) QtSupport::getQt(env, r))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlQuery_next(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->next(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSqlQuery_numRowsAffected(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSqlQuery*) QtSupport::getQt(env, obj))->numRowsAffected(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlQuery_prepare(JNIEnv* env, jobject obj, jstring query) +{ +static TQString* _qstring_query = 0; + jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->prepare((const TQString&)*(TQString*) QtSupport::toTQString(env, query, &_qstring_query)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlQuery_prev(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->prev(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlQuery_result(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlQuery*) QtSupport::getQt(env, obj))->result(), "org.kde.qt.TQSqlResult"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlQuery_seek__I(JNIEnv* env, jobject obj, jint i) +{ + jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->seek((int) i); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlQuery_seek__IZ(JNIEnv* env, jobject obj, jint i, jboolean relative) +{ + jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->seek((int) i, (bool) relative); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlQuery_setForwardOnly(JNIEnv* env, jobject obj, jboolean forward) +{ + ((TQSqlQuery*) QtSupport::getQt(env, obj))->setForwardOnly((bool) forward); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSqlQuery_size(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSqlQuery*) QtSupport::getQt(env, obj))->size(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlQuery_value(JNIEnv* env, jobject obj, jint i) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSqlQuery*) QtSupport::getQt(env, obj))->value((int) i)), "org.kde.qt.TQVariant", TRUE); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQSqlQuery.h b/qtjava/javalib/qtjava/TQSqlQuery.h new file mode 100644 index 00000000..13acb74d --- /dev/null +++ b/qtjava/javalib/qtjava/TQSqlQuery.h @@ -0,0 +1,61 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QSqlQuery__ +#define __org_kde_qt_QSqlQuery__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_newTQSqlQuery__Lorg_kde_qt_QSqlResult_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_newTQSqlQuery__Ljava_lang_String_2Lorg_kde_qt_QSqlDatabase_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_newTQSqlQuery__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_newTQSqlQuery__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_newTQSqlQuery__Lorg_kde_qt_QSqlDatabase_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_newTQSqlQuery__Lorg_kde_qt_QSqlQueryInterface_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlQuery_isValid (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlQuery_isActive (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlQuery_isNull (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlQuery_at (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlQuery_lastQuery (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlQuery_numRowsAffected (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlQuery_lastError (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlQuery_isSelect (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlQuery_size (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlQuery_driver (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlQuery_result (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlQuery_isForwardOnly (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_setForwardOnly (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlQuery_exec__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlQuery_value (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlQuery_seek__IZ (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlQuery_seek__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlQuery_next (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlQuery_prev (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlQuery_first (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlQuery_last (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlQuery_exec__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlQuery_prepare (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_bindValue__Ljava_lang_String_2Lorg_kde_qt_QVariant_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_bindValue__ILorg_kde_qt_QVariant_2 (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_addBindValue__Lorg_kde_qt_QVariant_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_bindValue__Ljava_lang_String_2Lorg_kde_qt_QVariant_2I (JNIEnv *env, jobject, jstring, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_bindValue__ILorg_kde_qt_QVariant_2I (JNIEnv *env, jobject, jint, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_addBindValue__Lorg_kde_qt_QVariant_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlQuery_boundValue__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlQuery_boundValue__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlQuery_executedQuery (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_beforeSeek (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_afterSeek (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlQuery_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QSqlQuery__ */ diff --git a/qtjava/javalib/qtjava/TQSqlRecord.cpp b/qtjava/javalib/qtjava/TQSqlRecord.cpp new file mode 100644 index 00000000..10b1fdc2 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSqlRecord.cpp @@ -0,0 +1,298 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include + +#include +#include + +class TQSqlRecordJBridge : public TQSqlRecord +{ +public: + TQSqlRecordJBridge() : TQSqlRecord() {}; + TQSqlRecordJBridge(const TQSqlRecord& arg1) : TQSqlRecord(arg1) {}; + void public_clear() { + TQSqlRecord::clear(); + return; + } + void public_clearValues() { + TQSqlRecord::clearValues(); + return; + } + ~TQSqlRecordJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlRecord_append(JNIEnv* env, jobject obj, jobject field) +{ + ((TQSqlRecord*) QtSupport::getQt(env, obj))->append((const TQSqlField&)*(const TQSqlField*) QtSupport::getQt(env, field)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlRecord_clearValues__(JNIEnv* env, jobject obj) +{ + ((TQSqlRecordJBridge*) QtSupport::getQt(env, obj))->public_clearValues(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlRecord_clearValues__Z(JNIEnv* env, jobject obj, jboolean nullify) +{ + ((TQSqlRecord*) QtSupport::getQt(env, obj))->clearValues((bool) nullify); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlRecord_clear(JNIEnv* env, jobject obj) +{ + ((TQSqlRecordJBridge*) QtSupport::getQt(env, obj))->public_clear(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlRecord_contains(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TQSqlRecord*) QtSupport::getQt(env, obj))->contains((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSqlRecord_count(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSqlRecord*) QtSupport::getQt(env, obj))->count(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlRecord_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QSqlRecord_finalize(env, obj); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlRecord_fieldName(JNIEnv* env, jobject obj, jint i) +{ + TQString _qstring; + _qstring = ((TQSqlRecord*) QtSupport::getQt(env, obj))->fieldName((int) i); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlRecord_field__I(JNIEnv* env, jobject obj, jint i) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlRecord*) QtSupport::getQt(env, obj))->field((int) i), "org.kde.qt.TQSqlField"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlRecord_field__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlRecord*) QtSupport::getQt(env, obj))->field((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)), "org.kde.qt.TQSqlField"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlRecord_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQSqlRecord*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlRecord_insert(JNIEnv* env, jobject obj, jint pos, jobject field) +{ + ((TQSqlRecord*) QtSupport::getQt(env, obj))->insert((int) pos, (const TQSqlField&)*(const TQSqlField*) QtSupport::getQt(env, field)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlRecord_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlRecord_isEmpty(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQSqlRecord*) QtSupport::getQt(env, obj))->isEmpty(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlRecord_isGenerated__I(JNIEnv* env, jobject obj, jint i) +{ + jboolean xret = (jboolean) ((TQSqlRecord*) QtSupport::getQt(env, obj))->isGenerated((int) i); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlRecord_isGenerated__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TQSqlRecord*) QtSupport::getQt(env, obj))->isGenerated((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlRecord_isNull__I(JNIEnv* env, jobject obj, jint i) +{ + jboolean xret = (jboolean) ((TQSqlRecord*) QtSupport::getQt(env, obj))->isNull((int) i); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QSqlRecord_isNull__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TQSqlRecord*) QtSupport::getQt(env, obj))->isNull((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlRecord_newTQSqlRecord__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlRecordJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlRecord_newTQSqlRecord__Lorg_kde_qt_QSqlRecord_2(JNIEnv* env, jobject obj, jobject other) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQSqlRecordJBridge((const TQSqlRecord&)*(const TQSqlRecord*) QtSupport::getQt(env, other))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSqlRecord_position(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + jint xret = (jint) ((TQSqlRecord*) QtSupport::getQt(env, obj))->position((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlRecord_remove(JNIEnv* env, jobject obj, jint pos) +{ + ((TQSqlRecord*) QtSupport::getQt(env, obj))->remove((int) pos); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlRecord_setGenerated__IZ(JNIEnv* env, jobject obj, jint i, jboolean generated) +{ + ((TQSqlRecord*) QtSupport::getQt(env, obj))->setGenerated((int) i, (bool) generated); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlRecord_setGenerated__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring name, jboolean generated) +{ +static TQString* _qstring_name = 0; + ((TQSqlRecord*) QtSupport::getQt(env, obj))->setGenerated((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (bool) generated); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlRecord_setNull__I(JNIEnv* env, jobject obj, jint i) +{ + ((TQSqlRecord*) QtSupport::getQt(env, obj))->setNull((int) i); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlRecord_setNull__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + ((TQSqlRecord*) QtSupport::getQt(env, obj))->setNull((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlRecord_setValue__ILorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jint i, jobject val) +{ + ((TQSqlRecord*) QtSupport::getQt(env, obj))->setValue((int) i, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSqlRecord_setValue__Ljava_lang_String_2Lorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jstring name, jobject val) +{ +static TQString* _qstring_name = 0; + ((TQSqlRecord*) QtSupport::getQt(env, obj))->setValue((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlRecord_toStringList__(JNIEnv* env, jobject obj) +{ + TQStringList _qlist; + _qlist = ((TQSqlRecord*) QtSupport::getQt(env, obj))->toStringList(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlRecord_toStringList__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring prefix) +{ + TQStringList _qlist; +static TQString* _qstring_prefix = 0; + _qlist = ((TQSqlRecord*) QtSupport::getQt(env, obj))->toStringList((const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlRecord_toString__(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQSqlRecord*) QtSupport::getQt(env, obj))->toString(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlRecord_toString__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring prefix) +{ + TQString _qstring; +static TQString* _qstring_prefix = 0; + _qstring = ((TQSqlRecord*) QtSupport::getQt(env, obj))->toString((const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QSqlRecord_toString__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring prefix, jstring sep) +{ + TQString _qstring; +static TQString* _qstring_prefix = 0; +static TQString* _qstring_sep = 0; + _qstring = ((TQSqlRecord*) QtSupport::getQt(env, obj))->toString((const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix), (const TQString&)*(TQString*) QtSupport::toTQString(env, sep, &_qstring_sep)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlRecord_value__I(JNIEnv* env, jobject obj, jint i) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSqlRecord*) QtSupport::getQt(env, obj))->value((int) i)), "org.kde.qt.TQVariant", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSqlRecord_value__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSqlRecord*) QtSupport::getQt(env, obj))->value((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQVariant", TRUE); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQSqlRecord.h b/qtjava/javalib/qtjava/TQSqlRecord.h new file mode 100644 index 00000000..a7c3fc21 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSqlRecord.h @@ -0,0 +1,53 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QSqlRecord__ +#define __org_kde_qt_QSqlRecord__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlRecord_newTQSqlRecord__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlRecord_newTQSqlRecord__Lorg_kde_qt_QSqlRecord_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlRecord_value__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlRecord_value__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlRecord_setValue__ILorg_kde_qt_QVariant_2 (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlRecord_setValue__Ljava_lang_String_2Lorg_kde_qt_QVariant_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlRecord_isGenerated__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlRecord_isGenerated__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlRecord_setGenerated__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlRecord_setGenerated__IZ (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlRecord_setNull__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlRecord_setNull__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlRecord_isNull__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlRecord_isNull__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlRecord_position (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlRecord_fieldName (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlRecord_field__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlRecord_field__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlRecord_append (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlRecord_insert (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlRecord_remove (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlRecord_isEmpty (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlRecord_contains (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlRecord_clear (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlRecord_clearValues__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlRecord_clearValues__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlRecord_count (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlRecord_toString__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlRecord_toString__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlRecord_toString__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlRecord_toStringList__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlRecord_toStringList__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlRecord_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlRecord_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlRecord_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QSqlRecord__ */ diff --git a/qtjava/javalib/qtjava/TQSqlResult.cpp b/qtjava/javalib/qtjava/TQSqlResult.cpp new file mode 100644 index 00000000..04ed9140 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSqlResult.cpp @@ -0,0 +1,6 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + diff --git a/qtjava/javalib/qtjava/TQSqlResult.h b/qtjava/javalib/qtjava/TQSqlResult.h new file mode 100644 index 00000000..1e30e23c --- /dev/null +++ b/qtjava/javalib/qtjava/TQSqlResult.h @@ -0,0 +1,18 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QSqlResult__ +#define __org_kde_qt_QSqlResult__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QSqlResult__ */ diff --git a/qtjava/javalib/qtjava/TQStatusBar.cpp b/qtjava/javalib/qtjava/TQStatusBar.cpp new file mode 100644 index 00000000..b90a8792 --- /dev/null +++ b/qtjava/javalib/qtjava/TQStatusBar.cpp @@ -0,0 +1,577 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQStatusBarJBridge : public TQStatusBar +{ +public: + TQStatusBarJBridge(TQWidget* arg1,const char* arg2) : TQStatusBar(arg1,arg2) {}; + TQStatusBarJBridge(TQWidget* arg1) : TQStatusBar(arg1) {}; + TQStatusBarJBridge() : TQStatusBar() {}; + void protected_paintEvent(TQPaintEvent* arg1) { + TQStatusBar::paintEvent(arg1); + return; + } + void protected_resizeEvent(TQResizeEvent* arg1) { + TQStatusBar::resizeEvent(arg1); + return; + } + void protected_reformat() { + TQStatusBar::reformat(); + return; + } + void protected_hideOrShow() { + TQStatusBar::hideOrShow(); + return; + } + bool protected_event(TQEvent* arg1) { + return (bool) TQStatusBar::event(arg1); + } + ~TQStatusBarJBridge() {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.qt.TQStatusBar","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.qt.TQStatusBar","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.qt.TQStatusBar","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.qt.TQStatusBar","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.qt.TQStatusBar","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.qt.TQStatusBar","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQStatusBar","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.qt.TQStatusBar","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQStatusBar","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.qt.TQStatusBar","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.qt.TQStatusBar",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.qt.TQStatusBar","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStatusBar_addWidget__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQStatusBar*) QtSupport::getQt(env, obj))->addWidget((TQWidget*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStatusBar_addWidget__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject arg1, jint stretch) +{ + ((TQStatusBar*) QtSupport::getQt(env, obj))->addWidget((TQWidget*) QtSupport::getQt(env, arg1), (int) stretch); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStatusBar_addWidget__Lorg_kde_qt_QWidget_2IZ(JNIEnv* env, jobject obj, jobject arg1, jint stretch, jboolean arg3) +{ + ((TQStatusBar*) QtSupport::getQt(env, obj))->addWidget((TQWidget*) QtSupport::getQt(env, arg1), (int) stretch, (bool) arg3); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QStatusBar_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQStatusBar*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStatusBar_clear(JNIEnv* env, jobject obj) +{ + ((TQStatusBar*) QtSupport::getQt(env, obj))->clear(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStatusBar_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QStatusBar_finalize(env, obj); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QStatusBar_event(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQStatusBarJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStatusBar_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQStatusBar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQStatusBar*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStatusBar_hideOrShow(JNIEnv* env, jobject obj) +{ + ((TQStatusBarJBridge*) QtSupport::getQt(env, obj))->protected_hideOrShow(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QStatusBar_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QStatusBar_isSizeGripEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQStatusBar*) QtSupport::getQt(env, obj))->isSizeGripEnabled(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStatusBar_message__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQStatusBar*) QtSupport::getQt(env, obj))->message((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStatusBar_message__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring arg1, jint arg2) +{ +static TQString* _qstring_arg1 = 0; + ((TQStatusBar*) QtSupport::getQt(env, obj))->message((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (int) arg2); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QStatusBar_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQStatusBar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStatusBar_newTQStatusBar__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQStatusBarJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStatusBar_newTQStatusBar__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQStatusBarJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStatusBar_newTQStatusBar__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 TQStatusBarJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStatusBar_paintEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQStatusBarJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStatusBar_reformat(JNIEnv* env, jobject obj) +{ + ((TQStatusBarJBridge*) QtSupport::getQt(env, obj))->protected_reformat(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStatusBar_removeWidget(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQStatusBar*) QtSupport::getQt(env, obj))->removeWidget((TQWidget*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStatusBar_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQStatusBarJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStatusBar_setSizeGripEnabled(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQStatusBar*) QtSupport::getQt(env, obj))->setSizeGripEnabled((bool) arg1); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QStatusBar_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQStatusBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QStatusBar_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQStatusBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQStatusBar.h b/qtjava/javalib/qtjava/TQStatusBar.h new file mode 100644 index 00000000..3ae80233 --- /dev/null +++ b/qtjava/javalib/qtjava/TQStatusBar.h @@ -0,0 +1,42 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QStatusBar__ +#define __org_kde_qt_QStatusBar__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStatusBar_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStatusBar_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_newTQStatusBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_newTQStatusBar__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_newTQStatusBar__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_addWidget__Lorg_kde_qt_QWidget_2IZ (JNIEnv *env, jobject, jobject, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_addWidget__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_addWidget__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_removeWidget (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_setSizeGripEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStatusBar_isSizeGripEnabled (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_message__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_message__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_clear (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStatusBar_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStatusBar_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_paintEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_reformat (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_hideOrShow (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStatusBar_event (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStatusBar_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QStatusBar__ */ diff --git a/qtjava/javalib/qtjava/TQStoredDrag.cpp b/qtjava/javalib/qtjava/TQStoredDrag.cpp new file mode 100644 index 00000000..b5664e1b --- /dev/null +++ b/qtjava/javalib/qtjava/TQStoredDrag.cpp @@ -0,0 +1,172 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQStoredDragJBridge : public TQStoredDrag +{ +public: + TQStoredDragJBridge(const char* arg1,TQWidget* arg2,const char* arg3) : TQStoredDrag(arg1,arg2,arg3) {}; + TQStoredDragJBridge(const char* arg1,TQWidget* arg2) : TQStoredDrag(arg1,arg2) {}; + TQStoredDragJBridge(const char* arg1) : TQStoredDrag(arg1) {}; + ~TQStoredDragJBridge() {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.qt.TQStoredDrag",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QStoredDrag_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQStoredDrag*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStoredDrag_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QStoredDrag_finalize(env, obj); + return; +} + +JNIEXPORT jbyteArray JNICALL +Java_org_kde_qt_QStoredDrag_encodedData(JNIEnv* env, jobject obj, jstring arg1) +{ + TQByteArray _qbyteArray; +static TQCString* _qstring_arg1 = 0; + _qbyteArray = ((TQStoredDrag*) QtSupport::getQt(env, obj))->encodedData((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQByteArray(env, &_qbyteArray); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStoredDrag_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQStoredDrag*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQStoredDrag*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QStoredDrag_format(JNIEnv* env, jobject obj, jint i) +{ + const char* _qstring; + _qstring = ((TQStoredDrag*) QtSupport::getQt(env, obj))->format((int) i); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QStoredDrag_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QStoredDrag_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQStoredDrag*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStoredDrag_newTQStoredDrag__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring mimeType) +{ +static TQCString* _qstring_mimeType = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQStoredDragJBridge((const char*) QtSupport::toCharString(env, mimeType, &_qstring_mimeType))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStoredDrag_newTQStoredDrag__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring mimeType, jobject dragSource) +{ +static TQCString* _qstring_mimeType = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQStoredDragJBridge((const char*) QtSupport::toCharString(env, mimeType, &_qstring_mimeType), (TQWidget*) QtSupport::getQt(env, dragSource))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStoredDrag_newTQStoredDrag__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring mimeType, jobject dragSource, jstring name) +{ +static TQCString* _qstring_mimeType = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQStoredDragJBridge((const char*) QtSupport::toCharString(env, mimeType, &_qstring_mimeType), (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_qt_QStoredDrag_setEncodedData(JNIEnv* env, jobject obj, jbyteArray arg1) +{ +static TQByteArray* _qbyteArray_arg1 = 0; + ((TQStoredDrag*) QtSupport::getQt(env, obj))->setEncodedData((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, arg1, &_qbyteArray_arg1)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QStoredDrag_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQStoredDragJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QStoredDrag_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQStoredDragJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQStoredDrag.h b/qtjava/javalib/qtjava/TQStoredDrag.h new file mode 100644 index 00000000..253cb968 --- /dev/null +++ b/qtjava/javalib/qtjava/TQStoredDrag.h @@ -0,0 +1,31 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QStoredDrag__ +#define __org_kde_qt_QStoredDrag__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStoredDrag_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStoredDrag_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStoredDrag_newTQStoredDrag__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStoredDrag_newTQStoredDrag__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStoredDrag_newTQStoredDrag__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStoredDrag_setEncodedData (JNIEnv *env, jobject, jbyteArray); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStoredDrag_format (JNIEnv *env, jobject, jint); +extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QStoredDrag_encodedData (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStoredDrag_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStoredDrag_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStoredDrag_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStoredDrag_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStoredDrag_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QStoredDrag__ */ diff --git a/qtjava/javalib/qtjava/TQStyle.cpp b/qtjava/javalib/qtjava/TQStyle.cpp new file mode 100644 index 00000000..836fde0d --- /dev/null +++ b/qtjava/javalib/qtjava/TQStyle.cpp @@ -0,0 +1,383 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QStyle_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQStyle*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QStyle_defaultFrameWidth(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQStyle*) QtSupport::getQt(env, obj))->defaultFrameWidth(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyle_drawComplexControlMask__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jint control, jobject p, jobject widget, jobject r) +{ + ((TQStyle*) QtSupport::getQt(env, obj))->drawComplexControlMask((TQStyle::ComplexControl) control, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyle_drawComplexControlMask__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint control, jobject p, jobject widget, jobject r, jobject arg5) +{ + ((TQStyle*) QtSupport::getQt(env, obj))->drawComplexControlMask((TQStyle::ComplexControl) control, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg5)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyle_drawComplexControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jobject obj, jint control, jobject p, jobject widget, jobject r, jobject cg) +{ + ((TQStyle*) QtSupport::getQt(env, obj))->drawComplexControl((TQStyle::ComplexControl) control, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyle_drawComplexControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2I(JNIEnv* env, jobject obj, jint control, jobject p, jobject widget, jobject r, jobject cg, jint how) +{ + ((TQStyle*) QtSupport::getQt(env, obj))->drawComplexControl((TQStyle::ComplexControl) control, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (TQStyle::SFlags) how); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyle_drawComplexControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2II(JNIEnv* env, jobject obj, jint control, jobject p, jobject widget, jobject r, jobject cg, jint how, jint sub) +{ + ((TQStyle*) QtSupport::getQt(env, obj))->drawComplexControl((TQStyle::ComplexControl) control, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (TQStyle::SFlags) how, (TQStyle::SCFlags) sub); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyle_drawComplexControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2III(JNIEnv* env, jobject obj, jint control, jobject p, jobject widget, jobject r, jobject cg, jint how, jint sub, jint subActive) +{ + ((TQStyle*) QtSupport::getQt(env, obj))->drawComplexControl((TQStyle::ComplexControl) control, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (TQStyle::SFlags) how, (TQStyle::SCFlags) sub, (TQStyle::SCFlags) subActive); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyle_drawComplexControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2IIILorg_kde_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint control, jobject p, jobject widget, jobject r, jobject cg, jint how, jint sub, jint subActive, jobject arg9) +{ + ((TQStyle*) QtSupport::getQt(env, obj))->drawComplexControl((TQStyle::ComplexControl) control, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (TQStyle::SFlags) how, (TQStyle::SCFlags) sub, (TQStyle::SCFlags) subActive, (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg9)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyle_drawControlMask__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jint element, jobject p, jobject widget, jobject r) +{ + ((TQStyle*) QtSupport::getQt(env, obj))->drawControlMask((TQStyle::ControlElement) element, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyle_drawControlMask__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint element, jobject p, jobject widget, jobject r, jobject arg5) +{ + ((TQStyle*) QtSupport::getQt(env, obj))->drawControlMask((TQStyle::ControlElement) element, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg5)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyle_drawControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jobject obj, jint element, jobject p, jobject widget, jobject r, jobject cg) +{ + ((TQStyle*) QtSupport::getQt(env, obj))->drawControl((TQStyle::ControlElement) element, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyle_drawControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2I(JNIEnv* env, jobject obj, jint element, jobject p, jobject widget, jobject r, jobject cg, jint how) +{ + ((TQStyle*) QtSupport::getQt(env, obj))->drawControl((TQStyle::ControlElement) element, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (TQStyle::SFlags) how); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyle_drawControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2ILorg_kde_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint element, jobject p, jobject widget, jobject r, jobject cg, jint how, jobject arg7) +{ + ((TQStyle*) QtSupport::getQt(env, obj))->drawControl((TQStyle::ControlElement) element, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (TQStyle::SFlags) how, (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg7)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyle_drawItem__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2ILorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject p, jobject r, jint flags, jobject g, jboolean enabled, jobject pixmap, jstring text) +{ +static TQString* _qstring_text = 0; + ((TQStyle*) QtSupport::getQt(env, obj))->drawItem((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (int) flags, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) enabled, (const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyle_drawItem__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2ILorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QPixmap_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject p, jobject r, jint flags, jobject g, jboolean enabled, jobject pixmap, jstring text, jint len) +{ +static TQString* _qstring_text = 0; + ((TQStyle*) QtSupport::getQt(env, obj))->drawItem((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (int) flags, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) enabled, (const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) len); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyle_drawItem__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2ILorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QPixmap_2Ljava_lang_String_2ILorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject p, jobject r, jint flags, jobject g, jboolean enabled, jobject pixmap, jstring text, jint len, jobject penColor) +{ +static TQString* _qstring_text = 0; + ((TQStyle*) QtSupport::getQt(env, obj))->drawItem((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (int) flags, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) enabled, (const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) len, (const TQColor*) QtSupport::getQt(env, penColor)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyle_drawPrimitive__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jobject obj, jint pe, jobject p, jobject r, jobject cg) +{ + ((TQStyle*) QtSupport::getQt(env, obj))->drawPrimitive((TQStyle::PrimitiveElement) pe, (TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyle_drawPrimitive__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2I(JNIEnv* env, jobject obj, jint pe, jobject p, jobject r, jobject cg, jint flags) +{ + ((TQStyle*) QtSupport::getQt(env, obj))->drawPrimitive((TQStyle::PrimitiveElement) pe, (TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (TQStyle::SFlags) flags); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyle_drawPrimitive__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2ILorg_kde_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint pe, jobject p, jobject r, jobject cg, jint flags, jobject arg6) +{ + ((TQStyle*) QtSupport::getQt(env, obj))->drawPrimitive((TQStyle::PrimitiveElement) pe, (TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (TQStyle::SFlags) flags, (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg6)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QStyle_itemRect__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2IZLorg_kde_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject p, jobject r, jint flags, jboolean enabled, jobject pixmap, jstring text) +{ +static TQString* _qstring_text = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQStyle*) QtSupport::getQt(env, obj))->itemRect((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (int) flags, (bool) enabled, (const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QStyle_itemRect__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2IZLorg_kde_qt_QPixmap_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject p, jobject r, jint flags, jboolean enabled, jobject pixmap, jstring text, jint len) +{ +static TQString* _qstring_text = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQStyle*) QtSupport::getQt(env, obj))->itemRect((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (int) flags, (bool) enabled, (const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) len)), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QStyle_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQStyle*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QStyle_pixelMetric__I(JNIEnv* env, jobject obj, jint metric) +{ + jint xret = (jint) ((TQStyle*) QtSupport::getQt(env, obj))->pixelMetric((TQStyle::PixelMetric) metric); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QStyle_pixelMetric__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint metric, jobject widget) +{ + jint xret = (jint) ((TQStyle*) QtSupport::getQt(env, obj))->pixelMetric((TQStyle::PixelMetric) metric, (const TQWidget*) QtSupport::getQt(env, widget)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyle_polishPopupMenu(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQStyle*) QtSupport::getQt(env, obj))->polishPopupMenu((TQPopupMenu*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyle_polish__Lorg_kde_qt_QApplication_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQStyle*) QtSupport::getQt(env, obj))->polish((TQApplication*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyle_polish__Lorg_kde_qt_QPalette_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQStyle*) QtSupport::getQt(env, obj))->polish((TQPalette&)*(TQPalette*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyle_polish__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQStyle*) QtSupport::getQt(env, obj))->polish((TQWidget*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QStyle_querySubControlMetrics__ILorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jint control, jobject widget, jint sc) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQStyle*) QtSupport::getQt(env, obj))->querySubControlMetrics((TQStyle::ComplexControl) control, (const TQWidget*) QtSupport::getQt(env, widget), (TQStyle::SubControl) sc)), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QStyle_querySubControlMetrics__ILorg_kde_qt_QWidget_2ILorg_kde_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint control, jobject widget, jint sc, jobject arg4) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQStyle*) QtSupport::getQt(env, obj))->querySubControlMetrics((TQStyle::ComplexControl) control, (const TQWidget*) QtSupport::getQt(env, widget), (TQStyle::SubControl) sc, (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg4))), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QStyle_querySubControl__ILorg_kde_qt_QWidget_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jint control, jobject widget, jobject pos) +{ + jint xret = (jint) ((TQStyle*) QtSupport::getQt(env, obj))->querySubControl((TQStyle::ComplexControl) control, (const TQWidget*) QtSupport::getQt(env, widget), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QStyle_querySubControl__ILorg_kde_qt_QWidget_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint control, jobject widget, jobject pos, jobject arg4) +{ + jint xret = (jint) ((TQStyle*) QtSupport::getQt(env, obj))->querySubControl((TQStyle::ComplexControl) control, (const TQWidget*) QtSupport::getQt(env, widget), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg4)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QStyle_scrollBarExtent(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQStyle*) QtSupport::getQt(env, obj))->scrollBarExtent()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QStyle_sizeFromContents__ILorg_kde_qt_QWidget_2Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jint contents, jobject widget, jobject contentsSize) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQStyle*) QtSupport::getQt(env, obj))->sizeFromContents((TQStyle::ContentsType) contents, (const TQWidget*) QtSupport::getQt(env, widget), (const TQSize&)*(const TQSize*) QtSupport::getQt(env, contentsSize))), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QStyle_sizeFromContents__ILorg_kde_qt_QWidget_2Lorg_kde_qt_QSize_2Lorg_kde_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint contents, jobject widget, jobject contentsSize, jobject arg4) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQStyle*) QtSupport::getQt(env, obj))->sizeFromContents((TQStyle::ContentsType) contents, (const TQWidget*) QtSupport::getQt(env, widget), (const TQSize&)*(const TQSize*) QtSupport::getQt(env, contentsSize), (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg4))), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QStyle_styleHint__I(JNIEnv* env, jobject obj, jint stylehint) +{ + jint xret = (jint) ((TQStyle*) QtSupport::getQt(env, obj))->styleHint((TQStyle::StyleHint) stylehint); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QStyle_styleHint__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint stylehint, jobject widget) +{ + jint xret = (jint) ((TQStyle*) QtSupport::getQt(env, obj))->styleHint((TQStyle::StyleHint) stylehint, (const TQWidget*) QtSupport::getQt(env, widget)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QStyle_styleHint__ILorg_kde_qt_QWidget_2Lorg_kde_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint stylehint, jobject widget, jobject arg3) +{ + jint xret = (jint) ((TQStyle*) QtSupport::getQt(env, obj))->styleHint((TQStyle::StyleHint) stylehint, (const TQWidget*) QtSupport::getQt(env, widget), (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg3)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QStyle_stylePixmap__I(JNIEnv* env, jobject obj, jint stylepixmap) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQStyle*) QtSupport::getQt(env, obj))->stylePixmap((TQStyle::StylePixmap) stylepixmap)), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QStyle_stylePixmap__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint stylepixmap, jobject widget) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQStyle*) QtSupport::getQt(env, obj))->stylePixmap((TQStyle::StylePixmap) stylepixmap, (const TQWidget*) QtSupport::getQt(env, widget))), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QStyle_stylePixmap__ILorg_kde_qt_QWidget_2Lorg_kde_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint stylepixmap, jobject widget, jobject arg3) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQStyle*) QtSupport::getQt(env, obj))->stylePixmap((TQStyle::StylePixmap) stylepixmap, (const TQWidget*) QtSupport::getQt(env, widget), (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg3))), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QStyle_subRect(JNIEnv* env, jobject obj, jint r, jobject widget) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQStyle*) QtSupport::getQt(env, obj))->subRect((TQStyle::SubRect) r, (const TQWidget*) QtSupport::getQt(env, widget))), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyle_tabbarMetrics(JNIEnv* env, jobject obj, jobject t, jintArray hf, jintArray vf, jintArray ov) +{ + int* _int_hf = QtSupport::toIntPtr(env, hf); + int* _int_vf = QtSupport::toIntPtr(env, vf); + int* _int_ov = QtSupport::toIntPtr(env, ov); + ((TQStyle*) QtSupport::getQt(env, obj))->tabbarMetrics((const TQWidget*) QtSupport::getQt(env, t), (int&) *_int_hf, (int&) *_int_vf, (int&) *_int_ov); + env->SetIntArrayRegion(hf, 0, 1, (jint *) _int_hf); + env->SetIntArrayRegion(vf, 0, 1, (jint *) _int_vf); + env->SetIntArrayRegion(ov, 0, 1, (jint *) _int_ov); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QStyle_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQStyle::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QStyle_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQStyle::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyle_unPolish__Lorg_kde_qt_QApplication_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQStyle*) QtSupport::getQt(env, obj))->unPolish((TQApplication*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyle_unPolish__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQStyle*) QtSupport::getQt(env, obj))->unPolish((TQWidget*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QStyle_visualRect__Lorg_kde_qt_QRect_2Lorg_kde_qt_QRect_2(JNIEnv* env, jclass cls, jobject logical, jobject bounding) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(TQStyle::visualRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, logical), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, bounding))), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QStyle_visualRect__Lorg_kde_qt_QRect_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject logical, jobject w) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(TQStyle::visualRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, logical), (const TQWidget*) QtSupport::getQt(env, w))), "org.kde.qt.TQRect", TRUE); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQStyle.h b/qtjava/javalib/qtjava/TQStyle.h new file mode 100644 index 00000000..da58571f --- /dev/null +++ b/qtjava/javalib/qtjava/TQStyle.h @@ -0,0 +1,68 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QStyle__ +#define __org_kde_qt_QStyle__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyle_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStyle_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_polish__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_unPolish__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_polish__Lorg_kde_qt_QApplication_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_unPolish__Lorg_kde_qt_QApplication_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_polish__Lorg_kde_qt_QPalette_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_polishPopupMenu (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyle_itemRect__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2IZLorg_kde_qt_QPixmap_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jobject, jint, jboolean, jobject, jstring, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyle_itemRect__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2IZLorg_kde_qt_QPixmap_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jint, jboolean, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_drawItem__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2ILorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QPixmap_2Ljava_lang_String_2ILorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject, jobject, jint, jobject, jboolean, jobject, jstring, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_drawItem__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2ILorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QPixmap_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jobject, jint, jobject, jboolean, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_drawItem__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2ILorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QPixmap_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jint, jobject, jboolean, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_drawPrimitive__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2ILorg_kde_qt_QStyleOption_2 (JNIEnv *env, jobject, jint, jobject, jobject, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_drawPrimitive__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2I (JNIEnv *env, jobject, jint, jobject, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_drawPrimitive__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2 (JNIEnv *env, jobject, jint, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_drawControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2ILorg_kde_qt_QStyleOption_2 (JNIEnv *env, jobject, jint, jobject, jobject, jobject, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_drawControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2I (JNIEnv *env, jobject, jint, jobject, jobject, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_drawControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2 (JNIEnv *env, jobject, jint, jobject, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_drawControlMask__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QStyleOption_2 (JNIEnv *env, jobject, jint, jobject, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_drawControlMask__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jint, jobject, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyle_subRect (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_drawComplexControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2IIILorg_kde_qt_QStyleOption_2 (JNIEnv *env, jobject, jint, jobject, jobject, jobject, jobject, jint, jint, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_drawComplexControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2III (JNIEnv *env, jobject, jint, jobject, jobject, jobject, jobject, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_drawComplexControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2II (JNIEnv *env, jobject, jint, jobject, jobject, jobject, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_drawComplexControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2I (JNIEnv *env, jobject, jint, jobject, jobject, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_drawComplexControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2 (JNIEnv *env, jobject, jint, jobject, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_drawComplexControlMask__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QStyleOption_2 (JNIEnv *env, jobject, jint, jobject, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_drawComplexControlMask__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jint, jobject, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyle_querySubControlMetrics__ILorg_kde_qt_QWidget_2ILorg_kde_qt_QStyleOption_2 (JNIEnv *env, jobject, jint, jobject, jint, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyle_querySubControlMetrics__ILorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jint, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyle_querySubControl__ILorg_kde_qt_QWidget_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QStyleOption_2 (JNIEnv *env, jobject, jint, jobject, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyle_querySubControl__ILorg_kde_qt_QWidget_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jint, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyle_pixelMetric__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyle_pixelMetric__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyle_sizeFromContents__ILorg_kde_qt_QWidget_2Lorg_kde_qt_QSize_2Lorg_kde_qt_QStyleOption_2 (JNIEnv *env, jobject, jint, jobject, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyle_sizeFromContents__ILorg_kde_qt_QWidget_2Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jint, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyle_styleHint__ILorg_kde_qt_QWidget_2Lorg_kde_qt_QStyleOption_2 (JNIEnv *env, jobject, jint, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyle_styleHint__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyle_styleHint__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyle_stylePixmap__ILorg_kde_qt_QWidget_2Lorg_kde_qt_QStyleOption_2 (JNIEnv *env, jobject, jint, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyle_stylePixmap__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyle_stylePixmap__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyle_defaultFrameWidth (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyle_tabbarMetrics (JNIEnv *env, jobject, jobject, jintArray, jintArray, jintArray); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyle_scrollBarExtent (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStyle_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStyle_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyle_visualRect__Lorg_kde_qt_QRect_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyle_visualRect__Lorg_kde_qt_QRect_2Lorg_kde_qt_QRect_2 (JNIEnv *env, jclass, jobject, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QStyle__ */ diff --git a/qtjava/javalib/qtjava/TQStyleFactory.cpp b/qtjava/javalib/qtjava/TQStyleFactory.cpp new file mode 100644 index 00000000..232d27a3 --- /dev/null +++ b/qtjava/javalib/qtjava/TQStyleFactory.cpp @@ -0,0 +1,66 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQStyleFactoryJBridge : public TQStyleFactory +{ +public: + TQStyleFactoryJBridge() : TQStyleFactory() {}; + ~TQStyleFactoryJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QStyleFactory_create(JNIEnv* env, jclass cls, jstring arg1) +{ + (void) cls; +static TQString* _qstring_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQStyleFactoryJBridge::create((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)), "org.kde.qt.TQStyle"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleFactory_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QStyleFactory_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleFactory_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQStyleFactory*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QStyleFactory_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QStyleFactory_keys(JNIEnv* env, jclass cls) +{ + TQStringList _qlist; + (void) cls; + _qlist = TQStyleFactoryJBridge::keys(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleFactory_newTQStyleFactory(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQStyleFactoryJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + diff --git a/qtjava/javalib/qtjava/TQStyleFactory.h b/qtjava/javalib/qtjava/TQStyleFactory.h new file mode 100644 index 00000000..5079ac3d --- /dev/null +++ b/qtjava/javalib/qtjava/TQStyleFactory.h @@ -0,0 +1,24 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QStyleFactory__ +#define __org_kde_qt_QStyleFactory__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleFactory_newTQStyleFactory (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyleFactory_keys (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyleFactory_create (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleFactory_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleFactory_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStyleFactory_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QStyleFactory__ */ diff --git a/qtjava/javalib/qtjava/TQStyleOption.cpp b/qtjava/javalib/qtjava/TQStyleOption.cpp new file mode 100644 index 00000000..8c821bc7 --- /dev/null +++ b/qtjava/javalib/qtjava/TQStyleOption.cpp @@ -0,0 +1,300 @@ +//Auto-generated by ../../kalyptus/kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +class TQStyleOptionJBridge : public TQStyleOption +{ +public: + TQStyleOptionJBridge(TQStyleOption::StyleOptionDefault arg1) : TQStyleOption(arg1) {}; + TQStyleOptionJBridge() : TQStyleOption() {}; + TQStyleOptionJBridge(int arg1,int arg2) : TQStyleOption(arg1,arg2) {}; + TQStyleOptionJBridge(int arg1,int arg2,int arg3,int arg4) : TQStyleOption(arg1,arg2,arg3,arg4) {}; + TQStyleOptionJBridge(TQMenuItem* arg1) : TQStyleOption(arg1) {}; + TQStyleOptionJBridge(TQMenuItem* arg1,int arg2) : TQStyleOption(arg1,arg2) {}; + TQStyleOptionJBridge(TQMenuItem* arg1,int arg2,int arg3) : TQStyleOption(arg1,arg2,arg3) {}; + TQStyleOptionJBridge(const TQColor& arg1) : TQStyleOption(arg1) {}; + TQStyleOptionJBridge(TQTab* arg1) : TQStyleOption(arg1) {}; + TQStyleOptionJBridge(TQListViewItem* arg1) : TQStyleOption(arg1) {}; + TQStyleOptionJBridge(TQCheckListItem* arg1) : TQStyleOption(arg1) {}; + TQStyleOptionJBridge(const TQRect& arg1) : TQStyleOption(arg1) {}; + TQStyleOptionJBridge(TQWidget* arg1) : TQStyleOption(arg1) {}; + ~TQStyleOptionJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QStyleOption_arrowType(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQStyleOption*) QtSupport::getQt(env, obj))->arrowType(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QStyleOption_checkListItem(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQStyleOption*) QtSupport::getQt(env, obj))->checkListItem(), "org.kde.qt.TQCheckListItem"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QStyleOption_color(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQStyleOption*) QtSupport::getQt(env, obj))->color(), "org.kde.qt.TQColor"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QStyleOption_day(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQStyleOption*) QtSupport::getQt(env, obj))->day(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleOption_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QStyleOption_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleOption_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQStyleOption*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QStyleOption_frameShadow(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQStyleOption*) QtSupport::getQt(env, obj))->frameShadow(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QStyleOption_frameShape(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQStyleOption*) QtSupport::getQt(env, obj))->frameShape(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QStyleOption_headerSection(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQStyleOption*) QtSupport::getQt(env, obj))->headerSection(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QStyleOption_isDefault(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQStyleOption*) QtSupport::getQt(env, obj))->isDefault(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QStyleOption_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QStyleOption_lineWidth(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQStyleOption*) QtSupport::getQt(env, obj))->lineWidth(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QStyleOption_listViewItem(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQStyleOption*) QtSupport::getQt(env, obj))->listViewItem(), "org.kde.qt.TQListViewItem"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QStyleOption_maxIconWidth(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQStyleOption*) QtSupport::getQt(env, obj))->maxIconWidth(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QStyleOption_menuItem(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQStyleOption*) QtSupport::getQt(env, obj))->menuItem(), "org.kde.qt.TQMenuItem"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QStyleOption_midLineWidth(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQStyleOption*) QtSupport::getQt(env, obj))->midLineWidth(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleOption_newTQStyleOption__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQStyleOptionJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleOption_newTQStyleOption__I(JNIEnv* env, jobject obj, jint arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQStyleOptionJBridge((TQStyleOption::StyleOptionDefault) arg1)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleOption_newTQStyleOption__II(JNIEnv* env, jobject obj, jint in1, jint in2) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQStyleOptionJBridge((int) in1, (int) in2)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleOption_newTQStyleOption__IIII(JNIEnv* env, jobject obj, jint in1, jint in2, jint in3, jint in4) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQStyleOptionJBridge((int) in1, (int) in2, (int) in3, (int) in4)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleOption_newTQStyleOption__Lorg_kde_qt_QCheckListItem_2(JNIEnv* env, jobject obj, jobject i) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQStyleOptionJBridge((TQCheckListItem*) QtSupport::getQt(env, i))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleOption_newTQStyleOption__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject c) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQStyleOptionJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleOption_newTQStyleOption__Lorg_kde_qt_QListViewItem_2(JNIEnv* env, jobject obj, jobject i) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQStyleOptionJBridge((TQListViewItem*) QtSupport::getQt(env, i))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleOption_newTQStyleOption__Lorg_kde_qt_QMenuItem_2(JNIEnv* env, jobject obj, jobject m) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQStyleOptionJBridge((TQMenuItem*) QtSupport::getQt(env, m))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleOption_newTQStyleOption__Lorg_kde_qt_QMenuItem_2I(JNIEnv* env, jobject obj, jobject m, jint in1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQStyleOptionJBridge((TQMenuItem*) QtSupport::getQt(env, m), (int) in1)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleOption_newTQStyleOption__Lorg_kde_qt_QMenuItem_2II(JNIEnv* env, jobject obj, jobject m, jint in1, jint in2) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQStyleOptionJBridge((TQMenuItem*) QtSupport::getQt(env, m), (int) in1, (int) in2)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleOption_newTQStyleOption__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject r) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQStyleOptionJBridge((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleOption_newTQStyleOption__Lorg_kde_qt_QTab_2(JNIEnv* env, jobject obj, jobject t) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQStyleOptionJBridge((TQTab*) QtSupport::getQt(env, t))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleOption_newTQStyleOption__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject w) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQStyleOptionJBridge((TQWidget*) QtSupport::getQt(env, w))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QStyleOption_rect(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQStyleOption*) QtSupport::getQt(env, obj))->rect()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QStyleOption_tabWidth(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQStyleOption*) QtSupport::getQt(env, obj))->tabWidth(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QStyleOption_tab(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQStyleOption*) QtSupport::getQt(env, obj))->tab(), "org.kde.qt.TQTab"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QStyleOption_widget(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQStyleOption*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget"); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQStyleOption.h b/qtjava/javalib/qtjava/TQStyleOption.h new file mode 100644 index 00000000..4bdd25ca --- /dev/null +++ b/qtjava/javalib/qtjava/TQStyleOption.h @@ -0,0 +1,53 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QStyleOption__ +#define __org_kde_qt_QStyleOption__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newTQStyleOption__I (JNIEnv *env, jobject, jint); +JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newTQStyleOption__ (JNIEnv *env, jobject); +JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newTQStyleOption__II (JNIEnv *env, jobject, jint, jint); +JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newTQStyleOption__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newTQStyleOption__Lorg_kde_qt_QMenuItem_2 (JNIEnv *env, jobject, jobject); +JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newTQStyleOption__Lorg_kde_qt_QMenuItem_2I (JNIEnv *env, jobject, jobject, jint); +JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newTQStyleOption__Lorg_kde_qt_QMenuItem_2II (JNIEnv *env, jobject, jobject, jint, jint); +JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newTQStyleOption__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); +JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newTQStyleOption__Lorg_kde_qt_QTab_2 (JNIEnv *env, jobject, jobject); +JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newTQStyleOption__Lorg_kde_qt_QListViewItem_2 (JNIEnv *env, jobject, jobject); +JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newTQStyleOption__Lorg_kde_qt_QCheckListItem_2 (JNIEnv *env, jobject, jobject); +JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newTQStyleOption__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); +JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newTQStyleOption__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStyleOption_isDefault (JNIEnv *env, jobject); +JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleOption_day (JNIEnv *env, jobject); +JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleOption_lineWidth (JNIEnv *env, jobject); +JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleOption_midLineWidth (JNIEnv *env, jobject); +JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleOption_frameShape (JNIEnv *env, jobject); +JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleOption_frameShadow (JNIEnv *env, jobject); +JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleOption_headerSection (JNIEnv *env, jobject); +JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyleOption_menuItem (JNIEnv *env, jobject); +JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleOption_maxIconWidth (JNIEnv *env, jobject); +JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleOption_tabWidth (JNIEnv *env, jobject); +JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyleOption_color (JNIEnv *env, jobject); +JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyleOption_tab (JNIEnv *env, jobject); +JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyleOption_checkListItem (JNIEnv *env, jobject); +JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyleOption_listViewItem (JNIEnv *env, jobject); +JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleOption_arrowType (JNIEnv *env, jobject); +JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyleOption_rect (JNIEnv *env, jobject); +JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyleOption_widget (JNIEnv *env, jobject); +JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_finalize (JNIEnv *env, jobject); +JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_dispose (JNIEnv *env, jobject); +JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStyleOption_isDisposed (JNIEnv *env, jobject); +#undef org_kde_qt_QStyleOption_Default +#define org_kde_qt_QStyleOption_Default 0L + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QStyleOption__ */ diff --git a/qtjava/javalib/qtjava/TQStyleSheet.cpp b/qtjava/javalib/qtjava/TQStyleSheet.cpp new file mode 100644 index 00000000..9afa5cfe --- /dev/null +++ b/qtjava/javalib/qtjava/TQStyleSheet.cpp @@ -0,0 +1,230 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +class TQStyleSheetJBridge : public TQStyleSheet +{ +public: + TQStyleSheetJBridge(TQObject* arg1,const char* arg2) : TQStyleSheet(arg1,arg2) {}; + TQStyleSheetJBridge(TQObject* arg1) : TQStyleSheet(arg1) {}; + TQStyleSheetJBridge() : TQStyleSheet() {}; + ~TQStyleSheetJBridge() {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.qt.TQStyleSheet",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QStyleSheet_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQStyleSheet*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QStyleSheet_convertFromPlainText__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQString* _qstring_arg1 = 0; + _qstring = TQStyleSheetJBridge::convertFromPlainText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QStyleSheet_convertFromPlainText__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring arg1, jint mode) +{ + TQString _qstring; + (void) cls; +static TQString* _qstring_arg1 = 0; + _qstring = TQStyleSheetJBridge::convertFromPlainText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (TQStyleSheetItem::WhiteSpaceMode) mode); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QStyleSheet_defaultSheet(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQStyleSheetJBridge::defaultSheet(), "org.kde.qt.TQStyleSheet"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleSheet_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QStyleSheet_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleSheet_error(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQStyleSheet*) QtSupport::getQt(env, obj))->error((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QStyleSheet_escape(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQString* _qstring_arg1 = 0; + _qstring = TQStyleSheetJBridge::escape((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleSheet_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQStyleSheet*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQStyleSheet*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleSheet_insert(JNIEnv* env, jobject obj, jobject item) +{ + ((TQStyleSheet*) QtSupport::getQt(env, obj))->insert((TQStyleSheetItem*) QtSupport::getQt(env, item)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QStyleSheet_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QStyleSheet_item(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQStyleSheet*) QtSupport::getQt(env, obj))->item((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)), "org.kde.qt.TQStyleSheetItem"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QStyleSheet_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQStyleSheet*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QStyleSheet_mightBeRichText(JNIEnv* env, jclass cls, jstring arg1) +{ + (void) cls; +static TQString* _qstring_arg1 = 0; + jboolean xret = (jboolean) TQStyleSheetJBridge::mightBeRichText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleSheet_newTQStyleSheet__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQStyleSheetJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleSheet_newTQStyleSheet__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQStyleSheetJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleSheet_newTQStyleSheet__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 TQStyleSheetJBridge((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_qt_QStyleSheet_scaleFont(JNIEnv* env, jobject obj, jobject font, jint logicalSize) +{ + ((TQStyleSheet*) QtSupport::getQt(env, obj))->scaleFont((TQFont&)*(TQFont*) QtSupport::getQt(env, font), (int) logicalSize); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleSheet_setDefaultSheet(JNIEnv* env, jclass cls, jobject arg1) +{ + (void) cls; + TQStyleSheetJBridge::setDefaultSheet((TQStyleSheet*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QStyleSheet_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQStyleSheetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QStyleSheet_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQStyleSheetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQStyleSheet.h b/qtjava/javalib/qtjava/TQStyleSheet.h new file mode 100644 index 00000000..ea60cc16 --- /dev/null +++ b/qtjava/javalib/qtjava/TQStyleSheet.h @@ -0,0 +1,38 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QStyleSheet__ +#define __org_kde_qt_QStyleSheet__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyleSheet_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStyleSheet_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheet_newTQStyleSheet__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheet_newTQStyleSheet__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheet_newTQStyleSheet__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyleSheet_item (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheet_insert (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheet_scaleFont (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheet_error (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStyleSheet_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStyleSheet_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyleSheet_defaultSheet (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheet_setDefaultSheet (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStyleSheet_escape (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStyleSheet_convertFromPlainText__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStyleSheet_convertFromPlainText__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStyleSheet_mightBeRichText (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheet_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheet_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStyleSheet_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QStyleSheet__ */ diff --git a/qtjava/javalib/qtjava/TQStyleSheetItem.cpp b/qtjava/javalib/qtjava/TQStyleSheetItem.cpp new file mode 100644 index 00000000..95ff6d7f --- /dev/null +++ b/qtjava/javalib/qtjava/TQStyleSheetItem.cpp @@ -0,0 +1,387 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQStyleSheetItemJBridge : public TQStyleSheetItem +{ +public: + TQStyleSheetItemJBridge(TQStyleSheet* arg1,const TQString& arg2) : TQStyleSheetItem(arg1,arg2) {}; + TQStyleSheetItemJBridge(const TQStyleSheetItem& arg1) : TQStyleSheetItem(arg1) {}; + ~TQStyleSheetItemJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QStyleSheetItem_alignment(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->alignment(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QStyleSheetItem_allowedInContext(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->allowedInContext((const TQStyleSheetItem*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QStyleSheetItem_color(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TQStyleSheetItem*) QtSupport::getQt(env, obj))->color()), "org.kde.qt.TQColor", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QStyleSheetItem_contexts(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->contexts(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QStyleSheetItem_definesFontItalic(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->definesFontItalic(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QStyleSheetItem_definesFontStrikeOut(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->definesFontStrikeOut(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QStyleSheetItem_definesFontUnderline(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->definesFontUnderline(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QStyleSheetItem_displayMode(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->displayMode(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleSheetItem_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QStyleSheetItem_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleSheetItem_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQStyleSheetItem*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QStyleSheetItem_fontFamily(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->fontFamily(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QStyleSheetItem_fontItalic(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->fontItalic(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QStyleSheetItem_fontSize(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->fontSize(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QStyleSheetItem_fontStrikeOut(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->fontStrikeOut(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QStyleSheetItem_fontUnderline(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->fontUnderline(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QStyleSheetItem_fontWeight(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->fontWeight(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QStyleSheetItem_isAnchor(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->isAnchor(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QStyleSheetItem_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QStyleSheetItem_lineSpacing(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->lineSpacing(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QStyleSheetItem_listStyle(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->listStyle(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QStyleSheetItem_logicalFontSizeStep(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->logicalFontSizeStep(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QStyleSheetItem_logicalFontSize(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->logicalFontSize(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QStyleSheetItem_margin(JNIEnv* env, jobject obj, jint m) +{ + jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->margin((TQStyleSheetItem::Margin) m); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QStyleSheetItem_name(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->name(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleSheetItem_newTQStyleSheetItem__Lorg_kde_qt_QStyleSheetItem_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQStyleSheetItemJBridge((const TQStyleSheetItem&)*(const TQStyleSheetItem*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleSheetItem_newTQStyleSheetItem__Lorg_kde_qt_QStyleSheet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +{ +static TQString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQStyleSheetItemJBridge((TQStyleSheet*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QStyleSheetItem_numberOfColumns(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->numberOfColumns(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QStyleSheetItem_selfNesting(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->selfNesting(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleSheetItem_setAlignment(JNIEnv* env, jobject obj, jint f) +{ + ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setAlignment((int) f); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleSheetItem_setAnchor(JNIEnv* env, jobject obj, jboolean anc) +{ + ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setAnchor((bool) anc); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleSheetItem_setColor(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleSheetItem_setContexts(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setContexts((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleSheetItem_setDisplayMode(JNIEnv* env, jobject obj, jint m) +{ + ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setDisplayMode((TQStyleSheetItem::DisplayMode) m); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleSheetItem_setFontFamily(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setFontFamily((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleSheetItem_setFontItalic(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setFontItalic((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleSheetItem_setFontSize(JNIEnv* env, jobject obj, jint s) +{ + ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setFontSize((int) s); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleSheetItem_setFontStrikeOut(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setFontStrikeOut((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleSheetItem_setFontUnderline(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setFontUnderline((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleSheetItem_setFontWeight(JNIEnv* env, jobject obj, jint w) +{ + ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setFontWeight((int) w); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleSheetItem_setLineSpacing(JNIEnv* env, jobject obj, jint ls) +{ + ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setLineSpacing((int) ls); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleSheetItem_setListStyle(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setListStyle((TQStyleSheetItem::ListStyle) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleSheetItem_setLogicalFontSizeStep(JNIEnv* env, jobject obj, jint s) +{ + ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setLogicalFontSizeStep((int) s); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleSheetItem_setLogicalFontSize(JNIEnv* env, jobject obj, jint s) +{ + ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setLogicalFontSize((int) s); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleSheetItem_setMargin(JNIEnv* env, jobject obj, jint arg1, jint arg2) +{ + ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setMargin((TQStyleSheetItem::Margin) arg1, (int) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleSheetItem_setNumberOfColumns(JNIEnv* env, jobject obj, jint ncols) +{ + ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setNumberOfColumns((int) ncols); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleSheetItem_setSelfNesting(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setSelfNesting((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleSheetItem_setVerticalAlignment(JNIEnv* env, jobject obj, jint valign) +{ + ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setVerticalAlignment((TQStyleSheetItem::VerticalAlignment) valign); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QStyleSheetItem_setWhiteSpaceMode(JNIEnv* env, jobject obj, jint m) +{ + ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->setWhiteSpaceMode((TQStyleSheetItem::WhiteSpaceMode) m); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QStyleSheetItem_styleSheet(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQStyleSheetItem*) QtSupport::getQt(env, obj))->styleSheet(), "org.kde.qt.TQStyleSheet"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QStyleSheetItem_verticalAlignment(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->verticalAlignment(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QStyleSheetItem_whiteSpaceMode(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->whiteSpaceMode(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQStyleSheetItem.h b/qtjava/javalib/qtjava/TQStyleSheetItem.h new file mode 100644 index 00000000..d5110810 --- /dev/null +++ b/qtjava/javalib/qtjava/TQStyleSheetItem.h @@ -0,0 +1,69 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QStyleSheetItem__ +#define __org_kde_qt_QStyleSheetItem__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_newTQStyleSheetItem__Lorg_kde_qt_QStyleSheet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_newTQStyleSheetItem__Lorg_kde_qt_QStyleSheetItem_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStyleSheetItem_name (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyleSheetItem_styleSheet (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleSheetItem_displayMode (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setDisplayMode (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleSheetItem_alignment (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setAlignment (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleSheetItem_verticalAlignment (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setVerticalAlignment (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleSheetItem_fontWeight (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setFontWeight (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleSheetItem_logicalFontSize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setLogicalFontSize (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleSheetItem_logicalFontSizeStep (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setLogicalFontSizeStep (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleSheetItem_fontSize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setFontSize (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStyleSheetItem_fontFamily (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setFontFamily (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleSheetItem_numberOfColumns (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setNumberOfColumns (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyleSheetItem_color (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setColor (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStyleSheetItem_fontItalic (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setFontItalic (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStyleSheetItem_definesFontItalic (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStyleSheetItem_fontUnderline (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setFontUnderline (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStyleSheetItem_definesFontUnderline (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStyleSheetItem_fontStrikeOut (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setFontStrikeOut (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStyleSheetItem_definesFontStrikeOut (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStyleSheetItem_isAnchor (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setAnchor (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleSheetItem_whiteSpaceMode (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setWhiteSpaceMode (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleSheetItem_margin (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setMargin (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleSheetItem_listStyle (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setListStyle (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QStyleSheetItem_contexts (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setContexts (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStyleSheetItem_allowedInContext (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStyleSheetItem_selfNesting (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setSelfNesting (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_setLineSpacing (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleSheetItem_lineSpacing (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStyleSheetItem_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QStyleSheetItem__ */ diff --git a/qtjava/javalib/qtjava/TQSyntaxHighlighter.cpp b/qtjava/javalib/qtjava/TQSyntaxHighlighter.cpp new file mode 100644 index 00000000..ff5cf216 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSyntaxHighlighter.cpp @@ -0,0 +1,59 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSyntaxHighlighter_currentParagraph(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQSyntaxHighlighter*) QtSupport::getQt(env, obj))->currentParagraph(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QSyntaxHighlighter_highlightParagraph(JNIEnv* env, jobject obj, jstring text, jint endStateOfLastPara) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQSyntaxHighlighter*) QtSupport::getQt(env, obj))->highlightParagraph((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) endStateOfLastPara); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSyntaxHighlighter_rehighlight(JNIEnv* env, jobject obj) +{ + ((TQSyntaxHighlighter*) QtSupport::getQt(env, obj))->rehighlight(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSyntaxHighlighter_setFormat__IILorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jint start, jint count, jobject color) +{ + ((TQSyntaxHighlighter*) QtSupport::getQt(env, obj))->setFormat((int) start, (int) count, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, color)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSyntaxHighlighter_setFormat__IILorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jint start, jint count, jobject font) +{ + ((TQSyntaxHighlighter*) QtSupport::getQt(env, obj))->setFormat((int) start, (int) count, (const TQFont&)*(const TQFont*) QtSupport::getQt(env, font)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QSyntaxHighlighter_setFormat__IILorg_kde_qt_QFont_2Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jint start, jint count, jobject font, jobject color) +{ + ((TQSyntaxHighlighter*) QtSupport::getQt(env, obj))->setFormat((int) start, (int) count, (const TQFont&)*(const TQFont*) QtSupport::getQt(env, font), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, color)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QSyntaxHighlighter_textEdit(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSyntaxHighlighter*) QtSupport::getQt(env, obj))->textEdit(), "org.kde.qt.TQTextEdit"); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQSyntaxHighlighter.h b/qtjava/javalib/qtjava/TQSyntaxHighlighter.h new file mode 100644 index 00000000..f14047c1 --- /dev/null +++ b/qtjava/javalib/qtjava/TQSyntaxHighlighter.h @@ -0,0 +1,25 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QSyntaxHighlighter__ +#define __org_kde_qt_QSyntaxHighlighter__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSyntaxHighlighter_highlightParagraph (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSyntaxHighlighter_setFormat__IILorg_kde_qt_QFont_2Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jint, jint, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSyntaxHighlighter_setFormat__IILorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jint, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSyntaxHighlighter_setFormat__IILorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jint, jint, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QSyntaxHighlighter_textEdit (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QSyntaxHighlighter_rehighlight (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QSyntaxHighlighter_currentParagraph (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QSyntaxHighlighter__ */ diff --git a/qtjava/javalib/qtjava/TQTab.cpp b/qtjava/javalib/qtjava/TQTab.cpp new file mode 100644 index 00000000..0f481b14 --- /dev/null +++ b/qtjava/javalib/qtjava/TQTab.cpp @@ -0,0 +1,156 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +class TQTabJBridge : public TQTab +{ +public: + TQTabJBridge() : TQTab() {}; + TQTabJBridge(const TQString& arg1) : TQTab(arg1) {}; + TQTabJBridge(const TQIconSet& arg1,const TQString& arg2) : TQTab(arg1,arg2) {}; + TQTabJBridge(const TQIconSet& arg1) : TQTab(arg1) {}; + ~TQTabJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTab_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QTab_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTab_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQTab*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTab_iconSet(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTab*) QtSupport::getQt(env, obj))->iconSet(), "org.kde.qt.TQIconSet"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTab_identifier(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTab*) QtSupport::getQt(env, obj))->identifier(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTab_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTab_isEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQTab*) QtSupport::getQt(env, obj))->isEnabled(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTab_newTQTab__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTabJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTab_newTQTab__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 TQTabJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTab_newTQTab__Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jobject icon) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTabJBridge((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTab_newTQTab__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject icon, jstring text) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTabJBridge((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTab_rect(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQTab*) QtSupport::getQt(env, obj))->rect()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTab_setEnabled(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TQTab*) QtSupport::getQt(env, obj))->setEnabled((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTab_setIconSet(JNIEnv* env, jobject obj, jobject icon) +{ + ((TQTab*) QtSupport::getQt(env, obj))->setIconSet((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTab_setIdentifier(JNIEnv* env, jobject obj, jint i) +{ + ((TQTab*) QtSupport::getQt(env, obj))->setIdentifier((int) i); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTab_setRect(JNIEnv* env, jobject obj, jobject rect) +{ + ((TQTab*) QtSupport::getQt(env, obj))->setRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, rect)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTab_setText(JNIEnv* env, jobject obj, jstring text) +{ +static TQString* _qstring_text = 0; + ((TQTab*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTab_text(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQTab*) QtSupport::getQt(env, obj))->text(); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQTab.h b/qtjava/javalib/qtjava/TQTab.h new file mode 100644 index 00000000..0491aa4b --- /dev/null +++ b/qtjava/javalib/qtjava/TQTab.h @@ -0,0 +1,35 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QTab__ +#define __org_kde_qt_QTab__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTab_newTQTab__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTab_newTQTab__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTab_newTQTab__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTab_newTQTab__Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTab_setText (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTab_text (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTab_setIconSet (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTab_iconSet (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTab_setRect (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTab_rect (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTab_setEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTab_isEnabled (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTab_setIdentifier (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTab_identifier (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTab_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTab_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTab_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QTab__ */ diff --git a/qtjava/javalib/qtjava/TQTabBar.cpp b/qtjava/javalib/qtjava/TQTabBar.cpp new file mode 100644 index 00000000..5147e34f --- /dev/null +++ b/qtjava/javalib/qtjava/TQTabBar.cpp @@ -0,0 +1,773 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQTabBarJBridge : public TQTabBar +{ +public: + TQTabBarJBridge(TQWidget* arg1,const char* arg2) : TQTabBar(arg1,arg2) {}; + TQTabBarJBridge(TQWidget* arg1) : TQTabBar(arg1) {}; + TQTabBarJBridge() : TQTabBar() {}; + void public_layoutTabs() { + TQTabBar::layoutTabs(); + return; + } + void protected_paint(TQPainter* arg1,TQTab* arg2,bool arg3) { + TQTabBar::paint(arg1,arg2,arg3); + return; + } + void protected_paintLabel(TQPainter* arg1,const TQRect& arg2,TQTab* arg3,bool arg4) { + TQTabBar::paintLabel(arg1,arg2,arg3,arg4); + return; + } + void protected_focusInEvent(TQFocusEvent* arg1) { + TQTabBar::focusInEvent(arg1); + return; + } + void protected_focusOutEvent(TQFocusEvent* arg1) { + TQTabBar::focusOutEvent(arg1); + return; + } + void protected_resizeEvent(TQResizeEvent* arg1) { + TQTabBar::resizeEvent(arg1); + return; + } + void protected_paintEvent(TQPaintEvent* arg1) { + TQTabBar::paintEvent(arg1); + return; + } + void protected_mousePressEvent(TQMouseEvent* arg1) { + TQTabBar::mousePressEvent(arg1); + return; + } + void protected_mouseMoveEvent(TQMouseEvent* arg1) { + TQTabBar::mouseMoveEvent(arg1); + return; + } + void protected_mouseReleaseEvent(TQMouseEvent* arg1) { + TQTabBar::mouseReleaseEvent(arg1); + return; + } + void protected_keyPressEvent(TQKeyEvent* arg1) { + TQTabBar::keyPressEvent(arg1); + return; + } + void protected_styleChange(TQStyle& arg1) { + TQTabBar::styleChange(arg1); + return; + } + void protected_fontChange(const TQFont& arg1) { + TQTabBar::fontChange(arg1); + return; + } + bool protected_event(TQEvent* arg1) { + return (bool) TQTabBar::event(arg1); + } + ~TQTabBarJBridge() {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")) { + TQTabBar::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.qt.TQTabBar","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.qt.TQTabBar","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.qt.TQTabBar","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.qt.TQTabBar","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.qt.TQTabBar","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabBar","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")) { + TQTabBar::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 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")) { + TQTabBar::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.qt.TQTabBar","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabBar","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")) { + TQTabBar::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")) { + TQTabBar::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.qt.TQTabBar","adjustSize")) { + TQWidget::adjustSize(); + } + return; + } + void wheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQWidget::wheelEvent(arg1); + } + return; + } + void layoutTabs() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabBar","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.qt.TQTabBar",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.qt.TQTabBar","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTabBar_addTab(JNIEnv* env, jobject obj, jobject arg1) +{ + jint xret = (jint) ((TQTabBar*) QtSupport::getQt(env, obj))->addTab((TQTab*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTabBar_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQTabBar*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTabBar_count(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTabBar*) QtSupport::getQt(env, obj))->count(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTabBar_currentTab(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTabBar*) QtSupport::getQt(env, obj))->currentTab(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabBar_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QTabBar_finalize(env, obj); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTabBar_event(JNIEnv* env, jobject obj, jobject e) +{ + jboolean xret = (jboolean) ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, e)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabBar_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQTabBar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQTabBar*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabBar_focusInEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabBar_focusOutEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabBar_fontChange(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTabBar_indexOf(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQTabBar*) QtSupport::getQt(env, obj))->indexOf((int) arg1); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTabBar_insertTab__Lorg_kde_qt_QTab_2(JNIEnv* env, jobject obj, jobject arg1) +{ + jint xret = (jint) ((TQTabBar*) QtSupport::getQt(env, obj))->insertTab((TQTab*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTabBar_insertTab__Lorg_kde_qt_QTab_2I(JNIEnv* env, jobject obj, jobject arg1, jint index) +{ + jint xret = (jint) ((TQTabBar*) QtSupport::getQt(env, obj))->insertTab((TQTab*) QtSupport::getQt(env, arg1), (int) index); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTabBar_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTabBar_isTabEnabled(JNIEnv* env, jobject obj, jint arg1) +{ + jboolean xret = (jboolean) ((TQTabBar*) QtSupport::getQt(env, obj))->isTabEnabled((int) arg1); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabBar_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTabBar_keyboardFocusTab(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTabBar*) QtSupport::getQt(env, obj))->keyboardFocusTab(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabBar_layoutTabs(JNIEnv* env, jobject obj) +{ + ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->public_layoutTabs(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTabBar_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTabBar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTabBar_minimumSizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQTabBar*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabBar_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabBar_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabBar_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabBar_newTQTabBar__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTabBarJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabBar_newTQTabBar__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTabBarJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabBar_newTQTabBar__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 TQTabBarJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabBar_paintEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabBar_paintLabel(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jobject arg3, jboolean arg4) +{ + ((TQTabBarJBridge*) 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_qt_QTabBar_paint(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jboolean arg3) +{ + ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->protected_paint((TQPainter*) QtSupport::getQt(env, arg1), (TQTab*) QtSupport::getQt(env, arg2), (bool) arg3); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabBar_removeTab(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTabBar*) QtSupport::getQt(env, obj))->removeTab((TQTab*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabBar_removeToolTip(JNIEnv* env, jobject obj, jint index) +{ + ((TQTabBar*) QtSupport::getQt(env, obj))->removeToolTip((int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabBar_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTabBar_selectTab(JNIEnv* env, jobject obj, jobject p) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTabBar*) QtSupport::getQt(env, obj))->selectTab((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)), "org.kde.qt.TQTab"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabBar_setCurrentTab__I(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQTabBar*) QtSupport::getQt(env, obj))->setCurrentTab((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabBar_setCurrentTab__Lorg_kde_qt_QTab_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTabBar*) QtSupport::getQt(env, obj))->setCurrentTab((TQTab*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabBar_setShape(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQTabBar*) QtSupport::getQt(env, obj))->setShape((TQTabBar::Shape) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabBar_setTabEnabled(JNIEnv* env, jobject obj, jint arg1, jboolean arg2) +{ + ((TQTabBar*) QtSupport::getQt(env, obj))->setTabEnabled((int) arg1, (bool) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabBar_setToolTip(JNIEnv* env, jobject obj, jint index, jstring tip) +{ +static TQString* _qstring_tip = 0; + ((TQTabBar*) QtSupport::getQt(env, obj))->setToolTip((int) index, (const TQString&)*(TQString*) QtSupport::toTQString(env, tip, &_qstring_tip)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTabBar_shape(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTabBar*) QtSupport::getQt(env, obj))->shape(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabBar_show(JNIEnv* env, jobject obj) +{ + ((TQTabBar*) QtSupport::getQt(env, obj))->show(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTabBar_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQTabBar*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabBar_styleChange(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTabBar_tabAt(JNIEnv* env, jobject obj, jint arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTabBar*) QtSupport::getQt(env, obj))->tabAt((int) arg1), "org.kde.qt.TQTab"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTabBar_tab(JNIEnv* env, jobject obj, jint arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTabBar*) QtSupport::getQt(env, obj))->tab((int) arg1), "org.kde.qt.TQTab"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTabBar_toolTip(JNIEnv* env, jobject obj, jint index) +{ + TQString _qstring; + _qstring = ((TQTabBar*) QtSupport::getQt(env, obj))->toolTip((int) index); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTabBar_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQTabBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTabBar_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQTabBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQTabBar.h b/qtjava/javalib/qtjava/TQTabBar.h new file mode 100644 index 00000000..bf21b353 --- /dev/null +++ b/qtjava/javalib/qtjava/TQTabBar.h @@ -0,0 +1,65 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QTabBar__ +#define __org_kde_qt_QTabBar__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabBar_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTabBar_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_newTQTabBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_newTQTabBar__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_newTQTabBar__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabBar_shape (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_setShape (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_show (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabBar_addTab (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabBar_insertTab__Lorg_kde_qt_QTab_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabBar_insertTab__Lorg_kde_qt_QTab_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_removeTab (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_setTabEnabled (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTabBar_isTabEnabled (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabBar_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabBar_minimumSizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabBar_currentTab (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabBar_keyboardFocusTab (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabBar_tab (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabBar_tabAt (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabBar_indexOf (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabBar_count (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_layoutTabs (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabBar_selectTab (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_removeToolTip (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_setToolTip (JNIEnv *env, jobject, jint, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTabBar_toolTip (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_setCurrentTab__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_setCurrentTab__Lorg_kde_qt_QTab_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTabBar_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTabBar_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_paint (JNIEnv *env, jobject, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_paintLabel (JNIEnv *env, jobject, jobject, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_focusInEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_focusOutEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_paintEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_mousePressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_mouseMoveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_mouseReleaseEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_keyPressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_styleChange (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_fontChange (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTabBar_event (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTabBar_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QTabBar__ */ diff --git a/qtjava/javalib/qtjava/TQTabDialog.cpp b/qtjava/javalib/qtjava/TQTabDialog.cpp new file mode 100644 index 00000000..ed140d99 --- /dev/null +++ b/qtjava/javalib/qtjava/TQTabDialog.cpp @@ -0,0 +1,798 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQTabDialogJBridge : public TQTabDialog +{ +public: + TQTabDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3,TQt::WFlags arg4) : TQTabDialog(arg1,arg2,arg3,arg4) {}; + TQTabDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3) : TQTabDialog(arg1,arg2,arg3) {}; + TQTabDialogJBridge(TQWidget* arg1,const char* arg2) : TQTabDialog(arg1,arg2) {}; + TQTabDialogJBridge(TQWidget* arg1) : TQTabDialog(arg1) {}; + TQTabDialogJBridge() : TQTabDialog() {}; + void protected_paintEvent(TQPaintEvent* arg1) { + TQTabDialog::paintEvent(arg1); + return; + } + void protected_resizeEvent(TQResizeEvent* arg1) { + TQTabDialog::resizeEvent(arg1); + return; + } + void protected_styleChange(TQStyle& arg1) { + TQTabDialog::styleChange(arg1); + return; + } + void protected_setTabBar(TQTabBar* arg1) { + TQTabDialog::setTabBar(arg1); + return; + } + TQTabBar* protected_tabBar() { + return (TQTabBar*) TQTabDialog::tabBar(); + } + ~TQTabDialogJBridge() {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")) { + TQTabDialog::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.qt.TQTabDialog","accept")) { + TQDialog::accept(); + } + return; + } + void setActiveWindow() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabDialog","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.qt.TQTabDialog","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")) { + TQTabDialog::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.qt.TQTabDialog","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.qt.TQTabDialog","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabDialog","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.qt.TQTabDialog","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabDialog","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.qt.TQTabDialog","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.qt.TQTabDialog","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.qt.TQTabDialog","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabDialog_addTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) +{ +static TQString* _qstring_arg2 = 0; + ((TQTabDialog*) QtSupport::getQt(env, obj))->addTab((TQWidget*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabDialog_addTab__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; + ((TQTabDialog*) QtSupport::getQt(env, obj))->addTab((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_qt_QTabDialog_addTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QTab_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) +{ + ((TQTabDialog*) QtSupport::getQt(env, obj))->addTab((TQWidget*) QtSupport::getQt(env, arg1), (TQTab*) QtSupport::getQt(env, arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabDialog_changeTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) +{ +static TQString* _qstring_arg2 = 0; + ((TQTabDialog*) 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_qt_QTabDialog_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; + ((TQTabDialog*) 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_qt_QTabDialog_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQTabDialog*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTabDialog_currentPage(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTabDialog*) QtSupport::getQt(env, obj))->currentPage(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabDialog_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QTabDialog_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabDialog_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQTabDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQTabDialog*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTabDialog_hasApplyButton(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQTabDialog*) QtSupport::getQt(env, obj))->hasApplyButton(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTabDialog_hasCancelButton(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQTabDialog*) QtSupport::getQt(env, obj))->hasCancelButton(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTabDialog_hasDefaultButton(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQTabDialog*) QtSupport::getQt(env, obj))->hasDefaultButton(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTabDialog_hasHelpButton(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQTabDialog*) QtSupport::getQt(env, obj))->hasHelpButton(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTabDialog_hasOkButton(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQTabDialog*) QtSupport::getQt(env, obj))->hasOkButton(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabDialog_insertTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) +{ +static TQString* _qstring_arg2 = 0; + ((TQTabDialog*) 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_qt_QTabDialog_insertTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject arg1, jstring arg2, jint index) +{ +static TQString* _qstring_arg2 = 0; + ((TQTabDialog*) 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_qt_QTabDialog_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; + ((TQTabDialog*) 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_qt_QTabDialog_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; + ((TQTabDialog*) 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_qt_QTabDialog_insertTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QTab_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) +{ + ((TQTabDialog*) QtSupport::getQt(env, obj))->insertTab((TQWidget*) QtSupport::getQt(env, arg1), (TQTab*) QtSupport::getQt(env, arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabDialog_insertTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QTab_2I(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jint index) +{ + ((TQTabDialog*) QtSupport::getQt(env, obj))->insertTab((TQWidget*) QtSupport::getQt(env, arg1), (TQTab*) QtSupport::getQt(env, arg2), (int) index); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTabDialog_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTabDialog_isTabEnabled__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQCString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TQTabDialog*) QtSupport::getQt(env, obj))->isTabEnabled((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTabDialog_isTabEnabled__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQTabDialog*) QtSupport::getQt(env, obj))->isTabEnabled((TQWidget*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTabDialog_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTabDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabDialog_newTQTabDialog__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTabDialogJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabDialog_newTQTabDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTabDialogJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabDialog_newTQTabDialog__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 TQTabDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabDialog_newTQTabDialog__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 TQTabDialogJBridge((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_qt_QTabDialog_newTQTabDialog__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 TQTabDialogJBridge((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_qt_QTabDialog_paintEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTabDialogJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabDialog_removePage(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTabDialog*) QtSupport::getQt(env, obj))->removePage((TQWidget*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabDialog_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTabDialogJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabDialog_setApplyButton__(JNIEnv* env, jobject obj) +{ + ((TQTabDialog*) QtSupport::getQt(env, obj))->setApplyButton(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabDialog_setApplyButton__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) +{ +static TQString* _qstring_text = 0; + ((TQTabDialog*) QtSupport::getQt(env, obj))->setApplyButton((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabDialog_setCancelButton__(JNIEnv* env, jobject obj) +{ + ((TQTabDialog*) QtSupport::getQt(env, obj))->setCancelButton(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabDialog_setCancelButton__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) +{ +static TQString* _qstring_text = 0; + ((TQTabDialog*) QtSupport::getQt(env, obj))->setCancelButton((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabDialog_setDefaultButton__(JNIEnv* env, jobject obj) +{ + ((TQTabDialog*) QtSupport::getQt(env, obj))->setDefaultButton(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabDialog_setDefaultButton__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) +{ +static TQString* _qstring_text = 0; + ((TQTabDialog*) QtSupport::getQt(env, obj))->setDefaultButton((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabDialog_setFont(JNIEnv* env, jobject obj, jobject font) +{ + ((TQTabDialog*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabDialog_setHelpButton__(JNIEnv* env, jobject obj) +{ + ((TQTabDialog*) QtSupport::getQt(env, obj))->setHelpButton(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabDialog_setHelpButton__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) +{ +static TQString* _qstring_text = 0; + ((TQTabDialog*) QtSupport::getQt(env, obj))->setHelpButton((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabDialog_setOKButton__(JNIEnv* env, jobject obj) +{ + ((TQTabDialog*) QtSupport::getQt(env, obj))->setOKButton(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabDialog_setOKButton__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) +{ +static TQString* _qstring_text = 0; + ((TQTabDialog*) QtSupport::getQt(env, obj))->setOKButton((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabDialog_setOkButton__(JNIEnv* env, jobject obj) +{ + ((TQTabDialog*) QtSupport::getQt(env, obj))->setOkButton(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabDialog_setOkButton__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) +{ +static TQString* _qstring_text = 0; + ((TQTabDialog*) QtSupport::getQt(env, obj))->setOkButton((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabDialog_setTabBar(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTabDialogJBridge*) QtSupport::getQt(env, obj))->protected_setTabBar((TQTabBar*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabDialog_setTabEnabled__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring arg1, jboolean arg2) +{ +static TQCString* _qstring_arg1 = 0; + ((TQTabDialog*) QtSupport::getQt(env, obj))->setTabEnabled((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (bool) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabDialog_setTabEnabled__Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) +{ + ((TQTabDialog*) QtSupport::getQt(env, obj))->setTabEnabled((TQWidget*) QtSupport::getQt(env, arg1), (bool) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabDialog_showPage(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTabDialog*) QtSupport::getQt(env, obj))->showPage((TQWidget*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabDialog_show(JNIEnv* env, jobject obj) +{ + ((TQTabDialog*) QtSupport::getQt(env, obj))->show(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabDialog_styleChange(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTabDialogJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTabDialog_tabBar(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTabDialogJBridge*) QtSupport::getQt(env, obj))->protected_tabBar(), "org.kde.qt.TQTabBar"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTabDialog_tabLabel(JNIEnv* env, jobject obj, jobject arg1) +{ + TQString _qstring; + _qstring = ((TQTabDialog*) QtSupport::getQt(env, obj))->tabLabel((TQWidget*) QtSupport::getQt(env, arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTabDialog_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQTabDialogJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTabDialog_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQTabDialogJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQTabDialog.h b/qtjava/javalib/qtjava/TQTabDialog.h new file mode 100644 index 00000000..7b3b7625 --- /dev/null +++ b/qtjava/javalib/qtjava/TQTabDialog.h @@ -0,0 +1,73 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QTabDialog__ +#define __org_kde_qt_QTabDialog__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabDialog_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTabDialog_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_newTQTabDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZI (JNIEnv *env, jobject, jobject, jstring, jboolean, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_newTQTabDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_newTQTabDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_newTQTabDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_newTQTabDialog__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_show (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_setFont (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_addTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_addTab__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_qt_QTabDialog_addTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QTab_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_insertTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_insertTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_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_qt_QTabDialog_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_qt_QTabDialog_insertTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QTab_2I (JNIEnv *env, jobject, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_insertTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QTab_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_changeTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_changeTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTabDialog_isTabEnabled__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_setTabEnabled__Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTabDialog_isTabEnabled__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_setTabEnabled__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_showPage (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_removePage (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTabDialog_tabLabel (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabDialog_currentPage (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_setDefaultButton__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_setDefaultButton__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTabDialog_hasDefaultButton (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_setHelpButton__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_setHelpButton__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTabDialog_hasHelpButton (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_setCancelButton__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_setCancelButton__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTabDialog_hasCancelButton (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_setApplyButton__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_setApplyButton__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTabDialog_hasApplyButton (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_setOKButton__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_setOKButton__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_setOkButton__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_setOkButton__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTabDialog_hasOkButton (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTabDialog_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTabDialog_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_paintEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_styleChange (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_setTabBar (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabDialog_tabBar (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTabDialog_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QTabDialog__ */ diff --git a/qtjava/javalib/qtjava/TQTabWidget.cpp b/qtjava/javalib/qtjava/TQTabWidget.cpp new file mode 100644 index 00000000..273314f7 --- /dev/null +++ b/qtjava/javalib/qtjava/TQTabWidget.cpp @@ -0,0 +1,836 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQTabWidgetJBridge : public TQTabWidget +{ +public: + TQTabWidgetJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQTabWidget(arg1,arg2,arg3) {}; + TQTabWidgetJBridge(TQWidget* arg1,const char* arg2) : TQTabWidget(arg1,arg2) {}; + TQTabWidgetJBridge(TQWidget* arg1) : TQTabWidget(arg1) {}; + TQTabWidgetJBridge() : TQTabWidget() {}; + void protected_showEvent(TQShowEvent* arg1) { + TQTabWidget::showEvent(arg1); + return; + } + void protected_resizeEvent(TQResizeEvent* arg1) { + TQTabWidget::resizeEvent(arg1); + return; + } + void protected_setTabBar(TQTabBar* arg1) { + TQTabWidget::setTabBar(arg1); + return; + } + TQTabBar* protected_tabBar() { + return (TQTabBar*) TQTabWidget::tabBar(); + } + void protected_styleChange(TQStyle& arg1) { + TQTabWidget::styleChange(arg1); + return; + } + void protected_updateMask() { + TQTabWidget::updateMask(); + return; + } + bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { + return (bool) TQTabWidget::eventFilter(arg1,arg2); + } + ~TQTabWidgetJBridge() {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.qt.TQTabWidget","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.qt.TQTabWidget","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.qt.TQTabWidget","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.qt.TQTabWidget","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.qt.TQTabWidget","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.qt.TQTabWidget","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabWidget","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.qt.TQTabWidget","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.qt.TQTabWidget","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.qt.TQTabWidget","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabWidget_addTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) +{ +static TQString* _qstring_arg2 = 0; + ((TQTabWidget*) QtSupport::getQt(env, obj))->addTab((TQWidget*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabWidget_addTab__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; + ((TQTabWidget*) QtSupport::getQt(env, obj))->addTab((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_qt_QTabWidget_addTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QTab_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) +{ + ((TQTabWidget*) QtSupport::getQt(env, obj))->addTab((TQWidget*) QtSupport::getQt(env, arg1), (TQTab*) QtSupport::getQt(env, arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabWidget_changeTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) +{ +static TQString* _qstring_arg2 = 0; + ((TQTabWidget*) 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_qt_QTabWidget_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; + ((TQTabWidget*) 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_qt_QTabWidget_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQTabWidget*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTabWidget_cornerWidget__(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTabWidget*) QtSupport::getQt(env, obj))->cornerWidget(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTabWidget_cornerWidget__I(JNIEnv* env, jobject obj, jint corner) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTabWidget*) QtSupport::getQt(env, obj))->cornerWidget((TQt::Corner) corner), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTabWidget_count(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTabWidget*) QtSupport::getQt(env, obj))->count(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTabWidget_currentPageIndex(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTabWidget*) QtSupport::getQt(env, obj))->currentPageIndex(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTabWidget_currentPage(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTabWidget*) QtSupport::getQt(env, obj))->currentPage(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabWidget_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QTabWidget_finalize(env, obj); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTabWidget_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) +{ + jboolean xret = (jboolean) ((TQTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabWidget_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQTabWidget*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQTabWidget*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTabWidget_indexOf(JNIEnv* env, jobject obj, jobject arg1) +{ + jint xret = (jint) ((TQTabWidget*) QtSupport::getQt(env, obj))->indexOf((TQWidget*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabWidget_insertTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) +{ +static TQString* _qstring_arg2 = 0; + ((TQTabWidget*) 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_qt_QTabWidget_insertTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject arg1, jstring arg2, jint index) +{ +static TQString* _qstring_arg2 = 0; + ((TQTabWidget*) 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_qt_QTabWidget_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; + ((TQTabWidget*) 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_qt_QTabWidget_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; + ((TQTabWidget*) 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_qt_QTabWidget_insertTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QTab_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) +{ + ((TQTabWidget*) QtSupport::getQt(env, obj))->insertTab((TQWidget*) QtSupport::getQt(env, arg1), (TQTab*) QtSupport::getQt(env, arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabWidget_insertTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QTab_2I(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jint index) +{ + ((TQTabWidget*) QtSupport::getQt(env, obj))->insertTab((TQWidget*) QtSupport::getQt(env, arg1), (TQTab*) QtSupport::getQt(env, arg2), (int) index); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTabWidget_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTabWidget_isTabEnabled(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQTabWidget*) QtSupport::getQt(env, obj))->isTabEnabled((TQWidget*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTabWidget_label(JNIEnv* env, jobject obj, jint arg1) +{ + TQString _qstring; + _qstring = ((TQTabWidget*) QtSupport::getQt(env, obj))->label((int) arg1); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTabWidget_margin(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTabWidget*) QtSupport::getQt(env, obj))->margin(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTabWidget_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTabWidget*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTabWidget_minimumSizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQTabWidget*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabWidget_newTQTabWidget__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTabWidgetJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabWidget_newTQTabWidget__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTabWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabWidget_newTQTabWidget__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 TQTabWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabWidget_newTQTabWidget__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 TQTabWidgetJBridge((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_qt_QTabWidget_page(JNIEnv* env, jobject obj, jint arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTabWidget*) QtSupport::getQt(env, obj))->page((int) arg1), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabWidget_removePage(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTabWidget*) QtSupport::getQt(env, obj))->removePage((TQWidget*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabWidget_removeTabToolTip(JNIEnv* env, jobject obj, jobject w) +{ + ((TQTabWidget*) QtSupport::getQt(env, obj))->removeTabToolTip((TQWidget*) QtSupport::getQt(env, w)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabWidget_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabWidget_setCornerWidget__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject w) +{ + ((TQTabWidget*) QtSupport::getQt(env, obj))->setCornerWidget((TQWidget*) QtSupport::getQt(env, w)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabWidget_setCornerWidget__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject w, jint corner) +{ + ((TQTabWidget*) QtSupport::getQt(env, obj))->setCornerWidget((TQWidget*) QtSupport::getQt(env, w), (TQt::Corner) corner); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabWidget_setCurrentPage(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQTabWidget*) QtSupport::getQt(env, obj))->setCurrentPage((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabWidget_setMargin(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQTabWidget*) QtSupport::getQt(env, obj))->setMargin((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabWidget_setTabBar(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setTabBar((TQTabBar*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabWidget_setTabEnabled(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) +{ + ((TQTabWidget*) QtSupport::getQt(env, obj))->setTabEnabled((TQWidget*) QtSupport::getQt(env, arg1), (bool) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabWidget_setTabIconSet(JNIEnv* env, jobject obj, jobject w, jobject iconset) +{ + ((TQTabWidget*) QtSupport::getQt(env, obj))->setTabIconSet((TQWidget*) QtSupport::getQt(env, w), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabWidget_setTabLabel(JNIEnv* env, jobject obj, jobject p, jstring l) +{ +static TQString* _qstring_l = 0; + ((TQTabWidget*) QtSupport::getQt(env, obj))->setTabLabel((TQWidget*) QtSupport::getQt(env, p), (const TQString&)*(TQString*) QtSupport::toTQString(env, l, &_qstring_l)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabWidget_setTabPosition(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQTabWidget*) QtSupport::getQt(env, obj))->setTabPosition((TQTabWidget::TabPosition) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabWidget_setTabShape(JNIEnv* env, jobject obj, jint s) +{ + ((TQTabWidget*) QtSupport::getQt(env, obj))->setTabShape((TQTabWidget::TabShape) s); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabWidget_setTabToolTip(JNIEnv* env, jobject obj, jobject w, jstring tip) +{ +static TQString* _qstring_tip = 0; + ((TQTabWidget*) QtSupport::getQt(env, obj))->setTabToolTip((TQWidget*) QtSupport::getQt(env, w), (const TQString&)*(TQString*) QtSupport::toTQString(env, tip, &_qstring_tip)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabWidget_showEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabWidget_showPage(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTabWidget*) QtSupport::getQt(env, obj))->showPage((TQWidget*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTabWidget_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQTabWidget*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabWidget_styleChange(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTabWidget_tabBar(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_tabBar(), "org.kde.qt.TQTabBar"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTabWidget_tabIconSet(JNIEnv* env, jobject obj, jobject w) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TQTabWidget*) QtSupport::getQt(env, obj))->tabIconSet((TQWidget*) QtSupport::getQt(env, w))), "org.kde.qt.TQIconSet", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTabWidget_tabLabel(JNIEnv* env, jobject obj, jobject arg1) +{ + TQString _qstring; + _qstring = ((TQTabWidget*) QtSupport::getQt(env, obj))->tabLabel((TQWidget*) QtSupport::getQt(env, arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTabWidget_tabPosition(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTabWidget*) QtSupport::getQt(env, obj))->tabPosition(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTabWidget_tabShape(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTabWidget*) QtSupport::getQt(env, obj))->tabShape(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTabWidget_tabToolTip(JNIEnv* env, jobject obj, jobject w) +{ + TQString _qstring; + _qstring = ((TQTabWidget*) QtSupport::getQt(env, obj))->tabToolTip((TQWidget*) QtSupport::getQt(env, w)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTabWidget_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQTabWidgetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTabWidget_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQTabWidgetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabWidget_updateMask(JNIEnv* env, jobject obj) +{ + ((TQTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_updateMask(); + return; +} + diff --git a/qtjava/javalib/qtjava/TQTabWidget.h b/qtjava/javalib/qtjava/TQTabWidget.h new file mode 100644 index 00000000..ba0e7434 --- /dev/null +++ b/qtjava/javalib/qtjava/TQTabWidget.h @@ -0,0 +1,77 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QTabWidget__ +#define __org_kde_qt_QTabWidget__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabWidget_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTabWidget_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_newTQTabWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_newTQTabWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_newTQTabWidget__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_newTQTabWidget__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_addTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_addTab__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_qt_QTabWidget_addTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QTab_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_insertTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_insertTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_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_qt_QTabWidget_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_qt_QTabWidget_insertTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QTab_2I (JNIEnv *env, jobject, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_insertTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QTab_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_changeTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_changeTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTabWidget_isTabEnabled (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_setTabEnabled (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_setCornerWidget__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_setCornerWidget__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabWidget_cornerWidget__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabWidget_cornerWidget__ (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTabWidget_tabLabel (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_setTabLabel (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabWidget_tabIconSet (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_setTabIconSet (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_removeTabToolTip (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_setTabToolTip (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTabWidget_tabToolTip (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabWidget_currentPage (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabWidget_page (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTabWidget_label (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabWidget_currentPageIndex (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabWidget_indexOf (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabWidget_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabWidget_minimumSizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabWidget_tabPosition (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_setTabPosition (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabWidget_tabShape (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_setTabShape (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabWidget_margin (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_setMargin (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabWidget_count (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_setCurrentPage (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_showPage (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_removePage (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTabWidget_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTabWidget_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_showEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_setTabBar (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabWidget_tabBar (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_styleChange (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_updateMask (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTabWidget_eventFilter (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTabWidget_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QTabWidget__ */ diff --git a/qtjava/javalib/qtjava/TQTable.cpp b/qtjava/javalib/qtjava/TQTable.cpp new file mode 100644 index 00000000..dc74d32a --- /dev/null +++ b/qtjava/javalib/qtjava/TQTable.cpp @@ -0,0 +1,1778 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQTableJBridge : public TQTable +{ +public: + TQTableJBridge(TQWidget* arg1,const char* arg2) : TQTable(arg1,arg2) {}; + TQTableJBridge(TQWidget* arg1) : TQTable(arg1) {}; + TQTableJBridge() : TQTable() {}; + TQTableJBridge(int arg1,int arg2,TQWidget* arg3,const char* arg4) : TQTable(arg1,arg2,arg3,arg4) {}; + TQTableJBridge(int arg1,int arg2,TQWidget* arg3) : TQTable(arg1,arg2,arg3) {}; + TQTableJBridge(int arg1,int arg2) : TQTable(arg1,arg2) {}; + void protected_drawContents(TQPainter* arg1,int arg2,int arg3,int arg4,int arg5) { + TQTable::drawContents(arg1,arg2,arg3,arg4,arg5); + return; + } + void protected_contentsMousePressEvent(TQMouseEvent* arg1) { + TQTable::contentsMousePressEvent(arg1); + return; + } + void protected_contentsMouseMoveEvent(TQMouseEvent* arg1) { + TQTable::contentsMouseMoveEvent(arg1); + return; + } + void protected_contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { + TQTable::contentsMouseDoubleClickEvent(arg1); + return; + } + void protected_contentsMouseReleaseEvent(TQMouseEvent* arg1) { + TQTable::contentsMouseReleaseEvent(arg1); + return; + } + void protected_contentsContextMenuEvent(TQContextMenuEvent* arg1) { + TQTable::contentsContextMenuEvent(arg1); + return; + } + void protected_keyPressEvent(TQKeyEvent* arg1) { + TQTable::keyPressEvent(arg1); + return; + } + void protected_focusInEvent(TQFocusEvent* arg1) { + TQTable::focusInEvent(arg1); + return; + } + void protected_focusOutEvent(TQFocusEvent* arg1) { + TQTable::focusOutEvent(arg1); + return; + } + void protected_viewportResizeEvent(TQResizeEvent* arg1) { + TQTable::viewportResizeEvent(arg1); + return; + } + void protected_showEvent(TQShowEvent* arg1) { + TQTable::showEvent(arg1); + return; + } + void protected_paintEvent(TQPaintEvent* arg1) { + TQTable::paintEvent(arg1); + return; + } + void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) { + TQTable::contentsDragEnterEvent(arg1); + return; + } + void protected_contentsDragMoveEvent(TQDragMoveEvent* arg1) { + TQTable::contentsDragMoveEvent(arg1); + return; + } + void protected_contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { + TQTable::contentsDragLeaveEvent(arg1); + return; + } + void protected_contentsDropEvent(TQDropEvent* arg1) { + TQTable::contentsDropEvent(arg1); + return; + } + TQDragObject* protected_dragObject() { + return (TQDragObject*) TQTable::dragObject(); + } + void protected_startDrag() { + TQTable::startDrag(); + return; + } + void protected_paintEmptyArea(TQPainter* arg1,int arg2,int arg3,int arg4,int arg5) { + TQTable::paintEmptyArea(arg1,arg2,arg3,arg4,arg5); + return; + } + void protected_activateNextCell() { + TQTable::activateNextCell(); + return; + } + TQWidget* protected_createEditor(int arg1,int arg2,bool arg3) { + return (TQWidget*) TQTable::createEditor(arg1,arg2,arg3); + } + void protected_setCellContentFromEditor(int arg1,int arg2) { + TQTable::setCellContentFromEditor(arg1,arg2); + return; + } + TQWidget* protected_beginEdit(int arg1,int arg2,bool arg3) { + return (TQWidget*) TQTable::beginEdit(arg1,arg2,arg3); + } + void protected_endEdit(int arg1,int arg2,bool arg3,bool arg4) { + TQTable::endEdit(arg1,arg2,arg3,arg4); + return; + } + void protected_resizeData(int arg1) { + TQTable::resizeData(arg1); + return; + } + void protected_insertWidget(int arg1,int arg2,TQWidget* arg3) { + TQTable::insertWidget(arg1,arg2,arg3); + return; + } + int protected_indexOf(int arg1,int arg2) { + return (int) TQTable::indexOf(arg1,arg2); + } + void protected_windowActivationChange(bool arg1) { + TQTable::windowActivationChange(arg1); + return; + } + bool protected_isEditing() { + return (bool) TQTable::isEditing(); + } + int protected_currEditRow() { + return (int) TQTable::currEditRow(); + } + int protected_currEditCol() { + return (int) TQTable::currEditCol(); + } + void protected_columnWidthChanged(int arg1) { + TQTable::columnWidthChanged(arg1); + return; + } + void protected_rowHeightChanged(int arg1) { + TQTable::rowHeightChanged(arg1); + return; + } + void protected_columnIndexChanged(int arg1,int arg2,int arg3) { + TQTable::columnIndexChanged(arg1,arg2,arg3); + return; + } + void protected_rowIndexChanged(int arg1,int arg2,int arg3) { + TQTable::rowIndexChanged(arg1,arg2,arg3); + return; + } + void protected_columnClicked(int arg1) { + TQTable::columnClicked(arg1); + return; + } + ~TQTableJBridge() {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")) { + TQTable::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")) { + TQTable::contentsDragLeaveEvent(arg1); + } + return; + } + void setActiveWindow() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTable","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")) { + TQTable::focusOutEvent(arg1); + } + return; + } + void setFocus() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTable","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.qt.TQTable","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")) { + TQTable::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")) { + TQTable::paintEvent(arg1); + } + return; + } + void imStartEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQWidget::imStartEvent(arg1); + } + return; + } + void activateNextCell() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTable","activateNextCell")) { + TQTable::activateNextCell(); + } + return; + } + void unsetCursor() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTable","unsetCursor")) { + TQWidget::unsetCursor(); + } + return; + } + void contentsDropEvent(TQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { + TQTable::contentsDropEvent(arg1); + } + return; + } + void hideEvent(TQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { + TQWidget::hideEvent(arg1); + } + return; + } + void moveEvent(TQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { + TQWidget::moveEvent(arg1); + } + return; + } + void polish() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTable","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTable","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")) { + TQTable::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(TQTableItem* arg1) { + if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.TQTableItem")) { + TQTable::takeItem(arg1); + } + return; + } + void keyPressEvent(TQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { + TQTable::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")) { + TQTable::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.qt.TQTable","startDrag")) { + TQTable::startDrag(); + } + 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")) { + TQTable::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")) { + TQTable::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")) { + TQTable::contentsMousePressEvent(arg1); + } + return; + } + void updateMask() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTable","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTable","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.qt.TQTable","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")) { + TQTable::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")) { + TQTable::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")) { + TQTable::contentsContextMenuEvent(arg1); + } + return; + } + void setGeometry(const TQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { + TQWidget::setGeometry(arg1); + } + return; + } + void viewportMousePressEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMousePressEvent(arg1); + } + return; + } + void showMinimized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTable","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_activateNextCell(JNIEnv* env, jobject obj) +{ + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_activateNextCell(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTable_addSelection(JNIEnv* env, jobject obj, jobject s) +{ + jint xret = (jint) ((TQTable*) QtSupport::getQt(env, obj))->addSelection((const TQTableSelection&)*(const TQTableSelection*) QtSupport::getQt(env, s)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_adjustColumn(JNIEnv* env, jobject obj, jint col) +{ + ((TQTable*) QtSupport::getQt(env, obj))->adjustColumn((int) col); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_adjustRow(JNIEnv* env, jobject obj, jint row) +{ + ((TQTable*) QtSupport::getQt(env, obj))->adjustRow((int) row); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTable_beginEdit(JNIEnv* env, jobject obj, jint row, jint col, jboolean replace) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_beginEdit((int) row, (int) col, (bool) replace), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTable_cellGeometry(JNIEnv* env, jobject obj, jint row, jint col) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQTable*) QtSupport::getQt(env, obj))->cellGeometry((int) row, (int) col)), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTable_cellRect(JNIEnv* env, jobject obj, jint row, jint col) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQTable*) QtSupport::getQt(env, obj))->cellRect((int) row, (int) col)), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTable_cellWidget(JNIEnv* env, jobject obj, jint row, jint col) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTable*) QtSupport::getQt(env, obj))->cellWidget((int) row, (int) col), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTable_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQTable*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_clearCellWidget(JNIEnv* env, jobject obj, jint row, jint col) +{ + ((TQTable*) QtSupport::getQt(env, obj))->clearCellWidget((int) row, (int) col); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_clearCell(JNIEnv* env, jobject obj, jint row, jint col) +{ + ((TQTable*) QtSupport::getQt(env, obj))->clearCell((int) row, (int) col); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_clearSelection__(JNIEnv* env, jobject obj) +{ + ((TQTable*) QtSupport::getQt(env, obj))->clearSelection(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_clearSelection__Z(JNIEnv* env, jobject obj, jboolean repaint) +{ + ((TQTable*) QtSupport::getQt(env, obj))->clearSelection((bool) repaint); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTable_columnAt(JNIEnv* env, jobject obj, jint x) +{ + jint xret = (jint) ((TQTable*) QtSupport::getQt(env, obj))->columnAt((int) x); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_columnClicked(JNIEnv* env, jobject obj, jint col) +{ + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_columnClicked((int) col); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_columnIndexChanged(JNIEnv* env, jobject obj, jint section, jint fromIndex, jint toIndex) +{ + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_columnIndexChanged((int) section, (int) fromIndex, (int) toIndex); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTable_columnMovingEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQTable*) QtSupport::getQt(env, obj))->columnMovingEnabled(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTable_columnPos(JNIEnv* env, jobject obj, jint col) +{ + jint xret = (jint) ((TQTable*) QtSupport::getQt(env, obj))->columnPos((int) col); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_columnWidthChanged(JNIEnv* env, jobject obj, jint col) +{ + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_columnWidthChanged((int) col); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTable_columnWidth(JNIEnv* env, jobject obj, jint col) +{ + jint xret = (jint) ((TQTable*) QtSupport::getQt(env, obj))->columnWidth((int) col); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_contentsContextMenuEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_contentsDragLeaveEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_contentsDragMoveEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_contentsDropEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_contentsMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_contentsMouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_contentsMouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTable_createEditor(JNIEnv* env, jobject obj, jint row, jint col, jboolean initFromCell) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_createEditor((int) row, (int) col, (bool) initFromCell), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTable_currEditCol(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_currEditCol(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTable_currEditRow(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_currEditRow(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTable_currentColumn(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTable*) QtSupport::getQt(env, obj))->currentColumn(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTable_currentRow(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTable*) QtSupport::getQt(env, obj))->currentRow(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTable_currentSelection(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTable*) QtSupport::getQt(env, obj))->currentSelection(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QTable_finalize(env, obj); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTable_dragEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQTable*) QtSupport::getQt(env, obj))->dragEnabled(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTable_dragObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_dragObject(), "org.kde.qt.TQDragObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_drawContents(JNIEnv* env, jobject obj, jobject p, jint cx, jint cy, jint cw, jint ch) +{ + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, p), (int) cx, (int) cy, (int) cw, (int) ch); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_editCell__II(JNIEnv* env, jobject obj, jint row, jint col) +{ + ((TQTable*) QtSupport::getQt(env, obj))->editCell((int) row, (int) col); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_editCell__IIZ(JNIEnv* env, jobject obj, jint row, jint col, jboolean replace) +{ + ((TQTable*) QtSupport::getQt(env, obj))->editCell((int) row, (int) col, (bool) replace); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_endEdit(JNIEnv* env, jobject obj, jint row, jint col, jboolean accept, jboolean replace) +{ + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_endEdit((int) row, (int) col, (bool) accept, (bool) replace); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_ensureCellVisible(JNIEnv* env, jobject obj, jint row, jint col) +{ + ((TQTable*) QtSupport::getQt(env, obj))->ensureCellVisible((int) row, (int) col); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTable_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject arg2) +{ + jboolean xret = (jboolean) ((TQTable*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, arg2)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQTable*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQTable*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_focusInEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_focusOutEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTable_focusStyle(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTable*) QtSupport::getQt(env, obj))->focusStyle(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_hideColumn(JNIEnv* env, jobject obj, jint col) +{ + ((TQTable*) QtSupport::getQt(env, obj))->hideColumn((int) col); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_hideRow(JNIEnv* env, jobject obj, jint row) +{ + ((TQTable*) QtSupport::getQt(env, obj))->hideRow((int) row); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTable_horizontalHeader(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTable*) QtSupport::getQt(env, obj))->horizontalHeader(), "org.kde.qt.TQHeader"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTable_indexOf(JNIEnv* env, jobject obj, jint row, jint col) +{ + jint xret = (jint) ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_indexOf((int) row, (int) col); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_insertColumns__I(JNIEnv* env, jobject obj, jint col) +{ + ((TQTable*) QtSupport::getQt(env, obj))->insertColumns((int) col); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_insertColumns__II(JNIEnv* env, jobject obj, jint col, jint count) +{ + ((TQTable*) QtSupport::getQt(env, obj))->insertColumns((int) col, (int) count); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_insertRows__I(JNIEnv* env, jobject obj, jint row) +{ + ((TQTable*) QtSupport::getQt(env, obj))->insertRows((int) row); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_insertRows__II(JNIEnv* env, jobject obj, jint row, jint count) +{ + ((TQTable*) QtSupport::getQt(env, obj))->insertRows((int) row, (int) count); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_insertWidget(JNIEnv* env, jobject obj, jint row, jint col, jobject w) +{ + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_insertWidget((int) row, (int) col, (TQWidget*) QtSupport::getQt(env, w)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTable_isColumnHidden(JNIEnv* env, jobject obj, jint col) +{ + jboolean xret = (jboolean) ((TQTable*) QtSupport::getQt(env, obj))->isColumnHidden((int) col); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTable_isColumnReadOnly(JNIEnv* env, jobject obj, jint col) +{ + jboolean xret = (jboolean) ((TQTable*) QtSupport::getQt(env, obj))->isColumnReadOnly((int) col); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTable_isColumnSelected__I(JNIEnv* env, jobject obj, jint col) +{ + jboolean xret = (jboolean) ((TQTable*) QtSupport::getQt(env, obj))->isColumnSelected((int) col); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTable_isColumnSelected__IZ(JNIEnv* env, jobject obj, jint col, jboolean full) +{ + jboolean xret = (jboolean) ((TQTable*) QtSupport::getQt(env, obj))->isColumnSelected((int) col, (bool) full); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTable_isColumnStretchable(JNIEnv* env, jobject obj, jint col) +{ + jboolean xret = (jboolean) ((TQTable*) QtSupport::getQt(env, obj))->isColumnStretchable((int) col); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTable_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTable_isEditing(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_isEditing(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTable_isReadOnly(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQTable*) QtSupport::getQt(env, obj))->isReadOnly(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTable_isRowHidden(JNIEnv* env, jobject obj, jint row) +{ + jboolean xret = (jboolean) ((TQTable*) QtSupport::getQt(env, obj))->isRowHidden((int) row); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTable_isRowReadOnly(JNIEnv* env, jobject obj, jint row) +{ + jboolean xret = (jboolean) ((TQTable*) QtSupport::getQt(env, obj))->isRowReadOnly((int) row); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTable_isRowSelected__I(JNIEnv* env, jobject obj, jint row) +{ + jboolean xret = (jboolean) ((TQTable*) QtSupport::getQt(env, obj))->isRowSelected((int) row); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTable_isRowSelected__IZ(JNIEnv* env, jobject obj, jint row, jboolean full) +{ + jboolean xret = (jboolean) ((TQTable*) QtSupport::getQt(env, obj))->isRowSelected((int) row, (bool) full); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTable_isRowStretchable(JNIEnv* env, jobject obj, jint row) +{ + jboolean xret = (jboolean) ((TQTable*) QtSupport::getQt(env, obj))->isRowStretchable((int) row); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTable_isSelected(JNIEnv* env, jobject obj, jint row, jint col) +{ + jboolean xret = (jboolean) ((TQTable*) QtSupport::getQt(env, obj))->isSelected((int) row, (int) col); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTable_item(JNIEnv* env, jobject obj, jint row, jint col) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTable*) QtSupport::getQt(env, obj))->item((int) row, (int) col), "org.kde.qt.TQTableItem"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTable_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTable*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_newTQTable__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTableJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_newTQTable__II(JNIEnv* env, jobject obj, jint numRows, jint numCols) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTableJBridge((int) numRows, (int) numCols)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_newTQTable__IILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint numRows, jint numCols, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTableJBridge((int) numRows, (int) numCols, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_newTQTable__IILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint numRows, jint numCols, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTableJBridge((int) numRows, (int) numCols, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_newTQTable__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTableJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_newTQTable__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 TQTableJBridge((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_qt_QTable_numCols(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTable*) QtSupport::getQt(env, obj))->numCols(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTable_numRows(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTable*) QtSupport::getQt(env, obj))->numRows(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTable_numSelections(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTable*) QtSupport::getQt(env, obj))->numSelections(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_paintCell__Lorg_kde_qt_QPainter_2IILorg_kde_qt_QRect_2Z(JNIEnv* env, jobject obj, jobject p, jint row, jint col, jobject cr, jboolean selected) +{ + ((TQTable*) QtSupport::getQt(env, obj))->paintCell((TQPainter*) QtSupport::getQt(env, p), (int) row, (int) col, (const TQRect&)*(const TQRect*) QtSupport::getQt(env, cr), (bool) selected); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_paintCell__Lorg_kde_qt_QPainter_2IILorg_kde_qt_QRect_2ZLorg_kde_qt_QColorGroup_2(JNIEnv* env, jobject obj, jobject p, jint row, jint col, jobject cr, jboolean selected, jobject cg) +{ + ((TQTable*) QtSupport::getQt(env, obj))->paintCell((TQPainter*) QtSupport::getQt(env, p), (int) row, (int) col, (const TQRect&)*(const TQRect*) QtSupport::getQt(env, cr), (bool) selected, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_paintEmptyArea(JNIEnv* env, jobject obj, jobject p, jint cx, jint cy, jint cw, jint ch) +{ + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_paintEmptyArea((TQPainter*) QtSupport::getQt(env, p), (int) cx, (int) cy, (int) cw, (int) ch); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_paintEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_paintFocus(JNIEnv* env, jobject obj, jobject p, jobject r) +{ + ((TQTable*) QtSupport::getQt(env, obj))->paintFocus((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTable_pixmap(JNIEnv* env, jobject obj, jint row, jint col) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQTable*) QtSupport::getQt(env, obj))->pixmap((int) row, (int) col)), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_removeColumn(JNIEnv* env, jobject obj, jint col) +{ + ((TQTable*) QtSupport::getQt(env, obj))->removeColumn((int) col); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_removeRow(JNIEnv* env, jobject obj, jint row) +{ + ((TQTable*) QtSupport::getQt(env, obj))->removeRow((int) row); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_removeSelection__I(JNIEnv* env, jobject obj, jint num) +{ + ((TQTable*) QtSupport::getQt(env, obj))->removeSelection((int) num); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_removeSelection__Lorg_kde_qt_QTableSelection_2(JNIEnv* env, jobject obj, jobject s) +{ + ((TQTable*) QtSupport::getQt(env, obj))->removeSelection((const TQTableSelection&)*(const TQTableSelection*) QtSupport::getQt(env, s)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_repaintSelections(JNIEnv* env, jobject obj) +{ + ((TQTable*) QtSupport::getQt(env, obj))->repaintSelections(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_resizeData(JNIEnv* env, jobject obj, jint len) +{ + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_resizeData((int) len); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTable_rowAt(JNIEnv* env, jobject obj, jint y) +{ + jint xret = (jint) ((TQTable*) QtSupport::getQt(env, obj))->rowAt((int) y); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_rowHeightChanged(JNIEnv* env, jobject obj, jint row) +{ + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_rowHeightChanged((int) row); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTable_rowHeight(JNIEnv* env, jobject obj, jint row) +{ + jint xret = (jint) ((TQTable*) QtSupport::getQt(env, obj))->rowHeight((int) row); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_rowIndexChanged(JNIEnv* env, jobject obj, jint section, jint fromIndex, jint toIndex) +{ + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_rowIndexChanged((int) section, (int) fromIndex, (int) toIndex); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTable_rowMovingEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQTable*) QtSupport::getQt(env, obj))->rowMovingEnabled(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTable_rowPos(JNIEnv* env, jobject obj, jint row) +{ + jint xret = (jint) ((TQTable*) QtSupport::getQt(env, obj))->rowPos((int) row); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_selectCells(JNIEnv* env, jobject obj, jint start_row, jint start_col, jint end_row, jint end_col) +{ + ((TQTable*) QtSupport::getQt(env, obj))->selectCells((int) start_row, (int) start_col, (int) end_row, (int) end_col); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_selectColumn(JNIEnv* env, jobject obj, jint col) +{ + ((TQTable*) QtSupport::getQt(env, obj))->selectColumn((int) col); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_selectRow(JNIEnv* env, jobject obj, jint row) +{ + ((TQTable*) QtSupport::getQt(env, obj))->selectRow((int) row); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTable_selectionMode(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTable*) QtSupport::getQt(env, obj))->selectionMode(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTable_selection(JNIEnv* env, jobject obj, jint num) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQTableSelection(((TQTable*) QtSupport::getQt(env, obj))->selection((int) num)), "org.kde.qt.TQTableSelection", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_setCellContentFromEditor(JNIEnv* env, jobject obj, jint row, jint col) +{ + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_setCellContentFromEditor((int) row, (int) col); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_setCellWidget(JNIEnv* env, jobject obj, jint row, jint col, jobject e) +{ + ((TQTable*) QtSupport::getQt(env, obj))->setCellWidget((int) row, (int) col, (TQWidget*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_setColumnLabels(JNIEnv* env, jobject obj, jobjectArray labels) +{ +static TQStringList* _qlist_labels = 0; + ((TQTable*) QtSupport::getQt(env, obj))->setColumnLabels((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, labels, &_qlist_labels)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_setColumnMovingEnabled(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQTable*) QtSupport::getQt(env, obj))->setColumnMovingEnabled((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_setColumnReadOnly(JNIEnv* env, jobject obj, jint col, jboolean ro) +{ + ((TQTable*) QtSupport::getQt(env, obj))->setColumnReadOnly((int) col, (bool) ro); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_setColumnStretchable(JNIEnv* env, jobject obj, jint col, jboolean stretch) +{ + ((TQTable*) QtSupport::getQt(env, obj))->setColumnStretchable((int) col, (bool) stretch); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_setColumnWidth(JNIEnv* env, jobject obj, jint col, jint w) +{ + ((TQTable*) QtSupport::getQt(env, obj))->setColumnWidth((int) col, (int) w); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_setCurrentCell(JNIEnv* env, jobject obj, jint row, jint col) +{ + ((TQTable*) QtSupport::getQt(env, obj))->setCurrentCell((int) row, (int) col); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_setDragEnabled(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQTable*) QtSupport::getQt(env, obj))->setDragEnabled((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_setEnabled(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQTable*) QtSupport::getQt(env, obj))->setEnabled((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_setFocusStyle(JNIEnv* env, jobject obj, jint fs) +{ + ((TQTable*) QtSupport::getQt(env, obj))->setFocusStyle((TQTable::FocusStyle) fs); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_setItem(JNIEnv* env, jobject obj, jint row, jint col, jobject item) +{ + ((TQTable*) QtSupport::getQt(env, obj))->setItem((int) row, (int) col, (TQTableItem*) QtSupport::getQt(env, item)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_setLeftMargin(JNIEnv* env, jobject obj, jint m) +{ + ((TQTable*) QtSupport::getQt(env, obj))->setLeftMargin((int) m); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_setNumCols(JNIEnv* env, jobject obj, jint r) +{ + ((TQTable*) QtSupport::getQt(env, obj))->setNumCols((int) r); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_setNumRows(JNIEnv* env, jobject obj, jint r) +{ + ((TQTable*) QtSupport::getQt(env, obj))->setNumRows((int) r); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_setPixmap(JNIEnv* env, jobject obj, jint row, jint col, jobject pix) +{ + ((TQTable*) QtSupport::getQt(env, obj))->setPixmap((int) row, (int) col, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_setReadOnly(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQTable*) QtSupport::getQt(env, obj))->setReadOnly((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_setRowHeight(JNIEnv* env, jobject obj, jint row, jint h) +{ + ((TQTable*) QtSupport::getQt(env, obj))->setRowHeight((int) row, (int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_setRowLabels(JNIEnv* env, jobject obj, jobjectArray labels) +{ +static TQStringList* _qlist_labels = 0; + ((TQTable*) QtSupport::getQt(env, obj))->setRowLabels((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, labels, &_qlist_labels)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_setRowMovingEnabled(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQTable*) QtSupport::getQt(env, obj))->setRowMovingEnabled((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_setRowReadOnly(JNIEnv* env, jobject obj, jint row, jboolean ro) +{ + ((TQTable*) QtSupport::getQt(env, obj))->setRowReadOnly((int) row, (bool) ro); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_setRowStretchable(JNIEnv* env, jobject obj, jint row, jboolean stretch) +{ + ((TQTable*) QtSupport::getQt(env, obj))->setRowStretchable((int) row, (bool) stretch); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_setSelectionMode(JNIEnv* env, jobject obj, jint mode) +{ + ((TQTable*) QtSupport::getQt(env, obj))->setSelectionMode((TQTable::SelectionMode) mode); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_setShowGrid(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQTable*) QtSupport::getQt(env, obj))->setShowGrid((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_setSorting(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQTable*) QtSupport::getQt(env, obj))->setSorting((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_setText(JNIEnv* env, jobject obj, jint row, jint col, jstring text) +{ +static TQString* _qstring_text = 0; + ((TQTable*) QtSupport::getQt(env, obj))->setText((int) row, (int) col, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_setTopMargin(JNIEnv* env, jobject obj, jint m) +{ + ((TQTable*) QtSupport::getQt(env, obj))->setTopMargin((int) m); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_showColumn(JNIEnv* env, jobject obj, jint col) +{ + ((TQTable*) QtSupport::getQt(env, obj))->showColumn((int) col); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_showEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTable_showGrid(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQTable*) QtSupport::getQt(env, obj))->showGrid(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_showRow(JNIEnv* env, jobject obj, jint row) +{ + ((TQTable*) QtSupport::getQt(env, obj))->showRow((int) row); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTable_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQTable*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_sortColumn__I(JNIEnv* env, jobject obj, jint col) +{ + ((TQTable*) QtSupport::getQt(env, obj))->sortColumn((int) col); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_sortColumn__IZ(JNIEnv* env, jobject obj, jint col, jboolean ascending) +{ + ((TQTable*) QtSupport::getQt(env, obj))->sortColumn((int) col, (bool) ascending); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_sortColumn__IZZ(JNIEnv* env, jobject obj, jint col, jboolean ascending, jboolean wholeRows) +{ + ((TQTable*) QtSupport::getQt(env, obj))->sortColumn((int) col, (bool) ascending, (bool) wholeRows); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTable_sortOnInsert(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQTable*) QtSupport::getQt(env, obj))->sorting(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_startDrag(JNIEnv* env, jobject obj) +{ + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_startDrag(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_swapCells(JNIEnv* env, jobject obj, jint row1, jint col1, jint row2, jint col2) +{ + ((TQTable*) QtSupport::getQt(env, obj))->swapCells((int) row1, (int) col1, (int) row2, (int) col2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_swapColumns__II(JNIEnv* env, jobject obj, jint col1, jint col2) +{ + ((TQTable*) QtSupport::getQt(env, obj))->swapColumns((int) col1, (int) col2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_swapColumns__IIZ(JNIEnv* env, jobject obj, jint col1, jint col2, jboolean swapHeader) +{ + ((TQTable*) QtSupport::getQt(env, obj))->swapColumns((int) col1, (int) col2, (bool) swapHeader); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_swapRows__II(JNIEnv* env, jobject obj, jint row1, jint row2) +{ + ((TQTable*) QtSupport::getQt(env, obj))->swapRows((int) row1, (int) row2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_swapRows__IIZ(JNIEnv* env, jobject obj, jint row1, jint row2, jboolean swapHeader) +{ + ((TQTable*) QtSupport::getQt(env, obj))->swapRows((int) row1, (int) row2, (bool) swapHeader); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_takeItem(JNIEnv* env, jobject obj, jobject i) +{ + ((TQTable*) QtSupport::getQt(env, obj))->takeItem((TQTableItem*) QtSupport::getQt(env, i)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTable_text(JNIEnv* env, jobject obj, jint row, jint col) +{ + TQString _qstring; + _qstring = ((TQTable*) QtSupport::getQt(env, obj))->text((int) row, (int) col); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTable_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQTableJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTable_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQTableJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_updateCell(JNIEnv* env, jobject obj, jint row, jint col) +{ + ((TQTable*) QtSupport::getQt(env, obj))->updateCell((int) row, (int) col); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_updateHeaderStates(JNIEnv* env, jobject obj) +{ + ((TQTable*) QtSupport::getQt(env, obj))->updateHeaderStates(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTable_verticalHeader(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTable*) QtSupport::getQt(env, obj))->verticalHeader(), "org.kde.qt.TQHeader"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_viewportResizeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_viewportResizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTable_windowActivationChange(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_windowActivationChange((bool) arg1); + return; +} + diff --git a/qtjava/javalib/qtjava/TQTable.h b/qtjava/javalib/qtjava/TQTable.h new file mode 100644 index 00000000..9e67642e --- /dev/null +++ b/qtjava/javalib/qtjava/TQTable.h @@ -0,0 +1,175 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QTable__ +#define __org_kde_qt_QTable__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTable_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTable_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_newTQTable__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_newTQTable__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_newTQTable__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_newTQTable__IILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_newTQTable__IILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_newTQTable__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTable_horizontalHeader (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTable_verticalHeader (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setSelectionMode (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_selectionMode (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setItem (JNIEnv *env, jobject, jint, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setText (JNIEnv *env, jobject, jint, jint, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setPixmap (JNIEnv *env, jobject, jint, jint, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTable_item (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTable_text (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTable_pixmap (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_clearCell (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTable_cellGeometry (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_columnWidth (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_rowHeight (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_columnPos (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_rowPos (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_columnAt (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_rowAt (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_numRows (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_numCols (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_updateCell (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_eventFilter (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_currentRow (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_currentColumn (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_ensureCellVisible (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_isSelected (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_isRowSelected__IZ (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_isRowSelected__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_isColumnSelected__IZ (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_isColumnSelected__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_numSelections (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTable_selection (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_addSelection (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_removeSelection__Lorg_kde_qt_QTableSelection_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_removeSelection__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_currentSelection (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_selectCells (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_selectRow (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_selectColumn (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_showGrid (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_columnMovingEnabled (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_rowMovingEnabled (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_sortColumn__IZZ (JNIEnv *env, jobject, jint, jboolean, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_sortColumn__IZ (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_sortColumn__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_sortOnInsert (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_takeItem (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setCellWidget (JNIEnv *env, jobject, jint, jint, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTable_cellWidget (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_clearCellWidget (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTable_cellRect (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_paintCell__Lorg_kde_qt_QPainter_2IILorg_kde_qt_QRect_2Z (JNIEnv *env, jobject, jobject, jint, jint, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_paintCell__Lorg_kde_qt_QPainter_2IILorg_kde_qt_QRect_2ZLorg_kde_qt_QColorGroup_2 (JNIEnv *env, jobject, jobject, jint, jint, jobject, jboolean, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_paintFocus (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTable_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_isReadOnly (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_isRowReadOnly (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_isColumnReadOnly (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_repaintSelections (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setFocusStyle (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_focusStyle (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_updateHeaderStates (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setNumRows (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setNumCols (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setShowGrid (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_hideRow (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_hideColumn (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_showRow (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_showColumn (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_isRowHidden (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_isColumnHidden (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setColumnWidth (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setRowHeight (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_adjustColumn (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_adjustRow (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setColumnStretchable (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setRowStretchable (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_isColumnStretchable (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_isRowStretchable (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setSorting (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_swapRows__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_swapRows__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_swapColumns__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_swapColumns__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_swapCells (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setLeftMargin (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setTopMargin (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setCurrentCell (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_clearSelection__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_clearSelection__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setColumnMovingEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setRowMovingEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setReadOnly (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setRowReadOnly (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setColumnReadOnly (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setDragEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_dragEnabled (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_insertRows__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_insertRows__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_insertColumns__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_insertColumns__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_removeRow (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_removeColumn (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_editCell__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_editCell__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setRowLabels (JNIEnv *env, jobject, jobjectArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setColumnLabels (JNIEnv *env, jobject, jobjectArray); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTable_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTable_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_drawContents (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_contentsMousePressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_contentsMouseMoveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_contentsMouseDoubleClickEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_contentsMouseReleaseEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_contentsContextMenuEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_keyPressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_focusInEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_focusOutEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_viewportResizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_showEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_paintEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_contentsDragEnterEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_contentsDragMoveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_contentsDragLeaveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_contentsDropEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTable_dragObject (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_startDrag (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_paintEmptyArea (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_activateNextCell (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTable_createEditor (JNIEnv *env, jobject, jint, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setCellContentFromEditor (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTable_beginEdit (JNIEnv *env, jobject, jint, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_endEdit (JNIEnv *env, jobject, jint, jint, jboolean, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_resizeData (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_insertWidget (JNIEnv *env, jobject, jint, jint, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_indexOf (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_windowActivationChange (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_isEditing (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_currEditRow (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_currEditCol (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_columnWidthChanged (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_rowHeightChanged (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_columnIndexChanged (JNIEnv *env, jobject, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_rowIndexChanged (JNIEnv *env, jobject, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_columnClicked (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QTable__ */ diff --git a/qtjava/javalib/qtjava/TQTableItem.cpp b/qtjava/javalib/qtjava/TQTableItem.cpp new file mode 100644 index 00000000..60dfa7d8 --- /dev/null +++ b/qtjava/javalib/qtjava/TQTableItem.cpp @@ -0,0 +1,267 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQTableItemJBridge : public TQTableItem +{ +public: + TQTableItemJBridge(TQTable* arg1,TQTableItem::EditType arg2) : TQTableItem(arg1,arg2) {}; + TQTableItemJBridge(TQTable* arg1,TQTableItem::EditType arg2,const TQString& arg3) : TQTableItem(arg1,arg2,arg3) {}; + TQTableItemJBridge(TQTable* arg1,TQTableItem::EditType arg2,const TQString& arg3,const TQPixmap& arg4) : TQTableItem(arg1,arg2,arg3,arg4) {}; + ~TQTableItemJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTableItem_alignment(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTableItem*) QtSupport::getQt(env, obj))->alignment(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTableItem_colSpan(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTableItem*) QtSupport::getQt(env, obj))->colSpan(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTableItem_col(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTableItem*) QtSupport::getQt(env, obj))->col(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTableItem_createEditor(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTableItem*) QtSupport::getQt(env, obj))->createEditor(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTableItem_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QTableItem_finalize(env, obj); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTableItem_editType(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTableItem*) QtSupport::getQt(env, obj))->editType(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTableItem_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQTableItem*)(TQTableItem*)QtSupport::getQt(env, obj))->table() == 0) { + delete (TQTableItem*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTableItem_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTableItem_isEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQTableItem*) QtSupport::getQt(env, obj))->isEnabled(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTableItem_isReplaceable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQTableItem*) QtSupport::getQt(env, obj))->isReplaceable(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTableItem_key(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQTableItem*) QtSupport::getQt(env, obj))->key(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTableItem_newTQTableItem__Lorg_kde_qt_QTable_2I(JNIEnv* env, jobject obj, jobject table, jint et) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTableItemJBridge((TQTable*) QtSupport::getQt(env, table), (TQTableItem::EditType) et)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTableItem_newTQTableItem__Lorg_kde_qt_QTable_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject table, jint et, jstring text) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTableItemJBridge((TQTable*) QtSupport::getQt(env, table), (TQTableItem::EditType) et, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTableItem_newTQTableItem__Lorg_kde_qt_QTable_2ILjava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject table, jint et, jstring text, jobject p) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTableItemJBridge((TQTable*) QtSupport::getQt(env, table), (TQTableItem::EditType) et, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, p))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTableItem_paint(JNIEnv* env, jobject obj, jobject p, jobject cg, jobject cr, jboolean selected) +{ + ((TQTableItem*) QtSupport::getQt(env, obj))->paint((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, cr), (bool) selected); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTableItem_pixmap(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQTableItem*) QtSupport::getQt(env, obj))->pixmap()), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTableItem_rowSpan(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTableItem*) QtSupport::getQt(env, obj))->rowSpan(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTableItem_row(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTableItem*) QtSupport::getQt(env, obj))->row(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTableItem_rtti(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTableItem*) QtSupport::getQt(env, obj))->rtti(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTableItem_setCol(JNIEnv* env, jobject obj, jint c) +{ + ((TQTableItem*) QtSupport::getQt(env, obj))->setCol((int) c); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTableItem_setContentFromEditor(JNIEnv* env, jobject obj, jobject w) +{ + ((TQTableItem*) QtSupport::getQt(env, obj))->setContentFromEditor((TQWidget*) QtSupport::getQt(env, w)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTableItem_setEnabled(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQTableItem*) QtSupport::getQt(env, obj))->setEnabled((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTableItem_setPixmap(JNIEnv* env, jobject obj, jobject p) +{ + ((TQTableItem*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, p)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTableItem_setReplaceable(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQTableItem*) QtSupport::getQt(env, obj))->setReplaceable((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTableItem_setRow(JNIEnv* env, jobject obj, jint r) +{ + ((TQTableItem*) QtSupport::getQt(env, obj))->setRow((int) r); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTableItem_setSpan(JNIEnv* env, jobject obj, jint rs, jint cs) +{ + ((TQTableItem*) QtSupport::getQt(env, obj))->setSpan((int) rs, (int) cs); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTableItem_setText(JNIEnv* env, jobject obj, jstring t) +{ +static TQString* _qstring_t = 0; + ((TQTableItem*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, t, &_qstring_t)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTableItem_setWordWrap(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQTableItem*) QtSupport::getQt(env, obj))->setWordWrap((bool) b); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTableItem_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQTableItem*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTableItem_table(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTableItem*) QtSupport::getQt(env, obj))->table(), "org.kde.qt.TQTable"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTableItem_text(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQTableItem*) QtSupport::getQt(env, obj))->text(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTableItem_updateEditor(JNIEnv* env, jobject obj, jint oldRow, jint oldCol) +{ + ((TQTableItem*) QtSupport::getQt(env, obj))->updateEditor((int) oldRow, (int) oldCol); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTableItem_wordWrap(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQTableItem*) QtSupport::getQt(env, obj))->wordWrap(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQTableItem.h b/qtjava/javalib/qtjava/TQTableItem.h new file mode 100644 index 00000000..8ea9e4bd --- /dev/null +++ b/qtjava/javalib/qtjava/TQTableItem.h @@ -0,0 +1,51 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QTableItem__ +#define __org_kde_qt_QTableItem__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableItem_newTQTableItem__Lorg_kde_qt_QTable_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableItem_newTQTableItem__Lorg_kde_qt_QTable_2ILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableItem_newTQTableItem__Lorg_kde_qt_QTable_2ILjava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jint, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTableItem_pixmap (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTableItem_text (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableItem_setPixmap (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableItem_setText (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTableItem_table (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTableItem_alignment (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableItem_setWordWrap (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTableItem_wordWrap (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTableItem_editType (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTableItem_createEditor (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableItem_setContentFromEditor (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableItem_setReplaceable (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTableItem_isReplaceable (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTableItem_key (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTableItem_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableItem_setSpan (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTableItem_rowSpan (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTableItem_colSpan (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableItem_setRow (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableItem_setCol (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTableItem_row (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTableItem_col (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableItem_paint (JNIEnv *env, jobject, jobject, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableItem_updateEditor (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableItem_setEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTableItem_isEnabled (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTableItem_rtti (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableItem_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableItem_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTableItem_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QTableItem__ */ diff --git a/qtjava/javalib/qtjava/TQTableSelection.cpp b/qtjava/javalib/qtjava/TQTableSelection.cpp new file mode 100644 index 00000000..fea05cc1 --- /dev/null +++ b/qtjava/javalib/qtjava/TQTableSelection.cpp @@ -0,0 +1,155 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + +class TQTableSelectionJBridge : public TQTableSelection +{ +public: + TQTableSelectionJBridge() : TQTableSelection() {}; + TQTableSelectionJBridge(int arg1,int arg2,int arg3,int arg4) : TQTableSelection(arg1,arg2,arg3,arg4) {}; + ~TQTableSelectionJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTableSelection_anchorCol(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTableSelection*) QtSupport::getQt(env, obj))->anchorCol(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTableSelection_anchorRow(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTableSelection*) QtSupport::getQt(env, obj))->anchorRow(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTableSelection_bottomRow(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTableSelection*) QtSupport::getQt(env, obj))->bottomRow(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTableSelection_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QTableSelection_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTableSelection_expandTo(JNIEnv* env, jobject obj, jint row, jint col) +{ + ((TQTableSelection*) QtSupport::getQt(env, obj))->expandTo((int) row, (int) col); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTableSelection_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQTableSelection*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTableSelection_init(JNIEnv* env, jobject obj, jint row, jint col) +{ + ((TQTableSelection*) QtSupport::getQt(env, obj))->init((int) row, (int) col); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTableSelection_isActive(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQTableSelection*) QtSupport::getQt(env, obj))->isActive(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTableSelection_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTableSelection_isEmpty(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQTableSelection*) QtSupport::getQt(env, obj))->isEmpty(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTableSelection_leftCol(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTableSelection*) QtSupport::getQt(env, obj))->leftCol(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTableSelection_newTQTableSelection__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTableSelectionJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTableSelection_newTQTableSelection__IIII(JNIEnv* env, jobject obj, jint start_row, jint start_col, jint end_row, jint end_col) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTableSelectionJBridge((int) start_row, (int) start_col, (int) end_row, (int) end_col)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTableSelection_numCols(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTableSelection*) QtSupport::getQt(env, obj))->numCols(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTableSelection_numRows(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTableSelection*) QtSupport::getQt(env, obj))->numRows(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTableSelection_op_1equals(JNIEnv* env, jobject obj, jobject s) +{ + jboolean xret = (jboolean) ((TQTableSelection*) QtSupport::getQt(env, obj))->operator==((const TQTableSelection&)*(const TQTableSelection*) QtSupport::getQt(env, s)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTableSelection_op_1not_1equals(JNIEnv* env, jobject obj, jobject s) +{ + jboolean xret = (jboolean) ((TQTableSelection*) QtSupport::getQt(env, obj))->operator!=((const TQTableSelection&)*(const TQTableSelection*) QtSupport::getQt(env, s)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTableSelection_rightCol(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTableSelection*) QtSupport::getQt(env, obj))->rightCol(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTableSelection_topRow(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTableSelection*) QtSupport::getQt(env, obj))->topRow(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQTableSelection.h b/qtjava/javalib/qtjava/TQTableSelection.h new file mode 100644 index 00000000..e4cfd3e8 --- /dev/null +++ b/qtjava/javalib/qtjava/TQTableSelection.h @@ -0,0 +1,37 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QTableSelection__ +#define __org_kde_qt_QTableSelection__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableSelection_newTQTableSelection__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableSelection_newTQTableSelection__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableSelection_init (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableSelection_expandTo (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTableSelection_op_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTableSelection_op_1not_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTableSelection_topRow (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTableSelection_bottomRow (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTableSelection_leftCol (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTableSelection_rightCol (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTableSelection_anchorRow (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTableSelection_anchorCol (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTableSelection_numRows (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTableSelection_numCols (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTableSelection_isActive (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTableSelection_isEmpty (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableSelection_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableSelection_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTableSelection_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QTableSelection__ */ diff --git a/qtjava/javalib/qtjava/TQTabletEvent.cpp b/qtjava/javalib/qtjava/TQTabletEvent.cpp new file mode 100644 index 00000000..8ce09c92 --- /dev/null +++ b/qtjava/javalib/qtjava/TQTabletEvent.cpp @@ -0,0 +1,121 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabletEvent_accept(JNIEnv* env, jobject obj) +{ + ((TQTabletEvent*) QtSupport::getQt(env, obj))->accept(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTabletEvent_device(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTabletEvent*) QtSupport::getQt(env, obj))->device(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabletEvent_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QTabletEvent_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabletEvent_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQTabletEvent*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTabletEvent_globalPos(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQTabletEvent*) QtSupport::getQt(env, obj))->globalPos(), "org.kde.qt.TQPoint"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTabletEvent_globalX(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTabletEvent*) QtSupport::getQt(env, obj))->globalX(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTabletEvent_globalY(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTabletEvent*) QtSupport::getQt(env, obj))->globalY(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTabletEvent_ignore(JNIEnv* env, jobject obj) +{ + ((TQTabletEvent*) QtSupport::getQt(env, obj))->ignore(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTabletEvent_isAccepted(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTabletEvent*) QtSupport::getQt(env, obj))->isAccepted(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTabletEvent_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTabletEvent_pos(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQTabletEvent*) QtSupport::getQt(env, obj))->pos(), "org.kde.qt.TQPoint"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTabletEvent_pressure(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTabletEvent*) QtSupport::getQt(env, obj))->pressure(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTabletEvent_xTilt(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTabletEvent*) QtSupport::getQt(env, obj))->xTilt(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTabletEvent_x(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTabletEvent*) QtSupport::getQt(env, obj))->x(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTabletEvent_yTilt(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTabletEvent*) QtSupport::getQt(env, obj))->yTilt(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTabletEvent_y(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTabletEvent*) QtSupport::getQt(env, obj))->y(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQTabletEvent.h b/qtjava/javalib/qtjava/TQTabletEvent.h new file mode 100644 index 00000000..490660ad --- /dev/null +++ b/qtjava/javalib/qtjava/TQTabletEvent.h @@ -0,0 +1,34 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QTabletEvent__ +#define __org_kde_qt_QTabletEvent__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabletEvent_pressure (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabletEvent_xTilt (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabletEvent_yTilt (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabletEvent_pos (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabletEvent_globalPos (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabletEvent_x (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabletEvent_y (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabletEvent_globalX (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabletEvent_globalY (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabletEvent_device (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTabletEvent_isAccepted (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabletEvent_accept (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabletEvent_ignore (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabletEvent_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabletEvent_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTabletEvent_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QTabletEvent__ */ diff --git a/qtjava/javalib/qtjava/TQTextBrowser.cpp b/qtjava/javalib/qtjava/TQTextBrowser.cpp new file mode 100644 index 00000000..544977a7 --- /dev/null +++ b/qtjava/javalib/qtjava/TQTextBrowser.cpp @@ -0,0 +1,809 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQTextBrowserJBridge : public TQTextBrowser +{ +public: + TQTextBrowserJBridge(TQWidget* arg1,const char* arg2) : TQTextBrowser(arg1,arg2) {}; + TQTextBrowserJBridge(TQWidget* arg1) : TQTextBrowser(arg1) {}; + TQTextBrowserJBridge() : TQTextBrowser() {}; + void public_backward() { + TQTextBrowser::backward(); + return; + } + void public_forward() { + TQTextBrowser::forward(); + return; + } + void public_home() { + TQTextBrowser::home(); + return; + } + void public_reload() { + TQTextBrowser::reload(); + return; + } + void protected_keyPressEvent(TQKeyEvent* arg1) { + TQTextBrowser::keyPressEvent(arg1); + return; + } + ~TQTextBrowserJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { + TQWidget::dragLeaveEvent(arg1); + } + return; + } + void setMask(const TQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { + TQWidget::setMask(arg1); + } + return; + } + void setColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQTextEdit::setColor(arg1); + } + return; + } + void resizeEvent(TQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { + TQTextEdit::resizeEvent(arg1); + } + return; + } + void setFrameRect(const TQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { + TQFrame::setFrameRect(arg1); + } + return; + } + void mouseDoubleClickEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::mouseDoubleClickEvent(arg1); + } + return; + } + void paletteChange(const TQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { + TQWidget::paletteChange(arg1); + } + return; + } + void contentsMouseReleaseEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQTextEdit::contentsMouseReleaseEvent(arg1); + } + return; + } + void setMimeSourceFactory(TQMimeSourceFactory* arg1) { + if (!QtSupport::eventDelegate(this,"setMimeSourceFactory",(void*)arg1,"org.kde.qt.TQMimeSourceFactory")) { + TQTextEdit::setMimeSourceFactory(arg1); + } + return; + } + void zoomOut() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","zoomOut")) { + TQTextEdit::zoomOut(); + } + return; + } + void viewportPaintEvent(TQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { + TQScrollView::viewportPaintEvent(arg1); + } + return; + } + void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMouseDoubleClickEvent(arg1); + } + return; + } + void viewportMouseReleaseEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMouseReleaseEvent(arg1); + } + return; + } + void del() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","del")) { + TQTextEdit::del(); + } + return; + } + void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { + TQTextEdit::contentsDragLeaveEvent(arg1); + } + return; + } + void setActiveWindow() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","setActiveWindow")) { + TQWidget::setActiveWindow(); + } + return; + } + void dragEnterEvent(TQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { + TQWidget::dragEnterEvent(arg1); + } + return; + } + void undo() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","undo")) { + TQTextEdit::undo(); + } + return; + } + void focusOutEvent(TQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { + TQWidget::focusOutEvent(arg1); + } + return; + } + void setPaper(const TQBrush& arg1) { + if (!QtSupport::eventDelegate(this,"setPaper",(void*)&arg1,"org.kde.qt.TQBrush")) { + TQTextEdit::setPaper(arg1); + } + return; + } + void setFocus() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","setFocus")) { + TQWidget::setFocus(); + } + return; + } + void dragMoveEvent(TQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { + TQWidget::dragMoveEvent(arg1); + } + return; + } + void resetFormat() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","resetFormat")) { + TQTextEdit::resetFormat(); + } + return; + } + void zoomIn() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","zoomIn")) { + TQTextEdit::zoomIn(); + } + return; + } + void drawFrame(TQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { + TQFrame::drawFrame(arg1); + } + return; + } + void hide() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","hide")) { + TQWidget::hide(); + } + return; + } + void setPaletteBackgroundColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setPaletteBackgroundColor(arg1); + } + return; + } + void viewportResizeEvent(TQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { + TQTextEdit::viewportResizeEvent(arg1); + } + return; + } + void setEraseColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setEraseColor(arg1); + } + return; + } + void paintEvent(TQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { + TQFrame::paintEvent(arg1); + } + return; + } + void imStartEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQTextEdit::imStartEvent(arg1); + } + return; + } + void cut() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","cut")) { + TQTextEdit::cut(); + } + return; + } + void scrollToBottom() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","scrollToBottom")) { + TQTextEdit::scrollToBottom(); + } + return; + } + void clear() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","clear")) { + TQTextEdit::clear(); + } + return; + } + void unsetCursor() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","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.qt.TQTextBrowser","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.qt.TQTextBrowser","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","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")) { + TQTextBrowser::keyPressEvent(arg1); + } + return; + } + bool customWhatsThis() { + return QtSupport::booleanDelegate(this,"customWhatsThis"); + } + void indent() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","indent")) { + TQTextEdit::indent(); + } + return; + } + void setPaletteBackgroundPixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setPaletteBackgroundPixmap(arg1); + } + return; + } + void setCornerWidget(TQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { + TQScrollView::setCornerWidget(arg1); + } + return; + } + void contentsDragEnterEvent(TQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { + TQTextEdit::contentsDragEnterEvent(arg1); + } + return; + } + void contentsWheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQTextEdit::contentsWheelEvent(arg1); + } + return; + } + void setCursor(const TQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { + TQWidget::setCursor(arg1); + } + return; + } + void closeEvent(TQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { + TQWidget::closeEvent(arg1); + } + return; + } + void copy() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","copy")) { + TQTextEdit::copy(); + } + return; + } + void setFont(const TQFont& arg1) { + if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { + TQTextEdit::setFont(arg1); + } + return; + } + void customEvent(TQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { + TQObject::customEvent(arg1); + } + return; + } + void contentsDragMoveEvent(TQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { + TQTextEdit::contentsDragMoveEvent(arg1); + } + return; + } + void enterEvent(TQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { + TQWidget::enterEvent(arg1); + } + return; + } + void timerEvent(TQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { + TQObject::timerEvent(arg1); + } + return; + } + void contentsMouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQTextEdit::contentsMouseMoveEvent(arg1); + } + return; + } + void mouseReleaseEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::mouseReleaseEvent(arg1); + } + return; + } + void setErasePixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setErasePixmap(arg1); + } + return; + } + void childEvent(TQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { + TQObject::childEvent(arg1); + } + return; + } + void dropEvent(TQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { + TQWidget::dropEvent(arg1); + } + return; + } + void leaveEvent(TQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { + TQWidget::leaveEvent(arg1); + } + return; + } + void setIcon(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setIcon(arg1); + } + return; + } + void doChangeInterval() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","doChangeInterval")) { + TQTextEdit::doChangeInterval(); + } + return; + } + void contentsMousePressEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQTextEdit::contentsMousePressEvent(arg1); + } + return; + } + void updateMask() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","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.qt.TQTextBrowser","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.qt.TQTextBrowser","ensureCursorVisible")) { + TQTextEdit::ensureCursorVisible(); + } + return; + } + void mouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::mouseMoveEvent(arg1); + } + return; + } + void viewportMouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMouseMoveEvent(arg1); + } + return; + } + void setFocusProxy(TQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { + TQWidget::setFocusProxy(arg1); + } + return; + } + void sync() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","sync")) { + TQTextEdit::sync(); + } + return; + } + void setBackgroundColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setBackgroundColor(arg1); + } + return; + } + void viewportDropEvent(TQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { + TQScrollView::viewportDropEvent(arg1); + } + return; + } + void viewportDragMoveEvent(TQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { + TQScrollView::viewportDragMoveEvent(arg1); + } + return; + } + void adjustSize() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","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.qt.TQTextBrowser","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.qt.TQTextBrowser","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.qt.TQTextBrowser","paste")) { + TQTextEdit::paste(); + } + return; + } + void redo() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","redo")) { + TQTextEdit::redo(); + } + return; + } + void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { + TQScrollView::viewportDragLeaveEvent(arg1); + } + return; + } + void contentsContextMenuEvent(TQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { + TQTextEdit::contentsContextMenuEvent(arg1); + } + return; + } + void setGeometry(const TQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { + TQWidget::setGeometry(arg1); + } + return; + } + void viewportMousePressEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMousePressEvent(arg1); + } + return; + } + void showMinimized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextBrowser_backward(JNIEnv* env, jobject obj) +{ + ((TQTextBrowserJBridge*) QtSupport::getQt(env, obj))->public_backward(); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTextBrowser_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQTextBrowser*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextBrowser_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QTextBrowser_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextBrowser_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQTextBrowser*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQTextBrowser*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextBrowser_forward(JNIEnv* env, jobject obj) +{ + ((TQTextBrowserJBridge*) QtSupport::getQt(env, obj))->public_forward(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextBrowser_home(JNIEnv* env, jobject obj) +{ + ((TQTextBrowserJBridge*) QtSupport::getQt(env, obj))->public_home(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTextBrowser_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextBrowser_keyPressEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQTextBrowserJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextBrowser_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTextBrowser*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextBrowser_newTQTextBrowser__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTextBrowserJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextBrowser_newTQTextBrowser__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTextBrowserJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextBrowser_newTQTextBrowser__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 TQTextBrowserJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextBrowser_reload(JNIEnv* env, jobject obj) +{ + ((TQTextBrowserJBridge*) QtSupport::getQt(env, obj))->public_reload(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextBrowser_setSource(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + ((TQTextBrowser*) QtSupport::getQt(env, obj))->setSource((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextBrowser_setText__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring txt) +{ +static TQString* _qstring_txt = 0; + ((TQTextBrowser*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextBrowser_setText__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring txt, jstring context) +{ +static TQString* _qstring_txt = 0; +static TQString* _qstring_context = 0; + ((TQTextBrowser*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTextBrowser_source(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQTextBrowser*) QtSupport::getQt(env, obj))->source(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTextBrowser_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQTextBrowserJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTextBrowser_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQTextBrowserJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQTextBrowser.h b/qtjava/javalib/qtjava/TQTextBrowser.h new file mode 100644 index 00000000..43a62f15 --- /dev/null +++ b/qtjava/javalib/qtjava/TQTextBrowser.h @@ -0,0 +1,37 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QTextBrowser__ +#define __org_kde_qt_QTextBrowser__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextBrowser_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextBrowser_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextBrowser_newTQTextBrowser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextBrowser_newTQTextBrowser__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextBrowser_newTQTextBrowser__ (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextBrowser_source (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextBrowser_setSource (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextBrowser_backward (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextBrowser_forward (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextBrowser_home (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextBrowser_reload (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextBrowser_setText__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextBrowser_setText__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextBrowser_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextBrowser_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextBrowser_keyPressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextBrowser_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextBrowser_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextBrowser_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QTextBrowser__ */ diff --git a/qtjava/javalib/qtjava/TQTextCodec.cpp b/qtjava/javalib/qtjava/TQTextCodec.cpp new file mode 100644 index 00000000..ae9b384b --- /dev/null +++ b/qtjava/javalib/qtjava/TQTextCodec.cpp @@ -0,0 +1,276 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTextCodec_canEncode__C(JNIEnv* env, jobject obj, jchar arg1) +{ +static TQChar* _qchar_arg1 = 0; + jboolean xret = (jboolean) ((TQTextCodec*) QtSupport::getQt(env, obj))->canEncode((TQChar)*(TQChar*) QtSupport::toTQChar(env, arg1, &_qchar_arg1)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTextCodec_canEncode__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TQTextCodec*) QtSupport::getQt(env, obj))->canEncode((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return xret; +} + +JNIEXPORT jshort JNICALL +Java_org_kde_qt_QTextCodec_characterFromUnicode(JNIEnv* env, jobject obj, jstring str, jint pos) +{ +static TQString* _qstring_str = 0; + jshort xret = (jshort) ((TQTextCodec*) QtSupport::getQt(env, obj))->characterFromUnicode((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) pos); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextCodec_codecForCStrings(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQTextCodec::codecForCStrings(), "org.kde.qt.TQTextCodec"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextCodec_codecForContent(JNIEnv* env, jclass cls, jstring chars, jint len) +{ + (void) cls; +static TQCString* _qstring_chars = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQTextCodec::codecForContent((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len), "org.kde.qt.TQTextCodec"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextCodec_codecForIndex(JNIEnv* env, jclass cls, jint i) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQTextCodec::codecForIndex((int) i), "org.kde.qt.TQTextCodec"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextCodec_codecForLocale(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQTextCodec::codecForLocale(), "org.kde.qt.TQTextCodec"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextCodec_codecForMib(JNIEnv* env, jclass cls, jint mib) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQTextCodec::codecForMib((int) mib), "org.kde.qt.TQTextCodec"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextCodec_codecForName__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring hint) +{ + (void) cls; +static TQCString* _qstring_hint = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQTextCodec::codecForName((const char*) QtSupport::toCharString(env, hint, &_qstring_hint)), "org.kde.qt.TQTextCodec"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextCodec_codecForName__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring hint, jint accuracy) +{ + (void) cls; +static TQCString* _qstring_hint = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQTextCodec::codecForName((const char*) QtSupport::toCharString(env, hint, &_qstring_hint), (int) accuracy), "org.kde.qt.TQTextCodec"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextCodec_codecForTr(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQTextCodec::codecForTr(), "org.kde.qt.TQTextCodec"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextCodec_deleteAllCodecs(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + TQTextCodec::deleteAllCodecs(); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTextCodec_fromUnicode__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring uc) +{ + TQCString _qstring; +static TQString* _qstring_uc = 0; + _qstring = ((TQTextCodec*) QtSupport::getQt(env, obj))->fromUnicode((const TQString&)*(TQString*) QtSupport::toTQString(env, uc, &_qstring_uc)); + return QtSupport::fromTQCString(env, &_qstring); +} + +JNIEXPORT jbyteArray JNICALL +Java_org_kde_qt_QTextCodec_fromUnicode__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring uc, jint from, jint len) +{ + TQByteArray _qbyteArray; +static TQString* _qstring_uc = 0; + _qbyteArray = ((TQTextCodec*) QtSupport::getQt(env, obj))->fromUnicode((const TQString&)*(TQString*) QtSupport::toTQString(env, uc, &_qstring_uc), (int) from, (int) len); + return QtSupport::fromTQByteArray(env, &_qbyteArray); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTextCodec_fromUnicode__Ljava_lang_String_2_3I(JNIEnv* env, jobject obj, jstring uc, jintArray lenInOut) +{ + TQCString _qstring; +static TQString* _qstring_uc = 0; + int* _int_lenInOut = QtSupport::toIntPtr(env, lenInOut); + _qstring = ((TQTextCodec*) QtSupport::getQt(env, obj))->fromUnicode((const TQString&)*(TQString*) QtSupport::toTQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); + env->SetIntArrayRegion(lenInOut, 0, 1, (jint *) _int_lenInOut); + return QtSupport::fromTQCString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTextCodec_heuristicContentMatch(JNIEnv* env, jobject obj, jstring chars, jint len) +{ +static TQCString* _qstring_chars = 0; + jint xret = (jint) ((TQTextCodec*) QtSupport::getQt(env, obj))->heuristicContentMatch((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTextCodec_heuristicNameMatch(JNIEnv* env, jobject obj, jstring hint) +{ +static TQCString* _qstring_hint = 0; + jint xret = (jint) ((TQTextCodec*) QtSupport::getQt(env, obj))->heuristicNameMatch((const char*) QtSupport::toCharString(env, hint, &_qstring_hint)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextCodec_loadCharmapFile(JNIEnv* env, jclass cls, jstring filename) +{ + (void) cls; +static TQString* _qstring_filename = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQTextCodec::loadCharmapFile((TQString)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)), "org.kde.qt.TQTextCodec"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextCodec_loadCharmap(JNIEnv* env, jclass cls, jobject arg1) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQTextCodec::loadCharmap((TQIODevice*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQTextCodec"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTextCodec_locale(JNIEnv* env, jclass cls) +{ + const char* _qstring; + (void) cls; + _qstring = TQTextCodec::locale(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextCodec_makeDecoder(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTextCodec*) QtSupport::getQt(env, obj))->makeDecoder(), "org.kde.qt.TQTextDecoder"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextCodec_makeEncoder(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTextCodec*) QtSupport::getQt(env, obj))->makeEncoder(), "org.kde.qt.TQTextEncoder"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTextCodec_mibEnum(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTextCodec*) QtSupport::getQt(env, obj))->mibEnum(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTextCodec_mimeName(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQTextCodec*) QtSupport::getQt(env, obj))->mimeName(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTextCodec_name(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQTextCodec*) QtSupport::getQt(env, obj))->name(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextCodec_setCodecForCStrings(JNIEnv* env, jclass cls, jobject c) +{ + (void) cls; + TQTextCodec::setCodecForCStrings((TQTextCodec*) QtSupport::getQt(env, c)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextCodec_setCodecForLocale(JNIEnv* env, jclass cls, jobject c) +{ + (void) cls; + TQTextCodec::setCodecForLocale((TQTextCodec*) QtSupport::getQt(env, c)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextCodec_setCodecForTr(JNIEnv* env, jclass cls, jobject c) +{ + (void) cls; + TQTextCodec::setCodecForTr((TQTextCodec*) QtSupport::getQt(env, c)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTextCodec_toUnicode__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +{ + TQString _qstring; +static TQCString* _qcstring_arg1 = 0; + _qstring = ((TQTextCodec*) QtSupport::getQt(env, obj))->toUnicode((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, arg1, &_qcstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTextCodec_toUnicode__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring chars, jint len) +{ + TQString _qstring; +static TQCString* _qstring_chars = 0; + _qstring = ((TQTextCodec*) QtSupport::getQt(env, obj))->toUnicode((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTextCodec_toUnicode___3B(JNIEnv* env, jobject obj, jbyteArray arg1) +{ + TQString _qstring; +static TQByteArray* _qbyteArray_arg1 = 0; + _qstring = ((TQTextCodec*) QtSupport::getQt(env, obj))->toUnicode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, arg1, &_qbyteArray_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTextCodec_toUnicode___3BI(JNIEnv* env, jobject obj, jbyteArray arg1, jint len) +{ + TQString _qstring; +static TQByteArray* _qbyteArray_arg1 = 0; + _qstring = ((TQTextCodec*) QtSupport::getQt(env, obj))->toUnicode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, arg1, &_qbyteArray_arg1), (int) len); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQTextCodec.h b/qtjava/javalib/qtjava/TQTextCodec.h new file mode 100644 index 00000000..78091798 --- /dev/null +++ b/qtjava/javalib/qtjava/TQTextCodec.h @@ -0,0 +1,50 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QTextCodec__ +#define __org_kde_qt_QTextCodec__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextCodec_name (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextCodec_mimeName (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextCodec_mibEnum (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextCodec_makeDecoder (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextCodec_makeEncoder (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextCodec_toUnicode__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextCodec_fromUnicode__Ljava_lang_String_2_3I (JNIEnv *env, jobject, jstring, jintArray); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextCodec_fromUnicode__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextCodec_toUnicode___3BI (JNIEnv *env, jobject, jbyteArray, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextCodec_toUnicode___3B (JNIEnv *env, jobject, jbyteArray); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextCodec_toUnicode__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextCodec_canEncode__C (JNIEnv *env, jobject, jchar); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextCodec_canEncode__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextCodec_heuristicContentMatch (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextCodec_heuristicNameMatch (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QTextCodec_fromUnicode__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); +extern JNIEXPORT jshort JNICALL Java_org_kde_qt_QTextCodec_characterFromUnicode (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextCodec_loadCharmap (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextCodec_loadCharmapFile (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextCodec_codecForMib (JNIEnv *env, jclass, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextCodec_codecForName__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextCodec_codecForName__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextCodec_codecForContent (JNIEnv *env, jclass, jstring, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextCodec_codecForIndex (JNIEnv *env, jclass, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextCodec_codecForLocale (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextCodec_setCodecForLocale (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextCodec_codecForTr (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextCodec_setCodecForTr (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextCodec_codecForCStrings (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextCodec_setCodecForCStrings (JNIEnv *env, jclass, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextCodec_deleteAllCodecs (JNIEnv *env, jclass); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextCodec_locale (JNIEnv *env, jclass); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QTextCodec__ */ diff --git a/qtjava/javalib/qtjava/TQTextDecoder.cpp b/qtjava/javalib/qtjava/TQTextDecoder.cpp new file mode 100644 index 00000000..63339de3 --- /dev/null +++ b/qtjava/javalib/qtjava/TQTextDecoder.cpp @@ -0,0 +1,16 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTextDecoder_toUnicode(JNIEnv* env, jobject obj, jstring chars, jint len) +{ + TQString _qstring; +static TQCString* _qstring_chars = 0; + _qstring = ((TQTextDecoder*) QtSupport::getQt(env, obj))->toUnicode((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQTextDecoder.h b/qtjava/javalib/qtjava/TQTextDecoder.h new file mode 100644 index 00000000..f91bb8d4 --- /dev/null +++ b/qtjava/javalib/qtjava/TQTextDecoder.h @@ -0,0 +1,19 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QTextDecoder__ +#define __org_kde_qt_QTextDecoder__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextDecoder_toUnicode (JNIEnv *env, jobject, jstring, jint); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QTextDecoder__ */ diff --git a/qtjava/javalib/qtjava/TQTextDrag.cpp b/qtjava/javalib/qtjava/TQTextDrag.cpp new file mode 100644 index 00000000..585cbd77 --- /dev/null +++ b/qtjava/javalib/qtjava/TQTextDrag.cpp @@ -0,0 +1,247 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQTextDragJBridge : public TQTextDrag +{ +public: + TQTextDragJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQTextDrag(arg1,arg2,arg3) {}; + TQTextDragJBridge(const TQString& arg1,TQWidget* arg2) : TQTextDrag(arg1,arg2) {}; + TQTextDragJBridge(const TQString& arg1) : TQTextDrag(arg1) {}; + TQTextDragJBridge(TQWidget* arg1,const char* arg2) : TQTextDrag(arg1,arg2) {}; + TQTextDragJBridge(TQWidget* arg1) : TQTextDrag(arg1) {}; + TQTextDragJBridge() : TQTextDrag() {}; + ~TQTextDragJBridge() {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.qt.TQTextDrag",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTextDrag_canDecode(JNIEnv* env, jclass cls, jobject e) +{ + (void) cls; + jboolean xret = (jboolean) TQTextDragJBridge::canDecode((const TQMimeSource*) QtSupport::mimeSource(env, e)); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTextDrag_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQTextDrag*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTextDrag_decode__Lorg_kde_qt_QMimeSourceInterface_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jobject e, jobject s) +{ + (void) cls; +static TQString* _qstring_s = 0; + jboolean xret = (jboolean) TQTextDragJBridge::decode((const TQMimeSource*) QtSupport::mimeSource(env, e), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, s, &_qstring_s)); + QtSupport::fromTQStringToStringBuffer(env, _qstring_s, s); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTextDrag_decode__Lorg_kde_qt_QMimeSourceInterface_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jobject e, jobject s, jobject subtype) +{ + (void) cls; +static TQString* _qstring_s = 0; +static TQCString* _qcstring_subtype = 0; + if (_qcstring_subtype == 0) { + _qcstring_subtype = new TQCString(); + } + jboolean xret = (jboolean) TQTextDragJBridge::decode((const TQMimeSource*) QtSupport::mimeSource(env, e), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, s, &_qstring_s), (TQCString&)*(TQCString*) _qcstring_subtype); + QtSupport::fromTQStringToStringBuffer(env, _qstring_s, s); + QtSupport::fromTQCStringToStringBuffer(env, _qcstring_subtype, subtype); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextDrag_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QTextDrag_finalize(env, obj); + return; +} + +JNIEXPORT jbyteArray JNICALL +Java_org_kde_qt_QTextDrag_encodedData(JNIEnv* env, jobject obj, jstring arg1) +{ + TQByteArray _qbyteArray; +static TQCString* _qstring_arg1 = 0; + _qbyteArray = ((TQTextDrag*) QtSupport::getQt(env, obj))->encodedData((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQByteArray(env, &_qbyteArray); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextDrag_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQTextDrag*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQTextDrag*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTextDrag_format(JNIEnv* env, jobject obj, jint i) +{ + const char* _qstring; + _qstring = ((TQTextDrag*) QtSupport::getQt(env, obj))->format((int) i); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTextDrag_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextDrag_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTextDrag*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextDrag_newTQTextDrag__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTextDragJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextDrag_newTQTextDrag__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTextDragJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextDrag_newTQTextDrag__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring arg1, jobject dragSource) +{ +static TQString* _qstring_arg1 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTextDragJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (TQWidget*) QtSupport::getQt(env, dragSource))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextDrag_newTQTextDrag__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jobject dragSource, jstring name) +{ +static TQString* _qstring_arg1 = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTextDragJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (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_qt_QTextDrag_newTQTextDrag__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject dragSource) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTextDragJBridge((TQWidget*) QtSupport::getQt(env, dragSource))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextDrag_newTQTextDrag__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 TQTextDragJBridge((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_qt_QTextDrag_setSubtype(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQCString* _qcstring_arg1 = 0; + ((TQTextDrag*) QtSupport::getQt(env, obj))->setSubtype((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, arg1, &_qcstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextDrag_setText(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQTextDrag*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTextDrag_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQTextDragJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTextDrag_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQTextDragJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQTextDrag.h b/qtjava/javalib/qtjava/TQTextDrag.h new file mode 100644 index 00000000..bb369b4a --- /dev/null +++ b/qtjava/javalib/qtjava/TQTextDrag.h @@ -0,0 +1,38 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QTextDrag__ +#define __org_kde_qt_QTextDrag__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextDrag_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextDrag_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextDrag_newTQTextDrag__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextDrag_newTQTextDrag__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextDrag_newTQTextDrag__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextDrag_newTQTextDrag__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextDrag_newTQTextDrag__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextDrag_newTQTextDrag__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextDrag_setText (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextDrag_setSubtype (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextDrag_format (JNIEnv *env, jobject, jint); +extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QTextDrag_encodedData (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextDrag_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextDrag_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextDrag_canDecode (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextDrag_decode__Lorg_kde_qt_QMimeSourceInterface_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextDrag_decode__Lorg_kde_qt_QMimeSourceInterface_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextDrag_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextDrag_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextDrag_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QTextDrag__ */ diff --git a/qtjava/javalib/qtjava/TQTextEdit.cpp b/qtjava/javalib/qtjava/TQTextEdit.cpp new file mode 100644 index 00000000..56ae8149 --- /dev/null +++ b/qtjava/javalib/qtjava/TQTextEdit.cpp @@ -0,0 +1,2102 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQTextEditJBridge : public TQTextEdit +{ +public: + TQTextEditJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4) : TQTextEdit(arg1,arg2,arg3,arg4) {}; + TQTextEditJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3) : TQTextEdit(arg1,arg2,arg3) {}; + TQTextEditJBridge(const TQString& arg1,const TQString& arg2) : TQTextEdit(arg1,arg2) {}; + TQTextEditJBridge(const TQString& arg1) : TQTextEdit(arg1) {}; + TQTextEditJBridge(TQWidget* arg1,const char* arg2) : TQTextEdit(arg1,arg2) {}; + TQTextEditJBridge(TQWidget* arg1) : TQTextEdit(arg1) {}; + TQTextEditJBridge() : TQTextEdit() {}; + void public_copy() { + TQTextEdit::copy(); + return; + } + void public_selectAll() { + TQTextEdit::selectAll(); + return; + } + void public_zoomIn() { + TQTextEdit::zoomIn(); + return; + } + void public_zoomOut() { + TQTextEdit::zoomOut(); + return; + } + void public_sync() { + TQTextEdit::sync(); + return; + } + void public_undo() { + TQTextEdit::undo(); + return; + } + void public_redo() { + TQTextEdit::redo(); + return; + } + void public_cut() { + TQTextEdit::cut(); + return; + } + void public_paste() { + TQTextEdit::paste(); + return; + } + void public_clear() { + TQTextEdit::clear(); + return; + } + void public_del() { + TQTextEdit::del(); + return; + } + void public_indent() { + TQTextEdit::indent(); + return; + } + void public_resetFormat() { + TQTextEdit::resetFormat(); + return; + } + void public_ensureCursorVisible() { + TQTextEdit::ensureCursorVisible(); + return; + } + void public_removeSelectedText() { + TQTextEdit::removeSelectedText(); + return; + } + void public_removeSelection() { + TQTextEdit::removeSelection(); + return; + } + void public_scrollToBottom() { + TQTextEdit::scrollToBottom(); + return; + } + void protected_repaintChanged() { + TQTextEdit::repaintChanged(); + return; + } + void protected_updateStyles() { + TQTextEdit::updateStyles(); + return; + } + void protected_drawContents(TQPainter* arg1,int arg2,int arg3,int arg4,int arg5) { + TQTextEdit::drawContents(arg1,arg2,arg3,arg4,arg5); + return; + } + bool protected_event(TQEvent* arg1) { + return (bool) TQTextEdit::event(arg1); + } + void protected_keyPressEvent(TQKeyEvent* arg1) { + TQTextEdit::keyPressEvent(arg1); + return; + } + void protected_resizeEvent(TQResizeEvent* arg1) { + TQTextEdit::resizeEvent(arg1); + return; + } + void protected_viewportResizeEvent(TQResizeEvent* arg1) { + TQTextEdit::viewportResizeEvent(arg1); + return; + } + void protected_contentsMousePressEvent(TQMouseEvent* arg1) { + TQTextEdit::contentsMousePressEvent(arg1); + return; + } + void protected_contentsMouseMoveEvent(TQMouseEvent* arg1) { + TQTextEdit::contentsMouseMoveEvent(arg1); + return; + } + void protected_contentsMouseReleaseEvent(TQMouseEvent* arg1) { + TQTextEdit::contentsMouseReleaseEvent(arg1); + return; + } + void protected_contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { + TQTextEdit::contentsMouseDoubleClickEvent(arg1); + return; + } + void protected_contentsWheelEvent(TQWheelEvent* arg1) { + TQTextEdit::contentsWheelEvent(arg1); + return; + } + void protected_imStartEvent(TQIMEvent* arg1) { + TQTextEdit::imStartEvent(arg1); + return; + } + void protected_imComposeEvent(TQIMEvent* arg1) { + TQTextEdit::imComposeEvent(arg1); + return; + } + void protected_imEndEvent(TQIMEvent* arg1) { + TQTextEdit::imEndEvent(arg1); + return; + } + void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) { + TQTextEdit::contentsDragEnterEvent(arg1); + return; + } + void protected_contentsDragMoveEvent(TQDragMoveEvent* arg1) { + TQTextEdit::contentsDragMoveEvent(arg1); + return; + } + void protected_contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { + TQTextEdit::contentsDragLeaveEvent(arg1); + return; + } + void protected_contentsDropEvent(TQDropEvent* arg1) { + TQTextEdit::contentsDropEvent(arg1); + return; + } + void protected_contentsContextMenuEvent(TQContextMenuEvent* arg1) { + TQTextEdit::contentsContextMenuEvent(arg1); + return; + } + bool protected_focusNextPrevChild(bool arg1) { + return (bool) TQTextEdit::focusNextPrevChild(arg1); + } + TQPopupMenu* protected_createPopupMenu(const TQPoint& arg1) { + return (TQPopupMenu*) TQTextEdit::createPopupMenu(arg1); + } + TQPopupMenu* protected_createPopupMenu() { + return (TQPopupMenu*) TQTextEdit::createPopupMenu(); + } + void protected_drawCursor(bool arg1) { + TQTextEdit::drawCursor(arg1); + return; + } + void protected_windowActivationChange(bool arg1) { + TQTextEdit::windowActivationChange(arg1); + return; + } + void protected_doChangeInterval() { + TQTextEdit::doChangeInterval(); + return; + } + void protected_sliderReleased() { + TQTextEdit::sliderReleased(); + return; + } + ~TQTextEditJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { + TQWidget::dragLeaveEvent(arg1); + } + return; + } + void setMask(const TQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { + TQWidget::setMask(arg1); + } + return; + } + void setColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQTextEdit::setColor(arg1); + } + return; + } + void resizeEvent(TQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { + TQTextEdit::resizeEvent(arg1); + } + return; + } + void setFrameRect(const TQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { + TQFrame::setFrameRect(arg1); + } + return; + } + void mouseDoubleClickEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::mouseDoubleClickEvent(arg1); + } + return; + } + void paletteChange(const TQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { + TQWidget::paletteChange(arg1); + } + return; + } + void contentsMouseReleaseEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQTextEdit::contentsMouseReleaseEvent(arg1); + } + return; + } + void setMimeSourceFactory(TQMimeSourceFactory* arg1) { + if (!QtSupport::eventDelegate(this,"setMimeSourceFactory",(void*)arg1,"org.kde.qt.TQMimeSourceFactory")) { + TQTextEdit::setMimeSourceFactory(arg1); + } + return; + } + void zoomOut() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","zoomOut")) { + TQTextEdit::zoomOut(); + } + return; + } + void viewportPaintEvent(TQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { + TQScrollView::viewportPaintEvent(arg1); + } + return; + } + void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMouseDoubleClickEvent(arg1); + } + return; + } + void viewportMouseReleaseEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMouseReleaseEvent(arg1); + } + return; + } + void del() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","del")) { + TQTextEdit::del(); + } + return; + } + void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { + TQTextEdit::contentsDragLeaveEvent(arg1); + } + return; + } + void setActiveWindow() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","setActiveWindow")) { + TQWidget::setActiveWindow(); + } + return; + } + void dragEnterEvent(TQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { + TQWidget::dragEnterEvent(arg1); + } + return; + } + void undo() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","undo")) { + TQTextEdit::undo(); + } + return; + } + void focusOutEvent(TQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { + TQWidget::focusOutEvent(arg1); + } + return; + } + void setPaper(const TQBrush& arg1) { + if (!QtSupport::eventDelegate(this,"setPaper",(void*)&arg1,"org.kde.qt.TQBrush")) { + TQTextEdit::setPaper(arg1); + } + return; + } + void setFocus() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","setFocus")) { + TQWidget::setFocus(); + } + return; + } + void dragMoveEvent(TQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { + TQWidget::dragMoveEvent(arg1); + } + return; + } + void resetFormat() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","resetFormat")) { + TQTextEdit::resetFormat(); + } + return; + } + void zoomIn() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","zoomIn")) { + TQTextEdit::zoomIn(); + } + return; + } + void drawFrame(TQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { + TQFrame::drawFrame(arg1); + } + return; + } + void hide() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","hide")) { + TQWidget::hide(); + } + return; + } + void setPaletteBackgroundColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setPaletteBackgroundColor(arg1); + } + return; + } + void viewportResizeEvent(TQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { + TQTextEdit::viewportResizeEvent(arg1); + } + return; + } + void setEraseColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setEraseColor(arg1); + } + return; + } + void paintEvent(TQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { + TQFrame::paintEvent(arg1); + } + return; + } + void imStartEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQTextEdit::imStartEvent(arg1); + } + return; + } + void cut() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","cut")) { + TQTextEdit::cut(); + } + return; + } + void scrollToBottom() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","scrollToBottom")) { + TQTextEdit::scrollToBottom(); + } + return; + } + void clear() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","clear")) { + TQTextEdit::clear(); + } + return; + } + void unsetCursor() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","unsetCursor")) { + TQWidget::unsetCursor(); + } + return; + } + void contentsDropEvent(TQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { + TQTextEdit::contentsDropEvent(arg1); + } + return; + } + void hideEvent(TQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { + TQWidget::hideEvent(arg1); + } + return; + } + void moveEvent(TQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { + TQWidget::moveEvent(arg1); + } + return; + } + void polish() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","showMaximized")) { + TQWidget::showMaximized(); + } + return; + } + void setBackgroundPixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setBackgroundPixmap(arg1); + } + return; + } + void showEvent(TQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { + TQWidget::showEvent(arg1); + } + return; + } + void viewportContextMenuEvent(TQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { + TQScrollView::viewportContextMenuEvent(arg1); + } + return; + } + void setStyleSheet(TQStyleSheet* arg1) { + if (!QtSupport::eventDelegate(this,"setStyleSheet",(void*)arg1,"org.kde.qt.TQStyleSheet")) { + TQTextEdit::setStyleSheet(arg1); + } + return; + } + void viewportDragEnterEvent(TQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { + TQScrollView::viewportDragEnterEvent(arg1); + } + return; + } + void keyPressEvent(TQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { + TQTextEdit::keyPressEvent(arg1); + } + return; + } + bool customWhatsThis() { + return QtSupport::booleanDelegate(this,"customWhatsThis"); + } + void indent() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","indent")) { + TQTextEdit::indent(); + } + return; + } + void setPaletteBackgroundPixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setPaletteBackgroundPixmap(arg1); + } + return; + } + void setCornerWidget(TQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { + TQScrollView::setCornerWidget(arg1); + } + return; + } + void contentsDragEnterEvent(TQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { + TQTextEdit::contentsDragEnterEvent(arg1); + } + return; + } + void contentsWheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQTextEdit::contentsWheelEvent(arg1); + } + return; + } + void setCursor(const TQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { + TQWidget::setCursor(arg1); + } + return; + } + void closeEvent(TQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { + TQWidget::closeEvent(arg1); + } + return; + } + void copy() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","copy")) { + TQTextEdit::copy(); + } + return; + } + void setFont(const TQFont& arg1) { + if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { + TQTextEdit::setFont(arg1); + } + return; + } + void customEvent(TQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { + TQObject::customEvent(arg1); + } + return; + } + void contentsDragMoveEvent(TQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { + TQTextEdit::contentsDragMoveEvent(arg1); + } + return; + } + void enterEvent(TQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { + TQWidget::enterEvent(arg1); + } + return; + } + void timerEvent(TQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { + TQObject::timerEvent(arg1); + } + return; + } + void contentsMouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQTextEdit::contentsMouseMoveEvent(arg1); + } + return; + } + void mouseReleaseEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::mouseReleaseEvent(arg1); + } + return; + } + void setErasePixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setErasePixmap(arg1); + } + return; + } + void childEvent(TQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { + TQObject::childEvent(arg1); + } + return; + } + void dropEvent(TQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { + TQWidget::dropEvent(arg1); + } + return; + } + void leaveEvent(TQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { + TQWidget::leaveEvent(arg1); + } + return; + } + void setIcon(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setIcon(arg1); + } + return; + } + void doChangeInterval() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","doChangeInterval")) { + TQTextEdit::doChangeInterval(); + } + return; + } + void contentsMousePressEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQTextEdit::contentsMousePressEvent(arg1); + } + return; + } + void updateMask() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","showNormal")) { + TQWidget::showNormal(); + } + return; + } + void imComposeEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQTextEdit::imComposeEvent(arg1); + } + return; + } + void viewportWheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQScrollView::viewportWheelEvent(arg1); + } + return; + } + void mousePressEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::mousePressEvent(arg1); + } + return; + } + void setCurrentFont(const TQFont& arg1) { + if (!QtSupport::eventDelegate(this,"setCurrentFont",(void*)&arg1,"org.kde.qt.TQFont")) { + TQTextEdit::setCurrentFont(arg1); + } + return; + } + void ensureCursorVisible() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","ensureCursorVisible")) { + TQTextEdit::ensureCursorVisible(); + } + return; + } + void mouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::mouseMoveEvent(arg1); + } + return; + } + void viewportMouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMouseMoveEvent(arg1); + } + return; + } + void setFocusProxy(TQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { + TQWidget::setFocusProxy(arg1); + } + return; + } + void sync() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","sync")) { + TQTextEdit::sync(); + } + return; + } + void setBackgroundColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setBackgroundColor(arg1); + } + return; + } + void viewportDropEvent(TQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { + TQScrollView::viewportDropEvent(arg1); + } + return; + } + void viewportDragMoveEvent(TQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { + TQScrollView::viewportDragMoveEvent(arg1); + } + return; + } + void adjustSize() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","adjustSize")) { + TQWidget::adjustSize(); + } + return; + } + void wheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQScrollView::wheelEvent(arg1); + } + return; + } + void imEndEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQTextEdit::imEndEvent(arg1); + } + return; + } + void insertChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::insertChild(arg1); + } + return; + } + void focusInEvent(TQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { + TQWidget::focusInEvent(arg1); + } + return; + } + void tabletEvent(TQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { + TQWidget::tabletEvent(arg1); + } + return; + } + void keyReleaseEvent(TQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { + TQWidget::keyReleaseEvent(arg1); + } + return; + } + void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQTextEdit::contentsMouseDoubleClickEvent(arg1); + } + return; + } + void contextMenuEvent(TQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { + TQScrollView::contextMenuEvent(arg1); + } + return; + } + void paste() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","paste")) { + TQTextEdit::paste(); + } + return; + } + void redo() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","redo")) { + TQTextEdit::redo(); + } + return; + } + void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { + TQScrollView::viewportDragLeaveEvent(arg1); + } + return; + } + void contentsContextMenuEvent(TQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { + TQTextEdit::contentsContextMenuEvent(arg1); + } + return; + } + void setGeometry(const TQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { + TQWidget::setGeometry(arg1); + } + return; + } + void viewportMousePressEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMousePressEvent(arg1); + } + return; + } + void showMinimized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTextEdit_alignment(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->alignment(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTextEdit_anchorAt__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject pos) +{ + TQString _qstring; + _qstring = ((TQTextEdit*) QtSupport::getQt(env, obj))->anchorAt((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTextEdit_anchorAt__Lorg_kde_qt_QPoint_2I(JNIEnv* env, jobject obj, jobject pos, jint a) +{ + TQString _qstring; + _qstring = ((TQTextEdit*) QtSupport::getQt(env, obj))->anchorAt((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (TQt::AnchorAttribute) a); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_append(JNIEnv* env, jobject obj, jstring text) +{ +static TQString* _qstring_text = 0; + ((TQTextEdit*) QtSupport::getQt(env, obj))->append((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTextEdit_autoFormatting(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->autoFormatting(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTextEdit_bold(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->bold(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTextEdit_charAt(JNIEnv* env, jobject obj, jobject pos, jintArray para) +{ + int* _int_para = QtSupport::toIntPtr(env, para); + jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->charAt((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (int*) _int_para); + env->SetIntArrayRegion(para, 0, 1, (jint *) _int_para); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTextEdit_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQTextEdit*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_clearParagraphBackground(JNIEnv* env, jobject obj, jint para) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->clearParagraphBackground((int) para); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_clear(JNIEnv* env, jobject obj) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_clear(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextEdit_color(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TQTextEdit*) QtSupport::getQt(env, obj))->color()), "org.kde.qt.TQColor", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_contentsContextMenuEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_contentsDragLeaveEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_contentsDragMoveEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_contentsDropEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_contentsMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_contentsMouseMoveEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_contentsMouseReleaseEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_contentsWheelEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsWheelEvent((TQWheelEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTextEdit_context(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQTextEdit*) QtSupport::getQt(env, obj))->context(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_copy(JNIEnv* env, jobject obj) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_copy(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextEdit_createPopupMenu__(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_createPopupMenu(), "org.kde.qt.TQPopupMenu"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextEdit_createPopupMenu__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject pos) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_createPopupMenu((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)), "org.kde.qt.TQPopupMenu"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextEdit_currentFont(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((TQTextEdit*) QtSupport::getQt(env, obj))->currentFont()), "org.kde.qt.TQFont", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_cut(JNIEnv* env, jobject obj) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_cut(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_del(JNIEnv* env, jobject obj) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_del(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QTextEdit_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_doChangeInterval(JNIEnv* env, jobject obj) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_doChangeInterval(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_doKeyboardAction(JNIEnv* env, jobject obj, jint action) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->doKeyboardAction((TQTextEdit::KeyboardAction) action); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTextEdit_documentTitle(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQTextEdit*) QtSupport::getQt(env, obj))->documentTitle(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_drawContents(JNIEnv* env, jobject obj, jobject p, jint cx, jint cy, jint cw, jint ch) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, p), (int) cx, (int) cy, (int) cw, (int) ch); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_drawCursor(JNIEnv* env, jobject obj, jboolean visible) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_drawCursor((bool) visible); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_ensureCursorVisible(JNIEnv* env, jobject obj) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_ensureCursorVisible(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTextEdit_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject e) +{ + jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, e)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTextEdit_event(JNIEnv* env, jobject obj, jobject e) +{ + jboolean xret = (jboolean) ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, e)); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTextEdit_family(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQTextEdit*) QtSupport::getQt(env, obj))->family(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQTextEdit*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQTextEdit*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTextEdit_find__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring expr, jboolean cs, jboolean wo) +{ +static TQString* _qstring_expr = 0; + jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->find((const TQString&)*(TQString*) QtSupport::toTQString(env, expr, &_qstring_expr), (bool) cs, (bool) wo); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTextEdit_find__Ljava_lang_String_2ZZZ(JNIEnv* env, jobject obj, jstring expr, jboolean cs, jboolean wo, jboolean forward) +{ +static TQString* _qstring_expr = 0; + jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->find((const TQString&)*(TQString*) QtSupport::toTQString(env, expr, &_qstring_expr), (bool) cs, (bool) wo, (bool) forward); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTextEdit_find__Ljava_lang_String_2ZZZ_3I(JNIEnv* env, jobject obj, jstring expr, jboolean cs, jboolean wo, jboolean forward, jintArray para) +{ +static TQString* _qstring_expr = 0; + int* _int_para = QtSupport::toIntPtr(env, para); + jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->find((const TQString&)*(TQString*) QtSupport::toTQString(env, expr, &_qstring_expr), (bool) cs, (bool) wo, (bool) forward, (int*) _int_para); + env->SetIntArrayRegion(para, 0, 1, (jint *) _int_para); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTextEdit_find__Ljava_lang_String_2ZZZ_3I_3I(JNIEnv* env, jobject obj, jstring expr, jboolean cs, jboolean wo, jboolean forward, jintArray para, jintArray index) +{ +static TQString* _qstring_expr = 0; + int* _int_para = QtSupport::toIntPtr(env, para); + int* _int_index = QtSupport::toIntPtr(env, index); + jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->find((const TQString&)*(TQString*) QtSupport::toTQString(env, expr, &_qstring_expr), (bool) cs, (bool) wo, (bool) forward, (int*) _int_para, (int*) _int_index); + env->SetIntArrayRegion(para, 0, 1, (jint *) _int_para); + env->SetIntArrayRegion(index, 0, 1, (jint *) _int_index); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTextEdit_focusNextPrevChild(JNIEnv* env, jobject obj, jboolean next) +{ + jboolean xret = (jboolean) ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_focusNextPrevChild((bool) next); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextEdit_font(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((TQTextEdit*) QtSupport::getQt(env, obj))->font()), "org.kde.qt.TQFont", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_getCursorPosition(JNIEnv* env, jobject obj, jintArray parag, jintArray index) +{ + int* _int_parag = QtSupport::toIntPtr(env, parag); + int* _int_index = QtSupport::toIntPtr(env, index); + ((TQTextEdit*) QtSupport::getQt(env, obj))->getCursorPosition( (int*) _int_parag, (int*) _int_index); + env->SetIntArrayRegion(parag, 0, 1, (jint *) _int_parag); + env->SetIntArrayRegion(index, 0, 1, (jint *) _int_index); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTextEdit_getFormat(JNIEnv* env, jobject obj, jint para, jint index, jobject font, jobject color, jint verticalAlignment) +{ + jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->getFormat((int) para, (int) index, (TQFont*) QtSupport::getQt(env, font), (TQColor*) QtSupport::getQt(env, color), (TQTextEdit::VerticalAlignment*) verticalAlignment); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTextEdit_getParagraphFormat(JNIEnv* env, jobject obj, jint para, jobject font, jobject color, jint verticalAlignment, jintArray alignment, jint displayMode, jint listStyle, jintArray listDepth) +{ + int* _int_alignment = QtSupport::toIntPtr(env, alignment); + int* _int_listDepth = QtSupport::toIntPtr(env, listDepth); + jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->getParagraphFormat((int) para, (TQFont*) QtSupport::getQt(env, font), (TQColor*) QtSupport::getQt(env, color), (TQTextEdit::VerticalAlignment*) verticalAlignment, (int*) _int_alignment, (TQStyleSheetItem::DisplayMode*) displayMode, (TQStyleSheetItem::ListStyle*) listStyle, (int*) _int_listDepth); + env->SetIntArrayRegion(alignment, 0, 1, (jint *) _int_alignment); + env->SetIntArrayRegion(listDepth, 0, 1, (jint *) _int_listDepth); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_getSelection___3I_3I_3I_3I(JNIEnv* env, jobject obj, jintArray paraFrom, jintArray indexFrom, jintArray paraTo, jintArray indexTo) +{ + int* _int_paraFrom = QtSupport::toIntPtr(env, paraFrom); + int* _int_indexFrom = QtSupport::toIntPtr(env, indexFrom); + int* _int_paraTo = QtSupport::toIntPtr(env, paraTo); + int* _int_indexTo = QtSupport::toIntPtr(env, indexTo); + ((TQTextEdit*) QtSupport::getQt(env, obj))->getSelection( (int*) _int_paraFrom, (int*) _int_indexFrom, (int*) _int_paraTo, (int*) _int_indexTo); + env->SetIntArrayRegion(paraFrom, 0, 1, (jint *) _int_paraFrom); + env->SetIntArrayRegion(indexFrom, 0, 1, (jint *) _int_indexFrom); + env->SetIntArrayRegion(paraTo, 0, 1, (jint *) _int_paraTo); + env->SetIntArrayRegion(indexTo, 0, 1, (jint *) _int_indexTo); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_getSelection___3I_3I_3I_3II(JNIEnv* env, jobject obj, jintArray paraFrom, jintArray indexFrom, jintArray paraTo, jintArray indexTo, jint selNum) +{ + int* _int_paraFrom = QtSupport::toIntPtr(env, paraFrom); + int* _int_indexFrom = QtSupport::toIntPtr(env, indexFrom); + int* _int_paraTo = QtSupport::toIntPtr(env, paraTo); + int* _int_indexTo = QtSupport::toIntPtr(env, indexTo); + ((TQTextEdit*) QtSupport::getQt(env, obj))->getSelection( (int*) _int_paraFrom, (int*) _int_indexFrom, (int*) _int_paraTo, (int*) _int_indexTo, (int) selNum); + env->SetIntArrayRegion(paraFrom, 0, 1, (jint *) _int_paraFrom); + env->SetIntArrayRegion(indexFrom, 0, 1, (jint *) _int_indexFrom); + env->SetIntArrayRegion(paraTo, 0, 1, (jint *) _int_paraTo); + env->SetIntArrayRegion(indexTo, 0, 1, (jint *) _int_indexTo); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTextEdit_hasSelectedText(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->hasSelectedText(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTextEdit_heightForWidth(JNIEnv* env, jobject obj, jint w) +{ + jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->heightForWidth((int) w); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_imComposeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_imComposeEvent((TQIMEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_imEndEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_imEndEvent((TQIMEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_imStartEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_imStartEvent((TQIMEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_indent(JNIEnv* env, jobject obj) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_indent(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_insertAt(JNIEnv* env, jobject obj, jstring text, jint para, jint index) +{ +static TQString* _qstring_text = 0; + ((TQTextEdit*) QtSupport::getQt(env, obj))->insertAt((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) para, (int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_insertParagraph(JNIEnv* env, jobject obj, jstring text, jint para) +{ +static TQString* _qstring_text = 0; + ((TQTextEdit*) QtSupport::getQt(env, obj))->insertParagraph((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) para); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_insert__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) +{ +static TQString* _qstring_text = 0; + ((TQTextEdit*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_insert__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint insertionFlags) +{ +static TQString* _qstring_text = 0; + ((TQTextEdit*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (uint) insertionFlags); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_insert__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring text, jboolean arg2) +{ +static TQString* _qstring_text = 0; + ((TQTextEdit*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_insert__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring text, jboolean arg2, jboolean arg3) +{ +static TQString* _qstring_text = 0; + ((TQTextEdit*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool) arg2, (bool) arg3); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_insert__Ljava_lang_String_2ZZZ(JNIEnv* env, jobject obj, jstring text, jboolean arg2, jboolean arg3, jboolean arg4) +{ +static TQString* _qstring_text = 0; + ((TQTextEdit*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool) arg2, (bool) arg3, (bool) arg4); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTextEdit_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTextEdit_isModified(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->isModified(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTextEdit_isOverwriteMode(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->isOverwriteMode(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTextEdit_isReadOnly(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->isReadOnly(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTextEdit_isRedoAvailable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->isRedoAvailable(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTextEdit_isUndoAvailable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->isUndoAvailable(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTextEdit_isUndoRedoEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->isUndoRedoEnabled(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTextEdit_italic(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->italic(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_keyPressEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTextEdit_length(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->length(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTextEdit_lineOfChar(JNIEnv* env, jobject obj, jint para, jint chr) +{ + jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->lineOfChar((int) para, (int) chr); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTextEdit_linesOfParagraph(JNIEnv* env, jobject obj, jint para) +{ + jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->linesOfParagraph((int) para); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTextEdit_lines(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->lines(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTextEdit_linkUnderline(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->linkUnderline(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextEdit_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTextEdit*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextEdit_mimeSourceFactory(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTextEdit*) QtSupport::getQt(env, obj))->mimeSourceFactory(), "org.kde.qt.TQMimeSourceFactory"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_moveCursor(JNIEnv* env, jobject obj, jint action, jboolean select) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->moveCursor((TQTextEdit::CursorAction) action, (bool) select); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_newTQTextEdit__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTextEditJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_newTQTextEdit__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTextEditJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_newTQTextEdit__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring context) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_context = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTextEditJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_newTQTextEdit__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring text, jstring context, jobject parent) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_context = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTextEditJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_newTQTextEdit__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring context, jobject parent, jstring name) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_context = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTextEditJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_newTQTextEdit__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTextEditJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_newTQTextEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTextEditJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextEdit_paper(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQBrush(((TQTextEdit*) QtSupport::getQt(env, obj))->paper()), "org.kde.qt.TQBrush", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTextEdit_paragraphAt(JNIEnv* env, jobject obj, jobject pos) +{ + jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->paragraphAt((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextEdit_paragraphBackgroundColor(JNIEnv* env, jobject obj, jint para) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TQTextEdit*) QtSupport::getQt(env, obj))->paragraphBackgroundColor((int) para)), "org.kde.qt.TQColor", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTextEdit_paragraphLength(JNIEnv* env, jobject obj, jint para) +{ + jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->paragraphLength((int) para); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextEdit_paragraphRect(JNIEnv* env, jobject obj, jint para) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQTextEdit*) QtSupport::getQt(env, obj))->paragraphRect((int) para)), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTextEdit_paragraphs(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->paragraphs(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_pasteSubType(JNIEnv* env, jobject obj, jstring subtype) +{ +static TQCString* _qcstring_subtype = 0; + ((TQTextEdit*) QtSupport::getQt(env, obj))->pasteSubType((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, subtype, &_qcstring_subtype)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_paste(JNIEnv* env, jobject obj) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_paste(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_placeCursor(JNIEnv* env, jobject obj, jobject pos) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->placeCursor((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTextEdit_pointSize(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->pointSize(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_redo(JNIEnv* env, jobject obj) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_redo(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_removeParagraph(JNIEnv* env, jobject obj, jint para) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->removeParagraph((int) para); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_removeSelectedText__(JNIEnv* env, jobject obj) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_removeSelectedText(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_removeSelectedText__I(JNIEnv* env, jobject obj, jint selNum) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->removeSelectedText((int) selNum); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_removeSelection__(JNIEnv* env, jobject obj) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_removeSelection(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_removeSelection__I(JNIEnv* env, jobject obj, jint selNum) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->removeSelection((int) selNum); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_repaintChanged(JNIEnv* env, jobject obj) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_repaintChanged(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_resetFormat(JNIEnv* env, jobject obj) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_resetFormat(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_resizeEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_scrollToAnchor(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + ((TQTextEdit*) QtSupport::getQt(env, obj))->scrollToAnchor((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_scrollToBottom(JNIEnv* env, jobject obj) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_scrollToBottom(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_selectAll__(JNIEnv* env, jobject obj) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_selectAll(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_selectAll__Z(JNIEnv* env, jobject obj, jboolean select) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->selectAll((bool) select); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTextEdit_selectedText(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQTextEdit*) QtSupport::getQt(env, obj))->selectedText(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_setAlignment(JNIEnv* env, jobject obj, jint a) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->setAlignment((int) a); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_setAutoFormatting(JNIEnv* env, jobject obj, jint features) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->setAutoFormatting((uint) features); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_setBold(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->setBold((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_setColor(JNIEnv* env, jobject obj, jobject c) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->setColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_setCurrentFont(JNIEnv* env, jobject obj, jobject f) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->setCurrentFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, f)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_setCursorPosition(JNIEnv* env, jobject obj, jint parag, jint index) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->setCursorPosition((int) parag, (int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_setEnabled(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->setEnabled((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_setFamily(JNIEnv* env, jobject obj, jstring f) +{ +static TQString* _qstring_f = 0; + ((TQTextEdit*) QtSupport::getQt(env, obj))->setFamily((const TQString&)*(TQString*) QtSupport::toTQString(env, f, &_qstring_f)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_setFont(JNIEnv* env, jobject obj, jobject f) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, f)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_setItalic(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->setItalic((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_setLinkUnderline(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->setLinkUnderline((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_setMimeSourceFactory(JNIEnv* env, jobject obj, jobject factory) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->setMimeSourceFactory((TQMimeSourceFactory*) QtSupport::getQt(env, factory)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_setModified(JNIEnv* env, jobject obj, jboolean m) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->setModified((bool) m); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_setOverwriteMode(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->setOverwriteMode((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_setPalette(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_setPaper(JNIEnv* env, jobject obj, jobject pap) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->setPaper((const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, pap)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_setParagType(JNIEnv* env, jobject obj, jint dm, jint listStyle) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->setParagType((TQStyleSheetItem::DisplayMode) dm, (TQStyleSheetItem::ListStyle) listStyle); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_setParagraphBackgroundColor(JNIEnv* env, jobject obj, jint para, jobject bg) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->setParagraphBackgroundColor((int) para, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, bg)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_setPointSize(JNIEnv* env, jobject obj, jint s) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->setPointSize((int) s); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_setReadOnly(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->setReadOnly((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_setSelectionAttributes(JNIEnv* env, jobject obj, jint selNum, jobject back, jboolean invertText) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->setSelectionAttributes((int) selNum, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, back), (bool) invertText); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_setSelection__IIII(JNIEnv* env, jobject obj, jint parag_from, jint index_from, jint parag_to, jint index_to) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->setSelection((int) parag_from, (int) index_from, (int) parag_to, (int) index_to); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_setSelection__IIIII(JNIEnv* env, jobject obj, jint parag_from, jint index_from, jint parag_to, jint index_to, jint selNum) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->setSelection((int) parag_from, (int) index_from, (int) parag_to, (int) index_to, (int) selNum); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_setStyleSheet(JNIEnv* env, jobject obj, jobject styleSheet) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->setStyleSheet((TQStyleSheet*) QtSupport::getQt(env, styleSheet)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_setTabChangesFocus(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->setTabChangesFocus((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_setTabStopWidth(JNIEnv* env, jobject obj, jint ts) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->setTabStopWidth((int) ts); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_setTextFormat(JNIEnv* env, jobject obj, jint f) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->setTextFormat((TQt::TextFormat) f); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_setText__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring txt) +{ +static TQString* _qstring_txt = 0; + ((TQTextEdit*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_setText__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring txt, jstring context) +{ +static TQString* _qstring_txt = 0; +static TQString* _qstring_context = 0; + ((TQTextEdit*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_setUnderline(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->setUnderline((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_setUndoDepth(JNIEnv* env, jobject obj, jint d) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->setUndoDepth((int) d); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_setUndoRedoEnabled(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->setUndoRedoEnabled((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_setVerticalAlignment(JNIEnv* env, jobject obj, jint a) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->setVerticalAlignment((TQTextEdit::VerticalAlignment) a); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_setWordWrap(JNIEnv* env, jobject obj, jint mode) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->setWordWrap((TQTextEdit::WordWrap) mode); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_setWrapColumnOrWidth(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->setWrapColumnOrWidth((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_setWrapPolicy(JNIEnv* env, jobject obj, jint policy) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->setWrapPolicy((TQTextEdit::WrapPolicy) policy); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextEdit_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQTextEdit*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_sliderReleased(JNIEnv* env, jobject obj) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_sliderReleased(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextEdit_styleSheet(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTextEdit*) QtSupport::getQt(env, obj))->styleSheet(), "org.kde.qt.TQStyleSheet"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_sync(JNIEnv* env, jobject obj) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_sync(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextEdit_syntaxHighlighter(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTextEdit*) QtSupport::getQt(env, obj))->syntaxHighlighter(), "org.kde.qt.TQSyntaxHighlighter"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTextEdit_tabChangesFocus(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->tabChangesFocus(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTextEdit_tabStopWidth(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->tabStopWidth(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTextEdit_textFormat(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->textFormat(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTextEdit_text__(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQTextEdit*) QtSupport::getQt(env, obj))->text(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTextEdit_text__I(JNIEnv* env, jobject obj, jint para) +{ + TQString _qstring; + _qstring = ((TQTextEdit*) QtSupport::getQt(env, obj))->text((int) para); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTextEdit_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQTextEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTextEdit_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQTextEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTextEdit_underline(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->underline(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTextEdit_undoDepth(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->undoDepth(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_undo(JNIEnv* env, jobject obj) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_undo(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_updateStyles(JNIEnv* env, jobject obj) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_updateStyles(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_viewportResizeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_viewportResizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_windowActivationChange(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_windowActivationChange((bool) arg1); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTextEdit_wordWrap(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->wordWrap(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTextEdit_wrapColumnOrWidth(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->wrapColumnOrWidth(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTextEdit_wrapPolicy(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->wrapPolicy(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_zoomIn__(JNIEnv* env, jobject obj) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_zoomIn(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_zoomIn__I(JNIEnv* env, jobject obj, jint range) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->zoomIn((int) range); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_zoomOut__(JNIEnv* env, jobject obj) +{ + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_zoomOut(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_zoomOut__I(JNIEnv* env, jobject obj, jint range) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->zoomOut((int) range); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextEdit_zoomTo(JNIEnv* env, jobject obj, jint size) +{ + ((TQTextEdit*) QtSupport::getQt(env, obj))->zoomTo((int) size); + return; +} + diff --git a/qtjava/javalib/qtjava/TQTextEdit.h b/qtjava/javalib/qtjava/TQTextEdit.h new file mode 100644 index 00000000..36b34653 --- /dev/null +++ b/qtjava/javalib/qtjava/TQTextEdit.h @@ -0,0 +1,191 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QTextEdit__ +#define __org_kde_qt_QTextEdit__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextEdit_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextEdit_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_newTQTextEdit__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_newTQTextEdit__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_newTQTextEdit__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_newTQTextEdit__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_newTQTextEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_newTQTextEdit__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_newTQTextEdit__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setPalette (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextEdit_text__ (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextEdit_text__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_textFormat (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextEdit_context (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextEdit_documentTitle (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_getSelection___3I_3I_3I_3II (JNIEnv *env, jobject, jintArray, jintArray, jintArray, jintArray, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_getSelection___3I_3I_3I_3I (JNIEnv *env, jobject, jintArray, jintArray, jintArray, jintArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_find__Ljava_lang_String_2ZZZ_3I_3I (JNIEnv *env, jobject, jstring, jboolean, jboolean, jboolean, jintArray, jintArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_find__Ljava_lang_String_2ZZZ_3I (JNIEnv *env, jobject, jstring, jboolean, jboolean, jboolean, jintArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_find__Ljava_lang_String_2ZZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_find__Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_paragraphs (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_lines (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_linesOfParagraph (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_lineOfChar (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_length (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextEdit_paragraphRect (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_paragraphAt (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_charAt (JNIEnv *env, jobject, jobject, jintArray); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_paragraphLength (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextEdit_styleSheet (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextEdit_mimeSourceFactory (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextEdit_paper (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_linkUnderline (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_heightForWidth (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_hasSelectedText (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextEdit_selectedText (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_isUndoAvailable (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_isRedoAvailable (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_wordWrap (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_wrapColumnOrWidth (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_wrapPolicy (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_tabStopWidth (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextEdit_anchorAt__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextEdit_anchorAt__Lorg_kde_qt_QPoint_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextEdit_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_isReadOnly (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_getCursorPosition (JNIEnv *env, jobject, jintArray, jintArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_isModified (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_italic (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_bold (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_underline (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextEdit_family (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_pointSize (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextEdit_color (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextEdit_font (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextEdit_currentFont (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_alignment (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_undoDepth (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_getFormat (JNIEnv *env, jobject, jint, jint, jobject, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_getParagraphFormat (JNIEnv *env, jobject, jint, jobject, jobject, jint, jintArray, jint, jint, jintArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_isOverwriteMode (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextEdit_paragraphBackgroundColor (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_isUndoRedoEnabled (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_eventFilter (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_tabChangesFocus (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setAutoFormatting (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_autoFormatting (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextEdit_syntaxHighlighter (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setMimeSourceFactory (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setStyleSheet (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_scrollToAnchor (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setPaper (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setLinkUnderline (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setWordWrap (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setWrapColumnOrWidth (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setWrapPolicy (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_copy (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_append (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setText__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setText__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setTextFormat (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_selectAll__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_selectAll__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setTabStopWidth (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_zoomIn__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_zoomIn__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_zoomOut__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_zoomOut__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_zoomTo (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_sync (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setReadOnly (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_undo (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_redo (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_cut (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_paste (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_pasteSubType (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_clear (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_del (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_indent (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setItalic (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setBold (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setUnderline (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setFamily (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setPointSize (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setColor (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setFont (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setVerticalAlignment (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setAlignment (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setParagType (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setCursorPosition (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setSelection__IIIII (JNIEnv *env, jobject, jint, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setSelection__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setSelectionAttributes (JNIEnv *env, jobject, jint, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setModified (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_resetFormat (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setUndoDepth (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_ensureCursorVisible (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_placeCursor (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_moveCursor (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_doKeyboardAction (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_removeSelectedText__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_removeSelectedText__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_removeSelection__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_removeSelection__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setCurrentFont (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setOverwriteMode (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_scrollToBottom (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_insert__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_insert__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_insert__Ljava_lang_String_2ZZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_insert__Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_insert__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_insertAt (JNIEnv *env, jobject, jstring, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_removeParagraph (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_insertParagraph (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setParagraphBackgroundColor (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_clearParagraphBackground (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setUndoRedoEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setTabChangesFocus (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextEdit_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextEdit_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_repaintChanged (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_updateStyles (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_drawContents (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_event (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_keyPressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_viewportResizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_contentsMousePressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_contentsMouseMoveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_contentsMouseReleaseEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_contentsMouseDoubleClickEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_contentsWheelEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_imStartEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_imComposeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_imEndEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_contentsDragEnterEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_contentsDragMoveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_contentsDragLeaveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_contentsDropEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_contentsContextMenuEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_focusNextPrevChild (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextEdit_createPopupMenu__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextEdit_createPopupMenu__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_drawCursor (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_windowActivationChange (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_doChangeInterval (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_sliderReleased (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QTextEdit__ */ diff --git a/qtjava/javalib/qtjava/TQTextEncoder.cpp b/qtjava/javalib/qtjava/TQTextEncoder.cpp new file mode 100644 index 00000000..1fe136ce --- /dev/null +++ b/qtjava/javalib/qtjava/TQTextEncoder.cpp @@ -0,0 +1,19 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTextEncoder_fromUnicode(JNIEnv* env, jobject obj, jstring uc, jintArray lenInOut) +{ + TQCString _qstring; +static TQString* _qstring_uc = 0; + int* _int_lenInOut = QtSupport::toIntPtr(env, lenInOut); + _qstring = ((TQTextEncoder*) QtSupport::getQt(env, obj))->fromUnicode((const TQString&)*(TQString*) QtSupport::toTQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); + env->SetIntArrayRegion(lenInOut, 0, 1, (jint *) _int_lenInOut); + return QtSupport::fromTQCString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQTextEncoder.h b/qtjava/javalib/qtjava/TQTextEncoder.h new file mode 100644 index 00000000..82fc6498 --- /dev/null +++ b/qtjava/javalib/qtjava/TQTextEncoder.h @@ -0,0 +1,19 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QTextEncoder__ +#define __org_kde_qt_QTextEncoder__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextEncoder_fromUnicode (JNIEnv *env, jobject, jstring, jintArray); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QTextEncoder__ */ diff --git a/qtjava/javalib/qtjava/TQTextIStream.cpp b/qtjava/javalib/qtjava/TQTextIStream.cpp new file mode 100644 index 00000000..6348ea45 --- /dev/null +++ b/qtjava/javalib/qtjava/TQTextIStream.cpp @@ -0,0 +1,60 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQTextIStreamJBridge : public TQTextIStream +{ +public: + TQTextIStreamJBridge(const TQString* arg1) : TQTextIStream(arg1) {}; + TQTextIStreamJBridge(TQByteArray arg1) : TQTextIStream(arg1) {}; + ~TQTextIStreamJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextIStream_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QTextIStream_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextIStream_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQTextIStream*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTextIStream_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextIStream_newTQTextIStream__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring s) +{ +static TQString* _qstring_s = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTextIStreamJBridge((const TQString*) QtSupport::toTQString(env, s, &_qstring_s))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextIStream_newTQTextIStream___3B(JNIEnv* env, jobject obj, jbyteArray ba) +{ +static TQByteArray* _qbyteArray_ba = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTextIStreamJBridge((TQByteArray)*(TQByteArray*) QtSupport::toTQByteArray(env, ba, &_qbyteArray_ba))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + diff --git a/qtjava/javalib/qtjava/TQTextIStream.h b/qtjava/javalib/qtjava/TQTextIStream.h new file mode 100644 index 00000000..5f327dc6 --- /dev/null +++ b/qtjava/javalib/qtjava/TQTextIStream.h @@ -0,0 +1,23 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QTextIStream__ +#define __org_kde_qt_QTextIStream__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextIStream_newTQTextIStream__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextIStream_newTQTextIStream___3B (JNIEnv *env, jobject, jbyteArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextIStream_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextIStream_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextIStream_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QTextIStream__ */ diff --git a/qtjava/javalib/qtjava/TQTextOStream.cpp b/qtjava/javalib/qtjava/TQTextOStream.cpp new file mode 100644 index 00000000..9d1dad60 --- /dev/null +++ b/qtjava/javalib/qtjava/TQTextOStream.cpp @@ -0,0 +1,61 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQTextOStreamJBridge : public TQTextOStream +{ +public: + TQTextOStreamJBridge(TQString* arg1) : TQTextOStream(arg1) {}; + TQTextOStreamJBridge(TQByteArray arg1) : TQTextOStream(arg1) {}; + ~TQTextOStreamJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextOStream_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QTextOStream_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextOStream_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQTextOStream*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTextOStream_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextOStream_newTQTextOStream__Ljava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject s) +{ +static TQString* _qstring_s = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTextOStreamJBridge((TQString*) QtSupport::toTQStringFromStringBuffer(env, s, &_qstring_s))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + QtSupport::fromTQStringToStringBuffer(env, _qstring_s, s); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextOStream_newTQTextOStream___3B(JNIEnv* env, jobject obj, jbyteArray ba) +{ +static TQByteArray* _qbyteArray_ba = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTextOStreamJBridge((TQByteArray)*(TQByteArray*) QtSupport::toTQByteArray(env, ba, &_qbyteArray_ba))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + diff --git a/qtjava/javalib/qtjava/TQTextOStream.h b/qtjava/javalib/qtjava/TQTextOStream.h new file mode 100644 index 00000000..07742679 --- /dev/null +++ b/qtjava/javalib/qtjava/TQTextOStream.h @@ -0,0 +1,23 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QTextOStream__ +#define __org_kde_qt_QTextOStream__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextOStream_newTQTextOStream__Ljava_lang_StringBuffer_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextOStream_newTQTextOStream___3B (JNIEnv *env, jobject, jbyteArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextOStream_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextOStream_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextOStream_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QTextOStream__ */ diff --git a/qtjava/javalib/qtjava/TQTextStream.cpp b/qtjava/javalib/qtjava/TQTextStream.cpp new file mode 100644 index 00000000..d7ef6b29 --- /dev/null +++ b/qtjava/javalib/qtjava/TQTextStream.cpp @@ -0,0 +1,374 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQTextStreamJBridge : public TQTextStream +{ +public: + TQTextStreamJBridge() : TQTextStream() {}; + TQTextStreamJBridge(TQIODevice* arg1) : TQTextStream(arg1) {}; + TQTextStreamJBridge(TQString* arg1,int arg2) : TQTextStream(arg1,arg2) {}; + TQTextStreamJBridge(TQByteArray arg1,int arg2) : TQTextStream(arg1,arg2) {}; + ~TQTextStreamJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTextStream_atEnd(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQTextStream*) QtSupport::getQt(env, obj))->atEnd(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextStream_codec(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTextStream*) QtSupport::getQt(env, obj))->codec(), "org.kde.qt.TQTextCodec"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextStream_device(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTextStream*) QtSupport::getQt(env, obj))->device(), "org.kde.qt.TQIODeviceInterface"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextStream_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QTextStream_finalize(env, obj); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTextStream_eof(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQTextStream*) QtSupport::getQt(env, obj))->eof(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTextStream_fill__(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTextStream*) QtSupport::getQt(env, obj))->fill(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTextStream_fill__I(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQTextStream*) QtSupport::getQt(env, obj))->fill((int) arg1); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextStream_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQTextStream*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTextStream_flags__(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTextStream*) QtSupport::getQt(env, obj))->flags(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTextStream_flags__I(JNIEnv* env, jobject obj, jint f) +{ + jint xret = (jint) ((TQTextStream*) QtSupport::getQt(env, obj))->flags((int) f); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTextStream_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextStream_newTQTextStream__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTextStreamJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextStream_newTQTextStream__Ljava_lang_StringBuffer_2I(JNIEnv* env, jobject obj, jobject arg1, jint mode) +{ +static TQString* _qstring_arg1 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTextStreamJBridge((TQString*) QtSupport::toTQStringFromStringBuffer(env, arg1, &_qstring_arg1), (int) mode)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + QtSupport::fromTQStringToStringBuffer(env, _qstring_arg1, arg1); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextStream_newTQTextStream__Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTextStreamJBridge((TQIODevice*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextStream_newTQTextStream___3BI(JNIEnv* env, jobject obj, jbyteArray arg1, jint mode) +{ +static TQByteArray* _qbyteArray_arg1 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTextStreamJBridge((TQByteArray)*(TQByteArray*) QtSupport::toTQByteArray(env, arg1, &_qbyteArray_arg1), (int) mode)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextStream_op_1read__C(JNIEnv* env, jobject obj, jchar arg1) +{ +static TQChar* _qchar_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator>>((TQChar&)*(TQChar*) QtSupport::toTQChar(env, arg1, &_qchar_arg1)), "org.kde.qt.TQTextStream"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextStream_op_1read__D(JNIEnv* env, jobject obj, jdouble arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator>>((double&) arg1), "org.kde.qt.TQTextStream"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextStream_op_1read__F(JNIEnv* env, jobject obj, jfloat arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator>>((float&) arg1), "org.kde.qt.TQTextStream"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextStream_op_1read__I(JNIEnv* env, jobject obj, jint arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator>>((unsigned int&) arg1), "org.kde.qt.TQTextStream"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextStream_op_1read__J(JNIEnv* env, jobject obj, jlong arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator>>((unsigned long&) arg1), "org.kde.qt.TQTextStream"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextStream_op_1read__Ljava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject arg1) +{ +static TQString* _qstring_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator>>((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, arg1, &_qstring_arg1)), "org.kde.qt.TQTextStream"); + QtSupport::fromTQStringToStringBuffer(env, _qstring_arg1, arg1); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextStream_op_1read__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQCString* _qstring_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator>>((char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)), "org.kde.qt.TQTextStream"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextStream_op_1read__S(JNIEnv* env, jobject obj, jshort arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator>>((unsigned short&) arg1), "org.kde.qt.TQTextStream"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextStream_op_1write__C(JNIEnv* env, jobject obj, jchar arg1) +{ +static TQChar* _qchar_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator<<((TQChar)*(TQChar*) QtSupport::toTQChar(env, arg1, &_qchar_arg1)), "org.kde.qt.TQTextStream"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextStream_op_1write__D(JNIEnv* env, jobject obj, jdouble arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator<<((double) arg1), "org.kde.qt.TQTextStream"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextStream_op_1write__F(JNIEnv* env, jobject obj, jfloat arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator<<((float) arg1), "org.kde.qt.TQTextStream"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextStream_op_1write__I(JNIEnv* env, jobject obj, jint arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator<<((unsigned) arg1), "org.kde.qt.TQTextStream"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextStream_op_1write__J(JNIEnv* env, jobject obj, jlong arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator<<((long) arg1), "org.kde.qt.TQTextStream"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextStream_op_1write__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQCString* _qstring_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator<<((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)), "org.kde.qt.TQTextStream"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextStream_op_1write__S(JNIEnv* env, jobject obj, jshort arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->operator<<((short) arg1), "org.kde.qt.TQTextStream"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTextStream_precision__(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTextStream*) QtSupport::getQt(env, obj))->precision(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTextStream_precision__I(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQTextStream*) QtSupport::getQt(env, obj))->precision((int) arg1); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTextStream_readLine(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQTextStream*) QtSupport::getQt(env, obj))->readLine(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextStream_readRawBytes(JNIEnv* env, jobject obj, jstring arg1, jint len) +{ +static TQCString* _qstring_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->readRawBytes((char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (uint) len), "org.kde.qt.TQTextStream"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTextStream_read(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQTextStream*) QtSupport::getQt(env, obj))->read(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextStream_reset(JNIEnv* env, jobject obj) +{ + ((TQTextStream*) QtSupport::getQt(env, obj))->reset(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextStream_setCodec(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTextStream*) QtSupport::getQt(env, obj))->setCodec((TQTextCodec*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextStream_setDevice(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTextStream*) QtSupport::getQt(env, obj))->setDevice((TQIODevice*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextStream_setEncoding(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQTextStream*) QtSupport::getQt(env, obj))->setEncoding((TQTextStream::Encoding) arg1); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTextStream_setf__I(JNIEnv* env, jobject obj, jint bits) +{ + jint xret = (jint) ((TQTextStream*) QtSupport::getQt(env, obj))->setf((int) bits); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTextStream_setf__II(JNIEnv* env, jobject obj, jint bits, jint mask) +{ + jint xret = (jint) ((TQTextStream*) QtSupport::getQt(env, obj))->setf((int) bits, (int) mask); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextStream_skipWhiteSpace(JNIEnv* env, jobject obj) +{ + ((TQTextStream*) QtSupport::getQt(env, obj))->skipWhiteSpace(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextStream_unsetDevice(JNIEnv* env, jobject obj) +{ + ((TQTextStream*) QtSupport::getQt(env, obj))->unsetDevice(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTextStream_unsetf(JNIEnv* env, jobject obj, jint bits) +{ + jint xret = (jint) ((TQTextStream*) QtSupport::getQt(env, obj))->unsetf((int) bits); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTextStream_width__(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTextStream*) QtSupport::getQt(env, obj))->width(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTextStream_width__I(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQTextStream*) QtSupport::getQt(env, obj))->width((int) arg1); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextStream_writeRawBytes(JNIEnv* env, jobject obj, jstring arg1, jint len) +{ +static TQCString* _qstring_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &((TQTextStream*) QtSupport::getQt(env, obj))->writeRawBytes((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (uint) len), "org.kde.qt.TQTextStream"); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQTextStream.h b/qtjava/javalib/qtjava/TQTextStream.h new file mode 100644 index 00000000..a243951d --- /dev/null +++ b/qtjava/javalib/qtjava/TQTextStream.h @@ -0,0 +1,65 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QTextStream__ +#define __org_kde_qt_QTextStream__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_setEncoding (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_setCodec (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_codec (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_newTQTextStream__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_newTQTextStream__Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_newTQTextStream__Ljava_lang_StringBuffer_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_newTQTextStream___3BI (JNIEnv *env, jobject, jbyteArray, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_device (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_setDevice (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_unsetDevice (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextStream_atEnd (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextStream_eof (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1read__C (JNIEnv *env, jobject, jchar); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1read__S (JNIEnv *env, jobject, jshort); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1read__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1read__J (JNIEnv *env, jobject, jlong); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1read__F (JNIEnv *env, jobject, jfloat); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1read__D (JNIEnv *env, jobject, jdouble); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1read__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1read__Ljava_lang_StringBuffer_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1write__C (JNIEnv *env, jobject, jchar); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1write__S (JNIEnv *env, jobject, jshort); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1write__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1write__J (JNIEnv *env, jobject, jlong); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1write__F (JNIEnv *env, jobject, jfloat); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1write__D (JNIEnv *env, jobject, jdouble); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_op_1write__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_readRawBytes (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextStream_writeRawBytes (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextStream_readLine (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextStream_read (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_skipWhiteSpace (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextStream_flags__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextStream_flags__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextStream_setf__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextStream_setf__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextStream_unsetf (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_reset (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextStream_width__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextStream_width__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextStream_fill__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextStream_fill__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextStream_precision__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTextStream_precision__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextStream_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QTextStream__ */ diff --git a/qtjava/javalib/qtjava/TQTextView.cpp b/qtjava/javalib/qtjava/TQTextView.cpp new file mode 100644 index 00000000..da6c858a --- /dev/null +++ b/qtjava/javalib/qtjava/TQTextView.cpp @@ -0,0 +1,749 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQTextViewJBridge : public TQTextView +{ +public: + TQTextViewJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4) : TQTextView(arg1,arg2,arg3,arg4) {}; + TQTextViewJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3) : TQTextView(arg1,arg2,arg3) {}; + TQTextViewJBridge(const TQString& arg1,const TQString& arg2) : TQTextView(arg1,arg2) {}; + TQTextViewJBridge(const TQString& arg1) : TQTextView(arg1) {}; + TQTextViewJBridge(TQWidget* arg1,const char* arg2) : TQTextView(arg1,arg2) {}; + TQTextViewJBridge(TQWidget* arg1) : TQTextView(arg1) {}; + TQTextViewJBridge() : TQTextView() {}; + ~TQTextViewJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { + TQWidget::dragLeaveEvent(arg1); + } + return; + } + void setMask(const TQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { + TQWidget::setMask(arg1); + } + return; + } + void setColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQTextEdit::setColor(arg1); + } + return; + } + void resizeEvent(TQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { + TQTextEdit::resizeEvent(arg1); + } + return; + } + void setFrameRect(const TQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { + TQFrame::setFrameRect(arg1); + } + return; + } + void mouseDoubleClickEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::mouseDoubleClickEvent(arg1); + } + return; + } + void paletteChange(const TQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { + TQWidget::paletteChange(arg1); + } + return; + } + void contentsMouseReleaseEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQTextEdit::contentsMouseReleaseEvent(arg1); + } + return; + } + void setMimeSourceFactory(TQMimeSourceFactory* arg1) { + if (!QtSupport::eventDelegate(this,"setMimeSourceFactory",(void*)arg1,"org.kde.qt.TQMimeSourceFactory")) { + TQTextEdit::setMimeSourceFactory(arg1); + } + return; + } + void zoomOut() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","zoomOut")) { + TQTextEdit::zoomOut(); + } + return; + } + void viewportPaintEvent(TQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { + TQScrollView::viewportPaintEvent(arg1); + } + return; + } + void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMouseDoubleClickEvent(arg1); + } + return; + } + void viewportMouseReleaseEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMouseReleaseEvent(arg1); + } + return; + } + void del() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","del")) { + TQTextEdit::del(); + } + return; + } + void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { + TQTextEdit::contentsDragLeaveEvent(arg1); + } + return; + } + void setActiveWindow() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","setActiveWindow")) { + TQWidget::setActiveWindow(); + } + return; + } + void dragEnterEvent(TQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { + TQWidget::dragEnterEvent(arg1); + } + return; + } + void undo() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","undo")) { + TQTextEdit::undo(); + } + return; + } + void focusOutEvent(TQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { + TQWidget::focusOutEvent(arg1); + } + return; + } + void setPaper(const TQBrush& arg1) { + if (!QtSupport::eventDelegate(this,"setPaper",(void*)&arg1,"org.kde.qt.TQBrush")) { + TQTextEdit::setPaper(arg1); + } + return; + } + void setFocus() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","setFocus")) { + TQWidget::setFocus(); + } + return; + } + void dragMoveEvent(TQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { + TQWidget::dragMoveEvent(arg1); + } + return; + } + void resetFormat() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","resetFormat")) { + TQTextEdit::resetFormat(); + } + return; + } + void zoomIn() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","zoomIn")) { + TQTextEdit::zoomIn(); + } + return; + } + void drawFrame(TQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { + TQFrame::drawFrame(arg1); + } + return; + } + void hide() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","hide")) { + TQWidget::hide(); + } + return; + } + void setPaletteBackgroundColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setPaletteBackgroundColor(arg1); + } + return; + } + void viewportResizeEvent(TQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { + TQTextEdit::viewportResizeEvent(arg1); + } + return; + } + void setEraseColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setEraseColor(arg1); + } + return; + } + void paintEvent(TQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { + TQFrame::paintEvent(arg1); + } + return; + } + void imStartEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQTextEdit::imStartEvent(arg1); + } + return; + } + void cut() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","cut")) { + TQTextEdit::cut(); + } + return; + } + void scrollToBottom() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","scrollToBottom")) { + TQTextEdit::scrollToBottom(); + } + return; + } + void clear() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","clear")) { + TQTextEdit::clear(); + } + return; + } + void unsetCursor() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","unsetCursor")) { + TQWidget::unsetCursor(); + } + return; + } + void contentsDropEvent(TQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { + TQTextEdit::contentsDropEvent(arg1); + } + return; + } + void hideEvent(TQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { + TQWidget::hideEvent(arg1); + } + return; + } + void moveEvent(TQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { + TQWidget::moveEvent(arg1); + } + return; + } + void polish() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","showMaximized")) { + TQWidget::showMaximized(); + } + return; + } + void setBackgroundPixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setBackgroundPixmap(arg1); + } + return; + } + void showEvent(TQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { + TQWidget::showEvent(arg1); + } + return; + } + void viewportContextMenuEvent(TQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { + TQScrollView::viewportContextMenuEvent(arg1); + } + return; + } + void setStyleSheet(TQStyleSheet* arg1) { + if (!QtSupport::eventDelegate(this,"setStyleSheet",(void*)arg1,"org.kde.qt.TQStyleSheet")) { + TQTextEdit::setStyleSheet(arg1); + } + return; + } + void viewportDragEnterEvent(TQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { + TQScrollView::viewportDragEnterEvent(arg1); + } + return; + } + void keyPressEvent(TQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { + TQTextEdit::keyPressEvent(arg1); + } + return; + } + bool customWhatsThis() { + return QtSupport::booleanDelegate(this,"customWhatsThis"); + } + void indent() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","indent")) { + TQTextEdit::indent(); + } + return; + } + void setPaletteBackgroundPixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setPaletteBackgroundPixmap(arg1); + } + return; + } + void setCornerWidget(TQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { + TQScrollView::setCornerWidget(arg1); + } + return; + } + void contentsDragEnterEvent(TQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { + TQTextEdit::contentsDragEnterEvent(arg1); + } + return; + } + void contentsWheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQTextEdit::contentsWheelEvent(arg1); + } + return; + } + void setCursor(const TQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { + TQWidget::setCursor(arg1); + } + return; + } + void closeEvent(TQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { + TQWidget::closeEvent(arg1); + } + return; + } + void copy() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","copy")) { + TQTextEdit::copy(); + } + return; + } + void setFont(const TQFont& arg1) { + if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { + TQTextEdit::setFont(arg1); + } + return; + } + void customEvent(TQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { + TQObject::customEvent(arg1); + } + return; + } + void contentsDragMoveEvent(TQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { + TQTextEdit::contentsDragMoveEvent(arg1); + } + return; + } + void enterEvent(TQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { + TQWidget::enterEvent(arg1); + } + return; + } + void timerEvent(TQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { + TQObject::timerEvent(arg1); + } + return; + } + void contentsMouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQTextEdit::contentsMouseMoveEvent(arg1); + } + return; + } + void mouseReleaseEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::mouseReleaseEvent(arg1); + } + return; + } + void setErasePixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setErasePixmap(arg1); + } + return; + } + void childEvent(TQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { + TQObject::childEvent(arg1); + } + return; + } + void dropEvent(TQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { + TQWidget::dropEvent(arg1); + } + return; + } + void leaveEvent(TQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { + TQWidget::leaveEvent(arg1); + } + return; + } + void setIcon(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setIcon(arg1); + } + return; + } + void doChangeInterval() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","doChangeInterval")) { + TQTextEdit::doChangeInterval(); + } + return; + } + void contentsMousePressEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQTextEdit::contentsMousePressEvent(arg1); + } + return; + } + void updateMask() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","showNormal")) { + TQWidget::showNormal(); + } + return; + } + void imComposeEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQTextEdit::imComposeEvent(arg1); + } + return; + } + void viewportWheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQScrollView::viewportWheelEvent(arg1); + } + return; + } + void mousePressEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::mousePressEvent(arg1); + } + return; + } + void setCurrentFont(const TQFont& arg1) { + if (!QtSupport::eventDelegate(this,"setCurrentFont",(void*)&arg1,"org.kde.qt.TQFont")) { + TQTextEdit::setCurrentFont(arg1); + } + return; + } + void ensureCursorVisible() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","ensureCursorVisible")) { + TQTextEdit::ensureCursorVisible(); + } + return; + } + void mouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::mouseMoveEvent(arg1); + } + return; + } + void viewportMouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMouseMoveEvent(arg1); + } + return; + } + void setFocusProxy(TQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { + TQWidget::setFocusProxy(arg1); + } + return; + } + void sync() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","sync")) { + TQTextEdit::sync(); + } + return; + } + void setBackgroundColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setBackgroundColor(arg1); + } + return; + } + void viewportDropEvent(TQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { + TQScrollView::viewportDropEvent(arg1); + } + return; + } + void viewportDragMoveEvent(TQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { + TQScrollView::viewportDragMoveEvent(arg1); + } + return; + } + void adjustSize() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","adjustSize")) { + TQWidget::adjustSize(); + } + return; + } + void wheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQScrollView::wheelEvent(arg1); + } + return; + } + void imEndEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQTextEdit::imEndEvent(arg1); + } + return; + } + void insertChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::insertChild(arg1); + } + return; + } + void focusInEvent(TQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { + TQWidget::focusInEvent(arg1); + } + return; + } + void tabletEvent(TQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { + TQWidget::tabletEvent(arg1); + } + return; + } + void keyReleaseEvent(TQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { + TQWidget::keyReleaseEvent(arg1); + } + return; + } + void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQTextEdit::contentsMouseDoubleClickEvent(arg1); + } + return; + } + void contextMenuEvent(TQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { + TQScrollView::contextMenuEvent(arg1); + } + return; + } + void paste() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","paste")) { + TQTextEdit::paste(); + } + return; + } + void redo() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","redo")) { + TQTextEdit::redo(); + } + return; + } + void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { + TQScrollView::viewportDragLeaveEvent(arg1); + } + return; + } + void contentsContextMenuEvent(TQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { + TQTextEdit::contentsContextMenuEvent(arg1); + } + return; + } + void setGeometry(const TQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { + TQWidget::setGeometry(arg1); + } + return; + } + void viewportMousePressEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMousePressEvent(arg1); + } + return; + } + void showMinimized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTextView_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQTextView*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextView_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QTextView_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextView_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQTextView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQTextView*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTextView_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTextView_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTextView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextView_newTQTextView__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTextViewJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextView_newTQTextView__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 TQTextViewJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextView_newTQTextView__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 TQTextViewJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextView_newTQTextView__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 TQTextViewJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextView_newTQTextView__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 TQTextViewJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextView_newTQTextView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTextViewJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTextView_newTQTextView__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 TQTextViewJBridge((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_qt_QTextView_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQTextViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTextView_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQTextViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQTextView.h b/qtjava/javalib/qtjava/TQTextView.h new file mode 100644 index 00000000..9912cff2 --- /dev/null +++ b/qtjava/javalib/qtjava/TQTextView.h @@ -0,0 +1,32 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QTextView__ +#define __org_kde_qt_QTextView__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextView_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextView_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextView_newTQTextView__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_qt_QTextView_newTQTextView__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextView_newTQTextView__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextView_newTQTextView__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextView_newTQTextView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextView_newTQTextView__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextView_newTQTextView__ (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextView_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextView_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextView_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextView_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextView_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QTextView__ */ diff --git a/qtjava/javalib/qtjava/TQTimeEdit.cpp b/qtjava/javalib/qtjava/TQTimeEdit.cpp new file mode 100644 index 00000000..279b768a --- /dev/null +++ b/qtjava/javalib/qtjava/TQTimeEdit.cpp @@ -0,0 +1,764 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +class TQTimeEditJBridge : public TQTimeEdit +{ +public: + TQTimeEditJBridge(TQWidget* arg1,const char* arg2) : TQTimeEdit(arg1,arg2) {}; + TQTimeEditJBridge(TQWidget* arg1) : TQTimeEdit(arg1) {}; + TQTimeEditJBridge() : TQTimeEdit() {}; + TQTimeEditJBridge(const TQTime& arg1,TQWidget* arg2,const char* arg3) : TQTimeEdit(arg1,arg2,arg3) {}; + TQTimeEditJBridge(const TQTime& arg1,TQWidget* arg2) : TQTimeEdit(arg1,arg2) {}; + TQTimeEditJBridge(const TQTime& arg1) : TQTimeEdit(arg1) {}; + bool protected_event(TQEvent* arg1) { + return (bool) TQTimeEdit::event(arg1); + } + void protected_timerEvent(TQTimerEvent* arg1) { + TQTimeEdit::timerEvent(arg1); + return; + } + void protected_resizeEvent(TQResizeEvent* arg1) { + TQTimeEdit::resizeEvent(arg1); + return; + } + void protected_stepUp() { + TQTimeEdit::stepUp(); + return; + } + void protected_stepDown() { + TQTimeEdit::stepDown(); + return; + } + TQString protected_sectionFormattedText(int arg1) { + return (TQString) TQTimeEdit::sectionFormattedText(arg1); + } + void protected_addNumber(int arg1,int arg2) { + TQTimeEdit::addNumber(arg1,arg2); + return; + } + void protected_removeLastNumber(int arg1) { + TQTimeEdit::removeLastNumber(arg1); + return; + } + bool protected_setFocusSection(int arg1) { + return (bool) TQTimeEdit::setFocusSection(arg1); + } + bool protected_outOfRange(int arg1,int arg2,int arg3) { + return (bool) TQTimeEdit::outOfRange(arg1,arg2,arg3); + } + void protected_setHour(int arg1) { + TQTimeEdit::setHour(arg1); + return; + } + void protected_setMinute(int arg1) { + TQTimeEdit::setMinute(arg1); + return; + } + void protected_setSecond(int arg1) { + TQTimeEdit::setSecond(arg1); + return; + } + void protected_updateButtons() { + TQTimeEdit::updateButtons(); + return; + } + ~TQTimeEditJBridge() {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")) { + TQTimeEdit::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.qt.TQTimeEdit","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.qt.TQTimeEdit","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.qt.TQTimeEdit","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.qt.TQTimeEdit","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.qt.TQTimeEdit","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.qt.TQTimeEdit","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTimeEdit","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")) { + TQTimeEdit::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.qt.TQTimeEdit","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTimeEdit","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.qt.TQTimeEdit","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.qt.TQTimeEdit",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.qt.TQTimeEdit","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTimeEdit_addNumber(JNIEnv* env, jobject obj, jint sec, jint num) +{ + ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_addNumber((int) sec, (int) num); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTimeEdit_autoAdvance(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQTimeEdit*) QtSupport::getQt(env, obj))->autoAdvance(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTimeEdit_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQTimeEdit*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTimeEdit_display(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTimeEdit*) QtSupport::getQt(env, obj))->display(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTimeEdit_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QTimeEdit_finalize(env, obj); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTimeEdit_event(JNIEnv* env, jobject obj, jobject e) +{ + jboolean xret = (jboolean) ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, e)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTimeEdit_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQTimeEdit*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQTimeEdit*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTimeEdit_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTimeEdit_maxValue(JNIEnv* env, jobject obj) +{ + TQTime _qtime; + _qtime = ((TQTimeEdit*) QtSupport::getQt(env, obj))->maxValue(); + return (jobject) QtSupport::fromTQTime(env, (TQTime*) &_qtime); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTimeEdit_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTimeEdit*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTimeEdit_minValue(JNIEnv* env, jobject obj) +{ + TQTime _qtime; + _qtime = ((TQTimeEdit*) QtSupport::getQt(env, obj))->minValue(); + return (jobject) QtSupport::fromTQTime(env, (TQTime*) &_qtime); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTimeEdit_minimumSizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQTimeEdit*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTimeEdit_newTQTimeEdit__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTimeEditJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTimeEdit_newTQTimeEdit__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 TQTimeEditJBridge((const TQTime&)*(TQTime*) QtSupport::toTQTime(env, time, &_qtime_time))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTimeEdit_newTQTimeEdit__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 TQTimeEditJBridge((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_qt_QTimeEdit_newTQTimeEdit__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 TQTimeEditJBridge((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_qt_QTimeEdit_newTQTimeEdit__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTimeEditJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTimeEdit_newTQTimeEdit__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 TQTimeEditJBridge((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_qt_QTimeEdit_outOfRange(JNIEnv* env, jobject obj, jint h, jint m, jint s) +{ + jboolean xret = (jboolean) ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_outOfRange((int) h, (int) m, (int) s); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTimeEdit_removeFirstNumber(JNIEnv* env, jobject obj, jint sec) +{ + ((TQTimeEdit*) QtSupport::getQt(env, obj))->removeFirstNumber((int) sec); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTimeEdit_removeLastNumber(JNIEnv* env, jobject obj, jint sec) +{ + ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_removeLastNumber((int) sec); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTimeEdit_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTimeEdit_sectionFormattedText(JNIEnv* env, jobject obj, jint sec) +{ + TQString _qstring; + _qstring = ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_sectionFormattedText((int) sec); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTimeEdit_separator(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQTimeEdit*) QtSupport::getQt(env, obj))->separator(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTimeEdit_setAutoAdvance(JNIEnv* env, jobject obj, jboolean advance) +{ + ((TQTimeEdit*) QtSupport::getQt(env, obj))->setAutoAdvance((bool) advance); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTimeEdit_setDisplay(JNIEnv* env, jobject obj, jint disp) +{ + ((TQTimeEdit*) QtSupport::getQt(env, obj))->setDisplay((uint) disp); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTimeEdit_setFocusSection(JNIEnv* env, jobject obj, jint s) +{ + jboolean xret = (jboolean) ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_setFocusSection((int) s); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTimeEdit_setHour(JNIEnv* env, jobject obj, jint h) +{ + ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_setHour((int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTimeEdit_setMaxValue(JNIEnv* env, jobject obj, jobject d) +{ +static TQTime* _qtime_d = 0; + ((TQTimeEdit*) QtSupport::getQt(env, obj))->setMaxValue((const TQTime&)*(TQTime*) QtSupport::toTQTime(env, d, &_qtime_d)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTimeEdit_setMinValue(JNIEnv* env, jobject obj, jobject d) +{ +static TQTime* _qtime_d = 0; + ((TQTimeEdit*) QtSupport::getQt(env, obj))->setMinValue((const TQTime&)*(TQTime*) QtSupport::toTQTime(env, d, &_qtime_d)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTimeEdit_setMinute(JNIEnv* env, jobject obj, jint m) +{ + ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_setMinute((int) m); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTimeEdit_setRange(JNIEnv* env, jobject obj, jobject min, jobject max) +{ +static TQTime* _qtime_min = 0; +static TQTime* _qtime_max = 0; + ((TQTimeEdit*) QtSupport::getQt(env, obj))->setRange((const TQTime&)*(TQTime*) QtSupport::toTQTime(env, min, &_qtime_min), (const TQTime&)*(TQTime*) QtSupport::toTQTime(env, max, &_qtime_max)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTimeEdit_setSecond(JNIEnv* env, jobject obj, jint s) +{ + ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_setSecond((int) s); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTimeEdit_setSeparator(JNIEnv* env, jobject obj, jstring s) +{ +static TQString* _qstring_s = 0; + ((TQTimeEdit*) QtSupport::getQt(env, obj))->setSeparator((const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTimeEdit_setTime(JNIEnv* env, jobject obj, jobject time) +{ +static TQTime* _qtime_time = 0; + ((TQTimeEdit*) QtSupport::getQt(env, obj))->setTime((const TQTime&)*(TQTime*) QtSupport::toTQTime(env, time, &_qtime_time)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTimeEdit_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQTimeEdit*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTimeEdit_stepDown(JNIEnv* env, jobject obj) +{ + ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_stepDown(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTimeEdit_stepUp(JNIEnv* env, jobject obj) +{ + ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_stepUp(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTimeEdit_time(JNIEnv* env, jobject obj) +{ + TQTime _qtime; + _qtime = ((TQTimeEdit*) QtSupport::getQt(env, obj))->time(); + return (jobject) QtSupport::fromTQTime(env, (TQTime*) &_qtime); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTimeEdit_timerEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_timerEvent((TQTimerEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTimeEdit_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQTimeEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTimeEdit_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQTimeEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTimeEdit_updateButtons(JNIEnv* env, jobject obj) +{ + ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_updateButtons(); + return; +} + diff --git a/qtjava/javalib/qtjava/TQTimeEdit.h b/qtjava/javalib/qtjava/TQTimeEdit.h new file mode 100644 index 00000000..8ec8cda8 --- /dev/null +++ b/qtjava/javalib/qtjava/TQTimeEdit.h @@ -0,0 +1,61 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QTimeEdit__ +#define __org_kde_qt_QTimeEdit__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTimeEdit_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTimeEdit_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_newTQTimeEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_newTQTimeEdit__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_newTQTimeEdit__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_newTQTimeEdit__Ljava_util_Date_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_newTQTimeEdit__Ljava_util_Date_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_newTQTimeEdit__Ljava_util_Date_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTimeEdit_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTimeEdit_minimumSizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTimeEdit_time (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_setAutoAdvance (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTimeEdit_autoAdvance (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_setMinValue (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTimeEdit_minValue (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_setMaxValue (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTimeEdit_maxValue (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_setRange (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTimeEdit_separator (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_setSeparator (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTimeEdit_display (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_setDisplay (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_removeFirstNumber (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_setTime (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTimeEdit_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTimeEdit_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTimeEdit_event (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_timerEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_stepUp (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_stepDown (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTimeEdit_sectionFormattedText (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_addNumber (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_removeLastNumber (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTimeEdit_setFocusSection (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTimeEdit_outOfRange (JNIEnv *env, jobject, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_setHour (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_setMinute (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_setSecond (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_updateButtons (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTimeEdit_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QTimeEdit__ */ diff --git a/qtjava/javalib/qtjava/TQTimer.cpp b/qtjava/javalib/qtjava/TQTimer.cpp new file mode 100644 index 00000000..019fe614 --- /dev/null +++ b/qtjava/javalib/qtjava/TQTimer.cpp @@ -0,0 +1,203 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQTimerJBridge : public TQTimer +{ +public: + TQTimerJBridge(TQObject* arg1,const char* arg2) : TQTimer(arg1,arg2) {}; + TQTimerJBridge(TQObject* arg1) : TQTimer(arg1) {}; + TQTimerJBridge() : TQTimer() {}; + bool protected_event(TQEvent* arg1) { + return (bool) TQTimer::event(arg1); + } + ~TQTimerJBridge() {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.qt.TQTimer",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTimer_changeInterval(JNIEnv* env, jobject obj, jint msec) +{ + ((TQTimer*) QtSupport::getQt(env, obj))->changeInterval((int) msec); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTimer_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQTimer*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTimer_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QTimer_finalize(env, obj); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTimer_event(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQTimerJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTimer_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQTimer*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQTimer*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTimer_isActive(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQTimer*) QtSupport::getQt(env, obj))->isActive(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTimer_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTimer_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTimer*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTimer_newTQTimer__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTimerJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTimer_newTQTimer__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTimerJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTimer_newTQTimer__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 TQTimerJBridge((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_qt_QTimer_singleShot(JNIEnv* env, jclass cls, jint msec, jobject receiver, jstring member) +{ + (void) cls; + TQTimerJBridge::singleShot((int) msec, (TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()"); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTimer_start__I(JNIEnv* env, jobject obj, jint msec) +{ + jint xret = (jint) ((TQTimer*) QtSupport::getQt(env, obj))->start((int) msec); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTimer_start__IZ(JNIEnv* env, jobject obj, jint msec, jboolean sshot) +{ + jint xret = (jint) ((TQTimer*) QtSupport::getQt(env, obj))->start((int) msec, (bool) sshot); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTimer_stop(JNIEnv* env, jobject obj) +{ + ((TQTimer*) QtSupport::getQt(env, obj))->stop(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTimer_timerId(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTimer*) QtSupport::getQt(env, obj))->timerId(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTimer_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQTimerJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTimer_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQTimerJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQTimer.h b/qtjava/javalib/qtjava/TQTimer.h new file mode 100644 index 00000000..0202ab36 --- /dev/null +++ b/qtjava/javalib/qtjava/TQTimer.h @@ -0,0 +1,36 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QTimer__ +#define __org_kde_qt_QTimer__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTimer_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTimer_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimer_newTQTimer__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimer_newTQTimer__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimer_newTQTimer__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTimer_isActive (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTimer_start__IZ (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTimer_start__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimer_changeInterval (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimer_stop (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTimer_timerId (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTimer_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTimer_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimer_singleShot (JNIEnv *env, jclass, jint, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTimer_event (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimer_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimer_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTimer_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QTimer__ */ diff --git a/qtjava/javalib/qtjava/TQTimerEvent.cpp b/qtjava/javalib/qtjava/TQTimerEvent.cpp new file mode 100644 index 00000000..aadd9ae2 --- /dev/null +++ b/qtjava/javalib/qtjava/TQTimerEvent.cpp @@ -0,0 +1,53 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + +class TQTimerEventJBridge : public TQTimerEvent +{ +public: + TQTimerEventJBridge(int arg1) : TQTimerEvent(arg1) {}; + ~TQTimerEventJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTimerEvent_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QTimerEvent_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTimerEvent_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQTimerEvent*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTimerEvent_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTimerEvent_newTQTimerEvent(JNIEnv* env, jobject obj, jint timerId) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTimerEventJBridge((int) timerId)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTimerEvent_timerId(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTimerEvent*) QtSupport::getQt(env, obj))->timerId(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQTimerEvent.h b/qtjava/javalib/qtjava/TQTimerEvent.h new file mode 100644 index 00000000..61030922 --- /dev/null +++ b/qtjava/javalib/qtjava/TQTimerEvent.h @@ -0,0 +1,23 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QTimerEvent__ +#define __org_kde_qt_QTimerEvent__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimerEvent_newTQTimerEvent (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTimerEvent_timerId (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimerEvent_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimerEvent_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTimerEvent_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QTimerEvent__ */ diff --git a/qtjava/javalib/qtjava/TQToolBar.cpp b/qtjava/javalib/qtjava/TQToolBar.cpp new file mode 100644 index 00000000..2c6e841a --- /dev/null +++ b/qtjava/javalib/qtjava/TQToolBar.cpp @@ -0,0 +1,690 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include + +#include +#include + +class TQToolBarJBridge : public TQToolBar +{ +public: + TQToolBarJBridge(const TQString& arg1,TQMainWindow* arg2,TQt::ToolBarDock arg3,bool arg4,const char* arg5) : TQToolBar(arg1,arg2,arg3,arg4,arg5) {}; + TQToolBarJBridge(const TQString& arg1,TQMainWindow* arg2,TQt::ToolBarDock arg3,bool arg4) : TQToolBar(arg1,arg2,arg3,arg4) {}; + TQToolBarJBridge(const TQString& arg1,TQMainWindow* arg2,TQt::ToolBarDock arg3) : TQToolBar(arg1,arg2,arg3) {}; + TQToolBarJBridge(const TQString& arg1,TQMainWindow* arg2) : TQToolBar(arg1,arg2) {}; + TQToolBarJBridge(const TQString& arg1,TQMainWindow* arg2,TQWidget* arg3,bool arg4,const char* arg5,TQt::WFlags arg6) : TQToolBar(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TQToolBarJBridge(const TQString& arg1,TQMainWindow* arg2,TQWidget* arg3,bool arg4,const char* arg5) : TQToolBar(arg1,arg2,arg3,arg4,arg5) {}; + TQToolBarJBridge(const TQString& arg1,TQMainWindow* arg2,TQWidget* arg3,bool arg4) : TQToolBar(arg1,arg2,arg3,arg4) {}; + TQToolBarJBridge(const TQString& arg1,TQMainWindow* arg2,TQWidget* arg3) : TQToolBar(arg1,arg2,arg3) {}; + TQToolBarJBridge(TQMainWindow* arg1,const char* arg2) : TQToolBar(arg1,arg2) {}; + TQToolBarJBridge(TQMainWindow* arg1) : TQToolBar(arg1) {}; + TQToolBarJBridge() : TQToolBar() {}; + void public_clear() { + TQToolBar::clear(); + return; + } + void protected_resizeEvent(TQResizeEvent* arg1) { + TQToolBar::resizeEvent(arg1); + return; + } + void protected_styleChange(TQStyle& arg1) { + TQToolBar::styleChange(arg1); + return; + } + ~TQToolBarJBridge() {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")) { + TQToolBar::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.qt.TQToolBar","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.qt.TQToolBar","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 clear() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBar","clear")) { + TQToolBar::clear(); + } + return; + } + void unsetCursor() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBar","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.qt.TQToolBar","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBar","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")) { + TQDockWindow::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.qt.TQToolBar","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")) { + TQObject::childEvent(arg1); + } + return; + } + void undock() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBar","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.qt.TQToolBar","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBar","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.qt.TQToolBar","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 setStretchableWidget(TQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setStretchableWidget",(void*)arg1,"org.kde.qt.TQWidget")) { + TQToolBar::setStretchableWidget(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.qt.TQToolBar","frameChanged")) { + TQFrame::frameChanged(); + } + return; + } + void showMinimized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBar","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolBar_addSeparator(JNIEnv* env, jobject obj) +{ + ((TQToolBar*) QtSupport::getQt(env, obj))->addSeparator(); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QToolBar_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQToolBar*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolBar_clear(JNIEnv* env, jobject obj) +{ + ((TQToolBarJBridge*) QtSupport::getQt(env, obj))->public_clear(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolBar_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QToolBar_finalize(env, obj); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QToolBar_event(JNIEnv* env, jobject obj, jobject e) +{ + jboolean xret = (jboolean) ((TQToolBar*) QtSupport::getQt(env, obj))->event((TQEvent*) QtSupport::getQt(env, e)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolBar_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQToolBar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQToolBar*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolBar_hide(JNIEnv* env, jobject obj) +{ + ((TQToolBar*) QtSupport::getQt(env, obj))->hide(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QToolBar_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QToolBar_label(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQToolBar*) QtSupport::getQt(env, obj))->label(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QToolBar_mainWindow(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQToolBar*) QtSupport::getQt(env, obj))->mainWindow(), "org.kde.qt.TQMainWindow"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QToolBar_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQToolBar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QToolBar_minimumSizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQToolBar*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QToolBar_minimumSize(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQToolBar*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolBar_newTQToolBar__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQToolBarJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolBar_newTQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2(JNIEnv* env, jobject obj, jstring label, jobject arg2) +{ +static TQString* _qstring_label = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQToolBarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (TQMainWindow*) QtSupport::getQt(env, arg2))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolBar_newTQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2I(JNIEnv* env, jobject obj, jstring label, jobject arg2, jint arg3) +{ +static TQString* _qstring_label = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQToolBarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (TQMainWindow*) QtSupport::getQt(env, arg2), (TQt::ToolBarDock) arg3)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolBar_newTQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2IZ(JNIEnv* env, jobject obj, jstring label, jobject arg2, jint arg3, jboolean newLine) +{ +static TQString* _qstring_label = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQToolBarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (TQMainWindow*) QtSupport::getQt(env, arg2), (TQt::ToolBarDock) arg3, (bool) newLine)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolBar_newTQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2IZLjava_lang_String_2(JNIEnv* env, jobject obj, jstring label, jobject arg2, jint arg3, jboolean newLine, jstring name) +{ +static TQString* _qstring_label = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQToolBarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (TQMainWindow*) QtSupport::getQt(env, arg2), (TQt::ToolBarDock) arg3, (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_qt_QToolBar_newTQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring label, jobject arg2, jobject arg3) +{ +static TQString* _qstring_label = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQToolBarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (TQMainWindow*) QtSupport::getQt(env, arg2), (TQWidget*) QtSupport::getQt(env, arg3))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolBar_newTQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jobject obj, jstring label, jobject arg2, jobject arg3, jboolean newLine) +{ +static TQString* _qstring_label = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQToolBarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (TQMainWindow*) QtSupport::getQt(env, arg2), (TQWidget*) QtSupport::getQt(env, arg3), (bool) newLine)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolBar_newTQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jstring label, jobject arg2, jobject arg3, jboolean newLine, jstring name) +{ +static TQString* _qstring_label = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQToolBarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (TQMainWindow*) QtSupport::getQt(env, arg2), (TQWidget*) QtSupport::getQt(env, arg3), (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_qt_QToolBar_newTQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2ZLjava_lang_String_2I(JNIEnv* env, jobject obj, jstring label, jobject arg2, jobject arg3, jboolean newLine, jstring name, jint f) +{ +static TQString* _qstring_label = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQToolBarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (TQMainWindow*) QtSupport::getQt(env, arg2), (TQWidget*) QtSupport::getQt(env, arg3), (bool) newLine, (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_qt_QToolBar_newTQToolBar__Lorg_kde_qt_QMainWindow_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolBar_newTQToolBar__Lorg_kde_qt_QMainWindow_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 TQToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolBar_resizeEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQToolBarJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolBar_setLabel(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQToolBar*) QtSupport::getQt(env, obj))->setLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolBar_setMinimumSize(JNIEnv* env, jobject obj, jint minw, jint minh) +{ + ((TQToolBar*) QtSupport::getQt(env, obj))->setMinimumSize((int) minw, (int) minh); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolBar_setOrientation(JNIEnv* env, jobject obj, jint o) +{ + ((TQToolBar*) QtSupport::getQt(env, obj))->setOrientation((TQt::Orientation) o); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolBar_setStretchableWidget(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQToolBar*) QtSupport::getQt(env, obj))->setStretchableWidget((TQWidget*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolBar_show(JNIEnv* env, jobject obj) +{ + ((TQToolBar*) QtSupport::getQt(env, obj))->show(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolBar_styleChange(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQToolBarJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QToolBar_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQToolBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QToolBar_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQToolBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQToolBar.h b/qtjava/javalib/qtjava/TQToolBar.h new file mode 100644 index 00000000..5103f9e6 --- /dev/null +++ b/qtjava/javalib/qtjava/TQToolBar.h @@ -0,0 +1,51 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QToolBar__ +#define __org_kde_qt_QToolBar__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolBar_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolBar_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_newTQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2IZLjava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jint, jboolean, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_newTQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2IZ (JNIEnv *env, jobject, jstring, jobject, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_newTQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2I (JNIEnv *env, jobject, jstring, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_newTQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_newTQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2ZLjava_lang_String_2I (JNIEnv *env, jobject, jstring, jobject, jobject, jboolean, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_newTQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jboolean, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_newTQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jobject, jstring, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_newTQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_newTQToolBar__Lorg_kde_qt_QMainWindow_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_newTQToolBar__Lorg_kde_qt_QMainWindow_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_newTQToolBar__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_addSeparator (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_show (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_hide (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolBar_mainWindow (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_setStretchableWidget (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QToolBar_event (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_setLabel (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolBar_label (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_clear (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolBar_minimumSize (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolBar_minimumSizeHint (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_setOrientation (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_setMinimumSize (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolBar_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolBar_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_styleChange (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QToolBar_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QToolBar__ */ diff --git a/qtjava/javalib/qtjava/TQToolBox.cpp b/qtjava/javalib/qtjava/TQToolBox.cpp new file mode 100644 index 00000000..7cb8d25b --- /dev/null +++ b/qtjava/javalib/qtjava/TQToolBox.cpp @@ -0,0 +1,682 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include + +#include +#include + +class TQToolBoxJBridge : public TQToolBox +{ +public: + TQToolBoxJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQToolBox(arg1,arg2,arg3) {}; + TQToolBoxJBridge(TQWidget* arg1,const char* arg2) : TQToolBox(arg1,arg2) {}; + TQToolBoxJBridge(TQWidget* arg1) : TQToolBox(arg1) {}; + TQToolBoxJBridge() : TQToolBox() {}; + void protected_itemInserted(int arg1) { + TQToolBox::itemInserted(arg1); + return; + } + void protected_itemRemoved(int arg1) { + TQToolBox::itemRemoved(arg1); + return; + } + void protected_showEvent(TQShowEvent* arg1) { + TQToolBox::showEvent(arg1); + return; + } + void protected_frameChanged() { + TQToolBox::frameChanged(); + return; + } + void protected_styleChange(TQStyle& arg1) { + TQToolBox::styleChange(arg1); + return; + } + ~TQToolBoxJBridge() {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.qt.TQToolBox","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.qt.TQToolBox","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.qt.TQToolBox","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.qt.TQToolBox","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.qt.TQToolBox","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.qt.TQToolBox","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBox","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")) { + TQToolBox::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.qt.TQToolBox","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBox","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.qt.TQToolBox","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.qt.TQToolBox",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.qt.TQToolBox","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QToolBox_addItem__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject item, jstring label) +{ +static TQString* _qstring_label = 0; + jint xret = (jint) ((TQToolBox*) QtSupport::getQt(env, obj))->addItem((TQWidget*) QtSupport::getQt(env, item), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QToolBox_addItem__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject item, jobject iconSet, jstring label) +{ +static TQString* _qstring_label = 0; + jint xret = (jint) ((TQToolBox*) QtSupport::getQt(env, obj))->addItem((TQWidget*) QtSupport::getQt(env, item), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconSet), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QToolBox_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQToolBox*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QToolBox_count(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQToolBox*) QtSupport::getQt(env, obj))->count(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QToolBox_currentIndex(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQToolBox*) QtSupport::getQt(env, obj))->currentIndex(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QToolBox_currentItem(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQToolBox*) QtSupport::getQt(env, obj))->currentItem(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolBox_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QToolBox_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolBox_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQToolBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQToolBox*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolBox_frameChanged(JNIEnv* env, jobject obj) +{ + ((TQToolBoxJBridge*) QtSupport::getQt(env, obj))->protected_frameChanged(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QToolBox_indexOf(JNIEnv* env, jobject obj, jobject item) +{ + jint xret = (jint) ((TQToolBox*) QtSupport::getQt(env, obj))->indexOf((TQWidget*) QtSupport::getQt(env, item)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QToolBox_insertItem__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint index, jobject item, jstring label) +{ +static TQString* _qstring_label = 0; + jint xret = (jint) ((TQToolBox*) QtSupport::getQt(env, obj))->insertItem((int) index, (TQWidget*) QtSupport::getQt(env, item), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QToolBox_insertItem__ILorg_kde_qt_QWidget_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint index, jobject item, jobject iconSet, jstring label) +{ +static TQString* _qstring_label = 0; + jint xret = (jint) ((TQToolBox*) QtSupport::getQt(env, obj))->insertItem((int) index, (TQWidget*) QtSupport::getQt(env, item), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconSet), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QToolBox_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QToolBox_isItemEnabled(JNIEnv* env, jobject obj, jint index) +{ + jboolean xret = (jboolean) ((TQToolBox*) QtSupport::getQt(env, obj))->isItemEnabled((int) index); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QToolBox_itemIconSet(JNIEnv* env, jobject obj, jint index) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TQToolBox*) QtSupport::getQt(env, obj))->itemIconSet((int) index)), "org.kde.qt.TQIconSet", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolBox_itemInserted(JNIEnv* env, jobject obj, jint index) +{ + ((TQToolBoxJBridge*) QtSupport::getQt(env, obj))->protected_itemInserted((int) index); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QToolBox_itemLabel(JNIEnv* env, jobject obj, jint index) +{ + TQString _qstring; + _qstring = ((TQToolBox*) QtSupport::getQt(env, obj))->itemLabel((int) index); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolBox_itemRemoved(JNIEnv* env, jobject obj, jint index) +{ + ((TQToolBoxJBridge*) QtSupport::getQt(env, obj))->protected_itemRemoved((int) index); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QToolBox_itemToolTip(JNIEnv* env, jobject obj, jint index) +{ + TQString _qstring; + _qstring = ((TQToolBox*) QtSupport::getQt(env, obj))->itemToolTip((int) index); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QToolBox_item(JNIEnv* env, jobject obj, jint index) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQToolBox*) QtSupport::getQt(env, obj))->item((int) index), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QToolBox_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQToolBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolBox_newTQToolBox__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQToolBoxJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolBox_newTQToolBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQToolBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolBox_newTQToolBox__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 TQToolBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolBox_newTQToolBox__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 TQToolBoxJBridge((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_qt_QToolBox_removeItem(JNIEnv* env, jobject obj, jobject item) +{ + jint xret = (jint) ((TQToolBox*) QtSupport::getQt(env, obj))->removeItem((TQWidget*) QtSupport::getQt(env, item)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolBox_setCurrentIndex(JNIEnv* env, jobject obj, jint index) +{ + ((TQToolBox*) QtSupport::getQt(env, obj))->setCurrentIndex((int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolBox_setCurrentItem(JNIEnv* env, jobject obj, jobject item) +{ + ((TQToolBox*) QtSupport::getQt(env, obj))->setCurrentItem((TQWidget*) QtSupport::getQt(env, item)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolBox_setItemEnabled(JNIEnv* env, jobject obj, jint index, jboolean enabled) +{ + ((TQToolBox*) QtSupport::getQt(env, obj))->setItemEnabled((int) index, (bool) enabled); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolBox_setItemIconSet(JNIEnv* env, jobject obj, jint index, jobject iconSet) +{ + ((TQToolBox*) QtSupport::getQt(env, obj))->setItemIconSet((int) index, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconSet)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolBox_setItemLabel(JNIEnv* env, jobject obj, jint index, jstring label) +{ +static TQString* _qstring_label = 0; + ((TQToolBox*) QtSupport::getQt(env, obj))->setItemLabel((int) index, (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolBox_setItemToolTip(JNIEnv* env, jobject obj, jint index, jstring toolTip) +{ +static TQString* _qstring_toolTip = 0; + ((TQToolBox*) QtSupport::getQt(env, obj))->setItemToolTip((int) index, (const TQString&)*(TQString*) QtSupport::toTQString(env, toolTip, &_qstring_toolTip)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolBox_showEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQToolBoxJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolBox_styleChange(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQToolBoxJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QToolBox_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQToolBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QToolBox_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQToolBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQToolBox.h b/qtjava/javalib/qtjava/TQToolBox.h new file mode 100644 index 00000000..da974a02 --- /dev/null +++ b/qtjava/javalib/qtjava/TQToolBox.h @@ -0,0 +1,54 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QToolBox__ +#define __org_kde_qt_QToolBox__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolBox_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolBox_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_newTQToolBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_newTQToolBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_newTQToolBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_newTQToolBox__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QToolBox_addItem__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QToolBox_addItem__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QToolBox_insertItem__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QToolBox_insertItem__ILorg_kde_qt_QWidget_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QToolBox_removeItem (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_setItemEnabled (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QToolBox_isItemEnabled (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_setItemLabel (JNIEnv *env, jobject, jint, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolBox_itemLabel (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_setItemIconSet (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolBox_itemIconSet (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_setItemToolTip (JNIEnv *env, jobject, jint, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolBox_itemToolTip (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolBox_currentItem (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_setCurrentItem (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QToolBox_currentIndex (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolBox_item (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QToolBox_indexOf (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QToolBox_count (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_setCurrentIndex (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolBox_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolBox_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_itemInserted (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_itemRemoved (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_showEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_frameChanged (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_styleChange (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QToolBox_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QToolBox__ */ diff --git a/qtjava/javalib/qtjava/TQToolButton.cpp b/qtjava/javalib/qtjava/TQToolButton.cpp new file mode 100644 index 00000000..c4cb619a --- /dev/null +++ b/qtjava/javalib/qtjava/TQToolButton.cpp @@ -0,0 +1,811 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQToolButtonJBridge : public TQToolButton +{ +public: + TQToolButtonJBridge(TQWidget* arg1,const char* arg2) : TQToolButton(arg1,arg2) {}; + TQToolButtonJBridge(TQWidget* arg1) : TQToolButton(arg1) {}; + TQToolButtonJBridge(const TQIconSet& arg1,const TQString& arg2,const TQString& arg3,TQObject* arg4,const char* arg5,TQToolBar* arg6,const char* arg7) : TQToolButton(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TQToolButtonJBridge(const TQIconSet& arg1,const TQString& arg2,const TQString& arg3,TQObject* arg4,const char* arg5,TQToolBar* arg6) : TQToolButton(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TQToolButtonJBridge(TQt::ArrowType arg1,TQWidget* arg2,const char* arg3) : TQToolButton(arg1,arg2,arg3) {}; + TQToolButtonJBridge(TQt::ArrowType arg1,TQWidget* arg2) : TQToolButton(arg1,arg2) {}; + void protected_mousePressEvent(TQMouseEvent* arg1) { + TQToolButton::mousePressEvent(arg1); + return; + } + void protected_drawButton(TQPainter* arg1) { + TQToolButton::drawButton(arg1); + return; + } + void protected_drawButtonLabel(TQPainter* arg1) { + TQToolButton::drawButtonLabel(arg1); + return; + } + void protected_enterEvent(TQEvent* arg1) { + TQToolButton::enterEvent(arg1); + return; + } + void protected_leaveEvent(TQEvent* arg1) { + TQToolButton::leaveEvent(arg1); + return; + } + void protected_moveEvent(TQMoveEvent* arg1) { + TQToolButton::moveEvent(arg1); + return; + } + bool protected_uses3D() { + return (bool) TQToolButton::uses3D(); + } + bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { + return (bool) TQToolButton::eventFilter(arg1,arg2); + } + void protected_paletteChange(const TQPalette& arg1) { + TQToolButton::paletteChange(arg1); + return; + } + ~TQToolButtonJBridge() {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.qt.TQToolButton","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.qt.TQToolButton","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.qt.TQToolButton","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.qt.TQToolButton","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.qt.TQToolButton","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")) { + TQToolButton::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.qt.TQToolButton","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolButton","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")) { + TQToolButton::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")) { + TQToolButton::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.qt.TQToolButton","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolButton","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")) { + TQToolButton::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.qt.TQToolButton","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.qt.TQToolButton","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QToolButton_autoRaise(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQToolButton*) QtSupport::getQt(env, obj))->autoRaise(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QToolButton_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQToolButton*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolButton_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QToolButton_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolButton_drawButtonLabel(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQToolButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButtonLabel((TQPainter*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolButton_drawButton(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQToolButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButton((TQPainter*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolButton_enterEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQToolButtonJBridge*) QtSupport::getQt(env, obj))->protected_enterEvent((TQEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QToolButton_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject e) +{ + jboolean xret = (jboolean) ((TQToolButtonJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, e)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolButton_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQToolButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQToolButton*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QToolButton_iconSet__(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TQToolButton*) QtSupport::getQt(env, obj))->iconSet()), "org.kde.qt.TQIconSet", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QToolButton_iconSet__Z(JNIEnv* env, jobject obj, jboolean on) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TQToolButton*) QtSupport::getQt(env, obj))->iconSet((bool) on)), "org.kde.qt.TQIconSet", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QToolButton_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolButton_leaveEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQToolButtonJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QToolButton_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQToolButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QToolButton_minimumSizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQToolButton*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolButton_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQToolButtonJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolButton_moveEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQToolButtonJBridge*) QtSupport::getQt(env, obj))->protected_moveEvent((TQMoveEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolButton_newTQToolButton__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint type, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQToolButtonJBridge((TQt::ArrowType) type, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolButton_newTQToolButton__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint type, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQToolButtonJBridge((TQt::ArrowType) type, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolButton_newTQToolButton__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QToolBar_2(JNIEnv* env, jobject obj, jobject s, jstring textLabel, jstring grouptext, jobject receiver, jstring slot, jobject parent) +{ +static TQString* _qstring_textLabel = 0; +static TQString* _qstring_grouptext = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQToolButtonJBridge((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, s), (const TQString&)*(TQString*) QtSupport::toTQString(env, textLabel, &_qstring_textLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, grouptext, &_qstring_grouptext), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQToolBar*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolButton_newTQToolButton__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QToolBar_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject s, jstring textLabel, jstring grouptext, jobject receiver, jstring slot, jobject parent, jstring name) +{ +static TQString* _qstring_textLabel = 0; +static TQString* _qstring_grouptext = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQToolButtonJBridge((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, s), (const TQString&)*(TQString*) QtSupport::toTQString(env, textLabel, &_qstring_textLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, grouptext, &_qstring_grouptext), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQToolBar*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolButton_newTQToolButton__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQToolButtonJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolButton_newTQToolButton__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 TQToolButtonJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QToolButton_offIconSet(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TQToolButton*) QtSupport::getQt(env, obj))->offIconSet()), "org.kde.qt.TQIconSet", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QToolButton_onIconSet(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TQToolButton*) QtSupport::getQt(env, obj))->onIconSet()), "org.kde.qt.TQIconSet", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolButton_openPopup(JNIEnv* env, jobject obj) +{ + ((TQToolButton*) QtSupport::getQt(env, obj))->openPopup(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolButton_paletteChange(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQToolButtonJBridge*) QtSupport::getQt(env, obj))->protected_paletteChange((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QToolButton_popupDelay(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQToolButton*) QtSupport::getQt(env, obj))->popupDelay(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QToolButton_popup(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQToolButton*) QtSupport::getQt(env, obj))->popup(), "org.kde.qt.TQPopupMenu"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolButton_setAutoRaise(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TQToolButton*) QtSupport::getQt(env, obj))->setAutoRaise((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolButton_setIconSet__Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQToolButton*) QtSupport::getQt(env, obj))->setIconSet((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolButton_setIconSet__Lorg_kde_qt_QIconSet_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean on) +{ + ((TQToolButton*) QtSupport::getQt(env, obj))->setIconSet((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, arg1), (bool) on); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolButton_setOffIconSet(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQToolButton*) QtSupport::getQt(env, obj))->setOffIconSet((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolButton_setOnIconSet(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQToolButton*) QtSupport::getQt(env, obj))->setOnIconSet((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolButton_setOn(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TQToolButton*) QtSupport::getQt(env, obj))->setOn((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolButton_setPopupDelay(JNIEnv* env, jobject obj, jint delay) +{ + ((TQToolButton*) QtSupport::getQt(env, obj))->setPopupDelay((int) delay); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolButton_setPopup(JNIEnv* env, jobject obj, jobject popup) +{ + ((TQToolButton*) QtSupport::getQt(env, obj))->setPopup((TQPopupMenu*) QtSupport::getQt(env, popup)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolButton_setTextLabel__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQToolButton*) QtSupport::getQt(env, obj))->setTextLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolButton_setTextLabel__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring arg1, jboolean arg2) +{ +static TQString* _qstring_arg1 = 0; + ((TQToolButton*) QtSupport::getQt(env, obj))->setTextLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolButton_setTextPosition(JNIEnv* env, jobject obj, jint pos) +{ + ((TQToolButton*) QtSupport::getQt(env, obj))->setTextPosition((TQToolButton::TextPosition) pos); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolButton_setText(JNIEnv* env, jobject obj, jstring txt) +{ +static TQString* _qstring_txt = 0; + ((TQToolButton*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolButton_setToggleButton(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TQToolButton*) QtSupport::getQt(env, obj))->setToggleButton((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolButton_setUsesBigPixmap(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TQToolButton*) QtSupport::getQt(env, obj))->setUsesBigPixmap((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolButton_setUsesTextLabel(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TQToolButton*) QtSupport::getQt(env, obj))->setUsesTextLabel((bool) enable); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QToolButton_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQToolButton*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QToolButton_textLabel(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQToolButton*) QtSupport::getQt(env, obj))->textLabel(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QToolButton_textPosition(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQToolButton*) QtSupport::getQt(env, obj))->textPosition(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolButton_toggle(JNIEnv* env, jobject obj) +{ + ((TQToolButton*) QtSupport::getQt(env, obj))->toggle(); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QToolButton_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQToolButtonJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QToolButton_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQToolButtonJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QToolButton_uses3D(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQToolButtonJBridge*) QtSupport::getQt(env, obj))->protected_uses3D(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QToolButton_usesBigPixmap(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQToolButton*) QtSupport::getQt(env, obj))->usesBigPixmap(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QToolButton_usesTextLabel(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQToolButton*) QtSupport::getQt(env, obj))->usesTextLabel(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQToolButton.h b/qtjava/javalib/qtjava/TQToolButton.h new file mode 100644 index 00000000..a9926a48 --- /dev/null +++ b/qtjava/javalib/qtjava/TQToolButton.h @@ -0,0 +1,70 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QToolButton__ +#define __org_kde_qt_QToolButton__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolButton_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolButton_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_newTQToolButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_newTQToolButton__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_newTQToolButton__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QToolBar_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_newTQToolButton__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QToolBar_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_newTQToolButton__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_newTQToolButton__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolButton_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolButton_minimumSizeHint (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_setOnIconSet (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_setOffIconSet (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_setIconSet__Lorg_kde_qt_QIconSet_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolButton_onIconSet (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolButton_offIconSet (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolButton_iconSet__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_setIconSet__Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolButton_iconSet__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QToolButton_usesBigPixmap (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QToolButton_usesTextLabel (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolButton_textLabel (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_setPopup (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolButton_popup (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_setPopupDelay (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QToolButton_popupDelay (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_openPopup (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_setAutoRaise (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QToolButton_autoRaise (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QToolButton_textPosition (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_setText (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_setUsesBigPixmap (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_setUsesTextLabel (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_setTextLabel__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_setToggleButton (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_setOn (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_toggle (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_setTextLabel__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_setTextPosition (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolButton_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolButton_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_mousePressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_drawButton (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_drawButtonLabel (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_enterEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_leaveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_moveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QToolButton_uses3D (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QToolButton_eventFilter (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_paletteChange (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QToolButton_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QToolButton__ */ diff --git a/qtjava/javalib/qtjava/TQToolTip.cpp b/qtjava/javalib/qtjava/TQToolTip.cpp new file mode 100644 index 00000000..79d95bc3 --- /dev/null +++ b/qtjava/javalib/qtjava/TQToolTip.cpp @@ -0,0 +1,183 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include + +#include +#include + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolTip_add__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject arg1, jstring arg2) +{ + (void) cls; +static TQString* _qstring_arg2 = 0; + TQToolTip::add((TQWidget*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolTip_add__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QToolTipGroup_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject arg1, jstring arg2, jobject arg3, jstring arg4) +{ + (void) cls; +static TQString* _qstring_arg2 = 0; +static TQString* _qstring_arg4 = 0; + TQToolTip::add((TQWidget*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQToolTipGroup*) QtSupport::getQt(env, arg3), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolTip_add__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2, jstring arg3) +{ + (void) cls; +static TQString* _qstring_arg3 = 0; + TQToolTip::add((TQWidget*) QtSupport::getQt(env, arg1), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg2), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolTip_add__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Ljava_lang_String_2Lorg_kde_qt_QToolTipGroup_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2, jstring arg3, jobject arg4, jstring arg5) +{ + (void) cls; +static TQString* _qstring_arg3 = 0; +static TQString* _qstring_arg5 = 0; + TQToolTip::add((TQWidget*) QtSupport::getQt(env, arg1), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg2), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQToolTipGroup*) QtSupport::getQt(env, arg4), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QToolTip_enabled(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jboolean xret = (jboolean) TQToolTip::enabled(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QToolTip_font(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TQToolTip::font()), "org.kde.qt.TQFont", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QToolTip_group(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQToolTip*) QtSupport::getQt(env, obj))->group(), "org.kde.qt.TQToolTipGroup"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolTip_hide(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + TQToolTip::hide(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QToolTip_isGloballyEnabled(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jboolean xret = (jboolean) TQToolTip::isGloballyEnabled(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QToolTip_palette(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPalette(TQToolTip::palette()), "org.kde.qt.TQPalette", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QToolTip_parentWidget(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQToolTip*) QtSupport::getQt(env, obj))->parentWidget(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolTip_remove__Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject arg1) +{ + (void) cls; + TQToolTip::remove((TQWidget*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolTip_remove__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) +{ + (void) cls; + TQToolTip::remove((TQWidget*) QtSupport::getQt(env, arg1), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolTip_setEnabled(JNIEnv* env, jclass cls, jboolean enable) +{ + (void) cls; + (void) env; + TQToolTip::setEnabled((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolTip_setFont(JNIEnv* env, jclass cls, jobject arg1) +{ + (void) cls; + TQToolTip::setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolTip_setGloballyEnabled(JNIEnv* env, jclass cls, jboolean arg1) +{ + (void) cls; + (void) env; + TQToolTip::setGloballyEnabled((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolTip_setPalette(JNIEnv* env, jclass cls, jobject arg1) +{ + (void) cls; + TQToolTip::setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolTip_setWakeUpDelay(JNIEnv* env, jclass cls, jint arg1) +{ + (void) cls; + (void) env; + TQToolTip::setWakeUpDelay((int) arg1); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QToolTip_textFor__Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject arg1) +{ + TQString _qstring; + (void) cls; + _qstring = TQToolTip::textFor((TQWidget*) QtSupport::getQt(env, arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QToolTip_textFor__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jclass cls, jobject arg1, jobject pos) +{ + TQString _qstring; + (void) cls; + _qstring = TQToolTip::textFor((TQWidget*) QtSupport::getQt(env, arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQToolTip.h b/qtjava/javalib/qtjava/TQToolTip.h new file mode 100644 index 00000000..37e92df3 --- /dev/null +++ b/qtjava/javalib/qtjava/TQToolTip.h @@ -0,0 +1,38 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QToolTip__ +#define __org_kde_qt_QToolTip__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolTip_parentWidget (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolTip_group (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolTip_add__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolTip_add__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QToolTipGroup_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolTip_remove__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolTip_add__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolTip_add__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Ljava_lang_String_2Lorg_kde_qt_QToolTipGroup_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolTip_remove__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2 (JNIEnv *env, jclass, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolTip_textFor__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jclass, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolTip_textFor__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolTip_hide (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolTip_font (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolTip_setFont (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolTip_palette (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolTip_setPalette (JNIEnv *env, jclass, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolTip_setEnabled (JNIEnv *env, jclass, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QToolTip_enabled (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolTip_setGloballyEnabled (JNIEnv *env, jclass, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QToolTip_isGloballyEnabled (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolTip_setWakeUpDelay (JNIEnv *env, jclass, jint); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QToolTip__ */ diff --git a/qtjava/javalib/qtjava/TQToolTipGroup.cpp b/qtjava/javalib/qtjava/TQToolTipGroup.cpp new file mode 100644 index 00000000..25df71a7 --- /dev/null +++ b/qtjava/javalib/qtjava/TQToolTipGroup.cpp @@ -0,0 +1,160 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQToolTipGroupJBridge : public TQToolTipGroup +{ +public: + TQToolTipGroupJBridge(TQObject* arg1,const char* arg2) : TQToolTipGroup(arg1,arg2) {}; + TQToolTipGroupJBridge(TQObject* arg1) : TQToolTipGroup(arg1) {}; + ~TQToolTipGroupJBridge() {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.qt.TQToolTipGroup",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QToolTipGroup_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQToolTipGroup*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QToolTipGroup_delay(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQToolTipGroup*) QtSupport::getQt(env, obj))->delay(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolTipGroup_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QToolTipGroup_finalize(env, obj); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QToolTipGroup_enabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQToolTipGroup*) QtSupport::getQt(env, obj))->enabled(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolTipGroup_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQToolTipGroup*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQToolTipGroup*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QToolTipGroup_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QToolTipGroup_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQToolTipGroup*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolTipGroup_newTQToolTipGroup__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQToolTipGroupJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolTipGroup_newTQToolTipGroup__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 TQToolTipGroupJBridge((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_qt_QToolTipGroup_setDelay(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQToolTipGroup*) QtSupport::getQt(env, obj))->setDelay((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QToolTipGroup_setEnabled(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQToolTipGroup*) QtSupport::getQt(env, obj))->setEnabled((bool) arg1); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QToolTipGroup_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQToolTipGroupJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QToolTipGroup_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQToolTipGroupJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQToolTipGroup.h b/qtjava/javalib/qtjava/TQToolTipGroup.h new file mode 100644 index 00000000..3f9e9084 --- /dev/null +++ b/qtjava/javalib/qtjava/TQToolTipGroup.h @@ -0,0 +1,31 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QToolTipGroup__ +#define __org_kde_qt_QToolTipGroup__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QToolTipGroup_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolTipGroup_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolTipGroup_newTQToolTipGroup__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolTipGroup_newTQToolTipGroup__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QToolTipGroup_delay (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QToolTipGroup_enabled (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolTipGroup_setDelay (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolTipGroup_setEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolTipGroup_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolTipGroup_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolTipGroup_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolTipGroup_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QToolTipGroup_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QToolTipGroup__ */ diff --git a/qtjava/javalib/qtjava/TQTranslator.cpp b/qtjava/javalib/qtjava/TQTranslator.cpp new file mode 100644 index 00000000..3e4f43e1 --- /dev/null +++ b/qtjava/javalib/qtjava/TQTranslator.cpp @@ -0,0 +1,332 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQTranslatorJBridge : public TQTranslator +{ +public: + TQTranslatorJBridge(TQObject* arg1,const char* arg2) : TQTranslator(arg1,arg2) {}; + TQTranslatorJBridge(TQObject* arg1) : TQTranslator(arg1) {}; + TQTranslatorJBridge() : TQTranslator() {}; + ~TQTranslatorJBridge() {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.qt.TQTranslator",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTranslator_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQTranslator*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTranslator_clear(JNIEnv* env, jobject obj) +{ + ((TQTranslator*) QtSupport::getQt(env, obj))->clear(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTranslator_contains__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2) +{ +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + jboolean xret = (jboolean) ((TQTranslator*) QtSupport::getQt(env, obj))->contains((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTranslator_contains__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jstring comment) +{ +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; +static TQCString* _qstring_comment = 0; + jboolean xret = (jboolean) ((TQTranslator*) QtSupport::getQt(env, obj))->contains((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2), (const char*) QtSupport::toCharString(env, comment, &_qstring_comment)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTranslator_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QTranslator_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTranslator_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQTranslator*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQTranslator*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTranslator_findMessage__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2) +{ +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQTranslatorMessage(((TQTranslator*) QtSupport::getQt(env, obj))->findMessage((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2))), "org.kde.qt.TQTranslatorMessage", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTranslator_findMessage__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jstring arg3) +{ +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; +static TQCString* _qstring_arg3 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQTranslatorMessage(((TQTranslator*) QtSupport::getQt(env, obj))->findMessage((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2), (const char*) QtSupport::toCharString(env, arg3, &_qstring_arg3))), "org.kde.qt.TQTranslatorMessage", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTranslator_find__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring context, jstring sourceText) +{ + TQString _qstring; +static TQCString* _qstring_context = 0; +static TQCString* _qstring_sourceText = 0; + _qstring = ((TQTranslator*) QtSupport::getQt(env, obj))->find((const char*) QtSupport::toCharString(env, context, &_qstring_context), (const char*) QtSupport::toCharString(env, sourceText, &_qstring_sourceText)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTranslator_find__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring context, jstring sourceText, jstring comment) +{ + TQString _qstring; +static TQCString* _qstring_context = 0; +static TQCString* _qstring_sourceText = 0; +static TQCString* _qstring_comment = 0; + _qstring = ((TQTranslator*) QtSupport::getQt(env, obj))->find((const char*) QtSupport::toCharString(env, context, &_qstring_context), (const char*) QtSupport::toCharString(env, sourceText, &_qstring_sourceText), (const char*) QtSupport::toCharString(env, comment, &_qstring_comment)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTranslator_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring context, jstring sourceText, jstring translation) +{ +static TQCString* _qstring_context = 0; +static TQCString* _qstring_sourceText = 0; +static TQString* _qstring_translation = 0; + ((TQTranslator*) QtSupport::getQt(env, obj))->insert((const char*) QtSupport::toCharString(env, context, &_qstring_context), (const char*) QtSupport::toCharString(env, sourceText, &_qstring_sourceText), (const TQString&)*(TQString*) QtSupport::toTQString(env, translation, &_qstring_translation)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTranslator_insert__Lorg_kde_qt_QTranslatorMessage_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTranslator*) QtSupport::getQt(env, obj))->insert((const TQTranslatorMessage&)*(const TQTranslatorMessage*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTranslator_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTranslator_isEmpty(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQTranslator*) QtSupport::getQt(env, obj))->isEmpty(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTranslator_load__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename) +{ +static TQString* _qstring_filename = 0; + jboolean xret = (jboolean) ((TQTranslator*) QtSupport::getQt(env, obj))->load((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTranslator_load__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename, jstring directory) +{ +static TQString* _qstring_filename = 0; +static TQString* _qstring_directory = 0; + jboolean xret = (jboolean) ((TQTranslator*) QtSupport::getQt(env, obj))->load((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (const TQString&)*(TQString*) QtSupport::toTQString(env, directory, &_qstring_directory)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTranslator_load__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename, jstring directory, jstring search_delimiters) +{ +static TQString* _qstring_filename = 0; +static TQString* _qstring_directory = 0; +static TQString* _qstring_search_delimiters = 0; + jboolean xret = (jboolean) ((TQTranslator*) QtSupport::getQt(env, obj))->load((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (const TQString&)*(TQString*) QtSupport::toTQString(env, directory, &_qstring_directory), (const TQString&)*(TQString*) QtSupport::toTQString(env, search_delimiters, &_qstring_search_delimiters)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTranslator_load__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename, jstring directory, jstring search_delimiters, jstring suffix) +{ +static TQString* _qstring_filename = 0; +static TQString* _qstring_directory = 0; +static TQString* _qstring_search_delimiters = 0; +static TQString* _qstring_suffix = 0; + jboolean xret = (jboolean) ((TQTranslator*) QtSupport::getQt(env, obj))->load((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (const TQString&)*(TQString*) QtSupport::toTQString(env, directory, &_qstring_directory), (const TQString&)*(TQString*) QtSupport::toTQString(env, search_delimiters, &_qstring_search_delimiters), (const TQString&)*(TQString*) QtSupport::toTQString(env, suffix, &_qstring_suffix)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTranslator_load___3CI(JNIEnv* env, jobject obj, jcharArray data, jint len) +{ +static TQByteArray* _qbytearray_data = 0; + jboolean xret = (jboolean) ((TQTranslator*) QtSupport::getQt(env, obj))->load((const uchar*) QtSupport::toUcharArray(env, data, &_qbytearray_data), (int) len); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QTranslator_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTranslator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTranslator_newTQTranslator__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTranslatorJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTranslator_newTQTranslator__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTranslatorJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTranslator_newTQTranslator__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 TQTranslatorJBridge((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_qt_QTranslator_remove__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring context, jstring sourceText) +{ +static TQCString* _qstring_context = 0; +static TQCString* _qstring_sourceText = 0; + ((TQTranslator*) QtSupport::getQt(env, obj))->remove((const char*) QtSupport::toCharString(env, context, &_qstring_context), (const char*) QtSupport::toCharString(env, sourceText, &_qstring_sourceText)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTranslator_remove__Lorg_kde_qt_QTranslatorMessage_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQTranslator*) QtSupport::getQt(env, obj))->remove((const TQTranslatorMessage&)*(const TQTranslatorMessage*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTranslator_save__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename) +{ +static TQString* _qstring_filename = 0; + jboolean xret = (jboolean) ((TQTranslator*) QtSupport::getQt(env, obj))->save((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTranslator_save__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring filename, jint mode) +{ +static TQString* _qstring_filename = 0; + jboolean xret = (jboolean) ((TQTranslator*) QtSupport::getQt(env, obj))->save((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (TQTranslator::SaveMode) mode); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTranslator_squeeze__(JNIEnv* env, jobject obj) +{ + ((TQTranslator*) QtSupport::getQt(env, obj))->squeeze(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTranslator_squeeze__I(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQTranslator*) QtSupport::getQt(env, obj))->squeeze((TQTranslator::SaveMode) arg1); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTranslator_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQTranslatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTranslator_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQTranslatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTranslator_unsqueeze(JNIEnv* env, jobject obj) +{ + ((TQTranslator*) QtSupport::getQt(env, obj))->unsqueeze(); + return; +} + diff --git a/qtjava/javalib/qtjava/TQTranslator.h b/qtjava/javalib/qtjava/TQTranslator.h new file mode 100644 index 00000000..65e4363d --- /dev/null +++ b/qtjava/javalib/qtjava/TQTranslator.h @@ -0,0 +1,50 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QTranslator__ +#define __org_kde_qt_QTranslator__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTranslator_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTranslator_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslator_newTQTranslator__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslator_newTQTranslator__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslator_newTQTranslator__ (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTranslator_find__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTranslator_find__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTranslator_findMessage__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QTranslator_findMessage__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTranslator_load__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_qt_QTranslator_load__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTranslator_load__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTranslator_load__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTranslator_load___3CI (JNIEnv *env, jobject, jcharArray, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslator_clear (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTranslator_save__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTranslator_save__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslator_insert__Lorg_kde_qt_QTranslatorMessage_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslator_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslator_remove__Lorg_kde_qt_QTranslatorMessage_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslator_remove__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTranslator_contains__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTranslator_contains__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslator_squeeze__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslator_squeeze__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslator_unsqueeze (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTranslator_isEmpty (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTranslator_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTranslator_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslator_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslator_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTranslator_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QTranslator__ */ diff --git a/qtjava/javalib/qtjava/TQTranslatorMessage.cpp b/qtjava/javalib/qtjava/TQTranslatorMessage.cpp new file mode 100644 index 00000000..33074aa9 --- /dev/null +++ b/qtjava/javalib/qtjava/TQTranslatorMessage.cpp @@ -0,0 +1,216 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQTranslatorMessageJBridge : public TQTranslatorMessage +{ +public: + TQTranslatorMessageJBridge() : TQTranslatorMessage() {}; + TQTranslatorMessageJBridge(const char* arg1,const char* arg2,const char* arg3,const TQString& arg4) : TQTranslatorMessage(arg1,arg2,arg3,arg4) {}; + TQTranslatorMessageJBridge(const char* arg1,const char* arg2,const char* arg3) : TQTranslatorMessage(arg1,arg2,arg3) {}; + TQTranslatorMessageJBridge(TQDataStream& arg1) : TQTranslatorMessage(arg1) {}; + TQTranslatorMessageJBridge(const TQTranslatorMessage& arg1) : TQTranslatorMessage(arg1) {}; + ~TQTranslatorMessageJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTranslatorMessage_comment(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->comment(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTranslatorMessage_commonPrefix(JNIEnv* env, jobject obj, jobject arg1) +{ + jint xret = (jint) ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->commonPrefix((const TQTranslatorMessage&)*(const TQTranslatorMessage*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTranslatorMessage_context(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->context(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTranslatorMessage_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QTranslatorMessage_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTranslatorMessage_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQTranslatorMessage*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTranslatorMessage_hash(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->hash(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTranslatorMessage_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTranslatorMessage_newTQTranslatorMessage__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTranslatorMessageJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTranslatorMessage_newTQTranslatorMessage__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring context, jstring sourceText, jstring comment) +{ +static TQCString* _qstring_context = 0; +static TQCString* _qstring_sourceText = 0; +static TQCString* _qstring_comment = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTranslatorMessageJBridge((const char*) QtSupport::toCharString(env, context, &_qstring_context), (const char*) QtSupport::toCharString(env, sourceText, &_qstring_sourceText), (const char*) QtSupport::toCharString(env, comment, &_qstring_comment))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTranslatorMessage_newTQTranslatorMessage__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring context, jstring sourceText, jstring comment, jstring translation) +{ +static TQCString* _qstring_context = 0; +static TQCString* _qstring_sourceText = 0; +static TQCString* _qstring_comment = 0; +static TQString* _qstring_translation = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTranslatorMessageJBridge((const char*) QtSupport::toCharString(env, context, &_qstring_context), (const char*) QtSupport::toCharString(env, sourceText, &_qstring_sourceText), (const char*) QtSupport::toCharString(env, comment, &_qstring_comment), (const TQString&)*(TQString*) QtSupport::toTQString(env, translation, &_qstring_translation))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTranslatorMessage_newTQTranslatorMessage__Lorg_kde_qt_QDataStream_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTranslatorMessageJBridge((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTranslatorMessage_newTQTranslatorMessage__Lorg_kde_qt_QTranslatorMessage_2(JNIEnv* env, jobject obj, jobject m) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTranslatorMessageJBridge((const TQTranslatorMessage&)*(const TQTranslatorMessage*) QtSupport::getQt(env, m))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTranslatorMessage_op_1equals(JNIEnv* env, jobject obj, jobject m) +{ + jboolean xret = (jboolean) ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->operator==((const TQTranslatorMessage&)*(const TQTranslatorMessage*) QtSupport::getQt(env, m)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTranslatorMessage_op_1gt(JNIEnv* env, jobject obj, jobject m) +{ + jboolean xret = (jboolean) ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->operator>((const TQTranslatorMessage&)*(const TQTranslatorMessage*) QtSupport::getQt(env, m)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTranslatorMessage_op_1gte(JNIEnv* env, jobject obj, jobject m) +{ + jboolean xret = (jboolean) ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->operator>=((const TQTranslatorMessage&)*(const TQTranslatorMessage*) QtSupport::getQt(env, m)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTranslatorMessage_op_1lt(JNIEnv* env, jobject obj, jobject m) +{ + jboolean xret = (jboolean) ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->operator<((const TQTranslatorMessage&)*(const TQTranslatorMessage*) QtSupport::getQt(env, m)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTranslatorMessage_op_1lte(JNIEnv* env, jobject obj, jobject m) +{ + jboolean xret = (jboolean) ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->operator<=((const TQTranslatorMessage&)*(const TQTranslatorMessage*) QtSupport::getQt(env, m)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTranslatorMessage_op_1not_1equals(JNIEnv* env, jobject obj, jobject m) +{ + jboolean xret = (jboolean) ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->operator!=((const TQTranslatorMessage&)*(const TQTranslatorMessage*) QtSupport::getQt(env, m)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTranslatorMessage_setTranslation(JNIEnv* env, jobject obj, jstring translation) +{ +static TQString* _qstring_translation = 0; + ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->setTranslation((const TQString&)*(TQString*) QtSupport::toTQString(env, translation, &_qstring_translation)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTranslatorMessage_sourceText(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->sourceText(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTranslatorMessage_translation(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->translation(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTranslatorMessage_write__Lorg_kde_qt_QDataStream_2(JNIEnv* env, jobject obj, jobject s) +{ + ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->write((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTranslatorMessage_write__Lorg_kde_qt_QDataStream_2Z(JNIEnv* env, jobject obj, jobject s, jboolean strip) +{ + ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->write((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (bool) strip); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTranslatorMessage_write__Lorg_kde_qt_QDataStream_2ZI(JNIEnv* env, jobject obj, jobject s, jboolean strip, jint prefix) +{ + ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->write((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (bool) strip, (TQTranslatorMessage::Prefix) prefix); + return; +} + diff --git a/qtjava/javalib/qtjava/TQTranslatorMessage.h b/qtjava/javalib/qtjava/TQTranslatorMessage.h new file mode 100644 index 00000000..8a8087f1 --- /dev/null +++ b/qtjava/javalib/qtjava/TQTranslatorMessage.h @@ -0,0 +1,42 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QTranslatorMessage__ +#define __org_kde_qt_QTranslatorMessage__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslatorMessage_newTQTranslatorMessage__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslatorMessage_newTQTranslatorMessage__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_qt_QTranslatorMessage_newTQTranslatorMessage__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslatorMessage_newTQTranslatorMessage__Lorg_kde_qt_QDataStream_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslatorMessage_newTQTranslatorMessage__Lorg_kde_qt_QTranslatorMessage_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTranslatorMessage_hash (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTranslatorMessage_context (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTranslatorMessage_sourceText (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTranslatorMessage_comment (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslatorMessage_setTranslation (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTranslatorMessage_translation (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslatorMessage_write__Lorg_kde_qt_QDataStream_2ZI (JNIEnv *env, jobject, jobject, jboolean, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslatorMessage_write__Lorg_kde_qt_QDataStream_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslatorMessage_write__Lorg_kde_qt_QDataStream_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTranslatorMessage_commonPrefix (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTranslatorMessage_op_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTranslatorMessage_op_1not_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTranslatorMessage_op_1lt (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTranslatorMessage_op_1lte (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTranslatorMessage_op_1gt (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTranslatorMessage_op_1gte (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslatorMessage_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslatorMessage_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTranslatorMessage_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QTranslatorMessage__ */ diff --git a/qtjava/javalib/qtjava/TQTsciiCodec.cpp b/qtjava/javalib/qtjava/TQTsciiCodec.cpp new file mode 100644 index 00000000..130859b5 --- /dev/null +++ b/qtjava/javalib/qtjava/TQTsciiCodec.cpp @@ -0,0 +1,99 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQTsciiCodecJBridge : public TQTsciiCodec +{ +public: + TQTsciiCodecJBridge() : TQTsciiCodec() {}; + ~TQTsciiCodecJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTsciiCodec_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QTsciiCodec_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTsciiCodec_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQTsciiCodec*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTsciiCodec_fromUnicode(JNIEnv* env, jobject obj, jstring uc, jintArray lenInOut) +{ + TQCString _qstring; +static TQString* _qstring_uc = 0; + int* _int_lenInOut = QtSupport::toIntPtr(env, lenInOut); + _qstring = ((TQTsciiCodec*) QtSupport::getQt(env, obj))->fromUnicode((const TQString&)*(TQString*) QtSupport::toTQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); + env->SetIntArrayRegion(lenInOut, 0, 1, (jint *) _int_lenInOut); + return QtSupport::fromTQCString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTsciiCodec_heuristicContentMatch(JNIEnv* env, jobject obj, jstring chars, jint len) +{ +static TQCString* _qstring_chars = 0; + jint xret = (jint) ((TQTsciiCodec*) QtSupport::getQt(env, obj))->heuristicContentMatch((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTsciiCodec_heuristicNameMatch(JNIEnv* env, jobject obj, jstring hint) +{ +static TQCString* _qstring_hint = 0; + jint xret = (jint) ((TQTsciiCodec*) QtSupport::getQt(env, obj))->heuristicNameMatch((const char*) QtSupport::toCharString(env, hint, &_qstring_hint)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QTsciiCodec_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QTsciiCodec_mibEnum(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQTsciiCodec*) QtSupport::getQt(env, obj))->mibEnum(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTsciiCodec_name(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQTsciiCodec*) QtSupport::getQt(env, obj))->name(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QTsciiCodec_newTQTsciiCodec(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQTsciiCodecJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QTsciiCodec_toUnicode(JNIEnv* env, jobject obj, jstring chars, jint len) +{ + TQString _qstring; +static TQCString* _qstring_chars = 0; + _qstring = ((TQTsciiCodec*) QtSupport::getQt(env, obj))->toUnicode((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQTsciiCodec.h b/qtjava/javalib/qtjava/TQTsciiCodec.h new file mode 100644 index 00000000..761c1865 --- /dev/null +++ b/qtjava/javalib/qtjava/TQTsciiCodec.h @@ -0,0 +1,28 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QTsciiCodec__ +#define __org_kde_qt_QTsciiCodec__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTsciiCodec_mibEnum (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTsciiCodec_name (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTsciiCodec_fromUnicode (JNIEnv *env, jobject, jstring, jintArray); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTsciiCodec_toUnicode (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTsciiCodec_heuristicContentMatch (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QTsciiCodec_heuristicNameMatch (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTsciiCodec_newTQTsciiCodec (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTsciiCodec_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QTsciiCodec_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTsciiCodec_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QTsciiCodec__ */ diff --git a/qtjava/javalib/qtjava/TQUriDrag.cpp b/qtjava/javalib/qtjava/TQUriDrag.cpp new file mode 100644 index 00000000..ddd40ec6 --- /dev/null +++ b/qtjava/javalib/qtjava/TQUriDrag.cpp @@ -0,0 +1,302 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include + +#include +#include + +class TQUriDragJBridge : public TQUriDrag +{ +public: + TQUriDragJBridge(TQStrList arg1,TQWidget* arg2,const char* arg3) : TQUriDrag(arg1,arg2,arg3) {}; + TQUriDragJBridge(TQStrList arg1,TQWidget* arg2) : TQUriDrag(arg1,arg2) {}; + TQUriDragJBridge(TQStrList arg1) : TQUriDrag(arg1) {}; + TQUriDragJBridge(TQWidget* arg1,const char* arg2) : TQUriDrag(arg1,arg2) {}; + TQUriDragJBridge(TQWidget* arg1) : TQUriDrag(arg1) {}; + TQUriDragJBridge() : TQUriDrag() {}; + ~TQUriDragJBridge() {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.qt.TQUriDrag",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUriDrag_canDecode(JNIEnv* env, jclass cls, jobject e) +{ + (void) cls; + jboolean xret = (jboolean) TQUriDragJBridge::canDecode((const TQMimeSource*) QtSupport::mimeSource(env, e)); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUriDrag_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQUriDrag*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUriDrag_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QUriDrag_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUriDrag_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQUriDrag*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQUriDrag*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUriDrag_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUriDrag_localFileToUri(JNIEnv* env, jclass cls, jstring arg1) +{ + TQCString _qstring; + (void) cls; +static TQString* _qstring_arg1 = 0; + _qstring = TQUriDragJBridge::localFileToUri((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQCString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QUriDrag_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQUriDrag*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUriDrag_newTQUriDrag__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQUriDragJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUriDrag_newTQUriDrag__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject dragSource) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQUriDragJBridge((TQWidget*) QtSupport::getQt(env, dragSource))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUriDrag_newTQUriDrag__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 TQUriDragJBridge((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_qt_QUriDrag_newTQUriDrag___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray uris) +{ +static TQStrList* _qlist_uris = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQUriDragJBridge((TQStrList)*(TQStrList*) QtSupport::toTQStrList(env, uris, &_qlist_uris))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUriDrag_newTQUriDrag___3Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobjectArray uris, jobject dragSource) +{ +static TQStrList* _qlist_uris = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQUriDragJBridge((TQStrList)*(TQStrList*) QtSupport::toTQStrList(env, uris, &_qlist_uris), (TQWidget*) QtSupport::getQt(env, dragSource))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUriDrag_newTQUriDrag___3Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray uris, jobject dragSource, jstring name) +{ +static TQStrList* _qlist_uris = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQUriDragJBridge((TQStrList)*(TQStrList*) QtSupport::toTQStrList(env, uris, &_qlist_uris), (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_qt_QUriDrag_setFileNames(JNIEnv* env, jobject obj, jobjectArray fnames) +{ +static TQStringList* _qlist_fnames = 0; + ((TQUriDrag*) QtSupport::getQt(env, obj))->setFileNames((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fnames, &_qlist_fnames)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUriDrag_setFilenames(JNIEnv* env, jobject obj, jobjectArray fnames) +{ +static TQStringList* _qlist_fnames = 0; + ((TQUriDrag*) QtSupport::getQt(env, obj))->setFilenames((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fnames, &_qlist_fnames)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUriDrag_setUnicodeUris(JNIEnv* env, jobject obj, jobjectArray uuris) +{ +static TQStringList* _qlist_uuris = 0; + ((TQUriDrag*) QtSupport::getQt(env, obj))->setUnicodeUris((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, uuris, &_qlist_uuris)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUriDrag_setUris(JNIEnv* env, jobject obj, jobjectArray uris) +{ +static TQStrList* _qlist_uris = 0; + ((TQUriDrag*) QtSupport::getQt(env, obj))->setUris((TQStrList)*(TQStrList*) QtSupport::toTQStrList(env, uris, &_qlist_uris)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUriDrag_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQUriDragJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUriDrag_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQUriDragJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUriDrag_unicodeUriToUri(JNIEnv* env, jclass cls, jstring arg1) +{ + TQCString _qstring; + (void) cls; +static TQString* _qstring_arg1 = 0; + _qstring = TQUriDragJBridge::unicodeUriToUri((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQCString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUriDrag_uriToLocalFile(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQUriDragJBridge::uriToLocalFile((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUriDrag_uriToUnicodeUri(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQUriDragJBridge::uriToUnicodeUri((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUriDrag_decode(JNIEnv *env, jclass cls, jobject e, jobject i) +{ +static TQStrList * _qlist_i = 0; + if (_qlist_i == 0) { + _qlist_i = new TQStrList(); + } + (void) cls; + jboolean result = (jboolean) TQUriDragJBridge::decode(QtSupport::mimeSource(env, e), *_qlist_i); + QtSupport::arrayWithTQStrList(env, _qlist_i, i); + return result; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUriDrag_decodeToUnicodeUris(JNIEnv *env, jclass cls, jobject e, jobject i) +{ +static TQStringList * _qlist_i = 0; + if (_qlist_i == 0) { + _qlist_i = new TQStringList(); + } + (void) cls; + jboolean result = (jboolean) TQUriDragJBridge::decodeToUnicodeUris(QtSupport::mimeSource(env, e), *_qlist_i); + QtSupport::arrayWithTQStringList(env, _qlist_i, i); + return result; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUriDrag_decodeLocalFiles(JNIEnv *env, jclass cls, jobject e, jobject i) +{ +static TQStringList * _qlist_i = 0; + if (_qlist_i == 0) { + _qlist_i = new TQStringList(); + } + (void) cls; + jboolean result = (jboolean) TQUriDragJBridge::decodeLocalFiles(QtSupport::mimeSource(env, e), *_qlist_i); + QtSupport::arrayWithTQStringList(env, _qlist_i, i); + return result; +} + diff --git a/qtjava/javalib/qtjava/TQUriDrag.h b/qtjava/javalib/qtjava/TQUriDrag.h new file mode 100644 index 00000000..28ea2fce --- /dev/null +++ b/qtjava/javalib/qtjava/TQUriDrag.h @@ -0,0 +1,46 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QUriDrag__ +#define __org_kde_qt_QUriDrag__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QUriDrag_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUriDrag_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUriDrag_newTQUriDrag___3Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUriDrag_newTQUriDrag___3Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobjectArray, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUriDrag_newTQUriDrag___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUriDrag_newTQUriDrag__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUriDrag_newTQUriDrag__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUriDrag_newTQUriDrag__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUriDrag_setFilenames (JNIEnv *env, jobject, jobjectArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUriDrag_setFileNames (JNIEnv *env, jobject, jobjectArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUriDrag_setUnicodeUris (JNIEnv *env, jobject, jobjectArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUriDrag_setUris (JNIEnv *env, jobject, jobjectArray); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUriDrag_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUriDrag_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUriDrag_uriToLocalFile (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUriDrag_localFileToUri (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUriDrag_uriToUnicodeUri (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUriDrag_unicodeUriToUri (JNIEnv *env, jclass, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUriDrag_canDecode (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUriDrag_decode__Lorg_kde_qt_QMimeSourceInterface_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jobjectArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUriDrag_decodeToUnicodeUris__Lorg_kde_qt_QMimeSourceInterface_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jobjectArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUriDrag_decodeLocalFiles__Lorg_kde_qt_QMimeSourceInterface_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jobjectArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUriDrag_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUriDrag_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUriDrag_isDisposed (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUriDrag_decode__Lorg_kde_qt_QMimeSourceInterface_2Ljava_util_ArrayList_2 (JNIEnv *env, jclass, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUriDrag_decodeToUnicodeUris__Lorg_kde_qt_QMimeSourceInterface_2Ljava_util_ArrayList_2 (JNIEnv *env, jclass, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUriDrag_decodeLocalFiles__Lorg_kde_qt_QMimeSourceInterface_2Ljava_util_ArrayList_2 (JNIEnv *env, jclass, jobject, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QUriDrag__ */ diff --git a/qtjava/javalib/qtjava/TQUrl.cpp b/qtjava/javalib/qtjava/TQUrl.cpp new file mode 100644 index 00000000..7d3080ab --- /dev/null +++ b/qtjava/javalib/qtjava/TQUrl.cpp @@ -0,0 +1,429 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQUrlJBridge : public TQUrl +{ +public: + TQUrlJBridge() : TQUrl() {}; + TQUrlJBridge(const TQString& arg1) : TQUrl(arg1) {}; + TQUrlJBridge(const TQUrl& arg1) : TQUrl(arg1) {}; + TQUrlJBridge(const TQUrl& arg1,const TQString& arg2,bool arg3) : TQUrl(arg1,arg2,arg3) {}; + TQUrlJBridge(const TQUrl& arg1,const TQString& arg2) : TQUrl(arg1,arg2) {}; + void protected_reset() { + TQUrl::reset(); + return; + } + bool protected_parse(const TQString& arg1) { + return (bool) TQUrl::parse(arg1); + } + ~TQUrlJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrl_addPath(JNIEnv* env, jobject obj, jstring path) +{ +static TQString* _qstring_path = 0; + ((TQUrl*) QtSupport::getQt(env, obj))->addPath((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrl_cdUp(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQUrl*) QtSupport::getQt(env, obj))->cdUp(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrl_decode(JNIEnv* env, jclass cls, jobject url) +{ + (void) cls; +static TQString* _qstring_url = 0; + TQUrlJBridge::decode((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, url, &_qstring_url)); + QtSupport::fromTQStringToStringBuffer(env, _qstring_url, url); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUrl_dirPath(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQUrl*) QtSupport::getQt(env, obj))->dirPath(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrl_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QUrl_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrl_encode(JNIEnv* env, jclass cls, jobject url) +{ + (void) cls; +static TQString* _qstring_url = 0; + TQUrlJBridge::encode((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, url, &_qstring_url)); + QtSupport::fromTQStringToStringBuffer(env, _qstring_url, url); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUrl_encodedPathAndQuery(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQUrl*) QtSupport::getQt(env, obj))->encodedPathAndQuery(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUrl_fileName(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQUrl*) QtSupport::getQt(env, obj))->fileName(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrl_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQUrl*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrl_hasHost(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQUrl*) QtSupport::getQt(env, obj))->hasHost(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrl_hasPassword(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQUrl*) QtSupport::getQt(env, obj))->hasPassword(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrl_hasPath(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQUrl*) QtSupport::getQt(env, obj))->hasPath(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrl_hasPort(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQUrl*) QtSupport::getQt(env, obj))->hasPort(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrl_hasRef(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQUrl*) QtSupport::getQt(env, obj))->hasRef(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrl_hasUser(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQUrl*) QtSupport::getQt(env, obj))->hasUser(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUrl_host(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQUrl*) QtSupport::getQt(env, obj))->host(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrl_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrl_isLocalFile(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQUrl*) QtSupport::getQt(env, obj))->isLocalFile(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrl_isRelativeUrl(JNIEnv* env, jclass cls, jstring url) +{ + (void) cls; +static TQString* _qstring_url = 0; + jboolean xret = (jboolean) TQUrlJBridge::isRelativeUrl((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrl_isValid(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQUrl*) QtSupport::getQt(env, obj))->isValid(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrl_newTQUrl__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQUrlJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrl_newTQUrl__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 TQUrlJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrl_newTQUrl__Lorg_kde_qt_QUrlInterface_2(JNIEnv* env, jobject obj, jobject url) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQUrlJBridge((const TQUrl&)*(const TQUrl*) QtSupport::getQt(env, url))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrl_newTQUrl__Lorg_kde_qt_QUrlInterface_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject url, jstring relUrl) +{ +static TQString* _qstring_relUrl = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQUrlJBridge((const TQUrl&)*(const TQUrl*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, relUrl, &_qstring_relUrl))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrl_newTQUrl__Lorg_kde_qt_QUrlInterface_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject url, jstring relUrl, jboolean checkSlash) +{ +static TQString* _qstring_relUrl = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQUrlJBridge((const TQUrl&)*(const TQUrl*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, relUrl, &_qstring_relUrl), (bool) checkSlash)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrl_op_1equals__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url) +{ +static TQString* _qstring_url = 0; + jboolean xret = (jboolean) ((TQUrl*) QtSupport::getQt(env, obj))->operator==((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrl_op_1equals__Lorg_kde_qt_QUrlInterface_2(JNIEnv* env, jobject obj, jobject url) +{ + jboolean xret = (jboolean) ((TQUrl*) QtSupport::getQt(env, obj))->operator==((const TQUrl&)*(const TQUrl*) QtSupport::getQt(env, url)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrl_parse(JNIEnv* env, jobject obj, jstring url) +{ +static TQString* _qstring_url = 0; + jboolean xret = (jboolean) ((TQUrlJBridge*) QtSupport::getQt(env, obj))->protected_parse((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUrl_password(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQUrl*) QtSupport::getQt(env, obj))->password(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUrl_path__(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQUrl*) QtSupport::getQt(env, obj))->path(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUrl_path__Z(JNIEnv* env, jobject obj, jboolean correct) +{ + TQString _qstring; + _qstring = ((TQUrl*) QtSupport::getQt(env, obj))->path((bool) correct); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QUrl_port(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQUrl*) QtSupport::getQt(env, obj))->port(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUrl_protocol(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQUrl*) QtSupport::getQt(env, obj))->protocol(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUrl_query(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQUrl*) QtSupport::getQt(env, obj))->query(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUrl_ref(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQUrl*) QtSupport::getQt(env, obj))->ref(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrl_reset(JNIEnv* env, jobject obj) +{ + ((TQUrlJBridge*) QtSupport::getQt(env, obj))->protected_reset(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrl_setEncodedPathAndQuery(JNIEnv* env, jobject obj, jstring enc) +{ +static TQString* _qstring_enc = 0; + ((TQUrl*) QtSupport::getQt(env, obj))->setEncodedPathAndQuery((const TQString&)*(TQString*) QtSupport::toTQString(env, enc, &_qstring_enc)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrl_setFileName(JNIEnv* env, jobject obj, jstring txt) +{ +static TQString* _qstring_txt = 0; + ((TQUrl*) QtSupport::getQt(env, obj))->setFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrl_setHost(JNIEnv* env, jobject obj, jstring user) +{ +static TQString* _qstring_user = 0; + ((TQUrl*) QtSupport::getQt(env, obj))->setHost((const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrl_setPassword(JNIEnv* env, jobject obj, jstring pass) +{ +static TQString* _qstring_pass = 0; + ((TQUrl*) QtSupport::getQt(env, obj))->setPassword((const TQString&)*(TQString*) QtSupport::toTQString(env, pass, &_qstring_pass)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrl_setPath(JNIEnv* env, jobject obj, jstring path) +{ +static TQString* _qstring_path = 0; + ((TQUrl*) QtSupport::getQt(env, obj))->setPath((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrl_setPort(JNIEnv* env, jobject obj, jint port) +{ + ((TQUrl*) QtSupport::getQt(env, obj))->setPort((int) port); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrl_setProtocol(JNIEnv* env, jobject obj, jstring protocol) +{ +static TQString* _qstring_protocol = 0; + ((TQUrl*) QtSupport::getQt(env, obj))->setProtocol((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrl_setQuery(JNIEnv* env, jobject obj, jstring txt) +{ +static TQString* _qstring_txt = 0; + ((TQUrl*) QtSupport::getQt(env, obj))->setQuery((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrl_setRef(JNIEnv* env, jobject obj, jstring txt) +{ +static TQString* _qstring_txt = 0; + ((TQUrl*) QtSupport::getQt(env, obj))->setRef((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrl_setUser(JNIEnv* env, jobject obj, jstring user) +{ +static TQString* _qstring_user = 0; + ((TQUrl*) QtSupport::getQt(env, obj))->setUser((const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUrl_toString__(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQUrl*) QtSupport::getQt(env, obj))->toString(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUrl_toString__Z(JNIEnv* env, jobject obj, jboolean encodedPath) +{ + TQString _qstring; + _qstring = ((TQUrl*) QtSupport::getQt(env, obj))->toString((bool) encodedPath); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUrl_toString__ZZ(JNIEnv* env, jobject obj, jboolean encodedPath, jboolean forcePrependProtocol) +{ + TQString _qstring; + _qstring = ((TQUrl*) QtSupport::getQt(env, obj))->toString((bool) encodedPath, (bool) forcePrependProtocol); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUrl_user(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQUrl*) QtSupport::getQt(env, obj))->user(); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQUrl.h b/qtjava/javalib/qtjava/TQUrl.h new file mode 100644 index 00000000..aeff6f65 --- /dev/null +++ b/qtjava/javalib/qtjava/TQUrl.h @@ -0,0 +1,68 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QUrl__ +#define __org_kde_qt_QUrl__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_newTQUrl__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_newTQUrl__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_newTQUrl__Lorg_kde_qt_QUrlInterface_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_newTQUrl__Lorg_kde_qt_QUrlInterface_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_newTQUrl__Lorg_kde_qt_QUrlInterface_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrl_protocol (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_setProtocol (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrl_user (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_setUser (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrl_hasUser (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrl_password (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_setPassword (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrl_hasPassword (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrl_host (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_setHost (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrl_hasHost (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QUrl_port (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_setPort (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrl_hasPort (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrl_path__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrl_path__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_setPath (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrl_hasPath (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_setEncodedPathAndQuery (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrl_encodedPathAndQuery (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_setQuery (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrl_query (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrl_ref (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_setRef (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrl_hasRef (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrl_isValid (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrl_isLocalFile (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_addPath (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_setFileName (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrl_fileName (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrl_dirPath (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrl_op_1equals__Lorg_kde_qt_QUrlInterface_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrl_op_1equals__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrl_toString__ZZ (JNIEnv *env, jobject, jboolean, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrl_toString__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrl_toString__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrl_cdUp (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_decode (JNIEnv *env, jclass, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_encode (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrl_isRelativeUrl (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_reset (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrl_parse (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrl_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QUrl__ */ diff --git a/qtjava/javalib/qtjava/TQUrlInfo.cpp b/qtjava/javalib/qtjava/TQUrlInfo.cpp new file mode 100644 index 00000000..13ea0acc --- /dev/null +++ b/qtjava/javalib/qtjava/TQUrlInfo.cpp @@ -0,0 +1,320 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQUrlInfoJBridge : public TQUrlInfo +{ +public: + TQUrlInfoJBridge() : TQUrlInfo() {}; + TQUrlInfoJBridge(const TQUrlOperator& arg1,const TQString& arg2) : TQUrlInfo(arg1,arg2) {}; + TQUrlInfoJBridge(const TQUrlInfo& arg1) : TQUrlInfo(arg1) {}; + TQUrlInfoJBridge(const TQString& arg1,int arg2,const TQString& arg3,const TQString& arg4,TQIODevice::Offset arg5,const TQDateTime& arg6,const TQDateTime& arg7,bool arg8,bool arg9,bool arg10,bool arg11,bool arg12,bool arg13) : TQUrlInfo(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13) {}; + TQUrlInfoJBridge(const TQUrl& arg1,int arg2,const TQString& arg3,const TQString& arg4,TQIODevice::Offset arg5,const TQDateTime& arg6,const TQDateTime& arg7,bool arg8,bool arg9,bool arg10,bool arg11,bool arg12,bool arg13) : TQUrlInfo(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13) {}; + ~TQUrlInfoJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlInfo_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QUrlInfo_finalize(env, obj); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrlInfo_equal(JNIEnv* env, jclass cls, jobject i1, jobject i2, jint sortBy) +{ + (void) cls; + jboolean xret = (jboolean) TQUrlInfoJBridge::equal((const TQUrlInfo&)*(const TQUrlInfo*) QtSupport::getQt(env, i1), (const TQUrlInfo&)*(const TQUrlInfo*) QtSupport::getQt(env, i2), (int) sortBy); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlInfo_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQUrlInfo*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrlInfo_greaterThan(JNIEnv* env, jclass cls, jobject i1, jobject i2, jint sortBy) +{ + (void) cls; + jboolean xret = (jboolean) TQUrlInfoJBridge::greaterThan((const TQUrlInfo&)*(const TQUrlInfo*) QtSupport::getQt(env, i1), (const TQUrlInfo&)*(const TQUrlInfo*) QtSupport::getQt(env, i2), (int) sortBy); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUrlInfo_group(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQUrlInfo*) QtSupport::getQt(env, obj))->group(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrlInfo_isDir(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQUrlInfo*) QtSupport::getQt(env, obj))->isDir(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrlInfo_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrlInfo_isExecutable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQUrlInfo*) QtSupport::getQt(env, obj))->isExecutable(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrlInfo_isFile(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQUrlInfo*) QtSupport::getQt(env, obj))->isFile(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrlInfo_isReadable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQUrlInfo*) QtSupport::getQt(env, obj))->isReadable(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrlInfo_isSymLink(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQUrlInfo*) QtSupport::getQt(env, obj))->isSymLink(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrlInfo_isValid(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQUrlInfo*) QtSupport::getQt(env, obj))->isValid(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrlInfo_isWritable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQUrlInfo*) QtSupport::getQt(env, obj))->isWritable(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QUrlInfo_lastModified(JNIEnv* env, jobject obj) +{ + TQDateTime _qdate; + _qdate = ((TQUrlInfo*) QtSupport::getQt(env, obj))->lastModified(); + return (jobject) QtSupport::fromTQDateTime(env, (TQDateTime*) &_qdate); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QUrlInfo_lastRead(JNIEnv* env, jobject obj) +{ + TQDateTime _qdate; + _qdate = ((TQUrlInfo*) QtSupport::getQt(env, obj))->lastRead(); + return (jobject) QtSupport::fromTQDateTime(env, (TQDateTime*) &_qdate); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrlInfo_lessThan(JNIEnv* env, jclass cls, jobject i1, jobject i2, jint sortBy) +{ + (void) cls; + jboolean xret = (jboolean) TQUrlInfoJBridge::lessThan((const TQUrlInfo&)*(const TQUrlInfo*) QtSupport::getQt(env, i1), (const TQUrlInfo&)*(const TQUrlInfo*) QtSupport::getQt(env, i2), (int) sortBy); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUrlInfo_name(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQUrlInfo*) QtSupport::getQt(env, obj))->name(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlInfo_newTQUrlInfo__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQUrlInfoJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlInfo_newTQUrlInfo__Ljava_lang_String_2ILjava_lang_String_2Ljava_lang_String_2JLjava_util_Calendar_2Ljava_util_Calendar_2ZZZZZZ(JNIEnv* env, jobject obj, jstring name, jint permissions, jstring owner, jstring group, jlong size, jobject lastModified, jobject lastRead, jboolean isDir, jboolean isFile, jboolean isSymLink, jboolean isWritable, jboolean isReadable, jboolean isExecutable) +{ +static TQString* _qstring_name = 0; +static TQString* _qstring_owner = 0; +static TQString* _qstring_group = 0; +static TQDateTime* _qdate_lastModified = 0; +static TQDateTime* _qdate_lastRead = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQUrlInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) permissions, (const TQString&)*(TQString*) QtSupport::toTQString(env, owner, &_qstring_owner), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (TQIODevice::Offset) size, (const TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, lastModified, &_qdate_lastModified), (const TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, lastRead, &_qdate_lastRead), (bool) isDir, (bool) isFile, (bool) isSymLink, (bool) isWritable, (bool) isReadable, (bool) isExecutable)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlInfo_newTQUrlInfo__Lorg_kde_qt_QUrlInfo_2(JNIEnv* env, jobject obj, jobject ui) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQUrlInfoJBridge((const TQUrlInfo&)*(const TQUrlInfo*) QtSupport::getQt(env, ui))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlInfo_newTQUrlInfo__Lorg_kde_qt_QUrlInterface_2ILjava_lang_String_2Ljava_lang_String_2JLjava_util_Calendar_2Ljava_util_Calendar_2ZZZZZZ(JNIEnv* env, jobject obj, jobject url, jint permissions, jstring owner, jstring group, jlong size, jobject lastModified, jobject lastRead, jboolean isDir, jboolean isFile, jboolean isSymLink, jboolean isWritable, jboolean isReadable, jboolean isExecutable) +{ +static TQString* _qstring_owner = 0; +static TQString* _qstring_group = 0; +static TQDateTime* _qdate_lastModified = 0; +static TQDateTime* _qdate_lastRead = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQUrlInfoJBridge((const TQUrl&)*(const TQUrl*) QtSupport::getQt(env, url), (int) permissions, (const TQString&)*(TQString*) QtSupport::toTQString(env, owner, &_qstring_owner), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (TQIODevice::Offset) size, (const TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, lastModified, &_qdate_lastModified), (const TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, lastRead, &_qdate_lastRead), (bool) isDir, (bool) isFile, (bool) isSymLink, (bool) isWritable, (bool) isReadable, (bool) isExecutable)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlInfo_newTQUrlInfo__Lorg_kde_qt_QUrlOperator_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject path, jstring file) +{ +static TQString* _qstring_file = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQUrlInfoJBridge((const TQUrlOperator&)*(const TQUrlOperator*) QtSupport::getQt(env, path), (const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrlInfo_op_1equals(JNIEnv* env, jobject obj, jobject i) +{ + jboolean xret = (jboolean) ((TQUrlInfo*) QtSupport::getQt(env, obj))->operator==((const TQUrlInfo&)*(const TQUrlInfo*) QtSupport::getQt(env, i)); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUrlInfo_owner(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQUrlInfo*) QtSupport::getQt(env, obj))->owner(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QUrlInfo_permissions(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQUrlInfo*) QtSupport::getQt(env, obj))->permissions(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlInfo_setDir(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQUrlInfo*) QtSupport::getQt(env, obj))->setDir((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlInfo_setFile(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQUrlInfo*) QtSupport::getQt(env, obj))->setFile((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlInfo_setGroup(JNIEnv* env, jobject obj, jstring s) +{ +static TQString* _qstring_s = 0; + ((TQUrlInfo*) QtSupport::getQt(env, obj))->setGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlInfo_setLastModified(JNIEnv* env, jobject obj, jobject dt) +{ +static TQDateTime* _qdate_dt = 0; + ((TQUrlInfo*) QtSupport::getQt(env, obj))->setLastModified((const TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, dt, &_qdate_dt)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlInfo_setName(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + ((TQUrlInfo*) QtSupport::getQt(env, obj))->setName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlInfo_setOwner(JNIEnv* env, jobject obj, jstring s) +{ +static TQString* _qstring_s = 0; + ((TQUrlInfo*) QtSupport::getQt(env, obj))->setOwner((const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlInfo_setPermissions(JNIEnv* env, jobject obj, jint p) +{ + ((TQUrlInfo*) QtSupport::getQt(env, obj))->setPermissions((int) p); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlInfo_setReadable(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQUrlInfo*) QtSupport::getQt(env, obj))->setReadable((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlInfo_setSize(JNIEnv* env, jobject obj, jlong size) +{ + ((TQUrlInfo*) QtSupport::getQt(env, obj))->setSize((TQIODevice::Offset) size); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlInfo_setSymLink(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQUrlInfo*) QtSupport::getQt(env, obj))->setSymLink((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlInfo_setWritable(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQUrlInfo*) QtSupport::getQt(env, obj))->setWritable((bool) b); + return; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QUrlInfo_size(JNIEnv* env, jobject obj) +{ + jlong xret = (jlong) ((TQUrlInfo*) QtSupport::getQt(env, obj))->size(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQUrlInfo.h b/qtjava/javalib/qtjava/TQUrlInfo.h new file mode 100644 index 00000000..93469280 --- /dev/null +++ b/qtjava/javalib/qtjava/TQUrlInfo.h @@ -0,0 +1,55 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QUrlInfo__ +#define __org_kde_qt_QUrlInfo__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_newTQUrlInfo__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_newTQUrlInfo__Lorg_kde_qt_QUrlOperator_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_newTQUrlInfo__Lorg_kde_qt_QUrlInfo_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_newTQUrlInfo__Ljava_lang_String_2ILjava_lang_String_2Ljava_lang_String_2JLjava_util_Calendar_2Ljava_util_Calendar_2ZZZZZZ (JNIEnv *env, jobject, jstring, jint, jstring, jstring, jlong, jobject, jobject, jboolean, jboolean, jboolean, jboolean, jboolean, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_newTQUrlInfo__Lorg_kde_qt_QUrlInterface_2ILjava_lang_String_2Ljava_lang_String_2JLjava_util_Calendar_2Ljava_util_Calendar_2ZZZZZZ (JNIEnv *env, jobject, jobject, jint, jstring, jstring, jlong, jobject, jobject, jboolean, jboolean, jboolean, jboolean, jboolean, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_setName (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_setDir (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_setFile (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_setSymLink (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_setOwner (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_setGroup (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_setSize (JNIEnv *env, jobject, jlong); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_setWritable (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_setReadable (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_setPermissions (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_setLastModified (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlInfo_isValid (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlInfo_name (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QUrlInfo_permissions (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlInfo_owner (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlInfo_group (JNIEnv *env, jobject); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QUrlInfo_size (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QUrlInfo_lastModified (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QUrlInfo_lastRead (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlInfo_isDir (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlInfo_isFile (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlInfo_isSymLink (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlInfo_isWritable (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlInfo_isReadable (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlInfo_isExecutable (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlInfo_op_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlInfo_greaterThan (JNIEnv *env, jclass, jobject, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlInfo_lessThan (JNIEnv *env, jclass, jobject, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlInfo_equal (JNIEnv *env, jclass, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlInfo_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QUrlInfo__ */ diff --git a/qtjava/javalib/qtjava/TQUrlOperator.cpp b/qtjava/javalib/qtjava/TQUrlOperator.cpp new file mode 100644 index 00000000..894e424f --- /dev/null +++ b/qtjava/javalib/qtjava/TQUrlOperator.cpp @@ -0,0 +1,700 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQUrlOperatorJBridge : public TQUrlOperator +{ +public: + TQUrlOperatorJBridge() : TQUrlOperator() {}; + TQUrlOperatorJBridge(const TQString& arg1) : TQUrlOperator(arg1) {}; + TQUrlOperatorJBridge(const TQUrlOperator& arg1) : TQUrlOperator(arg1) {}; + TQUrlOperatorJBridge(const TQUrlOperator& arg1,const TQString& arg2,bool arg3) : TQUrlOperator(arg1,arg2,arg3) {}; + TQUrlOperatorJBridge(const TQUrlOperator& arg1,const TQString& arg2) : TQUrlOperator(arg1,arg2) {}; + void public_stop() { + TQUrlOperator::stop(); + return; + } + void protected_reset() { + TQUrlOperator::reset(); + return; + } + bool protected_parse(const TQString& arg1) { + return (bool) TQUrlOperator::parse(arg1); + } + bool protected_checkValid() { + return (bool) TQUrlOperator::checkValid(); + } + void protected_clearEntries() { + TQUrlOperator::clearEntries(); + return; + } + void protected_getNetworkProtocol() { + TQUrlOperator::getNetworkProtocol(); + return; + } + void protected_deleteNetworkProtocol() { + TQUrlOperator::deleteNetworkProtocol(); + return; + } + ~TQUrlOperatorJBridge() {QtSupport::qtKeyDeleted(this);} + void clearEntries() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQUrlOperator","clearEntries")) { + TQUrlOperator::clearEntries(); + } + return; + } + void removeChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::removeChild(arg1); + } + return; + } + bool checkValid() { + return QtSupport::booleanDelegate(this,"checkValid"); + } + 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.qt.TQUrlOperator",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } + void stop() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQUrlOperator","stop")) { + TQUrlOperator::stop(); + } + return; + } + bool cdUp() { + return QtSupport::booleanDelegate(this,"cdUp"); + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlOperator_addPath(JNIEnv* env, jobject obj, jstring path) +{ +static TQString* _qstring_path = 0; + ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->addPath((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrlOperator_cdUp(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQUrlOperator*) QtSupport::getQt(env, obj))->cdUp(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrlOperator_checkValid(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQUrlOperatorJBridge*) QtSupport::getQt(env, obj))->protected_checkValid(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUrlOperator_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQUrlOperator*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlOperator_clearEntries(JNIEnv* env, jobject obj) +{ + ((TQUrlOperatorJBridge*) QtSupport::getQt(env, obj))->protected_clearEntries(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlOperator_copy___3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray files, jstring dest) +{ +static TQStringList* _qlist_files = 0; +static TQString* _qstring_dest = 0; + ((TQUrlOperator*) QtSupport::getQt(env, obj))->copy((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, files, &_qlist_files), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlOperator_copy___3Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobjectArray files, jstring dest, jboolean move) +{ +static TQStringList* _qlist_files = 0; +static TQString* _qstring_dest = 0; + ((TQUrlOperator*) QtSupport::getQt(env, obj))->copy((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, files, &_qlist_files), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (bool) move); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlOperator_decode(JNIEnv* env, jclass cls, jobject url) +{ + (void) cls; +static TQString* _qstring_url = 0; + TQUrlOperatorJBridge::decode((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, url, &_qstring_url)); + QtSupport::fromTQStringToStringBuffer(env, _qstring_url, url); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlOperator_deleteNetworkProtocol(JNIEnv* env, jobject obj) +{ + ((TQUrlOperatorJBridge*) QtSupport::getQt(env, obj))->protected_deleteNetworkProtocol(); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUrlOperator_dirPath(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->dirPath(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlOperator_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QUrlOperator_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlOperator_encode(JNIEnv* env, jclass cls, jobject url) +{ + (void) cls; +static TQString* _qstring_url = 0; + TQUrlOperatorJBridge::encode((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, url, &_qstring_url)); + QtSupport::fromTQStringToStringBuffer(env, _qstring_url, url); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUrlOperator_encodedPathAndQuery(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->encodedPathAndQuery(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUrlOperator_fileName(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->fileName(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlOperator_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQUrlOperator*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQUrlOperator*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlOperator_getNetworkProtocol(JNIEnv* env, jobject obj) +{ + ((TQUrlOperatorJBridge*) QtSupport::getQt(env, obj))->protected_getNetworkProtocol(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QUrlOperator_get__(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQUrlOperator*) QtSupport::getQt(env, obj))->get(), "org.kde.qt.TQNetworkOperation"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QUrlOperator_get__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring location) +{ +static TQString* _qstring_location = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQUrlOperator*) QtSupport::getQt(env, obj))->get((const TQString&)*(TQString*) QtSupport::toTQString(env, location, &_qstring_location)), "org.kde.qt.TQNetworkOperation"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrlOperator_hasHost(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->hasHost(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrlOperator_hasPassword(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->hasPassword(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrlOperator_hasPath(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->hasPath(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrlOperator_hasPort(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->hasPort(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrlOperator_hasRef(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->hasRef(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrlOperator_hasUser(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->hasUser(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUrlOperator_host(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->host(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QUrlOperator_info(JNIEnv* env, jobject obj, jstring entry) +{ +static TQString* _qstring_entry = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQUrlInfo(((TQUrlOperator*) QtSupport::getQt(env, obj))->info((const TQString&)*(TQString*) QtSupport::toTQString(env, entry, &_qstring_entry))), "org.kde.qt.TQUrlInfo", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrlOperator_isDir__(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQUrlOperator*) QtSupport::getQt(env, obj))->isDir(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrlOperator_isDir___3Z(JNIEnv* env, jobject obj, jbooleanArray ok) +{ + bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); + jboolean xret = (jboolean) ((TQUrlOperator*) QtSupport::getQt(env, obj))->isDir( (bool*) _bool_ok); + env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrlOperator_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrlOperator_isLocalFile(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->isLocalFile(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrlOperator_isRelativeUrl(JNIEnv* env, jclass cls, jstring url) +{ + (void) cls; +static TQString* _qstring_url = 0; + jboolean xret = (jboolean) TQUrlOperatorJBridge::isRelativeUrl((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrlOperator_isValid(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->isValid(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QUrlOperator_listChildren(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQUrlOperator*) QtSupport::getQt(env, obj))->listChildren(), "org.kde.qt.TQNetworkOperation"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QUrlOperator_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQUrlOperator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QUrlOperator_mkdir(JNIEnv* env, jobject obj, jstring dirname) +{ +static TQString* _qstring_dirname = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQUrlOperator*) QtSupport::getQt(env, obj))->mkdir((const TQString&)*(TQString*) QtSupport::toTQString(env, dirname, &_qstring_dirname)), "org.kde.qt.TQNetworkOperation"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUrlOperator_nameFilter(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQUrlOperator*) QtSupport::getQt(env, obj))->nameFilter(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlOperator_newTQUrlOperator__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQUrlOperatorJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlOperator_newTQUrlOperator__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 TQUrlOperatorJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, urL, &_qstring_urL))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlOperator_newTQUrlOperator__Lorg_kde_qt_QUrlOperator_2(JNIEnv* env, jobject obj, jobject url) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQUrlOperatorJBridge((const TQUrlOperator&)*(const TQUrlOperator*) QtSupport::getQt(env, url))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlOperator_newTQUrlOperator__Lorg_kde_qt_QUrlOperator_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject url, jstring relUrl) +{ +static TQString* _qstring_relUrl = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQUrlOperatorJBridge((const TQUrlOperator&)*(const TQUrlOperator*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, relUrl, &_qstring_relUrl))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlOperator_newTQUrlOperator__Lorg_kde_qt_QUrlOperator_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject url, jstring relUrl, jboolean checkSlash) +{ +static TQString* _qstring_relUrl = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQUrlOperatorJBridge((const TQUrlOperator&)*(const TQUrlOperator*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, relUrl, &_qstring_relUrl), (bool) checkSlash)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrlOperator_op_1equals__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url) +{ +static TQString* _qstring_url = 0; + jboolean xret = (jboolean) ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->operator==((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrlOperator_op_1equals__Lorg_kde_qt_QUrlInterface_2(JNIEnv* env, jobject obj, jobject url) +{ + jboolean xret = (jboolean) ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->operator==((const TQUrl&)*(const TQUrl*) QtSupport::getQt(env, url)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUrlOperator_parse(JNIEnv* env, jobject obj, jstring url) +{ +static TQString* _qstring_url = 0; + jboolean xret = (jboolean) ((TQUrlOperatorJBridge*) QtSupport::getQt(env, obj))->protected_parse((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUrlOperator_password(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->password(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUrlOperator_path__(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->path(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUrlOperator_path__Z(JNIEnv* env, jobject obj, jboolean correct) +{ + TQString _qstring; + _qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->path((bool) correct); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QUrlOperator_port(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->port(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUrlOperator_protocol(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->protocol(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QUrlOperator_put___3B(JNIEnv* env, jobject obj, jbyteArray data) +{ +static TQByteArray* _qbyteArray_data = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQUrlOperator*) QtSupport::getQt(env, obj))->put((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)), "org.kde.qt.TQNetworkOperation"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QUrlOperator_put___3BLjava_lang_String_2(JNIEnv* env, jobject obj, jbyteArray data, jstring location) +{ +static TQByteArray* _qbyteArray_data = 0; +static TQString* _qstring_location = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQUrlOperator*) QtSupport::getQt(env, obj))->put((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (const TQString&)*(TQString*) QtSupport::toTQString(env, location, &_qstring_location)), "org.kde.qt.TQNetworkOperation"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUrlOperator_query(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->query(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUrlOperator_ref(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->ref(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QUrlOperator_remove(JNIEnv* env, jobject obj, jstring filename) +{ +static TQString* _qstring_filename = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQUrlOperator*) QtSupport::getQt(env, obj))->remove((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)), "org.kde.qt.TQNetworkOperation"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QUrlOperator_rename(JNIEnv* env, jobject obj, jstring oldname, jstring newname) +{ +static TQString* _qstring_oldname = 0; +static TQString* _qstring_newname = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQUrlOperator*) QtSupport::getQt(env, obj))->rename((const TQString&)*(TQString*) QtSupport::toTQString(env, oldname, &_qstring_oldname), (const TQString&)*(TQString*) QtSupport::toTQString(env, newname, &_qstring_newname)), "org.kde.qt.TQNetworkOperation"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlOperator_reset(JNIEnv* env, jobject obj) +{ + ((TQUrlOperatorJBridge*) QtSupport::getQt(env, obj))->protected_reset(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlOperator_setEncodedPathAndQuery(JNIEnv* env, jobject obj, jstring enc) +{ +static TQString* _qstring_enc = 0; + ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->setEncodedPathAndQuery((const TQString&)*(TQString*) QtSupport::toTQString(env, enc, &_qstring_enc)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlOperator_setFileName(JNIEnv* env, jobject obj, jstring txt) +{ +static TQString* _qstring_txt = 0; + ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->setFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlOperator_setHost(JNIEnv* env, jobject obj, jstring user) +{ +static TQString* _qstring_user = 0; + ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->setHost((const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlOperator_setNameFilter(JNIEnv* env, jobject obj, jstring nameFilter) +{ +static TQString* _qstring_nameFilter = 0; + ((TQUrlOperator*) QtSupport::getQt(env, obj))->setNameFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, nameFilter, &_qstring_nameFilter)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlOperator_setPassword(JNIEnv* env, jobject obj, jstring pass) +{ +static TQString* _qstring_pass = 0; + ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->setPassword((const TQString&)*(TQString*) QtSupport::toTQString(env, pass, &_qstring_pass)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlOperator_setPath(JNIEnv* env, jobject obj, jstring path) +{ +static TQString* _qstring_path = 0; + ((TQUrlOperator*) QtSupport::getQt(env, obj))->setPath((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlOperator_setPort(JNIEnv* env, jobject obj, jint port) +{ + ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->setPort((int) port); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlOperator_setProtocol(JNIEnv* env, jobject obj, jstring protocol) +{ +static TQString* _qstring_protocol = 0; + ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->setProtocol((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlOperator_setQuery(JNIEnv* env, jobject obj, jstring txt) +{ +static TQString* _qstring_txt = 0; + ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->setQuery((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlOperator_setRef(JNIEnv* env, jobject obj, jstring txt) +{ +static TQString* _qstring_txt = 0; + ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->setRef((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlOperator_setUser(JNIEnv* env, jobject obj, jstring user) +{ +static TQString* _qstring_user = 0; + ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->setUser((const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUrlOperator_stop(JNIEnv* env, jobject obj) +{ + ((TQUrlOperatorJBridge*) QtSupport::getQt(env, obj))->public_stop(); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUrlOperator_toString__(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->toString(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUrlOperator_toString__Z(JNIEnv* env, jobject obj, jboolean encodedPath) +{ + TQString _qstring; + _qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->toString((bool) encodedPath); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUrlOperator_toString__ZZ(JNIEnv* env, jobject obj, jboolean encodedPath, jboolean forcePrependProtocol) +{ + TQString _qstring; + _qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->toString((bool) encodedPath, (bool) forcePrependProtocol); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUrlOperator_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQUrlOperatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUrlOperator_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQUrlOperatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUrlOperator_user(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->user(); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQUrlOperator.h b/qtjava/javalib/qtjava/TQUrlOperator.h new file mode 100644 index 00000000..2abaeea3 --- /dev/null +++ b/qtjava/javalib/qtjava/TQUrlOperator.h @@ -0,0 +1,92 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QUrlOperator__ +#define __org_kde_qt_QUrlOperator__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QUrlOperator_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlOperator_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_newTQUrlOperator__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_newTQUrlOperator__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_newTQUrlOperator__Lorg_kde_qt_QUrlOperator_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_newTQUrlOperator__Lorg_kde_qt_QUrlOperator_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_newTQUrlOperator__Lorg_kde_qt_QUrlOperator_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_setPath (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlOperator_cdUp (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QUrlOperator_listChildren (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QUrlOperator_mkdir (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QUrlOperator_remove (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QUrlOperator_rename (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QUrlOperator_get__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QUrlOperator_get__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QUrlOperator_put___3BLjava_lang_String_2 (JNIEnv *env, jobject, jbyteArray, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QUrlOperator_put___3B (JNIEnv *env, jobject, jbyteArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_copy___3Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobjectArray, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_copy___3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlOperator_isDir___3Z (JNIEnv *env, jobject, jbooleanArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlOperator_isDir__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_setNameFilter (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlOperator_nameFilter (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QUrlOperator_info (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_stop (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlOperator_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlOperator_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_reset (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlOperator_parse (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlOperator_checkValid (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_clearEntries (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_getNetworkProtocol (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_deleteNetworkProtocol (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlOperator_isDisposed (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlOperator_protocol (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_setProtocol (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlOperator_user (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_setUser (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlOperator_hasUser (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlOperator_password (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_setPassword (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlOperator_hasPassword (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlOperator_host (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_setHost (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlOperator_hasHost (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QUrlOperator_port (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_setPort (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlOperator_hasPort (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlOperator_path__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlOperator_path__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlOperator_hasPath (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_setEncodedPathAndQuery (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlOperator_encodedPathAndQuery (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_setQuery (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlOperator_query (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlOperator_ref (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_setRef (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlOperator_hasRef (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlOperator_isValid (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlOperator_isLocalFile (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_addPath (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_setFileName (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlOperator_fileName (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlOperator_dirPath (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlOperator_op_1equals__Lorg_kde_qt_QUrlInterface_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlOperator_op_1equals__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlOperator_toString__ZZ (JNIEnv *env, jobject, jboolean, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlOperator_toString__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlOperator_toString__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_decode (JNIEnv *env, jclass, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_encode (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlOperator_isRelativeUrl (JNIEnv *env, jclass, jstring); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QUrlOperator__ */ diff --git a/qtjava/javalib/qtjava/TQUtf16Codec.cpp b/qtjava/javalib/qtjava/TQUtf16Codec.cpp new file mode 100644 index 00000000..58cee66a --- /dev/null +++ b/qtjava/javalib/qtjava/TQUtf16Codec.cpp @@ -0,0 +1,83 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + +class TQUtf16CodecJBridge : public TQUtf16Codec +{ +public: + TQUtf16CodecJBridge() : TQUtf16Codec() {}; + ~TQUtf16CodecJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUtf16Codec_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QUtf16Codec_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUtf16Codec_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQUtf16Codec*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QUtf16Codec_heuristicContentMatch(JNIEnv* env, jobject obj, jstring chars, jint len) +{ +static TQCString* _qstring_chars = 0; + jint xret = (jint) ((TQUtf16Codec*) QtSupport::getQt(env, obj))->heuristicContentMatch((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUtf16Codec_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QUtf16Codec_makeDecoder(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQUtf16Codec*) QtSupport::getQt(env, obj))->makeDecoder(), "org.kde.qt.TQTextDecoder"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QUtf16Codec_makeEncoder(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQUtf16Codec*) QtSupport::getQt(env, obj))->makeEncoder(), "org.kde.qt.TQTextEncoder"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QUtf16Codec_mibEnum(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQUtf16Codec*) QtSupport::getQt(env, obj))->mibEnum(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUtf16Codec_name(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQUtf16Codec*) QtSupport::getQt(env, obj))->name(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUtf16Codec_newTQUtf16Codec(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQUtf16CodecJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + diff --git a/qtjava/javalib/qtjava/TQUtf16Codec.h b/qtjava/javalib/qtjava/TQUtf16Codec.h new file mode 100644 index 00000000..8161a5a6 --- /dev/null +++ b/qtjava/javalib/qtjava/TQUtf16Codec.h @@ -0,0 +1,27 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QUtf16Codec__ +#define __org_kde_qt_QUtf16Codec__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QUtf16Codec_mibEnum (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUtf16Codec_name (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QUtf16Codec_makeDecoder (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QUtf16Codec_makeEncoder (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QUtf16Codec_heuristicContentMatch (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUtf16Codec_newTQUtf16Codec (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUtf16Codec_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUtf16Codec_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUtf16Codec_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QUtf16Codec__ */ diff --git a/qtjava/javalib/qtjava/TQUtf8Codec.cpp b/qtjava/javalib/qtjava/TQUtf8Codec.cpp new file mode 100644 index 00000000..f05a01e7 --- /dev/null +++ b/qtjava/javalib/qtjava/TQUtf8Codec.cpp @@ -0,0 +1,98 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQUtf8CodecJBridge : public TQUtf8Codec +{ +public: + TQUtf8CodecJBridge() : TQUtf8Codec() {}; + ~TQUtf8CodecJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUtf8Codec_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QUtf8Codec_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUtf8Codec_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQUtf8Codec*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUtf8Codec_fromUnicode(JNIEnv* env, jobject obj, jstring uc, jintArray lenInOut) +{ + TQCString _qstring; +static TQString* _qstring_uc = 0; + int* _int_lenInOut = QtSupport::toIntPtr(env, lenInOut); + _qstring = ((TQUtf8Codec*) QtSupport::getQt(env, obj))->fromUnicode((const TQString&)*(TQString*) QtSupport::toTQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); + env->SetIntArrayRegion(lenInOut, 0, 1, (jint *) _int_lenInOut); + return QtSupport::fromTQCString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QUtf8Codec_heuristicContentMatch(JNIEnv* env, jobject obj, jstring chars, jint len) +{ +static TQCString* _qstring_chars = 0; + jint xret = (jint) ((TQUtf8Codec*) QtSupport::getQt(env, obj))->heuristicContentMatch((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUtf8Codec_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QUtf8Codec_makeDecoder(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQUtf8Codec*) QtSupport::getQt(env, obj))->makeDecoder(), "org.kde.qt.TQTextDecoder"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QUtf8Codec_mibEnum(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQUtf8Codec*) QtSupport::getQt(env, obj))->mibEnum(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUtf8Codec_name(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQUtf8Codec*) QtSupport::getQt(env, obj))->name(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUtf8Codec_newTQUtf8Codec(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQUtf8CodecJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUtf8Codec_toUnicode(JNIEnv* env, jobject obj, jstring chars, jint len) +{ + TQString _qstring; +static TQCString* _qstring_chars = 0; + _qstring = ((TQUtf8Codec*) QtSupport::getQt(env, obj))->toUnicode((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQUtf8Codec.h b/qtjava/javalib/qtjava/TQUtf8Codec.h new file mode 100644 index 00000000..5234d5a0 --- /dev/null +++ b/qtjava/javalib/qtjava/TQUtf8Codec.h @@ -0,0 +1,28 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QUtf8Codec__ +#define __org_kde_qt_QUtf8Codec__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QUtf8Codec_mibEnum (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUtf8Codec_name (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QUtf8Codec_makeDecoder (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUtf8Codec_fromUnicode (JNIEnv *env, jobject, jstring, jintArray); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUtf8Codec_toUnicode (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QUtf8Codec_heuristicContentMatch (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUtf8Codec_newTQUtf8Codec (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUtf8Codec_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUtf8Codec_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUtf8Codec_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QUtf8Codec__ */ diff --git a/qtjava/javalib/qtjava/TQUuid.cpp b/qtjava/javalib/qtjava/TQUuid.cpp new file mode 100644 index 00000000..d00f5b4d --- /dev/null +++ b/qtjava/javalib/qtjava/TQUuid.cpp @@ -0,0 +1,146 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQUuidJBridge : public TQUuid +{ +public: + TQUuidJBridge() : TQUuid() {}; + TQUuidJBridge(uint arg1,ushort arg2,ushort arg3,uchar arg4,uchar arg5,uchar arg6,uchar arg7,uchar arg8,uchar arg9,uchar arg10,uchar arg11) : TQUuid(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) {}; + TQUuidJBridge(const TQUuid& arg1) : TQUuid(arg1) {}; + TQUuidJBridge(const TQString& arg1) : TQUuid(arg1) {}; + ~TQUuidJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QUuid_createUuid(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQUuid(TQUuidJBridge::createUuid()), "org.kde.qt.TQUuid", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUuid_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QUuid_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUuid_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQUuid*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUuid_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUuid_isNull(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQUuid*) QtSupport::getQt(env, obj))->isNull(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUuid_newTQUuid__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQUuidJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUuid_newTQUuid__ISSSSSSSSSS(JNIEnv* env, jobject obj, jint l, jshort w1, jshort w2, jshort b1, jshort b2, jshort b3, jshort b4, jshort b5, jshort b6, jshort b7, jshort b8) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQUuidJBridge((uint) l, (ushort) w1, (ushort) w2, (uchar) b1, (uchar) b2, (uchar) b3, (uchar) b4, (uchar) b5, (uchar) b6, (uchar) b7, (uchar) b8)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUuid_newTQUuid__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQUuidJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QUuid_newTQUuid__Lorg_kde_qt_QUuid_2(JNIEnv* env, jobject obj, jobject uuid) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQUuidJBridge((const TQUuid&)*(const TQUuid*) QtSupport::getQt(env, uuid))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUuid_op_1equals(JNIEnv* env, jobject obj, jobject orig) +{ + jboolean xret = (jboolean) ((TQUuid*) QtSupport::getQt(env, obj))->operator==((const TQUuid&)*(const TQUuid*) QtSupport::getQt(env, orig)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUuid_op_1gt(JNIEnv* env, jobject obj, jobject other) +{ + jboolean xret = (jboolean) ((TQUuid*) QtSupport::getQt(env, obj))->operator>((const TQUuid&)*(const TQUuid*) QtSupport::getQt(env, other)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUuid_op_1lt(JNIEnv* env, jobject obj, jobject other) +{ + jboolean xret = (jboolean) ((TQUuid*) QtSupport::getQt(env, obj))->operator<((const TQUuid&)*(const TQUuid*) QtSupport::getQt(env, other)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QUuid_op_1not_1equals(JNIEnv* env, jobject obj, jobject orig) +{ + jboolean xret = (jboolean) ((TQUuid*) QtSupport::getQt(env, obj))->operator!=((const TQUuid&)*(const TQUuid*) QtSupport::getQt(env, orig)); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QUuid_toString(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQUuid*) QtSupport::getQt(env, obj))->toString(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QUuid_variant(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQUuid*) QtSupport::getQt(env, obj))->variant(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QUuid_version(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQUuid*) QtSupport::getQt(env, obj))->version(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQUuid.h b/qtjava/javalib/qtjava/TQUuid.h new file mode 100644 index 00000000..fd3e8410 --- /dev/null +++ b/qtjava/javalib/qtjava/TQUuid.h @@ -0,0 +1,34 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QUuid__ +#define __org_kde_qt_QUuid__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUuid_newTQUuid__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUuid_newTQUuid__ISSSSSSSSSS (JNIEnv *env, jobject, jint, jshort, jshort, jshort, jshort, jshort, jshort, jshort, jshort, jshort, jshort); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUuid_newTQUuid__Lorg_kde_qt_QUuid_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUuid_newTQUuid__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUuid_toString (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUuid_isNull (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUuid_op_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUuid_op_1not_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUuid_op_1lt (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUuid_op_1gt (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QUuid_variant (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QUuid_version (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QUuid_createUuid (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUuid_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QUuid_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUuid_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QUuid__ */ diff --git a/qtjava/javalib/qtjava/TQVBox.cpp b/qtjava/javalib/qtjava/TQVBox.cpp new file mode 100644 index 00000000..e9eb4d78 --- /dev/null +++ b/qtjava/javalib/qtjava/TQVBox.cpp @@ -0,0 +1,477 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQVBoxJBridge : public TQVBox +{ +public: + TQVBoxJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQVBox(arg1,arg2,arg3) {}; + TQVBoxJBridge(TQWidget* arg1,const char* arg2) : TQVBox(arg1,arg2) {}; + TQVBoxJBridge(TQWidget* arg1) : TQVBox(arg1) {}; + TQVBoxJBridge() : TQVBox() {}; + ~TQVBoxJBridge() {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.qt.TQVBox","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.qt.TQVBox","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.qt.TQVBox","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.qt.TQVBox","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.qt.TQVBox","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.qt.TQVBox","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVBox","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.qt.TQVBox","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVBox","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.qt.TQVBox","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.qt.TQVBox",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.qt.TQVBox","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QVBox_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQVBox*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVBox_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QVBox_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVBox_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQVBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQVBox*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QVBox_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVBox_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQVBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVBox_newTQVBox__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVBoxJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVBox_newTQVBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVBox_newTQVBox__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 TQVBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVBox_newTQVBox__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 TQVBoxJBridge((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 jstring JNICALL +Java_org_kde_qt_QVBox_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQVBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QVBox_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQVBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQVBox.h b/qtjava/javalib/qtjava/TQVBox.h new file mode 100644 index 00000000..e934b47e --- /dev/null +++ b/qtjava/javalib/qtjava/TQVBox.h @@ -0,0 +1,29 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QVBox__ +#define __org_kde_qt_QVBox__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVBox_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QVBox_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBox_newTQVBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBox_newTQVBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBox_newTQVBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBox_newTQVBox__ (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QVBox_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QVBox_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBox_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBox_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QVBox_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QVBox__ */ diff --git a/qtjava/javalib/qtjava/TQVBoxLayout.cpp b/qtjava/javalib/qtjava/TQVBoxLayout.cpp new file mode 100644 index 00000000..e4172991 --- /dev/null +++ b/qtjava/javalib/qtjava/TQVBoxLayout.cpp @@ -0,0 +1,221 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQVBoxLayoutJBridge : public TQVBoxLayout +{ +public: + TQVBoxLayoutJBridge(TQWidget* arg1,int arg2,int arg3,const char* arg4) : TQVBoxLayout(arg1,arg2,arg3,arg4) {}; + TQVBoxLayoutJBridge(TQWidget* arg1,int arg2,int arg3) : TQVBoxLayout(arg1,arg2,arg3) {}; + TQVBoxLayoutJBridge(TQWidget* arg1,int arg2) : TQVBoxLayout(arg1,arg2) {}; + TQVBoxLayoutJBridge(TQWidget* arg1) : TQVBoxLayout(arg1) {}; + TQVBoxLayoutJBridge(TQLayout* arg1,int arg2,const char* arg3) : TQVBoxLayout(arg1,arg2,arg3) {}; + TQVBoxLayoutJBridge(TQLayout* arg1,int arg2) : TQVBoxLayout(arg1,arg2) {}; + TQVBoxLayoutJBridge(TQLayout* arg1) : TQVBoxLayout(arg1) {}; + TQVBoxLayoutJBridge(int arg1,const char* arg2) : TQVBoxLayout(arg1,arg2) {}; + TQVBoxLayoutJBridge(int arg1) : TQVBoxLayout(arg1) {}; + TQVBoxLayoutJBridge() : TQVBoxLayout() {}; + ~TQVBoxLayoutJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::removeChild(arg1); + } + return; + } + void setMenuBar(TQMenuBar* arg1) { + if (!QtSupport::eventDelegate(this,"setMenuBar",(void*)arg1,"org.kde.qt.TQMenuBar")) { + TQLayout::setMenuBar(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")) { + TQLayout::childEvent(arg1); + } + return; + } + void insertChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::insertChild(arg1); + } + return; + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QVBoxLayout_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQVBoxLayout*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVBoxLayout_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QVBoxLayout_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVBoxLayout_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQLayoutItem*)(TQVBoxLayout*)QtSupport::getQt(env, obj))->layout() == 0 && ((TQLayoutItem*)(TQVBoxLayout*)QtSupport::getQt(env, obj))->widget() == 0 && ((TQLayoutItem*)(TQVBoxLayout*)QtSupport::getQt(env, obj))->spacerItem() == 0) { + delete (TQVBoxLayout*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QVBoxLayout_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVBoxLayout_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQVBoxLayout*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVBoxLayoutJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__I(JNIEnv* env, jobject obj, jint spacing) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVBoxLayoutJBridge((int) spacing)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint spacing, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVBoxLayoutJBridge((int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__Lorg_kde_qt_QLayout_2(JNIEnv* env, jobject obj, jobject parentLayout) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVBoxLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__Lorg_kde_qt_QLayout_2I(JNIEnv* env, jobject obj, jobject parentLayout, jint spacing) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVBoxLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout), (int) spacing)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__Lorg_kde_qt_QLayout_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject parentLayout, jint spacing, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVBoxLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout), (int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVBoxLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject parent, jint border) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVBoxLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) border)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject parent, jint border, jint spacing) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVBoxLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) border, (int) spacing)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__Lorg_kde_qt_QWidget_2IILjava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jint border, jint spacing, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVBoxLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) border, (int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QVBoxLayout_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQVBoxLayoutJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QVBoxLayout_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQVBoxLayoutJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQVBoxLayout.h b/qtjava/javalib/qtjava/TQVBoxLayout.h new file mode 100644 index 00000000..48eba4b6 --- /dev/null +++ b/qtjava/javalib/qtjava/TQVBoxLayout.h @@ -0,0 +1,35 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QVBoxLayout__ +#define __org_kde_qt_QVBoxLayout__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVBoxLayout_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QVBoxLayout_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__Lorg_kde_qt_QWidget_2IILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jint, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__Lorg_kde_qt_QWidget_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__Lorg_kde_qt_QLayout_2ILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__Lorg_kde_qt_QLayout_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__Lorg_kde_qt_QLayout_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__ (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QVBoxLayout_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QVBoxLayout_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBoxLayout_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBoxLayout_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QVBoxLayout_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QVBoxLayout__ */ diff --git a/qtjava/javalib/qtjava/TQVButtonGroup.cpp b/qtjava/javalib/qtjava/TQVButtonGroup.cpp new file mode 100644 index 00000000..fc6166ff --- /dev/null +++ b/qtjava/javalib/qtjava/TQVButtonGroup.cpp @@ -0,0 +1,501 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQVButtonGroupJBridge : public TQVButtonGroup +{ +public: + TQVButtonGroupJBridge(TQWidget* arg1,const char* arg2) : TQVButtonGroup(arg1,arg2) {}; + TQVButtonGroupJBridge(TQWidget* arg1) : TQVButtonGroup(arg1) {}; + TQVButtonGroupJBridge() : TQVButtonGroup() {}; + TQVButtonGroupJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQVButtonGroup(arg1,arg2,arg3) {}; + TQVButtonGroupJBridge(const TQString& arg1,TQWidget* arg2) : TQVButtonGroup(arg1,arg2) {}; + TQVButtonGroupJBridge(const TQString& arg1) : TQVButtonGroup(arg1) {}; + ~TQVButtonGroupJBridge() {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.qt.TQVButtonGroup","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.qt.TQVButtonGroup","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.qt.TQVButtonGroup","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.qt.TQVButtonGroup","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.qt.TQVButtonGroup","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.qt.TQVButtonGroup","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVButtonGroup","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.qt.TQVButtonGroup","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVButtonGroup","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.qt.TQVButtonGroup","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.qt.TQVButtonGroup",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.qt.TQVButtonGroup","frameChanged")) { + TQFrame::frameChanged(); + } + return; + } + void showMinimized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVButtonGroup","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QVButtonGroup_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQVButtonGroup*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVButtonGroup_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QVButtonGroup_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVButtonGroup_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQVButtonGroup*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQVButtonGroup*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QVButtonGroup_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVButtonGroup_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQVButtonGroup*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVButtonGroup_newTQVButtonGroup__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVButtonGroupJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVButtonGroup_newTQVButtonGroup__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 TQVButtonGroupJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVButtonGroup_newTQVButtonGroup__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 TQVButtonGroupJBridge((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_qt_QVButtonGroup_newTQVButtonGroup__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 TQVButtonGroupJBridge((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_qt_QVButtonGroup_newTQVButtonGroup__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVButtonGroupJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVButtonGroup_newTQVButtonGroup__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 TQVButtonGroupJBridge((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_qt_QVButtonGroup_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQVButtonGroupJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QVButtonGroup_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQVButtonGroupJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQVButtonGroup.h b/qtjava/javalib/qtjava/TQVButtonGroup.h new file mode 100644 index 00000000..bded593d --- /dev/null +++ b/qtjava/javalib/qtjava/TQVButtonGroup.h @@ -0,0 +1,31 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QVButtonGroup__ +#define __org_kde_qt_QVButtonGroup__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVButtonGroup_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QVButtonGroup_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVButtonGroup_newTQVButtonGroup__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVButtonGroup_newTQVButtonGroup__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVButtonGroup_newTQVButtonGroup__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVButtonGroup_newTQVButtonGroup__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVButtonGroup_newTQVButtonGroup__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVButtonGroup_newTQVButtonGroup__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QVButtonGroup_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QVButtonGroup_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVButtonGroup_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVButtonGroup_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QVButtonGroup_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QVButtonGroup__ */ diff --git a/qtjava/javalib/qtjava/TQVGroupBox.cpp b/qtjava/javalib/qtjava/TQVGroupBox.cpp new file mode 100644 index 00000000..c3896342 --- /dev/null +++ b/qtjava/javalib/qtjava/TQVGroupBox.cpp @@ -0,0 +1,501 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQVGroupBoxJBridge : public TQVGroupBox +{ +public: + TQVGroupBoxJBridge(TQWidget* arg1,const char* arg2) : TQVGroupBox(arg1,arg2) {}; + TQVGroupBoxJBridge(TQWidget* arg1) : TQVGroupBox(arg1) {}; + TQVGroupBoxJBridge() : TQVGroupBox() {}; + TQVGroupBoxJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQVGroupBox(arg1,arg2,arg3) {}; + TQVGroupBoxJBridge(const TQString& arg1,TQWidget* arg2) : TQVGroupBox(arg1,arg2) {}; + TQVGroupBoxJBridge(const TQString& arg1) : TQVGroupBox(arg1) {}; + ~TQVGroupBoxJBridge() {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.qt.TQVGroupBox","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.qt.TQVGroupBox","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.qt.TQVGroupBox","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.qt.TQVGroupBox","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.qt.TQVGroupBox","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.qt.TQVGroupBox","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVGroupBox","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.qt.TQVGroupBox","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVGroupBox","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.qt.TQVGroupBox","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.qt.TQVGroupBox",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.qt.TQVGroupBox","frameChanged")) { + TQFrame::frameChanged(); + } + return; + } + void showMinimized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVGroupBox","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QVGroupBox_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQVGroupBox*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVGroupBox_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QVGroupBox_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVGroupBox_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQVGroupBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQVGroupBox*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QVGroupBox_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVGroupBox_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQVGroupBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVGroupBox_newTQVGroupBox__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVGroupBoxJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVGroupBox_newTQVGroupBox__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 TQVGroupBoxJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVGroupBox_newTQVGroupBox__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 TQVGroupBoxJBridge((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_qt_QVGroupBox_newTQVGroupBox__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 TQVGroupBoxJBridge((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_qt_QVGroupBox_newTQVGroupBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVGroupBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVGroupBox_newTQVGroupBox__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 TQVGroupBoxJBridge((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_qt_QVGroupBox_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQVGroupBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QVGroupBox_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQVGroupBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQVGroupBox.h b/qtjava/javalib/qtjava/TQVGroupBox.h new file mode 100644 index 00000000..24e25f0d --- /dev/null +++ b/qtjava/javalib/qtjava/TQVGroupBox.h @@ -0,0 +1,31 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QVGroupBox__ +#define __org_kde_qt_QVGroupBox__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVGroupBox_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QVGroupBox_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVGroupBox_newTQVGroupBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVGroupBox_newTQVGroupBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVGroupBox_newTQVGroupBox__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVGroupBox_newTQVGroupBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVGroupBox_newTQVGroupBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVGroupBox_newTQVGroupBox__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QVGroupBox_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QVGroupBox_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVGroupBox_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVGroupBox_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QVGroupBox_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QVGroupBox__ */ diff --git a/qtjava/javalib/qtjava/TQValidator.cpp b/qtjava/javalib/qtjava/TQValidator.cpp new file mode 100644 index 00000000..3748eabf --- /dev/null +++ b/qtjava/javalib/qtjava/TQValidator.cpp @@ -0,0 +1,161 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQValidatorJBridge : public TQValidator +{ +public: + TQValidatorJBridge(TQObject* arg1,const char* arg2) : TQValidator(arg1,arg2) {}; + TQValidatorJBridge(TQObject* arg1) : TQValidator(arg1) {}; + ~TQValidatorJBridge() {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; + } + TQValidator::State validate(TQString& input,int& pos) const + { + return (TQValidator::State) QtSupport::validateDelegate((TQValidator*)this,input,pos); + } + void fixup(TQString& input) const + { + QtSupport::fixupDelegate((TQValidator*) this, input); + return; + } + bool eventFilter(TQObject* object,TQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQValidator",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QValidator_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQValidator*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QValidator_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QValidator_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QValidator_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQValidator*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TQValidator*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QValidator_fixup(JNIEnv* env, jobject obj, jobject arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQValidator*) 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_qt_QValidator_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QValidator_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQValidator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QValidator_newTQValidator__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQValidatorJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QValidator_newTQValidator__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 TQValidatorJBridge((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_qt_QValidator_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQValidatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QValidator_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQValidatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QValidator_validate(JNIEnv* env, jobject obj, jobject arg1, jintArray arg2) +{ +static TQString* _qstring_arg1 = 0; + int* _int_arg2 = QtSupport::toIntPtr(env, arg2); + jint xret = (jint) ((TQValidator*) 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/qtjava/javalib/qtjava/TQValidator.h b/qtjava/javalib/qtjava/TQValidator.h new file mode 100644 index 00000000..5ebb5560 --- /dev/null +++ b/qtjava/javalib/qtjava/TQValidator.h @@ -0,0 +1,29 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QValidator__ +#define __org_kde_qt_QValidator__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QValidator_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QValidator_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QValidator_newTQValidator__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QValidator_newTQValidator__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QValidator_validate (JNIEnv *env, jobject, jobject, jintArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QValidator_fixup (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QValidator_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QValidator_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QValidator_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QValidator_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QValidator_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QValidator__ */ diff --git a/qtjava/javalib/qtjava/TQVariant.cpp b/qtjava/javalib/qtjava/TQVariant.cpp new file mode 100644 index 00000000..4c713dc7 --- /dev/null +++ b/qtjava/javalib/qtjava/TQVariant.cpp @@ -0,0 +1,969 @@ +//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 + +class TQVariantJBridge : public TQVariant +{ +public: + TQVariantJBridge() : TQVariant() {}; + TQVariantJBridge(const TQVariant& arg1) : TQVariant(arg1) {}; + TQVariantJBridge(TQDataStream& arg1) : TQVariant(arg1) {}; + TQVariantJBridge(const TQString& arg1) : TQVariant(arg1) {}; + TQVariantJBridge(const TQStringList& arg1) : TQVariant(arg1) {}; + TQVariantJBridge(const TQFont& arg1) : TQVariant(arg1) {}; + TQVariantJBridge(const TQPixmap& arg1) : TQVariant(arg1) {}; + TQVariantJBridge(const TQImage& arg1) : TQVariant(arg1) {}; + TQVariantJBridge(const TQBrush& arg1) : TQVariant(arg1) {}; + TQVariantJBridge(const TQPoint& arg1) : TQVariant(arg1) {}; + TQVariantJBridge(const TQRect& arg1) : TQVariant(arg1) {}; + TQVariantJBridge(const TQSize& arg1) : TQVariant(arg1) {}; + TQVariantJBridge(const TQColor& arg1) : TQVariant(arg1) {}; + TQVariantJBridge(const TQPalette& arg1) : TQVariant(arg1) {}; + TQVariantJBridge(const TQColorGroup& arg1) : TQVariant(arg1) {}; + TQVariantJBridge(const TQIconSet& arg1) : TQVariant(arg1) {}; + TQVariantJBridge(const TQPointArray& arg1) : TQVariant(arg1) {}; + TQVariantJBridge(const TQRegion& arg1) : TQVariant(arg1) {}; + TQVariantJBridge(const TQBitmap& arg1) : TQVariant(arg1) {}; + TQVariantJBridge(const TQCursor& arg1) : TQVariant(arg1) {}; + TQVariantJBridge(const TQDate& arg1) : TQVariant(arg1) {}; + TQVariantJBridge(const TQTime& arg1) : TQVariant(arg1) {}; + TQVariantJBridge(const TQByteArray& arg1) : TQVariant(arg1) {}; + TQVariantJBridge(const TQKeySequence& arg1) : TQVariant(arg1) {}; + TQVariantJBridge(const TQPen& arg1) : TQVariant(arg1) {}; + TQVariantJBridge(int arg1) : TQVariant(arg1) {}; + TQVariantJBridge(Q_LLONG arg1) : TQVariant(arg1) {}; + TQVariantJBridge(bool arg1,int arg2) : TQVariant(arg1,arg2) {}; + TQVariantJBridge(double arg1) : TQVariant(arg1) {}; + TQVariantJBridge(TQSizePolicy arg1) : TQVariant(arg1) {}; + ~TQVariantJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_asBitmap(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQBitmap *) &((TQVariant*) QtSupport::getQt(env, obj))->asBitmap(), "org.kde.qt.TQBitmap"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QVariant_asBool(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQVariant*) QtSupport::getQt(env, obj))->asBool(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_asBrush(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQBrush *) &((TQVariant*) QtSupport::getQt(env, obj))->asBrush(), "org.kde.qt.TQBrush"); + return xret; +} + +JNIEXPORT jbyteArray JNICALL +Java_org_kde_qt_QVariant_asByteArray(JNIEnv* env, jobject obj) +{ + TQByteArray _qbyteArray; + _qbyteArray = ((TQVariant*) QtSupport::getQt(env, obj))->asByteArray(); + return QtSupport::fromTQByteArray(env, &_qbyteArray); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QVariant_asCString(JNIEnv* env, jobject obj) +{ + TQCString _qstring; + _qstring = ((TQVariant*) QtSupport::getQt(env, obj))->asCString(); + return QtSupport::fromTQCString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_asColorGroup(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColorGroup *) &((TQVariant*) QtSupport::getQt(env, obj))->asColorGroup(), "org.kde.qt.TQColorGroup"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_asColor(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQVariant*) QtSupport::getQt(env, obj))->asColor(), "org.kde.qt.TQColor"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_asCursor(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQCursor *) &((TQVariant*) QtSupport::getQt(env, obj))->asCursor(), "org.kde.qt.TQCursor"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_asDateTime(JNIEnv* env, jobject obj) +{ + TQDateTime _qdate; + _qdate = ((TQVariant*) QtSupport::getQt(env, obj))->asDateTime(); + return (jobject) QtSupport::fromTQDateTime(env, (TQDateTime*) &_qdate); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_asDate(JNIEnv* env, jobject obj) +{ + TQDate _qdate; + _qdate = ((TQVariant*) QtSupport::getQt(env, obj))->asDate(); + return (jobject) QtSupport::fromTQDate(env, (TQDate*) &_qdate); +} + +JNIEXPORT jdouble JNICALL +Java_org_kde_qt_QVariant_asDouble(JNIEnv* env, jobject obj) +{ + jdouble xret = (jdouble) ((TQVariant*) QtSupport::getQt(env, obj))->asDouble(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_asFont(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQFont *) &((TQVariant*) QtSupport::getQt(env, obj))->asFont(), "org.kde.qt.TQFont"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_asIconSet(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQIconSet *) &((TQVariant*) QtSupport::getQt(env, obj))->asIconSet(), "org.kde.qt.TQIconSet"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_asImage(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &((TQVariant*) QtSupport::getQt(env, obj))->asImage(), "org.kde.qt.TQImage"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QVariant_asInt(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQVariant*) QtSupport::getQt(env, obj))->asInt(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_asKeySequence(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQKeySequence *) &((TQVariant*) QtSupport::getQt(env, obj))->asKeySequence(), "org.kde.qt.TQKeySequence"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_asPalette(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPalette *) &((TQVariant*) QtSupport::getQt(env, obj))->asPalette(), "org.kde.qt.TQPalette"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_asPen(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPen *) &((TQVariant*) QtSupport::getQt(env, obj))->asPen(), "org.kde.qt.TQPen"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_asPixmap(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPixmap *) &((TQVariant*) QtSupport::getQt(env, obj))->asPixmap(), "org.kde.qt.TQPixmap"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_asPointArray(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPointArray *) &((TQVariant*) QtSupport::getQt(env, obj))->asPointArray(), "org.kde.qt.TQPointArray"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_asPoint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQVariant*) QtSupport::getQt(env, obj))->asPoint(), "org.kde.qt.TQPoint"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_asRect(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRect *) &((TQVariant*) QtSupport::getQt(env, obj))->asRect(), "org.kde.qt.TQRect"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_asRegion(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRegion *) &((TQVariant*) QtSupport::getQt(env, obj))->asRegion(), "org.kde.qt.TQRegion"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_asSizePolicy(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQSizePolicy *) &((TQVariant*) QtSupport::getQt(env, obj))->asSizePolicy(), "org.kde.qt.TQSizePolicy"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_asSize(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQSize *) &((TQVariant*) QtSupport::getQt(env, obj))->asSize(), "org.kde.qt.TQSize"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_asStringList(JNIEnv* env, jobject obj) +{ + TQStringList _qlist; + _qlist = ((TQVariant*) QtSupport::getQt(env, obj))->asStringList(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QVariant_asString(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQVariant*) QtSupport::getQt(env, obj))->asString(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_asTime(JNIEnv* env, jobject obj) +{ + TQTime _qtime; + _qtime = ((TQVariant*) QtSupport::getQt(env, obj))->asTime(); + return (jobject) QtSupport::fromTQTime(env, (TQTime*) &_qtime); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QVariant_asUInt(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQVariant*) QtSupport::getQt(env, obj))->asUInt(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QVariant_canCast(JNIEnv* env, jobject obj, jint arg1) +{ + jboolean xret = (jboolean) ((TQVariant*) QtSupport::getQt(env, obj))->canCast((TQVariant::Type) arg1); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QVariant_cast(JNIEnv* env, jobject obj, jint arg1) +{ + jboolean xret = (jboolean) ((TQVariant*) QtSupport::getQt(env, obj))->cast((TQVariant::Type) arg1); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVariant_clear(JNIEnv* env, jobject obj) +{ + ((TQVariant*) QtSupport::getQt(env, obj))->clear(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVariant_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QVariant_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVariant_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQVariant*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QVariant_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QVariant_isNull(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQVariant*) QtSupport::getQt(env, obj))->isNull(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QVariant_isValid(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQVariant*) QtSupport::getQt(env, obj))->isValid(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVariant_load(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQVariant*) QtSupport::getQt(env, obj))->load((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QVariant_nameToType(JNIEnv* env, jclass cls, jstring name) +{ + (void) cls; +static TQCString* _qstring_name = 0; + jint xret = (jint) TQVariantJBridge::nameToType((const char*) QtSupport::toCharString(env, name, &_qstring_name)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVariant_newTQVariant__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVariantJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVariant_newTQVariant__D(JNIEnv* env, jobject obj, jdouble arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVariantJBridge((double) arg1)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVariant_newTQVariant__I(JNIEnv* env, jobject obj, jint arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVariantJBridge((int) arg1)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVariant_newTQVariant__J(JNIEnv* env, jobject obj, jlong arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVariantJBridge((Q_LLONG) arg1)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVariant_newTQVariant__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVariantJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVariant_newTQVariant__Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jobject arg1) +{ +static TQDate* _qdate_arg1 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVariantJBridge((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, arg1, &_qdate_arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVariant_newTQVariant__Ljava_util_Date_2(JNIEnv* env, jobject obj, jobject arg1) +{ +static TQTime* _qtime_arg1 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVariantJBridge((const TQTime&)*(TQTime*) QtSupport::toTQTime(env, arg1, &_qtime_arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QBitmap_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVariantJBridge((const TQBitmap&)*(const TQBitmap*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QBrush_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVariantJBridge((const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVariantJBridge((const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVariantJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QCursor_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVariantJBridge((const TQCursor&)*(const TQCursor*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QDataStream_2(JNIEnv* env, jobject obj, jobject s) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVariantJBridge((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVariantJBridge((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVariantJBridge((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVariantJBridge((const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVariantJBridge((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QPalette_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVariantJBridge((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QPen_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVariantJBridge((const TQPen&)*(const TQPen*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVariantJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVariantJBridge((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVariantJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVariantJBridge((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QRegion_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVariantJBridge((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QSizePolicy_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVariantJBridge((TQSizePolicy)*(TQSizePolicy*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVariantJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVariantJBridge((const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVariant_newTQVariant__ZI(JNIEnv* env, jobject obj, jboolean arg1, jint arg2) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVariantJBridge((bool) arg1, (int) arg2)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVariant_newTQVariant___3B(JNIEnv* env, jobject obj, jbyteArray arg1) +{ +static TQByteArray* _qbyteArray_arg1 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVariantJBridge((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, arg1, &_qbyteArray_arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVariant_newTQVariant___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray arg1) +{ +static TQStringList* _qlist_arg1 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQVariantJBridge((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, arg1, &_qlist_arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QVariant_op_1equals(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQVariant*) QtSupport::getQt(env, obj))->operator==((const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QVariant_op_1not_1equals(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQVariant*) QtSupport::getQt(env, obj))->operator!=((const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QVariant_save(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQVariant*) QtSupport::getQt(env, obj))->save((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_toBitmap(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQBitmap(((TQVariant*) QtSupport::getQt(env, obj))->toBitmap()), "org.kde.qt.TQBitmap", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QVariant_toBool(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQVariant*) QtSupport::getQt(env, obj))->toBool(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_toBrush(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQBrush(((TQVariant*) QtSupport::getQt(env, obj))->toBrush()), "org.kde.qt.TQBrush", TRUE); + return xret; +} + +JNIEXPORT jbyteArray JNICALL +Java_org_kde_qt_QVariant_toByteArray(JNIEnv* env, jobject obj) +{ + TQByteArray _qbyteArray; + _qbyteArray = ((TQVariant*) QtSupport::getQt(env, obj))->toByteArray(); + return QtSupport::fromTQByteArray(env, &_qbyteArray); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QVariant_toCString(JNIEnv* env, jobject obj) +{ + TQCString _qstring; + _qstring = ((TQVariant*) QtSupport::getQt(env, obj))->toCString(); + return QtSupport::fromTQCString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_toColorGroup(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColorGroup(((TQVariant*) QtSupport::getQt(env, obj))->toColorGroup()), "org.kde.qt.TQColorGroup", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_toColor(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TQVariant*) QtSupport::getQt(env, obj))->toColor()), "org.kde.qt.TQColor", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_toCursor(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(((TQVariant*) QtSupport::getQt(env, obj))->toCursor()), "org.kde.qt.TQCursor", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_toDateTime(JNIEnv* env, jobject obj) +{ + TQDateTime _qdate; + _qdate = ((TQVariant*) QtSupport::getQt(env, obj))->toDateTime(); + return (jobject) QtSupport::fromTQDateTime(env, (TQDateTime*) &_qdate); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_toDate(JNIEnv* env, jobject obj) +{ + TQDate _qdate; + _qdate = ((TQVariant*) QtSupport::getQt(env, obj))->toDate(); + return (jobject) QtSupport::fromTQDate(env, (TQDate*) &_qdate); +} + +JNIEXPORT jdouble JNICALL +Java_org_kde_qt_QVariant_toDouble__(JNIEnv* env, jobject obj) +{ + jdouble xret = (jdouble) ((TQVariant*) QtSupport::getQt(env, obj))->toDouble(); + return xret; +} + +JNIEXPORT jdouble JNICALL +Java_org_kde_qt_QVariant_toDouble___3Z(JNIEnv* env, jobject obj, jbooleanArray ok) +{ + bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); + jdouble xret = (jdouble) ((TQVariant*) QtSupport::getQt(env, obj))->toDouble( (bool*) _bool_ok); + env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_toFont(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((TQVariant*) QtSupport::getQt(env, obj))->toFont()), "org.kde.qt.TQFont", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_toIconSet(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TQVariant*) QtSupport::getQt(env, obj))->toIconSet()), "org.kde.qt.TQIconSet", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_toImage(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQVariant*) QtSupport::getQt(env, obj))->toImage()), "org.kde.qt.TQImage", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QVariant_toInt__(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQVariant*) QtSupport::getQt(env, obj))->toInt(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QVariant_toInt___3Z(JNIEnv* env, jobject obj, jbooleanArray ok) +{ + bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); + jint xret = (jint) ((TQVariant*) QtSupport::getQt(env, obj))->toInt( (bool*) _bool_ok); + env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_toKeySequence(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQKeySequence(((TQVariant*) QtSupport::getQt(env, obj))->toKeySequence()), "org.kde.qt.TQKeySequence", TRUE); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QVariant_toLongLong__(JNIEnv* env, jobject obj) +{ + jlong xret = (jlong) ((TQVariant*) QtSupport::getQt(env, obj))->toLongLong(); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QVariant_toLongLong___3Z(JNIEnv* env, jobject obj, jbooleanArray ok) +{ + bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); + jlong xret = (jlong) ((TQVariant*) QtSupport::getQt(env, obj))->toLongLong( (bool*) _bool_ok); + env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_toPalette(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPalette(((TQVariant*) QtSupport::getQt(env, obj))->toPalette()), "org.kde.qt.TQPalette", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_toPen(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPen(((TQVariant*) QtSupport::getQt(env, obj))->toPen()), "org.kde.qt.TQPen", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_toPixmap(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQVariant*) QtSupport::getQt(env, obj))->toPixmap()), "org.kde.qt.TQPixmap", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_toPointArray(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQVariant*) QtSupport::getQt(env, obj))->toPointArray()), "org.kde.qt.TQPointArray", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_toPoint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQVariant*) QtSupport::getQt(env, obj))->toPoint()), "org.kde.qt.TQPoint", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_toRect(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQVariant*) QtSupport::getQt(env, obj))->toRect()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_toRegion(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQVariant*) QtSupport::getQt(env, obj))->toRegion()), "org.kde.qt.TQRegion", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_toSizePolicy(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSizePolicy(((TQVariant*) QtSupport::getQt(env, obj))->toSizePolicy()), "org.kde.qt.TQSizePolicy", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_toSize(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQVariant*) QtSupport::getQt(env, obj))->toSize()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_toStringList(JNIEnv* env, jobject obj) +{ + TQStringList _qlist; + _qlist = ((TQVariant*) QtSupport::getQt(env, obj))->toStringList(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QVariant_toString(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQVariant*) QtSupport::getQt(env, obj))->toString(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QVariant_toTime(JNIEnv* env, jobject obj) +{ + TQTime _qtime; + _qtime = ((TQVariant*) QtSupport::getQt(env, obj))->toTime(); + return (jobject) QtSupport::fromTQTime(env, (TQTime*) &_qtime); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QVariant_toUInt__(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQVariant*) QtSupport::getQt(env, obj))->toUInt(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QVariant_toUInt___3Z(JNIEnv* env, jobject obj, jbooleanArray ok) +{ + bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); + jint xret = (jint) ((TQVariant*) QtSupport::getQt(env, obj))->toUInt( (bool*) _bool_ok); + env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QVariant_toULongLong__(JNIEnv* env, jobject obj) +{ + jlong xret = (jlong) ((TQVariant*) QtSupport::getQt(env, obj))->toULongLong(); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QVariant_toULongLong___3Z(JNIEnv* env, jobject obj, jbooleanArray ok) +{ + bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); + jlong xret = (jlong) ((TQVariant*) QtSupport::getQt(env, obj))->toULongLong( (bool*) _bool_ok); + env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QVariant_typeName(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQVariant*) QtSupport::getQt(env, obj))->typeName(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QVariant_typeToName(JNIEnv* env, jclass cls, jint typ) +{ + const char* _qstring; + (void) cls; + _qstring = TQVariantJBridge::typeToName((TQVariant::Type) typ); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QVariant_type(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQVariant*) QtSupport::getQt(env, obj))->type(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQVariant.h b/qtjava/javalib/qtjava/TQVariant.h new file mode 100644 index 00000000..1860debd --- /dev/null +++ b/qtjava/javalib/qtjava/TQVariant.h @@ -0,0 +1,129 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QVariant__ +#define __org_kde_qt_QVariant__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QVariant_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QDataStream_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QImage_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QBrush_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QPalette_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QColorGroup_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QPointArray_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QRegion_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QBitmap_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QCursor_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Ljava_util_Calendar_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Ljava_util_Date_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant___3B (JNIEnv *env, jobject, jbyteArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QPen_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__J (JNIEnv *env, jobject, jlong); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__ZI (JNIEnv *env, jobject, jboolean, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__D (JNIEnv *env, jobject, jdouble); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QSizePolicy_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QVariant_op_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QVariant_op_1not_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QVariant_type (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QVariant_typeName (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QVariant_canCast (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QVariant_cast (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QVariant_isValid (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QVariant_isNull (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_clear (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QVariant_toString (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QVariant_toCString (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toStringList (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toFont (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toPixmap (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toImage (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toBrush (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toPoint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toRect (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toSize (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toColor (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toPalette (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toColorGroup (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toIconSet (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toPointArray (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toBitmap (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toRegion (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toCursor (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toDate (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toTime (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toDateTime (JNIEnv *env, jobject); +extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QVariant_toByteArray (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toKeySequence (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toPen (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QVariant_toInt___3Z (JNIEnv *env, jobject, jbooleanArray); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QVariant_toInt__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QVariant_toUInt___3Z (JNIEnv *env, jobject, jbooleanArray); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QVariant_toUInt__ (JNIEnv *env, jobject); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QVariant_toLongLong___3Z (JNIEnv *env, jobject, jbooleanArray); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QVariant_toLongLong__ (JNIEnv *env, jobject); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QVariant_toULongLong___3Z (JNIEnv *env, jobject, jbooleanArray); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QVariant_toULongLong__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QVariant_toBool (JNIEnv *env, jobject); +extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QVariant_toDouble___3Z (JNIEnv *env, jobject, jbooleanArray); +extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QVariant_toDouble__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toSizePolicy (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QVariant_asString (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QVariant_asCString (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asStringList (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asFont (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asPixmap (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asImage (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asBrush (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asPoint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asRect (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asSize (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asColor (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asPalette (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asColorGroup (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asIconSet (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asPointArray (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asBitmap (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asRegion (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asCursor (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asDate (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asTime (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asDateTime (JNIEnv *env, jobject); +extern JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QVariant_asByteArray (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asKeySequence (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asPen (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QVariant_asInt (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QVariant_asUInt (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QVariant_asBool (JNIEnv *env, jobject); +extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QVariant_asDouble (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asSizePolicy (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_load (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_save (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QVariant_typeToName (JNIEnv *env, jclass, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QVariant_nameToType (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QVariant_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QVariant__ */ diff --git a/qtjava/javalib/qtjava/TQWMatrix.cpp b/qtjava/javalib/qtjava/TQWMatrix.cpp new file mode 100644 index 00000000..1f61e0f9 --- /dev/null +++ b/qtjava/javalib/qtjava/TQWMatrix.cpp @@ -0,0 +1,320 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include + +#include +#include + +class TQWMatrixJBridge : public TQWMatrix +{ +public: + TQWMatrixJBridge() : TQWMatrix() {}; + TQWMatrixJBridge(double arg1,double arg2,double arg3,double arg4,double arg5,double arg6) : TQWMatrix(arg1,arg2,arg3,arg4,arg5,arg6) {}; + ~TQWMatrixJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jdouble JNICALL +Java_org_kde_qt_QWMatrix_det(JNIEnv* env, jobject obj) +{ + jdouble xret = (jdouble) ((TQWMatrix*) QtSupport::getQt(env, obj))->det(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWMatrix_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QWMatrix_finalize(env, obj); + return; +} + +JNIEXPORT jdouble JNICALL +Java_org_kde_qt_QWMatrix_dx(JNIEnv* env, jobject obj) +{ + jdouble xret = (jdouble) ((TQWMatrix*) QtSupport::getQt(env, obj))->dx(); + return xret; +} + +JNIEXPORT jdouble JNICALL +Java_org_kde_qt_QWMatrix_dy(JNIEnv* env, jobject obj) +{ + jdouble xret = (jdouble) ((TQWMatrix*) QtSupport::getQt(env, obj))->dy(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWMatrix_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQWMatrix*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWMatrix_invert__(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQWMatrix(((TQWMatrix*) QtSupport::getQt(env, obj))->invert()), "org.kde.qt.TQWMatrix", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWMatrix_invert___3Z(JNIEnv* env, jobject obj, jbooleanArray arg1) +{ + bool* _bool_arg1 = QtSupport::toBooleanPtr(env, arg1); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQWMatrix(((TQWMatrix*) QtSupport::getQt(env, obj))->invert( (bool*) _bool_arg1)), "org.kde.qt.TQWMatrix", TRUE); + env->SetBooleanArrayRegion(arg1, 0, 1, (jboolean*) _bool_arg1); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWMatrix_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWMatrix_isIdentity(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQWMatrix*) QtSupport::getQt(env, obj))->isIdentity(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWMatrix_isInvertible(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQWMatrix*) QtSupport::getQt(env, obj))->isInvertible(); + return xret; +} + +JNIEXPORT jdouble JNICALL +Java_org_kde_qt_QWMatrix_m11(JNIEnv* env, jobject obj) +{ + jdouble xret = (jdouble) ((TQWMatrix*) QtSupport::getQt(env, obj))->m11(); + return xret; +} + +JNIEXPORT jdouble JNICALL +Java_org_kde_qt_QWMatrix_m12(JNIEnv* env, jobject obj) +{ + jdouble xret = (jdouble) ((TQWMatrix*) QtSupport::getQt(env, obj))->m12(); + return xret; +} + +JNIEXPORT jdouble JNICALL +Java_org_kde_qt_QWMatrix_m21(JNIEnv* env, jobject obj) +{ + jdouble xret = (jdouble) ((TQWMatrix*) QtSupport::getQt(env, obj))->m21(); + return xret; +} + +JNIEXPORT jdouble JNICALL +Java_org_kde_qt_QWMatrix_m22(JNIEnv* env, jobject obj) +{ + jdouble xret = (jdouble) ((TQWMatrix*) QtSupport::getQt(env, obj))->m22(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWMatrix_mapRect(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQWMatrix*) QtSupport::getQt(env, obj))->mapRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWMatrix_mapToPolygon(JNIEnv* env, jobject obj, jobject r) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQWMatrix*) QtSupport::getQt(env, obj))->mapToPolygon((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r))), "org.kde.qt.TQPointArray", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWMatrix_mapToRegion(JNIEnv* env, jobject obj, jobject r) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQWMatrix*) QtSupport::getQt(env, obj))->mapToRegion((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r))), "org.kde.qt.TQRegion", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWMatrix_map__DD_3D_3D(JNIEnv* env, jobject obj, jdouble x, jdouble y, jdoubleArray tx, jdoubleArray ty) +{ + double* _double_tx = QtSupport::toDoublePtr(env, tx); + double* _double_ty = QtSupport::toDoublePtr(env, ty); + ((TQWMatrix*) QtSupport::getQt(env, obj))->map((double) x, (double) y, (double*) _double_tx, (double*) _double_ty); + env->SetDoubleArrayRegion(tx, 0, 1, (jdouble*) _double_tx); + env->SetDoubleArrayRegion(ty, 0, 1, (jdouble*) _double_ty); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWMatrix_map__II_3I_3I(JNIEnv* env, jobject obj, jint x, jint y, jintArray tx, jintArray ty) +{ + int* _int_tx = QtSupport::toIntPtr(env, tx); + int* _int_ty = QtSupport::toIntPtr(env, ty); + ((TQWMatrix*) QtSupport::getQt(env, obj))->map((int) x, (int) y, (int*) _int_tx, (int*) _int_ty); + env->SetIntArrayRegion(tx, 0, 1, (jint *) _int_tx); + env->SetIntArrayRegion(ty, 0, 1, (jint *) _int_ty); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWMatrix_map__Lorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject a) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQWMatrix*) QtSupport::getQt(env, obj))->map((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, a))), "org.kde.qt.TQPointArray", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWMatrix_map__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject p) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQWMatrix*) QtSupport::getQt(env, obj))->map((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p))), "org.kde.qt.TQPoint", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWMatrix_map__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject r) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQWMatrix*) QtSupport::getQt(env, obj))->map((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r))), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWMatrix_map__Lorg_kde_qt_QRegion_2(JNIEnv* env, jobject obj, jobject r) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQWMatrix*) QtSupport::getQt(env, obj))->map((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, r))), "org.kde.qt.TQRegion", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWMatrix_newTQWMatrix__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQWMatrixJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWMatrix_newTQWMatrix__DDDDDD(JNIEnv* env, jobject obj, jdouble m11, jdouble m12, jdouble m21, jdouble m22, jdouble dx, jdouble dy) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQWMatrixJBridge((double) m11, (double) m12, (double) m21, (double) m22, (double) dx, (double) dy)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWMatrix_op_1equals(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQWMatrix*) QtSupport::getQt(env, obj))->operator==((const TQWMatrix&)*(const TQWMatrix*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWMatrix_op_1mult_1assign(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQWMatrix *) &((TQWMatrix*) QtSupport::getQt(env, obj))->operator*=((const TQWMatrix&)*(const TQWMatrix*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQWMatrix"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWMatrix_op_1mult__Lorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject a) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQWMatrix*) QtSupport::getQt(env, obj))->operator*((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, a))), "org.kde.qt.TQPointArray", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWMatrix_op_1mult__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQWMatrix*) QtSupport::getQt(env, obj))->operator*((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQPoint", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWMatrix_op_1mult__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQWMatrix*) QtSupport::getQt(env, obj))->operator*((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQRegion", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWMatrix_op_1mult__Lorg_kde_qt_QRegion_2(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQWMatrix*) QtSupport::getQt(env, obj))->operator*((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQRegion", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWMatrix_op_1not_1equals(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQWMatrix*) QtSupport::getQt(env, obj))->operator!=((const TQWMatrix&)*(const TQWMatrix*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWMatrix_reset(JNIEnv* env, jobject obj) +{ + ((TQWMatrix*) QtSupport::getQt(env, obj))->reset(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWMatrix_rotate(JNIEnv* env, jobject obj, jdouble a) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQWMatrix *) &((TQWMatrix*) QtSupport::getQt(env, obj))->rotate((double) a), "org.kde.qt.TQWMatrix"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWMatrix_scale(JNIEnv* env, jobject obj, jdouble sx, jdouble sy) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQWMatrix *) &((TQWMatrix*) QtSupport::getQt(env, obj))->scale((double) sx, (double) sy), "org.kde.qt.TQWMatrix"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWMatrix_setMatrix(JNIEnv* env, jobject obj, jdouble m11, jdouble m12, jdouble m21, jdouble m22, jdouble dx, jdouble dy) +{ + ((TQWMatrix*) QtSupport::getQt(env, obj))->setMatrix((double) m11, (double) m12, (double) m21, (double) m22, (double) dx, (double) dy); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWMatrix_setTransformationMode(JNIEnv* env, jclass cls, jint m) +{ + (void) cls; + (void) env; + TQWMatrixJBridge::setTransformationMode((TQWMatrix::TransformationMode) m); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWMatrix_shear(JNIEnv* env, jobject obj, jdouble sh, jdouble sv) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQWMatrix *) &((TQWMatrix*) QtSupport::getQt(env, obj))->shear((double) sh, (double) sv), "org.kde.qt.TQWMatrix"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWMatrix_transformationMode(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jint xret = (jint) TQWMatrixJBridge::transformationMode(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWMatrix_translate(JNIEnv* env, jobject obj, jdouble dx, jdouble dy) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQWMatrix *) &((TQWMatrix*) QtSupport::getQt(env, obj))->translate((double) dx, (double) dy), "org.kde.qt.TQWMatrix"); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQWMatrix.h b/qtjava/javalib/qtjava/TQWMatrix.h new file mode 100644 index 00000000..e05351cc --- /dev/null +++ b/qtjava/javalib/qtjava/TQWMatrix.h @@ -0,0 +1,58 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QWMatrix__ +#define __org_kde_qt_QWMatrix__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWMatrix_newTQWMatrix__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWMatrix_newTQWMatrix__DDDDDD (JNIEnv *env, jobject, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWMatrix_setMatrix (JNIEnv *env, jobject, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble); +extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QWMatrix_m11 (JNIEnv *env, jobject); +extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QWMatrix_m12 (JNIEnv *env, jobject); +extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QWMatrix_m21 (JNIEnv *env, jobject); +extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QWMatrix_m22 (JNIEnv *env, jobject); +extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QWMatrix_dx (JNIEnv *env, jobject); +extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QWMatrix_dy (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWMatrix_map__II_3I_3I (JNIEnv *env, jobject, jint, jint, jintArray, jintArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWMatrix_map__DD_3D_3D (JNIEnv *env, jobject, jdouble, jdouble, jdoubleArray, jdoubleArray); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWMatrix_mapRect (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWMatrix_map__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWMatrix_map__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWMatrix_map__Lorg_kde_qt_QPointArray_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWMatrix_map__Lorg_kde_qt_QRegion_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWMatrix_mapToRegion (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWMatrix_mapToPolygon (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWMatrix_reset (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWMatrix_isIdentity (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWMatrix_translate (JNIEnv *env, jobject, jdouble, jdouble); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWMatrix_scale (JNIEnv *env, jobject, jdouble, jdouble); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWMatrix_shear (JNIEnv *env, jobject, jdouble, jdouble); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWMatrix_rotate (JNIEnv *env, jobject, jdouble); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWMatrix_isInvertible (JNIEnv *env, jobject); +extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QWMatrix_det (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWMatrix_invert___3Z (JNIEnv *env, jobject, jbooleanArray); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWMatrix_invert__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWMatrix_op_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWMatrix_op_1not_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWMatrix_op_1mult_1assign (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWMatrix_op_1mult__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWMatrix_op_1mult__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWMatrix_op_1mult__Lorg_kde_qt_QRegion_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWMatrix_op_1mult__Lorg_kde_qt_QPointArray_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWMatrix_setTransformationMode (JNIEnv *env, jclass, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWMatrix_transformationMode (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWMatrix_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWMatrix_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWMatrix_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QWMatrix__ */ diff --git a/qtjava/javalib/qtjava/TQWhatsThis.cpp b/qtjava/javalib/qtjava/TQWhatsThis.cpp new file mode 100644 index 00000000..3095edbb --- /dev/null +++ b/qtjava/javalib/qtjava/TQWhatsThis.cpp @@ -0,0 +1,206 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +class TQWhatsThisJBridge : public TQWhatsThis +{ +public: + TQWhatsThisJBridge(TQWidget* arg1) : TQWhatsThis(arg1) {}; + ~TQWhatsThisJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWhatsThis_add(JNIEnv* env, jclass cls, jobject arg1, jstring arg2) +{ + (void) cls; +static TQString* _qstring_arg2 = 0; + TQWhatsThisJBridge::add((TQWidget*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWhatsThis_clicked(JNIEnv* env, jobject obj, jstring href) +{ +static TQString* _qstring_href = 0; + jboolean xret = (jboolean) ((TQWhatsThis*) QtSupport::getQt(env, obj))->clicked((const TQString&)*(TQString*) QtSupport::toTQString(env, href, &_qstring_href)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWhatsThis_display__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring text) +{ + (void) cls; +static TQString* _qstring_text = 0; + TQWhatsThisJBridge::display((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWhatsThis_display__Ljava_lang_String_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jclass cls, jstring text, jobject pos) +{ + (void) cls; +static TQString* _qstring_text = 0; + TQWhatsThisJBridge::display((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWhatsThis_display__Ljava_lang_String_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring text, jobject pos, jobject w) +{ + (void) cls; +static TQString* _qstring_text = 0; + TQWhatsThisJBridge::display((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (TQWidget*) QtSupport::getQt(env, w)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWhatsThis_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QWhatsThis_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWhatsThis_enterWhatsThisMode(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + TQWhatsThisJBridge::enterWhatsThisMode(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWhatsThis_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQWhatsThis*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWhatsThis_inWhatsThisMode(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jboolean xret = (jboolean) TQWhatsThisJBridge::inWhatsThisMode(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWhatsThis_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWhatsThis_leaveWhatsThisMode__(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + TQWhatsThisJBridge::leaveWhatsThisMode(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWhatsThis_leaveWhatsThisMode__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + (void) cls; +static TQString* _qstring_arg1 = 0; + TQWhatsThisJBridge::leaveWhatsThisMode((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWhatsThis_leaveWhatsThisMode__Ljava_lang_String_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jclass cls, jstring arg1, jobject pos) +{ + (void) cls; +static TQString* _qstring_arg1 = 0; + TQWhatsThisJBridge::leaveWhatsThisMode((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWhatsThis_leaveWhatsThisMode__Ljava_lang_String_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring arg1, jobject pos, jobject w) +{ + (void) cls; +static TQString* _qstring_arg1 = 0; + TQWhatsThisJBridge::leaveWhatsThisMode((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (TQWidget*) QtSupport::getQt(env, w)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWhatsThis_newTQWhatsThis(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQWhatsThisJBridge((TQWidget*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWhatsThis_remove(JNIEnv* env, jclass cls, jobject arg1) +{ + (void) cls; + TQWhatsThisJBridge::remove((TQWidget*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWhatsThis_setFont(JNIEnv* env, jclass cls, jobject font) +{ + (void) cls; + TQWhatsThisJBridge::setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QWhatsThis_textFor__Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject arg1) +{ + TQString _qstring; + (void) cls; + _qstring = TQWhatsThisJBridge::textFor((TQWidget*) QtSupport::getQt(env, arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QWhatsThis_textFor__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jclass cls, jobject arg1, jobject pos) +{ + TQString _qstring; + (void) cls; + _qstring = TQWhatsThisJBridge::textFor((TQWidget*) QtSupport::getQt(env, arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QWhatsThis_textFor__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QPoint_2Z(JNIEnv* env, jclass cls, jobject arg1, jobject pos, jboolean includeParents) +{ + TQString _qstring; + (void) cls; + _qstring = TQWhatsThisJBridge::textFor((TQWidget*) QtSupport::getQt(env, arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (bool) includeParents); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QWhatsThis_text(JNIEnv* env, jobject obj, jobject arg1) +{ + TQString _qstring; + _qstring = ((TQWhatsThis*) QtSupport::getQt(env, obj))->text((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWhatsThis_whatsThisButton(JNIEnv* env, jclass cls, jobject parent) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQWhatsThisJBridge::whatsThisButton((TQWidget*) QtSupport::getQt(env, parent)), "org.kde.qt.TQToolButton"); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQWhatsThis.h b/qtjava/javalib/qtjava/TQWhatsThis.h new file mode 100644 index 00000000..82aaf893 --- /dev/null +++ b/qtjava/javalib/qtjava/TQWhatsThis.h @@ -0,0 +1,40 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QWhatsThis__ +#define __org_kde_qt_QWhatsThis__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWhatsThis_newTQWhatsThis (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWhatsThis_text (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWhatsThis_clicked (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWhatsThis_setFont (JNIEnv *env, jclass, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWhatsThis_add (JNIEnv *env, jclass, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWhatsThis_remove (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWhatsThis_textFor__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QPoint_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWhatsThis_textFor__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jclass, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWhatsThis_textFor__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWhatsThis_whatsThisButton (JNIEnv *env, jclass, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWhatsThis_enterWhatsThisMode (JNIEnv *env, jclass); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWhatsThis_inWhatsThisMode (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWhatsThis_leaveWhatsThisMode__Ljava_lang_String_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWhatsThis_leaveWhatsThisMode__Ljava_lang_String_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jclass, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWhatsThis_leaveWhatsThisMode__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWhatsThis_leaveWhatsThisMode__ (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWhatsThis_display__Ljava_lang_String_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWhatsThis_display__Ljava_lang_String_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jclass, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWhatsThis_display__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWhatsThis_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWhatsThis_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWhatsThis_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QWhatsThis__ */ diff --git a/qtjava/javalib/qtjava/TQWheelEvent.cpp b/qtjava/javalib/qtjava/TQWheelEvent.cpp new file mode 100644 index 00000000..43a74450 --- /dev/null +++ b/qtjava/javalib/qtjava/TQWheelEvent.cpp @@ -0,0 +1,165 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQWheelEventJBridge : public TQWheelEvent +{ +public: + TQWheelEventJBridge(const TQPoint& arg1,int arg2,int arg3,TQt::Orientation arg4) : TQWheelEvent(arg1,arg2,arg3,arg4) {}; + TQWheelEventJBridge(const TQPoint& arg1,int arg2,int arg3) : TQWheelEvent(arg1,arg2,arg3) {}; + TQWheelEventJBridge(const TQPoint& arg1,const TQPoint& arg2,int arg3,int arg4,TQt::Orientation arg5) : TQWheelEvent(arg1,arg2,arg3,arg4,arg5) {}; + TQWheelEventJBridge(const TQPoint& arg1,const TQPoint& arg2,int arg3,int arg4) : TQWheelEvent(arg1,arg2,arg3,arg4) {}; + ~TQWheelEventJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWheelEvent_accept(JNIEnv* env, jobject obj) +{ + ((TQWheelEvent*) QtSupport::getQt(env, obj))->accept(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWheelEvent_delta(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQWheelEvent*) QtSupport::getQt(env, obj))->delta(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWheelEvent_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QWheelEvent_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWheelEvent_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQWheelEvent*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWheelEvent_globalPos(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQWheelEvent*) QtSupport::getQt(env, obj))->globalPos(), "org.kde.qt.TQPoint"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWheelEvent_globalX(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQWheelEvent*) QtSupport::getQt(env, obj))->globalX(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWheelEvent_globalY(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQWheelEvent*) QtSupport::getQt(env, obj))->globalY(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWheelEvent_ignore(JNIEnv* env, jobject obj) +{ + ((TQWheelEvent*) QtSupport::getQt(env, obj))->ignore(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWheelEvent_isAccepted(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQWheelEvent*) QtSupport::getQt(env, obj))->isAccepted(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWheelEvent_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWheelEvent_newTQWheelEvent__Lorg_kde_qt_QPoint_2II(JNIEnv* env, jobject obj, jobject pos, jint delta, jint state) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQWheelEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (int) delta, (int) state)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWheelEvent_newTQWheelEvent__Lorg_kde_qt_QPoint_2III(JNIEnv* env, jobject obj, jobject pos, jint delta, jint state, jint orient) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQWheelEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (int) delta, (int) state, (TQt::Orientation) orient)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWheelEvent_newTQWheelEvent__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2II(JNIEnv* env, jobject obj, jobject pos, jobject globalPos, jint delta, jint state) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQWheelEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, globalPos), (int) delta, (int) state)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWheelEvent_newTQWheelEvent__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2III(JNIEnv* env, jobject obj, jobject pos, jobject globalPos, jint delta, jint state, jint orient) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQWheelEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, globalPos), (int) delta, (int) state, (TQt::Orientation) orient)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWheelEvent_orientation(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQWheelEvent*) QtSupport::getQt(env, obj))->orientation(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWheelEvent_pos(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQWheelEvent*) QtSupport::getQt(env, obj))->pos(), "org.kde.qt.TQPoint"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWheelEvent_state(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQWheelEvent*) QtSupport::getQt(env, obj))->state(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWheelEvent_x(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQWheelEvent*) QtSupport::getQt(env, obj))->x(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWheelEvent_y(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQWheelEvent*) QtSupport::getQt(env, obj))->y(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQWheelEvent.h b/qtjava/javalib/qtjava/TQWheelEvent.h new file mode 100644 index 00000000..9b26af45 --- /dev/null +++ b/qtjava/javalib/qtjava/TQWheelEvent.h @@ -0,0 +1,37 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QWheelEvent__ +#define __org_kde_qt_QWheelEvent__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWheelEvent_newTQWheelEvent__Lorg_kde_qt_QPoint_2III (JNIEnv *env, jobject, jobject, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWheelEvent_newTQWheelEvent__Lorg_kde_qt_QPoint_2II (JNIEnv *env, jobject, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWheelEvent_newTQWheelEvent__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2III (JNIEnv *env, jobject, jobject, jobject, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWheelEvent_newTQWheelEvent__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2II (JNIEnv *env, jobject, jobject, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWheelEvent_delta (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWheelEvent_pos (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWheelEvent_globalPos (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWheelEvent_x (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWheelEvent_y (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWheelEvent_globalX (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWheelEvent_globalY (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWheelEvent_state (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWheelEvent_orientation (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWheelEvent_isAccepted (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWheelEvent_accept (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWheelEvent_ignore (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWheelEvent_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWheelEvent_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWheelEvent_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QWheelEvent__ */ diff --git a/qtjava/javalib/qtjava/TQWidget.cpp b/qtjava/javalib/qtjava/TQWidget.cpp new file mode 100644 index 00000000..7b14d140 --- /dev/null +++ b/qtjava/javalib/qtjava/TQWidget.cpp @@ -0,0 +1,2730 @@ +//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 + +class TQWidgetJBridge : public TQWidget +{ +public: + TQWidgetJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQWidget(arg1,arg2,arg3) {}; + TQWidgetJBridge(TQWidget* arg1,const char* arg2) : TQWidget(arg1,arg2) {}; + TQWidgetJBridge(TQWidget* arg1) : TQWidget(arg1) {}; + TQWidgetJBridge() : TQWidget() {}; + void public_unsetCursor() { + TQWidget::unsetCursor(); + return; + } + void public_setActiveWindow() { + TQWidget::setActiveWindow(); + return; + } + void public_setFocus() { + TQWidget::setFocus(); + return; + } + void public_show() { + TQWidget::show(); + return; + } + void public_hide() { + TQWidget::hide(); + return; + } + void public_showMinimized() { + TQWidget::showMinimized(); + return; + } + void public_showMaximized() { + TQWidget::showMaximized(); + return; + } + void public_showNormal() { + TQWidget::showNormal(); + return; + } + void public_polish() { + TQWidget::polish(); + return; + } + void public_adjustSize() { + TQWidget::adjustSize(); + return; + } + bool protected_event(TQEvent* arg1) { + return (bool) TQWidget::event(arg1); + } + void protected_mousePressEvent(TQMouseEvent* arg1) { + TQWidget::mousePressEvent(arg1); + return; + } + void protected_mouseReleaseEvent(TQMouseEvent* arg1) { + TQWidget::mouseReleaseEvent(arg1); + return; + } + void protected_mouseDoubleClickEvent(TQMouseEvent* arg1) { + TQWidget::mouseDoubleClickEvent(arg1); + return; + } + void protected_mouseMoveEvent(TQMouseEvent* arg1) { + TQWidget::mouseMoveEvent(arg1); + return; + } + void protected_wheelEvent(TQWheelEvent* arg1) { + TQWidget::wheelEvent(arg1); + return; + } + void protected_keyPressEvent(TQKeyEvent* arg1) { + TQWidget::keyPressEvent(arg1); + return; + } + void protected_keyReleaseEvent(TQKeyEvent* arg1) { + TQWidget::keyReleaseEvent(arg1); + return; + } + void protected_focusInEvent(TQFocusEvent* arg1) { + TQWidget::focusInEvent(arg1); + return; + } + void protected_focusOutEvent(TQFocusEvent* arg1) { + TQWidget::focusOutEvent(arg1); + return; + } + void protected_enterEvent(TQEvent* arg1) { + TQWidget::enterEvent(arg1); + return; + } + void protected_leaveEvent(TQEvent* arg1) { + TQWidget::leaveEvent(arg1); + return; + } + void protected_paintEvent(TQPaintEvent* arg1) { + TQWidget::paintEvent(arg1); + return; + } + void protected_moveEvent(TQMoveEvent* arg1) { + TQWidget::moveEvent(arg1); + return; + } + void protected_resizeEvent(TQResizeEvent* arg1) { + TQWidget::resizeEvent(arg1); + return; + } + void protected_closeEvent(TQCloseEvent* arg1) { + TQWidget::closeEvent(arg1); + return; + } + void protected_contextMenuEvent(TQContextMenuEvent* arg1) { + TQWidget::contextMenuEvent(arg1); + return; + } + void protected_imStartEvent(TQIMEvent* arg1) { + TQWidget::imStartEvent(arg1); + return; + } + void protected_imComposeEvent(TQIMEvent* arg1) { + TQWidget::imComposeEvent(arg1); + return; + } + void protected_imEndEvent(TQIMEvent* arg1) { + TQWidget::imEndEvent(arg1); + return; + } + void protected_tabletEvent(TQTabletEvent* arg1) { + TQWidget::tabletEvent(arg1); + return; + } + void protected_dragEnterEvent(TQDragEnterEvent* arg1) { + TQWidget::dragEnterEvent(arg1); + return; + } + void protected_dragMoveEvent(TQDragMoveEvent* arg1) { + TQWidget::dragMoveEvent(arg1); + return; + } + void protected_dragLeaveEvent(TQDragLeaveEvent* arg1) { + TQWidget::dragLeaveEvent(arg1); + return; + } + void protected_dropEvent(TQDropEvent* arg1) { + TQWidget::dropEvent(arg1); + return; + } + void protected_showEvent(TQShowEvent* arg1) { + TQWidget::showEvent(arg1); + return; + } + void protected_hideEvent(TQHideEvent* arg1) { + TQWidget::hideEvent(arg1); + return; + } + void protected_updateMask() { + TQWidget::updateMask(); + return; + } + void protected_styleChange(TQStyle& arg1) { + TQWidget::styleChange(arg1); + return; + } + void protected_enabledChange(bool arg1) { + TQWidget::enabledChange(arg1); + return; + } + void protected_paletteChange(const TQPalette& arg1) { + TQWidget::paletteChange(arg1); + return; + } + void protected_fontChange(const TQFont& arg1) { + TQWidget::fontChange(arg1); + return; + } + void protected_windowActivationChange(bool arg1) { + TQWidget::windowActivationChange(arg1); + return; + } + int protected_metric(int arg1) { + return (int) TQWidget::metric(arg1); + } + void protected_resetInputContext() { + TQWidget::resetInputContext(); + return; + } + void protected_create(WId arg1,bool arg2,bool arg3) { + TQWidget::create(arg1,arg2,arg3); + return; + } + void protected_create(WId arg1,bool arg2) { + TQWidget::create(arg1,arg2); + return; + } + void protected_create(WId arg1) { + TQWidget::create(arg1); + return; + } + void protected_create() { + TQWidget::create(); + return; + } + void protected_destroy(bool arg1,bool arg2) { + TQWidget::destroy(arg1,arg2); + return; + } + void protected_destroy(bool arg1) { + TQWidget::destroy(arg1); + return; + } + void protected_destroy() { + TQWidget::destroy(); + return; + } + uint protected_getWState() { + return (uint) TQWidget::getWState(); + } + void protected_setWState(uint arg1) { + TQWidget::setWState(arg1); + return; + } + void protected_clearWState(uint arg1) { + TQWidget::clearWState(arg1); + return; + } + TQt::WFlags protected_getWFlags() { + return (TQt::WFlags) TQWidget::getWFlags(); + } + void protected_setWFlags(TQt::WFlags arg1) { + TQWidget::setWFlags(arg1); + return; + } + void protected_clearWFlags(TQt::WFlags arg1) { + TQWidget::clearWFlags(arg1); + return; + } + bool protected_focusNextPrevChild(bool arg1) { + return (bool) TQWidget::focusNextPrevChild(arg1); + } + TQFocusData* protected_focusData() { + return (TQFocusData*) TQWidget::focusData(); + } + void protected_setKeyCompression(bool arg1) { + TQWidget::setKeyCompression(arg1); + return; + } + void protected_setMicroFocusHint(int arg1,int arg2,int arg3,int arg4,bool arg5,TQFont* arg6) { + TQWidget::setMicroFocusHint(arg1,arg2,arg3,arg4,arg5,arg6); + return; + } + void protected_setMicroFocusHint(int arg1,int arg2,int arg3,int arg4,bool arg5) { + TQWidget::setMicroFocusHint(arg1,arg2,arg3,arg4,arg5); + return; + } + void protected_setMicroFocusHint(int arg1,int arg2,int arg3,int arg4) { + TQWidget::setMicroFocusHint(arg1,arg2,arg3,arg4); + return; + } + ~TQWidgetJBridge() {QtSupport::qtKeyDeleted(this);} + int protected_fontMet(TQFont* arg1,int arg2,const char* arg3,int arg4) { + return (int) TQPaintDevice::fontMet(arg1,arg2,arg3,arg4); + } + int protected_fontMet(TQFont* arg1,int arg2,const char* arg3) { + return (int) TQPaintDevice::fontMet(arg1,arg2,arg3); + } + int protected_fontMet(TQFont* arg1,int arg2) { + return (int) TQPaintDevice::fontMet(arg1,arg2); + } + int protected_fontInf(TQFont* arg1,int arg2) { + return (int) TQPaintDevice::fontInf(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.qt.TQWidget","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.qt.TQWidget","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.qt.TQWidget","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.qt.TQWidget","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.qt.TQWidget","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.qt.TQWidget","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWidget","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.qt.TQWidget","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWidget","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.qt.TQWidget","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.qt.TQWidget",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.qt.TQWidget","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidget_acceptDrops(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->acceptDrops(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_adjustSize(JNIEnv* env, jobject obj) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->public_adjustSize(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidget_autoMask(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->autoMask(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_backgroundBrush(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQBrush *) &((TQWidget*) QtSupport::getQt(env, obj))->backgroundBrush(), "org.kde.qt.TQBrush"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_backgroundColor(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQWidget*) QtSupport::getQt(env, obj))->backgroundColor(), "org.kde.qt.TQColor"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWidget_backgroundMode(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->backgroundMode(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_backgroundOffset(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQWidget*) QtSupport::getQt(env, obj))->backgroundOffset()), "org.kde.qt.TQPoint", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWidget_backgroundOrigin(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->backgroundOrigin(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_backgroundPixmap(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->backgroundPixmap(), "org.kde.qt.TQPixmap"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_baseSize(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQWidget*) QtSupport::getQt(env, obj))->baseSize()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QWidget_caption(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQWidget*) QtSupport::getQt(env, obj))->caption(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_childAt__II(JNIEnv* env, jobject obj, jint x, jint y) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->childAt((int) x, (int) y), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_childAt__IIZ(JNIEnv* env, jobject obj, jint x, jint y, jboolean includeThis) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->childAt((int) x, (int) y, (bool) includeThis), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_childAt__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->childAt((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_childAt__Lorg_kde_qt_QPoint_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean includeThis) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->childAt((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (bool) includeThis), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_childrenRect(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQWidget*) QtSupport::getQt(env, obj))->childrenRect()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_childrenRegion(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQWidget*) QtSupport::getQt(env, obj))->childrenRegion()), "org.kde.qt.TQRegion", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QWidget_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQWidget*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_clearFocus(JNIEnv* env, jobject obj) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->clearFocus(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_clearMask(JNIEnv* env, jobject obj) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->clearMask(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_clearWFlags(JNIEnv* env, jobject obj, jint n) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_clearWFlags((TQt::WFlags) n); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_clearWState(JNIEnv* env, jobject obj, jint n) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_clearWState((uint) n); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_clipRegion(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQWidget*) QtSupport::getQt(env, obj))->clipRegion()), "org.kde.qt.TQRegion", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_closeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TQCloseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidget_close__(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->close(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidget_close__Z(JNIEnv* env, jobject obj, jboolean alsoDelete) +{ + jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->close((bool) alsoDelete); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_colorGroup(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColorGroup *) &((TQWidget*) QtSupport::getQt(env, obj))->colorGroup(), "org.kde.qt.TQColorGroup"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_constPolish(JNIEnv* env, jobject obj) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->constPolish(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_contextMenuEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_create__(JNIEnv* env, jobject obj) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_create(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_create__J(JNIEnv* env, jobject obj, jlong arg1) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_create((WId) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_create__JZ(JNIEnv* env, jobject obj, jlong arg1, jboolean initializeWindow) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_create((WId) arg1, (bool) initializeWindow); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_create__JZZ(JNIEnv* env, jobject obj, jlong arg1, jboolean initializeWindow, jboolean destroyOldWindow) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_create((WId) arg1, (bool) initializeWindow, (bool) destroyOldWindow); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_cursor(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQCursor *) &((TQWidget*) QtSupport::getQt(env, obj))->cursor(), "org.kde.qt.TQCursor"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidget_customWhatsThis(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->customWhatsThis(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_destroy__(JNIEnv* env, jobject obj) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_destroy(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_destroy__Z(JNIEnv* env, jobject obj, jboolean destroyWindow) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_destroy((bool) destroyWindow); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_destroy__ZZ(JNIEnv* env, jobject obj, jboolean destroyWindow, jboolean destroySubWindows) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_destroy((bool) destroyWindow, (bool) destroySubWindows); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWidget_devType(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPaintDevice*)(TQWidget*) QtSupport::getQt(env, obj))->devType(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QWidget_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_dragEnterEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_dragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_dragLeaveEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_dragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_dragMoveEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_dragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_drawText__IILjava_lang_String_2(JNIEnv* env, jobject obj, jint x, jint y, jstring arg3) +{ +static TQString* _qstring_arg3 = 0; + ((TQWidget*) QtSupport::getQt(env, obj))->drawText((int) x, (int) y, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_drawText__Lorg_kde_qt_QPoint_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) +{ +static TQString* _qstring_arg2 = 0; + ((TQWidget*) QtSupport::getQt(env, obj))->drawText((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_dropEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_dropEvent((TQDropEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_enabledChange(JNIEnv* env, jobject obj, jboolean oldEnabled) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_enabledChange((bool) oldEnabled); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_enterEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_enterEvent((TQEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_eraseColor(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQWidget*) QtSupport::getQt(env, obj))->eraseColor(), "org.kde.qt.TQColor"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_erasePixmap(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->erasePixmap(), "org.kde.qt.TQPixmap"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_erase__(JNIEnv* env, jobject obj) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->erase(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_erase__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->erase((int) x, (int) y, (int) w, (int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_erase__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->erase((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_erase__Lorg_kde_qt_QRegion_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->erase((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidget_event(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQWidget*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQWidget*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_find(JNIEnv* env, jclass cls, jlong arg1) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQWidgetJBridge::find((WId) arg1), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_focusData(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_focusData(), "org.kde.qt.TQFocusData"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_focusInEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidget_focusNextPrevChild(JNIEnv* env, jobject obj, jboolean next) +{ + jboolean xret = (jboolean) ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_focusNextPrevChild((bool) next); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_focusOutEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWidget_focusPolicy(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->focusPolicy(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_focusProxy(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->focusProxy(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_focusWidget(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->focusWidget(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_fontChange(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWidget_fontInf(JNIEnv* env, jobject obj, jobject arg1, jint arg2) +{ + jint xret = (jint) ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_fontInf((TQFont*) QtSupport::getQt(env, arg1), (int) arg2); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_fontInfo(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFontInfo(((TQWidget*) QtSupport::getQt(env, obj))->fontInfo()), "org.kde.qt.TQFontInfo", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWidget_fontMet__Lorg_kde_qt_QFont_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2) +{ + jint xret = (jint) ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TQFont*) QtSupport::getQt(env, arg1), (int) arg2); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWidget_fontMet__Lorg_kde_qt_QFont_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jint arg2, jstring arg3) +{ +static TQCString* _qstring_arg3 = 0; + jint xret = (jint) ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TQFont*) QtSupport::getQt(env, arg1), (int) arg2, (const char*) QtSupport::toCharString(env, arg3, &_qstring_arg3)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWidget_fontMet__Lorg_kde_qt_QFont_2ILjava_lang_String_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2, jstring arg3, jint arg4) +{ +static TQCString* _qstring_arg3 = 0; + jint xret = (jint) ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TQFont*) QtSupport::getQt(env, arg1), (int) arg2, (const char*) QtSupport::toCharString(env, arg3, &_qstring_arg3), (int) arg4); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_fontMetrics(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFontMetrics(((TQWidget*) QtSupport::getQt(env, obj))->fontMetrics()), "org.kde.qt.TQFontMetrics", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_font(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((TQWidget*) QtSupport::getQt(env, obj))->font()), "org.kde.qt.TQFont", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_foregroundColor(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQWidget*) QtSupport::getQt(env, obj))->foregroundColor(), "org.kde.qt.TQColor"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_frameGeometry(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQWidget*) QtSupport::getQt(env, obj))->frameGeometry()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_frameSize(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQWidget*) QtSupport::getQt(env, obj))->frameSize()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_geometry(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRect *) &((TQWidget*) QtSupport::getQt(env, obj))->geometry(), "org.kde.qt.TQRect"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWidget_getWFlags(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_getWFlags(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWidget_getWState(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_getWState(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_grabKeyboard(JNIEnv* env, jobject obj) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->grabKeyboard(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_grabMouse__(JNIEnv* env, jobject obj) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->grabMouse(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_grabMouse__Lorg_kde_qt_QCursor_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->grabMouse((const TQCursor&)*(const TQCursor*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidget_hasFocus(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->hasFocus(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidget_hasMouseTracking(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->hasMouseTracking(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidget_hasMouse(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->hasMouse(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWidget_heightForWidth(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->heightForWidth((int) arg1); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWidget_height(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->height(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_hideEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_hideEvent((TQHideEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_hide(JNIEnv* env, jobject obj) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->public_hide(); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QWidget_iconText(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQWidget*) QtSupport::getQt(env, obj))->iconText(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_icon(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->icon(), "org.kde.qt.TQPixmap"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_iconify(JNIEnv* env, jobject obj) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->iconify(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_imComposeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_imComposeEvent((TQIMEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_imEndEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_imEndEvent((TQIMEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_imStartEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_imStartEvent((TQIMEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidget_isActiveWindow(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isActiveWindow(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidget_isDesktop(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isDesktop(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidget_isDialog(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isDialog(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidget_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidget_isEnabledToTLW(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isEnabledToTLW(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidget_isEnabledTo(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isEnabledTo((TQWidget*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidget_isEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isEnabled(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidget_isExtDev(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQPaintDevice*)(TQWidget*) QtSupport::getQt(env, obj))->isExtDev(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidget_isFocusEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isFocusEnabled(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidget_isFullScreen(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isFullScreen(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidget_isHidden(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isHidden(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidget_isInputMethodEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isInputMethodEnabled(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidget_isMaximized(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isMaximized(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidget_isMinimized(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isMinimized(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidget_isModal(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isModal(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidget_isPopup(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isPopup(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidget_isShown(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isShown(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidget_isTopLevel(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isTopLevel(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidget_isUpdatesEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isUpdatesEnabled(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidget_isVisibleToTLW(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isVisibleToTLW(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidget_isVisibleTo(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isVisibleTo((TQWidget*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidget_isVisible(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isVisible(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_keyReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_keyReleaseEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_keyboardGrabber(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQWidgetJBridge::keyboardGrabber(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_layout(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->layout(), "org.kde.qt.TQLayout"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_leaveEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_lower(JNIEnv* env, jobject obj) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->lower(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_mapFromGlobal(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQWidget*) QtSupport::getQt(env, obj))->mapFromGlobal((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQPoint", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_mapFromParent(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQWidget*) QtSupport::getQt(env, obj))->mapFromParent((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQPoint", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_mapFrom(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQWidget*) QtSupport::getQt(env, obj))->mapFrom((TQWidget*) QtSupport::getQt(env, arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg2))), "org.kde.qt.TQPoint", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_mapToGlobal(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQWidget*) QtSupport::getQt(env, obj))->mapToGlobal((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQPoint", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_mapToParent(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQWidget*) QtSupport::getQt(env, obj))->mapToParent((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQPoint", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_mapTo(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQWidget*) QtSupport::getQt(env, obj))->mapTo((TQWidget*) QtSupport::getQt(env, arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg2))), "org.kde.qt.TQPoint", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWidget_maximumHeight(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->maximumHeight(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_maximumSize(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQWidget*) QtSupport::getQt(env, obj))->maximumSize()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWidget_maximumWidth(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->maximumWidth(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWidget_metric(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_metric((int) arg1); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_microFocusHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQWidget*) QtSupport::getQt(env, obj))->microFocusHint()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWidget_minimumHeight(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->minimumHeight(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_minimumSizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQWidget*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_minimumSize(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQWidget*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWidget_minimumWidth(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->minimumWidth(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_mouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_mouseGrabber(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQWidgetJBridge::mouseGrabber(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_moveEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_moveEvent((TQMoveEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_move__II(JNIEnv* env, jobject obj, jint x, jint y) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->move((int) x, (int) y); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_move__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->move((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_newTQWidget__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQWidgetJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_newTQWidget__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_newTQWidget__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 TQWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_newTQWidget__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 TQWidgetJBridge((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 jboolean JNICALL +Java_org_kde_qt_QWidget_ownCursor(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->ownCursor(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidget_ownFont(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->ownFont(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidget_ownPalette(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->ownPalette(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_paintEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidget_paintingActive(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQPaintDevice*)(TQWidget*) QtSupport::getQt(env, obj))->paintingActive(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_paletteBackgroundColor(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQWidget*) QtSupport::getQt(env, obj))->paletteBackgroundColor(), "org.kde.qt.TQColor"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_paletteBackgroundPixmap(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->paletteBackgroundPixmap(), "org.kde.qt.TQPixmap"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_paletteChange(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_paletteChange((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_paletteForegroundColor(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQWidget*) QtSupport::getQt(env, obj))->paletteForegroundColor(), "org.kde.qt.TQColor"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_palette(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPalette *) &((TQWidget*) QtSupport::getQt(env, obj))->palette(), "org.kde.qt.TQPalette"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_parentWidget__(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->parentWidget(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_parentWidget__Z(JNIEnv* env, jobject obj, jboolean sameWindow) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->parentWidget((bool) sameWindow), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_polish(JNIEnv* env, jobject obj) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->public_polish(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_pos(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQWidget*) QtSupport::getQt(env, obj))->pos()), "org.kde.qt.TQPoint", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_raise(JNIEnv* env, jobject obj) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->raise(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_recreate__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject parent, jint f, jobject p) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->recreate((TQWidget*) QtSupport::getQt(env, parent), (TQt::WFlags) f, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_recreate__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QPoint_2Z(JNIEnv* env, jobject obj, jobject parent, jint f, jobject p, jboolean showIt) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->recreate((TQWidget*) QtSupport::getQt(env, parent), (TQt::WFlags) f, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p), (bool) showIt); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_rect(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQWidget*) QtSupport::getQt(env, obj))->rect()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_releaseKeyboard(JNIEnv* env, jobject obj) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->releaseKeyboard(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_releaseMouse(JNIEnv* env, jobject obj) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->releaseMouse(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_repaint__(JNIEnv* env, jobject obj) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->repaint(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_repaint__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->repaint((int) x, (int) y, (int) w, (int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_repaint__IIIIZ(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jboolean erase) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->repaint((int) x, (int) y, (int) w, (int) h, (bool) erase); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_repaint__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->repaint((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_repaint__Lorg_kde_qt_QRect_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean erase) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->repaint((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (bool) erase); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_repaint__Lorg_kde_qt_QRegion_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->repaint((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_repaint__Lorg_kde_qt_QRegion_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean erase) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->repaint((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1), (bool) erase); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_repaint__Z(JNIEnv* env, jobject obj, jboolean erase) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->repaint((bool) erase); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_reparent__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject parent, jint arg2, jobject arg3) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->reparent((TQWidget*) QtSupport::getQt(env, parent), (TQt::WFlags) arg2, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg3)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_reparent__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QPoint_2Z(JNIEnv* env, jobject obj, jobject parent, jint arg2, jobject arg3, jboolean showIt) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->reparent((TQWidget*) QtSupport::getQt(env, parent), (TQt::WFlags) arg2, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg3), (bool) showIt); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_reparent__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject parent, jobject arg2) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->reparent((TQWidget*) QtSupport::getQt(env, parent), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_reparent__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QPoint_2Z(JNIEnv* env, jobject obj, jobject parent, jobject arg2, jboolean showIt) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->reparent((TQWidget*) QtSupport::getQt(env, parent), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg2), (bool) showIt); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_resetInputContext(JNIEnv* env, jobject obj) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_resetInputContext(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_resize__II(JNIEnv* env, jobject obj, jint w, jint h) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->resize((int) w, (int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_resize__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->resize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWidget_resolution(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQPaintDevice*)(TQWidget*) QtSupport::getQt(env, obj))->resolution(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_scroll__II(JNIEnv* env, jobject obj, jint dx, jint dy) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->scroll((int) dx, (int) dy); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_scroll__IILorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jint dx, jint dy, jobject arg3) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->scroll((int) dx, (int) dy, (const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg3)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setAcceptDrops(JNIEnv* env, jobject obj, jboolean on) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setAcceptDrops((bool) on); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setActiveWindow(JNIEnv* env, jobject obj) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->public_setActiveWindow(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setAutoMask(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setAutoMask((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setBackgroundColor(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setBackgroundColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setBackgroundMode__I(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setBackgroundMode((TQt::BackgroundMode) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setBackgroundMode__II(JNIEnv* env, jobject obj, jint arg1, jint arg2) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setBackgroundMode((TQt::BackgroundMode) arg1, (TQt::BackgroundMode) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setBackgroundOrigin(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setBackgroundOrigin((TQWidget::BackgroundOrigin) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setBackgroundPixmap(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setBackgroundPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setBaseSize__II(JNIEnv* env, jobject obj, jint basew, jint baseh) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setBaseSize((int) basew, (int) baseh); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setBaseSize__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setBaseSize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setCaption(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQWidget*) QtSupport::getQt(env, obj))->setCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setCursor(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setCursor((const TQCursor&)*(const TQCursor*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setDisabled(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setDisabled((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setEnabled(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setEnabled((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setEraseColor(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setEraseColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setErasePixmap(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setErasePixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setFixedHeight(JNIEnv* env, jobject obj, jint h) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setFixedHeight((int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setFixedSize__II(JNIEnv* env, jobject obj, jint w, jint h) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setFixedSize((int) w, (int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setFixedSize__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setFixedSize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setFixedWidth(JNIEnv* env, jobject obj, jint w) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setFixedWidth((int) w); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setFocusPolicy(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setFocusPolicy((TQWidget::FocusPolicy) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setFocusProxy(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setFocusProxy((TQWidget*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setFocus(JNIEnv* env, jobject obj) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->public_setFocus(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setFont__Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setFont__Lorg_kde_qt_QFont_2Z(JNIEnv* env, jobject obj, jobject f, jboolean arg2) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, f), (bool) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setGeometry__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setGeometry((int) x, (int) y, (int) w, (int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setGeometry__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setGeometry((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setHidden(JNIEnv* env, jobject obj, jboolean hide) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setHidden((bool) hide); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setIconText(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TQWidget*) QtSupport::getQt(env, obj))->setIconText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setIcon(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setIcon((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setInputMethodEnabled(JNIEnv* env, jobject obj, jboolean b) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setInputMethodEnabled((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setKeyCompression(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setKeyCompression((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setMask__Lorg_kde_qt_QBitmap_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setMask((const TQBitmap&)*(const TQBitmap*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setMask__Lorg_kde_qt_QRegion_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setMask((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setMaximumHeight(JNIEnv* env, jobject obj, jint maxh) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setMaximumHeight((int) maxh); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setMaximumSize__II(JNIEnv* env, jobject obj, jint maxw, jint maxh) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setMaximumSize((int) maxw, (int) maxh); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setMaximumSize__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setMaximumSize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setMaximumWidth(JNIEnv* env, jobject obj, jint maxw) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setMaximumWidth((int) maxw); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setMicroFocusHint__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setMicroFocusHint((int) x, (int) y, (int) w, (int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setMicroFocusHint__IIIIZ(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jboolean text) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setMicroFocusHint((int) x, (int) y, (int) w, (int) h, (bool) text); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setMicroFocusHint__IIIIZLorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jboolean text, jobject f) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setMicroFocusHint((int) x, (int) y, (int) w, (int) h, (bool) text, (TQFont*) QtSupport::getQt(env, f)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setMinimumHeight(JNIEnv* env, jobject obj, jint minh) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setMinimumHeight((int) minh); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setMinimumSize__II(JNIEnv* env, jobject obj, jint minw, jint minh) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setMinimumSize((int) minw, (int) minh); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setMinimumSize__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setMinimumSize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setMinimumWidth(JNIEnv* env, jobject obj, jint minw) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setMinimumWidth((int) minw); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setMouseTracking(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setMouseTracking((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setName(JNIEnv* env, jobject obj, jstring name) +{ +static TQCString* _qstring_name = 0; + ((TQWidget*) QtSupport::getQt(env, obj))->setName((const char*) QtSupport::toCharString(env, name, &_qstring_name)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setPaletteBackgroundColor(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setPaletteBackgroundColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setPaletteBackgroundPixmap(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setPaletteBackgroundPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setPaletteForegroundColor(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setPaletteForegroundColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setPalette__Lorg_kde_qt_QPalette_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setPalette__Lorg_kde_qt_QPalette_2Z(JNIEnv* env, jobject obj, jobject p, jboolean arg2) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, p), (bool) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setResolution(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQPaintDevice*)(TQWidget*) QtSupport::getQt(env, obj))->setResolution((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setShown(JNIEnv* env, jobject obj, jboolean show) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setShown((bool) show); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setSizeIncrement__II(JNIEnv* env, jobject obj, jint w, jint h) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setSizeIncrement((int) w, (int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setSizeIncrement__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setSizeIncrement((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setSizePolicy__II(JNIEnv* env, jobject obj, jint hor, jint ver) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setSizePolicy((TQSizePolicy::SizeType) hor, (TQSizePolicy::SizeType) ver); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setSizePolicy__IIZ(JNIEnv* env, jobject obj, jint hor, jint ver, jboolean hfw) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setSizePolicy((TQSizePolicy::SizeType) hor, (TQSizePolicy::SizeType) ver, (bool) hfw); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setSizePolicy__Lorg_kde_qt_QSizePolicy_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setSizePolicy((TQSizePolicy)*(TQSizePolicy*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_setStyle__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->setStyle((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)), "org.kde.qt.TQStyle"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setStyle__Lorg_kde_qt_QStyle_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setStyle((TQStyle*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setTabOrder(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) +{ + (void) cls; + TQWidgetJBridge::setTabOrder((TQWidget*) QtSupport::getQt(env, arg1), (TQWidget*) QtSupport::getQt(env, arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setUpdatesEnabled(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setUpdatesEnabled((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setWFlags(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setWFlags((TQt::WFlags) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setWState(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setWState((uint) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setWindowOpacity(JNIEnv* env, jobject obj, jdouble level) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setWindowOpacity((double) level); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_setWindowState(JNIEnv* env, jobject obj, jint windowState) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->setWindowState((uint) windowState); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_showEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_showFullScreen(JNIEnv* env, jobject obj) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->showFullScreen(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_showMaximized(JNIEnv* env, jobject obj) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->public_showMaximized(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_showMinimized(JNIEnv* env, jobject obj) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->public_showMinimized(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_showNormal(JNIEnv* env, jobject obj) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->public_showNormal(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_show(JNIEnv* env, jobject obj) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->public_show(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQWidget*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_sizeIncrement(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQWidget*) QtSupport::getQt(env, obj))->sizeIncrement()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_sizePolicy(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSizePolicy(((TQWidget*) QtSupport::getQt(env, obj))->sizePolicy()), "org.kde.qt.TQSizePolicy", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_size(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQWidget*) QtSupport::getQt(env, obj))->size()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_stackUnder(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->stackUnder((TQWidget*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_styleChange(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_style(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQStyle *) &((TQWidget*) QtSupport::getQt(env, obj))->style(), "org.kde.qt.TQStyle"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_tabletEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_tabletEvent((TQTabletEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWidget_testWFlags(JNIEnv* env, jobject obj, jint f) +{ + jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->testWFlags((TQt::WFlags) f); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWidget_testWState(JNIEnv* env, jobject obj, jint s) +{ + jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->testWState((TQt::WState) s); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_topLevelWidget(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->topLevelWidget(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QWidget_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQWidgetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QWidget_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQWidgetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_unsetCursor(JNIEnv* env, jobject obj) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->public_unsetCursor(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_unsetFont(JNIEnv* env, jobject obj) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->unsetFont(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_unsetPalette(JNIEnv* env, jobject obj) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->unsetPalette(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_updateGeometry(JNIEnv* env, jobject obj) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->updateGeometry(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_updateMask(JNIEnv* env, jobject obj) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_updateMask(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_update__(JNIEnv* env, jobject obj) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->update(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_update__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->update((int) x, (int) y, (int) w, (int) h); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_update__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidget*) QtSupport::getQt(env, obj))->update((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidget_visibleRect(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQWidget*) QtSupport::getQt(env, obj))->visibleRect()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_wheelEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWidget_width(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->width(); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QWidget_winId(JNIEnv* env, jobject obj) +{ + jlong xret = (jlong) ((TQWidget*) QtSupport::getQt(env, obj))->winId(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidget_windowActivationChange(JNIEnv* env, jobject obj, jboolean oldActive) +{ + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_windowActivationChange((bool) oldActive); + return; +} + +JNIEXPORT jdouble JNICALL +Java_org_kde_qt_QWidget_windowOpacity(JNIEnv* env, jobject obj) +{ + jdouble xret = (jdouble) ((TQWidget*) QtSupport::getQt(env, obj))->windowOpacity(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWidget_windowState(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->windowState(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWidget_x(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->x(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWidget_y(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->y(); + return xret; +} + +JNIEXPORT jlong JNICALL +Java_org_kde_qt_QWidget_paintDevice(JNIEnv* env, jobject obj) +{ + return (jlong) (TQPaintDevice*)(TQWidget*) QtSupport::getQt(env, obj); +} + diff --git a/qtjava/javalib/qtjava/TQWidget.h b/qtjava/javalib/qtjava/TQWidget.h new file mode 100644 index 00000000..ecde511d --- /dev/null +++ b/qtjava/javalib/qtjava/TQWidget.h @@ -0,0 +1,311 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QWidget__ +#define __org_kde_qt_QWidget__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWidget_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_newTQWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_newTQWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_newTQWidget__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_newTQWidget__ (JNIEnv *env, jobject); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QWidget_winId (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setName (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_style (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setStyle__Lorg_kde_qt_QStyle_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_setStyle__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isTopLevel (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isDialog (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isPopup (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isDesktop (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isModal (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isEnabled (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isEnabledTo (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isEnabledToTLW (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_frameGeometry (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_geometry (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_x (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_y (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_pos (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_frameSize (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_size (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_width (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_height (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_rect (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_childrenRect (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_childrenRegion (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_minimumSize (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_maximumSize (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_minimumWidth (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_minimumHeight (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_maximumWidth (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_maximumHeight (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setMinimumSize__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setMinimumSize__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setMaximumSize__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setMaximumSize__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setMinimumWidth (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setMinimumHeight (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setMaximumWidth (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setMaximumHeight (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_sizeIncrement (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setSizeIncrement__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setSizeIncrement__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_baseSize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setBaseSize__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setBaseSize__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setFixedSize__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setFixedSize__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setFixedWidth (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setFixedHeight (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_mapToGlobal (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_mapFromGlobal (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_mapToParent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_mapFromParent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_mapTo (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_mapFrom (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_topLevelWidget (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_backgroundMode (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setBackgroundMode__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setBackgroundMode__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_foregroundColor (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_eraseColor (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setEraseColor (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_erasePixmap (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setErasePixmap (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_colorGroup (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_palette (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_ownPalette (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setPalette__Lorg_kde_qt_QPalette_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_unsetPalette (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_paletteForegroundColor (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setPaletteForegroundColor (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_paletteBackgroundColor (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setPaletteBackgroundColor (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_paletteBackgroundPixmap (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setPaletteBackgroundPixmap (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_backgroundBrush (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_font (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_ownFont (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setFont__Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_unsetFont (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_fontMetrics (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_fontInfo (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_cursor (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_ownCursor (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setCursor (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_unsetCursor (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWidget_caption (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_icon (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWidget_iconText (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_hasMouseTracking (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_hasMouse (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setMask__Lorg_kde_qt_QBitmap_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setMask__Lorg_kde_qt_QRegion_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_clearMask (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_backgroundColor (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setBackgroundColor (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_backgroundPixmap (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setBackgroundPixmap (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isActiveWindow (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setActiveWindow (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isFocusEnabled (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_focusPolicy (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setFocusPolicy (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_hasFocus (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setFocusProxy (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_focusProxy (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setInputMethodEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isInputMethodEnabled (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_grabMouse__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_grabMouse__Lorg_kde_qt_QCursor_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_releaseMouse (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_grabKeyboard (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_releaseKeyboard (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isUpdatesEnabled (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_close__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isVisible (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isVisibleTo (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isVisibleToTLW (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_visibleRect (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isHidden (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isShown (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isMinimized (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isMaximized (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isFullScreen (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_windowState (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setWindowState (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_minimumSizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_sizePolicy (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setSizePolicy__Lorg_kde_qt_QSizePolicy_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setSizePolicy__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setSizePolicy__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_heightForWidth (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_clipRegion (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_layout (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_updateGeometry (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_reparent__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QPoint_2Z (JNIEnv *env, jobject, jobject, jint, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_reparent__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_reparent__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QPoint_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_reparent__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_recreate__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QPoint_2Z (JNIEnv *env, jobject, jobject, jint, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_recreate__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_erase__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_erase__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_erase__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_erase__Lorg_kde_qt_QRegion_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_scroll__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_scroll__IILorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jint, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_drawText__IILjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_drawText__Lorg_kde_qt_QPoint_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_focusWidget (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_microFocusHint (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_acceptDrops (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setAcceptDrops (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setAutoMask (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_autoMask (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setBackgroundOrigin (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_backgroundOrigin (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_backgroundOffset (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_customWhatsThis (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_parentWidget__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_parentWidget__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_testWState (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_testWFlags (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_childAt__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_childAt__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_childAt__Lorg_kde_qt_QPoint_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_childAt__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setWindowOpacity (JNIEnv *env, jobject, jdouble); +extern JNIEXPORT jdouble JNICALL Java_org_kde_qt_QWidget_windowOpacity (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setPalette__Lorg_kde_qt_QPalette_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setFont__Lorg_kde_qt_QFont_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setDisabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setCaption (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setIcon (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setIconText (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setMouseTracking (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setFocus (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_clearFocus (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setUpdatesEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_update__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_update__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_update__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_repaint__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_repaint__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_repaint__IIIIZ (JNIEnv *env, jobject, jint, jint, jint, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_repaint__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_repaint__Lorg_kde_qt_QRect_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_repaint__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_repaint__Lorg_kde_qt_QRegion_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_repaint__Lorg_kde_qt_QRegion_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_show (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_hide (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setShown (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setHidden (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_iconify (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_showMinimized (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_showMaximized (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_showFullScreen (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_showNormal (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_polish (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_constPolish (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_close__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_raise (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_lower (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_stackUnder (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_move__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_move__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_resize__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_resize__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setGeometry__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setGeometry__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_adjustSize (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWidget_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWidget_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setTabOrder (JNIEnv *env, jclass, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_mouseGrabber (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_keyboardGrabber (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_find (JNIEnv *env, jclass, jlong); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_event (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_mousePressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_mouseReleaseEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_mouseDoubleClickEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_mouseMoveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_wheelEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_keyPressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_keyReleaseEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_focusInEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_focusOutEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_enterEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_leaveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_paintEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_moveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_closeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_contextMenuEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_imStartEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_imComposeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_imEndEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_tabletEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_dragEnterEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_dragMoveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_dragLeaveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_dropEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_showEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_hideEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_updateMask (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_styleChange (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_enabledChange (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_paletteChange (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_fontChange (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_windowActivationChange (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_metric (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_resetInputContext (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_create__JZZ (JNIEnv *env, jobject, jlong, jboolean, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_create__JZ (JNIEnv *env, jobject, jlong, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_create__J (JNIEnv *env, jobject, jlong); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_create__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_destroy__ZZ (JNIEnv *env, jobject, jboolean, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_destroy__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_destroy__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_getWState (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setWState (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_clearWState (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_getWFlags (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setWFlags (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_clearWFlags (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_focusNextPrevChild (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_focusData (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setKeyCompression (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setMicroFocusHint__IIIIZLorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jboolean, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setMicroFocusHint__IIIIZ (JNIEnv *env, jobject, jint, jint, jint, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setMicroFocusHint__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isDisposed (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_devType (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isExtDev (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_paintingActive (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setResolution (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_resolution (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_fontMet__Lorg_kde_qt_QFont_2ILjava_lang_String_2I (JNIEnv *env, jobject, jobject, jint, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_fontMet__Lorg_kde_qt_QFont_2ILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_fontMet__Lorg_kde_qt_QFont_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_fontInf (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jlong JNICALL Java_org_kde_qt_QWidget_paintDevice (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QWidget__ */ diff --git a/qtjava/javalib/qtjava/TQWidgetItem.cpp b/qtjava/javalib/qtjava/TQWidgetItem.cpp new file mode 100644 index 00000000..4dc2fcc4 --- /dev/null +++ b/qtjava/javalib/qtjava/TQWidgetItem.cpp @@ -0,0 +1,119 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +class TQWidgetItemJBridge : public TQWidgetItem +{ +public: + TQWidgetItemJBridge(TQWidget* arg1) : TQWidgetItem(arg1) {}; + ~TQWidgetItemJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidgetItem_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QWidgetItem_finalize(env, obj); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWidgetItem_expanding(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQWidgetItem*) QtSupport::getQt(env, obj))->expanding(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidgetItem_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQLayoutItem*)(TQWidgetItem*)QtSupport::getQt(env, obj))->layout() == 0 && ((TQLayoutItem*)(TQWidgetItem*)QtSupport::getQt(env, obj))->widget() == 0 && ((TQLayoutItem*)(TQWidgetItem*)QtSupport::getQt(env, obj))->spacerItem() == 0) { + delete (TQWidgetItem*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidgetItem_geometry(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQWidgetItem*) QtSupport::getQt(env, obj))->geometry()), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidgetItem_hasHeightForWidth(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQWidgetItem*) QtSupport::getQt(env, obj))->hasHeightForWidth(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWidgetItem_heightForWidth(JNIEnv* env, jobject obj, jint arg1) +{ + jint xret = (jint) ((TQWidgetItem*) QtSupport::getQt(env, obj))->heightForWidth((int) arg1); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidgetItem_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidgetItem_isEmpty(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQWidgetItem*) QtSupport::getQt(env, obj))->isEmpty(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidgetItem_maximumSize(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQWidgetItem*) QtSupport::getQt(env, obj))->maximumSize()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidgetItem_minimumSize(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQWidgetItem*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidgetItem_newTQWidgetItem(JNIEnv* env, jobject obj, jobject w) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQWidgetItemJBridge((TQWidget*) QtSupport::getQt(env, w))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidgetItem_setGeometry(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidgetItem*) QtSupport::getQt(env, obj))->setGeometry((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidgetItem_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQWidgetItem*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidgetItem_widget(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidgetItem*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget"); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQWidgetItem.h b/qtjava/javalib/qtjava/TQWidgetItem.h new file mode 100644 index 00000000..5729cecd --- /dev/null +++ b/qtjava/javalib/qtjava/TQWidgetItem.h @@ -0,0 +1,32 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QWidgetItem__ +#define __org_kde_qt_QWidgetItem__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetItem_newTQWidgetItem (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidgetItem_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidgetItem_minimumSize (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidgetItem_maximumSize (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidgetItem_expanding (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidgetItem_isEmpty (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetItem_setGeometry (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidgetItem_geometry (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidgetItem_widget (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidgetItem_hasHeightForWidth (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidgetItem_heightForWidth (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetItem_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetItem_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidgetItem_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QWidgetItem__ */ diff --git a/qtjava/javalib/qtjava/TQWidgetStack.cpp b/qtjava/javalib/qtjava/TQWidgetStack.cpp new file mode 100644 index 00000000..2f3f07bf --- /dev/null +++ b/qtjava/javalib/qtjava/TQWidgetStack.cpp @@ -0,0 +1,601 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include + +#include +#include + +class TQWidgetStackJBridge : public TQWidgetStack +{ +public: + TQWidgetStackJBridge(TQWidget* arg1,const char* arg2) : TQWidgetStack(arg1,arg2) {}; + TQWidgetStackJBridge(TQWidget* arg1) : TQWidgetStack(arg1) {}; + TQWidgetStackJBridge() : TQWidgetStack() {}; + TQWidgetStackJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQWidgetStack(arg1,arg2,arg3) {}; + void protected_frameChanged() { + TQWidgetStack::frameChanged(); + return; + } + void protected_resizeEvent(TQResizeEvent* arg1) { + TQWidgetStack::resizeEvent(arg1); + return; + } + void protected_setChildGeometries() { + TQWidgetStack::setChildGeometries(); + return; + } + void protected_childEvent(TQChildEvent* arg1) { + TQWidgetStack::childEvent(arg1); + return; + } + ~TQWidgetStackJBridge() {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")) { + TQWidgetStack::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 setChildGeometries() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWidgetStack","setChildGeometries")) { + TQWidgetStack::setChildGeometries(); + } + return; + } + void setActiveWindow() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWidgetStack","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.qt.TQWidgetStack","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.qt.TQWidgetStack","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.qt.TQWidgetStack","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.qt.TQWidgetStack","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWidgetStack","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")) { + TQWidgetStack::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.qt.TQWidgetStack","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWidgetStack","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.qt.TQWidgetStack","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.qt.TQWidgetStack",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.qt.TQWidgetStack","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWidgetStack_addWidget__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1) +{ + jint xret = (jint) ((TQWidgetStack*) QtSupport::getQt(env, obj))->addWidget((TQWidget*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWidgetStack_addWidget__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2) +{ + jint xret = (jint) ((TQWidgetStack*) QtSupport::getQt(env, obj))->addWidget((TQWidget*) QtSupport::getQt(env, arg1), (int) arg2); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidgetStack_childEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidgetStackJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TQChildEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QWidgetStack_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQWidgetStack*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidgetStack_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QWidgetStack_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidgetStack_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQWidgetStack*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQWidgetStack*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidgetStack_frameChanged(JNIEnv* env, jobject obj) +{ + ((TQWidgetStackJBridge*) QtSupport::getQt(env, obj))->protected_frameChanged(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWidgetStack_id(JNIEnv* env, jobject obj, jobject arg1) +{ + jint xret = (jint) ((TQWidgetStack*) QtSupport::getQt(env, obj))->id((TQWidget*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWidgetStack_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidgetStack_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidgetStack*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidgetStack_minimumSizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQWidgetStack*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidgetStack_newTQWidgetStack__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQWidgetStackJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidgetStack_newTQWidgetStack__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQWidgetStackJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidgetStack_newTQWidgetStack__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 TQWidgetStackJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidgetStack_newTQWidgetStack__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 TQWidgetStackJBridge((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_qt_QWidgetStack_raiseWidget__I(JNIEnv* env, jobject obj, jint arg1) +{ + ((TQWidgetStack*) QtSupport::getQt(env, obj))->raiseWidget((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidgetStack_raiseWidget__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidgetStack*) QtSupport::getQt(env, obj))->raiseWidget((TQWidget*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidgetStack_removeWidget(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidgetStack*) QtSupport::getQt(env, obj))->removeWidget((TQWidget*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidgetStack_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidgetStackJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidgetStack_setChildGeometries(JNIEnv* env, jobject obj) +{ + ((TQWidgetStackJBridge*) QtSupport::getQt(env, obj))->protected_setChildGeometries(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidgetStack_setFrameRect(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWidgetStack*) QtSupport::getQt(env, obj))->setFrameRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWidgetStack_show(JNIEnv* env, jobject obj) +{ + ((TQWidgetStack*) QtSupport::getQt(env, obj))->show(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidgetStack_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQWidgetStack*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QWidgetStack_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQWidgetStackJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QWidgetStack_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQWidgetStackJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidgetStack_visibleWidget(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidgetStack*) QtSupport::getQt(env, obj))->visibleWidget(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWidgetStack_widget(JNIEnv* env, jobject obj, jint arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidgetStack*) QtSupport::getQt(env, obj))->widget((int) arg1), "org.kde.qt.TQWidget"); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQWidgetStack.h b/qtjava/javalib/qtjava/TQWidgetStack.h new file mode 100644 index 00000000..7e783e56 --- /dev/null +++ b/qtjava/javalib/qtjava/TQWidgetStack.h @@ -0,0 +1,45 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QWidgetStack__ +#define __org_kde_qt_QWidgetStack__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidgetStack_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWidgetStack_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_newTQWidgetStack__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_newTQWidgetStack__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_newTQWidgetStack__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_newTQWidgetStack__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidgetStack_addWidget__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidgetStack_addWidget__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_removeWidget (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidgetStack_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidgetStack_minimumSizeHint (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_show (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidgetStack_widget (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWidgetStack_id (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidgetStack_visibleWidget (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_setFrameRect (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_raiseWidget__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_raiseWidget__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWidgetStack_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWidgetStack_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_frameChanged (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_setChildGeometries (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_childEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidgetStack_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QWidgetStack__ */ diff --git a/qtjava/javalib/qtjava/TQWizard.cpp b/qtjava/javalib/qtjava/TQWizard.cpp new file mode 100644 index 00000000..6b83e296 --- /dev/null +++ b/qtjava/javalib/qtjava/TQWizard.cpp @@ -0,0 +1,750 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include + +#include +#include + +class TQWizardJBridge : public TQWizard +{ +public: + TQWizardJBridge(TQWidget* arg1,const char* arg2,bool arg3,TQt::WFlags arg4) : TQWizard(arg1,arg2,arg3,arg4) {}; + TQWizardJBridge(TQWidget* arg1,const char* arg2,bool arg3) : TQWizard(arg1,arg2,arg3) {}; + TQWizardJBridge(TQWidget* arg1,const char* arg2) : TQWizard(arg1,arg2) {}; + TQWizardJBridge(TQWidget* arg1) : TQWizard(arg1) {}; + TQWizardJBridge() : TQWizard() {}; + void protected_layOutButtonRow(TQHBoxLayout* arg1) { + TQWizard::layOutButtonRow(arg1); + return; + } + void protected_layOutTitleRow(TQHBoxLayout* arg1,const TQString& arg2) { + TQWizard::layOutTitleRow(arg1,arg2); + return; + } + void protected_back() { + TQWizard::back(); + return; + } + void protected_next() { + TQWizard::next(); + return; + } + void protected_help() { + TQWizard::help(); + return; + } + ~TQWizardJBridge() {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.qt.TQWizard","accept")) { + TQDialog::accept(); + } + return; + } + void setActiveWindow() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWizard","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.qt.TQWizard","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.qt.TQWizard","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.qt.TQWizard","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.qt.TQWizard","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWizard","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.qt.TQWizard","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.qt.TQWizard","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWizard","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.qt.TQWizard","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.qt.TQWizard","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.qt.TQWizard","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.qt.TQWizard","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWizard_addPage(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) +{ +static TQString* _qstring_arg2 = 0; + ((TQWizard*) QtSupport::getQt(env, obj))->addPage((TQWidget*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWizard_appropriate(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TQWizard*) QtSupport::getQt(env, obj))->appropriate((TQWidget*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWizard_backButton(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWizard*) QtSupport::getQt(env, obj))->backButton(), "org.kde.qt.TQPushButton"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWizard_back(JNIEnv* env, jobject obj) +{ + ((TQWizardJBridge*) QtSupport::getQt(env, obj))->protected_back(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWizard_cancelButton(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWizard*) QtSupport::getQt(env, obj))->cancelButton(), "org.kde.qt.TQPushButton"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QWizard_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQWizard*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWizard_currentPage(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWizard*) QtSupport::getQt(env, obj))->currentPage(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWizard_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QWizard_finalize(env, obj); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWizard_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) +{ + jboolean xret = (jboolean) ((TQWizard*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWizard_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQWizard*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQWizard*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWizard_finishButton(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWizard*) QtSupport::getQt(env, obj))->finishButton(), "org.kde.qt.TQPushButton"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWizard_helpButton(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWizard*) QtSupport::getQt(env, obj))->helpButton(), "org.kde.qt.TQPushButton"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWizard_help(JNIEnv* env, jobject obj) +{ + ((TQWizardJBridge*) QtSupport::getQt(env, obj))->protected_help(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWizard_indexOf(JNIEnv* env, jobject obj, jobject arg1) +{ + jint xret = (jint) ((TQWizard*) QtSupport::getQt(env, obj))->indexOf((TQWidget*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWizard_insertPage(JNIEnv* env, jobject obj, jobject arg1, jstring arg2, jint arg3) +{ +static TQString* _qstring_arg2 = 0; + ((TQWizard*) QtSupport::getQt(env, obj))->insertPage((TQWidget*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (int) arg3); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWizard_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWizard_layOutButtonRow(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWizardJBridge*) QtSupport::getQt(env, obj))->protected_layOutButtonRow((TQHBoxLayout*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWizard_layOutTitleRow(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) +{ +static TQString* _qstring_arg2 = 0; + ((TQWizardJBridge*) QtSupport::getQt(env, obj))->protected_layOutTitleRow((TQHBoxLayout*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWizard_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWizard*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWizard_newTQWizard__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQWizardJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWizard_newTQWizard__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQWizardJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWizard_newTQWizard__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 TQWizardJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWizard_newTQWizard__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 TQWizardJBridge((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_qt_QWizard_newTQWizard__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 TQWizardJBridge((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 jobject JNICALL +Java_org_kde_qt_QWizard_nextButton(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWizard*) QtSupport::getQt(env, obj))->nextButton(), "org.kde.qt.TQPushButton"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWizard_next(JNIEnv* env, jobject obj) +{ + ((TQWizardJBridge*) QtSupport::getQt(env, obj))->protected_next(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QWizard_pageCount(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQWizard*) QtSupport::getQt(env, obj))->pageCount(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWizard_page(JNIEnv* env, jobject obj, jint arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWizard*) QtSupport::getQt(env, obj))->page((int) arg1), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWizard_removePage(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWizard*) QtSupport::getQt(env, obj))->removePage((TQWidget*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWizard_setAppropriate(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) +{ + ((TQWizard*) QtSupport::getQt(env, obj))->setAppropriate((TQWidget*) QtSupport::getQt(env, arg1), (bool) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWizard_setBackEnabled(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) +{ + ((TQWizard*) QtSupport::getQt(env, obj))->setBackEnabled((TQWidget*) QtSupport::getQt(env, arg1), (bool) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWizard_setFinishEnabled(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) +{ + ((TQWizard*) QtSupport::getQt(env, obj))->setFinishEnabled((TQWidget*) QtSupport::getQt(env, arg1), (bool) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWizard_setFinish(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) +{ + ((TQWizard*) QtSupport::getQt(env, obj))->setFinish((TQWidget*) QtSupport::getQt(env, arg1), (bool) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWizard_setFont(JNIEnv* env, jobject obj, jobject font) +{ + ((TQWizard*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWizard_setHelpEnabled(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) +{ + ((TQWizard*) QtSupport::getQt(env, obj))->setHelpEnabled((TQWidget*) QtSupport::getQt(env, arg1), (bool) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWizard_setNextEnabled(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) +{ + ((TQWizard*) QtSupport::getQt(env, obj))->setNextEnabled((TQWidget*) QtSupport::getQt(env, arg1), (bool) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWizard_setTitleFont(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWizard*) QtSupport::getQt(env, obj))->setTitleFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWizard_setTitle(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) +{ +static TQString* _qstring_arg2 = 0; + ((TQWizard*) QtSupport::getQt(env, obj))->setTitle((TQWidget*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWizard_showPage(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWizard*) QtSupport::getQt(env, obj))->showPage((TQWidget*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWizard_show(JNIEnv* env, jobject obj) +{ + ((TQWizard*) QtSupport::getQt(env, obj))->show(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWizard_titleFont(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((TQWizard*) QtSupport::getQt(env, obj))->titleFont()), "org.kde.qt.TQFont", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QWizard_title(JNIEnv* env, jobject obj, jobject arg1) +{ + TQString _qstring; + _qstring = ((TQWizard*) QtSupport::getQt(env, obj))->title((TQWidget*) QtSupport::getQt(env, arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QWizard_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQWizardJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QWizard_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQWizardJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQWizard.h b/qtjava/javalib/qtjava/TQWizard.h new file mode 100644 index 00000000..c4b7ef8b --- /dev/null +++ b/qtjava/javalib/qtjava/TQWizard.h @@ -0,0 +1,62 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QWizard__ +#define __org_kde_qt_QWizard__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWizard_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWizard_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_newTQWizard__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZI (JNIEnv *env, jobject, jobject, jstring, jboolean, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_newTQWizard__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_newTQWizard__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_newTQWizard__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_newTQWizard__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_show (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_setFont (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_addPage (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_insertPage (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_removePage (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWizard_title (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_setTitle (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWizard_titleFont (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_setTitleFont (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_showPage (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWizard_currentPage (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWizard_page (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWizard_pageCount (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QWizard_indexOf (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWizard_appropriate (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_setAppropriate (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWizard_backButton (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWizard_nextButton (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWizard_finishButton (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWizard_cancelButton (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWizard_helpButton (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWizard_eventFilter (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_setBackEnabled (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_setNextEnabled (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_setFinishEnabled (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_setHelpEnabled (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_setFinish (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWizard_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWizard_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_layOutButtonRow (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_layOutTitleRow (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_back (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_next (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_help (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWizard_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QWizard__ */ diff --git a/qtjava/javalib/qtjava/TQWorkspace.cpp b/qtjava/javalib/qtjava/TQWorkspace.cpp new file mode 100644 index 00000000..14c30d94 --- /dev/null +++ b/qtjava/javalib/qtjava/TQWorkspace.cpp @@ -0,0 +1,608 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +class TQWorkspaceJBridge : public TQWorkspace +{ +public: + TQWorkspaceJBridge(TQWidget* arg1,const char* arg2) : TQWorkspace(arg1,arg2) {}; + TQWorkspaceJBridge(TQWidget* arg1) : TQWorkspace(arg1) {}; + TQWorkspaceJBridge() : TQWorkspace() {}; + void protected_styleChange(TQStyle& arg1) { + TQWorkspace::styleChange(arg1); + return; + } + void protected_childEvent(TQChildEvent* arg1) { + TQWorkspace::childEvent(arg1); + return; + } + void protected_resizeEvent(TQResizeEvent* arg1) { + TQWorkspace::resizeEvent(arg1); + return; + } + bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { + return (bool) TQWorkspace::eventFilter(arg1,arg2); + } + void protected_showEvent(TQShowEvent* arg1) { + TQWorkspace::showEvent(arg1); + return; + } + void protected_hideEvent(TQHideEvent* arg1) { + TQWorkspace::hideEvent(arg1); + return; + } + void protected_wheelEvent(TQWheelEvent* arg1) { + TQWorkspace::wheelEvent(arg1); + return; + } + ~TQWorkspaceJBridge() {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")) { + TQWorkspace::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.qt.TQWorkspace","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.qt.TQWorkspace","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.qt.TQWorkspace","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.qt.TQWorkspace","hide")) { + TQWidget::hide(); + } + 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.qt.TQWorkspace","unsetCursor")) { + TQWidget::unsetCursor(); + } + return; + } + void hideEvent(TQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { + TQWorkspace::hideEvent(arg1); + } + return; + } + void moveEvent(TQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { + TQWidget::moveEvent(arg1); + } + return; + } + void polish() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWorkspace","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWorkspace","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")) { + TQWorkspace::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 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")) { + TQWorkspace::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.qt.TQWorkspace","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWorkspace","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.qt.TQWorkspace","adjustSize")) { + TQWidget::adjustSize(); + } + return; + } + void wheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQWorkspace::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.qt.TQWorkspace","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWorkspace_activateNextWindow(JNIEnv* env, jobject obj) +{ + ((TQWorkspace*) QtSupport::getQt(env, obj))->activateNextWindow(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWorkspace_activatePrevWindow(JNIEnv* env, jobject obj) +{ + ((TQWorkspace*) QtSupport::getQt(env, obj))->activatePrevWindow(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWorkspace_activeWindow(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWorkspace*) QtSupport::getQt(env, obj))->activeWindow(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWorkspace_cascade(JNIEnv* env, jobject obj) +{ + ((TQWorkspace*) QtSupport::getQt(env, obj))->cascade(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWorkspace_childEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWorkspaceJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TQChildEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QWorkspace_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TQWorkspace*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWorkspace_closeActiveWindow(JNIEnv* env, jobject obj) +{ + ((TQWorkspace*) QtSupport::getQt(env, obj))->closeActiveWindow(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWorkspace_closeAllWindows(JNIEnv* env, jobject obj) +{ + ((TQWorkspace*) QtSupport::getQt(env, obj))->closeAllWindows(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWorkspace_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QWorkspace_finalize(env, obj); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWorkspace_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) +{ + jboolean xret = (jboolean) ((TQWorkspaceJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWorkspace_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQWorkspace*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQWorkspace*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWorkspace_hideEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQWorkspaceJBridge*) QtSupport::getQt(env, obj))->protected_hideEvent((TQHideEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWorkspace_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWorkspace_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWorkspace*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWorkspace_newTQWorkspace__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQWorkspaceJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWorkspace_newTQWorkspace__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQWorkspaceJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWorkspace_newTQWorkspace__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 TQWorkspaceJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWorkspace_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWorkspaceJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QWorkspace_scrollBarsEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQWorkspace*) QtSupport::getQt(env, obj))->scrollBarsEnabled(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWorkspace_setPaletteBackgroundColor(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWorkspace*) QtSupport::getQt(env, obj))->setPaletteBackgroundColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWorkspace_setPaletteBackgroundPixmap(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWorkspace*) QtSupport::getQt(env, obj))->setPaletteBackgroundPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWorkspace_setScrollBarsEnabled(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TQWorkspace*) QtSupport::getQt(env, obj))->setScrollBarsEnabled((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWorkspace_showEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQWorkspaceJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWorkspace_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQWorkspace*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWorkspace_styleChange(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TQWorkspaceJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWorkspace_tile(JNIEnv* env, jobject obj) +{ + ((TQWorkspace*) QtSupport::getQt(env, obj))->tile(); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QWorkspace_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; + _qstring = TQWorkspaceJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QWorkspace_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +{ + TQString _qstring; + (void) cls; +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQWorkspaceJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QWorkspace_wheelEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TQWorkspaceJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWorkspace_windowList__(JNIEnv* env, jobject obj) +{ + TQWidgetList _qlist; + _qlist = ((TQWorkspace*) QtSupport::getQt(env, obj))->windowList(); + return (jobject) QtSupport::arrayWithTQWidgetList(env, (TQWidgetList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QWorkspace_windowList__I(JNIEnv* env, jobject obj, jint order) +{ + TQWidgetList _qlist; + _qlist = ((TQWorkspace*) QtSupport::getQt(env, obj))->windowList((TQWorkspace::WindowOrder) order); + return (jobject) QtSupport::arrayWithTQWidgetList(env, (TQWidgetList*) &_qlist); +} + diff --git a/qtjava/javalib/qtjava/TQWorkspace.h b/qtjava/javalib/qtjava/TQWorkspace.h new file mode 100644 index 00000000..3a88baac --- /dev/null +++ b/qtjava/javalib/qtjava/TQWorkspace.h @@ -0,0 +1,49 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QWorkspace__ +#define __org_kde_qt_QWorkspace__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWorkspace_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWorkspace_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_newTQWorkspace__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_newTQWorkspace__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_newTQWorkspace__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWorkspace_activeWindow (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWorkspace_windowList__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWorkspace_windowList__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QWorkspace_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWorkspace_scrollBarsEnabled (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_setScrollBarsEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_setPaletteBackgroundColor (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_setPaletteBackgroundPixmap (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_cascade (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_tile (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_closeActiveWindow (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_closeAllWindows (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_activateNextWindow (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_activatePrevWindow (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWorkspace_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QWorkspace_tr__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_styleChange (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_childEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWorkspace_eventFilter (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_showEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_hideEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_wheelEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWorkspace_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QWorkspace__ */ diff --git a/qtjava/javalib/qtjava/TQXmlAttributes.cpp b/qtjava/javalib/qtjava/TQXmlAttributes.cpp new file mode 100644 index 00000000..b82a26c0 --- /dev/null +++ b/qtjava/javalib/qtjava/TQXmlAttributes.cpp @@ -0,0 +1,174 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQXmlAttributesJBridge : public TQXmlAttributes +{ +public: + TQXmlAttributesJBridge() : TQXmlAttributes() {}; + ~TQXmlAttributesJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlAttributes_append(JNIEnv* env, jobject obj, jstring qName, jstring uri, jstring localPart, jstring value) +{ +static TQString* _qstring_qName = 0; +static TQString* _qstring_uri = 0; +static TQString* _qstring_localPart = 0; +static TQString* _qstring_value = 0; + ((TQXmlAttributes*) QtSupport::getQt(env, obj))->append((const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName), (const TQString&)*(TQString*) QtSupport::toTQString(env, uri, &_qstring_uri), (const TQString&)*(TQString*) QtSupport::toTQString(env, localPart, &_qstring_localPart), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlAttributes_clear(JNIEnv* env, jobject obj) +{ + ((TQXmlAttributes*) QtSupport::getQt(env, obj))->clear(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QXmlAttributes_count(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQXmlAttributes*) QtSupport::getQt(env, obj))->count(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlAttributes_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QXmlAttributes_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlAttributes_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQXmlAttributes*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QXmlAttributes_index__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring qName) +{ +static TQString* _qstring_qName = 0; + jint xret = (jint) ((TQXmlAttributes*) QtSupport::getQt(env, obj))->index((const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QXmlAttributes_index__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring uri, jstring localPart) +{ +static TQString* _qstring_uri = 0; +static TQString* _qstring_localPart = 0; + jint xret = (jint) ((TQXmlAttributes*) QtSupport::getQt(env, obj))->index((const TQString&)*(TQString*) QtSupport::toTQString(env, uri, &_qstring_uri), (const TQString&)*(TQString*) QtSupport::toTQString(env, localPart, &_qstring_localPart)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlAttributes_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QXmlAttributes_length(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQXmlAttributes*) QtSupport::getQt(env, obj))->length(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QXmlAttributes_localName(JNIEnv* env, jobject obj, jint index) +{ + TQString _qstring; + _qstring = ((TQXmlAttributes*) QtSupport::getQt(env, obj))->localName((int) index); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlAttributes_newTQXmlAttributes(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQXmlAttributesJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QXmlAttributes_qName(JNIEnv* env, jobject obj, jint index) +{ + TQString _qstring; + _qstring = ((TQXmlAttributes*) QtSupport::getQt(env, obj))->qName((int) index); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QXmlAttributes_type__I(JNIEnv* env, jobject obj, jint index) +{ + TQString _qstring; + _qstring = ((TQXmlAttributes*) QtSupport::getQt(env, obj))->type((int) index); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QXmlAttributes_type__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring qName) +{ + TQString _qstring; +static TQString* _qstring_qName = 0; + _qstring = ((TQXmlAttributes*) QtSupport::getQt(env, obj))->type((const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QXmlAttributes_type__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring uri, jstring localName) +{ + TQString _qstring; +static TQString* _qstring_uri = 0; +static TQString* _qstring_localName = 0; + _qstring = ((TQXmlAttributes*) QtSupport::getQt(env, obj))->type((const TQString&)*(TQString*) QtSupport::toTQString(env, uri, &_qstring_uri), (const TQString&)*(TQString*) QtSupport::toTQString(env, localName, &_qstring_localName)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QXmlAttributes_uri(JNIEnv* env, jobject obj, jint index) +{ + TQString _qstring; + _qstring = ((TQXmlAttributes*) QtSupport::getQt(env, obj))->uri((int) index); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QXmlAttributes_value__I(JNIEnv* env, jobject obj, jint index) +{ + TQString _qstring; + _qstring = ((TQXmlAttributes*) QtSupport::getQt(env, obj))->value((int) index); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QXmlAttributes_value__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring qName) +{ + TQString _qstring; +static TQString* _qstring_qName = 0; + _qstring = ((TQXmlAttributes*) QtSupport::getQt(env, obj))->value((const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QXmlAttributes_value__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring uri, jstring localName) +{ + TQString _qstring; +static TQString* _qstring_uri = 0; +static TQString* _qstring_localName = 0; + _qstring = ((TQXmlAttributes*) QtSupport::getQt(env, obj))->value((const TQString&)*(TQString*) QtSupport::toTQString(env, uri, &_qstring_uri), (const TQString&)*(TQString*) QtSupport::toTQString(env, localName, &_qstring_localName)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQXmlAttributes.h b/qtjava/javalib/qtjava/TQXmlAttributes.h new file mode 100644 index 00000000..d29d02f5 --- /dev/null +++ b/qtjava/javalib/qtjava/TQXmlAttributes.h @@ -0,0 +1,37 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QXmlAttributes__ +#define __org_kde_qt_QXmlAttributes__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlAttributes_newTQXmlAttributes (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QXmlAttributes_index__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QXmlAttributes_index__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QXmlAttributes_length (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QXmlAttributes_count (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlAttributes_localName (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlAttributes_qName (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlAttributes_uri (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlAttributes_type__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlAttributes_type__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlAttributes_type__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlAttributes_value__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlAttributes_value__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlAttributes_value__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlAttributes_clear (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlAttributes_append (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlAttributes_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlAttributes_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlAttributes_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QXmlAttributes__ */ diff --git a/qtjava/javalib/qtjava/TQXmlContentHandler.cpp b/qtjava/javalib/qtjava/TQXmlContentHandler.cpp new file mode 100644 index 00000000..fb8aa035 --- /dev/null +++ b/qtjava/javalib/qtjava/TQXmlContentHandler.cpp @@ -0,0 +1,106 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlContentHandler_characters(JNIEnv* env, jobject obj, jstring ch) +{ +static TQString* _qstring_ch = 0; + jboolean xret = (jboolean) ((TQXmlContentHandler*) QtSupport::getQt(env, obj))->characters((const TQString&)*(TQString*) QtSupport::toTQString(env, ch, &_qstring_ch)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlContentHandler_endDocument(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQXmlContentHandler*) QtSupport::getQt(env, obj))->endDocument(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlContentHandler_endElement(JNIEnv* env, jobject obj, jstring namespaceURI, jstring localName, jstring qName) +{ +static TQString* _qstring_namespaceURI = 0; +static TQString* _qstring_localName = 0; +static TQString* _qstring_qName = 0; + jboolean xret = (jboolean) ((TQXmlContentHandler*) QtSupport::getQt(env, obj))->endElement((const TQString&)*(TQString*) QtSupport::toTQString(env, namespaceURI, &_qstring_namespaceURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, localName, &_qstring_localName), (const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlContentHandler_endPrefixMapping(JNIEnv* env, jobject obj, jstring prefix) +{ +static TQString* _qstring_prefix = 0; + jboolean xret = (jboolean) ((TQXmlContentHandler*) QtSupport::getQt(env, obj))->endPrefixMapping((const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix)); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QXmlContentHandler_errorString(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQXmlContentHandler*) QtSupport::getQt(env, obj))->errorString(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlContentHandler_ignorableWhitespace(JNIEnv* env, jobject obj, jstring ch) +{ +static TQString* _qstring_ch = 0; + jboolean xret = (jboolean) ((TQXmlContentHandler*) QtSupport::getQt(env, obj))->ignorableWhitespace((const TQString&)*(TQString*) QtSupport::toTQString(env, ch, &_qstring_ch)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlContentHandler_processingInstruction(JNIEnv* env, jobject obj, jstring target, jstring data) +{ +static TQString* _qstring_target = 0; +static TQString* _qstring_data = 0; + jboolean xret = (jboolean) ((TQXmlContentHandler*) QtSupport::getQt(env, obj))->processingInstruction((const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target), (const TQString&)*(TQString*) QtSupport::toTQString(env, data, &_qstring_data)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlContentHandler_setDocumentLocator(JNIEnv* env, jobject obj, jobject locator) +{ + ((TQXmlContentHandler*) QtSupport::getQt(env, obj))->setDocumentLocator((TQXmlLocator*) QtSupport::getQt(env, locator)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlContentHandler_skippedEntity(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TQXmlContentHandler*) QtSupport::getQt(env, obj))->skippedEntity((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlContentHandler_startDocument(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQXmlContentHandler*) QtSupport::getQt(env, obj))->startDocument(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlContentHandler_startElement(JNIEnv* env, jobject obj, jstring namespaceURI, jstring localName, jstring qName, jobject atts) +{ +static TQString* _qstring_namespaceURI = 0; +static TQString* _qstring_localName = 0; +static TQString* _qstring_qName = 0; + jboolean xret = (jboolean) ((TQXmlContentHandler*) QtSupport::getQt(env, obj))->startElement((const TQString&)*(TQString*) QtSupport::toTQString(env, namespaceURI, &_qstring_namespaceURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, localName, &_qstring_localName), (const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName), (const TQXmlAttributes&)*(const TQXmlAttributes*) QtSupport::getQt(env, atts)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlContentHandler_startPrefixMapping(JNIEnv* env, jobject obj, jstring prefix, jstring uri) +{ +static TQString* _qstring_prefix = 0; +static TQString* _qstring_uri = 0; + jboolean xret = (jboolean) ((TQXmlContentHandler*) QtSupport::getQt(env, obj))->startPrefixMapping((const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix), (const TQString&)*(TQString*) QtSupport::toTQString(env, uri, &_qstring_uri)); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQXmlContentHandler.h b/qtjava/javalib/qtjava/TQXmlContentHandler.h new file mode 100644 index 00000000..76bbf0d4 --- /dev/null +++ b/qtjava/javalib/qtjava/TQXmlContentHandler.h @@ -0,0 +1,30 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QXmlContentHandler__ +#define __org_kde_qt_QXmlContentHandler__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlContentHandler_setDocumentLocator (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlContentHandler_startDocument (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlContentHandler_endDocument (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlContentHandler_startPrefixMapping (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlContentHandler_endPrefixMapping (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlContentHandler_startElement (JNIEnv *env, jobject, jstring, jstring, jstring, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlContentHandler_endElement (JNIEnv *env, jobject, jstring, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlContentHandler_characters (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlContentHandler_ignorableWhitespace (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlContentHandler_processingInstruction (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlContentHandler_skippedEntity (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlContentHandler_errorString (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QXmlContentHandler__ */ diff --git a/qtjava/javalib/qtjava/TQXmlDTDHandler.cpp b/qtjava/javalib/qtjava/TQXmlDTDHandler.cpp new file mode 100644 index 00000000..e78aa84d --- /dev/null +++ b/qtjava/javalib/qtjava/TQXmlDTDHandler.cpp @@ -0,0 +1,36 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QXmlDTDHandler_errorString(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQXmlDTDHandler*) QtSupport::getQt(env, obj))->errorString(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlDTDHandler_notationDecl(JNIEnv* env, jobject obj, jstring name, jstring publicId, jstring systemId) +{ +static TQString* _qstring_name = 0; +static TQString* _qstring_publicId = 0; +static TQString* _qstring_systemId = 0; + jboolean xret = (jboolean) ((TQXmlDTDHandler*) QtSupport::getQt(env, obj))->notationDecl((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, publicId, &_qstring_publicId), (const TQString&)*(TQString*) QtSupport::toTQString(env, systemId, &_qstring_systemId)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlDTDHandler_unparsedEntityDecl(JNIEnv* env, jobject obj, jstring name, jstring publicId, jstring systemId, jstring notationName) +{ +static TQString* _qstring_name = 0; +static TQString* _qstring_publicId = 0; +static TQString* _qstring_systemId = 0; +static TQString* _qstring_notationName = 0; + jboolean xret = (jboolean) ((TQXmlDTDHandler*) QtSupport::getQt(env, obj))->unparsedEntityDecl((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, publicId, &_qstring_publicId), (const TQString&)*(TQString*) QtSupport::toTQString(env, systemId, &_qstring_systemId), (const TQString&)*(TQString*) QtSupport::toTQString(env, notationName, &_qstring_notationName)); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQXmlDTDHandler.h b/qtjava/javalib/qtjava/TQXmlDTDHandler.h new file mode 100644 index 00000000..1538707a --- /dev/null +++ b/qtjava/javalib/qtjava/TQXmlDTDHandler.h @@ -0,0 +1,21 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QXmlDTDHandler__ +#define __org_kde_qt_QXmlDTDHandler__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDTDHandler_notationDecl (JNIEnv *env, jobject, jstring, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDTDHandler_unparsedEntityDecl (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlDTDHandler_errorString (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QXmlDTDHandler__ */ diff --git a/qtjava/javalib/qtjava/TQXmlDeclHandler.cpp b/qtjava/javalib/qtjava/TQXmlDeclHandler.cpp new file mode 100644 index 00000000..78f82ae4 --- /dev/null +++ b/qtjava/javalib/qtjava/TQXmlDeclHandler.cpp @@ -0,0 +1,46 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlDeclHandler_attributeDecl(JNIEnv* env, jobject obj, jstring eName, jstring aName, jstring type, jstring valueDefault, jstring value) +{ +static TQString* _qstring_eName = 0; +static TQString* _qstring_aName = 0; +static TQString* _qstring_type = 0; +static TQString* _qstring_valueDefault = 0; +static TQString* _qstring_value = 0; + jboolean xret = (jboolean) ((TQXmlDeclHandler*) QtSupport::getQt(env, obj))->attributeDecl((const TQString&)*(TQString*) QtSupport::toTQString(env, eName, &_qstring_eName), (const TQString&)*(TQString*) QtSupport::toTQString(env, aName, &_qstring_aName), (const TQString&)*(TQString*) QtSupport::toTQString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, valueDefault, &_qstring_valueDefault), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QXmlDeclHandler_errorString(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQXmlDeclHandler*) QtSupport::getQt(env, obj))->errorString(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlDeclHandler_externalEntityDecl(JNIEnv* env, jobject obj, jstring name, jstring publicId, jstring systemId) +{ +static TQString* _qstring_name = 0; +static TQString* _qstring_publicId = 0; +static TQString* _qstring_systemId = 0; + jboolean xret = (jboolean) ((TQXmlDeclHandler*) QtSupport::getQt(env, obj))->externalEntityDecl((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, publicId, &_qstring_publicId), (const TQString&)*(TQString*) QtSupport::toTQString(env, systemId, &_qstring_systemId)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlDeclHandler_internalEntityDecl(JNIEnv* env, jobject obj, jstring name, jstring value) +{ +static TQString* _qstring_name = 0; +static TQString* _qstring_value = 0; + jboolean xret = (jboolean) ((TQXmlDeclHandler*) QtSupport::getQt(env, obj))->internalEntityDecl((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQXmlDeclHandler.h b/qtjava/javalib/qtjava/TQXmlDeclHandler.h new file mode 100644 index 00000000..d09b6816 --- /dev/null +++ b/qtjava/javalib/qtjava/TQXmlDeclHandler.h @@ -0,0 +1,22 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QXmlDeclHandler__ +#define __org_kde_qt_QXmlDeclHandler__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDeclHandler_attributeDecl (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDeclHandler_internalEntityDecl (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDeclHandler_externalEntityDecl (JNIEnv *env, jobject, jstring, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlDeclHandler_errorString (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QXmlDeclHandler__ */ diff --git a/qtjava/javalib/qtjava/TQXmlDefaultHandler.cpp b/qtjava/javalib/qtjava/TQXmlDefaultHandler.cpp new file mode 100644 index 00000000..0fcaf934 --- /dev/null +++ b/qtjava/javalib/qtjava/TQXmlDefaultHandler.cpp @@ -0,0 +1,283 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQXmlDefaultHandlerJBridge : public TQXmlDefaultHandler +{ +public: + TQXmlDefaultHandlerJBridge() : TQXmlDefaultHandler() {}; + ~TQXmlDefaultHandlerJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlDefaultHandler_attributeDecl(JNIEnv* env, jobject obj, jstring eName, jstring aName, jstring type, jstring valueDefault, jstring value) +{ +static TQString* _qstring_eName = 0; +static TQString* _qstring_aName = 0; +static TQString* _qstring_type = 0; +static TQString* _qstring_valueDefault = 0; +static TQString* _qstring_value = 0; + jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->attributeDecl((const TQString&)*(TQString*) QtSupport::toTQString(env, eName, &_qstring_eName), (const TQString&)*(TQString*) QtSupport::toTQString(env, aName, &_qstring_aName), (const TQString&)*(TQString*) QtSupport::toTQString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, valueDefault, &_qstring_valueDefault), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlDefaultHandler_characters(JNIEnv* env, jobject obj, jstring ch) +{ +static TQString* _qstring_ch = 0; + jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->characters((const TQString&)*(TQString*) QtSupport::toTQString(env, ch, &_qstring_ch)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlDefaultHandler_comment(JNIEnv* env, jobject obj, jstring ch) +{ +static TQString* _qstring_ch = 0; + jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->comment((const TQString&)*(TQString*) QtSupport::toTQString(env, ch, &_qstring_ch)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlDefaultHandler_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QXmlDefaultHandler_finalize(env, obj); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlDefaultHandler_endCDATA(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->endCDATA(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlDefaultHandler_endDTD(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->endDTD(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlDefaultHandler_endDocument(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->endDocument(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlDefaultHandler_endElement(JNIEnv* env, jobject obj, jstring namespaceURI, jstring localName, jstring qName) +{ +static TQString* _qstring_namespaceURI = 0; +static TQString* _qstring_localName = 0; +static TQString* _qstring_qName = 0; + jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->endElement((const TQString&)*(TQString*) QtSupport::toTQString(env, namespaceURI, &_qstring_namespaceURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, localName, &_qstring_localName), (const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlDefaultHandler_endEntity(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->endEntity((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlDefaultHandler_endPrefixMapping(JNIEnv* env, jobject obj, jstring prefix) +{ +static TQString* _qstring_prefix = 0; + jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->endPrefixMapping((const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix)); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QXmlDefaultHandler_errorString(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->errorString(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlDefaultHandler_error(JNIEnv* env, jobject obj, jobject exception) +{ + jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->error((const TQXmlParseException&)*(const TQXmlParseException*) QtSupport::getQt(env, exception)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlDefaultHandler_externalEntityDecl(JNIEnv* env, jobject obj, jstring name, jstring publicId, jstring systemId) +{ +static TQString* _qstring_name = 0; +static TQString* _qstring_publicId = 0; +static TQString* _qstring_systemId = 0; + jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->externalEntityDecl((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, publicId, &_qstring_publicId), (const TQString&)*(TQString*) QtSupport::toTQString(env, systemId, &_qstring_systemId)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlDefaultHandler_fatalError(JNIEnv* env, jobject obj, jobject exception) +{ + jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->fatalError((const TQXmlParseException&)*(const TQXmlParseException*) QtSupport::getQt(env, exception)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlDefaultHandler_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQXmlDefaultHandler*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlDefaultHandler_ignorableWhitespace(JNIEnv* env, jobject obj, jstring ch) +{ +static TQString* _qstring_ch = 0; + jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->ignorableWhitespace((const TQString&)*(TQString*) QtSupport::toTQString(env, ch, &_qstring_ch)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlDefaultHandler_internalEntityDecl(JNIEnv* env, jobject obj, jstring name, jstring value) +{ +static TQString* _qstring_name = 0; +static TQString* _qstring_value = 0; + jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->internalEntityDecl((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlDefaultHandler_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlDefaultHandler_newTQXmlDefaultHandler(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQXmlDefaultHandlerJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlDefaultHandler_notationDecl(JNIEnv* env, jobject obj, jstring name, jstring publicId, jstring systemId) +{ +static TQString* _qstring_name = 0; +static TQString* _qstring_publicId = 0; +static TQString* _qstring_systemId = 0; + jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->notationDecl((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, publicId, &_qstring_publicId), (const TQString&)*(TQString*) QtSupport::toTQString(env, systemId, &_qstring_systemId)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlDefaultHandler_processingInstruction(JNIEnv* env, jobject obj, jstring target, jstring data) +{ +static TQString* _qstring_target = 0; +static TQString* _qstring_data = 0; + jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->processingInstruction((const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target), (const TQString&)*(TQString*) QtSupport::toTQString(env, data, &_qstring_data)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlDefaultHandler_resolveEntity(JNIEnv* env, jobject obj, jstring publicId, jstring systemId, jobject ret) +{ +static TQString* _qstring_publicId = 0; +static TQString* _qstring_systemId = 0; + jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->resolveEntity((const TQString&)*(TQString*) QtSupport::toTQString(env, publicId, &_qstring_publicId), (const TQString&)*(TQString*) QtSupport::toTQString(env, systemId, &_qstring_systemId), (TQXmlInputSource*&)*(TQXmlInputSource*) QtSupport::getQt(env, ret)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlDefaultHandler_setDocumentLocator(JNIEnv* env, jobject obj, jobject locator) +{ + ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->setDocumentLocator((TQXmlLocator*) QtSupport::getQt(env, locator)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlDefaultHandler_skippedEntity(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->skippedEntity((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlDefaultHandler_startCDATA(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->startCDATA(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlDefaultHandler_startDTD(JNIEnv* env, jobject obj, jstring name, jstring publicId, jstring systemId) +{ +static TQString* _qstring_name = 0; +static TQString* _qstring_publicId = 0; +static TQString* _qstring_systemId = 0; + jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->startDTD((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, publicId, &_qstring_publicId), (const TQString&)*(TQString*) QtSupport::toTQString(env, systemId, &_qstring_systemId)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlDefaultHandler_startDocument(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->startDocument(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlDefaultHandler_startElement(JNIEnv* env, jobject obj, jstring namespaceURI, jstring localName, jstring qName, jobject atts) +{ +static TQString* _qstring_namespaceURI = 0; +static TQString* _qstring_localName = 0; +static TQString* _qstring_qName = 0; + jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->startElement((const TQString&)*(TQString*) QtSupport::toTQString(env, namespaceURI, &_qstring_namespaceURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, localName, &_qstring_localName), (const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName), (const TQXmlAttributes&)*(const TQXmlAttributes*) QtSupport::getQt(env, atts)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlDefaultHandler_startEntity(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->startEntity((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlDefaultHandler_startPrefixMapping(JNIEnv* env, jobject obj, jstring prefix, jstring uri) +{ +static TQString* _qstring_prefix = 0; +static TQString* _qstring_uri = 0; + jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->startPrefixMapping((const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix), (const TQString&)*(TQString*) QtSupport::toTQString(env, uri, &_qstring_uri)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlDefaultHandler_unparsedEntityDecl(JNIEnv* env, jobject obj, jstring name, jstring publicId, jstring systemId, jstring notationName) +{ +static TQString* _qstring_name = 0; +static TQString* _qstring_publicId = 0; +static TQString* _qstring_systemId = 0; +static TQString* _qstring_notationName = 0; + jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->unparsedEntityDecl((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, publicId, &_qstring_publicId), (const TQString&)*(TQString*) QtSupport::toTQString(env, systemId, &_qstring_systemId), (const TQString&)*(TQString*) QtSupport::toTQString(env, notationName, &_qstring_notationName)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlDefaultHandler_warning(JNIEnv* env, jobject obj, jobject exception) +{ + jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->warning((const TQXmlParseException&)*(const TQXmlParseException*) QtSupport::getQt(env, exception)); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQXmlDefaultHandler.h b/qtjava/javalib/qtjava/TQXmlDefaultHandler.h new file mode 100644 index 00000000..b00a996d --- /dev/null +++ b/qtjava/javalib/qtjava/TQXmlDefaultHandler.h @@ -0,0 +1,50 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QXmlDefaultHandler__ +#define __org_kde_qt_QXmlDefaultHandler__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlDefaultHandler_newTQXmlDefaultHandler (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlDefaultHandler_setDocumentLocator (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_startDocument (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_endDocument (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_startPrefixMapping (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_endPrefixMapping (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_startElement (JNIEnv *env, jobject, jstring, jstring, jstring, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_endElement (JNIEnv *env, jobject, jstring, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_characters (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_ignorableWhitespace (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_processingInstruction (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_skippedEntity (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_warning (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_error (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_fatalError (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_notationDecl (JNIEnv *env, jobject, jstring, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_unparsedEntityDecl (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_resolveEntity (JNIEnv *env, jobject, jstring, jstring, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_startDTD (JNIEnv *env, jobject, jstring, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_endDTD (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_startEntity (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_endEntity (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_startCDATA (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_endCDATA (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_comment (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_attributeDecl (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_internalEntityDecl (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_externalEntityDecl (JNIEnv *env, jobject, jstring, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlDefaultHandler_errorString (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlDefaultHandler_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlDefaultHandler_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QXmlDefaultHandler__ */ diff --git a/qtjava/javalib/qtjava/TQXmlEntityResolver.cpp b/qtjava/javalib/qtjava/TQXmlEntityResolver.cpp new file mode 100644 index 00000000..07e6abd4 --- /dev/null +++ b/qtjava/javalib/qtjava/TQXmlEntityResolver.cpp @@ -0,0 +1,24 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QXmlEntityResolver_errorString(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQXmlEntityResolver*) QtSupport::getQt(env, obj))->errorString(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlEntityResolver_resolveEntity(JNIEnv* env, jobject obj, jstring publicId, jstring systemId, jobject ret) +{ +static TQString* _qstring_publicId = 0; +static TQString* _qstring_systemId = 0; + jboolean xret = (jboolean) ((TQXmlEntityResolver*) QtSupport::getQt(env, obj))->resolveEntity((const TQString&)*(TQString*) QtSupport::toTQString(env, publicId, &_qstring_publicId), (const TQString&)*(TQString*) QtSupport::toTQString(env, systemId, &_qstring_systemId), (TQXmlInputSource*&)*(TQXmlInputSource*) QtSupport::getQt(env, ret)); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQXmlEntityResolver.h b/qtjava/javalib/qtjava/TQXmlEntityResolver.h new file mode 100644 index 00000000..4ecd2e67 --- /dev/null +++ b/qtjava/javalib/qtjava/TQXmlEntityResolver.h @@ -0,0 +1,20 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QXmlEntityResolver__ +#define __org_kde_qt_QXmlEntityResolver__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlEntityResolver_resolveEntity (JNIEnv *env, jobject, jstring, jstring, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlEntityResolver_errorString (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QXmlEntityResolver__ */ diff --git a/qtjava/javalib/qtjava/TQXmlErrorHandler.cpp b/qtjava/javalib/qtjava/TQXmlErrorHandler.cpp new file mode 100644 index 00000000..187a5d09 --- /dev/null +++ b/qtjava/javalib/qtjava/TQXmlErrorHandler.cpp @@ -0,0 +1,36 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QXmlErrorHandler_errorString(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQXmlErrorHandler*) QtSupport::getQt(env, obj))->errorString(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlErrorHandler_error(JNIEnv* env, jobject obj, jobject exception) +{ + jboolean xret = (jboolean) ((TQXmlErrorHandler*) QtSupport::getQt(env, obj))->error((const TQXmlParseException&)*(const TQXmlParseException*) QtSupport::getQt(env, exception)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlErrorHandler_fatalError(JNIEnv* env, jobject obj, jobject exception) +{ + jboolean xret = (jboolean) ((TQXmlErrorHandler*) QtSupport::getQt(env, obj))->fatalError((const TQXmlParseException&)*(const TQXmlParseException*) QtSupport::getQt(env, exception)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlErrorHandler_warning(JNIEnv* env, jobject obj, jobject exception) +{ + jboolean xret = (jboolean) ((TQXmlErrorHandler*) QtSupport::getQt(env, obj))->warning((const TQXmlParseException&)*(const TQXmlParseException*) QtSupport::getQt(env, exception)); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQXmlErrorHandler.h b/qtjava/javalib/qtjava/TQXmlErrorHandler.h new file mode 100644 index 00000000..b5d078cc --- /dev/null +++ b/qtjava/javalib/qtjava/TQXmlErrorHandler.h @@ -0,0 +1,22 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QXmlErrorHandler__ +#define __org_kde_qt_QXmlErrorHandler__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlErrorHandler_warning (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlErrorHandler_error (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlErrorHandler_fatalError (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlErrorHandler_errorString (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QXmlErrorHandler__ */ diff --git a/qtjava/javalib/qtjava/TQXmlInputSource.cpp b/qtjava/javalib/qtjava/TQXmlInputSource.cpp new file mode 100644 index 00000000..2ed62091 --- /dev/null +++ b/qtjava/javalib/qtjava/TQXmlInputSource.cpp @@ -0,0 +1,161 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include +#include +#include + +#include +#include + +class TQXmlInputSourceJBridge : public TQXmlInputSource +{ +public: + TQXmlInputSourceJBridge() : TQXmlInputSource() {}; + TQXmlInputSourceJBridge(TQIODevice* arg1) : TQXmlInputSource(arg1) {}; + TQXmlInputSourceJBridge(TQFile& arg1) : TQXmlInputSource(arg1) {}; + TQXmlInputSourceJBridge(TQTextStream& arg1) : TQXmlInputSource(arg1) {}; + void public_fetchData() { + TQXmlInputSource::fetchData(); + return; + } + void public_reset() { + TQXmlInputSource::reset(); + return; + } + TQString protected_fromRawData(const TQByteArray& arg1,bool arg2) { + return (TQString) TQXmlInputSource::fromRawData(arg1,arg2); + } + TQString protected_fromRawData(const TQByteArray& arg1) { + return (TQString) TQXmlInputSource::fromRawData(arg1); + } + ~TQXmlInputSourceJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QXmlInputSource_data(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQXmlInputSource*) QtSupport::getQt(env, obj))->data(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlInputSource_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QXmlInputSource_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlInputSource_fetchData(JNIEnv* env, jobject obj) +{ + ((TQXmlInputSourceJBridge*) QtSupport::getQt(env, obj))->public_fetchData(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlInputSource_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQXmlInputSource*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QXmlInputSource_fromRawData___3B(JNIEnv* env, jobject obj, jbyteArray data) +{ + TQString _qstring; +static TQByteArray* _qbyteArray_data = 0; + _qstring = ((TQXmlInputSourceJBridge*) QtSupport::getQt(env, obj))->protected_fromRawData((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QXmlInputSource_fromRawData___3BZ(JNIEnv* env, jobject obj, jbyteArray data, jboolean beginning) +{ + TQString _qstring; +static TQByteArray* _qbyteArray_data = 0; + _qstring = ((TQXmlInputSourceJBridge*) QtSupport::getQt(env, obj))->protected_fromRawData((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (bool) beginning); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlInputSource_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlInputSource_newTQXmlInputSource__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQXmlInputSourceJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlInputSource_newTQXmlInputSource__Lorg_kde_qt_QFile_2(JNIEnv* env, jobject obj, jobject file) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQXmlInputSourceJBridge((TQFile&)*(TQFile*) QtSupport::getQt(env, file))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlInputSource_newTQXmlInputSource__Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject dev) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQXmlInputSourceJBridge((TQIODevice*) QtSupport::getQt(env, dev))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlInputSource_newTQXmlInputSource__Lorg_kde_qt_QTextStream_2(JNIEnv* env, jobject obj, jobject stream) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQXmlInputSourceJBridge((TQTextStream&)*(TQTextStream*) QtSupport::getQt(env, stream))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jchar JNICALL +Java_org_kde_qt_QXmlInputSource_next(JNIEnv* env, jobject obj) +{ + TQChar _qchar; + _qchar = ((TQXmlInputSource*) QtSupport::getQt(env, obj))->next(); + return (jchar) QtSupport::fromTQChar(env, (TQChar*) &_qchar); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlInputSource_reset(JNIEnv* env, jobject obj) +{ + ((TQXmlInputSourceJBridge*) QtSupport::getQt(env, obj))->public_reset(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlInputSource_setData__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring dat) +{ +static TQString* _qstring_dat = 0; + ((TQXmlInputSource*) QtSupport::getQt(env, obj))->setData((const TQString&)*(TQString*) QtSupport::toTQString(env, dat, &_qstring_dat)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlInputSource_setData___3B(JNIEnv* env, jobject obj, jbyteArray dat) +{ +static TQByteArray* _qbyteArray_dat = 0; + ((TQXmlInputSource*) QtSupport::getQt(env, obj))->setData((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, dat, &_qbyteArray_dat)); + return; +} + diff --git a/qtjava/javalib/qtjava/TQXmlInputSource.h b/qtjava/javalib/qtjava/TQXmlInputSource.h new file mode 100644 index 00000000..068a4add --- /dev/null +++ b/qtjava/javalib/qtjava/TQXmlInputSource.h @@ -0,0 +1,33 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QXmlInputSource__ +#define __org_kde_qt_QXmlInputSource__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlInputSource_newTQXmlInputSource__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlInputSource_newTQXmlInputSource__Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlInputSource_newTQXmlInputSource__Lorg_kde_qt_QFile_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlInputSource_newTQXmlInputSource__Lorg_kde_qt_QTextStream_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlInputSource_setData__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlInputSource_setData___3B (JNIEnv *env, jobject, jbyteArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlInputSource_fetchData (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlInputSource_data (JNIEnv *env, jobject); +extern JNIEXPORT jchar JNICALL Java_org_kde_qt_QXmlInputSource_next (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlInputSource_reset (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlInputSource_fromRawData___3BZ (JNIEnv *env, jobject, jbyteArray, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlInputSource_fromRawData___3B (JNIEnv *env, jobject, jbyteArray); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlInputSource_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlInputSource_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlInputSource_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QXmlInputSource__ */ diff --git a/qtjava/javalib/qtjava/TQXmlLexicalHandler.cpp b/qtjava/javalib/qtjava/TQXmlLexicalHandler.cpp new file mode 100644 index 00000000..bc3f69f8 --- /dev/null +++ b/qtjava/javalib/qtjava/TQXmlLexicalHandler.cpp @@ -0,0 +1,70 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlLexicalHandler_comment(JNIEnv* env, jobject obj, jstring ch) +{ +static TQString* _qstring_ch = 0; + jboolean xret = (jboolean) ((TQXmlLexicalHandler*) QtSupport::getQt(env, obj))->comment((const TQString&)*(TQString*) QtSupport::toTQString(env, ch, &_qstring_ch)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlLexicalHandler_endCDATA(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQXmlLexicalHandler*) QtSupport::getQt(env, obj))->endCDATA(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlLexicalHandler_endDTD(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQXmlLexicalHandler*) QtSupport::getQt(env, obj))->endDTD(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlLexicalHandler_endEntity(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TQXmlLexicalHandler*) QtSupport::getQt(env, obj))->endEntity((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QXmlLexicalHandler_errorString(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQXmlLexicalHandler*) QtSupport::getQt(env, obj))->errorString(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlLexicalHandler_startCDATA(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQXmlLexicalHandler*) QtSupport::getQt(env, obj))->startCDATA(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlLexicalHandler_startDTD(JNIEnv* env, jobject obj, jstring name, jstring publicId, jstring systemId) +{ +static TQString* _qstring_name = 0; +static TQString* _qstring_publicId = 0; +static TQString* _qstring_systemId = 0; + jboolean xret = (jboolean) ((TQXmlLexicalHandler*) QtSupport::getQt(env, obj))->startDTD((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, publicId, &_qstring_publicId), (const TQString&)*(TQString*) QtSupport::toTQString(env, systemId, &_qstring_systemId)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlLexicalHandler_startEntity(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TQXmlLexicalHandler*) QtSupport::getQt(env, obj))->startEntity((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQXmlLexicalHandler.h b/qtjava/javalib/qtjava/TQXmlLexicalHandler.h new file mode 100644 index 00000000..17966236 --- /dev/null +++ b/qtjava/javalib/qtjava/TQXmlLexicalHandler.h @@ -0,0 +1,26 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QXmlLexicalHandler__ +#define __org_kde_qt_QXmlLexicalHandler__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlLexicalHandler_startDTD (JNIEnv *env, jobject, jstring, jstring, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlLexicalHandler_endDTD (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlLexicalHandler_startEntity (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlLexicalHandler_endEntity (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlLexicalHandler_startCDATA (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlLexicalHandler_endCDATA (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlLexicalHandler_comment (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlLexicalHandler_errorString (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QXmlLexicalHandler__ */ diff --git a/qtjava/javalib/qtjava/TQXmlLocator.cpp b/qtjava/javalib/qtjava/TQXmlLocator.cpp new file mode 100644 index 00000000..32b84334 --- /dev/null +++ b/qtjava/javalib/qtjava/TQXmlLocator.cpp @@ -0,0 +1,20 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include + +#include +#include + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QXmlLocator_columnNumber(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQXmlLocator*) QtSupport::getQt(env, obj))->columnNumber(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QXmlLocator_lineNumber(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQXmlLocator*) QtSupport::getQt(env, obj))->lineNumber(); + return xret; +} + diff --git a/qtjava/javalib/qtjava/TQXmlLocator.h b/qtjava/javalib/qtjava/TQXmlLocator.h new file mode 100644 index 00000000..b82c7f8c --- /dev/null +++ b/qtjava/javalib/qtjava/TQXmlLocator.h @@ -0,0 +1,20 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QXmlLocator__ +#define __org_kde_qt_QXmlLocator__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QXmlLocator_columnNumber (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QXmlLocator_lineNumber (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QXmlLocator__ */ diff --git a/qtjava/javalib/qtjava/TQXmlNamespaceSupport.cpp b/qtjava/javalib/qtjava/TQXmlNamespaceSupport.cpp new file mode 100644 index 00000000..10da6e6d --- /dev/null +++ b/qtjava/javalib/qtjava/TQXmlNamespaceSupport.cpp @@ -0,0 +1,137 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include +#include + +#include +#include + +class TQXmlNamespaceSupportJBridge : public TQXmlNamespaceSupport +{ +public: + TQXmlNamespaceSupportJBridge() : TQXmlNamespaceSupport() {}; + ~TQXmlNamespaceSupportJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlNamespaceSupport_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QXmlNamespaceSupport_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlNamespaceSupport_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQXmlNamespaceSupport*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlNamespaceSupport_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlNamespaceSupport_newTQXmlNamespaceSupport(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQXmlNamespaceSupportJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlNamespaceSupport_popContext(JNIEnv* env, jobject obj) +{ + ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->popContext(); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QXmlNamespaceSupport_prefix(JNIEnv* env, jobject obj, jstring arg1) +{ + TQString _qstring; +static TQString* _qstring_arg1 = 0; + _qstring = ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->prefix((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QXmlNamespaceSupport_prefixes__(JNIEnv* env, jobject obj) +{ + TQStringList _qlist; + _qlist = ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->prefixes(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QXmlNamespaceSupport_prefixes__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +{ + TQStringList _qlist; +static TQString* _qstring_arg1 = 0; + _qlist = ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->prefixes((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlNamespaceSupport_processName(JNIEnv* env, jobject obj, jstring arg1, jboolean arg2, jobject arg3, jobject arg4) +{ +static TQString* _qstring_arg1 = 0; +static TQString* _qstring_arg3 = 0; +static TQString* _qstring_arg4 = 0; + ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->processName((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) arg2, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, arg3, &_qstring_arg3), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, arg4, &_qstring_arg4)); + QtSupport::fromTQStringToStringBuffer(env, _qstring_arg3, arg3); + QtSupport::fromTQStringToStringBuffer(env, _qstring_arg4, arg4); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlNamespaceSupport_pushContext(JNIEnv* env, jobject obj) +{ + ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->pushContext(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlNamespaceSupport_reset(JNIEnv* env, jobject obj) +{ + ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->reset(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlNamespaceSupport_setPrefix(JNIEnv* env, jobject obj, jstring arg1, jstring arg2) +{ +static TQString* _qstring_arg1 = 0; +static TQString* _qstring_arg2 = 0; + ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->setPrefix((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlNamespaceSupport_splitName(JNIEnv* env, jobject obj, jstring arg1, jobject arg2, jobject arg3) +{ +static TQString* _qstring_arg1 = 0; +static TQString* _qstring_arg2 = 0; +static TQString* _qstring_arg3 = 0; + ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->splitName((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, arg2, &_qstring_arg2), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, arg3, &_qstring_arg3)); + QtSupport::fromTQStringToStringBuffer(env, _qstring_arg2, arg2); + QtSupport::fromTQStringToStringBuffer(env, _qstring_arg3, arg3); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QXmlNamespaceSupport_uri(JNIEnv* env, jobject obj, jstring arg1) +{ + TQString _qstring; +static TQString* _qstring_arg1 = 0; + _qstring = ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->uri((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQXmlNamespaceSupport.h b/qtjava/javalib/qtjava/TQXmlNamespaceSupport.h new file mode 100644 index 00000000..b692e287 --- /dev/null +++ b/qtjava/javalib/qtjava/TQXmlNamespaceSupport.h @@ -0,0 +1,32 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QXmlNamespaceSupport__ +#define __org_kde_qt_QXmlNamespaceSupport__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlNamespaceSupport_newTQXmlNamespaceSupport (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlNamespaceSupport_setPrefix (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlNamespaceSupport_prefix (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlNamespaceSupport_uri (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlNamespaceSupport_splitName (JNIEnv *env, jobject, jstring, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlNamespaceSupport_processName (JNIEnv *env, jobject, jstring, jboolean, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlNamespaceSupport_prefixes__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlNamespaceSupport_prefixes__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlNamespaceSupport_pushContext (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlNamespaceSupport_popContext (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlNamespaceSupport_reset (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlNamespaceSupport_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlNamespaceSupport_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlNamespaceSupport_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QXmlNamespaceSupport__ */ diff --git a/qtjava/javalib/qtjava/TQXmlParseException.cpp b/qtjava/javalib/qtjava/TQXmlParseException.cpp new file mode 100644 index 00000000..a10ec15f --- /dev/null +++ b/qtjava/javalib/qtjava/TQXmlParseException.cpp @@ -0,0 +1,148 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQXmlParseExceptionJBridge : public TQXmlParseException +{ +public: + TQXmlParseExceptionJBridge(const TQString& arg1,int arg2,int arg3,const TQString& arg4,const TQString& arg5) : TQXmlParseException(arg1,arg2,arg3,arg4,arg5) {}; + TQXmlParseExceptionJBridge(const TQString& arg1,int arg2,int arg3,const TQString& arg4) : TQXmlParseException(arg1,arg2,arg3,arg4) {}; + TQXmlParseExceptionJBridge(const TQString& arg1,int arg2,int arg3) : TQXmlParseException(arg1,arg2,arg3) {}; + TQXmlParseExceptionJBridge(const TQString& arg1,int arg2) : TQXmlParseException(arg1,arg2) {}; + TQXmlParseExceptionJBridge(const TQString& arg1) : TQXmlParseException(arg1) {}; + TQXmlParseExceptionJBridge() : TQXmlParseException() {}; + ~TQXmlParseExceptionJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QXmlParseException_columnNumber(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQXmlParseException*) QtSupport::getQt(env, obj))->columnNumber(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlParseException_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QXmlParseException_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlParseException_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQXmlParseException*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlParseException_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QXmlParseException_lineNumber(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQXmlParseException*) QtSupport::getQt(env, obj))->lineNumber(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QXmlParseException_message(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQXmlParseException*) QtSupport::getQt(env, obj))->message(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlParseException_newTQXmlParseException__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQXmlParseExceptionJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlParseException_newTQXmlParseException__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 TQXmlParseExceptionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlParseException_newTQXmlParseException__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint c) +{ +static TQString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQXmlParseExceptionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) c)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlParseException_newTQXmlParseException__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint c, jint l) +{ +static TQString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQXmlParseExceptionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) c, (int) l)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlParseException_newTQXmlParseException__Ljava_lang_String_2IILjava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jint c, jint l, jstring p) +{ +static TQString* _qstring_name = 0; +static TQString* _qstring_p = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQXmlParseExceptionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) c, (int) l, (const TQString&)*(TQString*) QtSupport::toTQString(env, p, &_qstring_p))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlParseException_newTQXmlParseException__Ljava_lang_String_2IILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jint c, jint l, jstring p, jstring s) +{ +static TQString* _qstring_name = 0; +static TQString* _qstring_p = 0; +static TQString* _qstring_s = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQXmlParseExceptionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) c, (int) l, (const TQString&)*(TQString*) QtSupport::toTQString(env, p, &_qstring_p), (const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QXmlParseException_publicId(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQXmlParseException*) QtSupport::getQt(env, obj))->publicId(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QXmlParseException_systemId(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQXmlParseException*) QtSupport::getQt(env, obj))->systemId(); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/qtjava/javalib/qtjava/TQXmlParseException.h b/qtjava/javalib/qtjava/TQXmlParseException.h new file mode 100644 index 00000000..79dcf2ab --- /dev/null +++ b/qtjava/javalib/qtjava/TQXmlParseException.h @@ -0,0 +1,32 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QXmlParseException__ +#define __org_kde_qt_QXmlParseException__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlParseException_newTQXmlParseException__Ljava_lang_String_2IILjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jint, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlParseException_newTQXmlParseException__Ljava_lang_String_2IILjava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jint, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlParseException_newTQXmlParseException__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlParseException_newTQXmlParseException__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlParseException_newTQXmlParseException__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlParseException_newTQXmlParseException__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QXmlParseException_columnNumber (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_qt_QXmlParseException_lineNumber (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlParseException_publicId (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlParseException_systemId (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlParseException_message (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlParseException_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlParseException_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlParseException_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QXmlParseException__ */ diff --git a/qtjava/javalib/qtjava/TQXmlReader.cpp b/qtjava/javalib/qtjava/TQXmlReader.cpp new file mode 100644 index 00000000..99752c2e --- /dev/null +++ b/qtjava/javalib/qtjava/TQXmlReader.cpp @@ -0,0 +1,140 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QXmlReader_DTDHandler(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQXmlReader*) QtSupport::getQt(env, obj))->DTDHandler(), "org.kde.qt.TQXmlDTDHandlerInterface"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QXmlReader_contentHandler(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQXmlReader*) QtSupport::getQt(env, obj))->contentHandler(), "org.kde.qt.TQXmlContentHandlerInterface"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QXmlReader_declHandler(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQXmlReader*) QtSupport::getQt(env, obj))->declHandler(), "org.kde.qt.TQXmlDeclHandlerInterface"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QXmlReader_entityResolver(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQXmlReader*) QtSupport::getQt(env, obj))->entityResolver(), "org.kde.qt.TQXmlEntityResolverInterface"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QXmlReader_errorHandler(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQXmlReader*) QtSupport::getQt(env, obj))->errorHandler(), "org.kde.qt.TQXmlErrorHandlerInterface"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlReader_feature__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TQXmlReader*) QtSupport::getQt(env, obj))->feature((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlReader_feature__Ljava_lang_String_2_3Z(JNIEnv* env, jobject obj, jstring name, jbooleanArray ok) +{ +static TQString* _qstring_name = 0; + bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); + jboolean xret = (jboolean) ((TQXmlReader*) QtSupport::getQt(env, obj))->feature((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (bool*) _bool_ok); + env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlReader_hasFeature(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TQXmlReader*) QtSupport::getQt(env, obj))->hasFeature((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlReader_hasProperty(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TQXmlReader*) QtSupport::getQt(env, obj))->hasProperty((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QXmlReader_lexicalHandler(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQXmlReader*) QtSupport::getQt(env, obj))->lexicalHandler(), "org.kde.qt.TQXmlLexicalHandlerInterface"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlReader_parse(JNIEnv* env, jobject obj, jobject input) +{ + jboolean xret = (jboolean) ((TQXmlReader*) QtSupport::getQt(env, obj))->parse((const TQXmlInputSource&)*(const TQXmlInputSource*) QtSupport::getQt(env, input)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlReader_setContentHandler(JNIEnv* env, jobject obj, jobject handler) +{ + ((TQXmlReader*) QtSupport::getQt(env, obj))->setContentHandler((TQXmlContentHandler*) QtSupport::getQt(env, handler)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlReader_setDTDHandler(JNIEnv* env, jobject obj, jobject handler) +{ + ((TQXmlReader*) QtSupport::getQt(env, obj))->setDTDHandler((TQXmlDTDHandler*) QtSupport::getQt(env, handler)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlReader_setDeclHandler(JNIEnv* env, jobject obj, jobject handler) +{ + ((TQXmlReader*) QtSupport::getQt(env, obj))->setDeclHandler((TQXmlDeclHandler*) QtSupport::getQt(env, handler)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlReader_setEntityResolver(JNIEnv* env, jobject obj, jobject handler) +{ + ((TQXmlReader*) QtSupport::getQt(env, obj))->setEntityResolver((TQXmlEntityResolver*) QtSupport::getQt(env, handler)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlReader_setErrorHandler(JNIEnv* env, jobject obj, jobject handler) +{ + ((TQXmlReader*) QtSupport::getQt(env, obj))->setErrorHandler((TQXmlErrorHandler*) QtSupport::getQt(env, handler)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlReader_setFeature(JNIEnv* env, jobject obj, jstring name, jboolean value) +{ +static TQString* _qstring_name = 0; + ((TQXmlReader*) QtSupport::getQt(env, obj))->setFeature((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (bool) value); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlReader_setLexicalHandler(JNIEnv* env, jobject obj, jobject handler) +{ + ((TQXmlReader*) QtSupport::getQt(env, obj))->setLexicalHandler((TQXmlLexicalHandler*) QtSupport::getQt(env, handler)); + return; +} + diff --git a/qtjava/javalib/qtjava/TQXmlReader.h b/qtjava/javalib/qtjava/TQXmlReader.h new file mode 100644 index 00000000..29ff2498 --- /dev/null +++ b/qtjava/javalib/qtjava/TQXmlReader.h @@ -0,0 +1,36 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QXmlReader__ +#define __org_kde_qt_QXmlReader__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlReader_feature__Ljava_lang_String_2_3Z (JNIEnv *env, jobject, jstring, jbooleanArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlReader_feature__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlReader_setFeature (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlReader_hasFeature (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlReader_hasProperty (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlReader_setEntityResolver (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlReader_entityResolver (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlReader_setDTDHandler (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlReader_DTDHandler (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlReader_setContentHandler (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlReader_contentHandler (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlReader_setErrorHandler (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlReader_errorHandler (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlReader_setLexicalHandler (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlReader_lexicalHandler (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlReader_setDeclHandler (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlReader_declHandler (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlReader_parse (JNIEnv *env, jobject, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QXmlReader__ */ diff --git a/qtjava/javalib/qtjava/TQXmlSimpleReader.cpp b/qtjava/javalib/qtjava/TQXmlSimpleReader.cpp new file mode 100644 index 00000000..c6307e52 --- /dev/null +++ b/qtjava/javalib/qtjava/TQXmlSimpleReader.cpp @@ -0,0 +1,194 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include +#include + +#include +#include + +class TQXmlSimpleReaderJBridge : public TQXmlSimpleReader +{ +public: + TQXmlSimpleReaderJBridge() : TQXmlSimpleReader() {}; + ~TQXmlSimpleReaderJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QXmlSimpleReader_DTDHandler(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->DTDHandler(), "org.kde.qt.TQXmlDTDHandlerInterface"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QXmlSimpleReader_contentHandler(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->contentHandler(), "org.kde.qt.TQXmlContentHandlerInterface"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QXmlSimpleReader_declHandler(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->declHandler(), "org.kde.qt.TQXmlDeclHandlerInterface"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlSimpleReader_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QXmlSimpleReader_finalize(env, obj); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QXmlSimpleReader_entityResolver(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->entityResolver(), "org.kde.qt.TQXmlEntityResolverInterface"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QXmlSimpleReader_errorHandler(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->errorHandler(), "org.kde.qt.TQXmlErrorHandlerInterface"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlSimpleReader_feature__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->feature((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlSimpleReader_feature__Ljava_lang_String_2_3Z(JNIEnv* env, jobject obj, jstring name, jbooleanArray ok) +{ +static TQString* _qstring_name = 0; + bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); + jboolean xret = (jboolean) ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->feature((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (bool*) _bool_ok); + env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlSimpleReader_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQXmlSimpleReader*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlSimpleReader_hasFeature(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->hasFeature((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlSimpleReader_hasProperty(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->hasProperty((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlSimpleReader_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_qt_QXmlSimpleReader_lexicalHandler(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->lexicalHandler(), "org.kde.qt.TQXmlLexicalHandlerInterface"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlSimpleReader_newTQXmlSimpleReader(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQXmlSimpleReaderJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlSimpleReader_parseContinue(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->parseContinue(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlSimpleReader_parse__Lorg_kde_qt_QXmlInputSource_2(JNIEnv* env, jobject obj, jobject input) +{ + jboolean xret = (jboolean) ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->parse((const TQXmlInputSource&)*(const TQXmlInputSource*) QtSupport::getQt(env, input)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QXmlSimpleReader_parse__Lorg_kde_qt_QXmlInputSource_2Z(JNIEnv* env, jobject obj, jobject input, jboolean incremental) +{ + jboolean xret = (jboolean) ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->parse((const TQXmlInputSource*) QtSupport::getQt(env, input), (bool) incremental); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlSimpleReader_setContentHandler(JNIEnv* env, jobject obj, jobject handler) +{ + ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->setContentHandler((TQXmlContentHandler*) QtSupport::getQt(env, handler)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlSimpleReader_setDTDHandler(JNIEnv* env, jobject obj, jobject handler) +{ + ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->setDTDHandler((TQXmlDTDHandler*) QtSupport::getQt(env, handler)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlSimpleReader_setDeclHandler(JNIEnv* env, jobject obj, jobject handler) +{ + ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->setDeclHandler((TQXmlDeclHandler*) QtSupport::getQt(env, handler)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlSimpleReader_setEntityResolver(JNIEnv* env, jobject obj, jobject handler) +{ + ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->setEntityResolver((TQXmlEntityResolver*) QtSupport::getQt(env, handler)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlSimpleReader_setErrorHandler(JNIEnv* env, jobject obj, jobject handler) +{ + ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->setErrorHandler((TQXmlErrorHandler*) QtSupport::getQt(env, handler)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlSimpleReader_setFeature(JNIEnv* env, jobject obj, jstring name, jboolean value) +{ +static TQString* _qstring_name = 0; + ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->setFeature((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (bool) value); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QXmlSimpleReader_setLexicalHandler(JNIEnv* env, jobject obj, jobject handler) +{ + ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->setLexicalHandler((TQXmlLexicalHandler*) QtSupport::getQt(env, handler)); + return; +} + diff --git a/qtjava/javalib/qtjava/TQXmlSimpleReader.h b/qtjava/javalib/qtjava/TQXmlSimpleReader.h new file mode 100644 index 00000000..63874703 --- /dev/null +++ b/qtjava/javalib/qtjava/TQXmlSimpleReader.h @@ -0,0 +1,42 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_qt_QXmlSimpleReader__ +#define __org_kde_qt_QXmlSimpleReader__ + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlSimpleReader_newTQXmlSimpleReader (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlSimpleReader_feature__Ljava_lang_String_2_3Z (JNIEnv *env, jobject, jstring, jbooleanArray); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlSimpleReader_feature__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlSimpleReader_setFeature (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlSimpleReader_hasFeature (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlSimpleReader_hasProperty (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlSimpleReader_setEntityResolver (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlSimpleReader_entityResolver (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlSimpleReader_setDTDHandler (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlSimpleReader_DTDHandler (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlSimpleReader_setContentHandler (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlSimpleReader_contentHandler (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlSimpleReader_setErrorHandler (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlSimpleReader_errorHandler (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlSimpleReader_setLexicalHandler (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlSimpleReader_lexicalHandler (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlSimpleReader_setDeclHandler (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QXmlSimpleReader_declHandler (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlSimpleReader_parse__Lorg_kde_qt_QXmlInputSource_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlSimpleReader_parse__Lorg_kde_qt_QXmlInputSource_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlSimpleReader_parseContinue (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlSimpleReader_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlSimpleReader_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlSimpleReader_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_qt_QXmlSimpleReader__ */ diff --git a/qtjava/javalib/test/QTimerTest.java b/qtjava/javalib/test/QTimerTest.java deleted file mode 100644 index 4baf19f9..00000000 --- a/qtjava/javalib/test/QTimerTest.java +++ /dev/null @@ -1,321 +0,0 @@ - /** - * A class that lets the user draw with the mouse. The - * window knows how to redraw itself. - */ - -import org.kde.qt.*; - -public class TQTimerTest extends TQWidget { - - public static final int COLOR_MENU_ID_BLACK = 0; - public static final int COLOR_MENU_ID_RED = 1; - public static final int COLOR_MENU_ID_BLUE = 2; - public static final int COLOR_MENU_ID_GREEN = 3; - public static final int COLOR_MENU_ID_YELLOW = 4; - - public static int eventCount = 0; - - private TQMenuBar _menubar; - private TQPopupMenu _filemenu; - private TQPopupMenu _colormenu; - private TQPopupMenu _helpmenu; - private TQScrollView _scrollview; - private ScribbleArea _scribblearea; - - public class ScribbleArea extends TQWidget { - private TQPoint _last; - private TQColor _currentcolor; - - private TQPixmap _buffer; - private TQPopupMenu _popupmenu; - - /** - * The constructor. Initializes the member variables. - */ - ScribbleArea() - { - // initialize member variables - _buffer = new TQPixmap(); - _last = new TQPoint(); - _currentcolor = Qt.black(); - - // don't blank the window before repainting - setBackgroundMode( NoBackground ); - - // create a pop-up menu - _popupmenu = new TQPopupMenu(); - _popupmenu.insertItem( "&Clear", this, Qt.SLOT( "slotClearArea()" ) ); - } - - /** - * This slot sets the curren color for the scribble area. It will be - * connected with the colorChanged( TQColor ) signal from the - * ScribbleWindow. - */ - public void setColor( TQColor new_color ) - { - _currentcolor = new_color; - } - - /** - * This slot clears the drawing area by filling the off-screen buffer with - * white and copying it over to the window. - */ - public void slotClearArea() - { - // fill the off screen buffer with plain white - _buffer.fill( Qt.white() ); - - // and copy it over to the window - TQPaintDevice.bitBlt( this, 0, 0, _buffer ); - } - - - /** - * This method does the actual loading. It relies on TQPixmap (and the - * underlying I/O machinery) to determine the filetype. - */ - public void slotLoad( String filename ) - { - if ( !_buffer.load( filename ) ) - TQMessageBox.warning( null, "Load error", "Could not load file" ); - - repaint(); // refresh the window - } - - - /** - * This method does the actual saving. We hard-code the file type as - * BMP. Unix users might want to replace this with something like XPM. - */ - public void slotSave( String filename ) - { - if( !_buffer.save( filename, "BMP" ) ) - TQMessageBox.warning( null, "Save error", "Could not save file" ); - } - - - /** - * This method is called whenever the user presses the - * mouse over the window. It just records the position of the mouse - * at the time of the click. - */ - public void mousePressEvent(TQMouseEvent event) - { - if ( event.button() == RightButton ) - _popupmenu.exec( TQCursor.pos() ); - else - { - _last = event.pos(); // retrieve the coordinates from the event - } - } - - - /** - * The method is called whenever the usr moves the mouse - * while the mouse button is pressed. If we had called - * setMouseTracking(true) before, the method would also be called - * when the mouse was moved with any button pressed. We know that - * we haven't, and thus don't have to check whether any buttons are - * pressed. - */ - public void mouseMoveEvent(TQMouseEvent event) { - // create a TQPainter object for drawing onto the window - TQPainter windowpainter = new TQPainter(); - // and another TQPainter object for drawing int an off-screen pixmap - TQPainter bufferpainter = new TQPainter(); - - // start painting - windowpainter.begin( this ); // this painter paints onto the window - bufferpainter.begin( _buffer ); // and this one paints in the buffer - - // set a standard pen with the currently selected color - windowpainter.setPen( _currentcolor ); - bufferpainter.setPen( _currentcolor ); - - // draw a line in both the window and the buffer - windowpainter.drawLine( _last, event.pos() ); - bufferpainter.drawLine( _last, event.pos() ); - - // done with painting - windowpainter.end(); - bufferpainter.end(); - - // remember the current mouse position - _last = event.pos(); - eventCount++; - } - /** - * This method is called whenever the widget needs - * painting, for example when it has been obscured and then revealed again. - */ - public void paintEvent(TQPaintEvent event) { - TQPaintDevice.bitBlt(this, 0, 0, _buffer); - } - - /** - * This method get called whenever the widget needs - * painting, for example, when it has been obscured and then revealed again. - */ - public void resizeEvent(TQResizeEvent event) { - TQPixmap save = new TQPixmap( _buffer ); - _buffer.resize( event.size() ); - _buffer.fill( Qt.white() ); - TQPaintDevice.bitBlt( _buffer, 0, 0, save ); - } - } - - TQTimerTest() - { - /* The next lines build the menu bar. We first create the menus - * one by one, then add them to the menu bar. */ - _filemenu = new TQPopupMenu(); // create a file menu - _filemenu.insertItem( "&Load", this, Qt.SLOT( "slotLoad()" ) ); - _filemenu.insertItem( "&Save", this, Qt.SLOT( "slotSave()" ) ); - _filemenu.insertSeparator(); - _filemenu.insertItem( "&Quit", Qt.qApp(), Qt.SLOT( "quit()" ) ); - - _colormenu = new TQPopupMenu(); // create a color menu - _colormenu.insertItem( "B&lack", COLOR_MENU_ID_BLACK); - _colormenu.insertItem( "&Red", COLOR_MENU_ID_RED); - _colormenu.insertItem( "&Blue", COLOR_MENU_ID_BLUE); - _colormenu.insertItem( "&Green", COLOR_MENU_ID_GREEN); - _colormenu.insertItem( "&Yellow", COLOR_MENU_ID_YELLOW); - TQObject.connect( _colormenu, SIGNAL( "activated(int)" ), - this, SLOT( "slotColorMenu(int)" ) ); - - _helpmenu = new TQPopupMenu(); // create a help menu - _helpmenu.insertItem( "&About QtScribble", this, SLOT( "slotAbout()" ) ); - _helpmenu.insertItem( "&About Qt", this, SLOT( "slotAboutQt()" ) ); - - _menubar = new TQMenuBar( this, "" ); // create a menu bar - _menubar.insertItem( "&File", _filemenu ); - _menubar.insertItem( "&Color", _colormenu ); - _menubar.insertItem( "&Help", _helpmenu ); - - /* We create a TQScrollView and a ScribbleArea. The ScribbleArea will - * be managed by the scroll view.*/ - _scrollview = new TQScrollView( this ); - _scrollview.setGeometry( 0, _menubar.height(), - width(), height() - _menubar.height() ); - _scribblearea = new ScribbleArea(); - _scribblearea.setGeometry( 0, 0, 1000, 1000 ); - _scrollview.addChild( _scribblearea ); - TQObject.connect( this, SIGNAL( "colorChanged(TQColor)" ), - _scribblearea, SLOT( "setColor(TQColor)" ) ); - TQObject.connect( this, SIGNAL( "save(java.lang.String)" ), - _scribblearea, SLOT( "slotSave(java.lang.String)" ) ); - TQObject.connect( this, SIGNAL( "load(java.lang.String)" ), - _scribblearea, SLOT( "slotLoad(java.lang.String)" ) ); - } - - public void resizeEvent( TQResizeEvent event ) - { - /* When the whole window is resized, we have to rearrange the geometry - * in the ScribbleWindow as well. Note that the ScribbleArea does not need - * to be changed. */ - _scrollview.setGeometry( 0, _menubar.height(), - width(), height() - _menubar.height() ); - } - - - - public void slotAbout() - { - TQMessageBox.information( this, "About QtScribble 5", - "This is the Scribble 5 application\n" + - "Copyright 1998 by Mathias Kalle Dalheimer\n" - ); - } - - public void slotAboutQt() - { - TQMessageBox.aboutTQt( this, "About Qt" ); - } - - public void slotColorMenu( int item ) - { - switch( item ) - { - case COLOR_MENU_ID_BLACK: - emit("colorChanged", Qt.black()); - break; - case COLOR_MENU_ID_RED: - emit("colorChanged", Qt.darkRed()); - break; - case COLOR_MENU_ID_BLUE: - emit("colorChanged", Qt.darkBlue()); - break; - case COLOR_MENU_ID_GREEN: - emit("colorChanged", Qt.darkGreen()); - break; - case COLOR_MENU_ID_YELLOW: - emit("colorChanged", Qt.yellow()); - break; - } - } - - - /** - * This is the slot for the menu item File/Load. It opens a - * TQFileDialog to ask the user for a filename, then emits a save() - * signal with the filename as parameter. - */ - public void slotLoad() - { - /* Open a file dialog for loading. The default directory is the - * current directory, the filter *.bmp. - */ - String filename = TQFileDialog.getOpenFileName( ".", "*.bmp", this ); - if ( !filename.equals("") ) - emit("load", filename); - } - - /** - * This is the slot for the menu item File/Load. It opens a - * TQFileDialog to ask the user for a filename, then emits a save() - * signal with the filename as parameter. - */ - public void slotSave() - { - /* Open a file dialog for saving. The default directory is the - * current directory, the filter *.bmp. - */ - String filename = TQFileDialog.getSaveFileName( ".", "*.bmp", this ); - if ( !filename.equals("") ) - emit("save", filename); - } - - public void timerDone() - { -// System.out.println("in timerDone..."); - } - - public static void main(String[] args) - { - TQApplication myapp = new TQApplication(args); - TQTimerTest mywidget = new TQTimerTest(); - mywidget.setGeometry(50, 500, 400, 400); - - TQTimer timer = new TQTimer( mywidget ); - connect( timer, Qt.SIGNAL("timeout()"), - mywidget, Qt.SLOT("timerDone()") ); - timer.start( 2000, false ); // 2 seconds single-shot - - myapp.setMainWidget(mywidget); - - AppWizardBase mywizard = new AppWizardBase(mywidget, "", false, 0); - mywizard.show(); - FilePropsPageBase mypropspage = new FilePropsPageBase(mywidget, "", 0); - mypropspage.show(); - - mywidget.show(); - myapp.exec(); - System.out.println("event count: " + eventCount); - return; - } - - static { - qtjava.initialize(); - } -} diff --git a/qtjava/javalib/test/TQTimerTest.java b/qtjava/javalib/test/TQTimerTest.java new file mode 100644 index 00000000..4baf19f9 --- /dev/null +++ b/qtjava/javalib/test/TQTimerTest.java @@ -0,0 +1,321 @@ + /** + * A class that lets the user draw with the mouse. The + * window knows how to redraw itself. + */ + +import org.kde.qt.*; + +public class TQTimerTest extends TQWidget { + + public static final int COLOR_MENU_ID_BLACK = 0; + public static final int COLOR_MENU_ID_RED = 1; + public static final int COLOR_MENU_ID_BLUE = 2; + public static final int COLOR_MENU_ID_GREEN = 3; + public static final int COLOR_MENU_ID_YELLOW = 4; + + public static int eventCount = 0; + + private TQMenuBar _menubar; + private TQPopupMenu _filemenu; + private TQPopupMenu _colormenu; + private TQPopupMenu _helpmenu; + private TQScrollView _scrollview; + private ScribbleArea _scribblearea; + + public class ScribbleArea extends TQWidget { + private TQPoint _last; + private TQColor _currentcolor; + + private TQPixmap _buffer; + private TQPopupMenu _popupmenu; + + /** + * The constructor. Initializes the member variables. + */ + ScribbleArea() + { + // initialize member variables + _buffer = new TQPixmap(); + _last = new TQPoint(); + _currentcolor = Qt.black(); + + // don't blank the window before repainting + setBackgroundMode( NoBackground ); + + // create a pop-up menu + _popupmenu = new TQPopupMenu(); + _popupmenu.insertItem( "&Clear", this, Qt.SLOT( "slotClearArea()" ) ); + } + + /** + * This slot sets the curren color for the scribble area. It will be + * connected with the colorChanged( TQColor ) signal from the + * ScribbleWindow. + */ + public void setColor( TQColor new_color ) + { + _currentcolor = new_color; + } + + /** + * This slot clears the drawing area by filling the off-screen buffer with + * white and copying it over to the window. + */ + public void slotClearArea() + { + // fill the off screen buffer with plain white + _buffer.fill( Qt.white() ); + + // and copy it over to the window + TQPaintDevice.bitBlt( this, 0, 0, _buffer ); + } + + + /** + * This method does the actual loading. It relies on TQPixmap (and the + * underlying I/O machinery) to determine the filetype. + */ + public void slotLoad( String filename ) + { + if ( !_buffer.load( filename ) ) + TQMessageBox.warning( null, "Load error", "Could not load file" ); + + repaint(); // refresh the window + } + + + /** + * This method does the actual saving. We hard-code the file type as + * BMP. Unix users might want to replace this with something like XPM. + */ + public void slotSave( String filename ) + { + if( !_buffer.save( filename, "BMP" ) ) + TQMessageBox.warning( null, "Save error", "Could not save file" ); + } + + + /** + * This method is called whenever the user presses the + * mouse over the window. It just records the position of the mouse + * at the time of the click. + */ + public void mousePressEvent(TQMouseEvent event) + { + if ( event.button() == RightButton ) + _popupmenu.exec( TQCursor.pos() ); + else + { + _last = event.pos(); // retrieve the coordinates from the event + } + } + + + /** + * The method is called whenever the usr moves the mouse + * while the mouse button is pressed. If we had called + * setMouseTracking(true) before, the method would also be called + * when the mouse was moved with any button pressed. We know that + * we haven't, and thus don't have to check whether any buttons are + * pressed. + */ + public void mouseMoveEvent(TQMouseEvent event) { + // create a TQPainter object for drawing onto the window + TQPainter windowpainter = new TQPainter(); + // and another TQPainter object for drawing int an off-screen pixmap + TQPainter bufferpainter = new TQPainter(); + + // start painting + windowpainter.begin( this ); // this painter paints onto the window + bufferpainter.begin( _buffer ); // and this one paints in the buffer + + // set a standard pen with the currently selected color + windowpainter.setPen( _currentcolor ); + bufferpainter.setPen( _currentcolor ); + + // draw a line in both the window and the buffer + windowpainter.drawLine( _last, event.pos() ); + bufferpainter.drawLine( _last, event.pos() ); + + // done with painting + windowpainter.end(); + bufferpainter.end(); + + // remember the current mouse position + _last = event.pos(); + eventCount++; + } + /** + * This method is called whenever the widget needs + * painting, for example when it has been obscured and then revealed again. + */ + public void paintEvent(TQPaintEvent event) { + TQPaintDevice.bitBlt(this, 0, 0, _buffer); + } + + /** + * This method get called whenever the widget needs + * painting, for example, when it has been obscured and then revealed again. + */ + public void resizeEvent(TQResizeEvent event) { + TQPixmap save = new TQPixmap( _buffer ); + _buffer.resize( event.size() ); + _buffer.fill( Qt.white() ); + TQPaintDevice.bitBlt( _buffer, 0, 0, save ); + } + } + + TQTimerTest() + { + /* The next lines build the menu bar. We first create the menus + * one by one, then add them to the menu bar. */ + _filemenu = new TQPopupMenu(); // create a file menu + _filemenu.insertItem( "&Load", this, Qt.SLOT( "slotLoad()" ) ); + _filemenu.insertItem( "&Save", this, Qt.SLOT( "slotSave()" ) ); + _filemenu.insertSeparator(); + _filemenu.insertItem( "&Quit", Qt.qApp(), Qt.SLOT( "quit()" ) ); + + _colormenu = new TQPopupMenu(); // create a color menu + _colormenu.insertItem( "B&lack", COLOR_MENU_ID_BLACK); + _colormenu.insertItem( "&Red", COLOR_MENU_ID_RED); + _colormenu.insertItem( "&Blue", COLOR_MENU_ID_BLUE); + _colormenu.insertItem( "&Green", COLOR_MENU_ID_GREEN); + _colormenu.insertItem( "&Yellow", COLOR_MENU_ID_YELLOW); + TQObject.connect( _colormenu, SIGNAL( "activated(int)" ), + this, SLOT( "slotColorMenu(int)" ) ); + + _helpmenu = new TQPopupMenu(); // create a help menu + _helpmenu.insertItem( "&About QtScribble", this, SLOT( "slotAbout()" ) ); + _helpmenu.insertItem( "&About Qt", this, SLOT( "slotAboutQt()" ) ); + + _menubar = new TQMenuBar( this, "" ); // create a menu bar + _menubar.insertItem( "&File", _filemenu ); + _menubar.insertItem( "&Color", _colormenu ); + _menubar.insertItem( "&Help", _helpmenu ); + + /* We create a TQScrollView and a ScribbleArea. The ScribbleArea will + * be managed by the scroll view.*/ + _scrollview = new TQScrollView( this ); + _scrollview.setGeometry( 0, _menubar.height(), + width(), height() - _menubar.height() ); + _scribblearea = new ScribbleArea(); + _scribblearea.setGeometry( 0, 0, 1000, 1000 ); + _scrollview.addChild( _scribblearea ); + TQObject.connect( this, SIGNAL( "colorChanged(TQColor)" ), + _scribblearea, SLOT( "setColor(TQColor)" ) ); + TQObject.connect( this, SIGNAL( "save(java.lang.String)" ), + _scribblearea, SLOT( "slotSave(java.lang.String)" ) ); + TQObject.connect( this, SIGNAL( "load(java.lang.String)" ), + _scribblearea, SLOT( "slotLoad(java.lang.String)" ) ); + } + + public void resizeEvent( TQResizeEvent event ) + { + /* When the whole window is resized, we have to rearrange the geometry + * in the ScribbleWindow as well. Note that the ScribbleArea does not need + * to be changed. */ + _scrollview.setGeometry( 0, _menubar.height(), + width(), height() - _menubar.height() ); + } + + + + public void slotAbout() + { + TQMessageBox.information( this, "About QtScribble 5", + "This is the Scribble 5 application\n" + + "Copyright 1998 by Mathias Kalle Dalheimer\n" + ); + } + + public void slotAboutQt() + { + TQMessageBox.aboutTQt( this, "About Qt" ); + } + + public void slotColorMenu( int item ) + { + switch( item ) + { + case COLOR_MENU_ID_BLACK: + emit("colorChanged", Qt.black()); + break; + case COLOR_MENU_ID_RED: + emit("colorChanged", Qt.darkRed()); + break; + case COLOR_MENU_ID_BLUE: + emit("colorChanged", Qt.darkBlue()); + break; + case COLOR_MENU_ID_GREEN: + emit("colorChanged", Qt.darkGreen()); + break; + case COLOR_MENU_ID_YELLOW: + emit("colorChanged", Qt.yellow()); + break; + } + } + + + /** + * This is the slot for the menu item File/Load. It opens a + * TQFileDialog to ask the user for a filename, then emits a save() + * signal with the filename as parameter. + */ + public void slotLoad() + { + /* Open a file dialog for loading. The default directory is the + * current directory, the filter *.bmp. + */ + String filename = TQFileDialog.getOpenFileName( ".", "*.bmp", this ); + if ( !filename.equals("") ) + emit("load", filename); + } + + /** + * This is the slot for the menu item File/Load. It opens a + * TQFileDialog to ask the user for a filename, then emits a save() + * signal with the filename as parameter. + */ + public void slotSave() + { + /* Open a file dialog for saving. The default directory is the + * current directory, the filter *.bmp. + */ + String filename = TQFileDialog.getSaveFileName( ".", "*.bmp", this ); + if ( !filename.equals("") ) + emit("save", filename); + } + + public void timerDone() + { +// System.out.println("in timerDone..."); + } + + public static void main(String[] args) + { + TQApplication myapp = new TQApplication(args); + TQTimerTest mywidget = new TQTimerTest(); + mywidget.setGeometry(50, 500, 400, 400); + + TQTimer timer = new TQTimer( mywidget ); + connect( timer, Qt.SIGNAL("timeout()"), + mywidget, Qt.SLOT("timerDone()") ); + timer.start( 2000, false ); // 2 seconds single-shot + + myapp.setMainWidget(mywidget); + + AppWizardBase mywizard = new AppWizardBase(mywidget, "", false, 0); + mywizard.show(); + FilePropsPageBase mypropspage = new FilePropsPageBase(mywidget, "", 0); + mypropspage.show(); + + mywidget.show(); + myapp.exec(); + System.out.println("event count: " + eventCount); + return; + } + + static { + qtjava.initialize(); + } +} -- cgit v1.2.1